/* ==========================================================================
   Homepage. Colours come from site-header.css.

   Never set letter-spacing on Nepali text: it breaks the line along the top of
   the letters. Clipped titles need line-height 1.35 or more to keep their vowel signs.
   ========================================================================== */

.hp {
    color: var(--site-text);
    font-size: 17px;
    line-height: 1.6;
}

.hp-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 24px;
}

.hp-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.hp a:focus-visible,
.hp button:focus-visible,
.hp input:focus-visible {
    outline: 2px solid var(--site-red);
    outline-offset: 2px;
}

.hp img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

/* Shared pieces
   ========================================================================== */

.hp-band {
    padding-block: 44px 0;
}

.hp-band--wash {
    margin-top: 44px;
    padding-block: 44px;
    background: var(--site-wash);
}

.hp-videos + .hp-band--wash {
    margin-top: 0;
}

.hp-band:last-child {
    padding-bottom: 44px;
}

.hp-section + .hp-section {
    margin-top: 38px;
}

.hp-kicker {
    display: inline-block;
    margin: 0 0 4px;
    color: var(--site-red);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

a.hp-kicker:hover {
    color: var(--site-blue);
}

.hp-kicker--gold {
    color: var(--site-gold);
}

.hp-kicker--pill {
    margin-bottom: 8px;
    padding: 3px 12px;
    border-radius: 4px;
    background: var(--site-red);
    color: #fff;
}

a.hp-kicker--pill:hover {
    background: var(--site-blue);
    color: #fff;
}

.hp-meta {
    margin: 6px 0 0;
    color: var(--site-muted);
    font-size: 15px;
    line-height: 1.4;
}

.hp-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.hp-head__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--site-blue);
    color: #fff;
}

.hp-head__title {
    margin: 0;
    color: var(--site-ink);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

.hp-head__title a {
    color: inherit;
}

.hp-head__title a:hover {
    color: var(--site-red);
}

.hp-head__more {
    display: flex;
    flex: none;
    color: var(--site-muted);
}

.hp-head__more:hover {
    color: var(--site-red);
}

.hp-more::after {
    content: " →";
}

.hp-more {
    display: inline-block;
    color: var(--site-blue);
    font-size: 17px;
    font-weight: 700;
}

.hp-more:hover {
    color: var(--site-red);
}

.hp-more--light {
    color: #fff;
}

.hp-more--light:hover {
    color: var(--site-gold);
}

.hp-story__title,
.hp-lead__title,
.hp-feature__body h3,
.hp-video__title {
    text-wrap: balance;
}

.hp-story {
    min-width: 0;
}

.hp-story__media {
    display: block;
    aspect-ratio: 16 / 10;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--site-wash);
}

.hp-story__media img,
.hp-feature__media img,
.hp-gallery__tile img {
    transition: transform .35s ease;
}

.hp-story:hover .hp-story__media img,
.hp-feature__main:hover .hp-feature__media img,
.hp-gallery__tile:hover img {
    transform: scale(1.03);
}

.hp-story__title {
    margin: 0;
    color: var(--site-ink);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.38;
}

.hp-story__title a,
.hp-lead__title a,
.hp-feature__body h3 a,
.hp-latest a,
.hp-rank a,
.hp-board a,
.hp-opinions a,
.hp-about__title a,
.hp-culture h3 a {
    color: inherit;
}

.hp-story__title a:hover,
.hp-lead__title a:hover,
.hp-feature__body h3 a:hover,
.hp-latest a:hover,
.hp-rank a:hover,
.hp-board a:hover,
.hp-opinions a:hover,
.hp-about__title a:hover {
    color: var(--site-red);
}

.hp-story--row {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding-block: 11px;
    border-bottom: 1px solid var(--site-line);
}

.hp-story--row:first-child {
    padding-top: 0;
}

.hp-story--row:last-child {
    border-bottom: 0;
}

.hp-story--row .hp-story__media {
    margin-bottom: 0;
    aspect-ratio: 4 / 3;
}

.hp-story--row .hp-story__title {
    font-size: 18px;
}

/* A story with no picture must not keep an empty column beside its title. */
.hp-story:not(:has(.hp-story__media)) {
    display: block !important;
}

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

.hp-ad {
    margin-top: 32px;
    text-align: center;
}

.hp-ad img {
    height: auto;
    max-width: 100%;
    margin-inline: auto;
}

.hp > .hp-ad {
    box-sizing: border-box;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* Ticker
   ========================================================================== */

.hp-ticker {
    border-bottom: 1px solid var(--site-line);
    background: var(--site-paper);
}

.hp-ticker__row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
}

.hp-ticker__label {
    flex: none;
    padding: 2px 12px;
    border-radius: 3px;
    background: var(--site-red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.hp-ticker__window {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.hp-ticker__track {
    display: flex;
    width: max-content;
}

.hp-ticker__list {
    display: flex;
    flex: none;
    gap: 40px;
    min-width: 100vw;
    margin: 0;
    padding: 0 40px 0 0;
    list-style: none;
}

.hp-ticker__list li {
    position: relative;
    white-space: nowrap;
}

.hp-ticker__list li + li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -23px;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--site-red);
}

.hp-ticker__list a {
    color: var(--site-ink);
    font-size: 17px;
    font-weight: 500;
}

.hp-ticker__list a:hover {
    color: var(--site-red);
}

@media (prefers-reduced-motion: no-preference) {
    .hp-ticker__track {
        animation: hp-ticker var(--hp-ticker-time, 40s) linear infinite;
    }

    .hp-ticker__window:hover .hp-ticker__track,
    .hp-ticker__window:focus-within .hp-ticker__track {
        animation-play-state: paused;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-ticker__window {
        overflow-x: auto;
    }

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

    .hp-story__media img,
    .hp-feature__media img,
    .hp-gallery__tile img {
        transition: none;
    }
}

@keyframes hp-ticker {
    to {
        transform: translateX(-50%);
    }
}

/* Lead stories, the big centred headlines of a Nepali front page
   ========================================================================== */

.hp-leads {
    padding-top: 30px;
}

.hp-lead {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--site-line);
    text-align: center;
}

.hp-lead + .hp-lead {
    margin-top: 34px;
}

.hp-lead__title {
    max-width: 1040px;
    margin: 0 auto;
    color: var(--site-ink);
    font-size: clamp(31px, 4.9vw, 58px);
    font-weight: 700;
    line-height: 1.24;
}

.hp-lead .hp-meta {
    margin-top: 10px;
}

.hp-lead__media {
    display: block;
    aspect-ratio: 2 / 1;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--site-wash);
}

