/* Legal Awareness page final visibility layer. Loaded after styles.css. */
.page-legal-awareness {
    background: #f6f9f4 !important;
    color: #132238 !important;
}

.page-legal-awareness section {
    overflow: hidden !important;
}

.page-legal-awareness section::before,
.page-legal-awareness section::after {
    pointer-events: none !important;
}

.page-legal-awareness > section:not(.about-page-hero)::before,
.page-legal-awareness > section:not(.about-page-hero)::after {
    display: none !important;
}

/* Step 1: Hero */
.page-legal-awareness .about-page-hero {
    display: flex !important;
    align-items: center !important;
    min-height: clamp(500px, 72vh, 700px) !important;
    padding: clamp(86px, 10vw, 136px) clamp(18px, 6vw, 86px) clamp(74px, 9vw, 118px) !important;
    background-color: #064d3b !important;
    background-size: cover !important;
    background-position: center !important;
}

.page-legal-awareness .about-page-hero::before {
    display: block !important;
    opacity: 0.18 !important;
    filter: grayscale(1) contrast(1.08) !important;
}

.page-legal-awareness .about-page-hero::after {
    display: block !important;
    background: linear-gradient(90deg, rgba(6, 77, 59, 0.98) 0%, rgba(6, 77, 59, 0.92) 48%, rgba(30, 41, 59, 0.72) 100%) !important;
}

.page-legal-awareness .about-page-hero-content {
    position: relative !important;
    z-index: 2 !important;
    width: min(760px, 100%) !important;
    padding: 0 !important;
}

.page-legal-awareness .about-page-hero h1 {
    max-width: 760px !important;
    color: #fff !important;
    font-size: clamp(2.8rem, 6vw, 6rem) !important;
    line-height: 1 !important;
    text-shadow: none !important;
}

.page-legal-awareness .about-page-hero p {
    max-width: 650px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: none !important;
}

