:root {
    --navy: #071c2c;
    --navy-2: #0d2a3e;
    --blue: #087ea4;
    --cyan: #0aa4c7;
    --mist: #f2f6f8;
    --white: #ffffff;
    --text: #18232b;
    --muted: #65747d;
    --border: #dce5e9;
    --red: #c62d35;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
}

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

.shell {
    width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;
}

/* HEADER */

.site-header {
    position: relative;
    z-index: 50;
    background: var(--navy);
    color: white;
}

.brand-bar {
    padding: 26px 0 22px;
}

.brand-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: .9;
}

.brand-main {
    display: block;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: .08em;
}

.brand-sub {
    display: block;
    margin-top: 9px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .36em;
}

.tagline {
    margin-left: auto;
    color: #b9cad4;
    font-size: 14px;
}

.main-nav {
    border-top: 1px solid rgba(255,255,255,.1);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 34px;
    min-height: 52px;
}

.nav-inner a {
    position: relative;
    color: #d8e3e8;
    font-size: 14px;
    font-weight: 700;
}

.nav-inner a:hover,
.nav-inner a.active {
    color: white;
}

.nav-inner a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -17px;
    height: 3px;
    background: var(--cyan);
}

.menu-button {
    display: none;
}

/* LATEST STRIP */

.latest-strip {
    border-bottom: 1px solid var(--border);
    background: white;
}

.latest-inner {
    display: flex;
    align-items: center;
    min-height: 48px;
    gap: 18px;
}

.latest-label {
    padding: 5px 9px;
    background: var(--red);
    color: white;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
}

.latest-inner p {
    flex: 1;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 600;
}

.latest-inner > a {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

/* HERO */

.hero {
    padding-top: 42px;
    padding-bottom: 54px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(310px, .8fr);
    gap: 34px;
}

.lead-image {
    position: relative;
    min-height: 550px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #0a6680 0%,
            #0c94b3 35%,
            #153d51 100%
        );
}

.lead-image::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 280px;
    right: -120px;
    bottom: -100px;
    border: 40px solid rgba(255,255,255,.08);
    border-radius: 50%;
    transform: rotate(-10deg);
}

.lead-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(4,18,28,.94) 0%,
            rgba(4,18,28,.42) 55%,
            rgba(4,18,28,.08) 100%
        );
}

.lead-content {
    position: absolute;
    z-index: 3;
    left: 48px;
    right: 48px;
    bottom: 45px;
    color: white;
}

.category {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .15em;
}

.category.blue {
    color: var(--blue);
}

.lead-content h1 {
    max-width: 700px;
    margin: 0 0 16px;
    font-size: clamp(38px, 4.6vw, 66px);
    line-height: .98;
    letter-spacing: -.045em;
}

.lead-content p {
    max-width: 640px;
    margin: 0 0 20px;
    color: #dce8ed;
    font-size: 17px;
}

.meta {
    color: var(--muted);
    font-size: 12px;
}

.lead-content .meta {
    color: #bcd0da;
}

/* LATEST PANEL */

.latest-panel {
    padding-top: 6px;
}

.heading-row,
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

.heading-row h2,
.section-heading h2 {
    margin: 0;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.035em;
}

.live-dot {
    width: 9px;
    height: 9px;
    margin-bottom: 5px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 5px rgba(198,45,53,.12);
}

.latest-story {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.latest-story time {
    display: block;
    margin-bottom: 5px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
}

.latest-story strong {
    display: block;
    font-size: 15px;
    line-height: 1.35;
}

.latest-story:hover strong {
    color: var(--blue);
}

.more-link {
    display: inline-block;
    margin-top: 19px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

/* GENERAL CONTENT SECTIONS */

.section {
    padding-top: 70px;
    padding-bottom: 76px;
}

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

.section-heading > .more-link {
    margin: 0;
}

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

.story-card {
    overflow: hidden;
    border: 1px solid var(--border);
    background: white;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(7,28,44,.10);
}

.story-image {
    display: flex;
    align-items: flex-end;
    min-height: 230px;
    padding: 20px;
    color: rgba(255,255,255,.92);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .2em;
}

.image-halifax {
    background:
        linear-gradient(
            135deg,
            #14526c,
            #08a0c3
        );
}

.image-traffic {
    background:
        linear-gradient(
            135deg,
            #243e4c,
            #6c8b98
        );
}

.image-community {
    background:
        linear-gradient(
            135deg,
            #16798b,
            #71b5ba
        );
}

.story-body {
    padding: 24px;
}

.story-body h3 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.18;
    letter-spacing: -.025em;
}

.story-body h3 a:hover {
    color: var(--blue);
}

.story-body p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
}


/* RIGHT NOW IN HRM */

.right-now {
    padding: 68px 0 72px;
    background: var(--navy);
    color: white;
}

.section-heading.light {
    margin-bottom: 30px;
}

.section-heading.light .eyebrow {
    color: var(--cyan);
}

.section-heading.light > span {
    color: #8fa8b5;
    font-size: 12px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.info-card {
    min-height: 270px;
    padding: 27px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.045);
    transition:
        background .2s ease,
        transform .2s ease;
}

.info-card:hover {
    background: rgba(255,255,255,.075);
    transform: translateY(-2px);
}

.info-icon {
    display: block;
    margin-bottom: 24px;
    font-size: 28px;
}

.info-label {
    display: block;
    color: var(--cyan);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
}

.info-card h3 {
    margin: 5px 0 10px;
    font-size: 20px;
    line-height: 1.15;
}

.info-card p {
    min-height: 68px;
    margin: 0 0 16px;
    color: #b8cbd4;
    font-size: 13px;
}

.info-card a {
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.info-card a:hover {
    color: var(--cyan);
}

/* COMMUNITY */

.community-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(340px, .85fr);
    gap: 35px;
}

.community-feature {
    overflow: hidden;
    border: 1px solid var(--border);
    background: white;
}

.community-photo {
    display: flex;
    align-items: flex-end;
    min-height: 360px;
    padding: 25px;
    background:
        linear-gradient(
            135deg,
            #065f79,
            #0da8c5 55%,
            #8bc5cb
        );
    color: white;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .2em;
}

.community-copy {
    padding: 30px;
}