/* A video is wider than tall, so it keeps to the width of the title. */
.hp-lead__video {
    max-width: 1040px;
    margin: 18px auto 0;
}

/* YouTube's own pictures carry black bars above and below, which only an even crop removes. */
.hp .site-player > img {
    object-position: 50% 50%;
}

.hp-lead__excerpt {
    max-width: 860px;
    margin: 16px auto 0;
    color: var(--site-text);
    font-size: 19px;
    line-height: 1.55;
}

/* Breaking news, under the lead stories. With more than one story, a timeline
   runs beside them and each part scrolls on its own, as on a live page.
   ========================================================================== */

.hp-breaking {
    padding-top: 30px;
}

.hp-breaking__box {
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: 6px;
    background: var(--site-paper);
}

.hp-breaking__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 20px;
    border-bottom: 1px solid var(--site-line);
    background: var(--site-wash);
    color: var(--site-red);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
}

.hp-breaking__pulse {
    position: relative;
    flex: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--site-red);
}

.hp-breaking__body {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
}

.hp-breaking__timeline {
    display: flex;
    flex-direction: column;
    max-height: 640px;
    border-right: 1px solid var(--site-line);
    background: var(--site-wash);
}

.hp-breaking__live {
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 18px 10px;
    border-bottom: 2px solid var(--site-red);
    color: var(--site-red);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.hp-breaking__timeline ol {
    flex: 1;
    min-height: 0;
    margin: 0;
    padding: 16px 14px 4px 0;
    overflow-y: auto;
    list-style: none;
}

.hp-breaking__timeline li {
    position: relative;
    padding: 0 0 18px 44px;
}

/* The line from one time to the next, red below the story being read. */
.hp-breaking__timeline li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: -8px;
    left: 21px;
    width: 2px;
    background: var(--site-line);
}

.hp-breaking__timeline li:has([aria-current])::before {
    background: var(--site-red);
}

.hp-breaking__timeline li::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 14px;
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    border: 1px solid #c9d0da;
    border-radius: 50%;
    background: radial-gradient(circle, var(--site-red) 3.5px, var(--site-paper) 4px);
}

.hp-breaking__timeline a {
    display: block;
    color: var(--site-ink);
}

.hp-breaking__when {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--site-muted);
    font-size: 14.5px;
    line-height: 1.4;
}

.hp-breaking__headline {
    display: block;
    margin-top: 2px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
}

.hp-breaking__timeline a:hover .hp-breaking__headline,
.hp-breaking__timeline a[aria-current] .hp-breaking__headline {
    color: var(--site-red);
}

.hp-breaking__feed {
    position: relative;
    max-height: 640px;
    padding: 18px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.hp-breaking__story {
    padding: 16px;
    border-radius: 6px;
    background: var(--site-wash);
}

.hp-breaking__story + .hp-breaking__story {
    margin-top: 22px;
}

.hp-breaking__time {
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin: 0 0 12px;
    padding: 2px 10px;
    border-radius: 4px;
    background: var(--site-red);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
}

.hp-breaking__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: var(--site-line);
}

.hp-breaking__text {
    margin-top: 14px;
}

.hp-breaking__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.hp-breaking__head .post-share {
    flex: none;
    margin-top: 2px;
}

.hp-breaking__title {
    margin: 0;
    color: var(--site-ink);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.38;
}

.hp-breaking__title a {
    color: inherit;
}

.hp-breaking__title a:hover {
    color: var(--site-red);
}

.hp-breaking__excerpt {
    margin: 10px 0 0;
    color: var(--site-text);
    font-size: 17px;
    line-height: 1.65;
}

.hp-breaking__more {
    display: block;
    width: fit-content;
    margin: 8px 0 0 auto;
    color: var(--site-red);
    font-size: 15.5px;
    font-weight: 700;
}

.hp-breaking__more::after {
    content: " ↗";
}

.hp-breaking__more:hover {
    color: var(--site-blue);
}

/* One story on its own: picture and words side by side, nothing to scroll. */
.hp-breaking--single .hp-breaking__body {
    display: block;
}

.hp-breaking--single .hp-breaking__feed {
    max-height: none;
    overflow: visible;
}

.hp-breaking--single .hp-breaking__story:has(.hp-breaking__media) {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 0 24px;
    align-items: start;
}

.hp-breaking--single .hp-breaking__time {
    grid-column: 1 / -1;
}

.hp-breaking--single .hp-breaking__story:has(.hp-breaking__media) .hp-breaking__text {
    margin-top: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .hp-breaking__feed {
        scroll-behavior: smooth;
    }

    .hp-breaking__pulse::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: var(--site-red);
        animation: hp-pulse 1.8s ease-out infinite;
    }
}

@keyframes hp-pulse {
    to {
        opacity: 0;
        transform: scale(2.6);
    }
}

/* Main column and right-hand column
   ========================================================================== */

.hp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    padding-top: 38px;
}

.hp-layout:not(:has(.hp-section)) {
    grid-template-columns: minmax(0, 1fr);
}

.hp-layout__main,
.hp-layout__rail {
    min-width: 0;
}

.hp-rail-block + .hp-rail-block {
    margin-top: 30px;
}

.hp-latest {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hp-latest li {
    position: relative;
    padding: 8px 0 8px 16px;
    border-bottom: 1px solid var(--site-line);
    color: var(--site-ink);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.42;
}

.hp-latest li::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--site-red);
}

.hp-latest li:last-child {
    border-bottom: 0;
}

.hp-rank {
    margin: 0;
    padding: 6px 14px;
    border: 1px solid var(--site-line);
    border-radius: 6px;
    list-style: none;
    counter-reset: rank;
}

