/* Base styles and overrides for Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --astaf-navy: #0B132B;
    --astaf-gold: #EBB134;
    --astaf-muted: #64748b;
    --astaf-content-gutter: clamp(1rem, 4vw, 4rem);
}

.scroll-to-top-button {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--astaf-gold), #f59e0b);
    color: var(--astaf-navy);
    box-shadow: 0 12px 24px rgba(11, 19, 43, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    cursor: pointer;
}

.scroll-to-top-button.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-button:hover,
.scroll-to-top-button:focus-visible {
    transform: translateY(-2px);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.admin-page {
    min-height: 100vh;
    background: #f4f1eb;
    color: var(--astaf-navy);
}

.admin-shell {
    width: min(100% - 2rem, 78rem);
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

.admin-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.admin-eyebrow {
    margin: 0 0 0.5rem;
    color: #a61b3c;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.admin-header h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1;
}

.admin-header p:not(.admin-eyebrow) {
    max-width: 38rem;
    margin: 0.8rem 0 0;
    color: #526071;
}

.admin-back-link,
.admin-login,
.admin-dashboard {
    background: #ffffff;
    border-top: 0.35rem solid var(--astaf-gold);
    box-shadow: 0 14px 35px rgba(11, 19, 43, 0.1);
}

.admin-back-link {
    flex: 0 0 auto;
    padding: 0.8rem 1rem;
    color: var(--astaf-navy);
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
}

.admin-login,
.admin-dashboard {
    padding: 1.5rem;
}

.admin-login h2 {
    margin: 0;
    font-size: 1.25rem;
}

.admin-login p {
    color: #526071;
}

.admin-login-row,
.admin-toolbar {
    display: flex;
    align-items: end;
    gap: 0.75rem;
}

.admin-login label,
.admin-toolbar label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 800;
}

.admin-login input,
.admin-toolbar input {
    min-height: 2.8rem;
    border: 1px solid #b9c0c9;
    border-radius: 0.2rem;
    padding: 0.65rem 0.8rem;
    background: #ffffff;
    color: #111827;
}

.admin-login input {
    width: min(100%, 26rem);
}

.admin-login button,
.admin-secondary-button {
    min-height: 2.8rem;
    border: 0;
    padding: 0.65rem 1rem;
    background: var(--astaf-navy);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.admin-status {
    min-height: 1.5rem;
    margin-bottom: 0;
    color: #a61b3c;
}

.admin-toolbar {
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.admin-view-switcher {
    display: flex;
    gap: 0.35rem;
}

.admin-view-button {
    min-height: 2.8rem;
    border: 1px solid #c9c5bd;
    padding: 0.65rem 0.9rem;
    background: #f4f1eb;
    color: var(--astaf-navy);
    font-weight: 800;
    cursor: pointer;
}

.admin-view-button.is-active {
    border-color: var(--astaf-navy);
    background: var(--astaf-navy);
    color: #ffffff;
}

.admin-toolbar input {
    flex: 1;
    max-width: 34rem;
}

.admin-secondary-button {
    background: #a61b3c;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-stat {
    padding: 1rem;
    background: #f4f1eb;
}

.admin-stat span,
.admin-stat strong {
    display: block;
}

.admin-stat span {
    color: #526071;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-stat strong {
    margin-top: 0.35rem;
    font-size: 1.6rem;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    min-width: 46rem;
    text-align: left;
}

.admin-table-wrap th,
.admin-table-wrap td {
    padding: 0.85rem 0.7rem;
    border-bottom: 1px solid #e2e0dc;
    vertical-align: top;
    font-size: 0.85rem;
}

.admin-table-wrap th {
    color: #526071;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-table-wrap a {
    color: #145da0;
}

.admin-empty {
    padding: 2rem 0;
    color: #526071;
    text-align: center;
}

.admin-row-actions {
    display: flex;
    gap: 0.4rem;
    white-space: nowrap;
}

.admin-row-button,
.admin-close-button {
    border: 1px solid #c9c5bd;
    padding: 0.45rem 0.65rem;
    background: #ffffff;
    color: var(--astaf-navy);
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
}

.admin-row-button:hover,
.admin-row-button:focus-visible,
.admin-close-button:hover,
.admin-close-button:focus-visible {
    background: #f4f1eb;
}

.admin-delete-button {
    border-color: #a61b3c;
    color: #a61b3c;
}

.admin-edit-panel {
    margin-top: 2rem;
    border-top: 0.35rem solid #a61b3c;
    padding: 1.5rem;
    background: #f4f1eb;
}

.admin-edit-heading,
.admin-edit-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-edit-heading h2 {
    margin: 0;
    font-size: 1.35rem;
}

.admin-edit-heading .admin-eyebrow {
    margin-bottom: 0.25rem;
}

.admin-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.admin-edit-grid label {
    display: grid;
    gap: 0.4rem;
    color: var(--astaf-navy);
    font-size: 0.8rem;
    font-weight: 800;
}

.admin-edit-grid input,
.admin-edit-grid textarea {
    width: 100%;
    border: 1px solid #b9c0c9;
    border-radius: 0.2rem;
    padding: 0.65rem 0.8rem;
    background: #ffffff;
    color: #111827;
    font: inherit;
    font-weight: 400;
}

.admin-edit-wide {
    grid-column: 1 / -1;
}

.admin-edit-consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    color: #526071;
    font-size: 0.8rem;
    font-weight: 700;
}

.admin-edit-actions {
    justify-content: flex-start;
}

.admin-edit-actions .admin-status {
    margin: 0;
}

@media (max-width: 700px) {
    .admin-shell {
        padding-top: 1.5rem;
    }

    .admin-header,
    .admin-login-row,
    .admin-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-view-switcher {
        width: 100%;
    }

    .admin-view-button {
        flex: 1;
    }

    .admin-back-link,
    .admin-login input,
    .admin-toolbar input,
    .admin-login button,
    .admin-secondary-button {
        width: 100%;
        max-width: none;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-edit-grid {
        grid-template-columns: 1fr;
    }

    .admin-edit-wide {
        grid-column: auto;
    }

    .admin-edit-heading,
    .admin-edit-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

.register-page {
    min-height: 100vh;
    background: #ffffff;
    color: var(--astaf-navy);
}

.registration-layout {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(20rem, 46%) minmax(0, 1fr);
}

.registration-visual {
    position: relative;
    display: flex;
    min-height: 42rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(11, 19, 43, 0.82), rgba(74, 22, 79, 0.5)), url('../assets/img/exhibition-2.jpg') center / cover;
    color: #ffffff;
}

.registration-visual::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 19, 43, 0.18), rgba(11, 19, 43, 0.82));
    content: '';
}

.registration-visual-topline {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 0.45rem;
    background: linear-gradient(90deg, #d90429 0 33%, var(--astaf-gold) 33% 66%, #00843d 66%);
}

.registration-visual-content {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(100%, 42rem);
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 5vw, 4rem);
}

.registration-logo {
    width: min(11rem, 45%);
    object-fit: contain;
    object-position: left center;
}

.registration-visual .register-eyebrow {
    margin-top: auto;
    color: var(--astaf-gold);
}

.registration-visual h1 {
    max-width: 32rem;
    margin: 0.7rem 0 1rem;
    font-family: Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 0.98;
}

.registration-visual > .registration-visual-content > p:not(.register-eyebrow) {
    max-width: 31rem;
    color: #e2e8f0;
    font-size: 1.1rem;
}

.registration-visual-footer {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.registration-panel {
    display: flex;
    align-items: center;
    background: #ffffff;
}

.registration-panel-inner {
    width: min(100%, 42rem);
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 5rem);
}

.registration-back-link {
    display: inline-flex;
    margin-bottom: 3rem;
    color: #526071;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.registration-back-link::before {
    margin-right: 0.45rem;
    content: '\2190';
}

.registration-heading {
    margin-bottom: 2rem;
}

.registration-heading h2 {
    margin: 0.5rem 0 0.75rem;
    color: var(--astaf-navy);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.registration-heading > p:last-child {
    max-width: 33rem;
    margin: 0;
    color: #64748b;
}

.register-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #0b132b 0%, #123f70 62%, #7a193f 100%);
    color: #ffffff;
}

.register-hero::after {
    content: "";
    position: absolute;
    right: -8rem;
    bottom: -10rem;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgba(235, 177, 52, 0.35);
    border-radius: 50%;
}

.register-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.register-eyebrow,
.register-kicker {
    color: var(--astaf-gold);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.register-hero h1 {
    max-width: 44rem;
    margin: 0.75rem 0 1rem;
    font-family: Georgia, serif;
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    line-height: 0.98;
}

.register-hero p:last-child {
    max-width: 38rem;
    color: #d9e4ef;
    font-size: 1.125rem;
}

.register-section {
    padding: 4rem 1rem 6rem;
}

.register-form-shell {
    width: min(100%, 44rem);
    margin: 0 auto;
    background: #ffffff;
    border-top: 0.45rem solid var(--astaf-gold);
    box-shadow: 0 18px 50px rgba(11, 19, 43, 0.12);
}

.register-form-heading {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem;
    background: var(--astaf-navy);
    color: #ffffff;
}

.register-logo {
    width: 5.5rem;
    height: 5.5rem;
    object-fit: contain;
}

.register-form-heading h2 {
    margin: 0.35rem 0;
    font-size: 1.7rem;
    line-height: 1.15;
}

.register-form-heading p:last-child {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.register-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
}

.register-form .register-field:nth-child(2),
.register-form .register-field:nth-child(3),
.register-form .register-field:nth-child(4),
.register-form .register-field:nth-child(5),
.register-form .register-field:nth-child(6),
.register-form .register-field:nth-child(7),
.register-form .register-consent,
.register-form .register-submit,
.register-form .register-status,
.register-form .register-privacy {
    grid-column: 1 / -1;
}

.register-form .register-field:nth-child(1) {
    grid-column: 1 / -1;
}

.partner-registration-form .register-field:nth-child(1),
.partner-registration-form .register-field:nth-child(2),
.partner-registration-form .register-field:nth-child(3),
.partner-registration-form .register-field:nth-child(4),
.partner-registration-form .register-field:nth-child(5),
.partner-registration-form .register-field:nth-child(6) {
    grid-column: span 1;
}

.partner-registration-form .register-field:nth-child(7),
.partner-registration-form .register-submit,
.partner-registration-form .register-status,
.partner-registration-form .register-privacy {
    grid-column: 1 / -1;
}

.register-field {
    display: grid;
    gap: 0.45rem;
}

.register-field label {
    color: var(--astaf-navy);
    font-size: 0.92rem;
    font-weight: 700;
}

.register-field label span,
.register-consent span span {
    color: #a61b3c;
}

.register-field input,
.register-field select,
.register-field textarea {
    width: 100%;
    min-height: 3rem;
    border: 1px solid #b9c0c9;
    border-radius: 0.2rem;
    padding: 0.7rem 0.85rem;
    background: #ffffff;
    color: #111827;
}

.register-field input:focus,
.register-field select:focus,
.register-field textarea:focus {
    border-color: #145da0;
    outline: 3px solid rgba(20, 93, 160, 0.18);
}

.register-field textarea {
    min-height: 8rem;
    resize: vertical;
}

.register-field p,
.register-privacy {
    color: #5b6470;
    font-size: 0.8rem;
}

.register-consent {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    color: #374151;
    font-size: 0.9rem;
}

.register-consent input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    accent-color: #145da0;
}

.register-submit {
    justify-self: start;
    border: 0;
    border-radius: 9999px;
    padding: 0.85rem 1.6rem;
    background: var(--astaf-gold);
    color: var(--astaf-navy);
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.register-submit:hover,
.register-submit:focus-visible {
    background: #f5c64c;
    transform: translateY(-1px);
}

.register-status {
    min-height: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.register-status.is-error {
    color: #a61b3c;
}

.register-status.is-success {
    padding: 1.5rem;
    background: #e8f5ee;
    color: #12633d;
}

.register-privacy {
    padding: 0 2rem 2rem;
}

.register-privacy a {
    color: #145da0;
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 540px) {
    .register-form-heading {
        grid-template-columns: 1fr;
    }

    .register-form-heading,
    .register-form {
        padding: 1.4rem;
    }

    .register-privacy {
        padding: 0 1.4rem 1.4rem;
    }
}

@media (max-width: 767px) {
    html {
        scrollbar-width: none;
    }

    html::-webkit-scrollbar {
        display: none;
    }
}

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

img,
svg,
video,
canvas {
    max-width: 100%;
}

a,
button,
input,
select,
textarea {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--astaf-gold);
    outline-offset: 3px;
}

main,
section,
header,
footer {
    min-width: 0;
}

main h1,
main h2,
main h3,
.hero-info-wrap h1 {
    overflow-wrap: anywhere;
}

main input,
main select,
main textarea {
    max-width: 100%;
}

/* Give shared page sections more room while keeping a controlled edge gutter. */
.max-w-7xl {
    width: 100%;
    max-width: 100rem;
    padding-right: var(--astaf-content-gutter);
    padding-left: var(--astaf-content-gutter);
}

