/* English: Shared Futures - Conference Website */

:root {
    --deep-navy: #1a2744;
    --warm-burgundy: #8c2f39;
    --accent-gold: #d4a843;
    --soft-cream: #f8f5ef;
    --text-primary: #2b2b2b;
    --text-light: #6b6b6b;
    --border-subtle: #e2ddd5;
    --highlight-blue: #3a6ea5;
    --white: #ffffff;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--highlight-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--warm-burgundy);
}

/* ---- Site Header ---- */

.site-masthead {
    background-color: var(--deep-navy);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.masthead-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
}

.conference-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--white);
    flex-shrink: 0;
}

.conference-brand:hover {
    color: var(--accent-gold);
}

.conference-brand svg {
    width: 42px;
    height: 42px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.brand-date {
    font-size: 0.75rem;
    opacity: 0.75;
    letter-spacing: 0.5px;
}

/* Primary Navigation */

.primary-navigation {
    display: flex;
    align-items: center;
}

.navigation-list {
    display: flex;
    list-style: none;
    gap: 4px;
}

.navigation-list > li {
    position: relative;
}

.navigation-link {
    display: block;
    padding: 8px 14px;
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.navigation-link:hover,
.navigation-link:focus {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

/* Dropdown menus */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 6px 0;
    z-index: 200;
}

.navigation-list > li:hover > .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 9px 18px;
    color: var(--text-primary);
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.15s;
}

.dropdown-link:hover {
    background: var(--soft-cream);
    color: var(--warm-burgundy);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle svg {
    width: 26px;
    height: 26px;
}

/* ---- Hero Section ---- */

.conference-hero {
    background: linear-gradient(135deg, var(--deep-navy) 0%, #2d4a7a 50%, var(--warm-burgundy) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 24px 72px;
    position: relative;
    overflow: hidden;
}

.conference-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
    margin-bottom: 18px;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 14px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-meta {
    font-size: 1rem;
    opacity: 0.75;
    margin-bottom: 32px;
}

.hero-cta {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--deep-navy);
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    color: var(--deep-navy);
}

/* ---- Content Sections ---- */

.content-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 24px;
}

.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: var(--deep-navy);
    margin-bottom: 12px;
}

.section-intro {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 40px;
    max-width: 680px;
}

/* Card Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.card-visual {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-visual svg {
    width: 100%;
    height: 100%;
}

.card-body {
    padding: 22px 24px;
}

.card-label {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.card-label a {
    color: inherit;
    text-decoration: none;
}

.card-label a:hover {
    color: var(--warm-burgundy);
}

.card-description {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Supporters Band */
.supporters-band {
    background: var(--soft-cream);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.supporters-band .content-section {
    padding: 48px 24px;
    text-align: center;
}

.supporter-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 36px;
    margin-top: 28px;
}

.supporter-item {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 16px;
    background: var(--white);
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
}

/* Statistics Strip */
.statistics-strip {
    background: var(--deep-navy);
    color: var(--white);
    padding: 44px 24px;
}

.statistics-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 64px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.88rem;
    opacity: 0.8;
    margin-top: 6px;
}

/* Blogroll */
.blogroll-section {
    border-top: 1px solid var(--border-subtle);
}

.news-feed {
    display: grid;
    gap: 0;
}

.news-item {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-subtle);
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 28px;
    align-items: start;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date-block {
    text-align: right;
    padding-top: 4px;
}

.news-day {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-navy);
    line-height: 1;
}

.news-month-year {
    font-size: 0.82rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-content-block {
    min-width: 0;
}

.news-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title a {
    color: var(--deep-navy);
    text-decoration: none;
}

.news-title a:hover {
    color: var(--warm-burgundy);
}

.news-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.news-excerpt a {
    color: var(--highlight-blue);
    text-decoration: underline;
}

.news-read-more {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--warm-burgundy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-read-more:hover {
    color: var(--deep-navy);
}

/* ---- Site Footer ---- */

.site-footer {
    background: var(--deep-navy);
    color: rgba(255,255,255,0.7);
    padding: 48px 24px 28px;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-about-text {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 14px;
}

.footer-column-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-link-list {
    list-style: none;
}

.footer-link-list li {
    margin-bottom: 8px;
}

.footer-link-list a {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link-list a:hover {
    color: var(--accent-gold);
}

.footer-bottom-bar {
    max-width: 1180px;
    margin: 36px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.footer-bottom-bar a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.footer-bottom-bar a:hover {
    color: var(--accent-gold);
}

/* ---- Page Content (non-homepage) ---- */

.page-banner {
    background: linear-gradient(135deg, var(--deep-navy), #2d4a7a);
    color: var(--white);
    padding: 48px 24px;
    text-align: center;
}

.page-banner-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 700;
}

.page-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.page-body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: var(--deep-navy);
    margin: 36px 0 14px;
}

.page-body h3 {
    font-size: 1.15rem;
    color: var(--deep-navy);
    margin: 28px 0 10px;
}

.page-body p {
    margin-bottom: 16px;
}

.page-body ul, .page-body ol {
    margin: 0 0 16px 24px;
}

.page-body li {
    margin-bottom: 6px;
}

/* Programme Table */
.programme-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9rem;
}

.programme-table th {
    background: var(--deep-navy);
    color: var(--white);
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}

.programme-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: top;
}

.programme-table tr:nth-child(even) {
    background: var(--soft-cream);
}

.time-slot-heading {
    background: var(--soft-cream);
    padding: 16px 0 8px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: var(--deep-navy);
    border-bottom: 2px solid var(--accent-gold);
    margin: 32px 0 16px;
}

/* Contact styling */
.contact-info {
    background: var(--soft-cream);
    padding: 28px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

/* Cookie Notice */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--deep-navy);
    color: rgba(255,255,255,0.9);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
    font-size: 0.9rem;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-accept-button {
    background: var(--accent-gold);
    color: var(--deep-navy);
    border: none;
    padding: 9px 22px;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.cookie-accept-button:hover {
    opacity: 0.88;
}

.cookie-decline-button {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 9px 22px;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s;
}

.cookie-decline-button:hover {
    border-color: rgba(255,255,255,0.6);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .statistics-inner {
        gap: 36px;
    }

    .news-item {
        grid-template-columns: 100px 1fr;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .primary-navigation {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--deep-navy);
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 12px 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

    .primary-navigation.is-open {
        display: block;
    }

    .navigation-list {
        flex-direction: column;
        gap: 0;
    }

    .navigation-link {
        padding: 12px 24px;
        border-radius: 0;
    }

    .dropdown-menu {
        position: static;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .dropdown-link {
        color: rgba(255,255,255,0.75);
        padding: 10px 24px 10px 40px;
    }

    .dropdown-link:hover {
        background: rgba(255,255,255,0.08);
        color: var(--white);
    }

    .navigation-list > li:hover > .dropdown-menu,
    .navigation-list > li > .dropdown-menu {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .statistics-inner {
        flex-wrap: wrap;
        gap: 28px 48px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .news-date-block {
        text-align: left;
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .news-day {
        font-size: 1.2rem;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-heading {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}