.hp-rank li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding-block: 9px;
    border-bottom: 1px solid var(--site-line);
    color: var(--site-ink);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.42;
    counter-increment: rank;
}

.hp-rank li:last-child {
    border-bottom: 0;
}

.hp-rank li::before {
    content: counter(rank, devanagari);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--site-red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.hp-opinions {
    margin: 0;
    padding: 6px 14px;
    border: 1px solid var(--site-line);
    border-radius: 6px;
    list-style: none;
}

.hp-opinions li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding-block: 10px;
    border-bottom: 1px solid var(--site-line);
    color: var(--site-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.hp-opinions li:last-child {
    border-bottom: 0;
}

.hp-opinions__photo {
    display: block;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--site-wash);
}

.hp-opinions .hp-meta {
    display: block;
    margin-top: 2px;
    font-weight: 400;
}

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

.hp-tools a {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    border: 1px solid var(--site-line);
    border-radius: 6px;
    color: var(--site-ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.hp-tools a:hover {
    border-color: var(--site-blue);
    color: var(--site-blue);
}

.hp-fund {
    padding: 20px 22px;
    border-radius: 6px;
    background: var(--site-blue-deep);
    color: #e6edf9;
}

.hp-fund__title {
    margin: 0 0 4px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.34;
}

.hp-fund__text {
    margin: 0 0 12px;
    font-size: 16px;
}

.hp-fund__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.hp-fund__button {
    padding: 7px 16px;
    border-radius: 4px;
    background: var(--site-gold);
    color: #00286b;
    font-size: 16.5px;
    font-weight: 700;
    white-space: nowrap;
}

.hp-fund__button:hover {
    background: #fff;
    color: #00286b;
}

/* Feature: one big story beside a short list
   ========================================================================== */

.hp-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 20px;
}

.hp-feature--alone {
    grid-template-columns: minmax(0, 1fr);
}

.hp-feature__main {
    min-width: 0;
    overflow: hidden;
    border-radius: 4px;
    background: var(--site-wash);
}

.hp-feature__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--site-line);
}

.hp-feature--alone .hp-feature__main {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.hp-feature--alone .hp-feature__body {
    align-self: center;
}

.hp-feature__body {
    padding: 12px 16px 14px;
}

.hp-feature__body h3 {
    margin: 0;
    color: var(--site-ink);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.36;
}

/* An excerpt written in the editor can run longer than this card has room for. */
.hp-feature__body p {
    display: -webkit-box;
    margin: 6px 0 0;
    overflow: hidden;
    color: var(--site-muted);
    font-size: 16px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.hp-feature__list {
    min-width: 0;
}

/* Notices
   ========================================================================== */

.hp-board {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hp-board li {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding-block: 10px;
    border-bottom: 1px solid var(--site-line);
    color: var(--site-ink);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.42;
}

.hp-board li:first-child {
    padding-top: 0;
}

.hp-board li:last-child {
    border-bottom: 0;
}

.hp-board__date {
    padding-block: 5px 6px;
    border-radius: 4px;
    background: #fdecef;
    color: var(--site-red);
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
}

.hp-board__date b {
    display: block;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.15;
}

/* Chairman and about
   ========================================================================== */

.hp-org {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 44px;
}

.hp-chair {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.hp .hp-chair__photo {
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 4px;
    object-position: 50% 20%;
}

.hp-chair__body {
    min-width: 0;
}

.hp-chair__quote {
    margin: 0 0 12px;
    padding: 0;
    color: var(--site-ink);
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.36;
}

.hp-chair__text,
.hp-about__text {
    margin: 0 0 10px;
}

.hp-chair__name {
    margin: 0 0 8px;
    color: var(--site-ink);
    font-weight: 700;
}

.hp-about__media {
    display: block;
    aspect-ratio: 16 / 8;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--site-line);
}

.hp-about__title {
    margin: 0 0 8px;
    color: var(--site-ink);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.36;
}

/* Without the chairman's message, this card has the whole row. */
@media (min-width: 900px) {
    .hp-about:only-child {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 36px;
        align-content: center;
    }

    .hp-about:only-child .hp-about__media {
        grid-row: 1 / span 5;
        margin-bottom: 0;
    }

    .hp-about:only-child > :not(.hp-about__media) {
        grid-column: 2;
        justify-self: start;
    }
}

/* Special: the dark band
   ========================================================================== */

.hp-special {
    padding-block: 40px 44px;
    background: #2c323b;
    color: #e4e8ee;
}

:root[data-theme="dark"] .hp-special {
    background: #1a202b;
}

.hp-special .hp-head__icon {
    background: #fff;
    color: #2c323b;
}

.hp-special .hp-head__title,
.hp-special .hp-head__more,
.hp-special .hp-story__title,
.hp-special__centre h3 {
    color: #fff !important;
}

.hp-special .hp-meta {
    color: #b8c0cc;
}

.hp-special .hp-story--row {
    border-bottom-color: rgba(255, 255, 255, .18);
}

.hp-special a:hover {
    color: var(--site-gold) !important;
}

.hp-special__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 26px;
}

.hp-special__side {
    display: grid;
    gap: 20px;
    align-content: start;
}

.hp-special__centre h3 {
    margin: 12px 0 6px;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.34;
    text-align: center;
    text-wrap: balance;
}

.hp-special__centre h3 a {
    color: inherit;
}

.hp-special__centre p {
    margin: 0;
    color: #cdd3dc;
    font-size: 16px;
    text-align: center;
}

.hp-special__centre .hp-feature__media {
    border-radius: 4px;
}

/* A short list leaves the band to the stories it has. */
.hp-special__side:empty,
.hp-special__list:empty {
    display: none;
}

.hp-special__grid:has(.hp-special__side:empty) {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.hp-special__grid:has(.hp-special__side:empty):has(.hp-special__list:empty) {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

/* Book topics
   ========================================================================== */

.hp-culture {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
}

.hp-culture__tabs {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hp-culture__tabs a {
    display: block;
    padding: 12px 14px;
    border-left: 3px solid var(--site-line);
    color: var(--site-text);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

.hp-culture__tabs a:hover {
    color: var(--site-red);
}

.hp-culture__tabs .uk-active a {
    border-left-color: var(--site-red);
    background: var(--site-wash);
    color: var(--site-ink);
}

.hp-culture__topic {
    position: relative;
    aspect-ratio: 21 / 10;
    overflow: hidden;
    border-radius: 4px;
    background: #00286b;
}

.hp-culture__text {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 80px 30px 24px;
    background: linear-gradient(to top, rgba(0, 16, 44, .92) 45%, transparent);
    color: #eef2f9;
}

.hp-culture__text h3 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.32;
}

.hp-culture__text h3 a:hover {
    color: var(--site-gold);
}

.hp-culture__text p {
    max-width: 780px;
    margin: 0 0 8px;
}

/* Videos
   ========================================================================== */

.hp-videos {
    margin-top: 44px;
    padding-block: 40px 44px;
    background: #111827;
    color: #fff;
}

.hp-videos .hp-head__title,
.hp-videos .hp-head__more,
.hp-video__title a {
    color: #fff;
}

.hp-videos .hp-head__icon {
    background: var(--site-red);
}

.hp-videos .hp-head__more:hover,
.hp-videos .hp-head__title a:hover,
.hp-video__title a:hover {
    color: var(--site-gold);
}

.hp-videos__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.hp-video {
    min-width: 0;
}

.hp-video:only-child {
    max-width: 620px;
}

.hp-video__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 4px;
    background: #2a3142;
}

.hp-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
    border-radius: 50%;
    background: var(--site-red);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}

.hp-video__play::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 21px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #fff;
}

.hp-video__title {
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

/* Photo gallery
   ========================================================================== */

.hp-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 200px;
    gap: 10px;
}

.hp-gallery__tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: #00286b;
}

.hp-gallery__tile:first-child {
    grid-row: span 2;
    grid-column: span 2;
}

.hp-gallery[data-count="1"] {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 380px;
}

.hp-gallery[data-count="1"] .hp-gallery__tile:first-child {
    grid-row: auto;
    grid-column: auto;
}

.hp-gallery[data-count="2"] .hp-gallery__tile:nth-child(2),
.hp-gallery[data-count="4"] .hp-gallery__tile:last-child {
    grid-row: span 2;
    grid-column: span 2;
}

.hp-gallery[data-count="3"] .hp-gallery__tile:not(:first-child) {
    grid-column: span 2;
}

.hp-gallery__tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 16, 44, .88), transparent 62%);
}

