/*=============================================================
    UK MINIS COMPONENTS
    Shared by the redesigned pages (homepage, competition page).
    Scope: .ukm-page. Tokens come from theme.css.
*=============================================================*/

.ukm-page {
    font-family: var(--ukm-text);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ukm-body);
    overflow-x: clip;
}

.ukm-page section {
    padding: 0;
}

.ukm-page h1,
.ukm-page h2,
.ukm-page h3 {
    font-family: var(--ukm-display);
    color: var(--ukm-ink);
    margin: 0;
}

.ukm-page p {
    margin: 0 0 1em;
}

.ukm-page dl,
.ukm-page dd {
    margin: 0;
}

.ukm-dark {
    background: var(--ukm-navy-deep);
    color: rgba(255, 255, 255, 0.78);
}

.ukm-dark h1,
.ukm-dark h2,
.ukm-dark h3 {
    color: var(--ukm-white);
}

.hp-h2 {
    font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.5rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.005em;
    text-transform: uppercase;
}

/* Section heading row: title left, supporting text and link right */

.hp-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    gap: 24px 64px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.hp-head__aside {
    max-width: 440px;
    justify-self: end;
}

.hp-head__aside p {
    margin-bottom: 14px;
}

/* Text link with arrow */

.hp-link,
.hp-link:focus {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-family: var(--ukm-display);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ukm-navy);
    border-bottom: 2px solid var(--ukm-red);
}

.hp-link:hover {
    color: var(--ukm-red);
}

.hp-link--light,
.hp-link--light:focus {
    color: var(--ukm-white);
}

.hp-link--light:hover {
    color: var(--ukm-white);
    border-bottom-color: var(--ukm-white);
}

.hp-empty {
    padding: clamp(32px, 5vw, 56px);
    background: var(--ukm-paper);
    border-left: 4px solid var(--ukm-red);
}

.hp-empty h3 {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hp-empty p {
    max-width: 560px;
}

.hp-card__title a {
    color: var(--ukm-ink);
}

.hp-card__title a:hover {
    color: var(--ukm-navy);
}

.hp-card__alt {
    margin: 6px 0 0 !important;
    font-family: var(--ukm-display);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase !important;
    color: var(--ukm-red);
}

/* Spec sheet: Year / Miles / Power */

.hp-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px !important;
    border-top: 1px solid var(--ukm-line);
    border-bottom: 1px solid var(--ukm-line);
}

.hp-specs div {
    padding: 10px 12px 10px 0;
}

.hp-specs div + div {
    padding-left: 12px;
    border-left: 1px solid var(--ukm-line);
}

.hp-specs dt {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ukm-body);
}

.hp-specs dd {
    font-family: var(--ukm-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--ukm-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price and draw date */

.hp-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    margin: 0 !important;
}

.hp-price__now {
    font-family: var(--ukm-display);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--ukm-ink);
    font-variant-numeric: tabular-nums;
}

.hp-price del {
    font-size: 15px;
    color: var(--ukm-body);
}

.hp-price__unit {
    flex-basis: 100%;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-draw {
    margin: 0 !important;
    text-align: right;
    line-height: 1.3;
}

.hp-draw span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp-draw time {
    font-family: var(--ukm-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--ukm-navy);
    white-space: nowrap;
}

/* Entries sold */

.hp-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hp-progress__track {
    position: relative;
    flex: 1;
    height: 4px;
    background: var(--ukm-grey);
    overflow: hidden;
}

.hp-progress__track span {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    min-width: 4px;
    background: linear-gradient(90deg, var(--ukm-navy), var(--ukm-red));
}

.hp-progress__label {
    flex: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--ukm-ink);
    font-variant-numeric: tabular-nums;
}

/*=============================================================
    COMPETITION CARDS & SLIDER
*=============================================================*/

.hp-live {
    padding: clamp(72px, 9vw, 128px) 0 !important;
    background: var(--ukm-paper);
}

.hp-rail {
    --per: 4;
    --gap: 20px;
}

.hp-rail__track {
    display: flex;
    gap: var(--gap);
    margin: 0;
    padding: 4px 0 28px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.hp-rail__track::-webkit-scrollbar {
    display: none;
}

.hp-rail__track:focus-visible {
    outline: 3px solid var(--ukm-red);
    outline-offset: 4px;
}

.hp-rail__item {
    display: flex;
    flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
    min-width: 0;
    scroll-snap-align: start;
}

.hp-rail__item > * {
    flex: 1;
    min-width: 0;
}

.hp-rail__controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-rail__controls[hidden] {
    display: none;
}

.hp-rail__progress {
    flex: 1;
    height: 2px;
    margin-right: 12px;
    background: var(--ukm-line);
}

.hp-rail__progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--ukm-navy);
    transition: width 0.4s var(--ukm-ease);
}

.hp-rail__count {
    min-width: 72px;
    margin: 0 8px 0 0 !important;
    font-size: 13px;
    font-weight: 500;
    color: var(--ukm-ink);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.hp-rail__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1.5px solid var(--ukm-navy);
    border-radius: 2px;
    background: transparent;
    color: var(--ukm-navy);
    cursor: pointer;
    transition: background-color 0.25s var(--ukm-ease), color 0.25s var(--ukm-ease), opacity 0.25s;
}

.hp-rail__btn:hover:not(:disabled) {
    background: var(--ukm-navy);
    color: var(--ukm-white);
}

.hp-rail__btn:disabled {
    opacity: 0.3;
    cursor: default;
}

[data-rail-prev] .ukm-arrow {
    transform: rotate(180deg);
}

/* Closing slide when there are more live competitions than the homepage shows */

.hp-more {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 24px;
    overflow: hidden;
    background: var(--ukm-navy-deep);
    border-top: 4px solid var(--ukm-red);
    color: var(--ukm-white);
    isolation: isolate;
}

.hp-more::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -30px;
    z-index: -1;
    width: 150px;
    height: 140%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 56px, transparent 56px 94px, rgba(255, 255, 255, 0.06) 94px);
    transform: skewX(-24deg);
    transition: transform 0.6s var(--ukm-ease);
}

.hp-more:hover,
.hp-more:focus {
    color: var(--ukm-white);
}

.hp-more:hover::before {
    transform: skewX(-24deg) translateX(-28px);
}

.hp-more__count {
    font-family: var(--ukm-display);
    font-size: clamp(4rem, 2.6rem + 3vw, 5.75rem);
    font-weight: 600;
    line-height: 0.9;
}

.hp-more__label {
    margin-top: 8px;
    font-family: var(--ukm-display);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.hp-more__cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    margin-top: 28px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--ukm-red);
    font-family: var(--ukm-display);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-more:hover .ukm-arrow {
    transform: translateX(4px);
}

.hp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--ukm-white);
    transition: box-shadow 0.4s var(--ukm-ease), transform 0.4s var(--ukm-ease);
}

.hp-card:hover {
    box-shadow: 0 30px 50px -30px rgba(0, 17, 63, 0.4);
}

.hp-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ukm-navy);
}

.hp-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ukm-ease);
}

.hp-card:hover .hp-card__media img {
    transform: scale(1.04);
}

.hp-card.is-soldout .hp-card__media img {
    filter: grayscale(0.85);
}

.hp-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    pointer-events: none;
}

.hp-tag {
    padding: 5px 8px 4px;
    background: var(--ukm-white);
    color: var(--ukm-navy);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hp-tag--red {
    background: var(--ukm-red);
    color: var(--ukm-white);
}

.hp-tag--ink {
    background: var(--ukm-ink);
    color: var(--ukm-white);
}

.hp-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 18px 20px;
}

.hp-card__title {
    display: -webkit-box;
    min-height: 2.4em;
    overflow: hidden;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hp-card__foot {
    margin-top: auto;
    padding-top: 14px;
}

.hp-card__meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

/* Compact scale for listing cards (the hero strip shares these components at full size) */

.hp-card .hp-card__alt {
    margin-top: 4px !important;
    font-size: 13px;
}

.hp-card .hp-specs {
    margin-top: 14px !important;
}

.hp-card .hp-specs div {
    padding: 8px 8px 8px 0;
}

.hp-card .hp-specs div + div {
    padding-left: 8px;
}

.hp-card .hp-specs dt {
    font-size: 10px;
}

.hp-card .hp-specs dd {
    font-size: 15px;
}

.hp-card .hp-price__now {
    font-size: 1.5rem;
}

.hp-card .hp-price del {
    font-size: 13px;
}

.hp-card .hp-price__unit,
.hp-card .hp-draw span {
    font-size: 10px;
}

.hp-card .hp-draw time {
    font-size: 14px;
}

.hp-card .hp-progress {
    gap: 10px;
    margin-bottom: 14px;
}

.hp-card .hp-progress__label {
    font-size: 12px;
}

.hp-card .ukm-btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 13.5px;
}

/* Small shared marks: a pulsing "live" dot and a slash separator (home hero panel, draw diary) */

.hp-sep {
    color: var(--ukm-line);
}

.hp-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ukm-red);
    box-shadow: 0 0 0 0 rgba(189, 19, 19, 0.5);
    animation: hp-pulse 2.4s infinite;
}

