
/* =====================================================
   HOPFAN WEBSITE - MAIN STYLESHEET
   DARK NAVY & GOLD THEME
===================================================== */

/* BRAND COLOURS */
:root {
    --navy: #0d1b3e;
    --royal: #1d4f9f;
    --gold: #c9972b;
    --gold-light: #e0b64f;
    --mist: #14254b;
    --line: #31436c;
    --ink: #f3f5fa;
    --rose: #c93d7a;
    --white: #ffffff;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* =====================================================
   GLOBAL STYLES
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--navy);
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--navy);
    line-height: 1.65;
    font-size: 1.05rem;
    overflow-x: hidden;
}

main {
    background: var(--navy);
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    display: block;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--ink);
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
}

h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    margin-bottom: .6em;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: .35em;
}

p + p {
    margin-top: 1em;
}

.wrap {
    width: min(1120px, 92%);
    margin-inline: auto;
}

.sec {
    padding: clamp(3.2rem, 7vw, 5.5rem) 0;
    background-color: var(--navy);
    color: var(--ink);
}

.narrow {
    max-width: 62ch;
}

.muted {
    opacity: .82;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.skip {
    position: absolute;
    left: -999px;
}

.skip:focus {
    left: 1rem;
    top: 1rem;
    background: #fff;
    color: #000;
    padding: .5rem 1rem;
    z-index: 999;
}

/* =====================================================
   NAVIGATION
===================================================== */

header.top {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 27, 62, .97);
    backdrop-filter: blur(8px);
    color: #fff;
}

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.1;
}

.brand img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

nav ul {
    display: flex;
    gap: 1.4rem;
    list-style: none;
    padding: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: .95rem;
    padding: .3rem 0;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a[aria-current] {
    border-color: var(--gold);
}

.menu {
    display: none;
    background: none;
    border: 1px solid #ffffff55;
    color: #fff;
    border-radius: 6px;
    padding: .45rem .8rem;
    font: inherit;
    cursor: pointer;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn {
    display: inline-block;
    padding: .85rem 1.5rem;
    border-radius: 999px;
    background: var(--gold);
    color: #101830;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--gold);
    transition: transform .15s;
}

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

.btn.ghost {
    background: transparent;
    color: #fff;
    border-color: #ffffffaa;
}

.btn.dark {
    background: var(--navy);
    color: #fff;
    border-color: var(--gold);
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.6rem;
}

/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;
    color: #fff;
    min-height: min(86vh, 720px);
    display: flex;
    align-items: flex-end;
    background: var(--navy) center / cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 27, 62, .35),
        rgba(13, 27, 62, .88)
    );
}

.hero .wrap {
    position: relative;
    padding: 5rem 0 3.5rem;
}

.hero h1 {
    max-width: 15ch;
    color: #fff;
}

.hero p {
    max-width: 52ch;
    margin-top: 1.1rem;
    font-size: 1.2rem;
    color: #fff;
}

.hero.small {
    min-height: 44vh;
}

.hero.small h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.hero-anim {
    animation: rise .9s ease both;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   SERVICE TIMES
===================================================== */

.times {
    background: var(--navy);
    color: #fff;
    border-block: 1px solid var(--line);
}

.times .wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 1.8rem 0;
}

.times strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--gold-light);
}

/* =====================================================
   GENERAL LAYOUT
===================================================== */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}

.photo {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .6);
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =====================================================
   CARDS
===================================================== */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.4rem;
}