.community-copy h3 {
    max-width: 600px;
    margin: 0 0 13px;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.community-copy p {
    max-width: 650px;
    margin-bottom: 20px;
    color: var(--muted);
}

.button {
    display: inline-block;
    padding: 12px 17px;
    background: var(--navy);
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.button:hover {
    background: var(--blue);
}

.community-list {
    border-top: 1px solid var(--border);
}

.small-feature {
    display: grid;
    grid-template-columns: 125px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.small-image {
    display: flex;
    align-items: flex-end;
    min-height: 100px;
    padding: 11px;
    color: white;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
}

.event-block {
    background:
        linear-gradient(
            135deg,
            #4c6170,
            #0995b6
        );
}

.spotlight-block {
    background:
        linear-gradient(
            135deg,
            #08283b,
            #0bb2ce
        );
}

.local-block {
    background:
        linear-gradient(
            135deg,
            #176c7e,
            #80b9bd
        );
}

.small-feature h3 {
    margin: 4px 0 9px;
    font-size: 17px;
    line-height: 1.2;
}


/* IN THE SPOTLIGHT */

.spotlight {
    padding: 85px 0;
    overflow: hidden;
    background:
        linear-gradient(
            125deg,
            #087da2 0%,
            #0798b9 45%,
            #071c2c 45%
        );
    color: white;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.spotlight-label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .2em;
}

.spotlight h2 {
    margin: 8px 0 15px;
    font-size: clamp(45px, 5vw, 68px);
    line-height: .95;
    letter-spacing: -.05em;
}

.spotlight h3 {
    margin: 0 0 14px;
    font-size: 23px;
}

.spotlight p {
    max-width: 500px;
    color: #d7edf2;
}

.spotlight-button {
    display: inline-block;
    margin-top: 15px;
    padding: 13px 18px;
    background: white;
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
}

.spotlight-button:hover {
    background: var(--cyan);
    color: white;
}

.spotlight-art {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 330px;
    padding: 45px;
    border: 1px solid rgba(255,255,255,.16);
    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(10,164,199,.45),
            transparent 35%
        ),
        rgba(255,255,255,.035);
}

.spotlight-art span {
    font-size: 21px;
    font-weight: 300;
    letter-spacing: .3em;
}

.spotlight-art strong {
    font-size: clamp(42px, 5vw, 70px);
    line-height: .9;
    letter-spacing: -.04em;
}


/* EVENTS */

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

.event-card {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 20px;
    align-items: center;
    padding: 25px;
    border: 1px solid var(--border);
    background: white;
}

.event-date {
    padding: 12px 8px;
    border-right: 1px solid var(--border);
    text-align: center;
}

.event-date strong {
    display: block;
    color: var(--blue);
    font-size: 10px;
    letter-spacing: .14em;
}

.event-date span {
    display: block;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.event-card h3 {
    margin: 4px 0;
    font-size: 17px;
    line-height: 1.2;
}

.event-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}


/* ABOUT */

.about {
    padding: 70px 0;
    background: var(--mist);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.about h2 {
    max-width: 500px;
    margin: 5px 0 0;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -.04em;
}

.about p {
    max-width: 570px;
    margin-top: 0;
    color: var(--muted);
    font-size: 16px;
}


/* FOOTER */

.site-footer {
    padding: 65px 0 25px;
    background: #04131e;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
}

.footer-brand p {
    max-width: 320px;
    color: #8da5b2;
    font-size: 13px;
}

.footer-grid h3 {
    margin: 0 0 15px;
    color: #8da5b2;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) a {
    display: block;
    margin: 8px 0;
    color: #d8e3e8;
    font-size: 13px;
}

.footer-grid a:hover {
    color: var(--cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 55px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: #718b99;
    font-size: 11px;
}

/* COMMUNITY */

.community-grid {
    display: grid;
    grid-template-columns: 1.6fr .85fr;
    gap: 35px;
}

.community-feature {
    overflow: hidden;
    border: 1px solid var(--border);
    background: white;
}

.community-photo {
    display: flex;
    align-items: flex-end;
    min-height: 360px;
    padding: 25px;
    background: linear-gradient(135deg, #065f79, #0da8c5 55%, #8bc5cb);
    color: white;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .2em;
}

.community-copy {
    padding: 30px;
}

.community-copy h3 {
    margin: 0 0 13px;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.community-copy p {
    color: var(--muted);
}

.button {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 17px;
    background: var(--navy);
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.community-list {
    border-top: 1px solid var(--border);
}

.small-feature {
    display: grid;
    grid-template-columns: 125px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.small-image {
    display: flex;
    align-items: flex-end;
    min-height: 100px;
    padding: 11px;
    color: white;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
}

.event-block {
    background: linear-gradient(135deg, #4c6170, #0995b6);
}

.spotlight-block {
    background: linear-gradient(135deg, #08283b, #0bb2ce);
}

.local-block {
    background: linear-gradient(135deg, #176c7e, #80b9bd);
}

.small-feature h3 {
    margin: 4px 0 9px;
    font-size: 17px;
    line-height: 1.2;
}


/* SPOTLIGHT */

.spotlight {
    padding: 85px 0;
    background: linear-gradient(125deg, #087da2 0%, #0798b9 45%, #071c2c 45%);
    color: white;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.spotlight-label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .2em;
}

.spotlight h2 {
    margin: 8px 0 15px;
    font-size: clamp(45px, 5vw, 68px);
    line-height: .95;
    letter-spacing: -.05em;
}

.spotlight h3 {
    margin: 0 0 14px;
    font-size: 23px;
}

.spotlight p {
    color: #d7edf2;
}

.spotlight-button {
    display: inline-block;
    margin-top: 15px;
    padding: 13px 18px;
    background: white;
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
}

.spotlight-art {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 330px;
    padding: 45px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.035);
}

.spotlight-art span {
    font-size: 21px;
    font-weight: 300;
    letter-spacing: .3em;
}

.spotlight-art strong {
    font-size: clamp(42px, 5vw, 70px);
    line-height: .9;
}


/* EVENTS */

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

.event-card {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 20px;
    align-items: center;
    padding: 25px;
    border: 1px solid var(--border);
}

.event-date {
    padding: 12px 8px;
    border-right: 1px solid var(--border);
    text-align: center;
}

.event-date strong {
    display: block;
    color: var(--blue);
    font-size: 10px;
}

.event-date span {
    display: block;
    font-size: 34px;
    font-weight: 800;
}

.event-card h3 {
    margin: 4px 0;
    font-size: 17px;
}

.event-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}


/* ABOUT */

.about {
    padding: 70px 0;
    background: var(--mist);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.about h2 {
    margin: 5px 0 0;
    font-size: 40px;
    line-height: 1;
}

.about p {
    margin-top: 0;
    color: var(--muted);
    font-size: 16px;
}


/* FOOTER */

.site-footer {
    padding: 65px 0 25px;
    background: #04131e;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
}

.footer-brand p {
    max-width: 320px;
    color: #8da5b2;
    font-size: 13px;
}

.footer-grid h3 {
    margin: 0 0 15px;
    color: #8da5b2;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) a {
    display: block;
    margin: 8px 0;
    color: #d8e3e8;
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 55px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: #718b99;
    font-size: 11px;
}


/* ==========================================================
   ORIGINAL WATERFRONT MEDIA HFX BRAND HEADER
========================================================== */

.brand-bar {
    padding: 0;
    background: #07031f;
}

.brand-inner {
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 0;
}

.waterfront-header-brand {
    display: block;
    width: 100%;
    line-height: 0;
}

.waterfront-header-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 190px;
    object-fit: cover;
    object-position: center;
}

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

@media (max-width: 800px) {

    .brand-inner {
        width: 100%;
    }

    .waterfront-header-image {
        min-height: 90px;
        object-fit: cover;
        object-position: center;
    }

    .menu-button {
        position: absolute;
        right: 16px;
        bottom: -47px;
        z-index: 20;
    }
}


/* ==========================================================
   WATERFRONT MEDIA HFX
   ORIGINAL BRAND COLOUR SYSTEM
========================================================== */

:root {
    --navy: #080326;
    --navy-2: #12074a;

    --blue: #2354ff;
    --cyan: #00a9ff;

    --purple: #7020d4;
    --magenta: #d900c8;
    --green: #39df22;

    --mist: #f5f4fa;
    --white: #ffffff;

    --text: #171523;
    --muted: #696779;
    --border: #e1dfeb;

    --red: #d82f45;
}


/* BRAND HEADER + NAVIGATION */

.site-header {
    background: var(--navy);
}

.brand-bar {
    background: #080326;
}

.main-nav {
    position: relative;
    background:
        linear-gradient(
            90deg,
            #080326 0%,
            #10053c 50%,
            #080326 100%
        );
    border-top: 1px solid rgba(255,255,255,.10);
}

.main-nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--blue) 0%,
            var(--blue) 32%,
            var(--magenta) 32%,
            var(--magenta) 68%,
            var(--green) 68%,
            var(--green) 100%
        );
}

.nav-inner a {
    color: #dcd9ef;
}

.nav-inner a:hover {
    color: white;
}

.nav-inner a.active {
    color: white;
}

.nav-inner a.active::after {
    background: var(--cyan);
}


/* LATEST BAR */

.latest-strip {
    background: #faf9fd;
}

.latest-label {
    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--magenta)
        );
}

.latest-inner > a {
    color: var(--blue);
}


/* HERO */

.lead-image {
    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(0,169,255,.42),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 30%,
            rgba(217,0,200,.30),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #080326 0%,
            #172aa4 50%,
            #081842 100%
        );
}

.lead-image::before {
    border-color: rgba(0,169,255,.13);
}

.category.blue,
.eyebrow,
.latest-story time,
.more-link {
    color: var(--blue);
}

.live-dot {
    background: var(--magenta);
    box-shadow:
        0 0 0 5px rgba(217,0,200,.12);
}


/* STORY CARDS */

.image-halifax {
    background:
        linear-gradient(
            135deg,
            #0d1254,
            #2354ff
        );
}

.image-traffic {
    background:
        linear-gradient(
            135deg,
            #080326,
            #7020d4
        );
}

.image-community {
    background:
        linear-gradient(
            135deg,
            #7020d4,
            #d900c8
        );
}

.story-body h3 a:hover {
    color: var(--blue);
}


/* RIGHT NOW */

.right-now {
    position: relative;
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(112,32,212,.22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #080326,
            #10063a
        );
}

.right-now::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--magenta),
            var(--green)
        );
}

.section-heading.light .eyebrow,
.info-label {
    color: var(--cyan);
}

.info-card {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.045);
}

.info-card:hover {
    border-color: rgba(0,169,255,.35);
    background: rgba(35,84,255,.09);
}

.info-card a:hover {
    color: var(--cyan);
}


/* COMMUNITY */

.community-photo {
    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(217,0,200,.45),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #101052,
            #2354ff 55%,
            #7020d4
        );
}

.button {
    background:
        linear-gradient(
            135deg,
            #2354ff,
            #7020d4
        );
}

.button:hover {
    background:
        linear-gradient(
            135deg,
            #7020d4,
            #d900c8
        );
}

.event-block {
    background:
        linear-gradient(
            135deg,
            #2354ff,
            #00a9ff
        );
}

.spotlight-block {
    background:
        linear-gradient(
            135deg,
            #7020d4,
            #d900c8
        );
}

.local-block {
    background:
        linear-gradient(
            135deg,
            #080326,
            #2354ff
        );
}


/* IN THE SPOTLIGHT */

.spotlight {
    position: relative;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(217,0,200,.30),
            transparent 28%
        ),
        linear-gradient(
            120deg,
            #2354ff 0%,
            #7020d4 42%,
            #080326 42%,
            #080326 100%
        );
}

.spotlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--magenta),
            var(--green)
        );
}

.spotlight-art {
    border-color: rgba(255,255,255,.18);

    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(0,169,255,.25),
            transparent 32%
        ),
        rgba(255,255,255,.035);
}

.spotlight-button {
    color: var(--navy);
}

.spotlight-button:hover {
    background: var(--green);
    color: var(--navy);
}


/* EVENTS */

.event-date strong {
    color: var(--purple);
}

.event-card {
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.event-card:hover {
    transform: translateY(-2px);
    border-color: rgba(112,32,212,.30);

    box-shadow:
        0 12px 30px rgba(8,3,38,.08);
}


/* ABOUT */

.about {
    background:
        linear-gradient(
            135deg,
            #f7f6fb,
            #f1eff9
        );
}


/* FOOTER */

.site-footer {
    position: relative;
    background:
        linear-gradient(
            135deg,
            #05021a,
            #0b032b
        );
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--blue) 0%,
            var(--blue) 32%,
            var(--magenta) 32%,
            var(--magenta) 68%,
            var(--green) 68%,
            var(--green) 100%
        );
}

.footer-grid a:hover {
    color: var(--cyan);
}


/* ==========================================================
   WATERFRONT HEADER + NAVIGATION SPACING FIX
========================================================== */

/* Header artwork */

.brand-bar {
    padding: 0;
    margin: 0;
    background: #080326;
}

.brand-inner {
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 0;
    margin: 0;
}

