/**
 * Public Site Styles
 */

:root {
    --theme-color: #0d6efd;
    --theme-ink: #10233f;
    --theme-muted: #5b6b7c;
    --surface: #f4f7fb;
    --surface-card: #ffffff;
    --font-display: "Syne", "Segoe UI", sans-serif;
    --font-body: "Figtree", "Segoe UI", sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-soft: 0 10px 30px rgba(16, 35, 63, 0.08);
}

body {
    font-family: var(--font-body);
    color: var(--theme-ink);
    background: #fff;
}

body.site-public {
    background:
        radial-gradient(ellipse at 12% 0%, color-mix(in srgb, var(--theme-color) 8%, #fff) 0%, transparent 42%),
        #fff;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body.site-public main {
    flex: 1 0 auto;
}

body.site-public .public-footer {
    flex-shrink: 0;
    margin-top: auto;
}

h1, h2, h3, h4, h5, .navbar-brand, .hero-brand, .section-title, .card-title, .feature-title, .page-hero-title {
    font-family: var(--font-display);
}

/* Navbar */
.public-navbar {
    background: color-mix(in srgb, var(--theme-color) 92%, #001833) !important;
    padding: 0.85rem 0;
    backdrop-filter: blur(8px);
    transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.public-navbar .btn-warning {
    font-weight: 600;
    white-space: nowrap;
}

.public-navbar .cloak-exit-item {
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.public-navbar .navbar-brand {
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.public-navbar .nav-link {
    font-weight: 500;
    opacity: 0.92;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.public-navbar .nav-link:hover {
    opacity: 1;
}

/* Public header: solid by default so short pages (signup, login, dashboard) always show a header */
body.site-public {
    --nav-height: 4.25rem;
}

body.site-public .public-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: color-mix(in srgb, var(--theme-color) 92%, #001833) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(8, 24, 48, 0.12);
}

/* Overlay transparent nav only on pages with a full-bleed hero */
body.site-public:has(main .home-hero) .public-navbar,
body.site-public:has(main .page-hero) .public-navbar,
body.site-public:has(main .event-banner) .public-navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: transparent !important;
    backdrop-filter: none;
    box-shadow: none;
}

body.site-public .public-navbar.is-scrolled,
body.site-public:has(main .home-hero) .public-navbar.is-scrolled,
body.site-public:has(main .page-hero) .public-navbar.is-scrolled,
body.site-public:has(main .event-banner) .public-navbar.is-scrolled {
    position: fixed;
    background: color-mix(in srgb, var(--theme-color) 78%, #001833 22%) !important;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(8, 24, 48, 0.18);
}

/* Mobile menu: solid panel so links stay readable over hero */
@media (max-width: 991.98px) {
    body.site-public .public-navbar.is-menu-open,
    body.site-public .public-navbar:has(.navbar-collapse.show),
    body.site-public .public-navbar:has(.navbar-collapse.collapsing) {
        background: color-mix(in srgb, var(--theme-color) 88%, #001833 12%) !important;
        backdrop-filter: blur(12px);
        box-shadow: 0 10px 28px rgba(8, 24, 48, 0.28);
    }

    body.site-public .public-navbar .navbar-collapse {
        background: color-mix(in srgb, var(--theme-color) 94%, #001018 6%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 0.85rem;
        margin-top: 0.65rem;
        padding: 0.65rem 0.85rem 0.9rem;
        box-shadow: 0 12px 28px rgba(8, 24, 48, 0.28);
    }

    body.site-public .public-navbar .navbar-nav {
        gap: 0.15rem;
    }

    body.site-public .public-navbar .nav-link {
        opacity: 1;
        color: #fff !important;
        padding: 0.7rem 0.85rem;
        border-radius: 0.55rem;
    }

    body.site-public .public-navbar .nav-link:hover,
    body.site-public .public-navbar .nav-link:focus {
        background: rgba(255, 255, 255, 0.12);
    }

    body.site-public .public-navbar .navbar-powered-by {
        padding: 0.55rem 0.85rem 0.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        margin-top: 0.35rem !important;
    }
}

body.site-public .home-hero,
body.site-public .page-hero,
body.site-public .event-banner {
    padding-top: calc(var(--nav-height) + 1.75rem);
}

body.site-public .page-hero--compact {
    padding-top: calc(var(--nav-height) + 1.25rem);
}

/* Hero */
.hero-section {
    background: linear-gradient(145deg, var(--theme-color) 0%, color-mix(in srgb, var(--theme-color) 55%, #0a2540) 100%);
    color: #fff;
    padding: 4rem 0;
}

.home-hero {
    position: relative;
    box-sizing: border-box;
    height: 100svh;
    height: 100dvh;
    min-height: 100svh;
    min-height: 100dvh;
    max-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 5.5rem 0 4.5rem;
}

.home-hero > .container {
    width: 100%;
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 72% 48%, #000 12%, transparent 78%);
    opacity: 0.55;
    animation: gridDrift 28s linear infinite;
}

.hero-pattern {
    position: absolute;
    inset: 0;
}

.hero-pattern-dots {
    background-image: radial-gradient(rgba(255, 255, 255, 0.38) 1.35px, transparent 1.35px);
    background-size: 20px 20px;
    mask-image: radial-gradient(ellipse at 78% 42%, #000 18%, transparent 72%);
    opacity: 0.7;
    animation: patternDrift 22s linear infinite;
}

.hero-pattern-lines {
    background:
        repeating-linear-gradient(
            -28deg,
            transparent 0,
            transparent 14px,
            rgba(255, 255, 255, 0.07) 14px,
            rgba(255, 255, 255, 0.07) 15px
        );
    mask-image: radial-gradient(ellipse at 70% 60%, #000 12%, transparent 70%);
    animation: patternDrift 36s linear infinite reverse;
}

.hero-pattern-beam {
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(255, 255, 255, 0.12) 48%,
        transparent 62%
    );
    transform: translateX(-30%);
    animation: beamSweep 9s var(--ease-out) infinite;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.35;
    animation: orbFloat 14s var(--ease-out) infinite alternate;
}

.hero-orb-1 {
    width: 28rem;
    height: 28rem;
    top: -8rem;
    right: -6rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 70%);
}

.hero-orb-2 {
    width: 18rem;
    height: 18rem;
    bottom: -4rem;
    left: -3rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 70%);
    animation-delay: -4s;
    animation-duration: 18s;
}

.hero-orb-3 {
    width: 12rem;
    height: 12rem;
    top: 35%;
    left: 48%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
    animation-delay: -8s;
    animation-duration: 12s;
}

.hero-ring {
    position: absolute;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    animation: ringPulse 7s var(--ease-out) infinite;
}

.hero-ring-1 {
    width: 12rem;
    height: 12rem;
    top: 18%;
    right: 18%;
}

.hero-ring-2 {
    width: 18rem;
    height: 18rem;
    top: 12%;
    right: 12%;
    animation-delay: 1.4s;
    opacity: 0.7;
}

.hero-ring-3 {
    width: 8rem;
    height: 8rem;
    bottom: 22%;
    right: 32%;
    animation-delay: 2.8s;
}

.hero-mark {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    animation: markFloat 8s var(--ease-out) infinite alternate;
    user-select: none;
}

.hero-mark-1 { top: 22%; left: 42%; font-size: 1.4rem; }
.hero-mark-2 { top: 58%; left: 56%; font-size: 1.1rem; animation-delay: -2s; }
.hero-mark-3 { top: 34%; right: 8%; font-size: 1.6rem; animation-delay: -3.5s; }
.hero-mark-4 { bottom: 28%; left: 38%; font-size: 2rem; animation-delay: -1s; }
.hero-mark-5 { top: 16%; left: 62%; font-size: 1.8rem; animation-delay: -4s; }

@keyframes orbFloat {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(18px, -24px, 0) scale(1.08); }
}

@keyframes gridDrift {
    from { background-position: 0 0; }
    to { background-position: 48px 48px; }
}

@keyframes patternDrift {
    from { background-position: 0 0; }
    to { background-position: 88px 44px; }
}

@keyframes beamSweep {
    0%, 18% { transform: translateX(-40%); opacity: 0; }
    35% { opacity: 0.85; }
    55% { transform: translateX(40%); opacity: 0; }
    100% { transform: translateX(40%); opacity: 0; }
}

@keyframes ringPulse {
    0% { transform: scale(0.86); opacity: 0; }
    30% { opacity: 0.55; }
    100% { transform: scale(1.25); opacity: 0; }
}

@keyframes markFloat {
    from { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.25; }
    to { transform: translate3d(8px, -14px, 0) rotate(12deg); opacity: 0.5; }
}

.home-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .home-hero-layout.has-gallery {
        grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
        gap: 2rem;
    }
}

.home-hero-content {
    max-width: 40rem;
    position: relative;
    z-index: 1;
}

.hero-brand {
    font-size: clamp(2.4rem, 5.5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.02;
    margin: 0 0 1.15rem;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.kinetic-word-group {
    display: inline-block;
    white-space: nowrap;
}

.hero-title {
    font-size: clamp(1.25rem, 2.5vw, 1.85rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.03em;
    margin-bottom: 0.95rem;
    max-width: 20ch;
    color: rgba(255, 255, 255, 0.96);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 36ch;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-hero-primary,
.btn-hero-secondary {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.8rem 1.35rem;
    transition: transform 0.25s var(--ease-out), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-hero-primary {
    background: #fff;
    color: var(--theme-ink);
    border: 1px solid #fff;
}

.btn-hero-primary:hover {
    background: #f3f6fa;
    color: var(--theme-ink);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

/* Hero Metro tileboard (flat Windows Phone / airport flip tiles) */
.hero-tileboard {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(4.75rem, 1fr);
    gap: 0.45rem;
    width: 100%;
    max-width: 28rem;
    margin-left: auto;
    aspect-ratio: 1.05 / 1;
    perspective: 1200px;
}

.hero-tile {
    position: relative;
    min-height: 0;
    border-radius: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    transform-style: preserve-3d;
}

.hero-tile--lg {
    grid-column: span 2;
    grid-row: span 2;
}

.hero-tile--wide {
    grid-column: span 2;
}

.hero-tile--tall {
    grid-row: span 2;
}

.hero-tile--sq {
    grid-column: span 1;
    grid-row: span 1;
}

.hero-tile-flipper {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.4, 0.05, 0.2, 1);
}

.hero-tile.is-flipped .hero-tile-flipper {
    transform: rotateX(-180deg);
}

.hero-tile-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: #f4f8fc;
}

.hero-tile-face.is-back {
    transform: rotateX(180deg);
}

.hero-tile-face.is-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(160deg, #ffffff 0%, #e8f1fb 100%);
}

.hero-tile-icon {
    color: color-mix(in srgb, var(--theme-color) 88%, #0a2540);
    line-height: 1;
    font-size: var(--icon-size, 2rem);
    opacity: 0.92;
    filter: drop-shadow(0 6px 14px rgba(16, 35, 63, 0.12));
}

.hero-tile--sq { --icon-size: clamp(1.35rem, 3.6vw, 1.9rem); }
.hero-tile--wide { --icon-size: clamp(1.7rem, 4.2vw, 2.45rem); }
.hero-tile--tall { --icon-size: clamp(1.6rem, 4vw, 2.3rem); }
.hero-tile--lg { --icon-size: clamp(2.5rem, 6vw, 3.75rem); }

.hero-tile-face.is-tip {
    background:
        linear-gradient(155deg, color-mix(in srgb, var(--theme-color) 82%, #041830) 0%, color-mix(in srgb, var(--theme-color) 45%, #062844) 100%);
    color: #fff;
}

.hero-tile-face.is-icon .hero-tile-tip {
    display: none;
}

.hero-tile-face.is-tip .hero-tile-icon {
    display: none;
}

.hero-tile-face.is-tip .hero-tile-tip {
    display: flex;
}

.hero-tile-tip {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25em;
    padding: clamp(0.35rem, 8%, 0.85rem);
    overflow: hidden;
}

.hero-tile-tip-label {
    display: inline-block;
    font-size: 0.55em;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.78;
    line-height: 1.1;
}

.hero-tile-tip-text {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    overflow: hidden;
}

/* Base tip type scales with tile size */
.hero-tile--sq {
    --tip-size: clamp(0.52rem, 1.35vw, 0.68rem);
}

.hero-tile--wide {
    --tip-size: clamp(0.62rem, 1.45vw, 0.86rem);
}

.hero-tile--tall {
    --tip-size: clamp(0.58rem, 1.4vw, 0.8rem);
}

.hero-tile--lg {
    --tip-size: clamp(0.78rem, 1.7vw, 1.12rem);
}

.hero-tile-tip {
    font-size: var(--tip-size, 0.75rem);
}

.hero-tile--sq .hero-tile-tip-label { font-size: 0.5em; }
.hero-tile--lg .hero-tile-tip-label { font-size: 0.48em; }

/* Soft sheen like live tiles */
.hero-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 42%);
    z-index: 2;
}

.hero-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    z-index: 2;
}

.hero-scroll-hint span {
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.8);
    animation: scrollPulse 1.8s var(--ease-out) infinite;
}

@keyframes scrollPulse {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* Kinetic typography */
.kinetic-letter,
.kinetic-word {
    display: inline-block;
    will-change: transform, opacity;
}

html.js-motion .hero-brand[data-kinetic="letters"] .kinetic-letter {
    opacity: 0;
    transform: translateY(0.65em) rotate(6deg);
    transition:
        opacity 0.55s var(--ease-out),
        transform 0.7s var(--ease-out);
    transition-delay: calc(var(--reveal-delay, 0ms) + var(--i, 0) * 28ms);
}

html.js-motion .hero-brand[data-kinetic="letters"].is-visible .kinetic-letter {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

html.js-motion .hero-brand[data-kinetic="letters"].is-visible .kinetic-letter:nth-child(odd) {
    animation: letterSettle 2.8s var(--ease-out) calc(var(--reveal-delay, 0ms) + 0.9s + var(--i, 0) * 18ms) infinite alternate;
}

@keyframes letterSettle {
    from { transform: translateY(0); }
    to { transform: translateY(-3px); }
}

html.js-motion [data-kinetic="words"] .kinetic-word {
    opacity: 0;
    transform: translateY(1.1em);
    filter: blur(4px);
    transition:
        opacity 0.65s var(--ease-out),
        transform 0.75s var(--ease-out),
        filter 0.75s var(--ease-out);
    transition-delay: calc(var(--reveal-delay, 0ms) + var(--i, 0) * 70ms);
}

html.js-motion [data-kinetic="words"].is-visible .kinetic-word,
html.js-motion .is-visible [data-kinetic="words"] .kinetic-word {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.kinetic-space {
    display: inline-block;
    width: 0.28em;
}

.min-vh-75 { min-height: 75vh; }

/* Sections */
.home-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.section-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.section-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.55;
}

.section-pattern-dots {
    background-image: radial-gradient(rgba(16, 35, 63, 0.08) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 70%);
    animation: patternDrift 30s linear infinite;
}

.section-pattern-grid {
    background-image:
        linear-gradient(rgba(16, 35, 63, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 35, 63, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse at 20% 80%, #000 0%, transparent 70%);
    animation: gridDrift 40s linear infinite;
}

.events-section-muted {
    background:
        linear-gradient(180deg, #eef3f9 0%, var(--surface) 100%);
}

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

.section-header-center {
    justify-content: center;
    text-align: center;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--theme-color);
    margin: 0 0 0.4rem;
}

.section-title {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0;
    color: var(--theme-ink);
}

.section-link {
    font-weight: 600;
    text-decoration: none;
    color: var(--theme-color);
    white-space: nowrap;
    transition: transform 0.2s var(--ease-out), opacity 0.2s ease;
}

.section-link:hover {
    transform: translateX(3px);
    color: var(--theme-color);
}

.section-link-muted {
    color: var(--theme-muted);
}

.section-link-muted:hover {
    color: var(--theme-ink);
}

/* Event Cards */
.event-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    border: 1px solid rgba(16, 35, 63, 0.06);
    height: 100%;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(16, 35, 63, 0.12);
}

.event-card-image {
    height: 190px;
    overflow: hidden;
    background: #eef2f7;
    position: relative;
    flex-shrink: 0;
}

.event-card-image img,
.event-card-image .card-img-top {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.5s var(--ease-out);
}

.event-card:hover .event-card-image:not(.event-card-carousel) img {
    transform: scale(1.04);
}

.event-card-image-logo {
    background: linear-gradient(145deg, #f7f9fc, #eef2f7);
    padding: 1.25rem;
    box-sizing: border-box;
}

.event-card-image-logo img {
    object-fit: contain;
}

.event-card-carousel-track {
    display: flex;
    width: 200%;
    height: 100%;
    will-change: transform;
    animation: eventCardSlide 7.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.event-card-carousel:hover .event-card-carousel-track {
    animation-play-state: paused;
}

.event-card-carousel-slide {
    width: 50%;
    height: 100%;
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    box-sizing: border-box;
}

.event-card-carousel-slide.is-thumbnail {
    padding: 0;
    background: #eef2f7;
}

.event-card-carousel-slide.is-logo {
    background: linear-gradient(145deg, #f7f9fc, #e8eef6);
}

.event-card-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none !important;
}

.event-card-carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.55rem;
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    pointer-events: none;
    z-index: 2;
}

.event-card-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(16, 35, 63, 0.28);
    animation: eventCardDot 7.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.event-card-carousel-dot:nth-child(2) {
    animation-delay: -3.75s;
}

@keyframes eventCardSlide {
    0%,
    42% {
        transform: translate3d(0, 0, 0);
    }
    50%,
    92% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes eventCardDot {
    0%,
    42% {
        background: var(--theme-color);
        transform: scale(1.15);
    }
    50%,
    92% {
        background: rgba(16, 35, 63, 0.28);
        transform: scale(1);
    }
    100% {
        background: var(--theme-color);
        transform: scale(1.15);
    }
}

.event-card-placeholder {
    background: linear-gradient(145deg, #e8eef6, #d9e2ee);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    color: #9aabbd;
}

.event-card .card-body {
    flex: 1 1 auto;
    padding: 1.3rem 1.4rem 0.9rem;
}

.event-card .card-body::after {
    content: "";
    display: table;
    clear: both;
}

.event-card .card-title {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.7rem;
    padding-right: 3.5rem;
    color: var(--theme-ink);
    letter-spacing: -0.02em;
}

.event-card .card-text {
    margin-bottom: 0.4rem;
    line-height: 1.45;
    color: var(--theme-muted);
}

.event-card .card-text:last-child {
    margin-bottom: 0;
}

.event-card .card-footer {
    padding: 0.9rem 1.4rem 1.3rem;
    margin-top: auto;
}

.event-card .card-footer .btn {
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s var(--ease-out), background-color 0.2s ease;
}

.event-card .card-footer .btn:hover {
    transform: translateY(-1px);
}

.event-card-organiser {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 1.75rem;
}

.event-card-organiser-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(16, 35, 63, 0.08);
    flex-shrink: 0;
}

.event-card-organiser-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--theme-muted);
    line-height: 1.2;
}

.event-flyer-image {
    width: 100%;
    max-height: 640px;
    object-fit: contain;
    background: #f4f7fb;
    border: 1px solid rgba(16, 35, 63, 0.08);
}

.event-flyer-link {
    display: block;
}

.event-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    background: var(--theme-color);
    color: #fff;
    border-radius: 10px;
    padding: 0.45rem 0.7rem;
    font-size: 0.75rem;
    float: right;
    margin: 0 0 0.75rem 0.75rem;
}

.event-date-badge .day { font-size: 1.25rem; font-weight: 700; line-height: 1; font-family: var(--font-display); }
.event-date-badge .month { text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }

/* Event Detail */
.event-banner {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    display: flex;
    align-items: flex-end;
    padding-bottom: 3rem;
    color: #fff;
}

.event-banner-overlay h1 { font-size: 2.5rem; font-weight: 700; }

/* Countdown */
.countdown-box {
    background: linear-gradient(135deg, var(--theme-color), color-mix(in srgb, var(--theme-color) 50%, #0a2540));
    color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.countdown-item span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-item small {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Registration Form */
.registration-form-card {
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.registration-organiser {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--theme-color) 6%, #fff);
    border: 1px solid color-mix(in srgb, var(--theme-color) 12%, #e8eef5);
}

.registration-organiser-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(16, 35, 63, 0.08);
    flex-shrink: 0;
    padding: 0.2rem;
}

.registration-organiser-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.registration-organiser-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--theme-muted);
}

.registration-organiser-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--theme-ink, #10233f);
    line-height: 1.25;
    word-break: break-word;
}

@media (max-width: 575.98px) {
    .registration-organiser {
        align-items: flex-start;
    }

    .registration-organiser-logo {
        width: 48px;
        height: 48px;
    }
}

/* Features */
.features-section {
    background: #fff;
}

.feature-box {
    height: 100%;
    padding: 1.75rem 1.35rem;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid rgba(16, 35, 63, 0.05);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--theme-color) 14%, #fff);
    color: var(--theme-color);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.feature-text {
    margin: 0;
    color: var(--theme-muted);
    line-height: 1.55;
}

/* Footer — soft blend matching homepage */
.public-footer {
    background:
        linear-gradient(180deg, #ffffff 0%, #eef3f9 42%, color-mix(in srgb, var(--theme-color) 18%, #e8eef6) 100%);
    color: var(--theme-muted);
    padding: 2.25rem 0 1.75rem;
    margin-top: 0;
    border-top: 0;
}

.public-footer-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.35rem;
    border-radius: 0.85rem;
    background: color-mix(in srgb, #fff 82%, var(--theme-color) 18%);
    border: 1px solid color-mix(in srgb, var(--theme-color) 22%, #d9e2ec);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.public-footer-contact-label {
    font-weight: 600;
    color: var(--theme-ink);
    font-size: 1rem;
}

.public-footer-contact-text {
    color: var(--theme-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.public-footer-contact-btn {
    flex-shrink: 0;
    padding: 0.55rem 1.15rem;
    font-weight: 600;
    border-radius: 999px;
    color: #fff !important;
    background: var(--theme-color);
    border: 1px solid color-mix(in srgb, var(--theme-color) 70%, #0a2540);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--theme-color) 28%, transparent);
}

.public-footer-contact-btn:hover,
.public-footer-contact-btn:focus {
    color: #fff !important;
    background: color-mix(in srgb, var(--theme-color) 82%, #0a2540);
    border-color: color-mix(in srgb, var(--theme-color) 60%, #0a2540);
}

.public-footer-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.65rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.4;
}

.public-footer-copy {
    margin: 0;
}

.public-footer-sep {
    opacity: 0.45;
}

.public-footer a:not(.btn) {
    color: color-mix(in srgb, var(--theme-color) 70%, var(--theme-ink));
    text-decoration: none;
}

.public-footer a:not(.btn):hover {
    color: var(--theme-ink);
}

.public-footer .powered-by {
    color: var(--theme-muted);
    font-size: inherit;
    opacity: 1;
}

.public-footer .powered-by a:hover {
    color: var(--theme-ink);
}

@media (max-width: 575.98px) {
    .public-footer-contact {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .public-footer-contact-btn {
        width: 100%;
    }
}

.powered-by {
    font-size: 0.8125rem;
    opacity: 0.9;
}

.powered-by a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.powered-by a:hover {
    text-decoration: underline;
}

.public-navbar .powered-by {
    color: rgba(255, 255, 255, 0.85);
}

.public-navbar .powered-by a {
    color: #fff;
}

/* Speaker Avatar */
.speaker-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #adb5bd;
}

/* Success / verify icons */
.success-icon,
.verify-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--theme-color) 12%, #fff);
    color: var(--theme-color);
    font-size: 2.4rem;
    animation: scaleIn 0.5s ease;
}

.success-icon {
    color: #198754;
    background: color-mix(in srgb, #198754 12%, #fff);
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Page Hero — shared with homepage language */
.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, var(--theme-color) 0%, color-mix(in srgb, var(--theme-color) 55%, #0a2540) 100%);
    padding: 3.5rem 0 3rem;
}

.page-hero--compact {
    padding: 2.75rem 0 2.35rem;
}

.page-hero-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.page-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 75%);
    opacity: 0.5;
    animation: gridDrift 32s linear infinite;
}

.page-hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.3) 1.1px, transparent 1.1px);
    background-size: 18px 18px;
    mask-image: radial-gradient(ellipse at 20% 60%, #000 5%, transparent 70%);
    opacity: 0.55;
    animation: patternDrift 26s linear infinite;
}

.page-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.28;
    animation: orbFloat 14s var(--ease-out) infinite alternate;
}

.page-hero-orb-1 {
    width: 16rem;
    height: 16rem;
    top: -5rem;
    right: -3rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 70%);
}

.page-hero-orb-2 {
    width: 10rem;
    height: 10rem;
    bottom: -3rem;
    left: 20%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 70%);
    animation-delay: -4s;
}

.page-hero-eyebrow {
    color: rgba(255, 255, 255, 0.78) !important;
}

.page-hero-title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 0 0 0.65rem;
    color: #fff;
}

.page-hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.55;
    opacity: 0.9;
    margin: 0;
    max-width: 40rem;
    font-weight: 500;
}

.page-hero-filters .form-control,
.page-hero-filters .form-select {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(8, 24, 48, 0.14);
    font-weight: 500;
}

.page-hero-filters .btn-hero-primary {
    box-shadow: 0 10px 28px rgba(8, 24, 48, 0.16);
}

.page-hero-breadcrumb .breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.35rem;
}

.page-hero-breadcrumb .breadcrumb-item,
.page-hero-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.page-hero-breadcrumb .breadcrumb-item.active {
    color: #fff;
}

.page-hero-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.page-hero .event-share-label {
    color: rgba(255, 255, 255, 0.75);
}

/* Content panels (cards aligned with homepage) */
.site-public .card,
.content-panel {
    border: 0;
    border-radius: 16px;
    background: var(--surface-card);
    box-shadow: var(--shadow-soft);
}

.site-public .card .card-body h4,
.content-panel .card-body h4,
.content-panel .card-body h5 {
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.site-public .form-control,
.site-public .form-select {
    border-radius: 10px;
    border-color: rgba(16, 35, 63, 0.12);
    padding: 0.65rem 0.85rem;
}

.site-public .form-control:focus,
.site-public .form-select:focus {
    border-color: color-mix(in srgb, var(--theme-color) 55%, #fff);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--theme-color) 18%, transparent);
}

.site-public .btn-primary {
    border-radius: 10px;
    font-weight: 600;
    border: 0;
    background: var(--theme-color);
}

.site-public .btn-outline-primary,
.site-public .btn-outline-secondary,
.site-public .btn-outline-info {
    border-radius: 10px;
    font-weight: 600;
}

.page-content-section {
    background: linear-gradient(180deg, #f7f9fc 0%, #fff 55%);
}

.empty-state {
    max-width: 26rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.empty-state i {
    font-size: 3rem;
    color: color-mix(in srgb, var(--theme-color) 55%, #8aa0b8);
    margin-bottom: 1rem;
    display: block;
}

.empty-state h3 {
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.public-pagination .page-link {
    border: 0;
    border-radius: 10px !important;
    margin: 0 0.2rem;
    color: var(--theme-ink);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.public-pagination .page-item.active .page-link {
    background: var(--theme-color);
    color: #fff;
}

.site-public .accordion-item {
    border: 1px solid rgba(16, 35, 63, 0.08);
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 0.65rem;
    background: #fff;
}

.site-public .accordion-button {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: none !important;
}

.site-public .accordion-button:not(.collapsed) {
    background: color-mix(in srgb, var(--theme-color) 8%, #fff);
    color: var(--theme-ink);
}

.event-banner-overlay .page-hero-eyebrow {
    margin-bottom: 0.5rem;
}

/* Legacy page header kept as fallback */
.page-header-section {
    border-bottom: 0;
}

/* Rich text content (event descriptions, terms, etc.) */
.rich-content,
.event-description {
    line-height: 1.7;
    color: var(--theme-ink);
}

.rich-content p,
.event-description p {
    margin-bottom: 1rem;
}

.rich-content p:last-child,
.event-description p:last-child,
.rich-content ul:last-child,
.event-description ul:last-child {
    margin-bottom: 0;
}

.rich-content h4,
.rich-content h5,
.event-description h4,
.event-description h5 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.rich-content ul,
.rich-content ol,
.event-description ul,
.event-description ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.rich-content strong,
.event-description strong {
    font-weight: 600;
}

/* Motion: load + scroll reveals (opt-in when JS adds .js-motion) */
html.js-motion .reveal-on-load,
html.js-motion .reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.7s var(--ease-out),
        transform 0.7s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

html.js-motion .reveal-on-load.is-visible,
html.js-motion .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-tileboard {
        max-width: 100%;
        aspect-ratio: 1.35 / 1;
        margin-top: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        height: auto;
        max-height: none;
        min-height: 100svh;
        min-height: 100dvh;
        padding: 3.5rem 0 3.25rem;
    }

    body.site-public .home-hero,
    body.site-public .page-hero,
    body.site-public .event-banner {
        padding-top: calc(var(--nav-height) + 1.25rem);
    }

    body.site-public .page-hero--compact {
        padding-top: calc(var(--nav-height) + 0.85rem);
    }

    .hero-title { max-width: none; }
    .hero-subtitle { max-width: none; }
    .hero-scroll-hint { display: none; }
    .hero-ring,
    .hero-mark { display: none; }
    .hero-tileboard {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: minmax(3.5rem, 1fr);
        gap: 0.35rem;
        aspect-ratio: 1.5 / 1;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .event-banner { height: 250px; }
    .event-banner-overlay h1 { font-size: 1.75rem; }
    .countdown-timer { gap: 0.75rem; }
    .countdown-item span { font-size: 1.5rem; }

    /* Avoid sticky sidebar fighting first-screen content on phones */
    .event-sidebar.sticky-top {
        position: static !important;
        top: auto !important;
    }
}

@media (max-width: 575.98px) {
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-brand {
        font-size: clamp(2.2rem, 11vw, 2.8rem);
    }

    .hero-tileboard {
        grid-auto-rows: minmax(3rem, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-orb,
    .hero-grid,
    .hero-pattern,
    .hero-ring,
    .hero-mark,
    .hero-tile-flipper,
    .hero-scroll-hint span,
    .section-pattern,
    .event-card,
    .event-card-image img,
    .event-card-carousel-track,
    .event-card-carousel-dot,
    .feature-box,
    .btn-hero-primary,
    .btn-hero-secondary,
    .section-link,
    html.js-motion .hero-brand[data-kinetic="letters"].is-visible .kinetic-letter:nth-child(odd) {
        animation: none !important;
        transition: none !important;
    }

    html.js-motion .reveal-on-load,
    html.js-motion .reveal-on-scroll,
    html.js-motion .hero-brand[data-kinetic="letters"] .kinetic-letter,
    html.js-motion [data-kinetic="words"] .kinetic-word {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

/* Event share buttons */
.event-share {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.event-share-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--theme-muted);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.event-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.event-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s var(--ease-out), filter 0.15s ease, box-shadow 0.15s ease;
}

.event-share-btn:hover,
.event-share-btn:focus-visible {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 35, 63, 0.16);
}

.event-share-btn i {
    font-size: 1rem;
}

.event-share-whatsapp {
    background: #25d366;
}

.event-share-instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af);
}

.event-share-facebook {
    background: #1877f2;
}

.event-share-toast {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    color: #0f5132;
    background: #d1e7dd;
    border: 1px solid #badbcc;
    border-radius: 0.5rem;
    padding: 0.65rem 0.75rem;
}

.event-share-toast.is-error {
    color: #842029;
    background: #f8d7da;
    border-color: #f5c2c7;
}

.event-share--compact {
    align-items: flex-start;
}

.event-share--compact .event-share-label {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.85rem;
}

@media (max-width: 575.98px) {
    .event-share-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* Contact page */
.contact-aside-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--theme-color, #0d6efd) 14%, #fff);
    color: var(--theme-color, #0d6efd);
}

.public-footer-link {
    color: inherit;
    text-decoration: none;
    font-size: 0.875rem;
}

.public-footer-link:hover {
    color: var(--theme-color, #0d6efd);
}



.contact-progress .progress {
    height: 0.55rem;
    border-radius: 999px;
    background: #e9eef5;
}

.contact-progress .progress-bar {
    background: var(--theme-color, #0d6efd);
}

/* Signup medical interest tags */
.medical-interests-block {
    padding: 1rem 1.1rem;
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--theme-color, #0d6efd) 6%, #fff);
    border: 1px solid color-mix(in srgb, var(--theme-color, #0d6efd) 16%, #e5eaf0);
}

.medical-interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-height: 0.25rem;
}

.medical-interest-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--theme-color, #0d6efd) 14%, #fff);
    color: var(--theme-ink, #1a2332);
    font-size: 0.875rem;
    font-weight: 500;
}

.medical-interest-remove {
    border: 0;
    background: transparent;
    color: inherit;
    line-height: 1;
    font-size: 1.1rem;
    padding: 0 0.1rem;
    opacity: 0.7;
}

.medical-interest-remove:hover {
    opacity: 1;
}

.medical-interest-input-wrap {
    position: relative;
}

.medical-interest-suggestions {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    top: calc(100% + 0.25rem);
    max-height: 14rem;
    overflow: auto;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 0.5rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.medical-interest-suggestion {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0.55rem 0.8rem;
    font-size: 0.9rem;
    color: var(--theme-ink, #1a2332);
}

.medical-interest-suggestion:hover,
.medical-interest-suggestion.is-active {
    background: color-mix(in srgb, var(--theme-color, #0d6efd) 12%, #fff);
}