@keyframes hp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(189, 19, 19, 0.5); }
        70% { box-shadow: 0 0 0 8px rgba(189, 19, 19, 0); }
        100% { box-shadow: 0 0 0 0 rgba(189, 19, 19, 0); }
}

/*=============================================================
    TRUST FACTS
    Home page and competitions page (site/partials/trust_facts.php)
*=============================================================*/

.hp-facts {
    background: var(--ukm-white);
    border-bottom: 1px solid var(--ukm-line);
}

.hp-facts__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
}

.hp-facts__list li + li {
    border-left: 1px solid var(--ukm-line);
}

.hp-facts__list a {
    display: block;
    height: 100%;
    padding: 28px 24px;
    color: var(--ukm-body);
    font-size: 14px;
    line-height: 1.45;
    transition: background-color 0.25s var(--ukm-ease);
}

.hp-facts__list li:first-child a {
    padding-left: 0;
}

.hp-facts__list a:hover {
    background: var(--ukm-paper);
}

.hp-facts__list strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--ukm-display);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ukm-ink);
}

@media (max-width: 991.98px) {
    .hp-facts__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-facts__list li:nth-child(3) {
        border-left: 0;
    }

    .hp-facts__list li:nth-child(n + 3) {
        border-top: 1px solid var(--ukm-line);
    }

    .hp-facts__list li a,
    .hp-facts__list li:first-child a {
        padding: 22px 16px;
    }

    .hp-facts__list li:nth-child(odd) a {
        padding-left: 0;
    }
}

@media (max-width: 479.98px) {
    .hp-facts__list {
        grid-template-columns: 1fr;
    }

    .hp-facts__list li + li {
        border-left: 0;
        border-top: 1px solid var(--ukm-line);
    }

    .hp-facts__list li a,
    .hp-facts__list li:first-child a,
    .hp-facts__list li:nth-child(odd) a {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 16px;
        padding: 16px 0;
    }

    .hp-facts__list strong {
        flex: none;
        margin: 0;
        font-size: 16px;
    }

    .hp-facts__list span {
        text-align: right;
        font-size: 13px;
    }
}

/*=============================================================
    PAGE HEAD
    Dark opening band for inner pages: eyebrow, title, lead, key figures, and an aside panel.
    First used by the competitions page.
*=============================================================*/

.ukm-pagehead {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(56px, 7vw, 104px) 0 clamp(56px, 7vw, 96px) !important;
}

/* Navy panel with the red diagonal from the home hero */
.ukm-pagehead__slash {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 46%;
    background: var(--ukm-navy);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.ukm-pagehead__slash::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ukm-red);
    clip-path: polygon(20% 0, calc(20% + 20px) 0, 20px 100%, 0 100%);
}

.ukm-pagehead__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 48px clamp(48px, 6vw, 96px);
}

.ukm-pagehead__title {
    margin: 16px 0 18px !important;
    font-size: clamp(2.75rem, 1.5rem + 4.4vw, 5.5rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    animation: hp-rise 0.8s var(--ukm-ease) both;
}

.ukm-pagehead__lead {
    max-width: 540px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.ukm-pagehead__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 32px;
}

/* Key figures in a row, on a dark band */
.ukm-figures {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0 34px !important;
    padding-top: 22px;
    border-top: 1px solid var(--ukm-line-light);
}

.ukm-figures div {
    padding-right: clamp(20px, 3vw, 40px);
}

.ukm-figures div + div {
    padding-left: clamp(20px, 3vw, 40px);
    border-left: 1px solid var(--ukm-line-light);
}

.ukm-figures dt {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.ukm-figures dd {
    margin-top: 4px !important;
    font-family: var(--ukm-display);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--ukm-white);
    white-space: nowrap;
}

/*--- Draw diary: the next draws in date order ---*/
.ukm-diary {
    padding: 26px 26px 8px;
    background: var(--ukm-white);
    border-top: 4px solid var(--ukm-red);
    box-shadow: 0 40px 70px -35px rgba(0, 6, 22, 0.75);
    color: var(--ukm-body);
    animation: hp-rise 0.9s 0.15s var(--ukm-ease) both;
}

.ukm-diary__kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ukm-navy);
}

.ukm-diary__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ukm-diary__list li + li {
    border-top: 1px solid var(--ukm-line);
}

.ukm-diary__list a {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    color: var(--ukm-ink);
}

.ukm-diary__list a .ukm-arrow {
    color: var(--ukm-navy);
}

.ukm-diary__list a:hover .ukm-arrow {
    transform: translateX(4px);
}

.ukm-diary__list a:hover .ukm-diary__name {
    color: var(--ukm-navy);
}

.ukm-diary__date {
    display: grid;
    justify-items: center;
    padding: 6px 0 5px;
    border: 1px solid var(--ukm-line);
    line-height: 1.05;
}

.ukm-diary__date span {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ukm-body);
}

.ukm-diary__date strong {
    font-family: var(--ukm-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--ukm-ink);
}

.ukm-diary__list .is-next .ukm-diary__date {
    background: var(--ukm-navy);
    border-color: var(--ukm-navy);
}

.ukm-diary__list .is-next .ukm-diary__date span,
.ukm-diary__list .is-next .ukm-diary__date strong {
    color: var(--ukm-white);
}

.ukm-diary__body {
    min-width: 0;
}

.ukm-diary__name {
    display: block;
    overflow: hidden;
    font-family: var(--ukm-display);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.25s var(--ukm-ease);
}

.ukm-diary__meta {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--ukm-body);
    font-variant-numeric: tabular-nums;
}

.ukm-diary__meta b {
    font-weight: 600;
    color: var(--ukm-red);
}

/*=============================================================
    CARD GRID WITH FILTERS
*=============================================================*/

.ukm-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    margin-bottom: 14px;
}

.ukm-filters__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ukm-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(0, 27, 104, 0.22);
    border-radius: 2px;
    background: var(--ukm-white);
    color: var(--ukm-navy);
    font-family: var(--ukm-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s var(--ukm-ease), color 0.25s var(--ukm-ease), border-color 0.25s var(--ukm-ease);
}

.ukm-chip span {
    font-family: var(--ukm-text);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    opacity: 0.7;
}

.ukm-chip:hover {
    border-color: var(--ukm-navy);
}

.ukm-chip.is-on {
    background: var(--ukm-navy);
    border-color: var(--ukm-navy);
    color: var(--ukm-white);
}

.ukm-filters__sort {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.ukm-filters__sort span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ukm-filters__sort select {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--ukm-line);
    border-radius: 2px;
    background: var(--ukm-white);
    color: var(--ukm-ink);
    font-size: 14px;
}

.ukm-filters__sort select:focus-visible {
    outline: 3px solid var(--ukm-red);
    outline-offset: 2px;
}

.ukm-filters__count {
    margin: 0 0 22px !important;
    font-size: 13px;
}

.ukm-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ukm-cards > li {
    display: flex;
    min-width: 0;
}

.ukm-cards > li[hidden] {
    display: none;
}

.ukm-cards > li > * {
    flex: 1;
    min-width: 0;
}

/* A drawn card shows the result instead of the price: one rule between the car and the result, button clear of it */
.hp-card__foot > .hp-specs:first-child {
    margin-top: 0 !important;
    border-top: 0;
}

.hp-card__foot .hp-specs + .ukm-btn {
    margin-top: 16px;
}

.ukm-note {
    max-width: 780px;
    margin: 32px 0 0 !important;
    font-size: 13px;
}

.ukm-note a {
    color: var(--ukm-navy);
    border-bottom: 1px solid var(--ukm-red);
}

.ukm-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0 !important;
}

.ukm-drawn {
    padding: clamp(72px, 9vw, 128px) 0 !important;
    background: var(--ukm-white);
}

@media (max-width: 1199.98px) {
    .ukm-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .ukm-pagehead__inner {
        grid-template-columns: 1fr;
    }

    .ukm-pagehead__slash {
        width: 34%;
        opacity: 0.55;
    }

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

@media (max-width: 575.98px) {
    .ukm-pagehead__slash {
        display: none;
    }

    .ukm-figures {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    }

    .ukm-figures div,
    .ukm-figures div + div {
        padding: 0 12px;
    }

    .ukm-figures div:first-child {
        padding-left: 0;
    }

    .ukm-figures dd {
        font-size: 20px;
        white-space: normal;
    }

    .ukm-diary {
        padding: 22px 18px 6px;
    }

    /* Three draws are enough on a phone; the cards follow straight after */
    .ukm-diary__list li:nth-child(n + 4) {
        display: none;
    }

    .ukm-filters__sort {
        width: 100%;
    }

    .ukm-filters__sort select {
        flex: 1;
    }

    .ukm-cards {
        grid-template-columns: 1fr;
    }
}

/*=============================================================
    STEP BAND
    Numbered steps on a navy band (home: how it works; winners page: how winners are chosen).
*=============================================================*/

.hp-steps {
    position: relative;
    padding: clamp(72px, 9vw, 128px) 0 !important;
    overflow: hidden;
}

/* Oversized bonnet stripes in the corner */

.hp-steps::before {
    content: "";
    position: absolute;
    top: -10%;
    right: 6%;
    width: 160px;
    height: 120%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 60px, transparent 60px 100px, rgba(255, 255, 255, 0.04) 100px);
    transform: skewX(-24deg);
    pointer-events: none;
}

