@font-face {
    font-family: 'rawson';
    font-style: normal;
    font-weight: 400;
    src: local('Rawson-Regular'), url('Rawson-Regular.otf') format('truetype');
}

@font-face {
    font-family: 'rawson-bold';
    font-style: normal;
    font-weight: 700;
    src: local('Rawson-Pro'), url('RawsonPro-Black (1).otf') format('truetype');
}

:root {
    --cla-yellow: #f9be00;
    --cla-blue: #0093c9;
    --cla-navy: #18324a;
    --cla-slate: #4b6072;
    --cla-ice: #edf5f9;
    --cla-cream: #fff8e2;
    --cla-white: #ffffff;
    --cla-border: rgba(24, 50, 74, 0.12);
    --cla-shadow: 0 24px 60px rgba(17, 42, 63, 0.12);
    --type-title: 48px;
    --type-subtitle: 36px;
    --type-body: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: rawson, Arial, sans-serif;
    font-size: var(--type-body);
    color: var(--cla-navy);
    background:
        radial-gradient(circle at top left, rgba(249, 190, 0, 0.14), transparent 28%),
        linear-gradient(180deg, #fffdf7 0%, #f7fbfd 52%, #ffffff 100%);
}

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

a {
    color: inherit;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(24, 50, 74, 0.08);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    position: relative;
}

.material-nav-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex: 1 1 auto;
    order: 2;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(24, 50, 74, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--cla-navy);
    cursor: pointer;
    order: 4;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: currentColor;
}

.brand-link {
    display: inline-flex;
    order: 1;
}

.brand-logo {
    object-fit: contain;
}

.brand-logo-cla {
    width: 228px;
    height: 65px;
}

.brand-logo-evoting {
    order: 3;
    width: 188px;
    max-width: 40vw;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 48px 0 72px;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.92) 58%, rgba(255, 253, 247, 0.9) 100%);
    opacity: 1;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 32px;
    align-items: stretch;
}

.hero-copy {
    padding: 24px 0;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--cla-blue);
    font-size: var(--type-body);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: rgba(255, 255, 255, 0.76);
}

.hero-copy h1,
.section-heading h2,
.highlight-card h2,
.video-card h2,
.support-card h2 {
    margin: 0;
    font-family: rawson-bold, Arial, sans-serif;
    line-height: 1.03;
}

.hero-copy h1 {
    max-width: 12ch;
    font-size: var(--type-title);
}

.hero-lead {
    max-width: 620px;
    margin: 24px 0 0;
    font-size: var(--type-body);
    line-height: 1.7;
    color: var(--cla-slate);
}

.hero-message {
    margin-top: 28px;
    max-width: 670px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(24, 50, 74, 0.09);
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(17, 42, 63, 0.08);
}

.hero-message-countdown {
    max-width: 760px;
    padding: 30px;
    min-height: 378px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 252, 0.96));
    box-shadow: 0 28px 60px rgba(17, 42, 63, 0.12);
}

.hero-message h2 {
    margin: 0 0 10px;
    font-size: var(--type-subtitle);
    font-family: rawson-bold, Arial, sans-serif;
}

.hero-message p {
    margin: 0;
    color: var(--cla-slate);
    line-height: 1.75;
}

.hero-message a {
    color: var(--cla-blue);
    font-weight: 700;
    text-decoration: none;
}

.countdown-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.countdown-eyebrow {
    margin-bottom: 10px;
    color: var(--cla-blue);
    font-size: var(--type-body);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.countdown-copy h2 {
    margin-bottom: 14px;
    color: var(--cla-navy);
    font-size: var(--type-subtitle);
    line-height: 1.02;
}

.countdown-status {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(0, 147, 201, 0.1);
    color: var(--cla-blue);
    font-size: var(--type-body);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.countdown-reference {
    font-size: var(--type-body);
    color: var(--cla-slate);
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.countdown-item {
    padding: 24px 12px 18px;
    border: 1px solid rgba(24, 50, 74, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 245, 249, 0.92)),
        url('../img/4.jpg') center / cover no-repeat;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 245, 249, 0.88));
}

