/* ==========================================================================
   Homepage (front-page.php, inc/homepage.php)
   Loaded on the homepage only, after theme.css
   ========================================================================== */

.wu-home {
    --wu-home-navy: var(--wu-navy, #1d3f70);
    --wu-home-navy-text: #dbe5f3;
    --wu-home-sky: #eef4fb;
    --wu-home-sky-text: #123d6e;
    --wu-home-card-border: #ececec;
    --wu-home-gap: 20px;
}

/* theme.css shows every img as a block: keep hidden things hidden */
.wu-home [hidden] {
    display: none !important;
}

body.home .wu-main {
    padding-top: 0;
    overflow-x: clip; /* the full-width bands */
}

/* ---------- Shared pieces ---------- */

.wu-home-h2 {
    font-family: var(--wu-font-heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
}

.wu-home-h2--big {
    font-size: 28px;
}

.wu-home-h2 a:hover {
    text-decoration: underline;
}

.wu-home-h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--wu-font-heading);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.wu-home-cat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--sec, var(--wu-red));
}

.wu-home-section {
    margin-top: 52px;
}

.wu-home-section-head,
.wu-home-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.wu-home-section-head--rule {
    padding-bottom: 8px;
    border-bottom: 3px solid var(--sec, var(--wu-navy));
}

.wu-home-section-note,
.wu-home-panel-note {
    margin: 0;
    font-size: 14px;
    color: var(--wu-text-secondary);
}

.wu-home-section-link,
.wu-home-panel-link,
.wu-home-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--sec, var(--wu-navy));
}

.wu-home-section-link:hover,
.wu-home-panel-link:hover,
.wu-home-more:hover {
    text-decoration: underline;
}

.wu-home-panel {
    background: var(--wu-bg-card);
    border: 1px solid var(--wu-home-card-border);
    border-radius: 10px;
    padding: 22px 24px;
}

/* Only shown until home.js turns the panels into tabs */
.wu-home-panel-label {
    font-family: var(--wu-font-heading);
    font-size: 17px;
    font-weight: 700;
    margin: 18px 0 10px;
}

[data-wu-home-tabs].is-tabs .wu-home-panel-label {
    display: none;
}

[data-wu-home-tabs].is-tabs [data-wu-panel][hidden] {
    display: none;
}

.wu-home-grid {
    display: grid;
    gap: var(--wu-home-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.wu-home-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wu-home-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wu-home-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    font-size: 14px;
}

.wu-home-links-lead {
    font-weight: 700;
    margin-right: 4px;
}

.wu-home-links-lead:hover {
    text-decoration: underline;
}

.wu-home-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 12px;
    border: 1px solid #d6d6d6;
    border-radius: 999px;
    background: var(--wu-bg-card);
    font-weight: 500;
    transition: border-color var(--wu-transition);
}

.wu-home-pill:hover {
    border-color: var(--wu-text);
}

/* Steps of a case: Charged 14 Mar → Admitted 2 Aug → Jailed 3 Nov */
.wu-home-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.wu-home-step {
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.wu-home-step.is-current {
    background: #fff;
    color: var(--sec, var(--band, var(--wu-red)));
    font-weight: 700;
}

/* ---------- A story (template-parts/home-story.php) ---------- */

.wu-home-story {
    min-width: 0;
}

.wu-home-story-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--wu-bg-card);
    border: 1px solid var(--wu-home-card-border);
    border-radius: 8px;
    overflow: hidden;
    color: var(--wu-text);
    transition: box-shadow var(--wu-transition);
}

.wu-home-story-link:hover {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.wu-home-story-link:hover .wu-home-story-title {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.wu-home-thumb {
    display: block;
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #e3e5e8;
}

.wu-home-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wu-home-thumb--tall {
    background: #111;
}

.wu-home-thumb--tall::before {
    content: "";
    position: absolute;
    inset: -4%;
    background: var(--wu-thumb-bg) center / cover no-repeat;
    filter: blur(5px) brightness(0.45);
}

.wu-home-thumb--tall img {
    position: relative;
    object-fit: contain;
}

.wu-home-story-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 16px;
    flex: 1 1 auto;
}

.wu-home-story-title {
    font-family: var(--wu-font-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.wu-home-story-dek {
    font-size: 14px;
    line-height: 1.5;
    color: var(--wu-text-secondary);
}

.wu-home-story-time {
    margin-top: auto;
    font-size: 12px;
    color: var(--wu-text-secondary);
}

/* At the side: the picture beside the words */
.wu-home-story--row .wu-home-story-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    background: none;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.wu-home-story--row .wu-home-story-link:hover {
    box-shadow: none;
}

.wu-home-story--row .wu-home-thumb {
    border-radius: 8px;
}

.wu-home-story--row .wu-home-story-body {
    padding: 0;
}

.wu-home-story--row .wu-home-story-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.wu-home-story--row.wu-home-story--nophoto .wu-home-story-link {
    grid-template-columns: minmax(0, 1fr);
}

/* ==========================================================================
   The top: navy band, hills at its foot
   ========================================================================== */

.wu-home-top {
    --sec: var(--wu-red);
    position: relative;
    padding: 20px 0 120px;
    color: #fff;
    background: url("../images/hills-dusk.svg") center bottom / 100% 160px no-repeat, var(--wu-home-navy);
    background: url("../images/hills-dusk.svg") center bottom / 100% 160px no-repeat, linear-gradient(160deg, color-mix(in srgb, var(--wu-home-navy) 86%, #fff), var(--wu-home-navy) 45%, color-mix(in srgb, var(--wu-home-navy) 82%, #000));
    margin-bottom: -60px; /* Today in Wales sits over the hills */
}

/* Under the navy header (inc/header.php) the band starts in the header's
   navy, so the two run together, and darkens towards the hills */
.wu-navy-header .wu-home-top {
    padding-top: 14px;
    background: url("../images/hills-dusk.svg") center bottom / 100% 160px no-repeat, linear-gradient(180deg, var(--wu-home-navy) 0, var(--wu-home-navy) 30%, color-mix(in srgb, var(--wu-home-navy) 80%, #000));
}

/* Phones: a search box to tap at the top of the page, which opens the
   header's search over the screen */
.wu-home-search {
    display: none;
}

/* What people are searching for (inc/header.php), as chips */
.wu-home-trending {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: -2px 0 16px;
    font-size: 13px;
    color: var(--wu-navy-soft, #c9d8ee);
}

.wu-home-trending-label {
    margin-right: 2px;
}

.wu-home-trending a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    color: #fff;
    font-weight: 500;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.wu-home-trending a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.55);
}

/* Welcome back */
.wu-home-back {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 16px;
    padding: 8px 8px 8px 18px;
    border-radius: 10px;
    background: #fff;
    color: var(--wu-text);
    font-size: 15px;
}

.wu-home-back[hidden] {
    display: none;
}

.wu-home-back-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--wu-red);
    flex: 0 0 auto;
}

.wu-home-back-text {
    margin: 0;
    flex: 1 1 260px;
}

.wu-home-back-go {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--wu-home-navy);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.wu-home-back-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--wu-text-secondary);
    cursor: pointer;
}

.wu-home-back-close:hover {
    background: var(--wu-bg-alt);
}

.wu-home-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) 320px;
    gap: var(--wu-home-gap);
    align-items: start; /* each as tall as what's in it, not Latest's height */
}

