/**
 * Editorial Section - Premium Promo Cards
 * 
 * @package ChildTheme_Clean
 */

/* ============================================
   SECTION CONTAINER
   ============================================ */

.editorial-section {
    width: 100%;
    padding: 80px 24px;
    margin: 0;
    background-color: #ffffff;
}

.editorial-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ============================================
   CARD STYLING
   ============================================ */

.editorial-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

.editorial-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.editorial-image-mobile {
    display: block;
}

.editorial-image-desktop {
    display: none;
}

.editorial-content {
    padding: 32px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.editorial-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    letter-spacing: -0.01em;
}

.editorial-description {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #666;
    font-weight: 300;
    margin: 0;
    padding: 0;
}

.editorial-cta {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
    display: inline-block;
    align-self: flex-start;
    margin-top: 8px;
}

.editorial-cta:hover,
.editorial-cta:focus {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom-color: #1a1a1a;
}

/* ============================================
   TABLET LAYOUT
   ============================================ */

@media (min-width: 768px) {
    .editorial-section {
        padding: 100px 40px;
    }
    
    .editorial-container {
        gap: 48px;
    }
    
    .editorial-content {
        padding: 40px 0 0;
    }
    
    .editorial-title {
        font-size: 2rem;
    }
    
    .editorial-description {
        font-size: 1rem;
    }
}

/* ============================================
   DESKTOP LAYOUT (3 Cards Horizontal)
   ============================================ */

@media (min-width: 1024px) {
    .editorial-section {
        padding: 120px 60px;
    }
    
    .editorial-container {
        flex-direction: row;
        gap: 32px;
        align-items: flex-start;
    }
    
    .editorial-card {
        flex: 1;
        width: 33.333%;
    }
    
    /* Hide mobile images, show desktop */
    .editorial-image-mobile {
        display: none;
    }
    
    .editorial-image-desktop {
        display: block;
    }
    
    .editorial-content {
        padding: 32px 0 0;
        gap: 20px;
    }
    
    .editorial-title {
        font-size: 2rem;
    }
    
    .editorial-description {
        font-size: 1rem;
    }
}

/* ============================================
   LARGE DESKTOP
   ============================================ */

@media (min-width: 1440px) {
    .editorial-section {
        padding: 140px 80px;
    }
    
    .editorial-container {
        gap: 40px;
    }
    
    .editorial-content {
        padding: 40px 0 0;
        gap: 24px;
    }
    
    .editorial-title {
        font-size: 2.25rem;
    }
    
    .editorial-description {
        font-size: 1.0625rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.editorial-cta:focus {
    outline: 2px solid var(--primary-color, #245c2a);
    outline-offset: 2px;
}

/* ============================================
   UTILITIES
   ============================================ */

.editorial-card img {
    transition: none;
}

.editorial-card {
    contain: layout style paint;
}