.waterfront-header-brand {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.waterfront-header-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 192px;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center center;
}


/* Navigation */

.main-nav {
    position: relative;
    margin: 0;
    padding: 0;
    background:
        linear-gradient(
            90deg,
            #080326 0%,
            #10053c 50%,
            #080326 100%
        );
}

.nav-inner {
    width: min(calc(100% - 48px), 1140px);
    min-height: 58px;
    margin: 0 auto;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(28px, 3.2vw, 52px);
}

.nav-inner a {
    display: flex;
    align-items: center;
    align-self: stretch;

    position: relative;

    padding: 0;

    color: #e8e5f3;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
}

.nav-inner a:hover,
.nav-inner a.active {
    color: #ffffff;
}


/* Active item indicator */

.nav-inner a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background: #00a9ff;
}


/* Multicolour Waterfront stripe */

.main-nav::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -4px;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            #2354ff 0%,
            #2354ff 32%,
            #d900c8 32%,
            #d900c8 68%,
            #39df22 68%,
            #39df22 100%
        );
}


/* Give content breathing room after stripe */

.latest-strip {
    margin-top: 4px;
}


/* Tablet */

@media (max-width: 1050px) {

    .nav-inner {
        gap: 24px;
    }

    .nav-inner a {
        font-size: 13px;
    }

}


/* Mobile */

@media (max-width: 800px) {

    .waterfront-header-image {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        object-fit: contain;
    }

    .menu-button {
        display: block;

        position: absolute;
        right: 15px;
        bottom: -49px;

        z-index: 100;

        width: 44px;
        height: 44px;

        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .menu-button span {
        display: block;
        width: 24px;
        height: 2px;
        margin: 5px auto;
        background: white;
    }

    .main-nav {
        min-height: 52px;
    }

    .nav-inner {
        display: none;

        width: 100%;
        min-height: 0;

        padding: 12px 20px 18px;

        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }

    .main-nav.open .nav-inner {
        display: flex;
    }

    .nav-inner a {
        display: block;

        padding: 13px 4px;

        border-bottom:
            1px solid rgba(255,255,255,.08);

        font-size: 14px;
    }

    .nav-inner a.active::after {
        display: none;
    }

}


/* ==========================================================
   HEADER IMAGE · SHOW FULL ARTWORK
========================================================== */

.brand-bar {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.brand-inner {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.waterfront-header-brand {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}

.waterfront-header-image {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: none !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;
}

.main-nav {
    clear: both;
}


/* ==========================================================
   WATERFRONT LIVE WEATHER
========================================================== */

.weather-live-card {
    position: relative;
    overflow: hidden;
}

.weather-live-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -65px;
    top: -65px;
    border-radius: 50%;
    background: rgba(0,169,255,.10);
    pointer-events: none;
}

.weather-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.weather-card-top .info-icon {
    margin-bottom: 16px;
}

.weather-live-source {
    margin-top: 4px;
    color: #839baa;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .13em;
}

.weather-live-location {
    margin-top: 5px;
    color: #aabcc6;
    font-size: 12px;
    font-weight: 700;
}

.weather-live-main {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 4px 0 13px;
}

.weather-live-temp {
    color: white;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -.05em;
}

.weather-live-condition {
    max-width: 105px;
    color: #d7e4e9;
    font-size: 12px;
    line-height: 1.25;
}

.weather-live-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 13px;
}

.weather-live-details > div {
    padding: 8px 9px;
    background: rgba(255,255,255,.05);
}

.weather-live-details span {
    display: block;
    color: #839baa;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.weather-live-details strong {
    display: block;
    margin-top: 2px;
    color: white;
    font-size: 11px;
}

.weather-live-forecast {
    min-height: 0 !important;
    margin-bottom: 13px !important;
    color: #b8cbd4 !important;
    font-size: 11px !important;
    line-height: 1.35;
}


/* ==========================================================
   WATERFRONT LIVE FUEL PRICES
========================================================== */

.fuel-live-card {
    position: relative;
    overflow: hidden;
}

.fuel-live-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -65px;
    top: -65px;
    border-radius: 50%;
    background: rgba(217,0,200,.08);
    pointer-events: none;
}

.fuel-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.fuel-card-top .info-icon {
    margin-bottom: 16px;
}

.fuel-live-source {
    margin-top: 4px;
    color: #9d91b5;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .13em;
}

.fuel-zone {
    margin: 5px 0 14px;
    color: #b5aac8;
    font-size: 12px;
    font-weight: 700;
}

.fuel-price-list {
    margin-bottom: 13px;
}

.fuel-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 10px 0;

    border-top:
        1px solid rgba(255,255,255,.08);
}

.fuel-price-row:last-child {
    border-bottom:
        1px solid rgba(255,255,255,.08);
}

.fuel-price-row span {
    display: block;
    color: #b5aac8;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
}

.fuel-price-row small {
    display: block;
    margin-top: 1px;
    color: #746b88;
    font-size: 8px;
}

.fuel-price-row strong {
    color: white;
    font-size: 19px;
    line-height: 1;
    letter-spacing: -.03em;
}

.fuel-note {
    min-height: 0 !important;
    margin-bottom: 13px !important;
    color: #a99fbb !important;
    font-size: 9px !important;
}


/* WATERFRONT CATEGORY HOMEPAGE FEEDS START */

.home-category-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.home-category-grid {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
    gap: 1.5rem;
}

.home-category-card {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow:
        0
        12px
        36px
        rgba(3, 14, 27, 0.09);
}

.home-category-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #071c2c,
            #1655b8
        );

    color: #ffffff;
    text-decoration: none;
}

.home-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform
        220ms
        ease;
}

.home-category-card:hover
.home-category-image img {
    transform: scale(1.025);
}

.home-category-image span {
    padding: 1rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-align: center;
    text-transform: uppercase;
    opacity: 0.86;
}

.home-category-copy {
    padding: 1.3rem;
}

