/* ==========================================================================
   Site header and footer, with the video player and share links that the homepage
   and the other public pages both use. Loaded on every public page.
   ========================================================================== */

:root {
    --site-blue: #0a2b5c;
    --site-blue-deep: #061c3f;
    --site-red: #ac1a2e;
    --site-gold: #ffc72c;
    --site-ink: #111827;
    --site-text: #2b3240;
    --site-muted: #5b6472;
    --site-line: #e2e5ea;
    --site-wash: #f4f6f9;
    --site-paper: #fff;
}

/* The inner pages in frontends.css name their colours after the old header green.
   Pointing the names at these colours keeps every public page matching the header. */
.lb-page {
    --lb-green: var(--site-blue);
    --lb-green-dark: var(--site-blue-deep);
    --lb-mint: #dbe6f7;
    --lb-mint-soft: #f1f5fb;
    --lb-mint-line: #d3dff1;
    --lb-red: var(--site-red);
    --lb-red-soft: #fdecef;
}

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

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

.site-skip {
    position: absolute;
    top: -80px;
    left: 12px;
    z-index: 1100;
    padding: 8px 14px;
    background: #fff;
    color: var(--site-blue);
    font-weight: 600;
}

.site-skip:focus {
    top: 8px;
}

/* Date and contact bar
   ========================================================================== */

.site-top {
    background: var(--site-blue-deep);
    color: #fff;
    font-size: 15px;
}

.site-top__row {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 34px;
}

.site-date {
    display: none;
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
}

.site-contact,
.site-social {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-contact {
    gap: 20px;
}

.site-contact a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #dfe7f5;
    white-space: nowrap;
}

.site-social {
    gap: 2px;
    margin-left: auto;
}

.site-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #dfe7f5;
}

.site-contact a:hover,
.site-social a:hover {
    color: var(--site-gold);
}

/* Logo and date
   ========================================================================== */

.site-mast {
    padding-block: 5px;
    background: var(--site-paper);
}

.site-mast__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-mast__logo {
    display: block;
    max-width: 100%;
}

.site-mast__logo img {
    display: block;
    width: 420px;
    max-width: 100%;
    height: auto;
}

.site-mast__date {
    margin: 0;
    color: var(--site-ink);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    text-align: right;
    white-space: nowrap;
}

.site-mast__date span {
    display: block;
    color: var(--site-muted);
    font-size: 15px;
    font-weight: 500;
}

/* Menu
   ========================================================================== */

.site-nav-band {
    z-index: 990;
    background: var(--site-blue);
}

.site-nav-band.uk-sticky-fixed {
    box-shadow: 0 6px 18px rgba(0, 28, 76, .28);
}

.site-nav {
    align-items: stretch;
    gap: 8px;
    min-height: 50px;
}

.site-menu.uk-navbar-nav {
    display: none;
    flex: 1;
    gap: 0;
    min-width: 0;
}

.site-menu.uk-navbar-nav>li>a {
    position: relative;
    gap: 4px;
    min-height: 54px;
    padding: 0 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: none;
    white-space: nowrap;
}

.site-menu.uk-navbar-nav>li:hover>a,
.site-menu.uk-navbar-nav>li>a:focus,
.site-menu.uk-navbar-nav>li>a[aria-expanded="true"] {
    background: var(--site-blue-deep);
    color: #fff;
}

/* A thin divider between items, and the open page marked in the logo red. */
.site-menu.uk-navbar-nav>li+li>a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 18px;
    margin-top: -9px;
    background: rgba(255, 255, 255, .18);
}

.site-menu.uk-navbar-nav>li.uk-active>a {
    background: var(--site-red);
    box-shadow: none;
}

.site-menu.uk-navbar-nav>li.uk-active>a::before,
.site-menu.uk-navbar-nav>li.uk-active+li>a::before {
    display: none;
}

/* UIkit takes over a dropdown when its script starts. Until then, on a slow connection,
   the open list would sit in the page and push the menu button off the screen. */
.uk-navbar-dropdown:not(.uk-open) {
    display: none;
}

.site-drop.uk-navbar-dropdown {
    --uk-position-offset: 0px;
    width: 250px;
    padding: 8px;
    border-top: 3px solid var(--site-red);
    border-radius: 0 0 6px 6px;
    background: var(--site-paper);
    box-shadow: 0 14px 30px rgba(0, 28, 76, .2);
}