.card {
    background: #14254b;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.card h2,
.card h3 {
    color: var(--gold-light);
}

.card p {
    color: var(--ink);
}

.card .body {
    padding: 1.3rem;
}

.card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.plain {
    background: #14254b;
    color: var(--ink);
    border-left: 4px solid var(--gold);
    padding: 1.2rem 1.4rem;
    border-radius: 0 12px 12px 0;
}

/* =====================================================
   VERSE
===================================================== */

.verse {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-style: italic;
    max-width: 30ch;
}

/* =====================================================
   SISTERS OF TAMAR FEATURE
===================================================== */

.feature {
    background: linear-gradient(135deg, #f6d6e6, #e9cdf2);
    color: #2a1030;
    border: none;
    border-radius: 18px;
    overflow: hidden;
}

.feature h2,
.feature h3,
.feature p {
    color: #2a1030 !important;
}

.feature .txt {
    color: #2a1030;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.feature .split {
    gap: 0;
}

.feature img {
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    width: 100%;
}

.feature .btn.dark {
    background: #4a1a55;
    color: #fff !important;
    border-color: #4a1a55;
}

.feature .btn.dark:hover {
    background: #35113e;
    border-color: #35113e;
}

/* =====================================================
   GALLERY
===================================================== */

.grid {
    columns: 3 260px;
    column-gap: 1rem;
}

.grid button {
    display: block;
    width: 100%;
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    border-radius: 10px;
    overflow: hidden;
}

.grid img {
    width: 100%;
    height: auto;
    transition: transform .3s;
}

.grid button:hover img {
    transform: scale(1.03);
}

/* =====================================================
   IMAGE LIGHTBOX
===================================================== */

dialog {
    border: 0;
    background: transparent;
    max-width: 96vw;
    max-height: 94vh;
    padding: 0;
    margin: auto;
}

dialog::backdrop {
    background: rgba(5, 10, 25, .9);
}

dialog img {
    max-height: 88vh;
    max-width: 96vw;
    object-fit: contain;
    border-radius: 8px;
}

dialog .x {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: #fff;
    color: #111;
    border: 0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    cursor: pointer;
}

/* =====================================================
   VIDEO AND EMBEDS
===================================================== */

.embed {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.fbbox {
    display: flex;
    justify-content: center;
}

.fbbox iframe {
    border: 0;
    max-width: 100%;
    background: #fff;
    border-radius: 12px;
}

/* =====================================================
   LISTS
===================================================== */

.list {
    list-style: none;
    padding: 0;
}

.list li {
    padding: .8rem 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* =====================================================
   FORMS
===================================================== */

form {
    display: grid;
    gap: 1rem;
}

label {
    font-weight: 600;
    font-size: .95rem;
    color: var(--ink);
}

input,
textarea {
    width: 100%;
    font: inherit;
    padding: .8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #14254b;
    color: var(--ink);
}

input::placeholder,
textarea::placeholder {
    color: #b9c4dc;
}

.err {
    color: #ff7b85;
    font-size: .85rem;
    display: none;
}

.bad + .err {
    display: block;
}

.bad {
    border-color: #ff7b85;
}

/* =====================================================
   FOOTER
===================================================== */

footer {
    background: #081426;
    color: #dfe6f7;
    padding: 3.2rem 0 1.5rem;
}

footer .wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2rem;
}

footer h3 {
    color: var(--gold-light);
    font-size: 1.1rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin: .3rem 0;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    color: var(--gold-light);
}

.copy {
    grid-column: 1 / -1;
    border-top: 1px solid #ffffff22;
    padding-top: 1.2rem;
    font-size: .88rem;
    opacity: .8;
}

/* =====================================================
   FOOTER SOCIAL ICONS
===================================================== */

footer .footer-social-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

footer a.footer-social-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    overflow: hidden;
    box-sizing: border-box;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

footer .footer-social-icon img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin: 0;
    padding: 0;
    border: none;
}

/* FACEBOOK */
footer a.footer-social-icon.facebook {
    background: #1877F2;
}

footer a.footer-social-icon.facebook img {
    filter: brightness(0) invert(1);
}

/* INSTAGRAM */
footer a.footer-social-icon.instagram {
    background: radial-gradient(
        circle at 30% 110%,
        #ffd600 0%,
        #ff7a00 25%,
        #ff0069 55%,
        #d300c5 75%,
        #7638fa 100%
    );
}

footer a.footer-social-icon.instagram img {
    filter: brightness(0) invert(1);
}

/* TIKTOK */
footer a.footer-social-icon.tiktok {
    background: #000000;
    border: 1px solid rgba(255,255,255,.25);
}

footer a.footer-social-icon.tiktok img {
    filter: none;
}

/* SOCIAL HOVER */
footer a.footer-social-icon:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 6px 16px rgba(0,0,0,.35);
    text-decoration: none;
}

footer a.footer-social-icon:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 4px;
}

/* =====================================================
   FLOATING WATCH LIVE BUTTON
===================================================== */

.fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    background: var(--rose);
    color: #fff;
    border-radius: 999px;
    padding: .7rem 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px -8px #000a;
}

/* =====================================================
   LIVE STREAM BANNER
===================================================== */

.live-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--navy);
    isolation: isolate;
}

.live-banner img {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center;
}