.hp-head--light .hp-head__aside p {
    color: rgba(255, 255, 255, 0.78);
}

.hp-steps__list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

/* The line joining the roundels */

.hp-steps__list::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 32px;
    right: 12%;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 8px, transparent 8px 16px);
}

.hp-steps__list li {
    position: relative;
}

.hp-roundel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 28px;
    border-radius: 50%;
    background: var(--ukm-white);
    box-shadow: 0 0 0 4px var(--ukm-navy-deep), 0 0 0 6px var(--ukm-red);
    color: var(--ukm-navy-deep);
    font-family: var(--ukm-display);
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
}

.hp-steps__list h3 {
    margin-bottom: 10px;
    font-size: 1.375rem;
    font-weight: 500;
    text-transform: uppercase;
}

.hp-steps__list p {
    max-width: 280px;
    color: rgba(255, 255, 255, 0.74);
}

.hp-steps__list a {
    color: var(--ukm-white);
    text-decoration: underline;
    text-decoration-color: var(--ukm-red);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.hp-steps__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 40px;
    margin: clamp(40px, 5vw, 64px) 0 0 !important;
    padding-top: 32px;
    border-top: 1px solid var(--ukm-line-light);
}

@media (max-width: 991.98px) {
    .hp-steps__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 32px;
    }

    .hp-steps__list::before {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hp-steps__list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hp-steps__list li {
        display: grid;
        grid-template-columns: 56px 1fr;
        column-gap: 20px;
        padding-bottom: 32px;
    }

    .hp-steps__list li:not(:last-child)::before {
        content: "";
        position: absolute;
        top: 56px;
        bottom: 0;
        left: 27px;
        width: 1px;
        background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0 6px, transparent 6px 12px);
    }

    .hp-roundel {
        grid-row: span 2;
        width: 56px;
        height: 56px;
        margin: 0;
        font-size: 26px;
    }

    .hp-steps__list h3 {
        padding-top: 12px;
        font-size: 1.25rem;
    }

    .hp-steps::before {
        right: -60px;
    }
}

/*=============================================================
    WINNER SPOTLIGHT
    Photo with a navy caption: name, prize, story excerpt, ticket and draw date
    (home: recent winners; winners page: latest winner).
*=============================================================*/

.hp-winner__img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ukm-navy);
}

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

.hp-winner__cap {
    position: relative;
    margin: -48px 0 0 clamp(16px, 3vw, 32px);
    padding: 28px 28px 24px;
    background: var(--ukm-navy-deep);
    color: rgba(255, 255, 255, 0.78);
    border-top: 4px solid var(--ukm-red);
}

.hp-winner__kicker {
    margin-bottom: 6px !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase !important;
}

.hp-winner__name {
    margin-bottom: 4px !important;
    font-family: var(--ukm-display);
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.05;
    text-transform: uppercase !important;
    color: var(--ukm-white);
}

.hp-winner__prize a {
    color: var(--ukm-white);
    text-decoration: underline;
    text-decoration-color: var(--ukm-red);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.hp-winner__text {
    font-size: 15px;
}

.hp-winner__meta {
    display: flex;
    gap: 32px;
    padding-top: 14px;
    border-top: 1px solid var(--ukm-line-light);
}

.hp-winner__meta dt {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp-winner__meta dd {
    font-family: var(--ukm-display);
    font-size: 18px;
    color: var(--ukm-white);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
    .hp-winner__cap {
        margin: -32px 0 0 16px;
        padding: 22px 20px 20px;
    }

    .hp-winner__name {
        font-size: 1.875rem;
    }
}

/*--- Latest winner in the page head (the home page's winner spotlight) ---*/
.ukm-pagehead__winner {
    margin: 0;
    animation: hp-rise 0.9s 0.15s var(--ukm-ease) both;
}

.ukm-pagehead__winner .hp-winner__img {
    box-shadow: 0 40px 70px -35px rgba(0, 6, 22, 0.75);
}

.ukm-pagehead__winner .hp-winner__cap {
    box-shadow: 0 30px 60px -30px rgba(0, 6, 22, 0.8);
}

.ukm-pagehead__story {
    margin-top: 18px;
}

/*=============================================================
    WINNER CARD
    Photo, draw date, name, prize and winning ticket (site/partials/winner_card.php).
*=============================================================*/

.ukm-winner {
    display: flex;
    flex-direction: column;
    background: var(--ukm-white);
    transition: box-shadow 0.4s var(--ukm-ease);
}

.ukm-winner:hover {
    box-shadow: 0 30px 50px -30px rgba(0, 17, 63, 0.4);
}

.ukm-winner__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ukm-navy);
}

.ukm-winner__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ukm-ease);
}

.ukm-winner:hover .ukm-winner__media img {
    transform: scale(1.04);
}

.ukm-winner__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 22px 22px;
}

.ukm-winner__date {
    margin-bottom: 8px !important;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase !important;
}

.ukm-winner__name {
    margin-bottom: 6px !important;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.08;
    text-transform: uppercase;
    color: var(--ukm-ink);
    overflow-wrap: anywhere;
}

.ukm-winner__prize {
    margin-bottom: 18px !important;
    font-size: 14px;
    line-height: 1.5;
}

.ukm-winner__prize a,
.ukm-story__prize a {
    color: var(--ukm-navy);
    text-decoration: underline;
    text-decoration-color: rgba(189, 19, 19, 0.45);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.25s var(--ukm-ease);
}

.ukm-winner__prize a:hover,
.ukm-story__prize a:hover {
    color: var(--ukm-navy);
    text-decoration-color: var(--ukm-red);
}

.ukm-winner__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 16px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--ukm-line);
}

.ukm-winner__ticket {
    display: grid;
    margin: 0 !important;
}

.ukm-winner__ticket span,
.ukm-story__meta dt {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ukm-winner__ticket strong {
    font-family: var(--ukm-display);
    font-size: 1.625rem;
    font-weight: 500;
    line-height: 1.1;
    color: var(--ukm-red);
    font-variant-numeric: tabular-nums;
}

/*=============================================================
    SEARCH AND "SHOW MORE" (lists filtered on the server, [data-remote-grid])
*=============================================================*/

.ukm-finder {
    margin: 0;
}

.ukm-search {
    position: relative;
    display: flex;
    flex: 1 1 420px;
    max-width: 560px;
}

.ukm-search__icon {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 18px;
    height: 18px;
    color: var(--ukm-navy);
    transform: translateY(-50%);
    pointer-events: none;
}

.ukm-search input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 0 14px 0 44px;
    border: 1px solid rgba(0, 27, 104, 0.22);
    border-right: 0;
    border-radius: 2px 0 0 2px;
    background: var(--ukm-white);
    color: var(--ukm-ink);
    font-size: 15px;
}

.ukm-search input::placeholder {
    color: rgba(81, 81, 81, 0.75);
}

.ukm-search input:focus {
    outline: 0;
    border-color: var(--ukm-navy);
    box-shadow: inset 0 0 0 1px var(--ukm-navy);
}

.ukm-search__btn {
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 0 2px 2px 0;
    background: var(--ukm-navy);
    color: var(--ukm-white);
    font-family: var(--ukm-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s var(--ukm-ease);
}

.ukm-search__btn:hover {
    background: var(--ukm-red);
}

.ukm-search__btn:focus-visible {
    outline: 3px solid var(--ukm-red);
    outline-offset: 2px;
}

.ukm-finder .ukm-filters__sort select {
    min-height: 48px;
}

.ukm-filters__years {
    margin-bottom: 14px;
}

/* Chips can be links (year filters that also work without JavaScript) */
a.ukm-chip,
a.ukm-chip:hover,
a.ukm-chip:focus {
    color: var(--ukm-navy);
    text-decoration: none;
}

a.ukm-chip.is-on,
a.ukm-chip.is-on:hover,
a.ukm-chip.is-on:focus {
    color: var(--ukm-white);
}

.ukm-chip:focus-visible {
    outline: 3px solid var(--ukm-red);
    outline-offset: 2px;
}

[data-remote-items] {
    transition: opacity 0.25s var(--ukm-ease);
}

[data-remote-items][aria-busy="true"] {
    opacity: 0.45;
}

.ukm-more {
    display: flex;
    justify-content: center;
    margin: 40px 0 0 !important;
}

.ukm-more[hidden] {
    display: none;
}

/*=============================================================
    DIALOG AND WINNER STORY
*=============================================================*/

html:has(.ukm-dialog[open]) {
    overflow: hidden;
}

.ukm-dialog {
    width: min(1000px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100% - 48px);
    padding: 0;
    border: 0;
    border-top: 4px solid var(--ukm-red);
    background: var(--ukm-white);
    color: var(--ukm-body);
    box-shadow: 0 40px 90px -30px rgba(0, 6, 22, 0.7);
    overflow: auto;
    overscroll-behavior: contain;
}

/* Bootstrap 4 resets dialog to display:block, even without the open attribute. */
.ukm-dialog:not([open]) {
    display: none;
}

.ukm-dialog[open] {
    animation: hp-rise 0.5s var(--ukm-ease) both;
}

.ukm-dialog::backdrop {
    background: rgba(0, 17, 63, 0.78);
}

.ukm-dialog__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ukm-white);
    color: var(--ukm-ink);
    box-shadow: 0 6px 18px rgba(0, 17, 63, 0.18);
    cursor: pointer;
    transition: background-color 0.25s var(--ukm-ease), color 0.25s var(--ukm-ease);
}