.home-category-label {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.7rem;
    padding:
        0.34rem
        0.62rem;

    border-radius: 999px;
    background: #e9f1ff;
    color: #145caa;

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-category-copy h3 {
    margin: 0;
    font-size: 1.28rem;
    line-height: 1.25;
}

.home-category-copy h3 a {
    color: inherit;
    text-decoration: none;
}

.home-category-copy h3 a:hover {
    text-decoration: underline;
}

.home-category-copy p {
    margin:
        0.85rem
        0
        0;

    line-height: 1.55;
    opacity: 0.72;
}

.home-category-meta {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

.home-feed-loading {
    grid-column: 1 / -1;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(
        255,
        255,
        255,
        0.65
    );
    text-align: center;
}

.home-live-spotlight {
    padding:
        4.5rem
        0;
    background: #071c2c;
    color: #ffffff;
}

.home-live-spotlight
.section-heading
.more-link {
    color: #ffffff;
}

.home-spotlight-card {
    min-height: 390px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #142e4d,
            #52196f
        );

    box-shadow:
        0
        20px
        65px
        rgba(0, 0, 0, 0.28);
}

.home-spotlight-content {
    width: min(
        720px,
        100%
    );

    padding: 3rem;
}

.home-spotlight-content h3 {
    margin:
        0.65rem
        0;

    font-size:
        clamp(
            2rem,
            5vw,
            4rem
        );

    line-height: 1.03;
    letter-spacing: -0.04em;
}

.home-spotlight-content p {
    max-width: 650px;
    margin:
        1rem
        0;

    font-size: 1.08rem;
    line-height: 1.6;
    opacity: 0.82;
}

.home-spotlight-link {
    display: inline-flex;
    margin-top: 0.75rem;
    color: #ffffff;
    font-weight: 800;
}

@media (min-width: 900px) {
    .main-nav .nav-inner {
        flex-wrap: wrap;
        row-gap: 0.15rem;
    }

    .main-nav .nav-inner a {
        font-size: 0.82rem;
    }
}

@media (max-width: 900px) {
    .home-category-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .home-spotlight-content {
        padding: 2rem;
    }
}

@media (max-width: 620px) {
    .home-category-grid {
        grid-template-columns: 1fr;
    }

    .home-category-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .home-spotlight-card {
        min-height: 340px;
    }

    .home-spotlight-content {
        padding: 1.5rem;
    }
}

/* WATERFRONT CATEGORY HOMEPAGE FEEDS END */


/* WATERFRONT THEME SYSTEM START */

/* ==========================================================
   WATERFRONT MEDIA HFX
   Light / Dark Theme
========================================================== */

:root {
    color-scheme: light;

    --wf-page:
        #f4f6f9;

    --wf-surface:
        #ffffff;

    --wf-surface-soft:
        #f5f8fc;

    --wf-surface-raised:
        #ffffff;

    --wf-text:
        #071c2c;

    --wf-text-soft:
        #53616f;

    --wf-border:
        #dce3eb;

    --wf-link:
        #145caa;

    --wf-pill-bg:
        #e9f1ff;

    --wf-pill-text:
        #145caa;

    --wf-shadow:
        rgba(
            3,
            14,
            27,
            0.10
        );

    --wf-control-bg:
        rgba(
            255,
            255,
            255,
            0.10
        );

    --wf-control-border:
        rgba(
            255,
            255,
            255,
            0.24
        );

    --wf-control-text:
        #ffffff;
}


html[data-theme="dark"] {
    color-scheme: dark;

    --wf-page:
        #07111c;

    --wf-surface:
        #0d1b29;

    --wf-surface-soft:
        #122334;

    --wf-surface-raised:
        #102131;

    --wf-text:
        #eef5fb;

    --wf-text-soft:
        #aab9c7;

    --wf-border:
        #26394b;

    --wf-link:
        #82b8ff;

    --wf-pill-bg:
        #173653;

    --wf-pill-text:
        #a8d0ff;

    --wf-shadow:
        rgba(
            0,
            0,
            0,
            0.32
        );

    --wf-control-bg:
        rgba(
            255,
            255,
            255,
            0.09
        );

    --wf-control-border:
        rgba(
            255,
            255,
            255,
            0.22
        );

    --wf-control-text:
        #ffffff;
}


html {
    background:
        var(--wf-page);
}


body {
    background:
        var(--wf-page);

    color:
        var(--wf-text);

    transition:
        background-color
        180ms
        ease,
        color
        180ms
        ease;
}


/* ----------------------------------------------------------
   THEME BUTTON
---------------------------------------------------------- */

.brand-inner {
    position: relative;
}


.theme-toggle {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    min-height: 40px;

    margin-left: auto;

    padding:
        0.5rem
        0.8rem;

    border:
        1px
        solid
        var(--wf-control-border);

    border-radius: 999px;

    background:
        var(--wf-control-bg);

    color:
        var(--wf-control-text);

    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 0.02em;

    cursor: pointer;

    transition:
        background
        150ms
        ease,
        border-color
        150ms
        ease,
        transform
        150ms
        ease;
}


.theme-toggle:hover {
    background:
        rgba(
            255,
            255,
            255,
            0.17
        );

    transform:
        translateY(-1px);
}


.theme-toggle:focus-visible {
    outline:
        3px
        solid
        rgba(
            107,
            170,
            255,
            0.6
        );

    outline-offset:
        3px;
}


.theme-toggle-icon {
    position: relative;

    display: block;

    width: 16px;
    height: 16px;

    border:
        2px
        solid
        currentColor;

    border-radius: 50%;
}


/*
 * Light mode button shows a crescent,
 * signalling the option to go dark.
 */
html[data-theme="light"]
.theme-toggle-icon::after {
    content: "";

    position: absolute;

    width: 11px;
    height: 11px;

    top: -3px;
    right: -4px;

    border-radius: 50%;

    background:
        #071c2c;
}


/*
 * Dark mode button shows a small sun,
 * signalling the option to go light.
 */
html[data-theme="dark"]
.theme-toggle-icon {
    background:
        currentColor;
    border-width: 1px;

    box-shadow:
        0 -7px 0 -5px currentColor,
        0 7px 0 -5px currentColor,
        7px 0 0 -5px currentColor,
        -7px 0 0 -5px currentColor,
        5px 5px 0 -5px currentColor,
        -5px -5px 0 -5px currentColor,
        5px -5px 0 -5px currentColor,
        -5px 5px 0 -5px currentColor;
}


/* ----------------------------------------------------------
   SHARED LIGHT SURFACES
---------------------------------------------------------- */

.latest-panel,
.story-card,
.home-category-card,
.waterfront-article,
.related-card,
.category-story-card,
.category-pagination,
.category-empty,
.info-card {
    background:
        var(--wf-surface);

    color:
        var(--wf-text);

    box-shadow:
        0
        12px
        36px
        var(--wf-shadow);
}


.home-feed-loading {
    background:
        var(--wf-surface-soft);

    color:
        var(--wf-text);
}


.story-body,
.home-category-copy,
.related-copy,
.category-story-copy,
.article-header,
.article-layout {
    color:
        var(--wf-text);
}


.story-body p,
.home-category-copy p,
.category-story-copy p,
.article-deck,
.article-meta,
.category-story-meta,
.related-copy time,
.category-header p,
.article-breadcrumb,
.category-breadcrumb {
    color:
        var(--wf-text-soft);

    opacity: 1;
}


.story-body h3 a,
.home-category-copy h3 a,
.category-story-copy h2 a,
.related-copy h3 a,
.article-breadcrumb a,
.category-breadcrumb a {
    color:
        var(--wf-text);
}


.more-link,
.article-content a,
.category-pagination a {
    color:
        var(--wf-link);
}


/* ----------------------------------------------------------
   LABELS
---------------------------------------------------------- */

.article-category,
.home-category-label,
.category.blue {
    background:
        var(--wf-pill-bg);

    color:
        var(--wf-pill-text);
}


/* ----------------------------------------------------------
   ARTICLE PAGE
---------------------------------------------------------- */

.article-content {
    color:
        var(--wf-text);
}


.article-content blockquote {
    background:
        var(--wf-surface-soft);

    color:
        var(--wf-text);

    border-left-color:
        #477dff;
}


.article-content th,
.article-content td {
    border-color:
        var(--wf-border);
}


.article-source {
    border-top-color:
        var(--wf-border);
}


.article-side-card {
    background:
        #071c2c;

    color:
        #ffffff;
}


html[data-theme="dark"]
.article-side-card {
    background:
        #152c40;
}


/* ----------------------------------------------------------
   CATEGORY PAGE
---------------------------------------------------------- */

.category-story-image {
    background:
        linear-gradient(
            135deg,
            #071c2c,
            #164da3
        );

    color:
        #ffffff;
}


.category-pagination {
    border:
        1px
        solid
        var(--wf-border);
}


/* ----------------------------------------------------------
   HOMEPAGE SECTIONS
---------------------------------------------------------- */

html[data-theme="dark"]
.home-category-section {
    color:
        var(--wf-text);
}


html[data-theme="dark"]
.section-heading:not(.light) {
    color:
        var(--wf-text);
}


html[data-theme="dark"]
.home-category-card,
html[data-theme="dark"]
.story-card {
    border:
        1px
        solid
        var(--wf-border);
}


html[data-theme="dark"]
.latest-panel {
    border:
        1px
        solid
        var(--wf-border);
}


html[data-theme="dark"]
.latest-story {
    color:
        var(--wf-text);

    border-color:
        var(--wf-border);
}


html[data-theme="dark"]
.latest-story time {
    color:
        var(--wf-text-soft);
}


/*
 * These sections are intentionally dark
 * in both themes because they are strong
 * Waterfront brand moments.
 */
.right-now,
.home-live-spotlight,
.main-nav {
    color:
        #ffffff;
}


/* ----------------------------------------------------------
   FORMS / GENERIC CONTENT
---------------------------------------------------------- */

html[data-theme="dark"]
input,
html[data-theme="dark"]
textarea,
html[data-theme="dark"]
select {
    background:
        var(--wf-surface);

    color:
        var(--wf-text);

    border-color:
        var(--wf-border);
}


/* ----------------------------------------------------------
   FOOTERS
---------------------------------------------------------- */

.article-footer {
    color:
        var(--wf-text-soft);
}


/* ----------------------------------------------------------
   SMOOTH THEME CHANGE
---------------------------------------------------------- */

body,
.latest-panel,
.story-card,
.home-category-card,
.waterfront-article,
.related-card,
.category-story-card,
.category-pagination,
.category-empty,
.info-card,
.home-feed-loading {
    transition:
        background-color
        180ms
        ease,
        color
        180ms
        ease,
        border-color
        180ms
        ease,
        box-shadow
        180ms
        ease;
}


@media (prefers-reduced-motion: reduce) {
    body,
    .latest-panel,
    .story-card,
    .home-category-card,
    .waterfront-article,
    .related-card,
    .category-story-card,
    .category-pagination,
    .category-empty,
    .info-card,
    .home-feed-loading,
    .theme-toggle {
        transition: none;
    }
}


@media (max-width: 700px) {
    .theme-toggle {
        min-width: 40px;

        padding:
            0.5rem
            0.65rem;
    }

    .theme-toggle-text {
        display: none;
    }
}

/* WATERFRONT THEME SYSTEM END */


/* WATERFRONT CLEAN THEME SWITCH START */

.theme-switch {
    position: relative;

    flex: 0 0 auto;

    width: 46px;
    height: 24px;

    margin-left: auto;
    padding: 2px;

    border: 0;
    border-radius: 999px;

    background: #090b72;

    cursor: pointer;

    box-shadow:
        inset
        0
        0
        0
        1px
        rgba(255, 255, 255, 0.12);

    transition:
        background-color
        160ms
        ease;
}


.theme-switch-thumb {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: #ffffff;
    color: #20233a;

    box-shadow:
        0
        1px
        4px
        rgba(0, 0, 0, 0.28);

    transform:
        translateX(0);

    transition:
        transform
        170ms
        ease;
}


.theme-switch-icon {
    width: 14px;
    height: 14px;

    position: absolute;
}


.theme-switch-sun {
    display: block;
}


.theme-switch-moon {
    display: none;
}


html[data-theme="dark"]
.theme-switch {
    background: #74777b;
}


html[data-theme="dark"]
.theme-switch-thumb {
    transform:
        translateX(22px);
}


html[data-theme="dark"]
.theme-switch-sun {
    display: none;
}


html[data-theme="dark"]
.theme-switch-moon {
    display: block;
}


.theme-switch:hover
.theme-switch-thumb {
    box-shadow:
        0
        2px
        7px
        rgba(0, 0, 0, 0.35);
}


.theme-switch:focus-visible {
    outline:
        2px
        solid
        #ffffff;

    outline-offset:
        3px;
}


@media (
    prefers-reduced-motion:
    reduce
) {
    .theme-switch,
    .theme-switch-thumb {
        transition: none;
    }
}

/* WATERFRONT CLEAN THEME SWITCH END */


/* WATERFRONT ROUNDED SURFACES START */

:root {
    --wf-radius-large: 22px;
    --wf-radius-medium: 17px;
    --wf-radius-small: 12px;
}


/* Hero story */

.lead-story {
    border-radius:
        var(--wf-radius-large);

    overflow: hidden;
}


/*
 * The lead background / image must be clipped by
 * the parent radius instead of drawing square corners.
 */
.lead-image {
    overflow: hidden;
}


/* Latest panel beside the hero */

.latest-panel {
    border-radius:
        var(--wf-radius-large);

    overflow: hidden;
}


/* Top Stories */

.story-card {
    border-radius:
        var(--wf-radius-medium);

    overflow: hidden;
}


.story-image {
    overflow: hidden;
}


/* Homepage category cards */

.home-category-card {
    border-radius:
        var(--wf-radius-medium);

    overflow: hidden;
}


/* Right Now cards */

.info-card {
    border-radius:
        var(--wf-radius-medium);

    overflow: hidden;
}


/* Spotlight */

.home-spotlight-card {
    border-radius:
        var(--wf-radius-large);

    overflow: hidden;
}


/* Category listing pages */

.category-story-card {
    border-radius:
        var(--wf-radius-medium);

    overflow: hidden;
}


.category-pagination,
.category-empty {
    border-radius:
        var(--wf-radius-medium);
}


/* Article pages */

.waterfront-article {
    border-radius:
        var(--wf-radius-large);

    overflow: hidden;
}


.related-card {
    border-radius:
        var(--wf-radius-medium);

    overflow: hidden;
}


/*
 * Keep borders smooth in dark mode.
 * Background clipping prevents the border from
 * producing square interior corners.
 */

html[data-theme="dark"]
.lead-story,
html[data-theme="dark"]
.latest-panel,
html[data-theme="dark"]
.story-card,
html[data-theme="dark"]
.home-category-card,
html[data-theme="dark"]
.info-card,
html[data-theme="dark"]
.waterfront-article,
html[data-theme="dark"]
.related-card,
html[data-theme="dark"]
.category-story-card {
    background-clip:
        padding-box;
}


/* WATERFRONT ROUNDED SURFACES END */


/* WATERFRONT LATEST PANEL SPACING START */

.latest-panel {
    padding: 0;
}


.latest-panel .heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 1rem;

    padding:
        1.65rem
        1.65rem
        1.25rem;
}