.hp-gallery__tile span {
    position: absolute;
    right: 14px;
    bottom: 10px;
    left: 14px;
    z-index: 1;
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Central committee
   ========================================================================== */

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

.hp-people a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--site-ink);
    text-align: center;
}

.hp-people a:hover .hp-people__name {
    color: var(--site-red);
}

.hp-people__photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 3px solid var(--site-paper);
    border-radius: 50%;
    background: var(--site-blue);
    box-shadow: 0 2px 8px rgba(0, 28, 76, .16);
    color: #fff;
    font-size: 34px;
    font-weight: 700;
}

.hp-people__photo img {
    position: absolute;
    inset: 0;
}

.hp-people__name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.36;
}

.hp-people__role {
    color: var(--site-muted);
    font-size: 15.5px;
    line-height: 1.4;
}

/* Screen sizes
   ========================================================================== */

@media (max-width: 1099.98px) {
    .hp-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 28px;
    }

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

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

    .hp-feature {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 899.98px) {
    .hp-layout,
    .hp-special__grid,
    .hp-special__grid:has(.hp-special__side:empty) {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Phones get the newest breaking story in full, then the times of the others. */
    .hp-breaking__body {
        display: flex;
        flex-direction: column;
    }

    .hp-breaking__feed {
        order: -1;
        max-height: none;
        padding: 14px;
        overflow: visible;
    }

    .hp-breaking__story + .hp-breaking__story,
    .hp-breaking__timeline li:first-child {
        display: none;
    }

    .hp-breaking__timeline {
        max-height: none;
        border-top: 1px solid var(--site-line);
        border-right: 0;
    }

    .hp-breaking--single .hp-breaking__story:has(.hp-breaking__media) {
        display: block;
    }

    .hp-breaking--single .hp-breaking__story:has(.hp-breaking__media) .hp-breaking__text {
        margin-top: 14px;
    }

    .hp-special__centre {
        order: -1;
    }

    .hp-culture {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .hp-culture__tabs {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
    }

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

    .hp-culture__tabs a {
        padding: 8px 12px;
        border-bottom: 3px solid var(--site-line);
        border-left: 0;
        white-space: nowrap;
    }

    .hp-culture__tabs .uk-active a {
        border-bottom-color: var(--site-red);
    }

    .hp-culture__topic {
        aspect-ratio: auto;
    }

    .hp-culture__topic img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .hp-culture__text {
        position: static;
        padding: 16px 18px 18px;
        background: #00286b;
    }

    .hp-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 170px;
    }

    .hp-gallery[data-count="1"] {
        grid-auto-rows: 280px;
    }

    .hp-gallery__tile:first-child,
    .hp-gallery[data-count="2"] .hp-gallery__tile:nth-child(2),
    .hp-gallery[data-count="3"] .hp-gallery__tile:not(:first-child),
    .hp-gallery[data-count="4"] .hp-gallery__tile:last-child {
        grid-row: auto;
        grid-column: auto;
    }

    .hp-gallery__tile:first-child {
        grid-column: 1 / -1;
    }

    .hp-gallery[data-count="2"] .hp-gallery__tile:nth-child(2),
    .hp-gallery[data-count="4"] .hp-gallery__tile:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 639.98px) {
    .hp {
        font-size: 16.5px;
    }

    .hp-wrap,
    .hp > .hp-ad {
        padding-inline: 16px;
    }

    .hp-band {
        padding-top: 34px;
    }

    .hp-band--wash,
    .hp-videos {
        margin-top: 34px;
        padding-block: 32px;
    }

    .hp-special {
        padding-block: 32px;
    }

    .hp-head__title {
        font-size: 23px;
    }

    .hp-leads {
        padding-top: 20px;
    }

    .hp-lead__media {
        aspect-ratio: 16 / 10;
    }

    .hp-breaking {
        padding-top: 22px;
    }

    .hp-breaking__bar {
        padding: 10px 14px;
        font-size: 22px;
    }

    .hp-breaking__story {
        padding: 12px;
    }

    .hp-breaking__head {
        flex-direction: column;
        gap: 10px;
    }

    .hp-breaking__title {
        font-size: 21px;
    }

    .hp-lead__excerpt {
        display: -webkit-box;
        overflow: hidden;
        font-size: 17.5px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .hp-layout {
        padding-top: 28px;
    }

    /* Phones read a list faster than a wall of cards: picture beside the title. */
    .hp-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .hp-cards .hp-story {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 118px;
        gap: 12px;
        align-items: start;
        padding-block: 12px;
        border-top: 1px solid var(--site-line);
    }

    .hp-cards .hp-story:first-child {
        padding-top: 0;
        border-top: 0;
    }

    .hp-cards .hp-story__media {
        grid-row: 1;
        grid-column: 2;
        margin-bottom: 0;
        aspect-ratio: 4 / 3;
    }

    .hp-cards .hp-story__body {
        grid-row: 1;
        grid-column: 1;
        min-width: 0;
    }

    .hp-story__title {
        font-size: 18.5px;
    }

    .hp-feature--alone .hp-feature__main {
        display: block;
    }

    .hp-chair {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 16px;
    }

    .hp-chair__quote,
    .hp-about__title {
        font-size: 21px;
    }

    .hp-culture__text h3 {
        font-size: 22px;
    }

    .hp-videos__row {
        display: flex;
        gap: 14px;
        margin-inline: -16px;
        padding-inline: 16px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 16px;
    }

    .hp-video {
        flex: none;
        width: 78%;
        max-width: 300px;
        scroll-snap-align: start;
    }

    .hp-videos__row .hp-video:only-child {
        width: 100%;
        max-width: none;
    }

    .hp-gallery[data-count="1"] {
        grid-auto-rows: 220px;
    }

    .hp-people {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .hp-people__photo {
        width: 96px;
        height: 96px;
    }

    .hp-gallery__tile span {
        font-size: 15.5px;
    }
}

/* Too narrow for a column beside the photo, so the message wraps around it. */
@media (max-width: 419.98px) {
    .hp-chair {
        display: block;
    }

    .hp .hp-chair__photo {
        float: left;
        width: 96px;
        margin: 4px 14px 8px 0;
    }
}

/* Category layouts: each section is drawn to suit what it carries
   ========================================================================== */

/* खोज विशेष: investigations on a dark panel */
.hp-section--dark {
    padding: 22px 22px 18px;
    border-radius: 6px;
    background: var(--site-blue-deep);
    color: #fff;
}

.hp-section--dark .hp-head__title,
.hp-section--dark .hp-head__more,
.hp-section--dark .hp-feature__body h3 a,
.hp-section--dark .hp-story__title a {
    color: #fff;
}

.hp-section--dark .hp-head__icon {
    background: var(--site-red);
}

.hp-section--dark .hp-feature__main,
.hp-section--dark .hp-story--row {
    border-color: rgba(255, 255, 255, .14);
    background: transparent;
}

.hp-section--dark .hp-feature__body p,
.hp-section--dark .hp-meta {
    color: #c4cde0;
}

.hp-section--dark a:hover {
    color: var(--site-gold) !important;
}

/* दृष्टीकोण: writers first, as an opinion page shows them */
.hp-opinion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.hp-opinion-card {
    position: relative;
    padding: 22px 18px 18px;
    border-top: 3px solid var(--site-red);
    background: var(--site-paper);
    text-align: center;
}

.hp-opinion-card::before {
    content: "“";
    position: absolute;
    top: 4px;
    left: 12px;
    color: var(--site-red);
    font-size: 54px;
    line-height: 1;
    opacity: .25;
}

.hp-opinion-card__face {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    margin: 0 auto 10px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--site-blue);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

.hp-opinion-card__writer {
    margin: 0 0 6px;
    color: var(--site-red);
    font-size: 15.5px;
    font-weight: 700;
}

.hp-opinion-card__title {
    margin: 0;
    color: var(--site-ink);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

.hp-opinion-card__title a {
    color: inherit;
}

.hp-opinion-card__title a:hover {
    color: var(--site-red);
}

/* Image TV: the dark video band */
.hp-band.hp-videos {
    margin-top: 44px;
}

/* देशबाहिर: two columns of short rows */
.hp-list-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
}

.hp-list-2 .hp-story--row:nth-child(2) {
    padding-top: 0;
}

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

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

    .hp-list-2 .hp-story--row:nth-child(2) {
        padding-top: 11px;
    }
}

@media (max-width: 639.98px) {
    .hp-section--dark {
        padding: 16px 14px 12px;
    }

    .hp-opinion-grid {
        gap: 14px;
    }
}

/* The writer of a breaking story, under its headline */
.hp-breaking__byline {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    color: var(--site-red);
    font-size: 15.5px;
    font-weight: 600;
}

/* Byline: the writer's photo, name and time, under lead and breaking headlines
   ========================================================================== */

.hp-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin: 12px 0 0;
    color: var(--site-muted);
    font-size: 15.5px;
}

.hp-lead .hp-byline {
    justify-content: center;
}

.hp-byline__face {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: -6px;
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: 50%;
    background: var(--site-blue);
    color: #fff;
    font-weight: 700;
}

.hp-byline__name {
    color: var(--site-ink);
    font-weight: 600;
}

.hp-byline__when {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* समसामयिक mosaic with भर्खरै beside it
   ========================================================================== */

.hp-mosaic {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 28px;
    padding-top: 34px;
}

.hp-mosaic__latest {
    align-self: start;
    padding: 18px 18px 14px;
    border: 1px solid var(--site-line);
    border-radius: 4px;
}

.hp-mosaic__label {
    margin: 0 0 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--site-line);
    color: var(--site-blue);
    font-size: 17px;
    font-weight: 700;
}

.hp-mosaic__latest ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hp-mosaic__latest li {
    position: relative;
    padding: 9px 0 9px 14px;
    border-bottom: 1px solid var(--site-line);
}

.hp-mosaic__latest li::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--site-red);
}