.ukm-dialog__close svg {
    width: 18px;
    height: 18px;
}

.ukm-dialog__close:hover {
    background: var(--ukm-navy);
    color: var(--ukm-white);
}

.ukm-dialog__close:focus-visible {
    outline: 3px solid var(--ukm-red);
    outline-offset: 2px;
}

.ukm-dialog__status {
    margin: 0 !important;
    padding: 64px 32px;
    text-align: center;
}

.ukm-story {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.ukm-story--empty {
    display: block;
}

.ukm-story__media {
    background: var(--ukm-navy);
}

.ukm-story__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.ukm-story__body {
    padding: clamp(28px, 4vw, 48px);
}

.ukm-story__kicker {
    margin-bottom: 10px !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase !important;
    color: var(--ukm-red);
}

.ukm-story__name {
    margin-bottom: 8px !important;
    padding-right: 44px;
    font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ukm-ink);
}

.ukm-story__prize {
    font-size: 15px;
}

.ukm-story__prize span {
    white-space: nowrap;
}

.ukm-story__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    margin: 20px 0 0 !important;
    padding: 14px 0;
    border-top: 1px solid var(--ukm-line);
    border-bottom: 1px solid var(--ukm-line);
}

.ukm-story__meta dd {
    margin: 2px 0 0 !important;
    font-family: var(--ukm-display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--ukm-ink);
    font-variant-numeric: tabular-nums;
}

.ukm-story__meta div:first-child dd {
    color: var(--ukm-red);
}

.ukm-story__text {
    margin-top: 22px;
    font-size: 15.5px;
    line-height: 1.7;
}

.ukm-story__text p {
    margin-bottom: 14px !important;
}

.ukm-story .ukm-links {
    margin-top: 24px !important;
}

@media (max-width: 991.98px) {
    .ukm-pagehead__winner {
        max-width: 600px;
    }
}

@media (max-width: 767.98px) {
    .ukm-story {
        grid-template-columns: 1fr;
    }

    .ukm-story__media img {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .ukm-story__name {
        padding-right: 0;
    }

    .ukm-dialog__close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 575.98px) {
    .ukm-search {
        flex-basis: 100%;
    }

    .ukm-search__btn {
        padding: 0 16px;
    }

    .ukm-winner__name {
        font-size: 1.375rem;
    }
}

/*--- Page head variants (entry list page) ---*/
.ukm-pagehead--compact .ukm-pagehead__title {
    font-size: clamp(2.25rem, 1.3rem + 3vw, 4rem);
    line-height: 1;
}

.ukm-pagehead .ukm-eyebrow a {
    color: inherit;
}

.ukm-pagehead .ukm-eyebrow a:hover {
    color: var(--ukm-white);
}

.ukm-pagehead__stub {
    animation: hp-rise 0.9s 0.15s var(--ukm-ease) both;
}

/*--- Panel: white card with the red top rule, for the aside of a page head (and forms) ---*/
.ukm-panel {
    padding: 28px 28px 24px;
    background: var(--ukm-white);
    border-top: 4px solid var(--ukm-red);
    box-shadow: 0 40px 70px -35px rgba(0, 6, 22, 0.75);
    color: var(--ukm-body);
}

.ukm-pagehead .ukm-panel {
    animation: hp-rise 0.9s 0.15s var(--ukm-ease) both;
}

.ukm-panel__kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase !important;
    color: var(--ukm-navy);
}

/*--- Ticket checker panel (entry lists page head) ---*/
.ukm-check {
    display: grid;
    gap: 16px;
}

.ukm-check .ukm-panel__kicker {
    margin: 0 !important;
}

.ukm-check__intro {
    margin: -8px 0 4px !important;
    font-family: var(--ukm-display);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--ukm-ink);
}

.ukm-check__field {
    display: grid;
    gap: 6px;
    margin: 0;
}

.ukm-check__field span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ukm-check__field select,
.ukm-check__field input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(0, 27, 104, 0.22);
    border-radius: 2px;
    background: var(--ukm-white);
    color: var(--ukm-ink);
    font-size: 15px;
}

.ukm-check__field select:focus,
.ukm-check__field input:focus {
    outline: 0;
    border-color: var(--ukm-navy);
    box-shadow: inset 0 0 0 1px var(--ukm-navy);
}

.ukm-check__note {
    margin: 0 !important;
    font-size: 13px;
}

.ukm-check__note a {
    color: var(--ukm-navy);
    border-bottom: 1px solid var(--ukm-red);
}

/*=============================================================
    TICKET STUB
    A closed competition as a ticket: photo, details, and a tear-off stub with the winning ticket
    (site/partials/entry_stub.php). Entry lists page and entry list page.
*=============================================================*/

.ukm-stubs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ukm-stubs > li {
    display: flex;
    min-width: 0;
}

.ukm-stub {
    --tear: 196px;
    position: relative;
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) var(--tear);
    min-width: 0;
    color: var(--ukm-body);
    transition: filter 0.4s var(--ukm-ease);
}

.ukm-stub:hover {
    filter: drop-shadow(0 22px 22px rgba(0, 17, 63, 0.16));
}

/* The notches are cut out of the two halves at the perforation (each half takes a quarter circle) */
.ukm-stub__main,
.ukm-stub__tear {
    --a: 100% 0;
    --b: 100% 100%;
    background: var(--ukm-white);
    -webkit-mask: radial-gradient(circle 12px at var(--a), #0000 98%, #000), radial-gradient(circle 12px at var(--b), #0000 98%, #000);
    -webkit-mask-composite: source-in;
    mask: radial-gradient(circle 12px at var(--a), #0000 98%, #000), radial-gradient(circle 12px at var(--b), #0000 98%, #000);
    mask-composite: intersect;
}

.ukm-stub__tear {
    --a: 0 0;
    --b: 0 100%;
}

.ukm-stub__media {
    position: relative;
    display: block;
    min-height: 100%;
    overflow: hidden;
    background: var(--ukm-navy);
}

.ukm-stub__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ukm-ease);
}

.ukm-stub:hover .ukm-stub__media img {
    transform: scale(1.04);
}

.ukm-stub__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 22px 20px;
}

.ukm-stub__kicker {
    margin-bottom: 8px !important;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase !important;
}

.ukm-stub .ukm-stub__title {
    margin-bottom: 4px !important;
    font-size: 1.3125rem;
    font-weight: 500;
    line-height: 1.12;
    text-transform: uppercase;
    color: var(--ukm-ink);
}

.ukm-stub__title a {
    color: inherit;
}

.ukm-stub__title a:hover {
    color: var(--ukm-navy);
}

.ukm-stub__alt {
    font-size: 13px;
}

.ukm-stub__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: auto 0 0 !important;
    padding-top: 16px;
}

.ukm-stub__facts dt {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ukm-stub__facts dd {
    margin: 2px 0 0 !important;
    font-family: var(--ukm-display);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--ukm-ink);
    font-variant-numeric: tabular-nums;
}

/* The tear-off stub: perforated edge with a notch top and bottom */
.ukm-stub__tear {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 22px 22px 20px;
    border-left: 2px dashed rgba(0, 27, 104, 0.2);
    text-align: center;
}

.ukm-stub__label {
    margin: 0 !important;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase !important;
}