/* Step 2: Shared section visibility */
.page-legal-awareness .service-about-section,
.page-legal-awareness .governance-section,
.page-legal-awareness .documents-section,
.page-legal-awareness .awards-section,
.page-legal-awareness .about-work-section,
.page-legal-awareness .stories-feature-section,
.page-legal-awareness .activities-section,
.page-legal-awareness .college-section,
.page-legal-awareness .media-section,
.page-legal-awareness .dynamic-content-section,
.page-legal-awareness .community-voice-section {
    display: block !important;
    padding: clamp(54px, 7vw, 90px) clamp(18px, 6vw, 86px) !important;
    color: #132238 !important;
    background: #f6f9f4 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.page-legal-awareness .documents-section,
.page-legal-awareness .stories-feature-section,
.page-legal-awareness .media-section,
.page-legal-awareness .community-voice-section {
    background: #fff !important;
}

.page-legal-awareness .about-impact-section,
.page-legal-awareness .process-flow-section,
.page-legal-awareness .govt-funding-section {
    padding: clamp(58px, 7vw, 92px) clamp(18px, 6vw, 86px) !important;
    color: #fff !important;
    background: linear-gradient(135deg, #063f34 0%, #064d3b 50%, #172033 100%) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Step 3: Headings and labels */
.page-legal-awareness .section-heading,
.page-legal-awareness .section-kicker,
.page-legal-awareness .funding-copy {
    display: block !important;
    width: min(940px, 100%) !important;
    max-width: 940px !important;
    margin: 0 0 30px !important;
    padding: 0 !important;
    text-align: left !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.page-legal-awareness .tagline,
.page-legal-awareness .eyebrow,
.page-legal-awareness .funding-copy .tagline,
.page-legal-awareness .college-copy .tagline {
    display: inline-flex !important;
    width: fit-content !important;
    margin-bottom: 16px !important;
    padding: 9px 16px !important;
    color: #063f34 !important;
    background: #f7d677 !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.page-legal-awareness .section-heading h2,
.page-legal-awareness .section-kicker h2,
.page-legal-awareness .service-copy-card h2,
.page-legal-awareness .college-copy h2,
.page-legal-awareness .funding-copy h2 {
    display: block !important;
    margin: 0 0 14px !important;
    color: #0a7a61 !important;
    font-size: clamp(1.9rem, 3.8vw, 3.9rem) !important;
    line-height: 1.08 !important;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.page-legal-awareness .about-impact-section .section-heading h2,
.page-legal-awareness .process-flow-section .section-kicker h2,
.page-legal-awareness .govt-funding-section .funding-copy h2 {
    color: #fff !important;
}

.page-legal-awareness .section-heading p,
.page-legal-awareness .section-kicker p,
.page-legal-awareness .service-copy-card p,
.page-legal-awareness .college-copy p,
.page-legal-awareness article p {
    color: #52637a !important;
    font-size: 1rem !important;
    line-height: 1.72 !important;
    text-shadow: none !important;
}

.page-legal-awareness .about-impact-section .section-heading p,
.page-legal-awareness .process-flow-section .section-kicker p,
.page-legal-awareness .govt-funding-section .funding-copy p {
    color: rgba(255, 255, 255, 0.84) !important;
}

/* Step 4: Split sections */
.page-legal-awareness .service-about-section,
.page-legal-awareness .college-section,
.page-legal-awareness .govt-funding-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.82fr) !important;
    gap: clamp(22px, 4vw, 54px) !important;
    align-items: stretch !important;
}

.page-legal-awareness .service-copy-card,
.page-legal-awareness .college-copy,
.page-legal-awareness .funding-card {
    display: block !important;
    padding: clamp(24px, 4vw, 44px) !important;
    color: #132238 !important;
    background: #fff !important;
    border: 1px solid rgba(19, 34, 56, 0.1) !important;
    border-left: 6px solid #0b8f72 !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 42px rgba(19, 34, 56, 0.09) !important;
}

.page-legal-awareness .service-image-stack,
.page-legal-awareness .college-image {
    display: grid !important;
    place-items: center !important;
    min-height: 320px !important;
    padding: clamp(24px, 4vw, 44px) !important;
    background: linear-gradient(145deg, #0b8f72, #1e293b) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 46px rgba(19, 34, 56, 0.14) !important;
}

.page-legal-awareness .service-image-stack img,
.page-legal-awareness .college-image img {
    position: static !important;
    display: block !important;
    width: min(100%, 320px) !important;
    height: auto !important;
    max-height: 250px !important;
    object-fit: contain !important;
    padding: 14px !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.page-legal-awareness .service-image-stack img + img {
    display: none !important;
}

.page-legal-awareness .service-check-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
    gap: 12px !important;
    margin: 22px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    list-style: none !important;
}

.page-legal-awareness .service-check-list li {
    min-height: 52px !important;
    padding: 13px 15px 13px 42px !important;
    color: #132238 !important;
    background: #f4faf5 !important;
    border: 1px solid rgba(11, 143, 114, 0.15) !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
}

/* Step 5: Card grids */
.page-legal-awareness .about-stat-grid,
.page-legal-awareness .governance-grid,
.page-legal-awareness .documents-grid,
.page-legal-awareness .awards-grid,
.page-legal-awareness .about-work-grid,
.page-legal-awareness .story-feature-grid,
.page-legal-awareness .activities-grid,
.page-legal-awareness .gallery-grid,
.page-legal-awareness .process-flow-grid,
.page-legal-awareness .dynamic-content-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
}

.page-legal-awareness .about-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.page-legal-awareness .documents-grid article,
.page-legal-awareness .awards-grid article,
.page-legal-awareness .about-work-grid article,
.page-legal-awareness .story-feature-grid article,
.page-legal-awareness .activity-card,
.page-legal-awareness .gallery-item,
.page-legal-awareness .custom-content-card,
.page-legal-awareness .community-voice-card,
.page-legal-awareness .governance-grid article {
    min-height: 210px !important;
    padding: 24px !important;
    color: #132238 !important;
    background: #fff !important;
    border: 1px solid rgba(19, 34, 56, 0.1) !important;
    border-top: 5px solid #0b8f72 !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 42px rgba(19, 34, 56, 0.09) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.page-legal-awareness article h3,
.page-legal-awareness article h4,
.page-legal-awareness .funding-card h3,
.page-legal-awareness .community-voice-card h4 {
    color: #132238 !important;
    font-size: clamp(1.16rem, 1.8vw, 1.6rem) !important;
    line-height: 1.2 !important;
    text-shadow: none !important;
}

.page-legal-awareness .about-stat-grid > div,
.page-legal-awareness .process-flow-card {
    min-height: 150px !important;
    padding: 24px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-top: 5px solid #f7d677 !important;
    border-radius: 8px !important;
}

.page-legal-awareness .about-stat-grid strong {
    display: block !important;
    color: #f7d677 !important;
    font-size: clamp(2rem, 4vw, 4rem) !important;
    line-height: 1 !important;
}

.page-legal-awareness .about-stat-grid span,
.page-legal-awareness .process-flow-card h3,
.page-legal-awareness .process-flow-card p {
    display: block !important;
    color: #fff !important;
}

.page-legal-awareness .story-feature-grid article {
    display: grid !important;
    grid-template-columns: 132px 1fr !important;
    align-items: center !important;
    gap: 18px !important;
}

.page-legal-awareness .story-feature-grid img,
.page-legal-awareness .gallery-item img,
.page-legal-awareness .activity-card img,
.page-legal-awareness .custom-content-card img,
.page-legal-awareness .governance-grid img {
    display: block !important;
    width: 100% !important;
    max-width: 260px !important;
    height: 150px !important;
    object-fit: contain !important;
    padding: 12px !important;
    background: #f7faf6 !important;
    border-radius: 8px !important;
}

.page-legal-awareness .governance-grid img {
    width: 86px !important;
    height: 86px !important;
    border-radius: 50% !important;
}

.page-legal-awareness .documents-grid a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 46px !important;
    margin-top: 10px !important;
    padding: 12px 14px !important;
    color: #0b7b66 !important;
    background: #f4faf5 !important;
    border: 1px solid rgba(11, 143, 114, 0.14) !important;
    border-radius: 8px !important;
    font-weight: 850 !important;
}

/* Step 6: Support section */
.page-legal-awareness #donate-school.govt-funding-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr) !important;
    gap: 24px !important;
    align-items: center !important;
    color: #fff !important;
    background: linear-gradient(135deg, #063f34 0%, #064d3b 48%, #172033 100%) !important;
}

.page-legal-awareness #donate-school .funding-copy {
    color: #fff !important;
}

.page-legal-awareness #donate-school .funding-copy h2 {
    color: #fff !important;
}

.page-legal-awareness #donate-school .funding-copy p {
    color: rgba(255, 255, 255, 0.84) !important;
}

.page-legal-awareness #donate-school .funding-card {
    min-height: 220px !important;
    border-left-color: #f7d677 !important;
}