.site-drop--wide.uk-navbar-dropdown {
    width: 470px;
}

.site-drop--wide ul {
    columns: 2;
    column-gap: 8px;
}

.site-drop ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-drop li {
    break-inside: avoid;
}

.site-drop a {
    display: block;
    padding: 6px 10px;
    border-radius: 4px;
    color: var(--site-ink);
    font-size: 16.5px;
}

.site-drop a:hover {
    background: var(--site-wash);
    color: var(--site-blue);
}

.site-chips {
    display: flex;
    flex: 1;
    gap: 2px;
    min-width: 0;
    margin: 0;
    padding: 0 16px 0 0;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to left, transparent, #000 22px);
    mask-image: linear-gradient(to left, transparent, #000 22px);
}

.site-chips::-webkit-scrollbar {
    display: none;
}

.site-chips a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
    color: #fff;
    font-size: 16.5px;
    font-weight: 600;
    white-space: nowrap;
}

.site-nav__tools {
    display: flex;
    flex: none;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.site-nav__donate {
    display: flex;
    flex: none;
    align-items: center;
    gap: 5px;
    margin-right: 6px;
    padding: 5px 12px;
    border-radius: 4px;
    background: var(--site-red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.site-nav__donate:hover {
    background: #a50d26;
    color: #fff;
}

.site-tool {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: none;
    color: #fff;
    cursor: pointer;
}

.site-tool:hover {
    background: var(--site-blue-deep);
    color: #fff;
}

.site-tool--wide {
    display: none;
}

.site-search {
    padding-block: 10px;
    background: var(--site-blue-deep);
}

.site-search__form {
    display: flex;
    gap: 8px;
}

.site-search input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
    background: #fff;
    color: #111827;
    font-size: 17px;
}

.site-search button {
    flex: none;
    padding: 0 18px;
    border: 0;
    border-radius: 4px;
    background: var(--site-gold);
    color: var(--site-blue-deep);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

/* Side menu
   ========================================================================== */

.ah-libang-side-nav.uk-offcanvas-bar {
    background: var(--site-blue-deep) !important;
}

.site-side-tools {
    display: flex;
    gap: 4px;
    margin: 6px 0 14px -10px;
}

.ah-libang-side-nav .side-nav a {
    color: #fff !important;
    font-size: 17px;
}

.ah-libang-side-nav .uk-nav-sub a {
    font-weight: 500;
}

.ah-libang-side-nav li>a:hover {
    padding-left: 0;
    border-radius: 0;
    background: none;
    color: var(--site-gold) !important;
}

/* Footer
   ========================================================================== */

.site-footer {
    margin-top: 0;
    background: var(--site-blue-deep);
    color: #dfe7f5;
    font-size: 16px;
}

.site-footer a {
    color: inherit;
}

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

.site-footer h2,
.site-footer h3 {
    margin: 0 0 8px;
    color: #fff;
    font-weight: 700;
}

.site-footer h2 {
    font-size: 21px;
}

.site-footer h3 {
    font-size: 18px;
}

.site-footer p {
    margin: 0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, .7fr) minmax(0, 1fr) minmax(0, .8fr);
    gap: 32px;
    padding-block: 44px 36px;
}

.site-footer__org {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.site-footer__logo {
    flex: none;
}

.site-footer__logo img {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 50%;
}

.site-footer__social {
    margin-top: 14px;
}

.site-footer__social .uk-icon-button {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.site-footer__social .uk-icon-button:hover {
    background: var(--site-gold);
    color: var(--site-blue-deep);
}

.site-footer__menu ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__credit {
    padding-block: 12px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: #b9c7e3;
    font-size: 15px;
}

.site-footer__credit a {
    color: #fff;
    font-weight: 600;
}

.ah-scrtop {
    z-index: 980;
    box-sizing: border-box;
    right: 16px;
    bottom: 16px;
    width: 38px;
    height: 38px;
    background: var(--site-blue);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}

/* Video player: a post's own video, on the homepage and on the post page.
   site-tools.js swaps the button for YouTube or Facebook once it is pressed.
   ========================================================================== */

.site-player {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: #111827;
}

.site-player>img,
.site-player>iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.site-player__play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.site-player__play:hover {
    color: #fff;
}

.site-player__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--site-red);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
    transition: transform .2s ease;
}

.site-player__button::before {
    content: "";
    margin-left: 5px;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    /* border-left: 21px solid #fff; */
}

.site-player__play:hover .site-player__button {
    transform: scale(1.08);
}

/* Share links on posts, pages and breaking news
   ========================================================================== */

.post-share {
    display: inline-flex;
    gap: 6px;
    vertical-align: middle;
}

.post-share__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
}

.post-share__link:hover {
    color: #fff;
    opacity: .85;
}

.post-share__link--facebook {
    background: #1877f2;
}

.post-share__link--whatsapp {
    background: #128c4b;
}

.post-share__link--x {
    background: #111;
}

.post-share__link--telegram {
    background: #1b82b8;
}

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

/* The full menu needs this much room; below it the links swipe sideways. */
@media (min-width: 1100px) {
    .site-menu.uk-navbar-nav {
        display: flex;
    }

    .site-chips {
        display: none;
    }

    .site-tool--wide {
        display: flex;
    }
}

@media (min-width: 1100px) and (max-width: 1279.98px) {
    .site-menu.uk-navbar-nav>li>a {
        padding: 0 14px;
        font-size: 17px;
    }

    .site-nav__donate-more {
        display: none;
    }
}

@media (max-width: 1099.98px) {
    .site-contact li:first-child {
        display: none;
    }

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

    .site-footer__org,
    .site-footer__contact {
        grid-column: span 3;
    }

    .site-footer__contact {
        margin-top: -12px;
    }
}

@media (max-width: 899.98px) {
    .site-date {
        display: block;
    }

    .site-contact,
    .site-mast__date {
        display: none;
    }

    .site-mast__row {
        justify-content: center;
    }

    .site-nav__donate-more {
        display: none;
    }
}

@media (max-width: 639.98px) {
    .site-wrap {
        padding-inline: 16px;
    }

    .site-top {
        font-size: 14.5px;
    }

    .site-top__row {
        gap: 10px;
    }

    .site-mast {
        padding-block: 10px;
    }

    .site-mast__logo img {
        width: 320px;
    }

    .site-nav {
        gap: 4px;
        min-height: 46px;
    }

    .site-nav__donate {
        margin-right: 2px;
        padding: 4px 8px;
        font-size: 15px;
    }

    .site-tool {
        width: 38px;
    }

    .site-nav__tools {
        margin-right: -8px;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .site-footer__org,
    .site-footer__contact {
        grid-column: 1 / -1;
    }

    .site-player__button {
        width: 58px;
        height: 58px;
    }

    .site-player__button::before {
        border-top-width: 11px;
        border-bottom-width: 11px;
        border-left-width: 17px;
    }
}

@media (max-width: 359.98px) {
    .site-social {
        display: none;
    }

    .site-nav__donate {
        padding: 4px 6px;
    }

    .site-nav__donate>span:first-child {
        display: none;
    }
}

/* Footer: logo strip, four columns, publisher details and the credit line */
.ft {
    border-top: 4px solid var(--site-red);
    background: var(--site-blue-deep);
}

.ft__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    padding-top: 34px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.ft__logo {
    display: block;
    padding: 10px 16px;
    border-radius: 10px;
    background: #fff;
}

.ft__logo img {
    display: block;
    width: 190px;
    height: auto;
}

.ft__tagline {
    flex: 1;
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: 18px;
}

.ft__social {
    display: flex;
    gap: 10px;
}

.ft__social .uk-icon-button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: background .2s ease, transform .2s ease;
}

.ft__social .uk-icon-button:hover {
    background: var(--site-red);
    color: #fff;
    transform: translateY(-2px);
}

.ft__grid {
    display: grid;
    grid-template-columns: 1.4fr 1.3fr 1fr 1fr;
    gap: 36px;
    padding-top: 38px;
    padding-bottom: 38px;
}

.ft h3 {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 10px;
    color: #fff;
    font-size: 19px;
}

.ft h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: var(--site-red);
}

