/* ==========================================================================
   Virasat article page (templates/blog-article.php, inc/virasat-article.php)
   Figma "Hamari Virasat" > "Blog detail · Buddha Purnima 2026" (node 331:388)
   https://www.figma.com/design/xWpHAcjUfuhMtFMoaGrffr/Hamari-Virasat?node-id=331-388

   Plain CSS, no build step. Loaded only on single blog posts, after virasat-tokens.css and
   virasat-home.css (the header and footer come from there). Lengths are the 1440px Figma sizes;
   the layout is fluid, with a 1200px content column: a 760px reading column and a 352px sidebar.
   Breakpoints: mobile < 768px, tablet 768-1023px, desktop >= 1024px.

   Tokens: as on the blog listing page, the Figma frame only uses color/cta-yellow and space/12.
   The system's ink, body, yellow, radius and Button/S tokens are used where they match; the
   remaining --va-* colours are blog-specific values from the frame and stay local.
   ========================================================================== */

.va-article {
    --va-page: #f8f4ea;
    --va-surface: #fffdf7;
    --va-white: #ffffff;
    --va-sand: #f1e8d8;
    --va-line: #e5d9c5;
    --va-ink: var(--vh-ink);            /* text/heading (Figma frame: #20221b) */
    --va-text: var(--vh-body);          /* text/body (Figma frame: #605545) */
    --va-accent: #774817;
    --va-chip: #ead9ba;
    --va-green: #27372c;
    --va-gutter: 24px;
    --va-max: 1200px;

    background: var(--va-page);
    color: var(--va-ink);
    font-family: var(--vh-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

.va-article *,
.va-article *::before,
.va-article *::after {
    box-sizing: border-box;
}

.va-article :where(ul, ol) {
    margin: 0;
    padding: 0;
    list-style: none;
}

.va-article :where(li, h1, h2, h3, h4, p, figure) {
    margin: 0;
}

.va-article a {
    text-decoration: none;
}

.va-article :focus-visible {
    outline: 2px solid var(--va-accent);
    outline-offset: 2px;
}

.va-article .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .va-article {
        scroll-behavior: auto;
    }
}

/* -- 02 · Article header -------------------------------------------------- */
.va-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid var(--va-line);
    background: var(--va-sand);
}

.va-header__inner {
    max-width: calc(var(--va-max) + 2 * var(--va-gutter));
    margin: 0 auto;
    padding: 0 var(--va-gutter);
}

.va-header__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 82px;
    padding-top: 8px;
}

.va-breadcrumb {
    min-width: 0;
    font-size: 14px;
    line-height: 19px;
}

.va-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.va-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--va-accent);
}

.va-breadcrumb li + li::before {
    content: "/";
    flex: none;
}

.va-breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--va-accent);
}

.va-breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.va-breadcrumb__current {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Language menu: a <details> element, so it works without JavaScript. */
.va-lang {
    position: relative;
    flex: none;
}

.va-lang > summary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--va-line);
    border-radius: var(--vh-radius-sm);
    background: var(--va-surface);
    color: var(--va-accent);
    font: 700 14px/19px var(--vh-sans);
    list-style: none;
    cursor: pointer;
}

.va-lang > summary::-webkit-details-marker {
    display: none;
}

.va-lang > summary::after {
    content: "";
    flex: none;
    width: 15px;
    height: 14px;
    background: url("../../img/virasat/article-icon-chevron.svg") center no-repeat;
}

.va-lang ul {
    position: absolute;
    z-index: 5;
    top: calc(100% + 6px);
    right: 0;
    min-width: 100%;
    padding: 6px;
    border: 1px solid var(--va-line);
    border-radius: var(--vh-radius-sm);
    background: var(--va-surface);
    box-shadow: 0 12px 28px rgba(33, 25, 15, .14);
}

.va-lang ul a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--va-ink);
    font: 600 14px/19px var(--vh-sans);
    white-space: nowrap;
}

