/* =========================================================
   RoboFest 2026 — Central Website Theme
   One shared stylesheet for every page.
   Theme: Swarm Robotics | Bridging Gaps, Empowering Equality
   ========================================================= */

:root {
    --rf-magenta: #b92370;
    --rf-magenta-dark: #8f1655;
    --rf-yellow: #ffda20;
    --rf-blue: #3498e9;
    --rf-white: #ffffff;
    --rf-ink: #2a2440;
    --rf-muted: #6f6878;
    --rf-surface: #fff9fc;
    --rf-surface-2: #f7edf3;
    --rf-border: rgba(185, 35, 112, 0.16);
    --rf-shadow: 0 18px 45px rgba(73, 24, 54, 0.12);
    --rf-radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--rf-ink);
    background: var(--rf-surface);
    text-align: center;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

/* =========================================================
   Shared navigation
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(143, 22, 85, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(70, 15, 48, 0.18);
}

.navbar-inner {
    width: min(1320px, calc(100% - 28px));
    min-height: 66px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.navbar-brand {
    flex: 0 0 auto;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -0.5px;
    font-size: 1.08rem;
    color: var(--rf-white);
}

.navbar-brand span {
    color: var(--rf-yellow);
}

.navbar-scroll {
    flex: 1 1 auto;
    overflow-x: auto;
    scrollbar-width: none;
}

.navbar-scroll::-webkit-scrollbar {
    display: none;
}

.navbar-list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    width: max-content;
    min-width: 100%;
    margin: 0;
    padding: 0;
}

.navbar-list li {
    margin: 0;
}

.navbar-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--rf-white);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.navbar-link:hover,
.navbar-link:focus-visible,
.navbar-link[aria-current="page"] {
    background: var(--rf-yellow);
    color: var(--rf-magenta-dark);
    outline: none;
    transform: translateY(-1px);
}

/* =========================================================
   Shared page header
   ========================================================= */

.site-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 360px;
    padding: 78px 20px 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--rf-white);
    background: var(--rf-magenta);
}

.site-header::before,
.home-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 64px solid var(--rf-yellow);
    border-radius: 50%;
    top: -340px;
    right: -205px;
    z-index: -1;
}

.site-header::after,
.home-hero::after {
    content: "";
    position: absolute;
    width: 235px;
    height: 235px;
    border-radius: 50%;
    left: -90px;
    bottom: -95px;
    background: linear-gradient(135deg, var(--rf-blue), var(--rf-yellow));
    z-index: -1;
}