.ft__about p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.75;
}

.ft__contact,
.ft__menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ft__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .85);
}

.ft__contact [uk-icon] {
    color: #ff5a6e;
}

.ft__menu li {
    margin-bottom: 9px;
}

.ft__menu--two ul {
    columns: 2;
    column-gap: 24px;
}

.ft a {
    color: rgba(255, 255, 255, .78);
    transition: color .15s ease, padding .15s ease;
}

.ft__menu a:hover {
    padding-left: 4px;
    color: #fff;
    text-decoration: none;
}

.ft__contact a:hover,
.ft__credit a:hover {
    color: #fff;
}

.ft__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    padding-top: 18px;
    padding-bottom: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
}

.ft__legal b {
    color: #fff;
}

.ft__credit {
    background: rgba(0, 0, 0, .25);
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
}

.ft__credit-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 20px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.ft__credit a {
    color: #fff;
    font-weight: 700;
}

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

@media (max-width: 559px) {
    .ft__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ft__tagline {
        flex-basis: 100%;
    }
}

/* Advertisement slots on every page: a label, a button readers can use to skip the ad,
   and ads meant only for desktop or only for mobile. The pages are stored the same for
   everyone, so the screen width decides which ones show.
   ========================================================================== */

.hp-ad {
    margin-block: 24px;
    text-align: center;
}

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

