/* EDU/LUGU identity from the youth-supplied logo, poster and palette. */
@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/LeagueSpartan-Regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/LeagueSpartan-Bold.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --nl-ink: #001524;
    --nl-paper: #EDF6F9;
    --nl-surface: #ffffff;
    --nl-line: rgba(0, 21, 36, .22);
    --nl-blue: #15616D;
    --nl-lime: #83C5BE;
    --nl-peach: #FFECD1;
    --nl-sans: 'League Spartan', Arial, sans-serif;
    --nl-serif: Georgia, 'Times New Roman', serif;
}

body { background: var(--nl-paper); color: var(--nl-ink); font-family: var(--nl-sans); font-size: 1.05rem; }
h1, h2, h3, h4, h5, h6, .wp-block-heading { color: var(--nl-ink); font-family: var(--nl-sans); font-weight: 700; }
a { color: var(--nl-blue); }
:focus-visible { outline-color: var(--nl-blue); }
.nl-eyebrow, .ylc-overline { color: var(--nl-blue); font-size: .8rem; letter-spacing: .09em; }
.nl-main { overflow: clip; }

/* The supplied JPEG is framed in CSS, preserving its exact artwork. */
.nl-logo { margin: 0; line-height: 1; }
.nl-logo-link { display: block; width: 100%; color: var(--nl-ink); text-decoration: none; }
.nl-logo-art {
    display: block;
    width: 100%;
    aspect-ratio: 6 / 1;
    background-color: var(--nl-paper);
    background-image: url('../img/edulugu-logo-original.jpeg');
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-size: 178% auto;
    background-position: 44% 49%;
}
.nl-logo--header { width: clamp(10.5rem, 19vw, 15rem); flex: 0 0 auto; }
.nl-logo--footer { width: 13.5rem; }
.nl-logo--hero { width: min(100%, 39rem); }
.nl-logo--hero .nl-logo-art { background-color: var(--nl-peach); }

/* Poster-like entry: a quiet page frame around a bold typographic center. */
.nl-header-shell { background: var(--nl-paper); border-bottom: 2px solid var(--nl-blue); }
.nl-header-inner { min-height: 6rem; gap: 1.2rem 2rem; }
.nl-site-nav { gap: .4rem 1.15rem; font-size: .97rem; }
.nl-site-nav a { color: var(--nl-ink); font-weight: 700; }
.nl-site-nav a[aria-current], .nl-site-nav a:hover { color: var(--nl-blue); }
.nl-footer-shell { border-top: 2px solid var(--nl-blue); background: var(--nl-paper); }
.nl-footer-inner { min-height: 11rem; }
.nl-footer-inner p { color: var(--nl-blue); font-size: 1rem; }