.latest-panel .heading-row h2 {
    margin:
        0.3rem
        0
        0;
}


.latest-panel .latest-story {
    display: block;

    padding:
        1.15rem
        1.65rem;

    border-top:
        1px
        solid
        var(
            --wf-border,
            rgba(
                255,
                255,
                255,
                0.12
            )
        );

    text-decoration: none;
}


.latest-panel .latest-story time {
    display: block;

    margin-bottom: 0.45rem;

    font-size: 0.75rem;
}


.latest-panel .latest-story strong {
    display: block;

    line-height: 1.32;
}


.latest-panel > .more-link {
    display: block;

    padding:
        1.25rem
        1.65rem
        1.5rem;

    border-top:
        1px
        solid
        var(
            --wf-border,
            rgba(
                255,
                255,
                255,
                0.12
            )
        );
}


/* Give the live dot breathing room */
.latest-panel .live-dot {
    margin-top: 0.65rem;
    margin-right: 0.1rem;
    flex: 0 0 auto;
}


@media (max-width: 600px) {
    .latest-panel .heading-row {
        padding:
            1.35rem
            1.35rem
            1rem;
    }

    .latest-panel .latest-story {
        padding:
            1rem
            1.35rem;
    }

    .latest-panel > .more-link {
        padding:
            1.1rem
            1.35rem
            1.35rem;
    }
}

/* WATERFRONT LATEST PANEL SPACING END */


/* WATERFRONT HOMEPAGE IMAGE SCALE START */

/*
 * The frame keeps a consistent newsroom-card size.
 * The actual image is pulled back inside it so the full
 * photo, graphic, poster or screenshot can be seen.
 */

.home-category-image {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 220px;

    aspect-ratio: auto;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #122942,
            #0b1b2c
        );
}


/*
 * IMPORTANT:
 * This is the real selector used by the live homepage cards.
 *
 * contain = show the whole source image rather than cropping it.
 */
.home-category-image img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain !important;
    object-position: center center !important;

    transform: scale(0.92);

    border-radius: 7px;

    transition:
        transform
        180ms
        ease;
}


/*
 * Very gentle movement only.
 * Do not aggressively zoom the image again.
 */
.home-category-card:hover
.home-category-image img {
    transform:
        scale(0.95);
}


/*
 * The empty-image fallback still fills the frame.
 */
.home-category-image > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 1.5rem;

    text-align: center;
}


/*
 * Category listing pages should also show the complete image.
 */
.category-story-image {
    height: 225px;

    aspect-ratio: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #122942,
            #0b1b2c
        );
}


.category-story-image img {
    width: 100%;
    height: 100%;

    object-fit: contain !important;
    object-position: center center !important;

    transform:
        scale(0.94);
}


/*
 * Related-story thumbnails on article pages.
 */
.related-image {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 190px;

    aspect-ratio: auto;

    background:
        linear-gradient(
            135deg,
            #122942,
            #0b1b2c
        );
}


.related-image img {
    width: 100%;
    height: 100%;

    object-fit: contain !important;
    object-position: center center !important;

    transform:
        scale(0.94);
}


/*
 * Dark mode keeps the framing subtle.
 */
html[data-theme="dark"]
.home-category-image,
html[data-theme="dark"]
.category-story-image,
html[data-theme="dark"]
.related-image {
    background:
        linear-gradient(
            135deg,
            #102237,
            #07131f
        );
}


@media (max-width: 650px) {
    .home-category-image,
    .category-story-image {
        height: 210px;
    }

    .home-category-image img,
    .category-story-image img {
        transform:
            scale(0.94);
    }
}

/* WATERFRONT HOMEPAGE IMAGE SCALE END */


/* WATERFRONT SPOTLIGHT IMAGE FRAMING START */

.home-spotlight-card {
    position: relative;

    min-height: 430px;

    background-color: #07131f;

    /*
     * First background layer = dark gradient
     * Second background layer = actual story image
     */
    background-size:
        100% 100%,
        contain !important;

    background-position:
        center,
        right center !important;

    background-repeat:
        no-repeat,
        no-repeat !important;
}


/*
 * Give the text its own dark zone so it remains
 * readable without forcing the photograph to crop.
 */
.home-spotlight-content {
    position: relative;
    z-index: 2;

    width: min(
        720px,
        58%
    );

    padding:
        3rem;

    background:
        linear-gradient(
            90deg,
            rgba(3, 12, 24, 0.96) 0%,
            rgba(3, 12, 24, 0.88) 65%,
            rgba(3, 12, 24, 0) 100%
        );
}


/*
 * Keep the headline from taking over the entire card.
 */
.home-spotlight-content h3 {
    font-size:
        clamp(
            2rem,
            4vw,
            3.5rem
        );

    max-width:
        680px;
}


@media (max-width: 850px) {
    .home-spotlight-card {
        min-height:
            520px;

        background-size:
            100% 100%,
            contain !important;

        background-position:
            center,
            center top !important;
    }

    .home-spotlight-content {
        width:
            100%;

        align-self:
            flex-end;

        padding:
            2rem;

        background:
            linear-gradient(
                0deg,
                rgba(3, 12, 24, 0.98) 0%,
                rgba(3, 12, 24, 0.88) 70%,
                rgba(3, 12, 24, 0.18) 100%
            );
    }
}

/* WATERFRONT SPOTLIGHT IMAGE FRAMING END */


/* WATERFRONT CLEAN NAVIGATION START */

.main-nav {
    position: relative;
    z-index: 50;

    background:
        linear-gradient(
            90deg,
            #100057 0%,
            #090044 55%,
            #100057 100%
        );

    border-bottom:
        3px
        solid
        transparent;

    border-image:
        linear-gradient(
            90deg,
            #2465ff,
            #c900db,
            #2bd82b
        )
        1;
}


.main-nav .nav-inner {
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: nowrap !important;

    gap: 0.35rem;
}


.main-nav .nav-inner > a,
.main-nav .nav-more > summary {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 52px;

    padding:
        0
        0.9rem;

    border-radius: 9px;

    color: #ffffff;

    font-size: 0.82rem;
    font-weight: 750;

    line-height: 1;

    white-space: nowrap;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color
        150ms
        ease,
        color
        150ms
        ease;
}


.main-nav .nav-inner > a:hover,
.main-nav .nav-more > summary:hover,
.main-nav .nav-more[open] > summary {
    background:
        rgba(
            255,
            255,
            255,
            0.10
        );
}


.main-nav .nav-inner > a::after {
    content: "";

    position: absolute;

    left: 0.9rem;
    right: 0.9rem;
    bottom: 7px;

    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #4d84ff,
            #e31bdd
        );

    transform:
        scaleX(0);

    transform-origin:
        center;

    transition:
        transform
        150ms
        ease;
}


.main-nav .nav-inner > a:hover::after {
    transform:
        scaleX(1);
}


/* ----------------------------------------------------------
   MORE DROPDOWN
---------------------------------------------------------- */

.nav-more {
    position: relative;

    margin: 0;
}


.nav-more > summary {
    list-style: none;
}


.nav-more > summary::-webkit-details-marker {
    display: none;
}


.nav-more-chevron {
    margin-left: 0.38rem;

    font-size: 0.68rem;

    transition:
        transform
        150ms
        ease;
}


.nav-more[open]
.nav-more-chevron {
    transform:
        rotate(180deg);
}


.nav-more-menu {
    position: absolute;

    top:
        calc(
            100% + 7px
        );

    right: 0;

    width: 230px;

    padding: 0.5rem;

    border:
        1px
        solid
        rgba(
            255,
            255,
            255,
            0.15
        );

    border-radius: 14px;

    background:
        #0d1630;

    box-shadow:
        0
        18px
        48px
        rgba(
            0,
            0,
            0,
            0.38
        );
}