.hp-ad__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 970px;
    margin: 0 auto 4px;
}

.hp-ad__label {
    color: var(--site-muted, #6b7280);
    font-size: 12px;
    letter-spacing: .06em;
}

.hp-ad__skip {
    padding: 2px 10px;
    border: 1px solid var(--site-line, #e3e5e8);
    border-radius: 999px;
    background: var(--site-paper, #fff);
    color: var(--site-muted, #6b7280);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

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

@media (max-width: 767px) {
    .hp-ad--on-desktop {
        display: none;
    }
}

@media (min-width: 768px) {
    .hp-ad--on-mobile {
        display: none;
    }
}

/* Story page: the story beside a right-hand column of ads and the latest stories */
.sp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: start;
}

.sp-rail {
    position: sticky;
    top: 90px;
    display: grid;
    gap: 24px;
}

.sp-rail .hp-ad {
    margin: 0;
}

.sp-rail .hp-ad__bar {
    max-width: none;
}

.sp-latest h2 {
    margin: 0 0 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--site-red);
    color: var(--site-red);
    font-size: 22px;
}

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

.sp-latest li {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid #e3e5e8;
}

.sp-latest li:not(:has(img)) {
    grid-template-columns: 1fr;
}

.sp-latest img {
    display: block;
    width: 84px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
}

.sp-latest a {
    color: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.sp-latest a:hover {
    color: var(--site-red);
}

.sp-inline-ad {
    clear: both;
}

@media (max-width: 959px) {
    .sp-layout {
        grid-template-columns: 1fr;
    }

    .sp-rail {
        position: static;
    }
}

/* "यो पनि पढ्नुहोस्": another story linked inside a story */
.sp-also {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 26px 0;
    padding: 12px;
    border: 1px solid #e3e5e8;
    border-left: 4px solid var(--site-red);
    border-radius: 6px;
    background: #f7f8fa;
    color: inherit;
    transition: box-shadow .2s ease;
}

.sp-also:hover {
    box-shadow: 0 6px 18px rgba(10, 43, 92, .1);
    text-decoration: none;
    color: inherit;
}

.sp-also img {
    flex: none;
    width: 150px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 4px;
}

.sp-also span {
    display: grid;
    gap: 4px;
}

.sp-also small {
    color: var(--site-red);
    font-size: 15px;
    font-weight: 700;
}

.sp-also strong {
    font-size: 20px;
    line-height: 1.45;
}

.sp-also:hover strong {
    color: var(--site-blue);
}

@media (max-width: 559px) {
    .sp-also img {
        width: 96px;
    }

    .sp-also strong {
        font-size: 17px;
    }
}

/* Ads inside a story: a square ad, centred between two rules with a small label above it */
.sp-inline-ad .hp-ad {
    margin: 28px 0;
    padding: 14px 0 20px;
    border-block: 1px solid #e3e5e8;
}

.sp-inline-ad .hp-ad__bar {
    position: relative;
    justify-content: center;
    max-width: 300px;
    margin-bottom: 10px;
}

.sp-inline-ad .hp-ad__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.sp-inline-ad .hp-ad__skip {
    position: absolute;
    right: 0;
}

.sp-inline-ad .hp-ad a,
.sp-inline-ad .hp-ad img {
    display: block;
    max-width: 300px;
    margin-inline: auto;
}

.sp-inline-ad .hp-ad img {
    width: 100%;
    border-radius: 6px;
}

/* Quotes inside a story: a large red quote mark, a soft panel and the speaker underneath */
.ah-post-entry blockquote,
.ah-post-entry .wp-block-quote,
.ah-post-entry .wp-block-pullquote blockquote {
    position: relative;
    margin: 34px 0;
    padding: 30px 32px 26px 84px;
    border: 0;
    border-left: 4px solid var(--site-red);
    border-radius: 0 12px 12px 0;
    background: linear-gradient(135deg, #f6f8fb, #eef2f8);
    box-shadow: 0 6px 20px rgba(10, 43, 92, .06);
    color: var(--site-blue-deep, #061c3f);
    font-style: normal;
    text-align: left;
}

.ah-post-entry blockquote::before {
    content: "“";
    position: absolute;
    top: 14px;
    left: 22px;
    color: var(--site-red);
    font: 700 84px/1 Georgia, serif;
    opacity: .9;
}

.ah-post-entry blockquote::after {
    content: none;
}

.ah-post-entry blockquote p {
    margin: 0 0 12px;
    font-size: 1.12em;
    font-weight: 600;
    line-height: 1.8;
}

.ah-post-entry blockquote p:last-of-type {
    margin-bottom: 0;
}

.ah-post-entry blockquote cite,
.ah-post-entry blockquote footer {
    display: block;
    margin-top: 16px;
    color: var(--site-red);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
}

.ah-post-entry blockquote cite::before,
.ah-post-entry blockquote footer::before {
    content: "— ";
}

/* A pull quote stands out more: centred, larger and between two rules. */
.ah-post-entry .wp-block-pullquote {
    margin: 40px 0;
    padding: 0;
    border: 0;
}

.ah-post-entry .wp-block-pullquote blockquote {
    padding: 44px 36px 30px;
    border-left: 0;
    border-block: 3px solid var(--site-red);
    border-radius: 0;
    text-align: center;
}

.ah-post-entry .wp-block-pullquote blockquote::before {
    top: -26px;
    left: 50%;
    padding: 0 12px;
    background: #fff;
    transform: translateX(-50%);
}

.ah-post-entry .wp-block-pullquote blockquote p {
    font-size: 1.3em;
}

[data-theme="dark"] .ah-post-entry blockquote {
    background: linear-gradient(135deg, #1b2230, #161c27);
    box-shadow: none;
    color: #e8edf5;
}

[data-theme="dark"] .ah-post-entry .wp-block-pullquote blockquote::before {
    background: #111;
}

@media (max-width: 559px) {

    .ah-post-entry blockquote,
    .ah-post-entry .wp-block-quote {
        padding: 56px 20px 20px;
    }

    .ah-post-entry blockquote::before {
        top: 6px;
        left: 18px;
        font-size: 64px;
    }
}

/* Full-screen ad when a page opens: the logo, a label, a red Skip button and the ad */
.pop-ad {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
    overflow-y: auto;
    background: rgba(255, 255, 255, .98);
    animation: pop-ad-in .25s ease;
}

.pop-ad[hidden] {
    display: none;
}

.pop-ad-open,
.pop-ad-open body {
    overflow: hidden;
}

.pop-ad__box {
    width: min(970px, 100%);
    text-align: center;
}

.pop-ad__logo {
    display: block;
    width: 230px;
    height: auto;
    margin: 0 auto 28px;
}

.pop-ad__bar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 32px;
    margin-bottom: 10px;
}

.pop-ad__label {
    color: #666;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pop-ad__skip {
    position: absolute;
    right: 0;
    padding: 6px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--site-red);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(172, 26, 46, .3);
}

.pop-ad__skip:hover,
.pop-ad__skip:focus-visible {
    background: var(--site-blue);
}

.pop-ad__item a,
.pop-ad__item img {
    display: block;
    margin-inline: auto;
}

.pop-ad__item img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    border: 1px solid #e3e5e8;
}

[data-theme="dark"] .pop-ad {
    background: rgba(12, 14, 18, .97);
}

@keyframes pop-ad-in {
    from {
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .pop-ad__logo {
        width: 170px;
        margin-bottom: 20px;
    }

    .pop-ad__item img {
        max-height: 65vh;
    }
}

/* Ad slots carry only their label now; the full-screen ad keeps its Skip button. */
.hp-ad__bar {
    justify-content: center;
}

/* Keep the logo above the full-screen ad small, whatever the page's own image rules say. */
.pop-ad img.pop-ad__logo {
    width: 150px;
    max-width: 40vw;
    height: auto;
    margin: 0 auto 18px;
}

@media (max-width: 767px) {
    .pop-ad img.pop-ad__logo {
        width: 120px;
    }
}

/* ==========================================================================
   IMGNEPAL-UPDATE-2026-11-15
   Mobile header, tighter section spacing and Spotlight-style search.
   ========================================================================== */

/* Mobile header: the logo in the middle, the dates under it, then a full-width blue bar with
   the menu button on the left and search on the right. Only the blue bar stays on screen. */
@media (max-width: 767.98px) {
    header.frontend-header .site-mast {
        padding-block: 12px 8px;
    }

    header.frontend-header .site-mast__row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    header.frontend-header .site-mast__logo {
        align-self: center;
    }

    header.frontend-header .site-mast__logo img {
        width: 250px;
    }

    header.frontend-header .site-mast__date {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 12px;
        font-size: 14.5px;
        font-weight: 500;
        text-align: left;
    }

    header.frontend-header .site-mast__date span {
        color: var(--site-blue);
        font-size: 14px;
        font-weight: 600;
    }

    header.frontend-header .site-nav-band.uk-sticky-fixed {
        box-shadow: 0 4px 12px rgba(0, 28, 76, .25);
    }

    header.frontend-header .site-chips,
    header.frontend-header .site-menu.uk-navbar-nav,
    header.frontend-header .site-tool--wide {
        display: none !important;
    }

    header.frontend-header .site-nav {
        min-height: 46px;
        align-items: center;
    }

    header.frontend-header .site-nav__tools {
        flex: 1;
        justify-content: space-between;
        margin: 0 -6px;
    }

    header.frontend-header .site-nav__toggle {
        order: -1;
    }

    header.frontend-header .site-tool {
        width: 42px;
        height: 42px;
        color: #fff;
        background: transparent;
    }

    header.frontend-header .site-tool:hover {
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }
}

@media (max-width: 359.98px) {
    header.frontend-header .site-mast__logo img {
        width: 210px;
    }

    header.frontend-header .site-mast__date {
        font-size: 13px;
    }
}

/* Homepage spacing: smaller gaps between sections on tablets and phones. */
@media (max-width: 1099.98px) {
    .hp>.hp-band[class] {
        margin-top: 24px;
        padding-top: 26px;
        padding-bottom: 26px;
    }

    .hp>.hp-band[class]:not(.hp-band--wash):not(.hp-videos):not(.hp-spot-band) {
        margin-top: 0;
        padding-top: 26px;
        padding-bottom: 0;
    }

    .hp>.hp-band:last-child[class] {
        padding-bottom: 36px;
    }

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

    .hp>.hp-mosaic {
        padding-top: 18px;
    }

    .hp>.hp-layout {
        padding-top: 24px;
    }

    .hp .hp-head {
        margin-bottom: 18px;
    }
}

@media (max-width: 639.98px) {
    .hp>.hp-leads {
        padding-top: 14px;
    }

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

    .hp .hp-lead {
        padding-bottom: 18px;
    }

    .hp>.hp-mosaic {
        padding-top: 14px;
        row-gap: 20px;
    }

    .hp>.hp-band[class] {
        margin-top: 20px;
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .hp>.hp-band[class]:not(.hp-band--wash):not(.hp-videos):not(.hp-spot-band) {
        margin-top: 0;
        padding-top: 22px;
        padding-bottom: 0;
    }

    .hp>.hp-band:last-child[class] {
        padding-bottom: 28px;
    }

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

    .hp>.hp-layout {
        padding-top: 20px;
        row-gap: 20px;
    }

    .hp .hp-sport {
        row-gap: 24px;
    }

    .hp .hp-head {
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

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

/* Desktop: the short side box follows the reader instead of leaving a blank column. */
@media (min-width: 1100px) {
    .hp .hp-layout__rail {
        align-self: start;
        position: sticky;
        top: 74px;
    }
}

/* Spotlight-style search: the page blurs behind a centred glass search box. */
#site-search.site-search {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 14vh 16px 16px;
    background: rgba(6, 28, 63, .28);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    animation: site-search-in .18s ease;
}

#site-search.site-search[hidden] {
    display: none;
}

#site-search .site-search__form {
    position: relative;
    width: min(640px, 100%);
    max-width: none;
    margin: 0;
    padding: 8px;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 24px 60px rgba(6, 28, 63, .28), 0 2px 6px rgba(6, 28, 63, .08);
}

#site-search .site-search__form::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -11px;
    border: 2.2px solid var(--site-muted);
    border-radius: 50%;
    box-sizing: border-box;
    pointer-events: none;
}

#site-search .site-search__form::after {
    content: "";
    position: absolute;
    left: 39px;
    top: 50%;
    width: 7px;
    height: 2.2px;
    margin-top: 5px;
    background: var(--site-muted);
    transform: rotate(45deg);
    pointer-events: none;
}

#site-search input {
    height: 50px;
    padding: 0 12px 0 46px;
    border-radius: 12px;
    background: transparent;
    color: var(--site-ink);
    font-size: 19px;
    outline: none;
}

#site-search input::placeholder {
    color: #7a8494;
}

#site-search button[type=submit] {
    padding: 0 20px;
    border-radius: 12px;
    background: var(--site-blue);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: background .15s ease;
}