.ukm-stub__number {
    margin: 0 0 10px !important;
    font-family: var(--ukm-display);
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1;
    color: var(--ukm-red);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.ukm-stub .ukm-btn {
    padding-left: 12px;
    padding-right: 12px;
}

.ukm-stub__pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    align-self: center;
    margin-top: 4px;
    padding: 4px 2px;
    color: var(--ukm-navy);
    font-family: var(--ukm-display);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ukm-stub__pdf svg {
    width: 14px;
    height: 14px;
}

.ukm-stub__pdf:hover {
    color: var(--ukm-red);
}

/* Tall stub: photo on top, stub along the bottom (entry list page head, and every stub on phones) */
.ukm-stub--tall {
    grid-template-columns: 1fr;
    filter: drop-shadow(0 30px 40px rgba(0, 6, 22, 0.55));
}

.ukm-stub--tall:hover {
    filter: drop-shadow(0 30px 40px rgba(0, 6, 22, 0.55));
}

.ukm-stub--tall .ukm-stub__main {
    --a: 0 100%;
    --b: 100% 100%;
}

.ukm-stub--tall .ukm-stub__tear {
    --a: 0 0;
    --b: 100% 0;
}

.ukm-stub--tall .ukm-stub__media,
.ukm-stub--tall .ukm-stub__media img {
    position: relative;
    aspect-ratio: 16 / 9;
}

.ukm-stub--tall .ukm-stub__media img {
    position: absolute;
}

.ukm-stub--tall .ukm-stub__tear {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2px 20px;
    border-top: 2px dashed rgba(0, 27, 104, 0.2);
    border-left: 0;
    text-align: left;
}

.ukm-stub--tall .ukm-stub__label {
    grid-column: 1;
}

.ukm-stub--tall .ukm-stub__number {
    grid-column: 1;
    margin: 0 !important;
}

.ukm-stub--tall .ukm-btn {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.ukm-stub--tall .ukm-stub__pdf {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 10px;
}

.ukm-stub--tall .ukm-btn + .ukm-stub__pdf {
    justify-self: end;
}

/*=============================================================
    RESULTS SHEET
    Timing-sheet table in the home page's results-board style: entry lists and earlier draws.
    Rows can be added by [data-remote-grid]. Cells with data-label stack on phones.
*=============================================================*/

.ukm-sheet-wrap {
    background: var(--ukm-white);
    padding: 8px 24px 4px;
}

.ukm-sheet {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.ukm-sheet thead th {
    padding: 16px 16px 12px 0;
    border-bottom: 2px solid var(--ukm-ink);
    font-family: var(--ukm-text);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ukm-body);
    text-align: left;
    white-space: nowrap;
}

.ukm-sheet tbody th,
.ukm-sheet tbody td {
    padding: 14px 16px 14px 0;
    border-bottom: 1px solid var(--ukm-line);
    vertical-align: baseline;
    text-align: left;
}

.ukm-sheet--entries tbody th,
.ukm-sheet--entries tbody td {
    padding-top: 10px;
    padding-bottom: 10px;
}

.ukm-sheet tbody tr:last-child > * {
    border-bottom: 0;
}

.ukm-sheet tbody tr {
    transition: background-color 0.25s var(--ukm-ease);
}

.ukm-sheet tbody tr:hover {
    background: var(--ukm-paper);
}

.ukm-sheet .ukm-sheet__end {
    padding-right: 0;
    text-align: right;
}

.ukm-sheet__name {
    font-family: var(--ukm-display);
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--ukm-ink);
}

.ukm-sheet__name a {
    color: var(--ukm-ink);
}

.ukm-sheet__name a:hover {
    color: var(--ukm-navy);
}

.ukm-sheet__date,
.ukm-sheet__muted {
    font-size: 14px;
    white-space: nowrap;
}

.ukm-sheet .ukm-sheet__no,
.ukm-sheet .ukm-sheet__ticket {
    font-family: var(--ukm-display);
    font-size: 19px;
    font-weight: 500;
    color: var(--ukm-red);
    white-space: nowrap;
}

.ukm-sheet .ukm-sheet__no {
    width: 1%;
    padding-right: 28px;
    color: var(--ukm-navy);
}

.ukm-sheet__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--ukm-navy);
}

.ukm-sheet__status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.ukm-sheet tr.is-out .ukm-sheet__status {
    color: var(--ukm-body);
}

.ukm-sheet tr.is-out .ukm-sheet__status::before {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px currentColor;
}

.ukm-sheet tr.is-out .ukm-sheet__no,
.ukm-sheet tr.is-out .ukm-sheet__name {
    color: rgba(1, 1, 1, 0.45);
}

.ukm-sheet tr.is-winner {
    background: var(--ukm-paper);
    box-shadow: inset 4px 0 0 var(--ukm-red);
}

.ukm-sheet tr.is-winner .ukm-sheet__no {
    padding-left: 14px;
    color: var(--ukm-red);
}

.ukm-sheet__flag {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 7px;
    background: var(--ukm-red);
    color: var(--ukm-white);
    font-family: var(--ukm-text);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    vertical-align: 3px;
}

/* Other entry lists as a two-column diary */
.ukm-diary__list--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
}

.ukm-diary__list--grid li,
.ukm-diary__list--grid li + li {
    border-top: 0;
    border-bottom: 1px solid var(--ukm-line);
}

@media (max-width: 1199.98px) {
    .ukm-stubs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .ukm-pagehead__stub,
    .ukm-pagehead .ukm-panel {
        max-width: 600px;
    }
}

@media (max-width: 767.98px) {
    .ukm-stub {
        grid-template-columns: 1fr;
    }

    .ukm-stub__media,
    .ukm-stub__media img {
        position: relative;
        aspect-ratio: 16 / 9;
    }

    .ukm-stub__media img {
        position: absolute;
    }

    .ukm-stub__tear {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 2px 16px;
        border-top: 2px dashed rgba(0, 27, 104, 0.2);
        border-left: 0;
        text-align: left;
    }

    .ukm-stub__main {
        --a: 0 100%;
        --b: 100% 100%;
    }

    .ukm-stub__tear {
        --a: 0 0;
        --b: 100% 0;
    }

    .ukm-stub__label,
    .ukm-stub__number {
        grid-column: 1;
    }

    .ukm-stub__number {
        margin: 0 !important;
        font-size: 1.875rem;
    }

    .ukm-stub .ukm-btn {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .ukm-stub__pdf {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .ukm-diary__list--grid {
        grid-template-columns: 1fr;
    }

    /* Sheet rows become small cards: first cell and name on top, the labelled cells beneath */
    .ukm-sheet-wrap {
        padding: 0;
        background: transparent;
    }

    .ukm-sheet thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .ukm-sheet,
    .ukm-sheet tbody {
        display: block;
    }

    .ukm-sheet tbody tr {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px 16px;
        margin-bottom: 8px;
        padding: 14px 16px;
        background: var(--ukm-white);
    }

    .ukm-sheet tbody th,
    .ukm-sheet tbody td,
    .ukm-sheet .ukm-sheet__end {
        padding: 0;
        border: 0;
        text-align: left;
    }

    .ukm-sheet tbody .ukm-sheet__name {
        order: -1;
        flex: 1 1 100%;
    }

    .ukm-sheet--entries tbody tr {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "no name name" "no answer status";
        gap: 2px 14px;
    }

    .ukm-sheet--entries tbody .ukm-sheet__no {
        grid-area: no;
        min-width: 56px;
    }

    .ukm-sheet--entries tbody .ukm-sheet__name {
        grid-area: name;
    }

    .ukm-sheet--entries tbody .ukm-sheet__muted {
        grid-area: answer;
        white-space: normal;
    }

    .ukm-sheet--entries tbody .ukm-sheet__end {
        grid-area: status;
    }

    .ukm-sheet.ukm-sheet--entries tbody td[data-label]::before {
        display: none;
    }

    .ukm-sheet__flag {
        display: table;
        margin: 4px 0 0;
    }

    .ukm-sheet tbody td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-family: var(--ukm-text);
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--ukm-body);
    }

    .ukm-sheet .ukm-sheet__no {
        width: auto;
        padding: 0;
    }

    .ukm-sheet tr.is-winner .ukm-sheet__no {
        padding-left: 0;
    }
}

/*=============================================================
    FAQ
    Questions with answers that open (home page and how it works).
*=============================================================*/

.hp-faq {
    padding: clamp(72px, 9vw, 128px) 0 !important;
    background: var(--ukm-white);
}

.hp-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.hp-faq__intro .hp-h2 {
    margin-bottom: 20px;
}

.hp-faq__intro > p:not(.ukm-eyebrow) {
    max-width: 400px;
}

.hp-faq__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    margin-top: 28px !important;
}

.hp-faq__list {
    border-top: 2px solid var(--ukm-ink);
}

.hp-faq__list details {
    border-bottom: 1px solid var(--ukm-line);
}

.hp-faq__list summary {
    position: relative;
    display: block;
    padding: 22px 48px 22px 0;
    font-family: var(--ukm-display);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--ukm-ink);
    cursor: pointer;
    list-style: none;
}

.hp-faq__list summary::-webkit-details-marker {
    display: none;
}

.hp-faq__list summary::before,
.hp-faq__list summary::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 16px;
    height: 2px;
    background: var(--ukm-red);
    transition: transform 0.3s var(--ukm-ease);
}

.hp-faq__list summary::after {
    transform: rotate(90deg);
}

.hp-faq__list details[open] summary::after {
    transform: rotate(0deg);
}

.hp-faq__list summary:hover {
    color: var(--ukm-navy);
}

.hp-faq__list details > div {
    padding: 0 48px 24px 0;
}

.hp-faq__list details a {
    color: var(--ukm-navy);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--ukm-red);
    text-underline-offset: 3px;
}

@media (max-width: 991.98px) {
    .hp-faq__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .hp-faq__list summary {
        font-size: 1.125rem;
        padding: 20px 40px 20px 0;
    }

    .hp-faq__list details > div {
        padding-right: 0;
    }
}

/*--- Line icons (inline SVG, drawn with the text colour) ---*/
.ukm-icon {
    flex: none;
    width: 24px;
    height: 24px;
}

/*--- Two columns: copy on the left, a panel on the right ---*/
.ukm-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px clamp(48px, 6vw, 96px);
    align-items: center;
}

.ukm-split__copy .hp-h2 {
    margin-bottom: 20px;
}

.ukm-split__copy > p:not(.ukm-eyebrow) {
    max-width: 460px;
}

.ukm-split__copy .ukm-links {
    margin-top: 28px !important;
}

