/*
Theme Name: STAY Project
Theme URI: https://stay-project.eu
Author: Paolo Pelesk
Author URI: https://stay-project.eu
Description: Custom WordPress theme for STAY – Skills for Thriving, Agency and Youth Engagement. A European cooperation project empowering young people to stay engaged in work, learning, and community life.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: 
License URI: 
Text Domain: stay-project
Tags: accessibility-ready, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, threaded-comments, translation-ready

STAY Project Theme - © 2026 All rights Reserved by STAY PROJECT
*/

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
    --stay-primary:       #1B3A6B;
    --stay-primary-dark:  #0f2347;
    --stay-primary-light: #2a5298;
    --stay-accent:        #F5A623;
    --stay-accent-dark:   #d4880a;
    --stay-green:         #2E8B57;
    --stay-green-light:   #3ab76e;
    --stay-white:         #ffffff;
    --stay-off-white:     #f7f8fc;
    --stay-light-grey:    #eef1f7;
    --stay-mid-grey:      #c4cad6;
    --stay-text:          #1a1f2e;
    --stay-text-light:    #4a5568;
    --stay-text-muted:    #718096;
    --stay-eu-yellow:     #FFCC02;
    --stay-eu-blue:       #003399;

    --font-heading: 'Raleway', 'Segoe UI', sans-serif;
    --font-body:    'Open Sans', 'Helvetica Neue', Arial, sans-serif;

    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-full: 9999px;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.14);
    --shadow-xl:  0 20px 60px rgba(0,0,0,.18);

    --transition: 0.3s cubic-bezier(.4,0,.2,1);
    --max-width:  1200px;
    --section-py: 90px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--stay-text);
    background: var(--stay-white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--stay-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--stay-accent); }
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--stay-accent);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

ul, ol { list-style: none; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--stay-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p  { margin-bottom: 1.25rem; color: var(--stay-text-light); }
p:last-child { margin-bottom: 0; }

.section-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--stay-accent);
    margin-bottom: .75rem;
}

/* =====================================================
   LAYOUT HELPERS
   ===================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section { padding: var(--section-py) 0; }
.section--grey  { background: var(--stay-off-white); }
.section--dark  { background: var(--stay-primary); color: var(--stay-white); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--stay-white); }
.section--dark p  { color: rgba(255,255,255,.82); }

.text-center  { text-align: center; }
.text-white   { color: var(--stay-white) !important; }
.mt-1  { margin-top: .5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mt-6  { margin-top: 3rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-4  { margin-bottom: 2rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--stay-accent);
    color: var(--stay-white);
    border-color: var(--stay-accent);
}
.btn-primary:hover {
    background: var(--stay-accent-dark);
    border-color: var(--stay-accent-dark);
    color: var(--stay-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    color: var(--stay-primary);
    border-color: var(--stay-primary);
}
.btn-outline:hover {
    background: var(--stay-primary);
    color: var(--stay-white);
    transform: translateY(-2px);
}
.btn-white {
    background: var(--stay-white);
    color: var(--stay-primary);
    border-color: var(--stay-white);
}
.btn-white:hover {
    background: var(--stay-accent);
    border-color: var(--stay-accent);
    color: var(--stay-white);
}
.btn:disabled,
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}
.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* =====================================================
   ACCESSIBILITY BAR
   ===================================================== */
.accessibility-bar {
    position: relative;
    z-index: 9999;
    background: var(--stay-primary-dark);
    color: rgba(255,255,255,.8);
    font-size: .8rem;
    padding: .4rem 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.accessibility-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.accessibility-controls {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.acc-btn {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--stay-white);
    padding: .2rem .6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: .75rem;
    font-weight: 600;
    transition: all var(--transition);
}
.acc-btn:hover { background: rgba(255,255,255,.25); }
.acc-btn[aria-pressed="true"] { background: var(--stay-accent); border-color: var(--stay-accent); }

.lang-switcher {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.lang-switcher span { opacity: .6; }
.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,.3);
    color: rgba(255,255,255,.8);
    padding: .15rem .55rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: .75rem;
    font-weight: 700;
    transition: all var(--transition);
    text-transform: uppercase;
}
.lang-btn:hover,
.lang-btn.active { background: var(--stay-accent); border-color: var(--stay-accent); color: var(--stay-white); }