/* The lead: its picture at 16:9 above the headline, which sits on a dark
   panel and fades up over the picture's bottom edge. A picture far from
   that shape (a portrait, a row of custody photos) is shown whole over a
   blurred copy of itself (wu_home_thumb_whole()). */
.wu-home-lead {
    min-width: 0;
}

.wu-home-lead-link {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background: rgb(8, 12, 18);
    color: #fff;
}

.wu-home-lead-media {
    position: relative;
    display: block;
    flex: none;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.wu-home-lead-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* A portrait photo (a mugshot, say) is shown whole over a blurred copy of itself */
.wu-home-lead-media.wu-home-thumb--tall {
    background: #111;
}

.wu-home-lead-media.wu-home-thumb--tall::before {
    content: "";
    position: absolute;
    inset: -4%;
    background: var(--wu-thumb-bg) center / cover no-repeat;
    filter: blur(6px) brightness(0.45);
}

.wu-home-lead-media.wu-home-thumb--tall img {
    object-fit: contain;
}

.wu-home-lead-link:hover .wu-home-lead-media img {
    transform: scale(1.02);
}

.wu-home-lead-body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: -60px; /* the fade runs up over the picture's foot */
    padding: 60px 28px 26px;
    background: linear-gradient(to top, rgb(8, 12, 18), rgb(8, 12, 18) calc(100% - 60px), rgba(8, 12, 18, 0));
}

.wu-home-lead--nophoto .wu-home-lead-link {
    min-height: 0;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
}

.wu-home-lead--nophoto .wu-home-lead-body {
    background: none;
    margin-top: 0;
    padding-top: 28px;
}

.wu-home-lead-cat {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--sec);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wu-home-lead-title {
    font-family: var(--wu-font-heading);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0;
}

.wu-home-lead-link:hover .wu-home-lead-title {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.wu-home-lead-dek {
    font-size: 16px;
    line-height: 1.5;
    color: #e3e7ed;
}

.wu-home-lead-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: #d6dbe2;
}

.wu-home-side {
    display: flex;
    flex-direction: column;
    gap: var(--wu-home-gap);
    min-width: 0;
}

.wu-home-side .wu-home-story {
    flex: none;
}

.wu-home-side .wu-home-story-link {
    border: 0;
    border-radius: 10px;
}

.wu-home-side .wu-home-thumb {
    aspect-ratio: 16 / 9;
    flex: none;
}

/* Two lines of the summary */
.wu-home-side .wu-home-story-dek {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.wu-home-side .wu-home-story-title {
    font-size: 19px;
}

/* The Latest timeline */
.wu-home-river {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px 16px 6px;
    border-radius: 10px;
    background: #fff;
    color: var(--wu-text);
}

.wu-home-river-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.wu-home-river-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--wu-font-heading);
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

.wu-home-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--wu-red);
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.5);
    animation: wu-home-pulse 2.4s ease-out infinite;
}

@keyframes wu-home-pulse {
    0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(200, 16, 46, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .wu-home-live-dot {
        animation: none;
    }
}

html.wu-a11y-motion .wu-home-live-dot {
    animation: none;
}

.wu-home-river-count {
    font-size: 12px;
    color: var(--wu-text-secondary);
}

.wu-home-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.wu-home-filters[hidden] {
    display: none;
}

.wu-home-chip {
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #d6d6d6;
    border-radius: 999px;
    background: #fff;
    color: var(--wu-text);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.wu-home-chip:hover {
    border-color: var(--wu-text);
}

.wu-home-chip[aria-pressed="true"] {
    background: var(--wu-text);
    border-color: var(--wu-text);
    color: #fff;
}

.wu-home-river-list {
    flex: 1 1 auto;
    list-style: none;
    margin: 0;
    padding: 0 0 0 2px;
    border-left: 2px solid var(--wu-border-light);
}

/* Without the filters (no JavaScript), the first 8 */
.wu-home-river-list:not(.is-filtered) > li:nth-child(n+9),
.wu-home-river-list > li[hidden] {
    display: none;
}

.wu-home-river-item {
    position: relative;
    padding: 0 0 14px 16px;
}

.wu-home-river-item::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 6px;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--sec);
}

.wu-home-river-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    font-size: 12px;
    font-weight: 700;
}

.wu-home-river-section {
    color: var(--sec);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wu-home-new {
    padding: 0 6px;
    border-radius: 3px;
    background: var(--wu-red);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 18px;
}

.wu-home-new[hidden] {
    display: none;
}

.wu-home-river-item > a {
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
}

.wu-home-river-item > a:hover {
    text-decoration: underline;
}

.wu-home-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    color: var(--wu-navy);
}

/* ==========================================================================
   Splash: a big story across the top (template-parts/home-splash.php,
   inc/home-splash.php; D in mockups/home-top/)
   ========================================================================== */

