/* ==============================================================================
   ST. LAWRENCE JUNIOR SCHOOL - KABOWA
   Why St. Lawrence Section Redesign (Target Editorial Mockup)
   Pure editorial typography, 3-pillar composition, human-designed rhythm,
   zero AI-gimmicks (no SaaS cards, no fake statistics, no gradients, no glass)
   ============================================================================== */

:root {
    --sls-navy: #0b1a38;
    --sls-navy-deep: #071228;
    --sls-red: #c81e1e;
    --sls-red-accent: #dc2626;
    --sls-red-bright: #ef4444;
    --sls-white: #ffffff;
    --sls-offwhite: #f8fafc;
    --sls-border-light: #e2e8f0;
    --sls-text-primary: #0b1a38;
    --sls-text-body: #475569;
    --sls-text-muted: #64748b;
    --sls-font-editorial: 'Playfair Display', Georgia, serif;
    --sls-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Why Section Override */
.why-section,
.why-choose-us-section {
    background-color: var(--sls-white) !important;
    background: var(--sls-white) !important;
    position: relative;
    padding: 88px 0 0 !important;
    margin: 0 !important;
    overflow: hidden;
    color: var(--sls-text-primary);
}

.why-section::before,
.why-section::after,
.why-choose-us-section::before,
.why-choose-us-section::after {
    display: none !important;
    content: none !important;
}

.why-editorial-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==============================================================================
   TIER 1: INTRODUCTION & MAIN PHOTOGRAPHY
   ============================================================================== */
.why-intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 52px;
    align-items: center;
    padding-bottom: 72px;
}

.why-intro-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 12px;
}

/* Eyebrow Label with Red Accent Bar */
.why-eyebrow-wrap {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.why-red-rule {
    display: inline-block;
    width: 32px;
    height: 2.5px;
    background-color: var(--sls-red);
    flex-shrink: 0;
}

.why-eyebrow-text {
    font-family: var(--sls-font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sls-navy);
}

/* Dominant Editorial Heading */
.why-main-headline {
    font-family: var(--sls-font-editorial);
    font-size: clamp(34px, 3.8vw, 50px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: var(--sls-navy);
    margin: 0 0 24px 0;
}

.why-headline-red {
    color: var(--sls-red);
}

/* Concise Supporting Copy */
.why-intro-lead {
    font-family: var(--sls-font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--sls-text-body);
    margin: 0 0 28px 0;
    max-width: 480px;
}

/* Subtle Motto Tag with Vertical Divider */
.why-motto-tag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border-left: 2px solid #94a3b8;
    padding-left: 14px;
    margin-top: 4px;
}

.why-motto-text {
    font-family: var(--sls-font-sans);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sls-navy);
}

/* Main Photography */
.why-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 579 / 392;
    overflow: hidden;
    background-color: #f1f5f9;
}

.why-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.why-photo-wrap:hover .why-photo {
    transform: scale(1.02);
}

/* ==============================================================================
   TIER 2: THREE CORE PILLARS (Clean Editorial Strip)
   ============================================================================== */
.why-pillars-strip {
    border-top: 1px solid var(--sls-border-light);
    border-bottom: 1px solid var(--sls-border-light);
    background-color: var(--sls-white);
}

.why-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
}

.why-pillar-item {
    padding: 44px 36px;
    border-right: 1px solid var(--sls-border-light);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: background-color 0.25s ease;
}

.why-pillar-item:first-child {
    border-left: 1px solid var(--sls-border-light);
}

.why-pillar-item:last-child {
    border-right: 1px solid var(--sls-border-light);
}

.why-pillar-item:hover {
    background-color: #fafbfd;
}

/* Large Editorial Number */
.why-pillar-num {
    font-family: var(--sls-font-editorial);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: var(--sls-navy);
    margin-bottom: 16px;
}

/* Small Red Accent Line */
.why-pillar-rule {
    width: 28px;
    height: 2px;
    background-color: var(--sls-red);
    margin-bottom: 16px;
}

/* Pillar Title */
.why-pillar-title {
    font-family: var(--sls-font-editorial);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--sls-navy);
    margin: 0 0 12px 0;
    line-height: 1.25;
}

/* Pillar Description */
.why-pillar-desc {
    font-family: var(--sls-font-sans);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--sls-text-body);
    margin: 0;
}

.why-bottom-spacer {
    height: 80px;
    background-color: var(--sls-white);
}

/* ==============================================================================
   RESPONSIVE DESIGN SYSTEM
   ============================================================================== */

/* Large Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .why-intro-grid {
        gap: 36px;
        padding-bottom: 56px;
    }
    
    .why-pillar-item {
        padding: 36px 24px;
    }
}

/* Tablets (max-width: 860px) */
@media (max-width: 860px) {
    .why-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 48px;
    }
    
    .why-intro-content {
        padding-right: 0;
    }
    
    .why-pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .why-pillar-item {
        border-left: 1px solid var(--sls-border-light);
        border-right: 1px solid var(--sls-border-light);
        border-bottom: 1px solid var(--sls-border-light);
        padding: 32px 24px;
    }
    
    .why-pillar-item:last-child {
        border-bottom: 1px solid var(--sls-border-light);
    }
}

/* Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {
    .why-editorial-container {
        padding: 0 18px;
    }
    
    .why-section,
    .why-choose-us-section {
        padding: 56px 0 0 !important;
    }
    
    .why-main-headline {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 18px;
    }
    
    .why-intro-lead {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 22px;
    }
    
    .why-pillar-num {
        font-size: 34px;
    }
    
    .why-pillar-item {
        padding: 28px 18px;
    }
    
    .why-bottom-spacer {
        height: 56px;
    }
}