.hp-mosaic__latest a {
    display: block;
    color: var(--site-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.42;
}

.hp-mosaic__latest a:hover,
.hp-mosaic__title a:hover {
    color: var(--site-red);
}

.hp-mosaic__latest span {
    color: var(--site-muted);
    font-size: 13.5px;
}

.hp-mosaic__all {
    display: inline-block;
    margin-top: 10px;
    color: var(--site-blue) !important;
    font-size: 15px !important;
}

.hp-mosaic__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 24px 26px;
}

.hp-mosaic__card--1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}


.hp-mosaic__media {
    display: block;
    aspect-ratio: 16 / 10;
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--site-wash);
}

.hp-mosaic__card--1 .hp-mosaic__media {
    aspect-ratio: 16 / 9;
}

/* The two beside the large story share its height, and the row under it starts on one line. */
.hp-mosaic__card--2,
.hp-mosaic__card--3 {
    grid-column: 3;
}

.hp-mosaic__card--4,
.hp-mosaic__card--5,
.hp-mosaic__card--6 {
    padding-top: 22px;
    border-top: 1px solid var(--site-line);
}

.hp-mosaic__kicker {
    margin: 0 0 4px;
    color: var(--site-blue);
    font-size: 13.5px;
    font-weight: 700;
}

.hp-mosaic__title {
    margin: 0;
    color: var(--site-ink);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.36;
}