#site-search button[type=submit]:hover {
    background: var(--site-red);
}

@keyframes site-search-in {
    from {
        opacity: 0;
    }
}

@media (max-width: 639.98px) {
    #site-search.site-search {
        padding-top: 84px;
    }

    #site-search .site-search__form {
        border-radius: 16px;
        padding: 6px;
    }

    #site-search input {
        height: 46px;
        font-size: 17px;
    }

    #site-search button[type=submit] {
        padding: 0 14px;
        font-size: 15px;
    }
}

[data-theme="dark"] #site-search.site-search {
    background: rgba(0, 0, 0, .4);
}

[data-theme="dark"] #site-search .site-search__form {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(30, 34, 42, .8);
}

[data-theme="dark"] #site-search input {
    color: #f1f4f8;
}

/* IMGNEPAL-TWEAKS-2 (2026-11-15): smaller subtitles on phones, trending list with plain numbers. */
@media (max-width: 767.98px) {
    h2.uk-text-lead.uk-text-muted {
        font-size: 1.2rem;
        line-height: 1.55;
    }
}

/* Trending: a plain red number before each title, no circle (2026-11-16). */
.hp-trend .hp-trend__list li {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding-left: 0;
    font-size: 20px;
}

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

/* Card sections (कला र साहित्य, संवाद, देश बाहिर): title only, no date. */
.hp-section--cards .hp-story .hp-meta {
    display: none;
}

