/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme for Hello Elementor
Author: Agent Zero
Author URI: https://gemini.google.com
Template: hello-elementor
*/

/* Custom Font Registration */
@font-face {
    font-family: 'ClashGrotesk';
    src: url('fonts/ClashGrotesk-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nobody';
    src: url('fonts/Nobody.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PaperLook';
    src: url('fonts/PaperLook.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ragion';
    src: url('fonts/Ragion.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Font Utility Classes */
.font-clash {
    font-family: 'ClashGrotesk', sans-serif !important;
}

.font-nobody {
    font-family: 'Nobody', sans-serif !important;
}

.font-paper {
    font-family: 'PaperLook', serif !important;
}

.font-ragion {
    font-family: 'Ragion', serif !important;
}

/* Editorial Features Styles */

/* Editorial Features Styles */
.editorial-features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.editorial-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 120px;
    gap: 80px;
    /* Increased gap for breathing room */
}

.editorial-row:last-child {
    margin-bottom: 0;
}

/* Force Flex Columns Width */
.editorial-image {
    width: 35%;
    flex: 0 0 35%;
    position: relative;
}

.editorial-content {
    width: 65%;
    flex: 0 0 65%;
}


.editorial-image {
    position: relative;
}

.editorial-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Force Square */
    object-fit: cover;
    /* Crop center */
    border-radius: 24px;
    /* Rounded corners */
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.editorial-image img:hover {
    transform: scale(1.02);
}

.editorial-content {
    padding: 0 20px;
}

.editorial-title {
    font-size: 3rem;
    /* Larger */
    font-weight: 300;
    /* Lighter elegance */
    line-height: 1.1;
    margin-bottom: 30px;
    font-family: "Playfair Display", serif;
    /* Try to use a serif if available, or fall back */
}

/* If fonts aren't loaded, this ensures a serif fall back for that 'editorial' look */
.editorial-title {
    font-family: inherit;
}

.editorial-excerpt {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 40px;
    font-weight: 400;
}

.editorial-cta {
    display: inline-block;
    padding: 16px 36px;
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    border-radius: 999px;
    /* Pill shape */
    transition: all 0.3s ease;
}

.editorial-cta:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Staggered Layout Logic */
.layout-normal {
    flex-direction: row;
}

/* Important: Re-order logic */
.layout-reversed {
    flex-direction: row-reverse;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {

    .editorial-row,
    .layout-reversed {
        flex-direction: column !important;
        /* Force column on mobile */
        gap: 40px;
        margin-bottom: 80px;
    }

    .editorial-row>div {
        width: 100%;
        flex: 0 0 100%;
    }

    .editorial-image img {
        aspect-ratio: 4 / 3;
        /* Slightly shorter on mobile usually looks better */
    }

    .editorial-title {
        font-size: 2.2rem;
    }

    .editorial-content {
        padding: 0;
        text-align: center;
    }
}


/* Section Header & Footer */
.editorial-section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.editorial-features-container {
    padding: 40px 0;
    /* Reduced padding since wrapper handles it */
}

.editorial-section-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 20px;
    border-top: 1px solid #000;
    /* Matching the wireframe style */
    padding-top: 10px;
    display: inline-block;
    width: 100%;
}

.editorial-section-footer {
    display: flex;
    justify-content: flex-end;
    /* Right align */
    margin-top: 20px;
}

.view-all-features-btn {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    color: #ff4500;
    /* Use an accent color, maybe orange/red from wireframe if exists, using generic accent for now */
    text-decoration: none;
    transition: color 0.3s;
}

.view-all-features-btn:hover {
    color: #000;
}

/* Site Search Bar Styles */
.the26-search-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.the26-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #1a1a1a;
    border-radius: 999px;
    padding: 5px 10px 5px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.the26-search-input-wrapper:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.the26-search-field {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 12px 0;
    font-size: 1.1rem;
    color: #1a1a1a;
    outline: none !important;
    box-shadow: none !important;
}

.the26-search-submit {
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.the26-search-submit:hover {
    background: #000;
    transform: scale(1.05);
}

.the26-search-submit .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

@media (max-width: 600px) {
    .the26-search-field {
        font-size: 1rem;
    }
    .the26-search-submit {
        width: 38px;
        height: 38px;
    }
}