.nl-home-hero {
    width: min(90rem, calc(100% - 2rem)) !important;
    max-width: none;
    margin-top: 1.5rem;
    padding: clamp(1.5rem, 4vw, 4rem);
    background-color: var(--nl-peach);
    background-image: url('../img/diamond-pattern.svg');
    background-repeat: repeat;
    overflow: hidden;
}
.nl-home-hero::after { display: none; }
.nl-home-hero > * { max-width: none; }
.nl-hero-columns { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1rem, 3vw, 3rem); align-items: stretch; margin: 0; }
.nl-hero-columns > .wp-block-column { min-width: 0; }
.nl-hero-copy { position: relative; z-index: 2; }
.nl-hero-copy .nl-eyebrow { margin-bottom: clamp(1rem, 2vw, 2rem); color: var(--nl-ink); font-size: clamp(1.2rem, 2.2vw, 2rem); letter-spacing: -.025em; text-transform: none; }
.nl-hero-audience { display: inline-block; margin: 1rem 0 0; padding: .35rem .65rem; background: var(--nl-lime); color: var(--nl-ink); font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-weight: 700; }
.nl-typewriter-scene {
    position: relative;
    width: min(100%, 41rem);
    aspect-ratio: .78;
    margin-top: 1rem;
    background-color: var(--nl-peach);
    background-image: url('../img/edulood-typewriter-photo.jpeg');
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.nl-typewriter-scene .nl-home-lead {
    position: absolute;
    top: 16%;
    left: 22%;
    width: 54%;
    max-width: none;
    margin: 0;
    color: var(--nl-blue);
    font-size: clamp(.96rem, 1.4vw, 1.24rem);
    font-weight: 700;
    line-height: 1.23;
}
.nl-hero-actions { margin-top: 1rem; }
.nl-hero-actions .wp-block-button__link, .ylc-action { border-color: var(--nl-ink); border-radius: .15rem; font-family: var(--nl-sans); font-weight: 700; }
.nl-hero-actions .is-style-fill .wp-block-button__link, .ylc-action-primary { background: var(--nl-ink); color: #fff; }
.nl-hero-actions .is-style-outline .wp-block-button__link { background: var(--nl-peach); color: var(--nl-ink); }
.nl-hero-actions .wp-block-button__link:hover, .ylc-action-primary:hover { border-color: var(--nl-blue); background: var(--nl-blue); color: #fff; }
.nl-hero-visual { position: relative; display: flex; flex-direction: column; align-items: stretch; align-self: stretch; min-width: 0; }
.nl-inverted-figure {
    width: 100%;
    height: clamp(24rem, 37vw, 37rem);
    background-color: var(--nl-peach);
    background-image: url('../img/edulood-inverted-figure.jpeg');
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-position: center 45%;
    background-size: 110% auto;
}
.nl-quote-fragment { position: relative; display: block; max-width: 19rem; margin: .5rem 0; color: var(--nl-blue); font-family: var(--nl-sans); font-size: clamp(1.05rem, 1.5vw, 1.4rem); font-weight: 700; line-height: 1.15; }
.nl-quote-fragment--one { align-self: flex-start; transform: rotate(-4deg); }
.nl-quote-fragment--two { align-self: flex-end; transform: rotate(4deg); text-align: right; }
.nl-hero-cta-label { margin: auto 0 0; padding-top: 1.5rem; font-size: clamp(1.25rem, 2vw, 1.8rem); font-weight: 700; }

.nl-status-wrap { width: min(90rem, calc(100% - 2rem)) !important; max-width: none; padding-inline: clamp(1.25rem, 4vw, 4rem); border: 0; background: var(--nl-blue); color: #fff; }
.ylc-public-status { gap: .6rem 1.5rem; padding-block: 1.1rem; font-size: .96rem; }
.ylc-public-status strong { color: #fff; font-weight: 700; }
.nl-section-title { max-width: 16ch; font-size: clamp(2.6rem, 5vw, 5.4rem); letter-spacing: -.04em; }
.nl-more-link { font-size: 1.08rem; }
.nl-more-link a { color: var(--nl-blue); }
.ylc-editorial-story { border-top-color: var(--nl-blue); }
.ylc-editorial-story.is-lead { padding: 1.5rem; background: #fff; border-top-width: 4px; }
.ylc-story-image { background: var(--nl-peach); }
.ylc-story-info h3 { font-family: var(--nl-sans); font-weight: 700; }
.ylc-story-info p { color: var(--nl-ink); }
.ylc-story-author { color: var(--nl-blue); }
.ylc-discover { background: var(--nl-blue); color: #fff; }
.ylc-discover .ylc-overline, .ylc-discover h2, .ylc-discover p { color: #fff; }
.ylc-discover .ylc-action { background: var(--nl-peach); border-color: var(--nl-peach); color: var(--nl-ink); }
.ylc-discover .ylc-action:hover { background: #fff; border-color: #fff; color: var(--nl-ink); }
.nl-home-end { background-color: var(--nl-lime); background-image: url('../img/diamond-pattern.svg'); }
.nl-home-end h2 { font-weight: 700; }

/* Consistent page cards, filtering and outcomes. */
.nl-page-intro h1, .nl-page .wp-block-post-title { color: var(--nl-blue); font-family: var(--nl-sans); font-weight: 700; }
.nl-page .wp-block-post-content > .nl-large-lead, .nl-large-lead { color: var(--nl-ink); font-family: var(--nl-sans); font-weight: 700; }
.nl-about-columns h2, .nl-results-placeholder h2, .ylc-archive-issue h2 { font-family: var(--nl-sans); font-weight: 700; }
.nl-facts { border-top-color: var(--nl-blue); background: #fff; }
.nl-results-placeholder { background: var(--nl-peach); }
.ylc-catalog-filters { border-color: var(--nl-line); background: var(--nl-peach); }
.ylc-catalog-filters input, .ylc-catalog-filters select { border-color: var(--nl-blue); }
.ylc-editorial-story.is-list { border-top-color: var(--nl-line); }
.ylc-archive-years a { font-family: var(--nl-sans); font-weight: 700; }
.ylc-archive-years a[aria-current] { background: var(--nl-lime); border-bottom-color: var(--nl-blue); }
.ylc-editorial-empty { border-color: var(--nl-line); color: var(--nl-ink); }

/* A calm reading column while the brand remains visible in the shell. */
body.single-ylc_story { background: #fff; }
.nl-reading-head .wp-block-post-title { color: var(--nl-ink); font-family: var(--nl-sans); font-weight: 700; }
.nl-reading-head .wp-block-post-excerpt { color: var(--nl-blue); font-family: var(--nl-sans); font-weight: 400; }
.nl-reading .ylc-reading-view { --ylc-accent: var(--nl-blue); --ylc-muted: var(--nl-blue); }
.nl-reading .ylc-story-meta { font-family: var(--nl-sans); }
.nl-reading .ylc-story-illustration img { background: var(--nl-peach); }
.nl-reading .ylc-story-content { color: var(--nl-ink); font-family: var(--nl-serif); }
.nl-reading .ylc-progress { background: var(--nl-lime); }
.nl-reading .ylc-progress__bar { background: var(--nl-blue); }
.nl-reading .ylc-progress output { background: var(--nl-peach); border-color: var(--nl-blue); }
.nl-reading .ylc-reactions { border-color: var(--nl-line); }
.nl-reading .ylc-reactions button { border-color: var(--nl-blue); color: var(--nl-blue); }
.nl-reading .ylc-reactions button:hover, .nl-reading .ylc-reactions button:focus-visible { background: var(--nl-blue); color: #fff; }

/* Submission controls remain recognisable, large, and high contrast. */
.nl-page .ylc-submission-wrap { --ylc-accent: var(--nl-blue); }
.nl-page .ylc-form-step { border-color: var(--nl-line); background: #fff; }
.nl-page .ylc-form-steps li.is-active { border-top-color: var(--nl-blue); color: var(--nl-blue); }
.nl-page .ylc-form-steps li.is-complete { border-top-color: var(--nl-ink); }
.nl-page .ylc-submission-form input:not([type='checkbox']), .nl-page .ylc-submission-form select, .nl-page .ylc-submission-form textarea { border-color: var(--nl-line); }
.nl-page .ylc-submission-form textarea[name='content'], .nl-page .ylc-preview-content { font-family: var(--nl-serif); }
.nl-page .ylc-illustration-upload { border-color: var(--nl-blue); background: var(--nl-paper); }
.nl-page .ylc-form-notice, .nl-page .ylc-form-message { background: var(--nl-paper); }

@media (max-width: 900px) {
    .nl-home-hero { padding: 2rem; }
    .nl-hero-columns { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1rem; }
    .nl-typewriter-scene .nl-home-lead { font-size: clamp(.82rem, 1.7vw, 1.05rem); }
    .nl-inverted-figure { height: clamp(20rem, 44vw, 29rem); }
}

@media (max-width: 700px) {
    .nl-header-inner { justify-content: center; padding-block: .9rem; }
    .nl-site-nav { justify-content: center; gap: .5rem .9rem; font-size: .9rem; }
    .nl-home-hero { width: calc(100% - 1rem) !important; margin-top: .5rem; padding: 1.5rem; }
    .nl-hero-columns { display: block; }
    .nl-logo--hero { width: min(100%, 31rem); }
    .nl-typewriter-scene { width: min(100%, 32rem); margin: 1.5rem auto 0; }
    .nl-typewriter-scene .nl-home-lead { font-size: clamp(.78rem, 2.5vw, 1rem); }
    .nl-hero-visual { min-height: 0; margin-top: 0; }
    .nl-inverted-figure { align-self: flex-end; width: min(68%, 18rem); height: 18rem; background-size: 120% auto; }
    .nl-quote-fragment { max-width: 15rem; }
    .nl-hero-cta-label { padding-top: 1rem; }
    .nl-status-wrap { width: calc(100% - 1rem) !important; }
    .ylc-editorial-story.is-lead { padding: 1rem; }
    .nl-reading .nl-reading-head,
    .nl-reading .wp-block-post-content { width: min(100%, 46rem); margin-inline: auto; padding-inline: max(1.125rem, env(safe-area-inset-left)) max(1.125rem, env(safe-area-inset-right)); box-sizing: border-box; }
    .nl-reading .ylc-reading-view { max-width: 100%; }
    .nl-reading .ylc-story-illustration { margin-inline: 0; }
}

@media (max-width: 430px) {
    .nl-home-hero { padding: 1rem; }
    .nl-typewriter-scene .nl-home-lead { top: 15%; left: 19%; width: 62%; font-size: clamp(.875rem, 3.7vw, 1rem); line-height: 1.16; }
    .nl-inverted-figure { height: 15rem; }
    .nl-quote-fragment { max-width: 12rem; font-size: .9rem; }
    .nl-hero-audience { margin-top: 1rem; }
    .nl-header-inner { gap: .75rem; }
}