.text-section {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.text-section h1 {
    margin: 0;
    font-size: clamp(2.9rem, 7vw, 5.4rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -3px;
    text-transform: uppercase;
    color: var(--rf-yellow);
}

.text-section h1 .year {
    color: var(--rf-white);
}

.text-section .theme-line {
    margin: 10px 0 2px;
    color: var(--rf-blue);
    font-size: clamp(1.7rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -1.5px;
}

.text-section .tagline {
    margin: 12px 0 0;
    color: var(--rf-white);
    font-size: clamp(1rem, 2vw, 1.45rem);
    line-height: 1.45;
}

.meet-strip {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.meet-strip h2 {
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 800;
    color: var(--rf-white);
}

/* =========================================================
   Home hero: first screen / welcome flash card
   ========================================================= */

.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: calc(100vh - 66px);
    padding: 72px 22px 56px;
    display: grid;
    place-items: center;
    background: var(--rf-magenta);
    color: var(--rf-white);
}

.home-hero .hero-content {
    position: relative;
    z-index: 2;
    width: min(940px, 100%);
    padding: clamp(34px, 5vw, 64px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(91, 14, 57, 0.26);
    backdrop-filter: blur(10px);
}

.home-hero .eyebrow {
    margin: 0 0 14px;
    color: var(--rf-white);
    font-size: clamp(0.9rem, 1.7vw, 1.1rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-hero h1 {
    margin: 0;
    font-size: clamp(3.4rem, 9vw, 7.8rem);
    line-height: 0.88;
    letter-spacing: -5px;
    text-transform: uppercase;
    font-weight: 900;
}

.home-hero .welcome-line {
    display: block;
    color: var(--rf-white);
    font-size: 0.42em;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.home-hero .robofest-word {
    color: var(--rf-yellow);
}

.home-hero .year-word {
    color: var(--rf-white);
}

.home-hero .home-theme {
    margin: 20px 0 0;
    color: var(--rf-blue);
    font-size: clamp(1.8rem, 5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.home-hero .home-tagline {
    margin: 12px auto 0;
    max-width: 720px;
    color: var(--rf-white);
    font-size: clamp(1.05rem, 2.5vw, 1.7rem);
    line-height: 1.5;
}

.scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--rf-yellow);
    color: var(--rf-magenta-dark);
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(70, 15, 48, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scroll-cue:hover {
    transform: translateY(3px);
    box-shadow: 0 8px 20px rgba(70, 15, 48, 0.18);
}

.scroll-cue .arrow {
    font-size: 1.25rem;
}

/* =========================================================
   Home explore cards
   ========================================================= */

.explore-section {
    padding: 78px 20px 92px;
    background: linear-gradient(180deg, var(--rf-surface) 0%, var(--rf-surface-2) 100%);
}

.section-heading {
    width: min(820px, 100%);
    margin: 0 auto 42px;
}

.section-kicker {
    margin: 0 0 8px;
    color: var(--rf-blue);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    color: var(--rf-magenta);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -2px;
}

.section-heading p {
    margin: 16px auto 0;
    color: var(--rf-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 22px;
}

.card {
    position: relative;
    min-height: 235px;
    padding: 28px 24px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    overflow: hidden;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    background: var(--rf-white);
    color: var(--rf-ink);
    text-align: left;
    text-decoration: none;
    box-shadow: var(--rf-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.card::before {
    content: attr(data-number);
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgba(185, 35, 112, 0.08);
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 900;
}

.card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, var(--rf-yellow), var(--rf-blue), var(--rf-magenta));
}

.card .card-label {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--rf-surface-2);
    color: var(--rf-magenta);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: var(--rf-magenta);
    font-size: 1.65rem;
    line-height: 1.1;
}

.card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--rf-muted);
    line-height: 1.58;
}

.card:hover,
.card:focus-visible {
    transform: translateY(-8px);
    background: var(--rf-magenta);
    box-shadow: 0 26px 54px rgba(91, 14, 57, 0.22);
    outline: none;
}

.card:hover::before,
.card:focus-visible::before {
    color: rgba(255, 255, 255, 0.10);
}

.card:hover h2,
.card:focus-visible h2 {
    color: var(--rf-yellow);
}

.card:hover p,
.card:focus-visible p {
    color: var(--rf-white);
}

.card:hover .card-label,
.card:focus-visible .card-label {
    background: var(--rf-yellow);
    color: var(--rf-magenta-dark);
}

/* =========================================================
   Shared section/card styles for content pages
   ========================================================= */

.founders,
.school-container,
.taskforce-container,
.team-block {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.founders {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin-top: 54px;
    margin-bottom: 34px;
}

.profile {
    width: min(320px, 100%);
    padding: 22px;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    background: var(--rf-white);
    box-shadow: var(--rf-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(73, 24, 54, 0.16);
}

.profile > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
}

.profile h3 {
    margin: 16px 0 6px;
    color: var(--rf-magenta);
    font-size: 1.45rem;
}

.profile > p {
    margin: 0;
    color: var(--rf-blue);
    font-weight: 800;
}

.socials {
    margin: 12px 0 4px;
}

.socials a {
    display: inline-block;
    margin: 4px 5px;
    color: var(--rf-magenta);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
}

.socials a:hover {
    color: var(--rf-blue);
}

.team-block {
    margin-top: 34px;
    margin-bottom: 34px;
    padding: 34px 26px;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    background: var(--rf-white);
    box-shadow: var(--rf-shadow);
}

.team-block > h2 {
    margin: 0 0 28px;
    color: var(--rf-magenta);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.team-block > h2:not(:first-child) {
    margin-top: 46px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.member {
    width: 230px;
    padding: 18px;
    border: 1px solid var(--rf-border);
    border-radius: 16px;
    background: var(--rf-surface);
    box-shadow: 0 8px 22px rgba(73, 24, 54, 0.07);
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.member:hover {
    transform: translateY(-5px);
    background: var(--rf-white);
    box-shadow: 0 16px 34px rgba(73, 24, 54, 0.13);
}

.member img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.member h4 {
    margin: 12px 0 5px;
    color: var(--rf-magenta);
    font-size: 1.08rem;
}

.member p {
    margin: 3px 0;
    color: var(--rf-muted);
    line-height: 1.55;
}

.profile .member {
    width: 100%;
    margin-top: 14px;
    padding: 10px;
}

.profile .member p {
    color: var(--rf-magenta);
    font-weight: 800;
}

.domain-section {
    margin-top: 30px;
}

.domain-section h3 {
    margin: 0 0 16px;
    color: var(--rf-blue);
    font-size: 1.55rem;
}

/* =========================================================
   Ambassadors page
   ========================================================= */

.school-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin-top: 48px;
    margin-bottom: 56px;
}

.school-block {
    width: 320px;
    padding: 22px;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    background: var(--rf-white);
    box-shadow: var(--rf-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.school-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(73, 24, 54, 0.16);
}

.school-block h2 {
    margin: 0 0 18px;
    color: var(--rf-magenta);
    font-size: 1.35rem;
}

.school-block > p {
    margin: 7px 0;
    color: var(--rf-muted);
    line-height: 1.5;
}

.school-block > img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 14px;
    background: var(--rf-white);
    border: 2px solid var(--rf-border);
    margin-bottom: 12px;
}

.ambassador-container {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.ambassador {
    width: 126px;
    padding: 8px;
    border-radius: 14px;
    background: var(--rf-surface-2);
}

.ambassador img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
}

.ambassador h3 {
    margin: 8px 0 2px;
    color: var(--rf-ink);
    font-size: 0.9rem;
}

.school-name {
    color: var(--rf-muted);
    font-weight: 800;
}

/* =========================================================
   Volunteers / taskforce page
   ========================================================= */

.taskforce-container {
    margin-top: 48px;
    margin-bottom: 56px;
}

.taskforce-category {
    width: 100%;
    margin-bottom: 28px;
    padding: 30px 18px;
    border-radius: var(--rf-radius);
    background: var(--rf-magenta);
    color: var(--rf-white);
    box-shadow: var(--rf-shadow);
}

.taskforce-category > h3 {
    margin: 0 0 20px;
    color: var(--rf-yellow);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.taskforce-block {
    width: 280px;
    margin: 12px;
    display: inline-block;
    vertical-align: top;
}

.taskforce-card {
    min-height: 100%;
    padding: 20px;
    border-radius: 18px;
    background: var(--rf-white);
    color: var(--rf-ink);
    box-shadow: 0 10px 24px rgba(73, 24, 54, 0.16);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.taskforce-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(73, 24, 54, 0.22);
}

.taskforce-card img {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 16px;
    border: 4px solid var(--rf-yellow);
}

.taskforce-card h3 {
    margin: 12px 0 7px;
    color: var(--rf-magenta);
    font-size: 1.25rem;
}

.taskforce-card p {
    margin: 5px 0;
    color: var(--rf-muted);
    line-height: 1.45;
}

/* =========================================================
   Leaderboard page refinements
   ========================================================= */

body.page-leaderboard .school-container {
    margin-top: 48px;
    margin-bottom: 32px;
}

body.page-leaderboard .school-block:nth-child(1) {
    border-top: 7px solid var(--rf-yellow);
}

body.page-leaderboard .school-block:nth-child(2) {
    border-top: 7px solid var(--rf-blue);
}

body.page-leaderboard .school-block:nth-child(3) {
    border-top: 7px solid var(--rf-magenta);
}

body.page-leaderboard .member {
    width: min(310px, 100%);
}

/* =========================================================
   Shared footer
   ========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 56px;
    padding: 42px 20px 34px;
    background: var(--rf-magenta-dark);
    color: var(--rf-white);
}

.site-footer::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 32px solid var(--rf-yellow);
    border-radius: 50%;
    right: -120px;
    top: -130px;
    opacity: 0.9;
}

.footer-inner {
    position: relative;
    z-index: 1;
    width: min(1050px, 100%);
    margin: 0 auto;
}

.footer-title {
    margin: 0;
    color: var(--rf-yellow);
    font-size: 1.5rem;
    font-weight: 900;
}

.footer-theme {
    margin: 7px 0 0;
    color: var(--rf-blue);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-tagline,
.footer-copy {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

.footer-copy {
    margin-top: 18px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.68);
}

/* ========================================
   COLLABORATORS PAGE
======================================== */

.page-collaborators .collaborator-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 280px;
}


.page-collaborators .collaborator-member img {
    width: 180px;
    height: 140px;

    object-fit: contain;

    padding: 15px;

    background: #ffffff;

    border-radius: 10px;
}


.page-collaborators .collaborator-member h4 {
    margin-top: 18px;
}


.page-collaborators .collaborator-member p {
    margin-top: 5px;
}

/* ========================================
   LEADERBOARD PAGE
======================================== */


/* Overall top-three podium */

.page-leaderboard .leaderboard-podium {

    width: min(1100px, calc(100% - 40px));

    margin: 40px auto 60px;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;

    align-items: stretch;
}


.page-leaderboard .podium-card {

    position: relative;

    padding: 30px 22px;

    background: #ffffff;

    border-radius: 18px;

    text-align: center;

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, 0.10);

    overflow: hidden;
}


.page-leaderboard .podium-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 7px;
}


.page-leaderboard .first-place::before {

    background: #ffda20;
}


.page-leaderboard .second-place::before {

    background: #aeb6c4;
}


.page-leaderboard .third-place::before {

    background: #cd7f32;
}


.page-leaderboard .podium-position {

    width: 62px;

    height: 62px;

    margin:
        0 auto
        18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    font-size: 1.25rem;

    font-weight: 900;

    color: #11142f;
}


.page-leaderboard .first-place .podium-position {

    background: #ffda20;
}


.page-leaderboard .second-place .podium-position {

    background: #d8dde5;
}


.page-leaderboard .third-place .podium-position {

    background: #d89a59;
}


.page-leaderboard .podium-logo-wrap {

    width: 160px;

    height: 160px;

    margin:
        0 auto
        20px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f8f8fb;

    border-radius: 14px;
}


.page-leaderboard .podium-logo-wrap img {

    width: 130px;

    height: 130px;

    object-fit: contain;
}


.page-leaderboard .podium-card h2 {

    margin:
        0 0
        8px;

    color: #11142f;

    font-size: 1.6rem;
}


.page-leaderboard .podium-card h3 {

    margin:
        0 0
        5px;

    color: #b92370;

    font-size: 1.25rem;
}


.page-leaderboard .podium-card p {

    margin:
        0 0
        18px;

    color: #687086;
}


.page-leaderboard .points-box {

    padding: 12px;

    background: #f5f6fa;

    border-radius: 10px;

    color: #444;

    font-size: 0.95rem;
}


.page-leaderboard .points-box strong {

    color: #b92370;
}


/* ========================================
   RESULT CATEGORY
======================================== */

.page-leaderboard .result-category {

    margin-top: 50px;
}


.page-leaderboard .result-category-title {

    margin:
        0 0
        25px;

    color: #b92370;

    font-size: 1.7rem;

    text-align: center;
}


/* Competition grid */

.page-leaderboard .competition-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: 25px;
}


/* Individual competition card */

.page-leaderboard .competition-card {

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 6px 18px
        rgba(0, 0, 0, 0.09);

    overflow: hidden;
}


.page-leaderboard .competition-header {

    padding:
        22px 24px;

    background: #11142f;

    text-align: left;
}


.page-leaderboard .competition-category {

    display: block;

    margin-bottom: 6px;

    color: #ffda20;

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.page-leaderboard .competition-header h4 {

    margin: 0;

    color: #ffffff;

    font-size: 1.35rem;
}


/* ========================================
   1ST, 2ND AND 3RD PLACE ROWS
======================================== */

.page-leaderboard .placement-list {

    padding: 18px;
}


.page-leaderboard .placement-row {

    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 14px;

    padding: 18px;

    border-radius: 12px;

    text-align: left;
}


.page-leaderboard .placement-row:last-child {

    margin-bottom: 0;
}


/* First place */

.page-leaderboard .placement-first {

    background:
        rgba(255, 218, 32, 0.16);

    border-left:
        5px solid #ffda20;
}


/* Second place */

.page-leaderboard .placement-second {

    background:
        rgba(174, 182, 196, 0.17);

    border-left:
        5px solid #aeb6c4;
}


/* Third place */

.page-leaderboard .placement-third {

    background:
        rgba(205, 127, 50, 0.13);

    border-left:
        5px solid #cd7f32;
}


/* Placement badge */

.page-leaderboard .placement-medal {

    width: 50px;

    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #11142f;

    color: #ffffff;

    font-weight: 900;
}


.page-leaderboard .placement-first
.placement-medal {

    background: #ffda20;

    color: #11142f;
}


.page-leaderboard .placement-second
.placement-medal {

    background: #aeb6c4;

    color: #11142f;
}


.page-leaderboard .placement-third
.placement-medal {

    background: #cd7f32;

    color: #ffffff;
}


/* Placement details */

.page-leaderboard .placement-details {

    flex: 1;
}


.page-leaderboard .placement-details strong {

    display: block;

    margin-bottom: 7px;

    color: #11142f;

    font-size: 1rem;
}


.page-leaderboard .placement-details p {

    margin:
        3px 0;

    color: #687086;

    font-size: 0.9rem;

    line-height: 1.45;
}


.page-leaderboard .placement-details span {

    color: #b92370;

    font-weight: 700;
}

/* ========================================
   HIGHLIGHTS PAGE
======================================== */

.page-highlights .highlight-template-card {

    width: min(850px, 100%);

    display: grid;

    grid-template-columns: 280px 1fr;

    gap: 25px;

    align-items: stretch;

    padding: 22px;

    text-align: left;
}


/* ========================================
   HIGHLIGHT IMAGE
======================================== */

.page-highlights .highlight-image-wrap {

    width: 100%;

    min-height: 260px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background: #f7f8fc;

    border-radius: 12px;
}


.page-highlights .highlight-image-wrap img {

    width: 100%;

    height: 100%;

    min-height: 260px;

    object-fit: cover;

    border-radius: 12px;
}


/* ========================================
   HIGHLIGHT CONTENT
======================================== */

.page-highlights .highlight-template-content {

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.page-highlights .highlight-type {

    display: inline-block;

    width: fit-content;

    margin-bottom: 10px;

    padding: 6px 10px;

    border-radius: 50px;

    background: #ffda20;

    color: #11142f;

    font-size: 0.72rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.page-highlights .highlight-template-content h4 {

    margin: 0 0 12px;

    color: #11142f;

    font-size: 1.7rem;
}


.page-highlights .highlight-description {

    margin: 0 0 18px;

    color: #687086;

    font-size: 0.95rem;

    line-height: 1.7;

    font-weight: normal;
}


/* ========================================
   EVENT DETAILS
======================================== */

.page-highlights .highlight-details {

    padding: 15px;

    background: #f7f8fc;

    border-radius: 10px;

    border-left: 4px solid #b92370;
}


.page-highlights .highlight-details p {

    margin: 5px 0;

    color: #555;

    font-size: 0.9rem;

    font-weight: normal;
}


.page-highlights .highlight-details strong {

    color: #b92370;
}


/* ========================================
   MOBILE RESPONSIVE
======================================== */

@media (max-width: 700px) {

    .page-highlights .highlight-template-card {

        grid-template-columns: 1fr;

        width: 100%;
    }


    .page-highlights .highlight-image-wrap {

        min-height: 220px;
    }


    .page-highlights .highlight-image-wrap img {

        min-height: 220px;
    }

}

/* ========================================
   MOBILE RESPONSIVE
======================================== */

@media (max-width: 850px) {

    .page-leaderboard .leaderboard-podium {

        grid-template-columns: 1fr;

        max-width: 520px;
    }

}


@media (max-width: 500px) {

    .page-leaderboard .competition-grid {

        grid-template-columns: 1fr;
    }


    .page-leaderboard .placement-row {

        align-items: flex-start;

        padding: 15px;

        gap: 12px;
    }


    .page-leaderboard .placement-medal {

        width: 44px;

        height: 44px;
    }

}

/* =========================================================
   Responsive design
   ========================================================= */

@media (max-width: 920px) {
    .navbar-inner {
        width: 100%;
        padding: 0 14px;
        gap: 12px;
    }

    .navbar-list {
        justify-content: flex-start;
    }

    .navbar-brand {
        font-size: 0.98rem;
    }

    .text-section h1 {
        letter-spacing: -2px;
    }

    .home-hero h1 {
        letter-spacing: -3px;
    }
}

@media (max-width: 700px) {
    .site-header {
        min-height: 330px;
        padding-top: 62px;
    }

    .site-header::before,
    .home-hero::before {
        width: 330px;
        height: 330px;
        border-width: 42px;
        top: -220px;
        right: -145px;
    }

    .site-header::after,
    .home-hero::after {
        width: 155px;
        height: 155px;
        left: -70px;
        bottom: -55px;
    }

    .home-hero {
        min-height: calc(100vh - 66px);
        padding: 46px 16px 38px;
    }

    .home-hero .hero-content {
        border-radius: 24px;
    }

    .home-hero h1 {
        letter-spacing: -2px;
    }

    .grid {
        grid-template-columns: 1fr;
        width: min(520px, 100%);
    }

    .card {
        min-height: 205px;
    }

    .founders,
    .school-container,
    .taskforce-container,
    .team-block {
        width: min(100% - 22px, 1180px);
    }

    .team-block {
        padding: 26px 14px;
    }

    .member,
    body.page-leaderboard .member {
        width: min(100%, 360px);
    }

    .school-block {
        width: min(100%, 390px);
    }

    .taskforce-block {
        width: min(100% - 14px, 360px);
        margin: 8px;
    }
}

@media (max-width: 430px) {
    .navbar-brand {
        display: none;
    }

    .navbar-inner {
        padding: 0 8px;
    }

    .navbar-link {
        padding: 0 10px;
        font-size: 0.86rem;
    }

    .home-hero .hero-content {
        padding: 30px 18px;
    }

    .home-hero h1 {
        font-size: 3.25rem;
    }

    .ambassador-container {
        gap: 8px;
    }

    .ambassador {
        width: calc(50% - 4px);
    }

    .ambassador img {
        width: 100%;
        height: 110px;
    }
}