* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #14264a;
    background: #eef5fb;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    color: #ffffff;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 17px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: inherit;
    font-size: 10px;
    line-height: 1.05;
    letter-spacing: 0.08em;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 22px;
}

.main-nav {
    display: flex;
    gap: 19px;
    margin-left: auto;
    font-size: 11px;
}

.main-nav a {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: #45d2fa;
    border-bottom-color: #45d2fa;
}

.search-icon {
    padding: 0;
    border: 0;
    color: #ffffff;
    background: transparent;
    font-size: 23px;
    cursor: pointer;
}

.past-hero {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 43%, #1c9fe7 0, #07528d 18%, transparent 45%),
        linear-gradient(105deg, #03142f 0%, #06295b 50%, #061a42 100%);
}

.hero-scene {
    position: absolute;
    top: 0;
    right: 0;
    width: 59%;
    height: 100%;
    opacity: 0.72;
    background:
        radial-gradient(circle at 69% 25%, #a9f2ff 0 2%, transparent 3%),
        radial-gradient(circle at 67% 36%, #379fe3 0 18%, transparent 19%),
        radial-gradient(circle at 77% 54%, #07579c 0 29%, transparent 30%),
        linear-gradient(145deg, transparent 0 41%, #0d6db9 42% 45%, transparent 46%),
        linear-gradient(145deg, #061a3f, #138fd2 53%, #031735);
}

.hero-scene::before {
    content: "";
    position: absolute;
    right: 5%;
    bottom: 0;
    width: 45%;
    height: 89%;
    background: linear-gradient(145deg, transparent 0 30%, #101925 31% 100%);
    clip-path: polygon(42% 0, 63% 8%, 79% 29%, 100% 100%, 0 100%, 27% 42%);
}

.hero-scene::after {
    content: "";
    position: absolute;
    right: 23%;
    bottom: 0;
    width: 65%;
    height: 25%;
    opacity: 0.8;
    background: repeating-linear-gradient(90deg, #071426 0 12px, #204b72 13px 17px);
    clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #03142f 0%, #03142fdf 34%, #03142f44 72%, #03142f11 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 310px;
    flex-direction: column;
    justify-content: center;
    padding-top: 32px;
}

.eyebrow {
    margin: 0;
    color: #5ed8fb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.eyebrow.blue {
    color: #167dd8;
}

.hero-content h1 {
    margin: 10px 0 12px;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 0.97;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    color: #16a9f1;
}

.hero-content p:not(.eyebrow) {
    max-width: 455px;
    margin: 0;
    color: #d9eafa;
    font-size: 14px;
    line-height: 1.4;
}

.conference-section {
    padding: 18px 0 27px;
    background: #eef5fb;
}

.breadcrumb {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 12px;
    color: #6d8098;
    font-size: 10px;
}

.breadcrumb a {
    color: #087bea;
}

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

.section-heading h2 {
    margin: 5px 0 0;
    font-size: 24px;
}

.filters {
    display: grid;
    grid-template-columns: 1.5fr 0.82fr 0.82fr 0.82fr 0.56fr;
    gap: 10px;
    margin-bottom: 16px;
}

.filters label,
.search-field {
    position: relative;
    display: flex;
}

.filters input,
.filters select {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #d9e4ef;
    border-radius: 5px;
    outline: none;
    color: #465b76;
    background: #ffffff;
    font-size: 11px;
}

.search-field input {
    padding-right: 35px;
}

.search-field > span {
    position: absolute;
    top: 7px;
    right: 12px;
    color: #14264a;
    font-size: 20px;
}

.filter-button {
    min-height: 38px;
    border: 0;
    border-radius: 5px;
    color: #ffffff;
    background: #087bea;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.conference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.conference-card {
    overflow: hidden;
    border: 1px solid #dae5ef;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 4px 14px #183b6b12;
}

.conference-image {
    position: relative;
    height: 110px;
    overflow: hidden;
}

.conference-image::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background: repeating-linear-gradient(125deg, transparent 0 15px, #ffffff30 16px 18px);
}

.conference-image::after {
    content: "";
    position: absolute;
    right: 7%;
    bottom: 0;
    width: 52%;
    height: 66%;
    background: linear-gradient(145deg, transparent 0 25%, #1b3152 26% 100%);
    clip-path: polygon(15% 30%, 35% 6%, 48% 28%, 67% 0, 100% 100%, 0 100%);
    opacity: 0.85;
}

.singapore-image {
    background: linear-gradient(155deg, #f2a36f, #f7d38d 44%, #5d9dc6 45%, #133762);
}

.dubai-image {
    background: linear-gradient(155deg, #fd8155, #ffca8e 42%, #566d9f 43%, #1b2b6c);
}

.new-york-image {
    background: linear-gradient(155deg, #80b6e7, #f4ca98 46%, #4394c9 47%, #183d72);
}

.london-image {
    background: linear-gradient(155deg, #d7a06c, #bad4dd 45%, #3c7da9 46%, #172f5a);
}

.virtual-image {
    background: radial-gradient(circle at 70% 35%, #62d9f7 0 15%, transparent 16%), linear-gradient(140deg, #0e2a6e, #147ebc 50%, #17184e);
}

.tokyo-image {
    background: linear-gradient(155deg, #ffc0a0, #a9c7d8 48%, #405d96 49%, #17264f);
}

.berlin-image {
    background: linear-gradient(155deg, #72bde4, #d3d2b4 46%, #4886ae 47%, #1a3e68);
}

.san-francisco-image {
    background: linear-gradient(155deg, #86c5e7, #e89d76 44%, #aa5147 45%, #283b75);
}

.sydney-image {
    background: linear-gradient(155deg, #e38d4f, #d9b287 44%, #5394bf 45%, #1d3965);
}

.year-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 1;
    display: grid;
    min-width: 49px;
    min-height: 30px;
    place-items: center;
    padding: 0 8px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.pink-badge,
.pink-button {
    background: #ec0878;
}

.purple-badge,
.purple-button {
    background: #681ee7;
}

.blue-badge,
.blue-button {
    background: #087bea;
}

.green-badge,
.green-button {
    background: #04935b;
}

.orange-badge,
.orange-button {
    background: #f45b0b;
}

.violet-badge,
.violet-button {
    background: #6b16e5;
}

.card-content {
    padding: 10px;
}

.card-content h3 {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.15;
}

.subtitle {
    min-height: 25px;
    margin: 0 0 7px;
    color: #6a7b92;
    font-size: 9px;
    line-height: 1.25;
}

.event-meta {
    margin: 4px 0;
    color: #526987;
    font-size: 9px;
}

.summary {
    min-height: 39px;
    margin: 8px 0;
    color: #63758d;
    font-size: 9px;
    line-height: 1.35;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.highlights,
.details {
    display: flex;
    min-height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
}

.highlights {
    color: #ffffff;
}

.details {
    border: 1px solid currentColor;
    background: #ffffff;
}

.pink-outline {
    color: #ec0878;
}

.purple-outline {
    color: #681ee7;
}

.blue-outline {
    color: #087bea;
}

.green-outline {
    color: #04935b;
}

.orange-outline {
    color: #f45b0b;
}

.violet-outline {
    color: #6b16e5;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
}

.pagination a,
.pagination span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 4px;
    color: #586d87;
    background: #ffffff;
    font-size: 10px;
}

.pagination a.current,
.pagination a:hover {
    color: #ffffff;
    background: #087bea;
}

.community-banner {
    color: #ffffff;
    background:
        radial-gradient(circle at 76% 50%, #1164a855, transparent 34%),
        linear-gradient(105deg, #031936, #063e80);
}

.community-content {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.community-content h2 {
    margin: 5px 0;
    font-size: 23px;
}

.community-content p:not(.eyebrow) {
    max-width: 600px;
    margin: 0;
    color: #c8daf0;
    font-size: 11px;
    line-height: 1.4;
}

.banner-button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 22px;
    border-radius: 5px;
    color: #ffffff;
    background: #087bea;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.site-footer {
    padding: 27px 0 35px;
    color: #ffffff;
    background: #031634;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.8fr 1.5fr;
    gap: 35px;
}

.footer-intro p {
    color: #9db2d1;
    font-size: 10px;
}

.footer-intro small {
    color: #8ca2c1;
    font-size: 9px;
}

.footer-grid h4 {
    margin: 0 0 10px;
    font-size: 11px;
}

.footer-grid > div:not(:first-child) a {
    display: block;
    margin: 6px 0;
    color: #afc1da;
    font-size: 10px;
}

.social-icons {
    color: #ffffff;
    font-size: 17px !important;
}

.subscribe-form {
    display: flex;
}

.subscribe-form input {
    width: 130px;
    padding: 8px;
    border: 0;
    font-size: 9px;
}

.subscribe-form button {
    padding: 0 9px;
    border: 0;
    color: #ffffff;
    background: #087bea;
    font-size: 9px;
    cursor: pointer;
}

@media (max-width: 850px) {
    .main-nav {
        display: none;
    }

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

    .filter-button {
        grid-column: span 2;
    }

    .conference-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .community-content {
        display: block;
        padding: 24px 0;
    }

    .banner-button {
        margin-top: 15px;
    }

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

@media (max-width: 560px) {
    .past-hero,
    .hero-content {
        min-height: 390px;
    }

    .filters,
    .conference-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .filter-button {
        grid-column: auto;
    }

    .conference-image {
        height: 145px;
    }
}

/* =========================================
   PAST CONFERENCES BANNER
   Matches the About page banner
========================================= */

.past-hero {
    min-height: 430px;
}

.past-hero .hero-content {
    min-height: 430px;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.past-hero .hero-content h1 {
    margin-top: 12px;
    margin-bottom: 14px;
}

.past-hero .hero-content .eyebrow {
    margin-bottom: 0;
}

/* Tablet */
@media (max-width: 850px) {
    .past-hero {
        min-height: 430px;
    }

    .past-hero .hero-content {
        min-height: 430px;
        padding-top: 80px;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .past-hero {
        min-height: 510px;
    }

    .past-hero .hero-content {
        min-height: 510px;
        padding-top: 105px;
    }
}