/* .hp-trend .hp-trend__num {
    display: block;
    width: auto;
    height: auto;
    min-width: 1.4em;
    border-radius: 0;
    background: none;
    color: var(--site-red);
    font-size: inherit;
    font-weight: 700;
    line-height: inherit;
} */

/* Side menu on touch screens: a phone has no hover, and iPhones spend the first tap on a link
   showing its hover effect, so the link needed two taps. Without hover one tap opens it. */
@media (hover: none) {
    .uk-offcanvas-bar li > a:hover,
    .ah-libang-side-nav li > a:hover {
        padding-left: 0;
        background: none;
        color: #fff !important;
        transition: none;
    }
}

.ah-libang-side-nav a,
.ah-libang-side-nav button {
    touch-action: manipulation;
}

.ah-libang-side-nav.uk-offcanvas-bar {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* The side menu marks the page the reader is on, like the menu across the top. */
.ah-libang-side-nav .side-nav li.uk-active > a {
    color: var(--site-gold) !important;
}

.ah-libang-side-nav .side-nav .uk-nav-sub {
    padding: 2px 0 6px 34px;
}

.ah-libang-side-nav .side-nav .uk-nav-sub a {
    padding-block: 5px;
    color: #c9d4e8 !important;
    font-size: 16px;
}

/* Story page sidebar: the most-read stories, each number on a coloured square. The top three are red. */
.sp-trend h2 {
    margin: 0 0 6px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--site-red);
    color: var(--site-red);
    font-size: 22px;
    font-weight: 700;
}