.nav-more-menu a {
    display: block;

    padding:
        0.8rem
        0.9rem;

    border-radius: 9px;

    color: #ffffff;

    font-size: 0.82rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color
        140ms
        ease;
}


.nav-more-menu a:hover {
    background:
        rgba(
            255,
            255,
            255,
            0.10
        );
}


/* ----------------------------------------------------------
   DESKTOP COMPRESSION
---------------------------------------------------------- */

@media (max-width: 1050px) {
    .main-nav .nav-inner > a,
    .main-nav .nav-more > summary {
        padding:
            0
            0.65rem;

        font-size:
            0.76rem;
    }
}


/* ----------------------------------------------------------
   MOBILE NAVIGATION
---------------------------------------------------------- */

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


    .main-nav.open {
        display: block;
    }


    .main-nav .nav-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        min-height: 0;

        padding:
            0.8rem
            1rem
            1rem;

        gap: 0.15rem;
    }


    .main-nav .nav-inner > a,
    .main-nav .nav-more > summary {
        width: 100%;

        min-height: 44px;

        justify-content:
            space-between;

        padding:
            0
            0.8rem;

        font-size:
            0.9rem;
    }


    .main-nav .nav-inner > a::after {
        display: none;
    }


    .nav-more {
        width: 100%;
    }


    .nav-more-menu {
        position: static;

        width: 100%;

        margin-top: 0.25rem;

        border: 0;

        border-radius: 10px;

        background:
            rgba(
                255,
                255,
                255,
                0.05
            );

        box-shadow: none;
    }


    .nav-more-menu a {
        padding-left:
            1.4rem;
    }
}

/* WATERFRONT CLEAN NAVIGATION END */


/* WATERFRONT ONE ROW NAVIGATION START */

.main-nav {
    position: relative;
    z-index: 50;
}


/*
 * Override the normal site shell width only for navigation.
 * This gives the category menu enough horizontal room.
 */
.main-nav .nav-inner {
    width: min(
        calc(100% - 32px),
        1420px
    );

    max-width: 1420px;

    margin:
        0
        auto;

    min-height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: nowrap !important;

    gap: 0.15rem;
}


/*
 * Compact but still comfortable.
 */
.main-nav .nav-inner > a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 56px;

    padding:
        0
        0.62rem;

    color: #ffffff;

    font-size:
        clamp(
            0.68rem,
            0.78vw,
            0.82rem
        );

    font-weight: 750;

    line-height: 1;

    white-space: nowrap;

    text-decoration: none;

    border-radius: 8px;

    transition:
        background-color
        140ms
        ease;
}


.main-nav .nav-inner > a:hover {
    background:
        rgba(
            255,
            255,
            255,
            0.10
        );
}


/*
 * Slightly compress further on medium desktop widths.
 */
@media (
    min-width: 1051px
)
and (
    max-width: 1280px
) {
    .main-nav .nav-inner {
        width:
            calc(
                100% - 18px
            );

        gap: 0;
    }

    .main-nav .nav-inner > a {
        padding:
            0
            0.42rem;

        font-size:
            0.68rem;
    }
}


/*
 * Once the full menu genuinely no longer fits,
 * use the existing hamburger/mobile navigation.
 */
@media (max-width: 1050px) {
    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav .nav-inner {
        width:
            calc(
                100% - 24px
            );

        max-width: none;

        min-height: 0;

        padding:
            0.8rem
            0;

        flex-direction: column;
        align-items: stretch;

        gap: 0.15rem;
    }

    .main-nav .nav-inner > a {
        width: 100%;

        min-height: 44px;

        justify-content: flex-start;

        padding:
            0
            0.9rem;

        font-size:
            0.9rem;
    }
}

/* WATERFRONT ONE ROW NAVIGATION END */


/* WATERFRONT FINAL FULL DESKTOP NAV START */

.main-nav .nav-inner {
    width: 100% !important;
    max-width: 1500px !important;

    margin: 0 auto;

    padding:
        0
        0.6rem;

    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: row !important;
    flex-wrap: nowrap !important;

    gap: 0;
}


.main-nav .nav-inner > a {
    flex:
        0
        0
        auto;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding:
        0
        0.4rem;

    font-size:
        0.68rem;

    font-weight: 750;

    line-height: 1;

    white-space: nowrap;

    color: #ffffff;

    text-decoration: none;
}


/*
 * More room on large screens.
 */
@media (min-width: 1250px) {
    .main-nav .nav-inner > a {
        padding:
            0
            0.65rem;

        font-size:
            0.76rem;
    }
}


/*
 * Slightly tighter on smaller desktop screens,
 * but still one line.
 */
@media (
    min-width: 901px
)
and (
    max-width: 1100px
) {
    .main-nav .nav-inner {
        padding:
            0
            0.25rem;
    }

    .main-nav .nav-inner > a {
        padding:
            0
            0.28rem;

        font-size:
            0.62rem;
    }
}


/*
 * Only use hamburger/mobile layout when the
 * screen actually becomes too narrow.
 */
@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav .nav-inner {
        width: 100% !important;

        min-height: 0;

        padding:
            0.75rem
            1rem;

        flex-direction:
            column !important;

        align-items:
            stretch;

        gap:
            0.1rem;
    }

    .main-nav .nav-inner > a {
        width: 100%;

        min-height: 44px;

        justify-content:
            flex-start;

        padding:
            0
            0.8rem;

        font-size:
            0.9rem;
    }
}

/* WATERFRONT FINAL FULL DESKTOP NAV END */


/* WATERFRONT OWNER NAVIGATION START */

.main-nav .nav-inner {
    width: min(
        calc(100% - 28px),
        1450px
    ) !important;

    max-width: 1450px !important;

    margin:
        0
        auto;

    padding: 0;

    min-height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: row !important;
    flex-wrap: nowrap !important;

    gap: 0;
}


.main-nav .nav-inner > a {
    position: relative;

    flex:
        0
        0
        auto;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 55px;

    padding:
        0
        0.75rem;

    border-left:
        1px
        solid
        rgba(
            255,
            255,
            255,
            0.13
        );

    border-radius: 0;

    color: #ffffff;

    font-size:
        0.78rem;

    font-weight: 750;

    line-height: 1;

    white-space: nowrap;

    text-decoration: none;

    transition:
        background-color
        140ms
        ease;
}


.main-nav .nav-inner > a:last-child {
    border-right:
        1px
        solid
        rgba(
            255,
            255,
            255,
            0.13
        );
}


.main-nav .nav-inner > a:hover {
    background:
        rgba(
            255,
            255,
            255,
            0.09
        );
}


/* Home icon */

.main-nav .nav-home {
    width: 52px;

    padding: 0;
}


.main-nav .nav-home svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Remove old animated underline treatment */

.main-nav .nav-inner > a::after {
    display: none !important;
}


/* Tighten slightly on standard laptops */

@media (
    min-width: 901px
)
and (
    max-width: 1250px
) {
    .main-nav .nav-inner > a {
        padding:
            0
            0.48rem;

        font-size:
            0.7rem;
    }

    .main-nav .nav-home {
        width: 44px;
    }
}


/* Existing hamburger layout */

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

    .main-nav.open {
        display: block;
    }

    .main-nav .nav-inner {
        width: 100% !important;

        min-height: 0;

        padding:
            0.75rem
            1rem;

        flex-direction:
            column !important;

        align-items:
            stretch;

        gap: 0;
    }

    .main-nav .nav-inner > a {
        width: 100%;

        min-height: 44px;

        justify-content:
            flex-start;

        padding:
            0
            0.9rem;

        border:
            0;

        border-bottom:
            1px
            solid
            rgba(
                255,
                255,
                255,
                0.10
            );

        font-size:
            0.9rem;
    }

    .main-nav .nav-home {
        width: 100%;
    }
}

/* WATERFRONT OWNER NAVIGATION END */


/* ==========================================================
   WATERFRONT FINAL MOBILE RESPONSIVE PASS
========================================================== */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

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


/* ----------------------------------------------------------
   MOBILE
---------------------------------------------------------- */