.va-lang ul a:hover,
.va-lang ul a[aria-current] {
    background: var(--va-page);
    color: var(--va-accent);
}

.va-header__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-bottom: 40px;
}

.va-header__copy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-block: 8px;
}

/* White panel behind the title, running to the left edge of the page. */
.va-header__copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -82px;
    bottom: -40px;
    left: -100vw;
    right: -24px;
    background: var(--va-white);
}

.va-article .va-chip {
    display: inline-flex;
    align-items: center;
    min-height: 33px;
    padding: 0 25px;
    border-radius: var(--vh-radius-pill);
    background: var(--va-chip);
    color: var(--va-accent);
    font: 700 14px/19px var(--vh-sans);
}

.va-article .va-chip:hover {
    background: #e2cfa8;
}

.va-article .va-title {
    color: var(--va-ink);
    font-family: var(--vh-display);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.4;
}

.va-standfirst {
    color: var(--va-text);
    font-size: 17px;
    line-height: 1.8;
}

.va-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 8px;
}

.va-byline__logo {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.va-byline__text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 19px;
}

.va-byline__name {
    color: var(--va-ink);
    font-weight: 700;
}

.va-byline__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    color: var(--va-text);
}

.va-byline__meta .virasat-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.va-byline__meta .virasat-views__icon {
    flex: none;
}

.va-article .va-share-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    padding-left: 20px;
    border-left: 1px solid var(--va-line);
    color: var(--va-accent);
    font: 700 15px/20px var(--vh-sans);
}

.va-article .va-share-link::after {
    content: "";
    flex: none;
    width: 15px;
    height: 14px;
    background: url("../../img/virasat/article-icon-arrow.svg") center no-repeat;
}

.va-article .va-share-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.va-cover {
    position: relative;
    margin: 0;
}

.va-cover__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 582 / 368;
    object-fit: cover;
    border-radius: 18px;
}

/* -- 03 · Article and sidebar --------------------------------------------- */
.va-body {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
}

.va-body__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    max-width: calc(var(--va-max) + 2 * var(--va-gutter));
    margin: 0 auto;
    /* Space above and below the white reading panel, so it does not touch the header and the related section. */
    padding: 32px var(--va-gutter) 40px;
}

.va-main {
    position: relative;
    min-width: 0;
    padding-block: 32px 48px;
}

/* White reading surface: a panel behind the article text only. The page background shows on
   the left of it and behind the sidebar. (The grid stretches this column to the height of the
   sidebar, so the panel is as tall as the page body.) */
.va-main::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: -24px;
    right: -24px;
    border-radius: var(--vh-radius-md);
    background: var(--va-white);
}

.va-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
    padding-bottom: 56px;
}

/* -- The post body ---------------------------------------------------------- */
.va-prose {
    color: var(--va-text);
    font-size: 17px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.va-prose > * + * {
    margin-top: 20px;
}

.va-prose p {
    margin-bottom: 0;
}

.va-prose strong,
.va-prose b {
    color: var(--va-ink);
}

.va-prose a {
    color: var(--va-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.va-article .va-prose h2,
.va-article .va-prose h3,
.va-article .va-prose h4 {
    color: var(--va-ink);
    font-family: var(--vh-display);
    font-weight: 800;
    scroll-margin-top: 24px;
}

.va-article .va-prose h2 {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--va-line);
    font-size: 26px;
    line-height: 1.45;
}

.va-article .va-prose h3 {
    margin-top: 36px;
    font-size: 22px;
    line-height: 1.45;
}

.va-article .va-prose h4 {
    margin-top: 28px;
    font-size: 19px;
    line-height: 1.5;
}

.va-article .va-prose > :first-child {
    margin-top: 0;
}

.va-article .va-prose h2 + *,
.va-article .va-prose h3 + * {
    margin-top: 14px;
}

.va-prose ul,
.va-prose ol {
    padding-left: 0;
}

.va-prose li {
    position: relative;
    padding-left: 28px;
}

.va-prose li + li {
    margin-top: 8px;
}

.va-prose ul > li::before {
    content: "";
    position: absolute;
    top: .78em;
    left: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ad763b;
}

.va-prose ol {
    counter-reset: va-list;
}

.va-prose ol > li {
    counter-increment: va-list;
}

.va-prose ol > li::before {
    content: counter(va-list) ".";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--va-accent);
    font-weight: 700;
}

/* Numbered steps: "1. …" headings. */
.va-article .va-prose h3.va-step {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--va-line);
    font-family: var(--vh-sans);
    font-size: 19px;
    line-height: 26px;
}