/* =====================================================
   SITE HEADER
   ===================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--stay-white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-logo img { height: 52px; width: auto; }
.site-logo:hover { opacity: .9; }

/* Primary Navigation */
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.primary-nav a {
    display: block;
    padding: .5rem .9rem;
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 600;
    color: var(--stay-text);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    position: relative;
}
.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: .9rem;
    right: .9rem;
    height: 2px;
    background: var(--stay-accent);
    transform: scaleX(0);
    transition: transform var(--transition);
    border-radius: var(--radius-full);
}
.primary-nav a:hover,
.primary-nav li.current-menu-item > a,
.primary-nav li.current_page_item > a {
    color: var(--stay-primary);
}
.primary-nav a:hover::after,
.primary-nav li.current-menu-item > a::after,
.primary-nav li.current_page_item > a::after { transform: scaleX(1); }

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    border-radius: var(--radius-md);
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--stay-text);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--stay-accent);
    color: var(--stay-white);
    padding: .6rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    z-index: 9999;
    transition: top var(--transition);
}
.skip-link:focus { top: 1rem; clip: auto; width: auto; height: auto; overflow: visible; }

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(27,58,107,.92) 0%, rgba(27,58,107,.65) 55%, rgba(27,58,107,.25) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 4rem 1.5rem;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(245,166,35,.15);
    border: 1px solid rgba(245,166,35,.4);
    color: var(--stay-eu-yellow);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .35rem .9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}
.hero h1 { color: var(--stay-white); margin-bottom: 1.25rem; }
.hero .hero-lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,.88);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* EU badge bottom-right */
.hero-eu-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 2;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    padding: .75rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: .72rem;
    color: rgba(255,255,255,.8);
    max-width: 260px;
    text-align: center;
    line-height: 1.5;
}

/* =====================================================
   QUICK LINKS (HOME)
   ===================================================== */
.quick-links {
    padding: 3.5rem 0;
    background: var(--stay-off-white);
    border-bottom: 1px solid var(--stay-light-grey);
}
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.quick-link-card {
    background: var(--stay-white);
    border: 1px solid var(--stay-light-grey);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.quick-link-card:hover {
    border-color: var(--stay-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    color: inherit;
}
.quick-link-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--stay-primary), var(--stay-primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--stay-white);
    font-size: 1.4rem;
}
.quick-link-card h3 { font-size: 1rem; color: var(--stay-primary); margin-bottom: .4rem; }
.quick-link-card p  { font-size: .85rem; color: var(--stay-text-muted); margin: 0; }

/* =====================================================
   ABOUT SECTION (used on homepage)
   ===================================================== */
.about-intro .grid-2 { gap: 4rem; }
.about-intro-img {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-intro-img img { width: 100%; height: 480px; object-fit: cover; }
.about-intro-img::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    border: 3px solid var(--stay-accent);
    border-radius: var(--radius-xl);
    z-index: -1;
}

/* =====================================================
   CARD COMPONENTS
   ===================================================== */
.card {
    background: var(--stay-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--stay-light-grey);
    transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-image { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-meta { font-size: .8rem; color: var(--stay-text-muted); margin-bottom: .5rem; }
.card-tag {
    display: inline-block;
    background: rgba(27,58,107,.08);
    color: var(--stay-primary);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .25rem .65rem;
    border-radius: var(--radius-full);
    margin-bottom: .75rem;
}
.card h3 { font-size: 1rem; margin-bottom: .5rem; }
.card p  { font-size: .9rem; }

/* =====================================================
   RESULT / OUTPUT CARDS
   ===================================================== */
.result-card {
    background: var(--stay-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}
.result-card-img { width: 100%; height: 260px; object-fit: cover; }
.result-card-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.result-card-body h3 { margin-bottom: 1rem; color: var(--stay-primary); }
.result-card-body p { flex: 1; font-size: .95rem; }
.result-card-body .btn { margin-top: 1.5rem; align-self: flex-start; }

/* =====================================================
   PARTNER CARDS
   ===================================================== */
.partner-card {
    background: var(--stay-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--stay-light-grey);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.partner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.partner-card-flag {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.partner-card h3 { font-size: 1.05rem; color: var(--stay-primary); margin-bottom: .25rem; }
.partner-country {
    font-size: .78rem;
    color: var(--stay-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .75rem;
}
.partner-card p { font-size: .9rem; }

/* =====================================================
   STATS / NUMBERS
   ===================================================== */
.stats-strip {
    background: linear-gradient(135deg, var(--stay-primary) 0%, var(--stay-primary-light) 100%);
    padding: 3.5rem 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item { color: var(--stay-white); }
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--stay-eu-yellow);
    line-height: 1;
    margin-bottom: .4rem;
}
.stat-label { font-size: .9rem; opacity: .85; }

/* =====================================================
   NEWS SECTION
   ===================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section .grid-2 { gap: 4rem; align-items: start; }
.contact-info { padding-top: 1rem; }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(27,58,107,.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stay-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-text h4 { font-size: .95rem; margin-bottom: .2rem; }
.contact-info-text p  { font-size: .9rem; margin: 0; }

/* Contact Form */
.stay-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--stay-text);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: .8rem 1rem;
    border: 1.5px solid var(--stay-mid-grey);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--stay-text);
    background: var(--stay-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--stay-primary);
    box-shadow: 0 0 0 3px rgba(27,58,107,.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.gdpr-notice {
    background: var(--stay-off-white);
    border: 1px solid var(--stay-light-grey);
    border-radius: var(--radius-md);
    padding: 1rem;
    font-size: .8rem;
    color: var(--stay-text-muted);
    line-height: 1.6;
}
.gdpr-notice strong { color: var(--stay-text); }
.form-consent { display: flex; align-items: flex-start; gap: .75rem; font-size: .85rem; color: var(--stay-text-light); }
.form-consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }

/* =====================================================
   SECTION HEADER
   ===================================================== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--stay-accent), var(--stay-green));
    border-radius: var(--radius-full);
    margin: 1rem auto;
}

/* =====================================================
   SITE FOOTER
   ===================================================== */
.site-footer {
    background: var(--stay-primary-dark);
    color: rgba(255,255,255,.8);
    font-size: .9rem;
}
.footer-main {
    padding: 4rem 0 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand img { height: 50px; margin-bottom: 1.25rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: .75rem; }
.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    transition: all var(--transition);
}
.social-link:hover { background: var(--stay-accent); border-color: var(--stay-accent); color: var(--stay-white); }

.footer-col h4 {
    color: var(--stay-white);
    font-size: .95rem;
    margin-bottom: 1.25rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a {
    color: rgba(255,255,255,.65);
    font-size: .88rem;
    transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--stay-accent); }

/* EU Funding Bar */
.eu-funding-bar {
    background: rgba(0,0,0,.25);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.5rem 0;
}
.eu-funding-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.eu-stars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--stay-eu-blue);
    border-radius: var(--radius-md);
    align-items: center;
    font-size: 1rem;
    flex-shrink: 0;
    padding: .25rem;
    letter-spacing: -2px;
}
.eu-funding-text {
    font-size: .78rem;
    color: rgba(255,255,255,.7);
    line-height: 1.6;
    font-style: italic;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    font-size: .8rem;
    color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--stay-accent); }

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
    background: linear-gradient(135deg, var(--stay-primary) 0%, var(--stay-primary-light) 100%);
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(245,166,35,.06);
}
.page-hero h1 { color: var(--stay-white); position: relative; z-index: 1; }
.page-hero p  { color: rgba(255,255,255,.8); max-width: 600px; margin: 1rem auto 0; position: relative; z-index: 1; }
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .82rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--stay-accent); }
.breadcrumb-sep { opacity: .4; }