/* Draw diary on a light section: no lift, a hairline frame instead */
.ukm-diary--flat {
    border: 1px solid var(--ukm-line);
    border-top: 4px solid var(--ukm-red);
    box-shadow: none;
    animation: none;
}

/*=============================================================
    SCREEN AND RECORDINGS
    A video "screen": poster photo, play button, date. The player loads only on play
    (live draws page: the latest draw and every recording).
*=============================================================*/

.ukm-screen {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--ukm-navy-deep);
    color: var(--ukm-white);
}

.ukm-screen > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ukm-ease);
}

/* Broadcast tint and scan lines over the poster */
.ukm-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.07) 0 1px, transparent 1px 3px),
        linear-gradient(180deg, rgba(0, 17, 63, 0.15) 0%, rgba(0, 17, 63, 0.75) 100%);
    pointer-events: none;
}

.ukm-screen__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 9px;
    background: rgba(0, 17, 63, 0.82);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ukm-screen__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ukm-red);
    box-shadow: 0 0 0 8px rgba(189, 19, 19, 0.25);
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.35s var(--ukm-ease), box-shadow 0.35s var(--ukm-ease);
}

.ukm-screen__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent var(--ukm-white);
    transform: translate(-50%, -50%);
}

a.ukm-screen:hover .ukm-screen__play,
.ukm-screen__play:hover {
    box-shadow: 0 0 0 12px rgba(189, 19, 19, 0.3);
    transform: translate(-50%, -50%) scale(1.06);
}

a.ukm-screen:hover > img {
    transform: scale(1.04);
}

a.ukm-screen:focus-visible,
.ukm-screen__play:focus-visible {
    outline: 3px solid var(--ukm-red);
    outline-offset: 3px;
}

.ukm-screen__date {
    position: absolute;
    left: 14px;
    bottom: 10px;
    z-index: 2;
    font-family: var(--ukm-display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.ukm-screen > iframe {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.ukm-screen.is-playing::after,
.ukm-screen.is-playing .ukm-screen__tag {
    display: none;
}

/* The latest draw, on the page head */
.ukm-stage {
    margin: 0;
    animation: hp-rise 0.9s 0.15s var(--ukm-ease) both;
}

.ukm-screen--stage {
    box-shadow: 0 40px 70px -35px rgba(0, 6, 22, 0.75);
}

.ukm-screen--stage .ukm-screen__play {
    width: 84px;
    height: 84px;
}

.ukm-screen--stage .ukm-screen__play::before {
    border-width: 14px 0 14px 23px;
}

.ukm-stage__cap {
    position: relative;
    margin: -28px 0 0 clamp(16px, 3vw, 32px);
    padding: 24px 26px 18px;
    background: var(--ukm-white);
    border-top: 4px solid var(--ukm-red);
    color: var(--ukm-body);
    box-shadow: 0 30px 60px -30px rgba(0, 6, 22, 0.8);
}

.ukm-stage__kicker {
    margin-bottom: 4px !important;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase !important;
}

.ukm-stage__title {
    margin-bottom: 10px !important;
    font-family: var(--ukm-display);
    font-size: 1.625rem;
    font-weight: 500;
    line-height: 1.1;
    text-transform: uppercase !important;
    color: var(--ukm-ink);
}

/* Recording card */
.ukm-cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ukm-reel {
    display: flex;
    flex-direction: column;
    background: var(--ukm-white);
    transition: box-shadow 0.4s var(--ukm-ease);
}

.ukm-reel:hover {
    box-shadow: 0 30px 50px -30px rgba(0, 17, 63, 0.4);
}

.ukm-reel__body {
    padding: 18px 20px 16px;
}

.ukm-reel__title {
    margin-bottom: 8px !important;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--ukm-ink);
}

.ukm-reel__results {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ukm-reel__results li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "winner ticket" "prize ticket";
    column-gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--ukm-line);
}

.ukm-reel__winner {
    grid-area: winner;
    font-family: var(--ukm-display);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--ukm-ink);
}

.ukm-reel__prize {
    grid-area: prize;
    overflow: hidden;
    font-size: 13px;
    color: var(--ukm-body);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ukm-reel__prize:hover {
    color: var(--ukm-navy);
}

.ukm-reel__ticket {
    grid-area: ticket;
    align-self: center;
    font-family: var(--ukm-display);
    font-size: 19px;
    font-weight: 500;
    color: var(--ukm-red);
    font-variant-numeric: tabular-nums;
}

.ukm-reel__none {
    margin: 0 !important;
    padding-top: 8px;
    border-top: 1px solid var(--ukm-line);
    font-size: 13px;
}

/* Video panel */
.ukm-dialog--video {
    width: min(960px, calc(100% - 32px));
    border-top: 0;
    background: #000;
}

.ukm-dialog__video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.ukm-dialog__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ukm-dialog__caption {
    margin: 0 !important;
    padding: 14px 72px 16px 20px;
    background: var(--ukm-navy-deep);
    color: var(--ukm-white);
    font-family: var(--ukm-display);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
}

.ukm-dialog__caption p {
    margin-bottom: 8px !important;
}

.ukm-dialog--video .ukm-dialog__close {
    top: auto;
    bottom: 6px;
    right: 10px;
    width: 40px;
    height: 40px;
}

/*=============================================================
    GUIDE: contents panel, numbered journey, example question, entry routes, rules
    (how it works page)
*=============================================================*/

.ukm-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ukm-toc li + li {
    border-top: 1px solid var(--ukm-line);
}

.ukm-toc a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
    color: var(--ukm-ink);
}

.ukm-toc__no {
    font-family: var(--ukm-display);
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.2px var(--ukm-navy);
}

.ukm-toc__text strong {
    display: block;
    font-family: var(--ukm-display);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}

.ukm-toc__text span {
    display: block;
    font-size: 13px;
    color: var(--ukm-body);
}

.ukm-toc a .ukm-arrow {
    color: var(--ukm-navy);
}

.ukm-toc a:hover strong {
    color: var(--ukm-navy);
}

.ukm-toc a:hover .ukm-toc__no {
    color: var(--ukm-red);
    -webkit-text-stroke-color: var(--ukm-red);
}

.ukm-toc a:hover .ukm-arrow {
    transform: translateX(4px);
}

/* The journey: a numbered line of steps */
.ukm-journey {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ukm-journey::before {
    content: "";
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 59px;
    width: 1px;
    background: repeating-linear-gradient(180deg, rgba(0, 27, 104, 0.3) 0 8px, transparent 8px 16px);
}

.ukm-journey__step {
    position: relative;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 32px;
    padding: 28px 0;
    scroll-margin-top: 110px;
}

.ukm-journey__mark {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ukm-journey__no {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--ukm-white);
    box-shadow: 0 0 0 1px var(--ukm-line), 0 0 0 6px var(--ukm-paper), 0 0 0 7px rgba(189, 19, 19, 0.5);
    font-family: var(--ukm-display);
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    color: var(--ukm-navy);
}

.ukm-journey__mark .ukm-icon {
    width: 28px;
    height: 28px;
    padding: 6px;
    box-sizing: content-box;
    background: var(--ukm-paper);
    color: var(--ukm-red);
}

.ukm-journey__body {
    padding: 28px 32px 30px;
    background: var(--ukm-white);
}

.ukm-journey__body h3 {
    margin-bottom: 10px !important;
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    font-weight: 500;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--ukm-ink);
}

.ukm-journey__body > p {
    max-width: 640px;
}

.ukm-journey__body > .hp-link,
.ukm-journey__body > .ukm-links {
    margin-top: 18px !important;
}

.ukm-journey__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 6px !important;
}

.ukm-journey__tags span {
    padding: 5px 10px;
    border: 1px solid rgba(0, 27, 104, 0.18);
    color: var(--ukm-navy);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* A real competition question, without its answer */
.ukm-quiz {
    max-width: 640px;
    margin-top: 20px;
    padding: 20px 22px;
    background: var(--ukm-paper);
    border-left: 4px solid var(--ukm-navy);
}

.ukm-quiz__from {
    margin-bottom: 6px !important;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase !important;
}

.ukm-quiz__from a {
    color: var(--ukm-navy);
}

.ukm-quiz__q {
    margin-bottom: 14px !important;
    font-family: var(--ukm-display);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--ukm-ink);
}

.ukm-quiz__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ukm-quiz__options li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--ukm-white);
    border: 1px solid var(--ukm-line);
    color: var(--ukm-ink);
    font-size: 15px;
}

.ukm-quiz__options span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ukm-navy);
    color: var(--ukm-white);
    font-family: var(--ukm-display);
    font-size: 13px;
}

.ukm-quiz__note {
    margin: 12px 0 0 !important;
    font-size: 13px;
}

/* Two ways to enter, given equal weight */
.ukm-routes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.ukm-route {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 22px 20px;
    border: 1px solid var(--ukm-line);
    border-top: 3px solid var(--ukm-navy);
}

.ukm-route .ukm-icon {
    color: var(--ukm-red);
}

.ukm-route h4 {
    margin: 0 !important;
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--ukm-ink);
}

.ukm-route p {
    margin: 0 0 6px !important;
    font-size: 15px;
}

.ukm-route .hp-link {
    margin-top: auto;
    align-self: flex-start;
}

