* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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;
}

.conference-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%);
}

.conference-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.6;
    background:
        linear-gradient(90deg, #03142f 0%, #03142fdb 35%, transparent 72%),
        repeating-linear-gradient(120deg, transparent 0 28px, #6adfff12 29px 30px);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    right: -3%;
    bottom: -20%;
    width: 62%;
    height: 135%;
    border-radius: 50%;
    opacity: 0.4;
    background:
        radial-gradient(circle at 52% 38%, #69dcff 0 1%, transparent 2%),
        radial-gradient(circle at 67% 49%, #1686dc 0 3%, transparent 4%),
        radial-gradient(circle at 34% 53%, #0b72bc 0 2%, transparent 3%),
        linear-gradient(135deg, #061a40, #167fca 52%, #031633);
    box-shadow: inset 0 0 100px #55dfff55;
}

.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(38px, 5vw, 62px);
    line-height: 0.98;
    letter-spacing: -1.5px;
}

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

.hero-description {
    max-width: 440px;
    margin: 0;
    color: #d9eafa;
    font-size: 14px;
    line-height: 1.4;
}

.conference-listing {
    padding: 18px 0 26px;
    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;
}

.card-image {
    position: relative;
    height: 128px;
    overflow: hidden;
}

.card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background: repeating-linear-gradient(125deg, transparent 0 17px, #ffffff44 18px 20px);
}

.nursing-image {
    background: linear-gradient(125deg, #ffe8f1 0%, #f8b8c9 44%, #8cb9c7 100%);
}

.nanorise-image {
    background:
        radial-gradient(circle at 30% 48%, #ffad4e 0 2%, transparent 3%),
        radial-gradient(circle at 52% 40%, #fd63bc 0 2%, transparent 3%),
        linear-gradient(135deg, #0c174c, #5c178d 52%, #091d53);
}

.ai-image {
    background:
        radial-gradient(circle at 66% 44%, #9bdeff 0 2%, transparent 3%),
        radial-gradient(circle at 68% 44%, #208ed1 0 17%, transparent 18%),
        linear-gradient(135deg, #04183a, #083d86 52%, #0aa8df);
}

.healthcare-image {
    background:
        radial-gradient(circle at 72% 38%, #ffffff99 0 7%, transparent 8%),
        linear-gradient(135deg, #90d7f3, #eef8f7 54%, #71a7c1);
}

.life-science-image {
    background:
        radial-gradient(circle at 62% 38%, #f7d4a0 0 5%, transparent 6%),
        linear-gradient(135deg, #9cc4e7, #f0e1cc 48%, #5784ae);
}

.sustainable-image {
    background:
        radial-gradient(ellipse at 75% 75%, #b5dd83 0 18%, transparent 19%),
        linear-gradient(160deg, #d6effb 0%, #91ceec 42%, #669b67 43%, #bbdd8f 100%);
}

.date-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 1;
    display: flex;
    width: 49px;
    min-height: 57px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #ffffff;
    line-height: 1;
}

.date-badge strong {
    font-size: 10px;
}

.date-badge b {
    margin: 3px 0;
    font-size: 15px;
}

.date-badge span {
    font-size: 10px;
}

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

.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: 27px;
    margin: 0 0 8px;
    color: #6a7b92;
    font-size: 9px;
    line-height: 1.25;
}

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

.summary {
    min-height: 40px;
    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;
}

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

.register {
    color: #ffffff;
}

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

.pink-outline {
    color: #ee0879;
}

.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;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 112px;
}

.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;
    }

    .hero-content h1 {
        font-size: 43px;
    }

    .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) {
    .conference-hero,
    .hero-content {
        min-height: 390px;
    }

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

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

    .card-image {
        height: 160px;
    }
}

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

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

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

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

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

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

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

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

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