@media (max-width: 700px) {

    /* Global shell */

    .shell {
        width: calc(100% - 28px) !important;
        max-width: none !important;
        margin-left: auto;
        margin-right: auto;
    }


    /* --------------------------------------
       HEADER
    -------------------------------------- */

    .brand-inner {
        min-height: 76px;
        gap: 0.6rem;
    }

    .waterfront-header-brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .waterfront-header-image {
        width: 100%;
        max-width: 520px;
        height: auto;
        object-fit: contain;
    }

    .theme-switch {
        flex: 0 0 46px;
        margin-left: 0.4rem;
    }

    .menu-button {
        flex: 0 0 auto;
    }


    /* --------------------------------------
       LATEST STRIP
    -------------------------------------- */

    .latest-strip {
        padding: 0;
    }

    .latest-inner {
        min-height: 82px;

        display: grid !important;

        grid-template-columns:
            auto
            1fr;

        grid-template-areas:
            "label link"
            "story story";

        align-items: center;

        gap:
            0.45rem
            0.8rem;

        padding:
            0.85rem
            0;
    }

    .latest-label {
        grid-area: label;

        width: fit-content;

        margin: 0;
    }

    .latest-inner > a {
        grid-area: link;

        justify-self: end;

        white-space: nowrap;
    }

    .latest-inner > p,
    [data-latest-strip-title] {
        grid-area: story;

        min-width: 0;

        margin: 0;

        overflow: hidden;

        display: -webkit-box;

        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;

        line-height: 1.25;
    }


    /* --------------------------------------
       HERO
    -------------------------------------- */

    .hero {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .hero-grid {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 1.4rem !important;
    }

    .hero-grid > * {
        min-width: 0 !important;
        width: 100% !important;
    }

    .lead-story {
        width: 100%;
        min-height: 420px;
    }

    .lead-image {
        width: 100%;
        min-height: 420px;
    }

    .lead-content {
        width: 100%;

        padding:
            2rem
            1.4rem;
    }

    .lead-content h1 {
        max-width: none;

        font-size:
            clamp(
                2rem,
                10vw,
                3.3rem
            );

        line-height: 1.02;
    }

    .lead-content p {
        max-width: none;

        font-size: 1rem;
        line-height: 1.55;
    }


    /* --------------------------------------
       LATEST PANEL
    -------------------------------------- */

    .latest-panel {
        width: 100% !important;
        min-width: 0 !important;
    }

    .latest-panel .heading-row {
        padding:
            1.4rem
            1.35rem
            1.1rem;
    }

    .latest-panel .heading-row h2 {
        font-size: 2.2rem;
    }

    .latest-panel .latest-story {
        padding:
            1rem
            1.35rem;
    }

    .latest-panel .latest-story strong {
        font-size: 1rem;
        line-height: 1.35;
    }

    .latest-panel > .more-link {
        padding:
            1.15rem
            1.35rem
            1.3rem;
    }


    /* --------------------------------------
       SECTION HEADINGS
    -------------------------------------- */

    .section-heading {
        display: flex;

        align-items: flex-end;
        justify-content: space-between;

        gap: 1rem;

        margin-bottom: 1.4rem;
    }

    .section-heading h2 {
        font-size:
            clamp(
                2rem,
                9vw,
                2.7rem
            );

        line-height: 1;
    }

    .section-heading .more-link {
        flex: 0 0 auto;

        max-width: 45%;

        text-align: right;

        font-size: 0.85rem;
    }


    /* --------------------------------------
       TOP STORIES
    -------------------------------------- */

    .story-grid {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 1.25rem !important;
    }

    .story-card {
        width: 100% !important;
        min-width: 0 !important;
    }

    .story-image {
        width: 100% !important;
        height: 230px !important;

        min-height: 0 !important;
    }

    .story-image img {
        width: 100%;
        height: 100%;

        object-fit: contain !important;
        object-position: center;
    }

    .story-body {
        padding: 1.3rem !important;
    }

    .story-body h3 {
        font-size: 1.35rem;
        line-height: 1.2;
    }

    .story-body p {
        font-size: 0.98rem;
        line-height: 1.55;
    }


    /* --------------------------------------
       RIGHT NOW
    -------------------------------------- */

    .right-now {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .right-now .section-heading {
        align-items: flex-start;
    }

    .right-now .section-heading > span {
        max-width: 42%;

        font-size: 0.85rem;
        line-height: 1.35;

        text-align: right;
    }

    .info-grid {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 1rem !important;
    }

    .info-card {
        width: 100% !important;

        min-width: 0 !important;

        min-height: 0 !important;

        padding:
            1.4rem !important;
    }

    .weather-live-card,
    .fuel-live-card {
        width: 100% !important;
    }

    .weather-live-main {
        display: flex;
        align-items: center;

        gap: 1rem;
    }

    .weather-live-temp {
        font-size:
            clamp(
                3rem,
                16vw,
                4.6rem
            );
    }

    .weather-live-details {
        display: grid;

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

        gap: 0.75rem;
    }


    /* --------------------------------------
       HOMEPAGE CATEGORY SECTIONS
    -------------------------------------- */

    .home-category-section {
        padding-top: 2.8rem;
        padding-bottom: 2.8rem;
    }

    .home-category-grid {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 1.2rem !important;
    }

    .home-category-card {
        width: 100%;
        min-width: 0;
    }

    .home-category-image {
        height: 230px !important;
    }

    .home-category-image img {
        object-fit: contain !important;

        transform:
            scale(0.92) !important;
    }

    .home-category-copy {
        padding: 1.25rem;
    }

    .home-category-copy h3 {
        font-size: 1.3rem;
    }


    /* --------------------------------------
       SPOTLIGHT
    -------------------------------------- */

    .home-live-spotlight {
        padding:
            3rem
            0;
    }

    .home-spotlight-card {
        min-height: 560px !important;

        display: flex !important;

        align-items: flex-end !important;

        background-size:
            100% 100%,
            contain !important;

        background-position:
            center,
            center top !important;

        background-repeat:
            no-repeat,
            no-repeat !important;
    }

    .home-spotlight-content {
        width: 100% !important;

        padding:
            1.5rem !important;

        background:
            linear-gradient(
                0deg,
                rgba(
                    3,
                    12,
                    24,
                    0.99
                )
                0%,
                rgba(
                    3,
                    12,
                    24,
                    0.94
                )
                70%,
                rgba(
                    3,
                    12,
                    24,
                    0.20
                )
                100%
            ) !important;
    }

    .home-spotlight-content h3 {
        font-size:
            clamp(
                2rem,
                10vw,
                3rem
            ) !important;

        line-height: 1.04;
    }


    /* --------------------------------------
       CATEGORY PAGES
    -------------------------------------- */

    .category-story-grid {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 1.2rem !important;
    }

    .category-story-card {
        width: 100%;
        min-width: 0;
    }

    .category-story-image {
        height: 230px !important;
    }


    /* --------------------------------------
       ARTICLE PAGE
    -------------------------------------- */

    .article-page {
        padding-top: 1.2rem;
    }

    .article-header {
        padding:
            1.7rem
            1.25rem
            1.3rem !important;
    }

    .article-header h1 {
        font-size:
            clamp(
                2rem,
                10vw,
                3.2rem
            );

        line-height: 1.04;
    }

    .article-layout {
        display: block !important;

        padding:
            1.6rem
            1.25rem !important;
    }

    .article-content {
        width: 100%;
        min-width: 0;

        font-size: 1rem;
        line-height: 1.7;
    }

    .article-sidebar {
        position: static !important;

        width: 100%;

        margin-top: 2rem;
    }

    .related-grid {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 1rem !important;
    }


    /* --------------------------------------
       PAGINATION
    -------------------------------------- */

    .category-pagination {
        flex-direction: column;

        align-items: stretch;

        text-align: center;
    }


    /* --------------------------------------
       PREVENT FLEX/GRID OVERFLOW
    -------------------------------------- */

    .hero-grid > *,
    .story-grid > *,
    .info-grid > *,
    .home-category-grid > *,
    .category-story-grid > *,
    .related-grid > * {
        min-width: 0 !important;
        max-width: 100% !important;
    }
}


/* ----------------------------------------------------------
   VERY SMALL PHONES
---------------------------------------------------------- */

@media (max-width: 390px) {

    .shell {
        width:
            calc(
                100% - 20px
            ) !important;
    }

    .latest-panel .latest-story {
        padding:
            0.95rem
            1.05rem;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading .more-link {
        font-size: 0.76rem;
    }

    .lead-content {
        padding:
            1.5rem
            1.1rem;
    }

    .info-card {
        padding:
            1.15rem !important;
    }
}

/* ==========================================================
   END WATERFRONT FINAL MOBILE RESPONSIVE PASS
========================================================== */


/* WATERFRONT PUBLIC SEARCH START */

.header-search-button {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    margin-left: auto;

    border:
        1px
        solid
        rgba(255,255,255,0.22);

    border-radius: 50%;

    color: #ffffff;

    background:
        rgba(255,255,255,0.06);

    text-decoration: none;
}


.header-search-button + .theme-switch {
    margin-left: 0.45rem;
}


.header-search-button svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
}


.header-search-button:hover {
    background:
        rgba(255,255,255,0.14);
}


.public-search-form {
    max-width: 900px;

    display: grid;

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

    gap: 0.75rem;

    margin:
        0
        0
        2rem;
}


.public-search-form input {
    width: 100%;

    padding:
        1rem
        1.15rem;

    border:
        1px
        solid
        var(--wf-border);

    border-radius: 13px;

    background:
        var(--wf-surface);

    color:
        var(--wf-text);

    font: inherit;

    font-size: 1rem;
}


.public-search-form button {
    padding:
        0
        1.5rem;

    border: 0;

    border-radius: 13px;

    background:
        #155cff;

    color: #ffffff;

    font: inherit;
    font-weight: 800;

    cursor: pointer;
}


.search-results-heading {
    margin:
        0
        0
        1.5rem;

    color:
        var(--wf-muted);
}


.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0,0,0,0);

    white-space: nowrap;

    border: 0;
}


@media (max-width: 600px) {
    .header-search-button {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

    .public-search-form {
        grid-template-columns:
            1fr;
    }

    .public-search-form button {
        min-height: 48px;
    }
}

/* WATERFRONT PUBLIC SEARCH END */


/* WATERFRONT HEADER SEARCH BAR START */

.brand-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}


.header-search-form {
    flex:
        0
        1
        330px;

    width: min(
        330px,
        28vw
    );

    min-width: 210px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        42px;

    align-items: center;

    margin-left: auto;

    border:
        1px
        solid
        rgba(
            255,
            255,
            255,
            0.22
        );

    border-radius: 999px;

    overflow: hidden;

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

    transition:
        border-color
        150ms
        ease,
        background-color
        150ms
        ease;
}


.header-search-form:focus-within {
    border-color:
        rgba(
            255,
            255,
            255,
            0.55
        );

    background:
        rgba(
            255,
            255,
            255,
            0.12
        );
}


.header-search-form input {
    min-width: 0;

    height: 40px;

    padding:
        0
        0.95rem;

    border: 0;
    outline: 0;

    background: transparent;

    color: #ffffff;

    font: inherit;

    font-size: 0.82rem;
}


.header-search-form input::placeholder {
    color:
        rgba(
            255,
            255,
            255,
            0.68
        );
}