.wu-home-splash {
    position: relative;
    margin-bottom: 26px;
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(60% 55% at 72% 100%, rgba(255, 128, 92, 0.38), transparent 70%),
        radial-gradient(40% 40% at 15% 95%, rgba(200, 16, 46, 0.22), transparent 70%),
        linear-gradient(180deg, #0a1428 0%, #14305a 48%, #2c3c6e 74%, #5a4470 100%);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

/* Any other picture fills the band behind the headline, darkened */
.wu-home-splash--photo {
    background:
        linear-gradient(90deg, rgba(8, 12, 18, 0.94) 0, rgba(8, 12, 18, 0.8) 45%, rgba(8, 12, 18, 0.3) 100%),
        var(--wu-splash-bg) center / cover no-repeat,
        #0a1428;
}

.wu-home-splash-sky {
    position: absolute;
    inset: 0 0 40% 0;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 44% 26%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 58% 12%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 66% 34%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 81% 9%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 92% 24%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 6% 40%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 36% 44%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 74% 4%, #fff 50%, transparent 51%);
}

.wu-home-splash-dragon {
    position: absolute;
    right: -60px;
    top: 10px;
    width: 600px;
    max-width: none;
    pointer-events: none;
}

.wu-home-splash-hills {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 180px;
    pointer-events: none;
}

.wu-home-splash--photo .wu-home-splash-sky,
.wu-home-splash--photo .wu-home-splash-dragon,
.wu-home-splash--photo .wu-home-splash-hills {
    display: none;
}

.wu-home-splash-in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    min-height: 440px;
    padding: 36px 44px 48px;
}

.wu-home-splash--board .wu-home-splash-in {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.wu-home-splash-text {
    max-width: 900px;
}

.wu-home-splash-pill {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    background: var(--sec, var(--wu-red));
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wu-home-splash-pill strong {
    font-weight: 800;
}

.wu-home-splash-pill span {
    font-weight: 600;
    opacity: 0.9;
}

.wu-home-splash-dot {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #fff;
    opacity: 1 !important;
    animation: wu-home-pulse 2.4s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .wu-home-splash-dot {
        animation: none;
    }
}

html.wu-a11y-motion .wu-home-splash-dot {
    animation: none;
}

.wu-home-splash-title {
    margin: 18px 0;
    font-family: var(--wu-font-heading);
    font-size: 76px;
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.wu-home-splash-title a {
    color: inherit;
}

.wu-home-splash-title a:hover {
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
}

.wu-home-splash-title em {
    font-style: normal;
    color: #ff7a8a;
    background: linear-gradient(90deg, #ff9a7a, #ff4d6a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wu-home-splash-dek {
    max-width: 660px;
    margin: 0 0 22px;
    font-size: 19px;
    line-height: 1.5;
    color: #dfe6f1;
}

.wu-home-splash-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.wu-home-splash-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: #fff;
    color: var(--wu-text);
    font-size: 15px;
    font-weight: 700;
}

.wu-home-splash-read:hover {
    background: #eef3fa;
}

.wu-home-splash-meta {
    font-size: 13px;
    color: #c3cddc;
}

/* With a mugshot: the photo pinned up, the name under it, the outcome stamped on */
.wu-home-splash-board {
    position: relative;
    justify-self: center;
    width: min(100%, 420px);
    padding: 10px 10px 0;
    border-radius: 3px;
    background: #eceae4;
    color: var(--wu-text);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    transform: rotate(-3deg);
    transition: transform 0.4s ease;
}

.wu-home-splash-board:hover {
    transform: rotate(-4deg) translateY(-6px);
}

.wu-home-splash-board img {
    display: block;
    width: 100%;
    height: auto;
}

.wu-home-splash-name {
    display: block;
    padding: 10px 2px 12px;
    font-family: var(--wu-font-heading);
    font-size: 17px;
    font-weight: 800;
}

.wu-home-splash-board:not(:has(.wu-home-splash-name)) {
    padding-bottom: 10px;
}

.wu-home-splash-pin {
    position: absolute;
    top: -9px;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ff6b7f, #8a0b1f);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.wu-home-splash-stamp {
    position: absolute;
    right: 16px;
    bottom: 56px;
    padding: 6px 12px 5px;
    border: 3px solid var(--wu-red);
    border-radius: 4px;
    background: rgba(236, 234, 228, 0.88);
    color: var(--wu-red);
    font-family: var(--wu-font-heading);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transform: rotate(-12deg);
}

@media (max-width: 1150px) {
    .wu-home-splash-title {
        font-size: 56px;
    }

    .wu-home-splash-in {
        min-height: 0;
        padding: 30px 32px 40px;
    }
}

@media (max-width: 700px) {
    .wu-home-splash {
        margin-bottom: 16px;
        border-radius: 0;
    }

    .wu-home-splash--board .wu-home-splash-in {
        grid-template-columns: minmax(0, 1fr);
    }

    .wu-home-splash-in {
        gap: 26px;
        padding: 22px 16px 34px;
    }

    .wu-home-splash-title {
        margin: 14px 0 12px;
        font-size: 40px;
    }

    .wu-home-splash-dek {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .wu-home-splash-dragon {
        width: 360px;
        right: -80px;
    }

    .wu-home-splash-board {
        width: 82%;
    }

    .wu-home-splash-stamp {
        font-size: 18px;
        bottom: 46px;
    }

    .wu-home-splash--photo {
        background:
            linear-gradient(0deg, rgba(8, 12, 18, 0.96) 0, rgba(8, 12, 18, 0.82) 60%, rgba(8, 12, 18, 0.4) 100%),
            var(--wu-splash-bg) center / cover no-repeat,
            #0a1428;
    }
}

/* ==========================================================================
   Wales right now: the top as a map of the day's stories
   (template-parts/home-map.php, inc/home-map.php; E in mockups/home-top/)
   ========================================================================== */

.wu-home-now {
    --wu-home-sea: #0c1a33;
    --wu-home-land: #142a52;
    --wu-home-land-1: #23508f;
    --wu-home-land-2: #3470c4;
    --wu-home-land-3: #5f9ae6;
}

/* What shows for the last 24 hours, and what for the week */
.wu-home-now[data-mode="day"] [data-for="week"],
.wu-home-now[data-mode="week"] [data-for="day"] {
    display: none;
}

.wu-home-now-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 16px;
}

.wu-home-now-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    font-family: var(--wu-font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
    color: #fff;
}

.wu-home-now-title .wu-home-live-dot {
    width: 12px;
    height: 12px;
}

.wu-home-now-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wu-home-now-stats li {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--wu-navy-soft, #c9d8ee);
    font-size: 12px;
    line-height: 1.2;
}

.wu-home-now-stats strong {
    display: block;
    font-family: var(--wu-font-heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.wu-home-now-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 320px;
    gap: var(--wu-home-gap);
    align-items: stretch;
}

/* The lead: its whole picture over a darkened copy, so a row of custody
   photos isn't cut at the ends. The picture takes the room the words leave,
   as the lead is as tall as the map. The headline's link covers the card,
   so the warning's and the other stories' links can sit over it. */
.wu-home-now-lead {
    min-width: 0;
}

.wu-home-now-lead-link {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #10203a; /* a warning picture's navy (inc/weather-warning-graphic.php) */
    color: #fff;
}

.wu-home-now-lead-go {
    color: inherit;
    text-decoration: none;
}

.wu-home-now-lead-go::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.wu-home-now-lead-go:focus-visible {
    outline: none;
}

.wu-home-now-lead-go:focus-visible::after {
    outline: 3px solid #fff;
    outline-offset: -3px;
    border-radius: 12px;
}

.wu-home-now-media {
    position: relative;
    display: block;
    flex: 1 1 auto;
    min-height: 200px;
    overflow: hidden;
    background: #111;
}

.wu-home-now-media::before {
    content: "";
    position: absolute;
    inset: -6%;
    background: var(--wu-thumb-bg) center / cover no-repeat;
    filter: blur(10px) brightness(0.45);
}

.wu-home-now-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.wu-home-now-lead-link:has(.wu-home-now-lead-go:hover) .wu-home-now-media img {
    transform: scale(1.02);
}

.wu-home-now-lead-body {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px 20px;
}

/* A wide picture (a warning's map and chart): across the top at its own
   shape (its aspect-ratio is set on it), sharp, with the words under it taking the rest of the box and
   the byline at its foot */
.wu-home-now-lead--wide .wu-home-now-media {
    flex: none;
    min-height: 0;
    background: none;
}

.wu-home-now-lead--wide .wu-home-now-media::before {
    content: none;
}

.wu-home-now-lead--wide .wu-home-now-media img {
    position: static;
    height: 100%;
}

.wu-home-now-lead--wide .wu-home-now-lead-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding-top: 20px;
}

.wu-home-now-lead--wide .wu-home-now-lead-dek {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 12;
    line-clamp: 12;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.55;
}

.wu-home-now-lead--wide .wu-home-now-lead-title {
    font-size: 29px;
}

.wu-home-now-lead--wide .wu-home-lead-meta {
    margin-top: auto;
    padding-top: 6px;
}

/* With the warning or more stories under it, a shorter summary */
.wu-home-now-lead--wide.wu-home-now-lead--extra .wu-home-now-lead-dek {
    -webkit-line-clamp: 6;
    line-clamp: 6;
}

/* The warning the lead's about, under its summary */
.wu-home-now-warn {
    --warn: #ffd23f;
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent);
    border-left: 4px solid var(--warn);
    border-radius: 10px;
    background: color-mix(in srgb, var(--warn) 7%, transparent);
}

.wu-home-now-warn--amber {
    --warn: #ffa62b;
}

.wu-home-now-warn--red {
    --warn: #ff5a6a;
}

.wu-home-now-warn--ended {
    --warn: #9fb0c8;
}

.wu-home-now-warn-top {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wu-home-now-warn-tag {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--warn);
    color: #10203a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.wu-home-now-warn-when {
    color: #e3e7ed;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
}

.wu-home-now-warn-when.is-on::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 8px 1px 2px;
    border-radius: 50%;
    background: var(--warn);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 30%, transparent);
}

.wu-home-now-warn-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.wu-home-now-warn-areas span {
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #e3e7ed;
    font-size: 12px;
    font-weight: 600;
}

.wu-home-now-warn-areas .is-more {
    background: none;
    color: #9fb0c8;
}

.wu-home-now-warn-link {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    color: var(--warn);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

.wu-home-now-warn-link:hover,
.wu-home-now-warn-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Any other wide picture: more from the same council, as many as fit.
   Those that don't wrap into a column out of sight, and home.js hides
   them from the keyboard too */
.wu-home-now-more {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.wu-home-now-more-title {
    color: #9fb0c8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wu-home-now-more-list {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 12px 40px;
    min-height: 0;
    overflow: hidden;
}

.wu-home-now-more-list a {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.wu-home-now-more-list a.is-out {
    visibility: hidden;
}

.wu-home-now-more-list a:hover span,
.wu-home-now-more-list a:focus-visible span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wu-home-now-more-list time {
    padding-top: 2px;
    color: #9fb0c8;
    font-size: 12px;
    font-weight: 600;
}

.wu-home-now-lead--nophoto .wu-home-now-lead-body {
    flex: 1 1 auto;
    justify-content: center;
    padding-top: 28px;
}

.wu-home-now-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wu-home-now-section {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 4px;
    background: var(--sec);
    color: #fff;
}

.wu-home-now-place {
    color: #d6dbe2;
}

.wu-home-now-lead-title {
    margin: 0;
    font-family: var(--wu-font-heading);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.wu-home-now-lead-link:has(.wu-home-now-lead-go:hover) .wu-home-now-lead-title {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.wu-home-now-lead-dek {
    font-size: 14.5px;
    line-height: 1.5;
    color: #e3e7ed;
}


/* The map */
.wu-home-now-map {
    --wu-map-top: 18px;
    --wu-map-bottom: 18px;
    position: relative;
    min-width: 0;
    min-height: 580px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background:
        radial-gradient(70% 60% at 65% 55%, rgba(80, 140, 220, 0.18), transparent 70%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 48px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 48px),
        var(--wu-home-sea);
}

.wu-home-now-frame {
    position: absolute;
    top: var(--wu-map-top);
    bottom: var(--wu-map-bottom);
    left: 12px;
    right: 12px;
    container-type: size;
    pointer-events: none;
}

/* Wales as big as the frame allows, at the map's shape (600 × 721) */
.wu-home-now-wales {
    position: absolute;
    top: 0;
    left: 50%;
    height: min(100cqh, 100cqw * 721 / 600);
    aspect-ratio: 600 / 721;
    transform: translateX(-50%);
    pointer-events: auto;
}

.wu-home-now-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.wu-home-now-svg path {
    fill: var(--wu-home-land);
    stroke: rgba(170, 200, 240, 0.45);
    stroke-width: 1;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    transition: fill 0.3s ease;
}

.wu-home-now[data-mode="day"] .wu-home-now-svg path[data-d="1"],
.wu-home-now[data-mode="week"] .wu-home-now-svg path[data-w="1"] {
    fill: var(--wu-home-land-1);
}

.wu-home-now[data-mode="day"] .wu-home-now-svg path[data-d="2"],
.wu-home-now[data-mode="week"] .wu-home-now-svg path[data-w="2"] {
    fill: var(--wu-home-land-2);
}

.wu-home-now[data-mode="day"] .wu-home-now-svg path[data-d="3"],
.wu-home-now[data-mode="week"] .wu-home-now-svg path[data-w="3"] {
    fill: var(--wu-home-land-3);
}

/* A bubble for each council with news: how many stories, bigger for more.
   Picking one (or the council itself) opens its stories in a card (home.js) */
.wu-home-now {
    --b1: 22px;
    --b2: 28px;
    --b3: 34px;
}

.wu-home-bubble {
    --d: 0px;
    position: absolute;
    z-index: 2;
    display: none;
    place-items: center;
    width: var(--d);
    height: var(--d);
    padding: 0;
    border: 2px solid var(--wu-home-sea);
    border-radius: 50%;
    background: #fff;
    color: var(--wu-navy-dark, #15305a);
    font-family: var(--wu-font-heading);
    font-size: calc(var(--d) * 0.46);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wu-home-now[data-mode="day"] .wu-home-bubble[data-size-day="1"],
.wu-home-now[data-mode="week"] .wu-home-bubble[data-size-week="1"] {
    --d: var(--b1);
    display: grid;
}

.wu-home-now[data-mode="day"] .wu-home-bubble[data-size-day="2"],
.wu-home-now[data-mode="week"] .wu-home-bubble[data-size-week="2"] {
    --d: var(--b2);
    display: grid;
}

.wu-home-now[data-mode="day"] .wu-home-bubble[data-size-day="3"],
.wu-home-now[data-mode="week"] .wu-home-bubble[data-size-week="3"] {
    --d: var(--b3);
    display: grid;
}

/* Where the lead story is: a red ring */
.wu-home-bubble.is-lead {
    box-shadow: 0 0 0 3px var(--wu-red), 0 2px 6px rgba(0, 0, 0, 0.45);
}

.wu-home-bubble:hover,
.wu-home-bubble:focus-visible,
.wu-home-bubble.is-on,
.wu-home-bubble[aria-pressed="true"] {
    z-index: 3;
    background: var(--wu-red);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.12);
}

/* The council's name, by the bubble pointed to or picked */
.wu-home-bubble-name {
    position: absolute;
    z-index: 5;
    padding: 3px 8px;
    border-radius: 6px;
    background: #fff;
    color: var(--wu-text);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6);
    transform: translate(-50%, calc(-100% - var(--r, 11px) - 6px));
    pointer-events: none;
}

/* Beside, under or at a corner of it, when above would cover another
   bubble (home.js) */
.wu-home-bubble-name.is-right {
    transform: translate(calc(var(--r, 11px) + 6px), -50%);
}

.wu-home-bubble-name.is-left {
    transform: translate(calc(-100% - var(--r, 11px) - 6px), -50%);
}

.wu-home-bubble-name.is-below {
    transform: translate(-50%, calc(var(--r, 11px) + 6px));
}

.wu-home-bubble-name.is-ne {
    transform: translate(calc(var(--r, 11px) * 0.7), calc(-100% - var(--r, 11px) * 0.7));
}

.wu-home-bubble-name.is-nw {
    transform: translate(calc(-100% - var(--r, 11px) * 0.7), calc(-100% - var(--r, 11px) * 0.7));
}

.wu-home-bubble-name.is-se {
    transform: translate(calc(var(--r, 11px) * 0.7), calc(var(--r, 11px) * 0.7));
}

.wu-home-bubble-name.is-sw {
    transform: translate(calc(-100% - var(--r, 11px) * 0.7), calc(var(--r, 11px) * 0.7));
}

/* The councils can be picked too */
.wu-home-now-svg path {
    cursor: pointer;
}

.wu-home-now-svg path:hover,
.wu-home-now-svg path.is-on {
    filter: brightness(1.25);
}

.wu-home-now-svg path.is-picked {
    stroke: #fff;
    stroke-width: 2;
    filter: brightness(1.25);
}

.wu-home-now-wales.has-pick .wu-home-now-svg path:not(.is-picked) {
    opacity: 0.6;
}

/* The lead's warning: a hatch over the councils it covers and an edge in
   its colour round them, under the bubbles; the councils can still be
   pointed to and picked through it */
.wu-home-now-warn-map {
    --warn: #ffd23f;
    pointer-events: none;
}

.wu-home-now-warn-map--amber {
    --warn: #ffa62b;
}

.wu-home-now-warn-map--red {
    --warn: #ff5a6a;
}

.wu-home-now-warn-hatch {
    opacity: 0.32;
}

.wu-home-now-svg .wu-home-now-warn-hatch path {
    fill: url(#wu-home-warn-hatch);
    stroke: none;
}

.wu-home-now-svg .wu-home-now-warn-edge path {
    fill: none;
    stroke: var(--warn);
    stroke-width: 4;
}

.wu-home-now-svg mask path {
    fill: #000;
    stroke: none;
}

/* Its key, in the corner: to the warning on the weather page */
.wu-home-now-warn-key {
    --warn: #ffd23f;
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(330px, calc(100% - 250px)); /* clear of the 24 hours / This week switch */
    padding: 8px 12px 8px 10px;
    border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent);
    border-radius: 10px;
    background: rgba(12, 26, 51, 0.88);
    color: #c9d6ea;
    font-size: 12px;
    line-height: 1.35;
    text-decoration: none;
}

.wu-home-now-warn-key--amber {
    --warn: #ffa62b;
}

.wu-home-now-warn-key--red {
    --warn: #ff5a6a;
}

.wu-home-now-warn-key strong {
    display: block;
    color: #fff;
    font-size: 13px;
}

.wu-home-now-warn-key:hover strong,
.wu-home-now-warn-key:focus-visible strong {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wu-home-now-warn-swatch {
    flex: none;
    width: 18px;
    height: 14px;
    border: 2px solid var(--warn);
    border-radius: 3px;
    background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--warn) 55%, transparent) 0 2px, transparent 2px 5px);
}

/* 24 hours or this week */
.wu-home-now-when {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 4;
    display: flex;
    gap: 3px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.wu-home-now-when button {
    min-height: 32px;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #cfd8e6;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.wu-home-now-when button[aria-pressed="true"] {
    background: #fff;
    color: var(--wu-text);
}

/* The stories of the council picked: near the top of the map (under the
   24 hours / This week switch) for a council in the south, at the foot for
   one in the north (home.js) */
.wu-home-now-card {
    position: absolute;
    left: 12px;
    top: 58px;
    z-index: 6;
    width: calc(100% - 24px);
    max-width: 360px;
    padding: 14px 16px 12px;
    border-radius: 12px;
    background: #fff;
    color: var(--wu-text);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7);
}

.wu-home-now-card.is-bottom {
    top: auto;
    bottom: 12px;
}

.wu-home-now-card-head {
    padding-right: 34px;
    margin-bottom: 8px;
}

.wu-home-now-card-head strong {
    display: block;
    font-family: var(--wu-font-heading);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.wu-home-now-card-head span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--wu-text-secondary);
}

.wu-home-now-card-close {
    position: absolute;
    right: 8px;
    top: 8px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--wu-text-secondary);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.wu-home-now-card-close:hover {
    background: var(--wu-bg-alt);
}

.wu-home-now-card ul {
    max-height: 260px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.wu-home-now-card li {
    padding: 7px 0;
    border-top: 1px solid var(--wu-border-light);
}

.wu-home-now-card li a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.wu-home-now-card li a:hover {
    text-decoration: underline;
}

.wu-home-now-card li small {
    font-size: 12px;
    color: var(--wu-text-secondary);
}

.wu-home-now-card p {
    margin: 0;
    font-size: 14px;
    color: var(--wu-text-secondary);
}

.wu-home-now-card p a {
    color: var(--wu-navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Pick a council… and Nothing yet from… */
.wu-home-now-hint {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 4;
    max-width: 250px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(6, 12, 24, 0.6);
    color: #cfd8e6;
    font-size: 12px;
    line-height: 1.45;
}

.wu-home-now-hint p {
    margin: 0;
}

.wu-home-now-hint p + p {
    margin-top: 6px;
}

.wu-home-now-hint strong {
    color: #fff;
    font-weight: 600;
}

.wu-home-now-hint a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Latest beside the map: each story's place, and its council lit up */
.wu-home-now .wu-home-river {
    border-radius: 12px;
}

.wu-home-river-place {
    color: var(--wu-text-secondary);
    font-weight: 600;
}

.wu-home-now .wu-home-river-item {
    margin-right: -8px;
    padding-right: 8px;
    border-radius: 0 8px 8px 0;
    transition: background 0.15s ease;
}

.wu-home-now .wu-home-river-item.is-on {
    background: var(--wu-navy-light, #eef3fa);
}

.wu-home-river-hint {
    text-align: right;
}

@media (hover: none) {
    .wu-home-river-hint {
        display: none;
    }
}

@media (max-width: 1150px) {
    .wu-home-now-grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }

    .wu-home-now .wu-home-river {
        grid-column: 1 / -1;
    }

}

@media (max-width: 700px) {
    .wu-home-now-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
        padding: 0 16px;
    }

    .wu-home-now-title {
        font-size: 28px;
    }

    .wu-home-now-stats {
        flex-wrap: nowrap;
        gap: 6px;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .wu-home-now-stats li {
        flex: 0 0 auto;
        padding: 6px 10px;
        font-size: 11px;
    }

    .wu-home-now-stats strong {
        font-size: 17px;
    }

    .wu-home-now-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    /* The map first, with the lead over its foot */
    .wu-home-now-map {
        --wu-map-top: 58px;
        --wu-map-bottom: 66px;
        order: 1;
        min-height: 480px;
        border-radius: 0;
        border-width: 1px 0 0;
    }

    .wu-home-now-lead {
        order: 2;
        position: relative;
        z-index: 4;
        margin: -56px 12px 0;
    }

    .wu-home-now-lead-link {
        box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6);
    }

    .wu-home-now-media {
        flex: none;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .wu-home-now-lead-title,
    .wu-home-now-lead--wide .wu-home-now-lead-title {
        font-size: 24px;
    }

    /* Over the map's foot, so a few lines only */
    .wu-home-now-lead--wide .wu-home-now-lead-dek,
    .wu-home-now-lead--wide.wu-home-now-lead--extra .wu-home-now-lead-dek {
        -webkit-line-clamp: 5;
        line-clamp: 5;
    }

    /* Latest is just under it; the map's key is the card's warning */
    .wu-home-now-more,
    .wu-home-now-warn-key {
        display: none;
    }

    .wu-home-now .wu-home-river {
        order: 3;
        margin-top: 16px;
        border-radius: 0;
    }

    .wu-home-now {
        --b1: 19px;
        --b2: 24px;
        --b3: 29px;
    }

    /* Pick a council under the 24 hours / This week switch; the
       Nothing yet line is left off, as the lead covers the map's foot */
    .wu-home-now-hint {
        top: 56px;
        bottom: auto;
        padding: 0;
        background: none;
    }

    .wu-home-now-quiet {
        display: none;
    }

    .wu-home-now-card.is-bottom {
        bottom: 66px;
    }

    /* Short enough to leave the south of the map in sight */
    .wu-home-now-card {
        padding: 12px 14px 8px;
    }

    .wu-home-now-card ul {
        max-height: 150px;
    }
}

/* ==========================================================================
   Today in Wales and Most read
   ========================================================================== */

.wu-home-brief-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 24px;
}

.wu-home-brief-row--single {
    grid-template-columns: minmax(0, 1fr);
}

.wu-home-brief-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wu-home-brief-list li {
    position: relative;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.wu-home-brief-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    background: var(--sec);
}

.wu-home-brief-list a {
    font-weight: 700;
    color: var(--wu-text);
    text-decoration: underline;
    text-decoration-color: var(--sec);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.wu-home-brief-list a:hover {
    color: var(--sec);
}

.wu-home-brief-list a::after {
    content: ".";
    display: inline;
    color: var(--wu-text);
    text-decoration: none;
}

.wu-home-brief-list span {
    color: #444;
}

.wu-home-brief-foot {
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--wu-border-light);
    font-size: 14px;
    color: var(--wu-text-secondary);
}

.wu-home-brief-foot a {
    font-weight: 700;
    color: var(--wu-navy);
}

.wu-home-toggle {
    display: flex;
    padding: 3px;
    border-radius: 999px;
    background: var(--wu-search-bg);
}

.wu-home-toggle[hidden] {
    display: none;
}

.wu-home-toggle button {
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--wu-text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.wu-home-toggle button[aria-selected="true"] {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.wu-home-most-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: wu-home-most;
}

.wu-home-most-list li {
    counter-increment: wu-home-most;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid var(--wu-border-light);
}

.wu-home-most-list li:last-child {
    border-bottom: 0;
}

.wu-home-most-list li::before {
    content: counter(wu-home-most);
    font-family: var(--wu-font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: var(--wu-red);
}

.wu-home-most-list a {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wu-home-most-title {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
}

.wu-home-most-list a:hover .wu-home-most-title {
    text-decoration: underline;
}

/* ==========================================================================
   News near you
   ========================================================================== */

.wu-home-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.wu-home-areas[hidden] {
    display: none;
}

.wu-home-area-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-height: 60px;
    padding: 10px 14px;
    border: 1.5px solid #d6d6d6;
    border-radius: 8px;
    background: #fff;
    color: var(--wu-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.wu-home-area-tab:hover {
    border-color: var(--wu-home-navy);
}

.wu-home-area-tab[aria-selected="true"] {
    background: var(--wu-home-navy);
    border-color: var(--wu-home-navy);
    color: #fff;
}

.wu-home-area-name {
    font-weight: 700;
    font-size: 15px;
}

.wu-home-area-towns {
    font-size: 12px;
    opacity: 0.85;
}

.wu-home-near.is-tabs .wu-home-area .wu-home-links {
    margin-top: 14px;
}

/* ==========================================================================
   The weather across Wales
   ========================================================================== */

.wu-home-weather {
    margin-top: 44px;
}

.wu-home-weather-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.wu-home-weather .wu-home-panel-link {
    color: #1f5fa8;
}

.wu-home-warning {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 2px 10px;
    border-radius: 999px;
    background: #ffd84d;
    color: #3d2e00;
    font-size: 12px;
    font-weight: 700;
}

.wu-home-warning--amber {
    background: #ff9a3c;
    color: #2e1600;
}

.wu-home-warning--red {
    background: #d01f2f;
    color: #fff;
}

.wu-home-warning[hidden] {
    display: none;
}

.wu-home-weather-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.wu-home-weather-grid:not(:has(.wu-home-tides:not([hidden]))) {
    grid-template-columns: minmax(0, 1fr);
}

.wu-home-towns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wu-home-towns a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--wu-home-sky);
    color: var(--wu-home-sky-text);
}

.wu-home-towns a:hover {
    box-shadow: inset 0 0 0 1.5px var(--wu-home-sky-text);
}

.wu-home-town-name {
    font-size: 13px;
    font-weight: 600;
    color: #2c4a6b;
}

.wu-home-town-now {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wu-home-town-now img {
    width: 32px;
    height: 32px;
}

.wu-home-town-now strong {
    font-family: var(--wu-font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

.wu-home-town-text {
    font-size: 12px;
    line-height: 1.3;
    color: #2c4a6b;
}

.wu-home-tides {
    padding: 14px 16px;
    border-radius: 8px;
    background: #f1f7f4;
}

.wu-home-tides .wu-home-h3 {
    font-size: 16px;
    color: #1f4d3a;
}

.wu-home-tides table {
    width: 100%;
    margin-top: 6px;
    border-collapse: collapse;
    font-size: 14px;
}

.wu-home-tides th,
.wu-home-tides td {
    padding: 7px 0;
    text-align: left;
}

.wu-home-tides thead th {
    font-size: 12px;
    font-weight: 600;
    color: #3d5c4e;
}

.wu-home-tides tbody tr {
    border-top: 1px solid #d8e6de;
}

.wu-home-tides tbody th {
    font-weight: 600;
}

/* ==========================================================================
   Full-width bands: Crime & Court, Sport
   ========================================================================== */

.wu-home-band {
    margin-top: 56px;
    padding: 40px 0 48px;
    background: var(--band);
    color: #fff;
}

.wu-home-band + .wu-home-band {
    margin-top: 0;
}

.wu-home-band .wu-home-story {
    --sec: var(--band);
}

.wu-home-band-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 22px;
}

.wu-home-band-line {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.wu-home-band-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1.5px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.wu-home-band-button:hover {
    background: #fff;
    color: var(--band);
}

.wu-home-band-link {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.wu-home-band-link:hover {
    text-decoration: underline;
}

.wu-home-band-h3 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.wu-home-band-h3:not(:first-child) {
    margin-top: 20px;
}

.wu-home-band-kicker {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
}

.wu-home-crime-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 28px;
}

.wu-home-crime-lead .wu-home-story-link {
    border: 0;
}

.wu-home-crime-lead .wu-home-thumb {
    aspect-ratio: 16 / 9;
}

.wu-home-crime-lead .wu-home-story-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.wu-home-cases {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wu-home-cases li {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.wu-home-cases a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 0;
}

.wu-home-cases-title {
    font-family: var(--wu-font-heading);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
}

.wu-home-cases a:hover .wu-home-cases-title {
    text-decoration: underline;
}

.wu-home-appeals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wu-home-appeals a {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.wu-home-appeals a:hover {
    background: rgba(0, 0, 0, 0.28);
}

.wu-home-appeal-face {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.wu-home-appeal-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wu-home-appeal-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wu-home-appeal-tag {
    align-self: flex-start;
    padding: 1px 6px;
    border-radius: 3px;
    background: #ffd84d;
    color: #3d2e00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wu-home-links--band {
    margin-top: 0;
}

.wu-home-links--band .wu-home-pill {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    font-size: 13px;
    min-height: 30px;
}

.wu-home-links--band .wu-home-pill:hover {
    border-color: #fff;
}

/* Scores */
.wu-home-scores {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.wu-home-scores a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.wu-home-scores a:hover {
    background: rgba(0, 0, 0, 0.3);
}

.wu-home-score-status {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.wu-home-score-team {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-weight: 500;
}

.wu-home-score-team.is-winner {
    font-weight: 700;
}

.wu-home-score-team strong {
    font-family: var(--wu-font-heading);
    font-size: 18px;
}

.wu-home-band .wu-home-grid .wu-home-story-link {
    border: 0;
}

.wu-home-band .wu-home-grid .wu-home-thumb {
    aspect-ratio: 16 / 9;
}

/* ==========================================================================
   Politics and Community, What's On
   ========================================================================== */

.wu-home-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.wu-home-pair--single {
    grid-template-columns: minmax(0, 1fr);
}

.wu-home-lines {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.wu-home-lines li {
    border-top: 1px solid var(--wu-border);
}

.wu-home-lines a {
    display: block;
    padding: 12px 0;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
}

.wu-home-lines a:hover {
    text-decoration: underline;
}

.wu-home-events a {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--wu-home-card-border);
    border-radius: 8px;
    background: var(--wu-bg-card);
}

.wu-home-events a:hover {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.wu-home-event-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    border-radius: 6px;
    background: color-mix(in srgb, var(--sec) 12%, #fff);
    color: color-mix(in srgb, var(--sec) 75%, #000);
    line-height: 1.1;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.wu-home-event-tile strong {
    font-family: var(--wu-font-heading);
    font-size: 24px;
    font-weight: 800;
    text-transform: none;
}

.wu-home-event-tile.is-now {
    background: var(--sec);
    color: #fff;
}

.wu-home-event-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.wu-home-event-title {
    font-family: var(--wu-font-heading);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
}

.wu-home-events a:hover .wu-home-event-title {
    text-decoration: underline;
}

.wu-home-event-when {
    font-size: 13px;
    font-weight: 600;
    color: color-mix(in srgb, var(--sec) 75%, #000);
}

.wu-home-event-venue {
    font-size: 13px;
    color: var(--wu-text-secondary);
}

/* ==========================================================================
   Stay in touch
   ========================================================================== */

.wu-home-join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.wu-home-join-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    border: 1px solid var(--wu-home-card-border);
    border-radius: 10px;
    background: var(--wu-bg-card);
    color: var(--wu-text);
}

.wu-home-join-card p {
    margin: 0;
    font-size: 14px;
    color: var(--wu-text-secondary);
}

.wu-home-join-card--email {
    border: 0;
    background: var(--wu-home-navy);
    color: #fff;
}

.wu-home-join-card--email p {
    color: var(--wu-home-navy-text);
}

.wu-home-join-card--follow .wu-home-h3 svg {
    color: var(--wu-red);
}

.wu-home-join-card--follow .wu-follow {
    margin-top: 6px;
}

.wu-home-join-card--link > span:last-child,
.wu-home-join-card--trees > span:last-child {
    font-size: 14px;
    color: var(--wu-text-secondary);
}

.wu-home-join-card--link:hover,
.wu-home-join-card--trees:hover {
    border-color: var(--wu-text);
}

.wu-home-join-card--trees {
    border-color: transparent;
    background: #eaf4ec;
}

.wu-home-join-card--trees > span:last-child {
    color: #1f4d3a;
}

.wu-home-join-button {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    margin-top: 6px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--wu-red);
    color: #fff;
    font-weight: 700;
}

.wu-home-join-button:hover {
    background: var(--wu-red-dark);
}

/* ==========================================================================
   Explore
   ========================================================================== */

.wu-home-explore {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid #dcdcdc;
}

.wu-home-explore .wu-home-h2 {
    margin-bottom: 20px;
}

.wu-home-explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 28px;
}

.wu-home-explore-head {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wu-text-secondary);
}

.wu-home-explore ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wu-home-explore li a {
    display: inline-block;
    padding: 5px 0;
    font-size: 15px;
}

.wu-home-explore li a:hover {
    color: var(--wu-navy);
    text-decoration: underline;
}

/* ==========================================================================
   Narrower screens
   ========================================================================== */

@media (max-width: 1150px) {
    .wu-home-top-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }

    .wu-home-river {
        grid-column: 1 / -1;
    }

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

    .wu-home-crime-lead {
        grid-column: 1 / -1;
    }

    .wu-home-towns {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

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

    .wu-home-brief-row,
    .wu-home-weather-grid,
    .wu-home-pair {
        grid-template-columns: minmax(0, 1fr);
    }

    .wu-home-pair {
        gap: 0;
    }
}

@media (max-width: 700px) {
    .wu-home-top {
        padding: 0 0 90px;
        margin-bottom: -40px;
    }

    .wu-home-top > .wu-container {
        padding: 0;
    }

    .wu-navy-header .wu-home-top {
        padding-top: 6px;
    }

    .wu-home-search {
        display: flex;
        align-items: center;
        gap: 10px;
        width: calc(100% - 32px);
        min-height: 46px;
        margin: 0 16px 14px;
        padding: 0 16px;
        border: 0;
        border-radius: 999px;
        background: #fff;
        color: #555;
        font-family: var(--wu-font);
        font-size: 15px;
        text-align: left;
        cursor: pointer;
    }

    .wu-home-search svg {
        flex-shrink: 0;
    }

    .wu-home-search span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wu-home-trending {
        display: none;
    }

    .wu-home-back {
        margin: 0;
        border-radius: 0;
        border-bottom: 1px solid var(--wu-border);
    }

    .wu-home-top-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .wu-home-lead-link {
        border-radius: 0;
    }

    .wu-home-lead-body {
        margin-top: -50px;
        padding: 50px 16px 18px;
    }

    .wu-home-lead-title {
        font-size: 26px;
    }

    .wu-home-lead-dek {
        font-size: 15px;
    }

    /* Side stories as rows under the lead */
    .wu-home-side {
        gap: 0;
        background: #fff;
        padding: 0 16px;
    }

    .wu-home-side .wu-home-story-link {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 104px;
        gap: 12px;
        padding: 14px 0;
        border-radius: 0;
        border-bottom: 1px solid var(--wu-border-light);
    }

    .wu-home-side .wu-home-story-link:hover {
        box-shadow: none;
    }

    .wu-home-side .wu-home-thumb {
        grid-column: 2;
        grid-row: 1;
        aspect-ratio: 4 / 3;
        min-height: 0;
        border-radius: 4px;
    }

    .wu-home-side .wu-home-story-body {
        grid-column: 1;
        grid-row: 1;
        padding: 0;
    }

    .wu-home-side .wu-home-story-title {
        font-size: 16px;
    }

    .wu-home-side .wu-home-story-dek {
        display: none;
    }

    .wu-home-river {
        border-radius: 0;
        padding: 16px 16px 6px;
    }

    .wu-home-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-right: -16px;
        padding-right: 16px;
        scrollbar-width: none;
    }

    .wu-home-chip {
        flex: 0 0 auto;
        min-height: 36px;
        font-size: 13px;
    }

    .wu-home-river-item > a {
        font-size: 15px;
    }

    /* Today in Wales: two lines of each story on a phone */
    .wu-home-brief-list span {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .wu-home-panel {
        padding: 18px;
    }

    .wu-home-h2--big {
        font-size: 23px;
    }

    .wu-home-grid--3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .wu-home-crime-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .wu-home-band {
        padding: 28px 0 32px;
    }

    /* Areas: a row to swipe */
    .wu-home-areas {
        display: flex;
        overflow-x: auto;
        margin: 0 -20px 16px;
        padding: 0 20px 4px;
        scrollbar-width: none;
    }

    .wu-home-area-tab {
        flex: 0 0 auto;
        min-height: 44px;
        border-radius: 999px;
        padding: 0 16px;
        justify-content: center;
    }

    .wu-home-area-towns {
        display: none;
    }

    .wu-home-story--row .wu-home-story-link {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .wu-home-grid--4 {
        grid-template-columns: minmax(0, 1fr);
    }

    /* One column of cards is long: pictures at the side instead */
    .wu-home-grid--4 .wu-home-story-link {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 104px;
        gap: 12px;
        padding: 12px;
    }

    .wu-home-grid--4 .wu-home-thumb {
        grid-column: 2;
        grid-row: 1;
        aspect-ratio: 4 / 3;
        border-radius: 4px;
    }

    .wu-home-grid--4 .wu-home-story-body {
        grid-column: 1;
        grid-row: 1;
        padding: 0;
    }

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