.page-legal-awareness #donate-school .funding-card p {
    color: #52637a !important;
}

.page-legal-awareness .about-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 0 20px !important;
    color: #fff !important;
    background: #0b8f72 !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

/* Step 7: Feedback slider */
.page-legal-awareness .community-voice-slider {
    width: 100% !important;
    overflow: hidden !important;
    padding: 4px 4px 22px !important;
}

.page-legal-awareness .community-voice-controls {
    display: flex !important;
}

@media (max-width: 980px) {
    .page-legal-awareness .service-about-section,
    .page-legal-awareness .college-section,
    .page-legal-awareness #donate-school.govt-funding-section {
        grid-template-columns: 1fr !important;
    }

    .page-legal-awareness .about-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .page-legal-awareness .service-about-section,
    .page-legal-awareness .governance-section,
    .page-legal-awareness .documents-section,
    .page-legal-awareness .awards-section,
    .page-legal-awareness .about-work-section,
    .page-legal-awareness .stories-feature-section,
    .page-legal-awareness .activities-section,
    .page-legal-awareness .college-section,
    .page-legal-awareness .media-section,
    .page-legal-awareness .dynamic-content-section,
    .page-legal-awareness .community-voice-section,
    .page-legal-awareness .about-impact-section,
    .page-legal-awareness .process-flow-section,
    .page-legal-awareness .govt-funding-section {
        padding: 46px 16px !important;
    }

    .page-legal-awareness .about-stat-grid,
    .page-legal-awareness .governance-grid,
    .page-legal-awareness .documents-grid,
    .page-legal-awareness .awards-grid,
    .page-legal-awareness .about-work-grid,
    .page-legal-awareness .story-feature-grid,
    .page-legal-awareness .activities-grid,
    .page-legal-awareness .gallery-grid,
    .page-legal-awareness .process-flow-grid,
    .page-legal-awareness .dynamic-content-grid,
    .page-legal-awareness .story-feature-grid article {
        grid-template-columns: 1fr !important;
    }
}

/* Final polish: Support and Process sections */
.page-legal-awareness #donate-school.govt-funding-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) !important;
    gap: 24px !important;
    align-items: stretch !important;
    padding: clamp(56px, 7vw, 90px) clamp(18px, 6vw, 86px) !important;
    color: #132238 !important;
    background: #f6f9f4 !important;
}