.hp-mosaic__card--1 .hp-mosaic__title {
    font-size: 30px;
    line-height: 1.3;
}

.hp-mosaic__title a {
    color: inherit;
}

.hp-mosaic__excerpt {
    margin: 8px 0 0;
    color: var(--site-text);
    font-size: 17px;
    line-height: 1.55;
}

.hp-mosaic__by {
    margin: 6px 0 0;
    color: var(--site-muted);
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 1099.98px) {
    .hp-mosaic {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-mosaic__latest {
        order: 2;
    }
}

@media (max-width: 639.98px) {
    .hp-mosaic {
        padding-top: 22px;
    }

    .hp-mosaic__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .hp-mosaic__card--1,
    .hp-mosaic__card--2,
    .hp-mosaic__card--3 {
        grid-column: auto;
        grid-row: auto;
    }

    .hp-mosaic__card--1 .hp-mosaic__title {
        font-size: 23px;
    }
}

/* खोज विशेष spotlight: a full-width dark band in three columns
   ========================================================================== */

.hp-spot-band {
    margin-top: 40px;
    padding-block: 40px 44px;
    background: linear-gradient(180deg, #0b1d3d 0%, #061430 100%);
    color: #fff;
}

.hp-spot-band .hp-head__title a,
.hp-spot-band .hp-head__more {
    color: #fff;
}

.hp-spot-band .hp-head__icon {
    background: #0a2b5c;
}

.hp-spot-band .hp-head {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    margin-bottom: 24px;
}

.hp-spot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1.1fr);
    gap: 0;
}

.hp-spot--no-side {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.1fr);
}

.hp-spot--no-list {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
}

.hp-spot__side,
.hp-spot__main,
.hp-spot__list {
    min-width: 0;
    padding-inline: 22px;
}

.hp-spot > :first-child {
    padding-left: 0;
}

.hp-spot > :last-child {
    padding-right: 0;
}