.sp-trend ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sp-trend li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--site-line, #e6e9ef);
}

.sp-trend li:last-child {
    border-bottom: 0;
}

.sp-trend__num {
    flex: 0 0 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--site-blue);
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
}

.sp-trend li:nth-child(-n+3) .sp-trend__num {
    background: var(--site-red);
}

.sp-trend a {
    color: var(--site-ink);
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.sp-trend a:hover {
    color: var(--site-red);
}

[data-theme="dark"] .sp-trend a {
    color: #e8edf5;
}

[data-theme="dark"] .sp-trend li {
    border-color: rgba(255, 255, 255, .12);
}

/* Trending numbers as round badges, the same on the homepage and the story page. Top three red. */
.sp-trend__num {
    border-radius: 50%;
}

.hp-trend__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

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

.hp-trend__list li:nth-child(-n+3) .hp-trend__num {
    background: var(--site-red);
}

/* Every trending number is red. */
.sp-trend__num,
.hp-trend__num {
    background: var(--site-red) !important;
}

/* Footer: link columns on dark blue, then a light band with the people behind the paper and its
   contacts, like the big Nepali news sites. */
.ft .ft__grid {
    padding-top: 48px;
}

.ft__address {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.ft__about .ft__social {
    margin-top: 18px;
}

.ft__info {
    background: #eef2f8;
    color: #1a2233;
}

.ft__info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 0;
    padding-block: 24px;
}

.ft__info-logo {
    flex: 0 0 auto;
    padding-right: 28px;
}

.ft__info-logo img {
    display: block;
    width: 200px;
    height: auto;
}

.ft__info-item {
    padding: 4px 26px;
    border-left: 1px solid #c9d3e3;
    line-height: 1.35;
}

.ft__info-item small {
    display: block;
    margin-bottom: 4px;
    color: #5b6475;
    font-size: 13.5px;
}

.ft__info-item strong {
    color: var(--site-blue);
    font-size: 18px;
    font-weight: 700;
}

.ft__info-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: auto;
}