.header-search-form button {
    width: 42px;
    height: 40px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 0;
    border-left:
        1px
        solid
        rgba(
            255,
            255,
            255,
            0.15
        );

    background: transparent;

    color: #ffffff;

    cursor: pointer;
}


.header-search-form button:hover {
    background:
        rgba(
            255,
            255,
            255,
            0.10
        );
}


.header-search-form svg {
    width: 17px;
    height: 17px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
}


.header-search-form + .theme-switch {
    margin-left: 0;
}


/* Tablet */

@media (
    min-width: 701px
)
and (
    max-width: 1000px
) {
    .header-search-form {
        flex-basis: 240px;

        width: 240px;

        min-width: 180px;
    }
}


/* Mobile */

@media (max-width: 700px) {

    .brand-inner {
        flex-wrap: wrap;

        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }


    .waterfront-header-brand {
        flex:
            1
            1
            calc(100% - 110px);
    }


    .theme-switch,
    .menu-button {
        order: 2;
    }


    .header-search-form {
        order: 3;

        flex:
            1
            1
            100%;

        width: 100%;
        min-width: 0;

        margin:
            0.35rem
            0
            0;
    }


    .header-search-form input {
        height: 44px;

        font-size: 0.95rem;
    }


    .header-search-form button {
        height: 44px;
        width: 46px;
    }
}

/* WATERFRONT HEADER SEARCH BAR END */


/* ==========================================================
   WATERFRONT HOMEPAGE DARK MODE COMPLETION
========================================================== */


/* ----------------------------------------------------------
   LATEST STRIP
---------------------------------------------------------- */

html[data-theme="dark"] .latest-strip {
    background: #0e1b28 !important;
    color: #edf4fa !important;

    border-top:
        1px
        solid
        #283b4c;

    border-bottom:
        1px
        solid
        #283b4c;
}


html[data-theme="dark"] .latest-inner {
    background: transparent !important;
    color: #edf4fa !important;
}


html[data-theme="dark"] .latest-inner p,
html[data-theme="dark"] [data-latest-strip-title] {
    color: #edf4fa !important;
}


html[data-theme="dark"] .latest-inner a,
html[data-theme="dark"] [data-latest-strip-link] {
    color: #87baff !important;
}


html[data-theme="dark"] .latest-label {
    color: #ffffff !important;
}


/* ----------------------------------------------------------
   ABOUT SECTION
---------------------------------------------------------- */

html[data-theme="dark"] .about,
html[data-theme="dark"] #about {
    background: #0e1b28 !important;
    color: #edf4fa !important;
}


html[data-theme="dark"] #about h1,
html[data-theme="dark"] #about h2,
html[data-theme="dark"] #about h3,
html[data-theme="dark"] #about h4,
html[data-theme="dark"] #about strong {
    color: #edf4fa !important;
}


html[data-theme="dark"] #about p,
html[data-theme="dark"] #about span {
    color: #aab8c5 !important;
}


html[data-theme="dark"] #about a {
    color: #87baff !important;
}


/*
 * Catch any cards or boxes inside About that
 * still have a hard-coded white background.
 */

html[data-theme="dark"] #about article,
html[data-theme="dark"] #about .card,
html[data-theme="dark"] #about [class*="card"] {
    background: #142433 !important;
    color: #edf4fa !important;

    border-color: #283b4c !important;
}


/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */

html[data-theme="dark"] footer,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .article-footer {
    background: #07111c !important;
    color: #aab8c5 !important;

    border-color: #283b4c !important;
}


html[data-theme="dark"] footer a,
html[data-theme="dark"] .site-footer a {
    color: #87baff !important;
}


/* ----------------------------------------------------------
   GENERAL DARK-MODE SECTION SAFETY
---------------------------------------------------------- */

/*
 * Prevent plain white section backgrounds from sneaking
 * through on homepage content sections.
 */

html[data-theme="dark"] main {
    background: #07111c;
}


html[data-theme="dark"] .section {
    color: #edf4fa;
}


/* ----------------------------------------------------------
   TEXT SELECTION
---------------------------------------------------------- */

html[data-theme="dark"] ::selection {
    background: #2d68e8;
    color: #ffffff;
}


/* ==========================================================
   END HOMEPAGE DARK MODE COMPLETION
========================================================== */


/* ==========================================================
   WATERFRONT SMALL CONTACT FORM
========================================================== */

.contact-mini {
    padding:
        4rem
        0;

    background:
        var(
            --wf-surface,
            #ffffff
        );

    color:
        var(
            --wf-text,
            #071c2c
        );
}


.contact-mini-inner {
    display: grid;

    grid-template-columns:
        minmax(220px, 0.75fr)
        minmax(0, 1.25fr);

    gap: 3rem;

    align-items: start;
}


.contact-mini-intro h2 {
    margin:
        0.35rem
        0
        0.8rem;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    line-height: 1;
}


.contact-mini-intro p {
    max-width: 420px;

    margin: 0;

    color:
        var(
            --wf-text-soft,
            #53616f
        );

    line-height: 1.6;
}


.contact-mini-form {
    display: grid;
    gap: 1rem;
}


.contact-mini-row {
    display: grid;

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

    gap: 1rem;
}


.contact-mini-form label {
    display: grid;
    gap: 0.4rem;

    font-size: 0.8rem;
    font-weight: 750;
}


.contact-mini-form input,
.contact-mini-form textarea {
    width: 100%;

    padding:
        0.85rem
        0.95rem;

    border:
        1px
        solid
        var(
            --wf-border,
            #dce3eb
        );

    border-radius: 10px;

    background:
        var(
            --wf-page,
            #f4f6f9
        );

    color:
        var(
            --wf-text,
            #071c2c
        );

    font: inherit;

    font-size: 16px;
}


.contact-mini-form textarea {
    resize: vertical;

    min-height: 110px;
}


.contact-mini-actions {
    display: flex;
    align-items: center;
    gap: 1rem;

    flex-wrap: wrap;
}


.contact-mini-actions button {
    min-height: 44px;

    padding:
        0
        1.25rem;

    border: 0;
    border-radius: 10px;

    background:
        #155cff;

    color: #ffffff;

    font: inherit;
    font-weight: 800;

    cursor: pointer;
}


.contact-mini-actions button:disabled {
    opacity: 0.6;
    cursor: wait;
}


.contact-mini-status {
    margin: 0;

    font-size: 0.85rem;

    color:
        var(
            --wf-text-soft,
            #53616f
        );
}


.contact-mini-status.is-success {
    color: #1f8a47;
}


.contact-mini-status.is-error {
    color: #d04545;
}


.contact-honeypot {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


/* Dark mode */

html[data-theme="dark"]
.contact-mini {
    background: #0e1b28;

    color: #edf4fa;
}


html[data-theme="dark"]
.contact-mini-intro p {
    color: #aab8c5;
}


html[data-theme="dark"]
.contact-mini-form input,
html[data-theme="dark"]
.contact-mini-form textarea {
    background: #07111c;

    border-color: #283b4c;

    color: #edf4fa;
}


/* Mobile */

@media (max-width: 700px) {

    .contact-mini {
        padding:
            3rem
            0;
    }


    .contact-mini-inner {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 1.5rem;
    }


    .contact-mini-row {
        grid-template-columns:
            minmax(0, 1fr);
    }


    .contact-mini-actions {
        align-items: stretch;

        flex-direction: column;
    }


    .contact-mini-actions button {
        width: 100%;
        min-height: 48px;
    }
}

/* END WATERFRONT SMALL CONTACT FORM */


/* ==========================================================
   CONTACT ANCHOR NAVIGATION
========================================================== */

html {
    scroll-behavior: smooth;
}


#contact {
    scroll-margin-top: 110px;
}


/* Keep anchor scrolling comfortable on phones */

@media (max-width: 700px) {

    #contact {
        scroll-margin-top: 85px;
    }

}

/* END CONTACT ANCHOR NAVIGATION */


/* ==========================================================
   LIGHTHOUSE MEDIA FOOTER CREDIT
========================================================== */

.footer-powered {
    white-space: nowrap;
}


.footer-powered a {
    color: inherit;

    font-weight: 700;

    text-decoration: none;

    border-bottom:
        1px
        solid
        currentColor;

    transition:
        opacity
        0.2s
        ease;
}


.footer-powered a:hover,
.footer-powered a:focus-visible {
    opacity: 0.7;
}


html[data-theme="dark"]
.footer-powered a {
    color: #87baff !important;
}


@media (max-width: 700px) {

    .footer-powered {
        white-space: normal;
    }

}

/* END LIGHTHOUSE MEDIA FOOTER CREDIT */


/* ==========================================================
   DARK MODE SURFACE SAFETY NET
========================================================== */

html[data-theme="dark"] main {
    background: #07111c !important;
}


html[data-theme="dark"] .story-body,
html[data-theme="dark"] .category-card-body,
html[data-theme="dark"] .home-category-copy,
html[data-theme="dark"] .search-result-body {
    background: #0e1b28 !important;
}


/* END DARK MODE SURFACE SAFETY NET */


/* ==========================================================
   RIGHT NOW AUTHORITATIVE SOURCE LINKS
========================================================== */

.info-card .info-secondary-link {
    display: block;

    width: fit-content;

    margin-top: 0.75rem;

    font-size: 0.78rem;
    font-weight: 700;

    opacity: 0.72;

    text-decoration: none;
}


.info-card .info-secondary-link:hover,
.info-card .info-secondary-link:focus-visible {
    opacity: 1;
    text-decoration: underline;
}


html[data-theme="dark"]
.info-card .info-secondary-link {
    color: #9fc8ff !important;
}


/* END RIGHT NOW AUTHORITATIVE SOURCE LINKS */