.hp-spot > * + * {
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.hp-spot__media,
.hp-spot__thumb {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(255, 255, 255, .06);
}

.hp-spot__media {
    aspect-ratio: 16 / 10;
    margin-bottom: 12px;
}

.hp-spot__media img,
.hp-spot__thumb img {
    transition: transform .35s ease;
}

.hp-spot a:hover img {
    transform: scale(1.04);
}

.hp-spot h3 {
    margin: 0;
    color: #fff;
    font-weight: 700;
    text-wrap: balance;
}

.hp-spot h3 a {
    color: inherit;
}

.hp-spot h3 a:hover {
    color: var(--site-gold);
}

.hp-spot__card + .hp-spot__card {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.hp-spot__card h3 {
    font-size: 20px;
    line-height: 1.38;
}

.hp-spot__main .hp-spot__media {
    aspect-ratio: 4 / 3;
}

.hp-spot__main h3 {
    font-size: 30px;
    line-height: 1.3;
    text-align: center;
}

.hp-spot__main p {
    margin: 10px 0 0;
    color: #c3cde0;
    font-size: 17px;
    line-height: 1.6;
    text-align: center;
}

.hp-spot__main .hp-spot__by {
    color: #ff8a98;
    font-size: 15px;
    font-weight: 600;
}

.hp-spot__row {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.hp-spot__row + .hp-spot__row {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.hp-spot__thumb {
    aspect-ratio: 4 / 3;
}

.hp-spot__row h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.42;
}

.hp-spot__row:not(:has(.hp-spot__thumb)) {
    display: block;
}

/* Under the right-hand column on smaller screens, the big story comes first. */
.hp-layout__main .hp-opinion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1099.98px) {
    .hp-spot,
    .hp-spot--no-side,
    .hp-spot--no-list {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .hp-spot__main {
        grid-column: 1 / -1;
        order: -1;
        margin-bottom: 26px;
        padding-inline: 0;
    }

    .hp-spot > * + * {
        border-left: 0;
    }

    .hp-spot__side {
        padding-left: 0;
    }

    .hp-spot__list {
        border-left: 1px solid rgba(255, 255, 255, .16) !important;
    }
}

@media (max-width: 639.98px) {
    .hp-spot-band {
        padding-block: 28px 30px;
    }

    .hp-spot,
    .hp-spot--no-side,
    .hp-spot--no-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-spot__side,
    .hp-spot__list {
        padding-inline: 0;
        border-left: 0 !important;
    }

    .hp-spot__list {
        margin-top: 22px;
        padding-top: 22px;
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .hp-spot__main h3 {
        font-size: 24px;
    }

    .hp-spot__row {
        grid-template-columns: 110px minmax(0, 1fr);
    }
}

/* खोज विशेष, second pass: an ink-black band that stands apart from the navy menu,
   red labels, calmer pictures, and a numbered list instead of small thumbnails. */
.hp-spot-band {
    position: relative;
    margin-top: 44px;
    background: #0a2b5c;
    border-top: 4px solid var(--site-red);
}

.hp-spot-band .hp-head {
    border-bottom-color: rgba(255, 255, 255, .1);
}

.hp-spot__kicker {
    margin: 0 0 6px;
    color: #ff5a6e;
    font-size: 13.5px;
    font-weight: 700;
}

.hp-spot__time {
    margin: 6px 0 0;
    color: #8f99ab;
    font-size: 14px;
}

.hp-spot__media {
    aspect-ratio: 16 / 9;
    border-radius: 2px;
}

.hp-spot__main .hp-spot__media {
    aspect-ratio: 16 / 10;
    margin-bottom: 16px;
}

.hp-spot__main,
.hp-spot__main h3,
.hp-spot__main p {
    text-align: left;
}

.hp-spot__main h3 {
    font-size: 32px;
    line-height: 1.28;
}

.hp-spot__summary {
    margin: 12px 0 0 !important;
    color: #b9c1cf !important;
    font-size: 17.5px !important;
    line-height: 1.65 !important;
}

.hp-spot__main .hp-spot__by {
    margin-top: 14px;
    color: #8f99ab;
    font-size: 14.5px;
    font-weight: 600;
}

.hp-spot__card h3 {
    font-size: 19px;
}

.hp-spot__list-title {
    margin: 0 0 6px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--site-red);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.hp-spot__row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    padding-block: 14px;
}

.hp-spot__row + .hp-spot__row {
    margin-top: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.hp-spot__num {
    color: var(--site-red);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.hp-spot__row h3 {
    font-size: 17.5px;
    line-height: 1.45;
}

.hp-spot > * + * {
    border-left-color: rgba(255, 255, 255, .1);
}

@media (max-width: 639.98px) {
    .hp-spot__main h3 {
        font-size: 25px;
    }

    .hp-spot__row {
        grid-template-columns: 38px minmax(0, 1fr);
    }

}

/* अर्थ: three columns, the big story in the middle
   ========================================================================== */

.hp-trio-wrap {
    padding-top: 44px;
}

.hp-trio {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr) minmax(0, 1fr);
    grid-template-areas: "left main right";
    gap: 30px;
}

.hp-trio__side {
    grid-area: left;
    min-width: 0;
}

.hp-trio__side--right {
    grid-area: right;
}

.hp-trio__main {
    grid-area: main;
    min-width: 0;
}

.hp-trio a {
    color: inherit;
}

.hp-trio a:hover {
    color: var(--site-red);
}

.hp-trio h3 {
    margin: 0;
    color: var(--site-ink);
    font-weight: 600;
}

.hp-trio__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--site-wash);
}

.hp-trio__card {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--site-line);
}

.hp-trio__card h3 {
    margin-top: 12px;
    font-size: 21px;
    line-height: 1.4;
    text-align: center;
}

.hp-trio__line {
    padding-block: 14px;
    border-bottom: 1px solid var(--site-line);
    font-size: 18.5px;
    line-height: 1.45;
}

.hp-trio__title {
    margin-bottom: 18px !important;
    font-size: 36px;
    font-weight: 700 !important;
    line-height: 1.28;
}

.hp-trio__media--big {
    aspect-ratio: 16 / 8.4;
    border-radius: 4px;
}

.hp-trio__row {
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--site-line);
}

.hp-trio__thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: var(--site-wash);
}

.hp-trio__row h3 {
    font-size: 18.5px;
    line-height: 1.45;
}

.hp-trio__row p {
    margin: 6px 0 0;
    color: var(--site-muted);
    font-size: 15.5px;
    line-height: 1.55;
}

.hp-trio__row:not(:has(.hp-trio__thumb)) {
    display: block;
}

@media (max-width: 1099.98px) {
    .hp-trio {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "main main" "left right";
    }
}

@media (max-width: 639.98px) {
    .hp-trio {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "main" "left" "right";
        gap: 24px;
    }

    .hp-trio__title {
        font-size: 26px;
    }

    .hp-trio__row {
        grid-template-columns: 120px minmax(0, 1fr);
    }
}