.va-article .va-prose h2 + h3.va-step,
.va-article .va-prose h3 + h3.va-step:not(.va-step + h3) {
    border-top: 0;
    padding-top: 0;
}

.va-step__n {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ede0c8;
    color: var(--va-accent);
    font: 700 14px/19px var(--vh-sans);
}

.va-article .va-prose h3.va-step + * {
    margin-top: 8px;
    margin-left: 53px;
}

/* Tables read as a key / value card. */
.va-table {
    overflow-x: auto;
    border: 1px solid var(--va-line);
    border-radius: 12px;
    background: var(--va-white);
}

.va-prose figure.wp-block-table {
    margin-inline: 0;
}

.va-prose table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    font-size: 16px;
    line-height: 1.55;
}

.va-article .va-prose th,
.va-article .va-prose td {
    padding: 14px 20px;
    border: 0;
    border-top: 1px solid var(--va-line);
    text-align: left;
    vertical-align: top;
}

.va-article .va-prose thead th {
    border-top: 0;
    background: #fbf5e9;
    color: var(--va-ink);
    font-weight: 700;
}

.va-article .va-prose tbody tr:first-child td {
    border-top: 0;
}

.va-article .va-prose tbody td:first-child {
    width: 34%;
    color: var(--va-ink);
    font-weight: 700;
}

/* Quotes read as the Figma call-out: a green rule and a bold line. */
.va-prose blockquote {
    position: relative;
    margin: 28px 0;
    padding: 22px 24px 22px 28px;
    border: 1px solid var(--va-line);
    border-radius: 12px;
    background: var(--va-white);
    color: var(--va-green);
    font-family: var(--vh-display);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.55;
}

.va-prose blockquote::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 3px;
    border-radius: 1px;
    background: #728166;
}

.va-prose blockquote p {
    color: inherit;
}

.va-prose img,
.va-prose video {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.va-prose figure {
    margin-block: 28px;
}

.va-prose figcaption {
    margin-top: 8px;
    color: var(--va-text);
    font-size: 14px;
    line-height: 1.5;
}

.va-prose iframe {
    display: block;
    max-width: 100%;
    border: 0;
    border-radius: 12px;
}

.va-prose .wp-block-embed__wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.va-prose .wp-embed-aspect-16-9 .wp-block-embed__wrapper {
    aspect-ratio: 16 / 9;
}

.va-prose .wp-embed-aspect-9-16 {
    max-width: 360px;
    margin-inline: auto;
}

.va-prose .wp-embed-aspect-9-16 .wp-block-embed__wrapper {
    aspect-ratio: 9 / 16;
}

.va-prose .wp-has-aspect-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.va-prose hr {
    margin: 36px 0;
    border: 0;
    border-top: 1px solid var(--va-line);
}

/* FAQ accordion. */
.va-faq {
    margin-top: 12px;
    border: 1px solid var(--va-line);
    border-radius: 10px;
    background: var(--va-white);
}

.va-prose h2 + .va-faq,
.va-prose h3 + .va-faq {
    margin-top: 20px;
}

.va-faq > summary {
    position: relative;
    display: block;
    min-height: 58px;
    padding: 17px 56px 17px 18px;
    color: var(--va-ink);
    font: 700 17px/24px var(--vh-sans);
    list-style: none;
    cursor: pointer;
}

.va-faq > summary::-webkit-details-marker {
    display: none;
}

.va-faq > summary::before,
.va-faq > summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 22px;
    width: 14px;
    height: 2px;
    margin-top: -1px;
    background: var(--va-accent);
}