.ft__info .ft__info-contact a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1a2233;
    font-size: 15px;
    font-weight: 600;
}

.ft__info .ft__info-contact a:hover {
    color: var(--site-red);
}

@media (max-width: 959px) {
    .ft__info-logo {
        flex-basis: 100%;
        padding-right: 0;
    }

    .ft__info-item:first-of-type {
        padding-left: 0;
        border-left: 0;
    }

    .ft__info-contact {
        margin-left: 0;
    }
}

@media (max-width: 639.98px) {
    .ft__info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .ft__info-item {
        padding: 0;
        border-left: 0;
    }
}

[data-theme="dark"] .ft__info {
    background: #161b24;
    color: #e8edf5;
}

[data-theme="dark"] .ft__info-item strong,
[data-theme="dark"] .ft__info .ft__info-contact a {
    color: #e8edf5;
}

[data-theme="dark"] .ft__info-item {
    border-color: rgba(255, 255, 255, .15);
}

/* Footer on phones: about across the top, the link lists two to a row, then the people and
   contacts as small cards, and the credits centred. */
@media (max-width: 639.98px) {
    .site-footer.ft .ft__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
        padding-block: 32px 28px;
    }

    .site-footer.ft .ft__about,
    .site-footer.ft .ft__menu--two {
        grid-column: 1 / -1;
    }

    .site-footer.ft .ft__menu--two ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
        columns: auto;
    }

    .site-footer.ft h3 {
        margin-bottom: 12px;
        font-size: 18px;
    }

    .site-footer.ft .ft__menu li {
        margin-bottom: 6px;
    }

    .site-footer.ft .ft__menu a {
        font-size: 15.5px;
    }

    .site-footer.ft .ft__info-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 10px;
        padding-block: 22px;
    }

    .site-footer.ft .ft__info-logo {
        grid-column: 1 / -1;
        justify-self: center;
        padding: 0 0 6px;
    }

    .site-footer.ft .ft__info-logo img {
        width: 180px;
    }

    .site-footer.ft .ft__info-item {
        margin: 0;
        padding: 10px 12px;
        border: 0;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(10, 43, 92, .08);
    }

    .site-footer.ft .ft__info-item small {
        font-size: 12.5px;
    }

    .site-footer.ft .ft__info-item strong {
        font-size: 16px;
    }

    .site-footer.ft .ft__info-contact {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 18px;
    }

    .site-footer.ft .ft__credit-row {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding-block: 14px 18px;
        text-align: center;
        font-size: 13.5px;
    }

    [data-theme="dark"] .site-footer.ft .ft__info-item {
        background: #1f2632;
    }
}