main.max-w-4xl {
    padding-right: var(--astaf-content-gutter);
    padding-left: var(--astaf-content-gutter);
}

.pillar-icon {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
}

.impact-card-icon {
    display: block;
    margin-bottom: 1rem;
}

iconify-icon {
    display: inline-block;
    vertical-align: middle;
}

.navbar-logo {
    display: block;
    width: auto;
    height: 4.5rem;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.35));
}

.organisers-intro-hero {
    position: relative;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1506157786151-b8491531f063?auto=format&fit=crop&w=2200&q=85');
    background-position: center;
    background-size: cover;
}

.organisers-intro-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 18, 52, 0.94) 0%, rgba(9, 35, 79, 0.78) 48%, rgba(82, 5, 54, 0.7) 100%);
}

.organisers-intro-hero > .max-w-7xl {
    position: relative;
    z-index: 1;
}

.organisers-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 26rem;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=80');
    background-position: center;
    background-size: cover;
    color: #ffffff;
    text-align: center;
}

.organisers-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 90, 175, 0.82), rgba(11, 52, 110, 0.8));
}

.organisers-hero-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 72rem);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.organisers-hero h1 {
    margin: 0 auto 1.1rem;
    max-width: 52rem;
    font-size: clamp(2.5rem, 4vw, 5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.organisers-hero-copy {
    margin: 0 auto;
    max-width: 48rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.05rem, 1.5vw, 1.6rem);
    line-height: 1.6;
    font-weight: 400;
}

.organiser-feature {
    display: grid;
    grid-template-columns: 1.05fr 1.25fr;
    gap: 3rem;
    align-items: center;
    padding: 1.5rem 0;
}

.organiser-feature-reverse {
    grid-template-columns: 1.25fr 1.05fr;
}

.organiser-feature-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.organiser-feature-image-compact {
    padding: 1.15rem;
    min-height: 23rem;
}

.organiser-feature-image img {
    width: 100%;
    max-width: 27rem;
    max-height: 20rem;
    object-fit: contain;
}

.organiser-feature-image-compact img {
    max-width: 100%;
    max-height: 19rem;
}

.organiser-feature-copy {
    max-width: 44rem;
}

.organiser-feature-copy-reverse {
    max-width: 40rem;
    justify-self: end;
}

.organiser-feature-kicker {
    margin: 0 0 0.8rem;
    color: #d64f4f;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.organiser-feature-title {
    margin: 0 0 1.2rem;
    color: var(--astaf-navy);
    font-size: clamp(2.2rem, 3vw, 3.4rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.organiser-feature-text {
    margin: 0 0 1.25rem;
    color: #374151;
    font-size: 1.12rem;
    line-height: 1.7;
}

.organiser-feature-text:last-child {
    margin-bottom: 0;
}

.organiser-showcase {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding: 1rem 0;
}

.organiser-showcase-copy {
    max-width: 43rem;
}

.organiser-showcase-title {
    margin: 0 0 1.2rem;
    color: var(--astaf-navy);
    font-size: clamp(2.3rem, 3vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.organiser-showcase-text {
    margin: 0 0 1.2rem;
    color: #374151;
    font-size: 1.08rem;
    line-height: 1.75;
}

.organiser-showcase-text:last-child {
    margin-bottom: 0;
}

.organiser-showcase-image-wrap {
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    background: #f5f5f3;
    border: 1px solid #e7e5e4;
    border-radius: 1.7rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.organiser-showcase-image {
    display: block;
    width: 100%;
    max-width: 38rem;
    height: auto;
    object-fit: contain;
    border-radius: 1.2rem;
}

.tourism-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32rem;
    overflow: hidden;
    background-image: url('../assets/img/experience-5.jpg');
    background-position: center;
    background-size: cover;
}

.tourism-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 68, 150, 0.82), rgba(11, 52, 110, 0.84));
}

.tourism-hero-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 80rem);
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.tourism-hero h1 {
    margin: 0 0 1.25rem;
    color: #ffffff;
    font-size: 80px;
    line-height: 0.96;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.tourism-copy {
    margin: 0 auto;
    max-width: 68rem;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(0.95rem, 1.3vw, 1.4rem);
    line-height: 1.55;
    font-weight: 400;
    text-align: center;
    text-align-last: center;
    text-wrap: balance;
}

.tourism-copy-main {
    margin-bottom: 1.2rem;
    font-size: clamp(1rem, 1.5vw, 1.65rem);
    font-weight: 500;
}

.tourism-cta-card {
    max-width: 62rem;
    margin: 0 auto;
    padding: 2rem 0;
    color: #0B132B;
}

.tourism-cta-card h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.tourism-cta-card p {
    margin: 0;
    max-width: 42rem;
    color: #374151;
    font-size: 1.12rem;
    line-height: 1.8;
}

.tourism_experiences {
    padding: 5.5rem 0 6rem;
    background: #f8fafc;
}

.tourism-experiences-inner {
    width: 100%;
}

.tourism-experiences-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 24rem;
    margin-bottom: 4.5rem;
    overflow: hidden;
    background-color: var(--astaf-navy);
    background-image: url('../assets/img/event-flyer.jpg');
    background-position: center 35%;
    background-size: cover;
    isolation: isolate;
}

.tourism-experiences-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(11, 19, 43, 0.94), rgba(11, 63, 135, 0.7), rgba(11, 19, 43, 0.5));
}