/* =====================================================
   ABOUT PAGE SPECIFIC
   ===================================================== */
.about-what-we-do { background: var(--stay-off-white); }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-split img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; height: 400px; object-fit: cover; }
.about-split.reverse img { order: 2; }
.about-split.reverse .about-split-text { order: 1; }

.icon-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.icon-list-item { display: flex; align-items: flex-start; gap: 1rem; }
.icon-list-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--stay-green), var(--stay-green-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stay-white);
    font-size: .85rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.icon-list-text h4 { font-size: .95rem; color: var(--stay-primary); margin-bottom: .2rem; }
.icon-list-text p  { font-size: .88rem; margin: 0; }

/* =====================================================
   RESULTS PAGE SPECIFIC
   ===================================================== */
.how-to-use-section {
    background: linear-gradient(135deg, var(--stay-primary) 0%, var(--stay-primary-light) 100%);
    padding: var(--section-py) 0;
}
.how-to-use-section h2,
.how-to-use-section h3 { color: var(--stay-white); }
.how-to-use-section p { color: rgba(255,255,255,.82); }
.use-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    backdrop-filter: blur(8px);
}
.use-card h3 { font-size: 1.05rem; }

/* =====================================================
   HIGH-CONTRAST MODE
   ===================================================== */
body.high-contrast {
    filter: contrast(1.5) grayscale(.2);
}
body.large-text { font-size: 18px; }
body.large-text h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
body.large-text h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    :root { --section-py: 70px; }
    .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-py: 50px; }

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--stay-white);
        box-shadow: var(--shadow-xl);
        padding: 5rem 2rem 2rem;
        transition: right var(--transition);
        z-index: 999;
        overflow-y: auto;
    }
    .primary-nav.open { right: 0; }
    .primary-nav ul { flex-direction: column; gap: .25rem; }
    .primary-nav a { padding: .85rem 1rem; font-size: 1rem; border-radius: var(--radius-md); }

    .menu-toggle { display: flex; z-index: 1001; position: relative; }

    .hero { min-height: 75vh; }
    .hero-eu-badge { display: none; }
    .grid-2, .grid-3, .grid-4, .about-split { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .quick-links-grid { grid-template-columns: 1fr 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .about-split.reverse img { order: unset; }
    .about-split.reverse .about-split-text { order: unset; }
    .eu-funding-inner { flex-direction: column; text-align: center; }
    .accessibility-bar .container { flex-direction: column; gap: .5rem; }
}

@media (max-width: 480px) {
    .quick-links-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* =====================================================
   WORDPRESS STANDARD CLASSES
   ===================================================== */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .82rem; color: var(--stay-text-muted); text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
    white-space: nowrap;
}