.va-faq > summary::after {
    transform: rotate(90deg);
    transition: transform .15s ease, opacity .15s ease;
}

.va-faq[open] > summary::after {
    opacity: 0;
    transform: rotate(0);
}

.va-faq__answer {
    padding: 0 18px 18px;
    font-size: 16px;
    line-height: 1.7;
}

.va-faq__answer > :first-child {
    margin-top: 0;
}

/* Ads inserted into the post by the Ad Inserter plugin keep their own sizing. */
.va-prose .code-block {
    max-width: 100%;
    overflow: hidden;
}

.va-pages,
.va-tags {
    margin-top: 28px;
    color: var(--va-text);
    font-size: 14px;
}

.va-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0 6px 6px 0;
    padding: 0 12px;
    border: 1px solid var(--va-line);
    border-radius: var(--vh-radius-pill);
    color: var(--va-accent);
}

/* Share bar. */
.va-sharebar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--va-line);
}

.va-sharebar__label {
    margin-right: 4px;
    color: var(--va-ink);
    font: 700 17px/23px var(--vh-sans);
}

.va-sharebar__list {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.va-sharebar__end {
    margin-left: auto;
}

.va-article .va-pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--va-line);
    border-radius: var(--vh-radius-pill);
    background: var(--va-white);
    color: var(--va-accent);
    font: 400 14px/19px var(--vh-sans);
    cursor: pointer;
}

.va-article .va-pill[hidden] {
    display: none;
}

.va-article .va-pill:hover {
    border-color: var(--va-accent);
    text-decoration: none;
}

.va-article .va-pill--strong {
    font-weight: 700;
}

.va-comments {
    margin-top: 40px;
}

/* -- Sidebar widgets ---------------------------------------------------------- */
.va-widget {
    position: relative;
    padding: 22px;
    border: 1px solid var(--va-line);
    border-radius: var(--vh-radius-md);
    background: var(--va-surface);
}

.va-article .va-widget__title {
    color: var(--va-ink);
    font-family: var(--vh-display);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
}

.va-widget__text {
    margin-top: 12px;
    color: var(--va-text);
    font-size: 16px;
    line-height: 1.7;
}

.va-article .va-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--vh-space-12);
    min-height: 44px;
    margin-top: 24px;
    padding: 0 20px;
    border-radius: var(--vh-radius-pill);
    background: var(--vh-yellow);
    color: #21190f;
    font: var(--vh-font-button-s);
    white-space: nowrap;
    transition: background-color .15s ease, box-shadow .15s ease;
}

.va-article .va-btn::after {
    content: "";
    flex: none;
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("../../img/virasat/ico-arrow-right.svg") center / contain no-repeat;
    mask: url("../../img/virasat/ico-arrow-right.svg") center / contain no-repeat;
}

.va-article .va-btn:hover {
    background: #ffc43d;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
    text-decoration: none;
}

/* Contents */
.va-toc {
    border-radius: 14px;
}

.va-toc__list {
    max-height: 400px;
    margin: 16px -10px 0;
    overflow-y: auto;
}

.va-article .va-toc__list a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 8px 40px 8px 12px;
    border-radius: var(--vh-radius-sm);
    color: var(--va-text);
    font: 400 15px/21px var(--vh-sans);
}

.va-toc__list li + li a {
    box-shadow: 0 -1px 0 var(--va-line);
}

.va-article .va-toc__list a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 15px;
    height: 14px;
    margin-top: -7px;
    background: url("../../img/virasat/article-icon-arrow.svg") center no-repeat;
}

.va-article .va-toc__list a:hover {
    background: #f6efe0;
    color: var(--va-accent);
    text-decoration: none;
}