/* Rules on a navy band */
.ukm-rules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    background: var(--ukm-line-light);
    list-style: none;
}

.ukm-rules li {
    padding: 28px 28px 26px;
    background: var(--ukm-navy-deep);
}

.ukm-rules .ukm-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    color: var(--ukm-red);
}

.ukm-rules h3 {
    margin-bottom: 6px !important;
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
}

.ukm-rules p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.74);
}

/*=============================================================
    FORMS (public site)
    Grouped fields with numbered legends, a photo picker, alerts and the sent state
    (sell your Mini; ready for other public forms).
*=============================================================*/

.ukm-ready .ukm-ready__intro {
    margin-bottom: 8px !important;
    font-family: var(--ukm-display);
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase !important;
    color: var(--ukm-ink);
}

.ukm-ticks {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ukm-ticks li {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--ukm-line);
}

.ukm-ticks .ukm-icon {
    width: 28px;
    height: 28px;
    padding: 4px;
    box-sizing: border-box;
    border-radius: 50%;
    background: var(--ukm-navy);
    color: var(--ukm-white);
}

.ukm-ticks strong {
    display: block;
    font-family: var(--ukm-display);
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--ukm-ink);
}

.ukm-ticks span {
    font-size: 14px;
}

.ukm-ready__note {
    margin: 4px 0 0 !important;
    padding-top: 14px;
    border-top: 1px solid var(--ukm-line);
    font-size: 13px;
}

.ukm-sell {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 48px clamp(40px, 5vw, 80px);
    align-items: start;
}

.ukm-sell__intro {
    position: sticky;
    top: 120px;
}

.ukm-sell__intro .hp-h2 {
    margin-bottom: 28px;
}

.ukm-mini-steps {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.ukm-mini-steps li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--ukm-line);
    font-family: var(--ukm-display);
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--ukm-ink);
}

.ukm-mini-steps span,
.ukm-form__group legend span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ukm-navy);
    color: var(--ukm-white);
    font-size: 14px;
}

.ukm-mini-steps li:last-child span {
    background: var(--ukm-red);
}

.ukm-sell__small {
    font-size: 13px;
}

.ukm-sell__small a {
    color: var(--ukm-navy);
    border-bottom: 1px solid var(--ukm-red);
}

.ukm-form {
    padding: clamp(24px, 3vw, 40px);
    box-shadow: 0 30px 60px -40px rgba(0, 17, 63, 0.35);
}

.ukm-form__trap {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ukm-form__group {
    min-width: 0;
    margin: 0 0 28px;
    padding: 0 0 28px;
    border: 0;
    border-bottom: 1px solid var(--ukm-line);
}

.ukm-form__group legend {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    margin-bottom: 18px;
    font-family: var(--ukm-display);
    font-size: 1.375rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--ukm-ink);
}

.ukm-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.ukm-field {
    display: grid;
    gap: 6px;
    margin: 0;
}

.ukm-field--wide {
    grid-column: 1 / -1;
}

.ukm-field > span:first-child {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ukm-body);
}

.ukm-field b {
    color: var(--ukm-red);
}

.ukm-field input,
.ukm-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(0, 27, 104, 0.22);
    border-radius: 2px;
    background: var(--ukm-white);
    color: var(--ukm-ink);
    font-size: 15px;
    line-height: 1.5;
}

.ukm-field textarea {
    min-height: 140px;
    resize: vertical;
}

.ukm-field input:focus,
.ukm-field textarea:focus {
    outline: 0;
    border-color: var(--ukm-navy);
    box-shadow: inset 0 0 0 1px var(--ukm-navy);
}

.ukm-field__wrap {
    position: relative;
    display: block;
}

.ukm-field__wrap i {
    position: absolute;
    top: 50%;
    left: 14px;
    font-style: normal;
    color: var(--ukm-navy);
    transform: translateY(-50%);
}

.ukm-field--money input {
    padding-left: 30px;
}

.ukm-alert {
    margin: 0 0 24px !important;
    padding: 14px 16px;
    border-left: 4px solid var(--ukm-red);
    background: rgba(189, 19, 19, 0.06);
    color: var(--ukm-ink);
    font-weight: 500;
}

/* Photo picker */
.ukm-upload__drop {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 6px;
    margin: 0;
    padding: 30px 20px;
    border: 2px dashed rgba(0, 27, 104, 0.25);
    background: var(--ukm-paper);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.25s var(--ukm-ease), background-color 0.25s var(--ukm-ease);
}

.ukm-upload__drop input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.ukm-upload__drop .ukm-icon {
    width: 34px;
    height: 34px;
    color: var(--ukm-red);
}

.ukm-upload__drop strong {
    font-family: var(--ukm-display);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--ukm-navy);
}

.ukm-upload__drop span {
    max-width: 360px;
    font-size: 13px;
}

.ukm-upload__drop:hover,
.ukm-upload.is-over .ukm-upload__drop {
    border-color: var(--ukm-navy);
    background: rgba(0, 27, 104, 0.05);
}

.ukm-upload__drop:focus-within {
    outline: 3px solid var(--ukm-red);
    outline-offset: 2px;
}

.ukm-upload.has-files .ukm-upload__drop {
    padding: 18px 20px;
}

.ukm-upload__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ukm-upload.has-files .ukm-upload__list {
    margin-top: 12px;
}

.ukm-upload__list li {
    position: relative;
    display: grid;
    gap: 4px;
    min-width: 0;
}

.ukm-upload__list img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--ukm-grey);
}

.ukm-upload__list span {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ukm-upload__remove {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 17, 63, 0.85);
    color: var(--ukm-white);
    cursor: pointer;
}

.ukm-upload__remove svg {
    width: 12px;
    height: 12px;
}

.ukm-upload__remove:hover {
    background: var(--ukm-red);
}

.ukm-upload__msg {
    margin: 10px 0 0 !important;
    color: var(--ukm-red);
    font-size: 13px;
    font-weight: 500;
}

.ukm-form__end {
    display: grid;
    justify-items: start;
    gap: 16px;
}

.ukm-form__small {
    margin: 0 !important;
    font-size: 13px;
}

.ukm-form__captcha:empty {
    display: none;
}

/* Sent */
.ukm-done {
    grid-column: 1 / -1;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px);
    text-align: center;
}

.ukm-done:focus {
    outline: 0;
}

.ukm-done__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--ukm-navy);
    color: var(--ukm-white);
    box-shadow: 0 0 0 6px var(--ukm-white), 0 0 0 8px var(--ukm-red);
}

.ukm-done__icon .ukm-icon {
    width: 34px;
    height: 34px;
}

.ukm-done .hp-h2 {
    margin-bottom: 14px;
}

.ukm-done__note {
    color: var(--ukm-red);
}

.ukm-done .ukm-links {
    justify-content: center;
    margin-top: 24px !important;
}

@media (max-width: 1199.98px) {
    .ukm-rules {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .ukm-split,
    .ukm-sell {
        grid-template-columns: 1fr;
    }

    .ukm-sell__intro {
        position: static;
    }

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

    .ukm-stage {
        max-width: 640px;
    }
}

@media (max-width: 767.98px) {
    .ukm-journey::before {
        left: 27px;
    }

    .ukm-journey__step {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 14px;
        padding: 16px 0;
    }

    .ukm-journey__no {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .ukm-journey__mark .ukm-icon {
        display: none;
    }

    .ukm-journey__body {
        padding: 22px 20px 24px;
    }

    .ukm-routes,
    .ukm-quiz__options,
    .ukm-form__grid {
        grid-template-columns: 1fr;
    }

    .ukm-rules {
        grid-template-columns: 1fr;
    }

    .ukm-stage__cap {
        margin: -20px 0 0 12px;
        padding: 20px 18px 14px;
    }
}

@media (max-width: 575.98px) {
    .ukm-cards--3 {
        grid-template-columns: 1fr;
    }
}

/*=============================================================
    MOTION
*=============================================================*/

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

.ukm-reveal [data-reveal] {
    transition: opacity 0.8s var(--ukm-ease), transform 0.8s var(--ukm-ease);
    transition-delay: var(--d, 0ms);
}

.ukm-reveal [data-reveal]:not(.is-in) {
    opacity: 0;
    transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
    .ukm-page *,
    .ukm-page *::before,
    .ukm-page *::after {
        animation: none !important;
        transition: none !important;
    }
}

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

@media (max-width: 1199.98px) {
    .hp-rail {
        --per: 3;
    }
}

@media (max-width: 991.98px) {
    .hp-head {
        grid-template-columns: 1fr;
    }

    .hp-head__aside {
        justify-self: start;
    }

    .hp-rail {
        --per: 2;
        --gap: 16px;
    }
}

@media (max-width: 767.98px) {
    .hp-h2 br {
        display: none;
    }

    .hp-rail {
        --per: 1.18;
        --gap: 14px;
    }

    .hp-rail__track {
        margin: 0 calc(-1 * var(--ukm-gutter));
        padding-left: var(--ukm-gutter);
        padding-right: var(--ukm-gutter);
        scroll-padding: 0 var(--ukm-gutter);
    }

    .hp-rail__progress {
        margin-right: 4px;
    }
}

@media (max-width: 359.98px) {
    .hp-specs dd {
        font-size: 15px;
    }

    .hp-price__now {
        font-size: 1.75rem;
    }
}

/* Account access: one form at a time, using the shared public-site type and controls. */
.ukm-page .ukm-access {
    padding: 30px 0 32px;
    background: var(--ukm-paper);
}

.ukm-access > .ukm-wrap {
    max-width: 1260px;
}

.ukm-access__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--ukm-body);
    font-size: 13px;
}