.countdown-item span {
    position: relative;
    display: block;
    color: var(--cla-navy);
    font-family: rawson-bold, Arial, sans-serif;
    font-size: var(--type-title);
    line-height: 1;
}

.countdown-item small {
    position: relative;
    display: block;
    margin-top: 10px;
    color: var(--cla-slate);
    font-size: var(--type-body);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.countdown-finished {
    margin-top: 18px;
    font-size: var(--type-body);
}

.countdown-finished {
    color: var(--cla-blue);
    font-weight: 700;
}

.hero-link-placeholder {
    width: fit-content;
    margin-top: 18px;
}

.hero-link-placeholder.is-disabled {
    pointer-events: none;
    background: #d7e0e7;
    color: #6e8294;
    box-shadow: none;
}

.hero-link-placeholder.is-disabled:hover {
    transform: none;
    color: #6e8294;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
    max-width: 760px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: var(--type-body);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary-custom {
    background: var(--cla-yellow);
    color: var(--cla-navy);
    box-shadow: 0 16px 30px rgba(249, 190, 0, 0.28);
}

.btn-primary-custom:hover {
    color: var(--cla-navy);
}

.btn-secondary-custom {
    background: var(--cla-white);
    color: var(--cla-navy);
    border: 1px solid rgba(24, 50, 74, 0.12);
}

.btn-outline-custom {
    background: transparent;
    color: var(--cla-white);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-custom:hover {
    color: var(--cla-white);
    background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
    position: relative;
    min-height: 610px;
}

.hero-panel-card {
    position: absolute;
    top: 268px;
    bottom: auto;
    left: 0;
    z-index: 2;
    width: min(300px, 72%);
    min-height: 388px;
    padding: 22px 20px 24px;
    border-radius: 28px;
    background: var(--cla-navy);
    color: var(--cla-white);
    box-shadow: var(--cla-shadow);
}

.panel-kicker {
    display: inline-block;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.74);
    font-size: var(--type-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.panel-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.panel-list li {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.panel-list strong {
    display: block;
    font-size: var(--type-body);
    color: var(--cla-yellow);
}

.panel-list span {
    display: block;
    margin-top: 4px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.hero-panel-image {
    width: min(336px, 84%);
    margin-left: auto;
    margin-right: 16px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 36px;
    box-shadow: var(--cla-shadow);
    height: 100%;
}

.hero-panel-image img {
    width: 100%;
    min-height: 610px;
    height: 100%;
    object-fit: cover;
    object-position: 40% 14%;
}

.info-section,
.documents-section,
.candidates-section,
.howto-section,
.faq-section {
    padding: 28px 0 72px;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading.centered {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 30px;
}

.section-heading h2,
.highlight-card h2,
.video-card h2,
.support-card h2 {
    font-size: var(--type-subtitle);
}

.info-grid,
.documents-grid,
.candidate-list,
.howto-grid,
.faq-grid {
    display: grid;
    gap: 24px;
}

.info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.document-card,
.candidate-item,
.howto-card,
.video-card,
.faq-card {
    border: 1px solid var(--cla-border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 42px rgba(17, 42, 63, 0.06);
}

.info-card {
    padding: 28px;
}

.info-icon,
.document-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border-radius: 18px;
    color: var(--cla-navy);
    background: linear-gradient(135deg, rgba(249, 190, 0, 0.22), rgba(0, 147, 201, 0.16));
    font-size: var(--type-subtitle);
}

.info-card h3,
.document-card h3,
.candidate-item h3,
.howto-card h3,
.howto-support h3 {
    margin: 0 0 12px;
    font-size: var(--type-body);
    font-family: rawson-bold, Arial, sans-serif;
}

.info-card p,
.document-card p,
.highlight-card p,
.support-card p {
    margin: 0;
    color: var(--cla-slate);
    line-height: 1.75;
}

.highlight-section {
    padding: 10px 0 64px;
}

.highlight-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 38px;
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(0, 147, 201, 0.96), rgba(24, 50, 74, 0.98)),
        url('../img/5.jpg') center / cover no-repeat;
    color: var(--cla-white);
    box-shadow: var(--cla-shadow);
}

.highlight-card p {
    color: rgba(255, 255, 255, 0.84);
}

.documents-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.material-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 0;
    color: var(--cla-navy);
    font-size: var(--type-body);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.material-nav-link:hover {
    color: var(--cla-blue);
    opacity: 1;
}

.document-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px;
}

.document-card p {
    margin-bottom: 20px;
}

.document-card a,
.candidate-item a,
.support-links a {
    width: fit-content;
    color: var(--cla-blue);
    font-weight: 700;
    text-decoration: none;
}

.document-card a::after,
.candidate-item a::after,
.support-links a::after {
    content: " →";
}

.candidate-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.candidate-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    min-height: 100%;
    padding: 24px;
}

.candidate-photo {
    width: 100%;
    margin: 0 0 8px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(237, 245, 249, 0.9), rgba(220, 233, 241, 0.9));
}

.candidate-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.candidate-item p {
    margin: 0;
    color: var(--cla-slate);
    line-height: 1.7;
}

.howto-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.howto-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 28px;
}

.howto-card .info-icon {
    margin-bottom: 8px;
}

.howto-step {
    display: inline-block;
    width: fit-content;
    color: var(--cla-blue);
    font-size: var(--type-body);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.howto-card p,
.howto-support p {
    margin: 0;
    color: var(--cla-slate);
    line-height: 1.75;
}

.howto-card p strong {
    font-family: rawson-bold, Arial, sans-serif;
    font-weight: 700;
    color: var(--cla-navy);
}

.faq-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

.candidate-meta {
    font-size: var(--type-body);
    font-weight: 700;
    color: var(--cla-navy);
    font-family: rawson-bold;
}

.candidate-bio {
    font-size: var(--type-body);
}

.candidate-bio[hidden] {
    display: none !important;
}

.candidate-bio-toggle {
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cla-blue);
    font-size: var(--type-body);
    font-weight: 700;
    text-decoration: none;
}

.candidate-bio-toggle::after {
    content: " +";
}

.candidate-bio-toggle[aria-expanded="true"]::after {
    content: " -";
}

.candidate-item a {
    margin-top: auto;
}

.video-card,
.faq-card {
    padding: 28px;
}

.video-wrapper {
    overflow: hidden;
    margin-top: 22px;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(17, 42, 63, 0.12);
}

.video-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 360px;
    border: 0;
}