.page-legal-awareness #donate-school.govt-funding-section::before,
.page-legal-awareness #donate-school.govt-funding-section::after {
    display: none !important;
}

.page-legal-awareness #donate-school .funding-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 260px !important;
    margin: 0 !important;
    padding: clamp(26px, 4vw, 48px) !important;
    color: #fff !important;
    background: linear-gradient(135deg, #064d3b, #172033) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-left: 7px solid #f7d677 !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 48px rgba(19, 34, 56, 0.12) !important;
}

.page-legal-awareness #donate-school .funding-copy .tagline {
    color: #063f34 !important;
    background: #f7d677 !important;
}

.page-legal-awareness #donate-school .funding-copy h2 {
    max-width: 820px !important;
    margin: 0 0 14px !important;
    color: #fff !important;
    font-size: clamp(2rem, 4vw, 4rem) !important;
    line-height: 1.08 !important;
}

.page-legal-awareness #donate-school .funding-copy p {
    max-width: 680px !important;
    color: rgba(255, 255, 255, 0.86) !important;
}

.page-legal-awareness #donate-school .funding-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 260px !important;
    padding: clamp(24px, 4vw, 42px) !important;
    color: #132238 !important;
    background: #fff !important;
    border: 1px solid rgba(19, 34, 56, 0.1) !important;
    border-top: 6px solid #0b8f72 !important;
    border-left: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 48px rgba(19, 34, 56, 0.12) !important;
}

.page-legal-awareness #donate-school .funding-card h3 {
    margin: 0 0 12px !important;
    color: #132238 !important;
    font-size: clamp(1.35rem, 2.2vw, 2rem) !important;
    line-height: 1.15 !important;
}

.page-legal-awareness #donate-school .funding-card p {
    color: #52637a !important;
}

.page-legal-awareness #donate-school .funding-card .about-cta {
    width: fit-content !important;
    margin-top: 10px !important;
}

.page-legal-awareness .process-flow-section {
    display: block !important;
    padding: clamp(56px, 7vw, 90px) clamp(18px, 6vw, 86px) !important;
    color: #132238 !important;
    background: #fff !important;
}

.page-legal-awareness .process-flow-section::before,
.page-legal-awareness .process-flow-section::after {
    display: none !important;
}

.page-legal-awareness .process-flow-section .section-kicker {
    width: min(940px, 100%) !important;
    max-width: 940px !important;
    margin: 0 0 30px !important;
    padding: 0 !important;
    color: #132238 !important;
    text-align: left !important;
}

.page-legal-awareness .process-flow-section .section-kicker .eyebrow {
    color: #063f34 !important;
    background: #f7d677 !important;
}

.page-legal-awareness .process-flow-section .section-kicker h2 {
    margin: 0 0 14px !important;
    color: #0a7a61 !important;
    font-size: clamp(2rem, 4vw, 4rem) !important;
    line-height: 1.08 !important;
}

.page-legal-awareness .process-flow-section .section-kicker p {
    max-width: 680px !important;
    color: #52637a !important;
}

.page-legal-awareness .process-flow-section .process-flow-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 18px !important;
}

.page-legal-awareness .process-flow-section .process-flow-card {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 18px !important;
    align-items: start !important;
    min-height: 170px !important;
    padding: 26px !important;
    color: #132238 !important;
    background: #f6f9f4 !important;
    border: 1px solid rgba(19, 34, 56, 0.1) !important;
    border-top: 6px solid #0b8f72 !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 42px rgba(19, 34, 56, 0.08) !important;
}

.page-legal-awareness .process-flow-section .step-number {
    display: grid !important;
    place-items: center !important;
    width: 66px !important;
    min-width: 66px !important;
    height: 66px !important;
    margin: 0 !important;
    color: #063f34 !important;
    background: #f7d677 !important;
    border-radius: 50% !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    box-shadow: none !important;
}

.page-legal-awareness .process-flow-section .step-content h3 {
    margin: 0 0 8px !important;
    color: #132238 !important;
    font-size: clamp(1.25rem, 2vw, 1.75rem) !important;
    line-height: 1.16 !important;
}

.page-legal-awareness .process-flow-section .step-content p {
    margin: 0 !important;
    color: #52637a !important;
}

@media (max-width: 980px) {
    .page-legal-awareness #donate-school.govt-funding-section {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .page-legal-awareness .process-flow-section .process-flow-card {
        grid-template-columns: 1fr !important;
    }
}