.tourism-experiences-banner-content {
    max-width: 44rem;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.tourism-experiences-banner .tourism-experiences-kicker {
    color: var(--astaf-gold);
}

.tourism-experiences-banner h2 {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: clamp(2.2rem, 4.5vw, 4.8rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.tourism-experiences-banner p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    line-height: 1.5;
}

.tourism-experiences-heading {
    max-width: 44rem;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.tourism-experiences-kicker {
    margin: 0 0 0.7rem;
    color: #cf3f3f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tourism-experiences-heading h2 {
    margin: 0;
    color: var(--astaf-navy);
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.tourism-experiences-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.tourism-experience-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;

    .european_visitor_journey {
        padding-top: 4rem;
        padding-bottom: 4.5rem;
    }

    .visitor-journey-heading {
        margin-bottom: 2.5rem;
    }

    .visitor-journey-grid {
        grid-template-columns: 1fr;
    }

    .visitor-journey-card {
        min-height: auto;
    }
    overflow: hidden;
    border-radius: 0.65rem;
    background: var(--astaf-navy);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
    isolation: isolate;
}

.tourism-experience-card::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(11, 19, 43, 0.9));
}

.tourism-experience-card img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tourism-experience-card span {
    position: absolute;
    right: 1.25rem;
    bottom: 1.15rem;
    left: 1.25rem;
    z-index: 2;
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 800;
}

.tourism-experience-card:hover img,
.tourism-experience-card:focus-visible img {
    transform: scale(1.06);
}

.european_visitor_journey {
    padding: 5.5rem 0 6rem;
    background: #ffffff;
}

.visitor-journey-inner {
    width: 100%;
}

.visitor-journey-heading {
    max-width: 48rem;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.visitor-journey-heading h2 {
    margin: 0 0 0.8rem;
    color: var(--astaf-navy);
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.visitor-journey-heading p {
    margin: 0;
    color: #49617f;
    font-size: 1.05rem;
    line-height: 1.6;
}

.visitor-journey-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.visitor-journey-card {
    min-height: 15.5rem;
    padding: 1.8rem 1.5rem 1.6rem;
    border-top: 4px solid var(--visitor-accent);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.visitor-journey-card-gold {
    --visitor-accent: #EBB134;
}

.visitor-journey-card-red {
    --visitor-accent: #d92d32;
}

.visitor-journey-card-green {
    --visitor-accent: #008f6b;
}

.visitor-journey-card-blue {
    --visitor-accent: #124c70;
}

.visitor-journey-card-orange {
    --visitor-accent: #f36b21;
}

.visitor-journey-number {
    display: block;
    margin-bottom: 0.9rem;
    color: var(--visitor-accent);
    font-size: 1rem;
    line-height: 1;
    font-weight: 800;
}

.visitor-journey-card h3 {
    margin: 0 0 0.85rem;
    color: var(--astaf-navy);
    font-size: 1.25rem;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
}

.visitor-journey-card p {
    margin: 0;
    color: #49617f;
    font-size: 0.98rem;
    line-height: 1.6;
}

.festival-hero {
    position: relative;
    background: linear-gradient(180deg, #0b132b 0%, #11284d 100%);
    color: #ffffff;
    padding: 5rem 0 3.5rem;
    text-align: center;
}

.copyright-page .festival-hero {
    padding-top: 3.5rem;
}

.festival-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.festival-back-link::before {
    content: '\2190';
}

.festival-back-link:hover,
.festival-back-link:focus-visible {
    color: var(--astaf-gold);
}

.copyright-page .festival-back-link {
    align-self: flex-start;
}

.privacy-page .festival-back-link {
    align-self: flex-start;
}

.cookie-page .festival-back-link {
    align-self: flex-start;
}

.accessibility-page .festival-back-link {
    align-self: flex-start;
}

.terms-page .festival-back-link {
    align-self: flex-start;
}

.festival-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.festival-kicker {
    color: #EBB134;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0;
}

.festival-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.festival-page {
    background: #f8fafc;
}

.festival-story {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    gap: clamp(2rem, 4.5vw, 5.5rem);
    width: min(100%, 100rem);
    margin: 0 auto 3.5rem;
    padding: 5rem var(--astaf-content-gutter) 0;
    max-width: 100%;
}

.festival-story:last-of-type {
    padding-bottom: 5rem;
}

.festival-story-reverse {
    grid-template-columns: 1fr 1.08fr;
}

.festival-story-media {
    overflow: hidden;
    border-radius: 1.6rem;
    background: #e5e7eb;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.festival-story-media img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.festival-story-copy {
    max-width: 42rem;
}

.festival-story-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: rgba(255, 94, 94, 0.12);
    color: #cf3f3f;
    font-size: 1.2rem;
    font-weight: 700;
}

.festival-story-icon-alt {
    background: rgba(29, 78, 216, 0.12);
    color: #1d4ed8;
}

.festival-story h2 {
    margin: 0 0 1rem;
    color: #0B132B;
    font-size: clamp(2rem, 2.8vw, 3.1rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.policy-page {
    background: #f8fafc;
}

.policy-layout {
    display: grid;
    grid-template-columns: minmax(12rem, 0.32fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: start;
    max-width: 78rem;
    margin: 0 auto;
    padding-top: clamp(3.5rem, 7vw, 6.5rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

.policy-index {
    position: sticky;
    top: 7rem;
    padding-left: 1.25rem;
    border-left: 3px solid var(--astaf-gold);
}

.policy-index p {
    margin: 0 0 1rem;
    color: #cf3f3f;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.policy-index a {
    display: block;
    margin: 0.65rem 0;
    color: #49617f;
    font-size: 0.9rem;
    line-height: 1.35;
    text-decoration: none;
}

.policy-index a:hover,
.policy-index a:focus-visible {
    color: var(--astaf-navy);
}

.policy-article {
    min-width: 0;
    max-width: 52rem;
}

.policy-intro {
    margin: 0 0 3rem;
    color: #49617f;
    font-size: 1.18rem;
    line-height: 1.75;
}

.policy-meta {
    display: inline-block;
    margin: 0 0 1.25rem;
    color: #cf3f3f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.policy-article section {
    margin-top: 2.75rem;
    padding-top: 2.75rem;
    border-top: 1px solid #dbe3ec;
    scroll-margin-top: 6rem;
}

.policy-article section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.policy-article h2 {
    margin: 0 0 1rem;
    color: var(--astaf-navy);
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.policy-article p,
.policy-article li {
    color: #374151;
    font-size: 1rem;
    line-height: 1.8;
}

.policy-article p {
    margin: 0 0 1rem;
}

.policy-article ul {
    margin: 0 0 1rem;
    padding-left: 1.4rem;
}

.policy-article li {
    margin-bottom: 0.55rem;
    padding-left: 0.25rem;
}

.policy-article a {
    color: #124c70;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--astaf-gold);
    text-underline-offset: 0.18em;
}

@media (max-width: 767px) {
    .policy-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-top: 3.5rem;
    }

    .policy-index {
        position: static;
    }

    .policy-index a {
        display: inline-block;
        margin: 0 1rem 0.5rem 0;
    }

    .policy-intro {
        font-size: 1.05rem;
    }

    .policy-article p,
    .policy-article li {
        font-size: 0.98rem;
    }
}

.festival-story p {
    margin: 0 0 1rem;
    color: #374151;
    font-size: 1.08rem;
    line-height: 1.8;
    text-align: justify;
}

.festival-story p:last-child {
    margin-bottom: 0;
}

.partners-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30rem;
    overflow: hidden;
    background-image: url('../assets/img/banner-1.jpg');
    background-position: center;
    background-size: cover;
    color: #ffffff;
    text-align: center;
}

.partners-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 63, 135, 0.82), rgba(11, 19, 43, 0.82));
}

.partners-hero-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 80rem);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.partners-hero-kicker {
    margin: 0 0 1rem;
    color: #EBB134;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.partners-hero h1 {
    margin: 0 auto 1.15rem;
    max-width: 60rem;
    color: #ffffff;
    font-size: clamp(2.4rem, 4vw, 5rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.partners-hero-copy {
    margin: 0 auto;
    max-width: 46rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1.05rem, 1.5vw, 1.55rem);
    line-height: 1.7;
    font-weight: 400;
}

@media (max-width: 767px) {
    .navbar-logo {
        height: 4rem;
    }

    .partners-hero {
        min-height: 24rem;
    }

    .partners-hero-inner {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .partners-hero-kicker {
        letter-spacing: 0.12em;
        font-size: 0.7rem;
    }

    .partners-hero h1 {
        font-size: clamp(2.1rem, 9vw, 3.3rem);
        line-height: 1.1;
    }

    .partners-hero-copy {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .tourism-hero {
        min-height: 28rem;
    }

    .tourism-hero-inner {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .tourism-hero h1 {
        font-size: 2.7rem;
        line-height: 1;
    }

    .tourism-copy {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .tourism_experiences {
        padding-top: 4rem;
        padding-bottom: 4.5rem;
    }

    .tourism-experiences-grid {
        grid-template-columns: 1fr;
    }

    .festival-hero {
        padding-top: 4rem;
        padding-bottom: 2.5rem;
    }

    .festival-kicker {
        letter-spacing: 0.12em;
        font-size: 0.7rem;
    }

    .festival-story {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .festival-story-reverse {
        grid-template-columns: 1fr;
    }

    .festival-story-media img {
        height: 280px;
    }

    .festival-story h2 {
        font-size: 2rem;
    }

    .festival-story p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .organisers-hero {
        min-height: 22rem;
    }

    .organisers-hero-inner {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .organisers-hero-copy {
        font-size: 1.05rem;
        line-height: 1.5;
    }

    .organiser-feature {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .organiser-feature-image {
        padding: 1rem;
    }

    .organiser-feature-image-compact {
        min-height: auto;
    }

    .organiser-feature-title {
        font-size: 2.1rem;
    }

    .organiser-feature-text {
        font-size: 1rem;
    }

    .organiser-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .organiser-showcase-title {
        font-size: 2.2rem;
    }

    .organiser-showcase-text {
        font-size: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .desktop-nav {
        gap: 1rem;
    }

    .desktop-actions {
        gap: 0.75rem;
    }

    .desktop-actions button,
    .navbar-secondary-button {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
        font-size: 0.75rem;
    }
}

.hero-slider {
    min-height: 620px;
}

.hero-slides,
.hero-slider-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.8s ease, transform 6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-slider-overlay {
    z-index: 1;
    background: linear-gradient(90deg, rgba(11, 19, 43, 0.94) 0%, rgba(11, 19, 43, 0.76) 45%, rgba(11, 19, 43, 0.38) 100%);
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3rem;
    }

    .hero-content-grid .md\:w-1\/2 {
        width: auto;
    }
}

.hero-portrait-wrap {
    display: flex;
    justify-content: center;
    align-self: stretch;
    flex: 0 1 22rem;
    width: 22rem;
    max-width: 100%;
    margin-top: 3rem;
}

.hero-flyer {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    aspect-ratio: 2 / 3;
    padding: 1.5rem;
    overflow: hidden;
    color: #ffffff;
    background: #0B132B;
    border: none;
    border-radius: 1px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.hero-flyer::before,
.hero-flyer::after {
    position: absolute;
    content: '';
    width: 9rem;
    height: 9rem;
    transform: rotate(45deg);
}

.hero-flyer::before { top: -5rem; right: -4rem; }
.hero-flyer::after { bottom: -5rem; left: -4rem; }

.hero-flyer-topline,
.hero-flyer-kicker,
.hero-flyer-footer {
    position: relative;
    z-index: 1;
    color: rgb(250, 248, 244);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hero-flyer-topline span { margin: 0 0.3rem; color: #ffffff; }

.hero-flyer-logo {
    position: relative;
    z-index: 1;
    width: 75%;
    max-height: 5rem;
    object-fit: contain;
    object-position: left center;
}

.hero-flyer-rule {
    position: relative;
    z-index: 1;
    width: 3rem;
    height: 0.2rem;
    background: #EBB134;
}

.hero-flyer h2 {
    position: relative;
    z-index: 1;
    margin: 0.5rem 0;
    font-size: clamp(1.5rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: 0.03em;
}

.hero-flyer h2 strong { color: #EBB134; }

.hero-flyer-details {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    line-height: 1.2;
}

.hero-flyer-details span { 
    color: #cbd5e1; 
    font-size: 0.65rem; 
    font-weight: 700; 
    letter-spacing: 0.1em; }

.hero-flyer-footer {
    color: #ffffff;
    font-size: 0.55rem;
}

.hero-portrait-wrap {
    display: flex;
    justify-content: center;
    align-self: stretch;
    width: min(100%, 22rem);
    margin-top: 3rem;
}

.hero-event-flyer {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    border: 1px solid none;
    border-radius: 1.25rem;
    box-shadow: 0 1.25rem 2.8rem rgba(0, 0, 0, 0.42);
}

.connection-section {
    position: relative;
    overflow: hidden;
    background-color: #0b132b;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 36px),
        linear-gradient(45deg, rgba(235, 177, 52, 0.08) 0, rgba(235, 177, 52, 0.08) 1px, transparent 1px, transparent 40px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 32px),
        radial-gradient(circle at 18% 22%, rgba(235, 177, 52, 0.18), transparent 22%),
        radial-gradient(circle at 80% 68%, rgba(30, 196, 160, 0.18), transparent 25%);
    background-size: 100% 100%, 100% 100%, 32px 32px, auto, auto;
    isolation: isolate;
}

.connection-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.8;
    pointer-events: none;
}

.connection-section > * {
    position: relative;
    z-index: 1;
}

.connection-section p {
    text-align: left;
}

.overlay-image-section {
    position: relative;
    min-height: 24rem;
    overflow: hidden;
}

.overlay-image-section-image,
.overlay-image-section-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.overlay-image-section-image {
    object-fit: cover;
    object-position: center;
}

.overlay-image-section-shade {
    background: rgba(11, 19, 43, 0.72);
}

.overlay-image-section-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 24rem;
    flex-direction: column;
    justify-content: center;
}

.closing-cta-section {
    position: relative;
    overflow: hidden;
    background-color: #ff4d00;
}

.closing-cta-section-image,
.closing-cta-section-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.closing-cta-section-image {
    object-fit: cover;
    object-position: center;
    opacity: 0.28;
}

.closing-cta-section-shade {
    background: linear-gradient(rgba(255, 77, 0, 0.7), rgba(11, 19, 43, 0.75));
}

.closing-cta-section-content {
    position: relative;
    z-index: 1;
}

.hero-portrait {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center top;
    border: 1px solid none;
    border-radius: 9999px 9999px 1rem 1rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.hero-slider-controls {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 31rem;
    margin: 1.5rem auto 0;
    padding-right: var(--astaf-content-gutter);
    padding-left: var(--astaf-content-gutter);
    pointer-events: none;
}

.hero-info-wrap > .flex.gap-4:last-child {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-info-wrap > .flex.gap-4:last-child button {
    display: inline-flex;
    width: auto;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    border-radius: 0.35rem;
}

.hero-slider-button,
.hero-slider-dot {
    cursor: pointer;
}

.hero-slider-button {
    position: static;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    color: #0B132B;
    background: #EBB134;
    border-radius: 9999px;
    font-size: 1.2rem;
    line-height: 1;
    pointer-events: auto;
}

.hero-slider-previous {
    left: auto;
}

.hero-slider-next {
    right: auto;
}

.hero-slider-dots {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: auto;
    flex: 1;
}

.hero-slider-dot {
    width: 0.55rem;
    height: 0.55rem;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 9999px;
}

.hero-slider-dot.is-active {
    width: 1.5rem;
    background: #EBB134;
}

@media (max-width: 1023px) {
    .hero-info-wrap {
        text-align: center;
    }

    .hero-info-wrap > .flex.gap-4:last-child {
        justify-content: center;
    }

    .hero-info-wrap > .flex.gap-4:last-child button {
        min-width: 12rem;
        min-height: 2.75rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .hero-portrait-wrap {
        width: min(100%, 26rem);
    }
}

@media (max-width: 767px) {
    .hero-info-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .connection-section > .max-w-7xl {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .connection-section p {
        text-align: left;
    }

    .investment-opportunity-copy {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
    }

    .investment-opportunity-copy > * {
        width: 100%;
    }

    .investment-opportunity-copy a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .hero-content-grid {
        gap: 1rem;
    }

    .hero-slider {
        min-height: 0;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-slider-overlay {
        background: rgba(11, 19, 43, 0.78);
    }

    .hero-slider-controls {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .hero-portrait-wrap {
        flex-basis: 18rem;
        width: min(100%, 18rem);
        margin-top: 3rem;
    }

    .hero-flyer { padding: 1.25rem; }

    .hero-portrait-wrap {
        width: min(100%, 18rem);
        margin-top: 3rem;
        justify-self: center;
    }

    .hero-info-wrap h1 {
        font-size: clamp(2.25rem, 10vw, 3.25rem);
    }

    .hero-info-wrap .flex.gap-4 {
        flex-wrap: wrap;
    }

    .hero-info-wrap > .flex.gap-4:last-child button {
        flex-basis: 13rem;
        min-width: 13rem;
        min-height: 2.75rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-portrait-wrap {
        justify-self: center;
        width: min(100%, 20rem);
    }
}

@media (max-width: 420px) {
    .hero-info-wrap > .flex.gap-4:last-child button,
    main button[type="submit"] {
        width: 100%;
        flex-basis: 100%;
    }

    .hero-slider-button {
        flex: 0 0 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: opacity 0.2s ease;
        transform: none;
    }
}

/* Visual Identity Handlers: 
   Use these classes when slotting in exported PNG/SVG mockups and logos 
*/
.brand-asset {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply; /* Great for removing white backgrounds on mockups */
}

/* Hover effects for interactive cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

button:not(.mobile-menu-toggle):not(.hero-slider-button):not(.hero-slider-dot),
.navbar-secondary-button,
.footer-join-link {
    max-width: 100%;
    min-height: 2.75rem;
    white-space: normal;
    text-align: center;
}

.desktop-actions {
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    white-space: nowrap;
}

.navbar-content {
    gap: 1rem;
}

.desktop-nav {
    align-items: center;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.desktop-nav a,
.desktop-actions a,
.desktop-actions button,
.desktop-actions .navbar-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    text-decoration: none;
}

.desktop-actions a,
.desktop-actions button,
.desktop-actions .navbar-secondary-button {
    flex: 0 0 auto;
    min-height: 2.25rem;
    padding: 0.35rem 0.85rem;
    border-radius: 0.4rem;
    font-size: 0.75rem;
}

.header-action-button {
    border: 0;
    border-radius: 9999px;
    cursor: pointer;
    line-height: 1.2;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    padding: 0 0 1rem;
}

.mobile-menu a {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    color: #ffffff;
    /* text-align: left; */
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

.mobile-menu a:hover {
    color: #EBB134;
}

.mobile-menu-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.mobile-menu-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: auto;
    width: 100%;
    min-height: 3.75rem;
    /* padding: 0.9rem 0.75rem; */
    color: #0B132B;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border-radius: 0.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-menu-cta:hover {
    transform: translateY(-1px);
}



.navbar-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.85rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-secondary-button:hover {
    color: #0B132B;
    background: #ffffff;
}

.mobile-menu .navbar-secondary-button {
    width: auto;
    margin-top: 0.75rem;
    padding: 0.65rem 1rem;
    border-bottom: none;
}

@media (max-width: 767px) {
    .mobile-menu-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
        margin-top: 1.25rem;
    }

    .mobile-menu a.mobile-menu-cta,
    .mobile-menu .navbar-secondary-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        white-space: normal;
    }

    .mobile-menu-cta {
        min-height: 4.1rem;
        padding: 0.8rem 0.9rem;
        border-radius: 1.4rem;
        font-size: 0.82rem;
        letter-spacing: 0;
    }
}

@media (max-width: 1023px) {
    .partners-platform-section > div {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
}

.footer-column a,
.footer-brand a {
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.footer-column a:hover,
.footer-brand a:hover {
    color: #EBB134;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: minmax(15rem, 1.8fr) repeat(3, minmax(8rem, 1fr));
    gap: 2.5rem;
}

.footer-logo {
    display: block;
    width: auto;
    height: 4rem;
    object-fit: contain;
}

.footer-brand {
    max-width: 23rem;
}

.footer-join-link {
    display: inline-flex;
    margin-top: 1.5rem;
    padding: 0.7rem 1.25rem;
    color: #0B132B !important;
    background: #EBB134;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .footer-main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

.footer-column h2 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

.footer-bottom span {
    margin: 0 0.5rem;
}

@media (max-width: 767px) {
    .max-w-7xl,
    main.max-w-4xl {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem 1.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .mobile-menu-toggle,
    .mobile-menu {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .navbar-content {
        gap: 0.5rem;
    }

    .navbar-logo {
        height: 3.5rem;
    }

    .desktop-nav {
        gap: 0.5rem;
        font-size: 0.7rem;
    }

    .desktop-actions {
        flex-wrap: nowrap;
        gap: 0.4rem;
    }

    .desktop-actions button,
    .desktop-actions .navbar-secondary-button {
        min-height: 2.5rem;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
        font-size: 0.68rem;
    }
}

.collaboration-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 76rem;
    margin: 0 auto;
}

.collaboration-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 1.35rem;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.faq-hero {
    position: relative;
    min-height: 31rem;
    margin-top: 5rem;
    overflow: hidden;
    color: #ffffff;
    background: #0b132b url('https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?auto=format&fit=crop&w=2200&q=85') center 42% / cover;
}

.faq-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 19, 43, 0.96) 0%, rgba(11, 19, 43, 0.8) 47%, rgba(11, 19, 43, 0.3) 100%);
}

.faq-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 31rem;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.faq-hero-copy {
    max-width: 47rem;
}

.faq-eyebrow {
    margin: 0 0 1rem;
    color: #ebb134;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.4;
}

.faq-hero h1 {
    margin: 0 0 1.25rem;
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 800;
    line-height: 0.98;
}

.faq-hero-copy > p:last-child {
    max-width: 38rem;
    margin: 0;
    color: #e2e8f0;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    line-height: 1.6;
}

.faq-hero-date {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    gap: 0.55rem;
    min-width: 15rem;
    padding: 1.2rem 1.35rem;
    color: #0b132b;
    background: #ebb134;
    font-size: 1rem;
    font-weight: 800;
}

.faq-hero-date strong { font-size: 1.4rem; }
.faq-hero-date small { grid-column: 1 / -1; margin-top: 0.3rem; font-size: 0.68rem; letter-spacing: 0.08em; }

.faq-content { background: #f8fafc; }

.faq-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.faq-intro h2 {
    margin: 0;
    color: #0b132b;
    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1;
}

.faq-eyebrow-dark { color: #175aaf; }
.faq-intro > p { max-width: 29rem; margin: 0; color: #64748b; font-size: 1.05rem; line-height: 1.65; }

.faq-toolbar {
    display: grid;
    grid-template-columns: minmax(15rem, 1fr) auto;
    gap: 1.5rem 2rem;
    align-items: end;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dbe3ec;
}

.faq-search-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #0b132b;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.faq-search-wrap {
    position: relative;
}

.faq-search-wrap iconify-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    color: #175aaf;
    transform: translateY(-50%);
}

.faq-search-wrap input {
    width: 100%;
    min-height: 3.25rem;
    padding: 0.7rem 1rem 0.7rem 3rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.2rem;
    color: #0b132b;
    background: #ffffff;
}

.faq-search-wrap input::placeholder {
    color: #94a3b8;
}

.faq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.faq-filter {
    min-height: 2.5rem;
    padding: 0.45rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    color: #334155;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.faq-filter:hover,
.faq-filter.is-active {
    border-color: #0b132b;
    color: #ffffff;
    background: #0b132b;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 19rem;
    gap: clamp(2rem, 7vw, 7rem);
    align-items: start;
}

.faq-list {
    min-width: 0;
}

.faq-item {
    border-top: 1px solid #cbd5e1;
}

.faq-item:last-of-type {
    border-bottom: 1px solid #cbd5e1;
}

.faq-item[hidden] {
    display: none;
}

.faq-question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 5.4rem;
    padding: 1rem 0;
    border: 0;
    color: #0b132b;
    background: transparent;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.faq-question-icon {
    position: relative;
    flex: 0 0 1.75rem;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid #175aaf;
    border-radius: 9999px;
}

.faq-question-icon::before,
.faq-question-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.65rem;
    height: 2px;
    background: #175aaf;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.faq-question-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-question-icon {
    border-color: #ebb134;
    background: #ebb134;
}

.faq-question[aria-expanded="true"] .faq-question-icon::before,
.faq-question[aria-expanded="true"] .faq-question-icon::after {
    background: #0b132b;
}

.faq-question[aria-expanded="true"] .faq-question-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
    transition: grid-template-rows 0.25s ease, opacity 0.25s ease;
}

.faq-answer[hidden] {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
}

.faq-answer>div {
    overflow: hidden;
}

.faq-answer p {
    max-width: 45rem;
    margin: -0.25rem 3.5rem 1.5rem 0;
    color: #64748b;
    line-height: 1.75;
}

.faq-answer a,
.faq-empty a {
    color: #175aaf;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.faq-empty {
    margin: 2rem 0;
    color: #64748b;
}

.faq-aside {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    color: #ffffff;
    background: #d64f4f;
}

.faq-aside-number {
    position: absolute;
    top: -1.6rem;
    right: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    font-size: 9rem;
    font-weight: 800;
    line-height: 1;
}

.faq-aside .faq-eyebrow {
    position: relative;
    color: #0b132b;
}

.faq-aside h2 {
    position: relative;
    margin: 0 0 1rem;
    font-size: 1.9rem;
    line-height: 1.1;
}

.faq-aside>p:not(.faq-eyebrow) {
    position: relative;
    margin: 0 0 2rem;
    color: #fff1f2;
    line-height: 1.6;
}

.faq-contact-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0b132b;
    font-weight: 800;
    text-decoration: none;
}

.faq-contact-link:hover {
    color: #ffffff;
}

@media (max-width: 767px) {
    .faq-hero, .faq-hero-inner { min-height: 36rem; }
    .faq-hero-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 5rem; padding-bottom: 2.5rem; text-align: center; }
    .faq-hero-copy { display: flex; flex-direction: column; align-items: center; }
    .faq-hero-date { width: fit-content; margin-top: 3rem; }
    .faq-intro { display: block; margin-bottom: 2.25rem; }
    .faq-intro > p { margin-top: 1rem; }
    .faq-toolbar { display: block; }
    .faq-filters { margin-top: 1rem; }
    .faq-layout { display: block; }
    .faq-aside { margin-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
    .faq-answer, .faq-question-icon::before, .faq-question-icon::after { transition: none; }
}

.collaboration-card-art {
    position: relative;
    height: 14rem;
    overflow: hidden;
    background: linear-gradient(180deg, #d9d9f6 0%, #eeeefb 72%, #fafaff 100%);
}

.collaboration-card-art::before {
    content: "";
    position: absolute;
    inset: -35% -10% 0;
    background: repeating-conic-gradient(from 0deg at 50% 68%, rgba(255, 255, 255, 0.22) 0deg 7deg, transparent 7deg 24deg);
    opacity: 0.6;
}

.collaboration-cloud {
    position: absolute;
    left: 50%;
    bottom: 1.3rem;
    width: 10.5rem;
    height: 4.6rem;
    border: 1px solid rgba(190, 190, 220, 0.8);
    border-radius: 5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f0f0fb 100%);
    box-shadow: 0 8px 16px rgba(112, 112, 166, 0.1);
    transform: translateX(-50%);
}

.collaboration-cloud::before,
.collaboration-cloud::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(190, 190, 220, 0.8);
    border-bottom: 0;
    background: #ffffff;
}

.collaboration-cloud::before {
    left: 1.2rem;
    bottom: 1.8rem;
    width: 7.4rem;
    height: 5rem;
    border-radius: 50% 50% 0 0;
}

.collaboration-cloud::after {
    right: -0.1rem;
    bottom: 1.4rem;
    width: 5.6rem;
    height: 4.2rem;
    border-radius: 55% 55% 0 0;
}

.collaboration-card-content {
    padding: 2rem 1.5rem 2.25rem;
    text-align: center;
}

.collaboration-card h3 {
    margin: 0;
    color: #111827;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
}

.collaboration-card-rule {
    width: 70%;
    height: 1px;
    margin: 1.1rem auto 1.25rem;
    background: #e5e7eb;
}

.collaboration-card p {
    max-width: 19rem;
    margin: 0 auto;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.55;
}

@media (max-width: 767px) {
    .collaboration-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .collaboration-card-grid {
        grid-template-columns: 1fr;
        max-width: 24rem;
    }
}

@media (min-width: 640px) {
    .register-form .register-field:nth-child(3),
    .register-form .register-field:nth-child(4) {
        grid-column: span 1;
    }
}

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

    .registration-visual {
        min-height: 30rem;
    }

    .registration-visual-content {
        min-height: 30rem;
    }

    .registration-panel-inner {
        width: min(100%, 42rem);
    }
}

@media (max-width: 540px) {
    .registration-visual,
    .registration-visual-content {
        min-height: 27rem;
    }

    .registration-visual-content {
        padding: 2rem 1.25rem;
    }

    .registration-visual-footer {
        flex-direction: column;
        gap: 0.35rem;
    }

    .registration-panel-inner {
        padding: 2rem 1.25rem 3rem;
    }

    .registration-back-link {
        margin-bottom: 2.25rem;
    }

    .register-form {
        grid-template-columns: 1fr;
    }

    .register-form .register-field,
    .register-form .register-consent,
    .register-form .register-submit,
    .register-form .register-status,
    .register-form .register-privacy {
        grid-column: 1;
    }
}