.accordion-item {
    border: 0;
    border-top: 1px solid rgba(24, 50, 74, 0.08);
    background: transparent;
}

.accordion-item:first-child {
    border-top: 0;
}

.accordion-button {
    padding: 22px 0;
    font-family: rawson-bold, Arial, sans-serif;
    color: var(--cla-navy);
    background: transparent;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--cla-blue);
    background: transparent;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 0 0 24px;
    color: var(--cla-slate);
    line-height: 1.75;
}

.support-section {
    padding: 12px 0 72px;
}

.support-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 38px;
    border-radius: 36px;
    background: linear-gradient(135deg, #16324a 0%, #0d6084 100%);
    color: var(--cla-white);
    box-shadow: var(--cla-shadow);
}

.support-card p {
    color: rgba(255, 255, 255, 0.84);
}

.support-links {
    display: grid;
    gap: 14px;
    justify-items: start;
}

.support-links a {
    color: var(--cla-white);
    font-size: var(--type-body);
}

@media (max-width: 1199px) {
    .documents-grid,
    .candidate-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        padding-top: 24px;
        padding-left: 0;
        min-height: auto;
    }

    .hero-panel-card {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin-bottom: 20px;
    }

    .hero-panel-image {
        margin-left: 0;
    }

    .hero-panel-image img {
        min-height: 420px;
    }

}