/* अर्थ side lists: a small picture beside each headline */
.hp-trio__line {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.hp-trio__line:not(:has(.hp-trio__mini)) {
    display: block;
}

.hp-trio__mini {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 3px;
    background: var(--site-wash);
}

.hp-trio__line h3 {
    font-size: 17px;
    line-height: 1.45;
}

/* सर्टस्: upright video cards that slide sideways on the dark band */
.hp-shorts {
    position: relative;
}

.hp-shorts__row {
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hp-short {
    width: calc((100% - 72px) / 4);
    flex: none;
}

.hp-short__media {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    max-height: 430px;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #2a2d33;
}

.hp-short__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.hp-short:hover .hp-short__media img {
    transform: scale(1.04);
}

.hp-short__title {
    margin: 16px 0 18px;
    font-size: 20px;
    line-height: 1.5;
}

.hp-short__title a {
    color: #fff;
}

.hp-short__watch {
    display: inline-block;
    padding: 9px 24px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.hp-short__watch span {
    color: rgba(255, 255, 255, .55);
}

.hp-short__watch:hover {
    background: var(--site-red);
    border-color: var(--site-red);
    color: #fff;
    text-decoration: none;
}

.hp-shorts__nav {
    position: absolute;
    top: 215px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
    transform: translateY(-50%);
}

.hp-shorts__nav--prev { left: 18px; }
.hp-shorts__nav--next { right: 18px; }

.hp-shorts__nav.uk-invisible {
    visibility: hidden;
}

@media (max-width: 959px) {
    .hp-short { width: calc((100% - 24px) / 2); }
}

@media (max-width: 639px) {
    .hp-short { width: 70%; }
    .hp-short__title { font-size: 18px; }
    .subtitle{
        font-size: 1.2rem;
    }
}

/* दृष्टीकोण: stacked cards with a round picture and a large quote mark */
.hp-views {
    display: grid;
    gap: 18px;
}

.hp-view {
    position: relative;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 22px 28px;
    overflow: hidden;
    border: 1px solid #e6e8ec;
    border-left: 4px solid var(--site-red);
    border-radius: 14px;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}

.hp-view:hover {
    box-shadow: 0 10px 24px rgba(10, 43, 92, .1);
    transform: translateY(-2px);
}

.hp-view::after {
    content: "“";
    position: absolute;
    top: -14px;
    right: 22px;
    color: var(--site-red);
    /* font: 700 120px/1 Georgia, serif; */
    opacity: .1;
    pointer-events: none;
}

.hp-view__face {
    display: grid;
    place-items: center;
    width: 110px;
    height: 110px;
    overflow: hidden;
    border: 3px solid var(--site-red);
    border-radius: 50%;
    box-shadow: 0 0 0 4px #fff inset, 0 8px 18px rgba(172, 26, 46, .18);
    background: var(--site-wash);
    color: var(--site-red);
    font-size: 40px;
    font-weight: 700;
}

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

.hp-view__writer {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 10px;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(172, 26, 46, .08);
    color: var(--site-red);
    font-size: 15px;
    font-weight: 700;
}

.hp-view__title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.4;
}

.hp-view__title a {
    color: var(--site-ink, #111);
}

.hp-view__title a:hover {
    color: var(--site-red);
}

.hp-view__more {
    color: var(--site-red);
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 639px) {
    .hp-view {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 16px;
        padding: 16px;
    }

    .hp-view__face { width: 76px; height: 76px; }
    .hp-view__title { font-size: 19px; }
}

/* Image TV: a big video with its title on the left, then a row of three */
.hp-tv__lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    overflow: hidden;
    border-radius: 14px;
    background: #1f2125;
}

.hp-tv__lead-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 36px 40px;
}

.hp-tv__lead-title {
    margin: 0;
    font-size: 36px;
    line-height: 1.45;
}

.hp-tv__lead-title a,
.hp-tv__title a {
    color: #fff;
}

.hp-tv__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    background: #2a2d33;
}

.hp-tv__media--lead {
    border-radius: 14px 0 0 14px;
}

.hp-tv__media > a,
.hp-tv__media iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.hp-tv__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.hp-tv__media a:hover img {
    transform: scale(1.04);
}

.hp-tv__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.hp-tv__title {
    margin: 14px 0 0;
    font-size: 19px;
    line-height: 1.5;
}

@media (max-width: 959px) {
    .hp-tv__lead { grid-template-columns: 1fr; }
    .hp-tv__lead-body { order: 2; padding: 22px; gap: 18px; }
    .hp-tv__lead-title { font-size: 26px; }
    .hp-tv__media--lead { border-radius: 14px 14px 0 0; }
}

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

/* देशबाहिर: a tall picture with its headline over it, and four pictured stories in a square */
.hp-quad {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 22px 18px;
}

.hp-quad--alone {
    grid-template-columns: 1fr;
}

.hp-quad__main {
    grid-row: 1 / 3;
}

.hp-quad__cover {
    position: relative;
    display: block;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    background: var(--site-blue-deep, #061c3f);
}

.hp-quad__cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.hp-quad__cover:hover img,
.hp-quad__item:hover img {
    transform: scale(1.04);
}

.hp-quad__over {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 6px;
    padding: 90px 18px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .85));
    color: #fff;
}

.hp-quad__headline {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.4;
}

.hp-quad__by {
    font-size: 14px;
    opacity: .85;
}

.hp-quad__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--site-wash);
}

.hp-quad__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.hp-quad__item h3 {
    margin: 12px 0 0;
    font-size: 19px;
    line-height: 1.5;
}

.hp-quad__item h3 a {
    color: inherit;
}

.hp-quad__item h3 a:hover {
    color: var(--site-red);
}

@media (max-width: 959px) {
    .hp-quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hp-quad__main { grid-column: 1 / -1; grid-row: auto; }
    .hp-quad__cover { min-height: 0; aspect-ratio: 16 / 10; }
}

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

/* खेल सञ्चार: headline and summary beside a wide picture, three stories under it, trending beside it all */
.hp-sport {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: start;
}

.hp-sport__lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 28px;
    align-items: start;
}

.hp-sport__lead--text {
    grid-template-columns: 1fr;
}

.hp-sport__title {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.4;
}

.hp-sport__title a,
.hp-sport__item h3 a,
.hp-trend__list a {
    color: inherit;
}

.hp-sport__title a:hover,
.hp-sport__item h3 a:hover,
.hp-trend__list a:hover {
    color: var(--site-red);
}

.hp-sport__summary {
    margin: 0;
    color: #555;
    font-size: 17px;
    line-height: 1.75;
}

.hp-sport__media,
.hp-sport__thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--site-wash);
}

.hp-sport__media img,
.hp-sport__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.hp-sport__media:hover img,
.hp-sport__item:hover img {
    transform: scale(1.04);
}

.hp-sport__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.hp-sport__item h3 {
    margin: 12px 0 0;
    font-size: 20px;
    line-height: 1.5;
}

.hp-trend {
    position: sticky;
    top: 90px;
}

.hp-trend__head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--site-red);
    color: var(--site-red);
    font-size: 24px;
}

.hp-trend__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hp-trend__list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid #e3e5e8;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.hp-trend__num {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--site-red);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 959px) {
    .hp-sport { grid-template-columns: 1fr; }
    .hp-sport__lead { grid-template-columns: 1fr; }
    .hp-sport__lead .hp-sport__media { order: -1; }
    .hp-trend { position: static; }
}

@media (max-width: 639px) {
    .hp-sport__row { grid-template-columns: 1fr; }
    .hp-sport__title { font-size: 24px; }
}

/* Trending numbers: round red badges, the same as on the story page. */
.hp-trend .hp-trend__list li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
}

.hp-trend .hp-trend__list .hp-trend__num {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border-radius: 50% !important;
    background: var(--site-red) !important;
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

/* Opinion cards: no big quote mark behind the text. */
.hp-view::after {
    content: none;
}