.live-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px;
    color: #fff;
    background: linear-gradient(
        180deg,
        rgba(13, 27, 62, .20),
        rgba(13, 27, 62, .85)
    );
}

.live-banner-overlay h2 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 1rem 0 .5rem;
}

.live-banner-overlay p {
    color: #fff;
    max-width: 550px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    border-radius: 50px;
    background: #c92535;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: 2px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .3);
}

.live-dot {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    animation: hopfanLivePulse 1.3s infinite;
}

@keyframes hopfanLivePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .35;
        transform: scale(.8);
    }
}

/* LIVE STREAM GLOW */
.live-stream-floating.is-live {
    animation: liveGlow 1.4s infinite ease-in-out;
}

.live-stream-floating.is-live img {
    filter:
        drop-shadow(0 0 6px #ff2638)
        drop-shadow(0 0 15px #ff2638)
        drop-shadow(0 0 25px rgba(255, 0, 0, .9));
}

@keyframes liveGlow {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.08);
        filter: brightness(1.3);
    }
}

/* =====================================================
   UPCOMING CONFERENCE
===================================================== */

.hopfan-upcoming {
    background: var(--navy);
    color: var(--ink);
}

.upcoming-heading {
    text-align: center;
    margin-bottom: 35px;
}

.upcoming-label {
    display: inline-block;
    background: #c92535;
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.upcoming-heading h2 {
    margin: 15px 0 8px;
    color: var(--gold-light);
}

.upcoming-heading p {
    color: var(--ink);
}

.conference-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    background: #14254b;
    color: var(--ink);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .25);
    border: 1px solid var(--line);
}

.conference-poster {
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.conference-poster img {
    width: 100%;
    height: 100%;
    max-height: 850px;
    object-fit: contain;
    display: block;
}

.conference-details {
    padding: 35px 30px;
    align-self: center;
}

.conference-date {
    color: var(--gold-light);
    font-weight: 700;
    letter-spacing: 1.5px;
}

.conference-details h3 {
    color: var(--gold-light);
    margin: 18px 0 12px;
}

.conference-programme {
    background: var(--navy);
    color: var(--ink);
    padding: 15px 18px;
    border-radius: 12px;
    margin: 20px 0;
}

.conference-programme p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid var(--line);
}

.conference-programme p:last-child {
    border-bottom: none;
}

.conference-programme span {
    font-weight: 600;
    color: var(--gold-light);
    text-align: right;
}

.conference-venue {
    margin-top: 20px;
}

.conference-contact {
    margin: 18px 0;
    font-size: .95rem;
}

/* =====================================================
   TABLET RESPONSIVE
===================================================== */

@media (max-width: 860px) {
    .menu {
        display: block;
    }

    nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--navy);
        display: none;
        padding: 1rem 4%;
    }

    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: .9rem;
    }

    .bar {
        flex-wrap: wrap;
        gap: 12px;
    }

    .brand {
        font-size: 1rem;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .conference-card {
        grid-template-columns: 1fr;
    }

    .conference-poster img {
        width: 100%;
        height: auto;
        max-height: 750px;
        object-fit: contain;
    }

    .conference-details {
        padding: 25px;
    }

    .feature .split {
        grid-template-columns: 1fr;
    }

    .feature img {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: 500px;
        object-fit: contain;
    }
}

/* =====================================================
   MOBILE LIVE BANNER
===================================================== */

@media (max-width: 768px) {
    .live-banner img {
        height: 320px;
    }

    .live-banner-overlay {
        padding: 18px;
    }

    .live-banner-overlay h2 {
        font-size: 2rem;
    }

    .live-banner-overlay p {
        font-size: .95rem;
    }
}

@media (max-width: 420px) {
    .live-banner img {
        height: 260px;
    }

    .live-indicator {
        font-size: .75rem;
        padding: 8px 15px;
    }
}

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