.ukm-access__back:hover {
    color: var(--ukm-navy);
}

.ukm-access__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    background: var(--ukm-white);
    border: 1px solid var(--ukm-line);
}

.ukm-access__welcome {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.ukm-access__intro {
    padding: 42px 44px 30px;
    border-top: 4px solid var(--ukm-red);
}

.ukm-access__intro .ukm-eyebrow {
    font-size: 11px;
    margin-bottom: 24px;
}

.ukm-access__intro h1 {
    font-size: clamp(3.25rem, 4.8vw, 4.75rem);
    font-weight: 500;
    line-height: 1.03;
    text-transform: uppercase !important;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.ukm-access__intro > p:last-child {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
}

.ukm-access__illustration {
    position: relative;
    width: calc(100% - 88px);
    max-width: 460px;
    height: 280px;
    margin: 20px auto 30px;
}

.ukm-access__folder {
    position: absolute;
    inset: 0 12px 38px 20px;
    padding: 16px 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: var(--ukm-navy);
    transform: rotate(5deg);
    color: var(--ukm-white);
    font: 500 12px var(--ukm-display);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.ukm-access__folder svg {
    width: 20px;
    height: 20px;
}

.ukm-access__ticket {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    position: absolute;
    inset: 48px 0 8px;
    background: var(--ukm-white);
    color: var(--ukm-navy);
    transform: rotate(-4deg);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.ukm-access__ticket-main {
    padding: 22px 26px;
    min-width: 0;
    border-left: 4px solid var(--ukm-red);
}

.ukm-access__ticket-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font: 500 11px var(--ukm-display);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.ukm-access__ticket-main strong {
    display: block;
    margin-top: 16px;
    font: 500 clamp(24px, 2.6vw, 36px)/1.08 var(--ukm-display);
    text-transform: uppercase;
    letter-spacing: -0.015em;
}

.ukm-access__ticket-rule {
    display: block;
    width: 36px;
    height: 3px;
    margin: 16px 0 10px;
    background: var(--ukm-red);
}

.ukm-access__ticket-note {
    display: block;
    color: var(--ukm-body);
    font-size: 11px;
}

.ukm-access__ticket-stub {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-left: 1px dashed rgba(0, 27, 104, 0.3);
    background: var(--ukm-paper);
    font: 500 12px/1.4 var(--ukm-display);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ukm-access__ticket-stub::before,
.ukm-access__ticket-stub::after {
    content: "";
    position: absolute;
    left: -9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ukm-navy-deep);
}

.ukm-access__ticket-stub::before { top: -9px; }
.ukm-access__ticket-stub::after { bottom: -9px; }

.ukm-access__ticket-stub svg {
    width: 44px;
    height: 44px;
    color: var(--ukm-red);
}

.ukm-access__ticket-mark {
    width: 18px;
    height: 3px;
    background: var(--ukm-navy);
}

.ukm-access__benefits {
    display: grid;
    gap: 20px;
    list-style: none;
    padding: 0 44px 36px;
    margin: auto 0 0;
}

.ukm-access__benefits li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.ukm-access__benefits li > span {
    flex: 0 0 34px;
    font: 500 24px/1.3 var(--ukm-display);
    color: var(--ukm-white);
    opacity: 0.5;
}

.ukm-access__benefits strong {
    display: block;
    font: 500 17px/1.4 var(--ukm-display);
    color: var(--ukm-white);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.ukm-access__benefits p {
    margin: 4px 0 0;
    font-size: 13px;
}

.ukm-access__card {
    min-width: 0;
    padding: 36px 44px 28px;
}

.ukm-access__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 34px;
    border: 1px solid var(--ukm-line);
    padding: 4px;
    background: var(--ukm-paper);
}

.ukm-access__tabs a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--ukm-display);
    font-size: 16px;
    text-transform: uppercase;
    color: var(--ukm-body);
    border-bottom: 3px solid transparent;
}

.ukm-access__tabs a[aria-current] {
    background: var(--ukm-white);
    color: var(--ukm-navy);
    border-bottom-color: var(--ukm-red);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.ukm-access__tabs a:hover {
    color: var(--ukm-red);
}

.ukm-access__kicker {
    font-size: 12px;
    color: var(--ukm-body);
    margin-bottom: 7px !important;
}

.ukm-access__card h2 {
    font-size: clamp(1.875rem, 2.4vw, 2.375rem);
    line-height: 1.15;
    text-transform: uppercase !important;
    font-weight: 500;
    margin-bottom: 12px;
}

.ukm-access__help {
    font-size: 14px;
    margin-bottom: 26px !important;
}

.ukm-access__form {
    display: grid;
    gap: 22px;
}

.ukm-access__form .ukm-field {
    align-content: start;
}

.ukm-access__form label {
    margin: 0;
    font: 500 14px/1.5 var(--ukm-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ukm-ink);
}

.ukm-access__form input {
    min-height: 50px;
    font-size: 16px;
}

.ukm-access__form input::placeholder {
    color: #757575;
    font-size: 14px;
    opacity: 1;
}

.ukm-access__label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.ukm-access__label a {
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--ukm-navy);
}

.ukm-password {
    position: relative;
}

.ukm-password:has(button:not([hidden])) input {
    padding-right: 68px;
}

.ukm-password button {
    position: absolute;
    right: 4px;
    top: 4px;
    min-width: 58px;
    min-height: 42px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--ukm-navy);
    font: 500 13px var(--ukm-text);
    cursor: pointer;
}

.ukm-password button:hover {
    background: var(--ukm-paper);
}

.ukm-field__hint {
    font-size: 12px;
    line-height: 1.5;
    color: var(--ukm-body);
}

.ukm-access__pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ukm-field__error, .ukm-access__form .error {
    font-family: var(--ukm-text);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ukm-red);
    text-transform: none;
    letter-spacing: 0;
}

.ukm-access__form input.error, .ukm-access__form input[aria-invalid="true"] {
    border-color: var(--ukm-red);
    color: var(--ukm-ink);
    font-size: 16px;
}

.ukm-access__form .ukm-btn {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    margin-top: 2px;
}

.ukm-access__form .ukm-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.ukm-access__privacy {
    font-size: 12px;
    line-height: 1.7;
    margin: 0 !important;
}

.ukm-access__privacy a, .ukm-access__support a, .ukm-access__foot a {
    color: var(--ukm-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ukm-access__switch {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    align-items: center;
    padding: 22px 0;
    margin: 22px 0 0 !important;
    border-top: 1px solid var(--ukm-line);
    font-size: 13px;
}

.ukm-access__switch a {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--ukm-navy);
    font-weight: 500;
}

.ukm-access__switch .ukm-arrow {
    width: 16px;
}

.ukm-access__support {
    font-size: 12px;
    margin: 0 !important;
}

.ukm-access__foot {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 22px 0 0;
    font-size: 12px;
}

.ukm-access__foot p {
    display: flex;
    gap: 14px;
    align-items: center;
    margin: 0;
}

.ukm-access__foot p:first-child > span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--ukm-red);
    border-radius: 50%;
    color: var(--ukm-navy);
    font: 500 11px var(--ukm-display);
}

.ukm-access [hidden] {
    display: none !important;
}

@media (max-width: 1100px) {
    .ukm-access__illustration { width: calc(100% - 56px); }
    .ukm-access__ticket { grid-template-columns: minmax(0, 1fr) 64px; }
    .ukm-access__ticket-main { padding: 24px 18px; }
    .ukm-access__intro {
        padding: 32px 28px 26px;
    }

    .ukm-access__benefits {
        padding: 0 28px 30px;
    }

    .ukm-access__card {
        padding: 28px;
    }

    .ukm-access__pair {
        grid-template-columns: 1fr;
    }

}
@media (max-width: 800px) {
    .ukm-page .ukm-access {
        padding-top: 18px;
    }

    .ukm-access__back {
        margin-bottom: 16px;
    }

    .ukm-access__layout {
        grid-template-columns: 1fr;
    }

    .ukm-access__intro {
        padding: 24px;
    }

    .ukm-access__intro h1 {
        font-size: 2.5rem;
        margin: 0;
    }

    .ukm-access__intro h1 br {
        display: none;
    }

    .ukm-access__intro .ukm-eyebrow {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .ukm-access__intro > p:last-child, .ukm-access__illustration, .ukm-access__benefits {
        display: none;
    }

    .ukm-access__card {
        padding: 24px;
    }

    .ukm-access__tabs {
        margin-bottom: 26px;
    }

    .ukm-access__form {
        gap: 20px;
    }

    .ukm-access__foot {
        justify-content: center;
    }

}
@media (max-width: 380px) {
    .ukm-access__card, .ukm-access__intro {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ukm-access__tabs a {
        font-size: 14px;
    }

}