.va-article .va-toc__list a.is-current {
    background: #efe6d4;
    color: var(--va-accent);
    font-weight: 700;
    box-shadow: none;
}

.va-toc__list a.is-current::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 0;
    width: 3px;
    border-radius: 1px;
    background: #9c6733;
}

/* Today's muhurat */
.va-muhurat {
    padding-bottom: 24px;
    background: #f3e8d3;
    border-radius: var(--vh-radius-md);
}

.va-muhurat .va-widget__title {
    padding-right: 48px;
}

.va-muhurat__cal {
    position: absolute;
    top: 20px;
    right: 26px;
    width: 30px;
    height: 27px;
    border: 1px solid #8f5c28;
    border-radius: 4px;
    background: #f3e8d3;
}

.va-muhurat__cal::before {
    content: "";
    position: absolute;
    top: 7px;
    left: -1px;
    width: 30px;
    height: 1px;
    background: #8f5c28;
}

.va-muhurat__cal::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 6px;
    width: 2px;
    height: 7px;
    background: #8f5c28;
    box-shadow: 16px 0 0 #8f5c28;
}

/* Festivals */
.va-festivals__list {
    margin-top: 18px;
}

.va-mini {
    display: flex;
    gap: 15px;
    padding-block: 14px;
    border-top: 1px solid var(--va-line);
}

.va-mini:first-child {
    padding-top: 0;
    border-top: 0;
}

.va-mini__img {
    flex: none;
    width: 82px;
    height: 76px;
    overflow: hidden;
    border-radius: var(--vh-radius-sm);
    background: #efe6d3;
}

.va-mini__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.va-mini__text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.va-mini__cat {
    color: var(--va-accent);
    font: 700 13px/18px var(--vh-sans);
}

.va-article .va-mini__title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    color: var(--va-ink);
    font: 700 16px/25px var(--vh-sans);
}

.va-article .va-mini__title:hover {
    color: var(--va-accent);
    text-decoration: none;
}

.va-article .va-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin-top: 12px;
    color: var(--va-accent);
    font: 700 15px/20px var(--vh-sans);
}

.va-article .va-more::after {
    content: "";
    flex: none;
    width: 15px;
    height: 14px;
    background: url("../../img/virasat/article-icon-arrow.svg") center no-repeat;
}

.va-article .va-more:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Topics */
.va-topics__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.va-article .va-topics__list a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 40px 0 12px;
    border: 1px solid var(--va-line);
    border-radius: var(--vh-radius-sm);
    background: #fbf5e9;
    color: var(--va-ink);
    font: 700 15px/20px var(--vh-sans);
}

.va-article .va-topics__list a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 15px;
    height: 14px;
    margin-top: -7px;
    background: url("../../img/virasat/article-icon-arrow.svg") center no-repeat;
}

.va-article .va-topics__list a:hover {
    border-color: var(--va-accent);
    text-decoration: none;
}

/* Community */
.va-community {
    border-color: var(--va-green);
    background: var(--va-green);
}

.va-article .va-community .va-widget__title {
    color: #fff7e7;
}

.va-community .va-widget__text {
    color: #f0e1c7;
}

/* -- 04 · Related articles ----------------------------------------------------- */
.va-related {
    border-top: 1px solid var(--va-line);
    background: var(--va-sand);
}

.va-related__inner {
    max-width: calc(var(--va-max) + 2 * var(--va-gutter));
    margin: 0 auto;
    padding: 40px var(--va-gutter) 48px;
}

.va-article .va-related__title {
    margin-bottom: 28px;
    color: var(--va-ink);
    font-family: var(--vh-display);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
}

.va-related__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.va-rel {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--va-line);
    border-radius: var(--vh-radius-md);
    background: var(--va-surface);
    transition: box-shadow .2s ease, border-color .2s ease;
}

.va-rel:hover,
.va-rel:focus-within {
    border-color: var(--vh-gold-400);
    box-shadow: 0 8px 22px rgba(33, 25, 15, .1);
}