@media (max-width: 600px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        font-size: 1rem;
        line-height: 1.6;
    }

    .wrap {
        width: 92%;
    }

    .sec {
        padding: 2.5rem 0;
    }

    img,
    video,
    iframe {
        max-width: 100%;
    }

    h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    h2 {
        font-size: clamp(1.65rem, 7vw, 2.2rem);
    }

    h3 {
        font-size: 1.2rem;
    }

    p,
    h1,
    h2,
    h3,
    a,
    li {
        overflow-wrap: break-word;
    }

    header.top {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .bar {
        min-height: 65px;
        padding: 8px 0;
        flex-wrap: nowrap;
    }

    .brand {
        gap: 8px;
        font-size: .9rem;
        max-width: 75%;
    }

    .brand img {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        object-fit: cover;
    }

    .menu {
        display: block;
        flex-shrink: 0;
        padding: 8px 12px;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 15px 5%;
        background: var(--navy);
        display: none;
        max-height: 75vh;
        overflow-y: auto;
        z-index: 101;
    }

    nav.open {
        display: block;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    nav li {
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    nav a {
        display: block;
        padding: 12px 5px;
        font-size: 1rem;
    }

    .hero {
        min-height: 470px;
        background-position: center center;
        background-size: cover;
    }

    .hero.small {
        min-height: 300px;
    }

    .hero .wrap {
        padding: 3rem 0 2.5rem;
    }

    .hero h1 {
        max-width: 100%;
    }

    .hero p {
        font-size: 1rem;
    }

    .split {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        align-items: start;
    }

    .split > * {
        min-width: 0;
    }

    .photo {
        width: 100%;
        height: auto;
        overflow: hidden;
        border-radius: 12px;
    }

    .photo img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 520px;
        object-fit: contain;
        object-position: center;
    }

    .cards {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .card {
        width: 100%;
    }

    .card img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .plain {
        padding: 18px;
    }

    .grid {
        columns: 2;
        column-gap: 10px;
    }

    .grid button {
        width: 100%;
        margin-bottom: 10px;
        break-inside: avoid;
        overflow: hidden;
    }

    .grid img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    dialog {
        width: 96%;
        max-width: 96%;
        max-height: 92vh;
        margin: auto;
    }

    dialog img {
        width: 100%;
        max-width: 100%;
        max-height: 85vh;
        height: auto;
        object-fit: contain;
    }

    dialog .x {
        top: 10px;
        right: 10px;
    }

    .conference-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        gap: 0;
    }

    .conference-card > * {
        min-width: 0;
    }

    .conference-poster {
        width: 100%;
        min-width: 0;
        background: var(--navy);
    }

    .conference-poster img {
        display: block;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .conference-details {
        padding: 22px 17px;
        width: 100%;
    }

    .conference-programme {
        padding: 12px;
    }

    .conference-programme p {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .conference-programme span {
        text-align: left;
    }

    .feature {
        border-radius: 12px;
    }

    .feature .split {
        display: grid;
        grid-template-columns: 1fr;
    }

    .feature .txt {
        padding: 22px;
    }

    .feature img {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: 500px;
        object-fit: contain;
    }

    .live-banner {
        width: 100%;
    }

    .live-banner img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .live-banner-overlay {
        padding: 15px;
    }

    .live-banner-overlay h2 {
        font-size: 1.8rem;
    }

    .live-banner-overlay p {
        font-size: .9rem;
    }

    .embed {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .embed iframe {
        width: 100%;
        height: 100%;
    }

    .fbbox {
        width: 100%;
        overflow: hidden;
    }

    .fbbox iframe {
        max-width: 100%;
    }

    .row {
        gap: 10px;
    }

    .btn {
        max-width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .list li {
        flex-wrap: wrap;
        gap: 8px;
    }

    footer {
        padding: 2.5rem 0 1.2rem;
    }

    footer .wrap {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .copy {
        grid-column: 1;
    }

    .fab {
        right: 12px;
        bottom: 12px;
        padding: 10px 15px;
        font-size: .85rem;
        z-index: 90;
    }

    .whatsapp-float {
        width: 48px !important;
        height: 48px !important;
        left: 12px !important;
        bottom: 12px !important;
    }

    .whatsapp-float img {
        width: 28px !important;
        height: 28px !important;
    }

    footer .footer-social-icons {
        gap: 10px;
    }

    footer a.footer-social-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        flex-basis: 36px;
    }

    footer .footer-social-icon img {
        width: 19px;
        height: 19px;
    }
}

/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 380px) {
    .grid {
        columns: 1;
    }

    .brand {
        font-size: .8rem;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .hero {
        min-height: 400px;
    }

    .hero.small {
        min-height: 260px;
    }

    .live-indicator {
        font-size: .7rem;
        padding: 7px 12px;
    }

    .conference-details {
        padding: 18px 14px;
    }
}

/* =====================================================
   ACCESSIBILITY AND REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }

    .live-dot {
        animation: none;
    }
}