@media (max-width: 991px) {
    .topbar-inner {
        padding: 14px 0;
        justify-content: space-between;
    }

    .brand-logo-cla {
        width: 180px;
        height: auto;
    }

    .brand-logo-evoting {
        width: 150px;
    }

    .material-nav-top {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 18px;
        padding-top: 4px;
    }

    .hero-section::before {
        background: linear-gradient(180deg, rgba(255, 253, 247, 0.96) 0%, rgba(255, 253, 247, 0.88) 50%, rgba(255, 253, 247, 0.8) 100%);
        opacity: 1;
    }

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

    .highlight-card,
    .support-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .page-shell {
        width: min(100% - 24px, 1180px);
    }

    .hero-panel {
        display: none;
    }

    .topbar-inner {
        gap: 10px;
        padding: 10px 0;
        flex-wrap: nowrap;
    }

    .brand-link,
    .brand-logo-evoting {
        flex: 0 1 auto;
    }

    .brand-logo-cla {
        width: 128px;
    }

    .brand-logo-evoting {
        width: 118px;
        max-width: none;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        flex: 0 0 auto;
    }

    .hero-section {
        padding: 28px 0 56px;
    }

    .hero-copy h1 {
        max-width: none;
        font-size: var(--type-title);
    }

    .hero-message,
    .info-card,
    .document-card,
    .candidate-item,
    .howto-card,
    .video-card,
    .faq-card,
    .highlight-card,
    .support-card {
        border-radius: 24px;
    }

    .documents-grid,
    .candidate-list,
    .howto-grid {
        grid-template-columns: 1fr;
    }

    .material-nav-top {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        border: 1px solid rgba(24, 50, 74, 0.08);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 34px rgba(17, 42, 63, 0.12);
        scrollbar-width: none;
    }

    .material-nav-top.is-open {
        display: flex;
    }

    .material-nav-link {
        justify-content: flex-start;
        padding: 12px 14px;
        border-radius: 12px;
        font-size: var(--type-body);
    }

    .candidate-photo {
        aspect-ratio: 16 / 14;
    }

    .candidate-photo-mobile-contain img {
        object-fit: contain;
        object-position: center center;
        background: linear-gradient(180deg, rgba(247, 249, 251, 1), rgba(239, 244, 247, 1));
    }

    .hero-grid {
        gap: 20px;
    }

    .hero-copy {
        padding: 8px 0 0;
    }

    .hero-message-countdown {
        max-width: none;
        padding: 22px 18px;
    }

    .countdown-copy h2 {
        font-size: var(--type-subtitle);
        line-height: 1.02;
    }

    .countdown-reference {
        font-size: var(--type-body);
        line-height: 1.5;
    }

    .countdown-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        margin-top: 20px;
    }

    .hero-panel-image img,
    .video-wrapper iframe {
        min-height: 280px;
    }

    .countdown-item {
        padding: 14px 6px 12px;
        border-radius: 18px;
    }

    .countdown-item span {
        font-size: var(--type-subtitle);
    }

    .countdown-item small {
        margin-top: 7px;
        font-size: var(--type-body);
        letter-spacing: 0.06em;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 20px;
    }

    .hero-actions .btn {
        min-height: 48px;
        padding: 0 18px;
        font-size: var(--type-body);
    }

    .howto-card {
        padding: 22px;
    }
}

@media (max-width: 420px) {
    .hero-message-countdown {
        padding: 20px 16px;
    }

    .countdown-copy h2 {
        font-size: var(--type-subtitle);
    }

    .countdown-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .countdown-item {
        padding: 12px 4px 10px;
    }

    .countdown-item span {
        font-size: var(--type-subtitle);
    }

    .countdown-item small {
        font-size: var(--type-body);
    }
}