.va-rel__img,
.va-rel__placeholder {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.va-rel__placeholder {
    background: #efe6d3 url("../../img/virasat/logo.png") center / 48px 48px no-repeat;
    opacity: .6;
}

.va-rel__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 15px 16px 18px;
}

.va-rel__cat {
    color: var(--va-accent);
    font: 700 13px/18px var(--vh-sans);
}

.va-article .va-rel__title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: var(--va-ink);
    font-family: var(--vh-display);
    font-size: 20px;
    font-weight: 800;
    line-height: 28px;
}

.va-article .va-rel__title a {
    color: inherit;
}

.va-article .va-rel__title a:hover {
    color: var(--va-accent);
    text-decoration: none;
}

/* The title link covers the whole card. */
.va-rel__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.va-rel__more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 6px;
    color: var(--va-accent);
    font: 700 13px/18px var(--vh-sans);
}

.va-rel__more::after {
    content: "";
    flex: none;
    width: 15px;
    height: 14px;
    background: url("../../img/virasat/article-icon-arrow.svg") center no-repeat;
}

/* -- Tablet ----------------------------------------------------------------------- */
@media (min-width: 768px) {
    .va-article .va-title {
        font-size: 38px;
    }

    .va-standfirst {
        font-size: 18px;
    }

    .va-prose {
        font-size: 18px;
    }

    .va-article .va-prose h2 {
        font-size: 30px;
    }

    .va-article .va-prose h3 {
        font-size: 24px;
    }

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

    .va-article .va-related__title {
        font-size: 34px;
    }
}

/* -- Desktop ------------------------------------------------------------------------ */
@media (min-width: 1024px) {
    .va-header__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 582px);
        align-items: stretch;
        gap: 45px;
        padding-bottom: 42px;
    }

    .va-header__copy {
        justify-content: center;
        padding-block: 18px;
        padding-right: 28px;
    }

    .va-header__copy::before {
        right: 0;
        bottom: -42px;
    }

    .va-cover__img {
        height: 100%;
        min-height: 368px;
        aspect-ratio: auto;
    }

    .va-article .va-title {
        font-size: 40px;
    }

    .va-standfirst {
        font-size: 19px;
        line-height: 34px;
    }

    .va-body__inner {
        grid-template-columns: minmax(0, 760px) 320px;
        gap: 88px;
    }

    .va-main {
        padding-top: 49px;
    }

    .va-main::before {
        right: -44px;
        border-right: 1px solid var(--va-line);
        border-left: 1px solid var(--va-line);
    }

    .va-sidebar {
        padding-top: 49px;
    }

    .va-prose {
        font-size: 19px;
        line-height: 34px;
    }

    .va-article .va-prose h2 {
        font-size: 33px;
    }

    .va-article .va-prose h3 {
        font-size: 25px;
    }

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

@media (min-width: 1320px) {
    .va-main::before {
        left: -40px;
    }

    .va-main {
        padding-inline: 0;
    }
}

@media (min-width: 1200px) {
    .va-body__inner {
        grid-template-columns: minmax(0, 760px) 352px;
    }

    .va-article .va-title {
        font-size: 44px;
    }

    .va-standfirst {
        font-size: 20px;
    }

    .va-prose {
        font-size: 20px;
    }

    .va-article .va-widget__title {
        font-size: 26px;
    }
}

/* -- Mobile ------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .va-header__top {
        min-height: 64px;
    }

    .va-header__copy::before {
        top: -64px;
        right: -24px;
    }

    .va-breadcrumb li:nth-child(n+3):not(.va-breadcrumb__current) {
        display: none;
    }

    .va-sharebar__end {
        margin-left: 0;
    }

    .va-prose tbody td:first-child {
        width: auto;
    }

    .va-prose th,
    .va-prose td {
        padding: 12px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .va-rel,
    .va-faq > summary::after,
    .va-article .va-btn {
        transition: none;
    }
}
