/*
 * Harvestime premium editorial layer
 * Scoped to the posts index, post archives and single posts only.
 * Loaded by includes/blog.php — never on WooCommerce or Elementor pages.
 */

.harvestime-blog {
    --ht-forest: #0c4437;
    --ht-forest-deep: #07372d;
    --ht-green: #35b979;
    --ht-lime: #b7dc64;
    --ht-ink: #15372e;
    --ht-body: #33514a;
    --ht-muted: #61756f;
    --ht-line: #dce7e1;
    --ht-line-soft: #e8f0ea;
    --ht-wash: #f3f7f3;
    --ht-cream: #fbfcf8;
    --ht-radius-lg: 26px;
    --ht-radius: 20px;
    --ht-radius-sm: 14px;
    --ht-shadow: 0 1px 2px rgba(12, 68, 55, 0.04), 0 16px 38px rgba(12, 68, 55, 0.06);
    --ht-shadow-lift: 0 2px 4px rgba(12, 68, 55, 0.05), 0 28px 56px rgba(12, 68, 55, 0.13);
    background: var(--ht-cream);
}

.harvestime-blog #content.site-content {
    padding-top: 0 !important;
    background:
        radial-gradient(circle at 4% 2%, rgba(183, 220, 100, 0.13), transparent 26rem),
        radial-gradient(circle at 96% 12%, rgba(53, 185, 121, 0.08), transparent 24rem),
        var(--ht-cream);
}

.harvestime-blog #content > .container {
    width: min(100% - 40px, 1280px) !important;
    max-width: 1280px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
}

.harvestime-blog #primary.content-area {
    width: 100%;
    max-width: 100%;
    padding-top: 40px !important;
    padding-bottom: 96px !important;
}

/* ------------------------------------------------------------------ *
 * Breadcrumb strip
 * ------------------------------------------------------------------ */
.harvestime-blog .dokan_only_breadcrumb {
    padding: 0 !important;
    background: #f7faf7;
    border-top: 1px solid rgba(20, 65, 53, 0.06);
    border-bottom: 1px solid var(--ht-line);
}

.harvestime-blog .breadcrumbs.nest {
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    display: flex;
    align-items: center;
}

.harvestime-blog .breadcrumbs.nest .breadcrumb {
    min-height: 64px;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--ht-muted);
    font-size: 13px;
    font-weight: 500;
}

.harvestime-blog .breadcrumbs.nest .breadcrumb li,
.harvestime-blog .breadcrumbs.nest .breadcrumb a {
    color: var(--ht-muted) !important;
    font-size: inherit !important;
    font-weight: 500 !important;
}

.harvestime-blog .breadcrumbs.nest .breadcrumb li:last-child,
.harvestime-blog .breadcrumbs.nest .breadcrumb li.active {
    max-width: min(100%, 46ch);
    overflow: hidden;
    color: var(--ht-ink) !important;
    font-weight: 600 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ------------------------------------------------------------------ *
 * Shared atoms — pills, chips, buttons
 * ------------------------------------------------------------------ */
.harvestime-blog .ht-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px 6px 11px;
    border: 1px solid rgba(12, 68, 55, 0.09);
    border-radius: 999px;
    color: var(--ht-forest) !important;
    background: rgba(255, 255, 255, 0.94);
    font-family: var(--font-text);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.harvestime-blog .ht-pill:hover,
.harvestime-blog .ht-pill:focus-visible {
    border-color: rgba(12, 68, 55, 0.22);
    color: var(--ht-forest-deep) !important;
    background: #fff;
}

.harvestime-blog .ht-pill__dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: var(--ht-green);
}

.harvestime-blog .ht-pill--onmedia {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 22px rgba(6, 40, 31, 0.2);
}

.harvestime-blog .ht-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: var(--ht-radius-sm);
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.harvestime-blog .ht-btn--primary {
    color: #fff !important;
    background: var(--ht-forest);
    border-color: var(--ht-forest);
}

.harvestime-blog .ht-btn--primary:hover,
.harvestime-blog .ht-btn--primary:focus-visible {
    background: var(--ht-forest-deep);
    border-color: var(--ht-forest-deep);
    transform: translateY(-2px);
}

.harvestime-blog .ht-btn--ghost {
    color: var(--ht-forest) !important;
    background: #fff;
    border-color: var(--ht-line);
}

.harvestime-blog .ht-btn--ghost:hover,
.harvestime-blog .ht-btn--ghost:focus-visible {
    border-color: var(--ht-forest);
    transform: translateY(-2px);
}

/* ------------------------------------------------------------------ *
 * Archive grid — the theme ships a Bootstrap row of full-width columns,
 * which is what made the listing read as a stack of banners.
 * ------------------------------------------------------------------ */
.harvestime-blog-archive .row.loop-grid {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 26px;
}

/* Loop items carry post_class(), so neutralise any grid/column classes a
   plugin may add without touching the hero, chips or enquiry band. */
.harvestime-blog-archive .ht-card-col {
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
    display: flex;
}

.harvestime-blog-archive .ht-blog-hero,
.harvestime-blog-archive .ht-blog-filters,
.harvestime-blog-archive .ht-blog-cta,
.harvestime-blog-archive .ht-card-col.ht-card--lead {
    grid-column: 1 / -1;
}

/* The pagination sits in its own Bootstrap row below the grid. */
.harvestime-blog-archive #main > .row:not(.loop-grid) {
    margin: 0 !important;
}

.harvestime-blog-archive #main > .row:not(.loop-grid) > [class*="col-"] {
    padding: 0 !important;
}

/* ------------------------------------------------------------------ *
 * Archive hero
 * ------------------------------------------------------------------ */
.harvestime-blog .ht-blog-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 4.6vw, 58px);
    border-radius: var(--ht-radius-lg);
    color: #fff;
    background:
        radial-gradient(circle at 92% 6%, rgba(183, 220, 100, 0.22), transparent 52%),
        radial-gradient(circle at 70% 130%, rgba(53, 185, 121, 0.3), transparent 58%),
        linear-gradient(125deg, var(--ht-forest-deep), var(--ht-forest));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px 40px;
}

.harvestime-blog .ht-blog-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at 12% 90%, #000, transparent 62%);
    mask-image: radial-gradient(circle at 12% 90%, #000, transparent 62%);
}

.harvestime-blog .ht-blog-hero__body {
    position: relative;
    z-index: 1;
    max-width: 46rem;
}

.harvestime-blog .ht-blog-hero__eyebrow {
    margin: 0 0 14px !important;
    color: var(--ht-lime);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.harvestime-blog .ht-blog-hero__title {
    margin: 0 !important;
    color: #fff !important;
    font-family: var(--font-display);
    font-size: clamp(29px, 4.2vw, 50px);
    font-weight: 700;
    letter-spacing: -0.032em;
    line-height: 1.06;
    text-wrap: balance;
}

.harvestime-blog .ht-blog-hero__lead {
    margin: 18px 0 0 !important;
    max-width: 40rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(15px, 1.15vw, 17px);
    font-weight: 400;
    line-height: 1.66;
}

.harvestime-blog .ht-blog-hero__facts {
    margin: 28px 0 0 !important;
    padding: 0 !important;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 34px;
}

.harvestime-blog .ht-blog-hero__facts li {
    position: relative;
    margin: 0 !important;
    padding: 0 0 0 18px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.harvestime-blog .ht-blog-hero__facts li::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 2px;
    border-radius: 2px;
    background: rgba(183, 220, 100, 0.55);
}

.harvestime-blog .ht-blog-hero__facts strong {
    color: #fff;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.harvestime-blog .ht-blog-hero__facts span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.harvestime-blog .ht-blog-hero__cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--ht-radius-sm);
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.harvestime-blog .ht-blog-hero__cta:hover,
.harvestime-blog .ht-blog-hero__cta:focus-visible {
    border-color: var(--ht-lime);
    background: rgba(183, 220, 100, 0.16);
    transform: translateY(-2px);
}

.harvestime-blog .ht-blog-hero__cta i {
    font-size: 13px;
    line-height: 1;
}

.harvestime-blog .ht-blog-hero.is-compact {
    padding: clamp(24px, 3vw, 34px) clamp(26px, 3.4vw, 40px);
}

.harvestime-blog .ht-blog-hero.is-compact .ht-blog-hero__title {
    font-size: clamp(24px, 2.6vw, 34px);
}

/* ------------------------------------------------------------------ *
 * Category chips
 * ------------------------------------------------------------------ */
.harvestime-blog .ht-blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.harvestime-blog .ht-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--ht-line);
    border-radius: 999px;
    color: var(--ht-ink) !important;
    background: #fff;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.harvestime-blog .ht-chip:hover,
.harvestime-blog .ht-chip:focus-visible {
    border-color: var(--ht-forest);
    transform: translateY(-1px);
}

.harvestime-blog .ht-chip.is-active {
    border-color: var(--ht-forest);
    color: #fff !important;
    background: var(--ht-forest);
}

.harvestime-blog .ht-chip__count {
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--ht-wash);
    color: var(--ht-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.harvestime-blog .ht-chip.is-active .ht-chip__count {
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.9);
}

/* ------------------------------------------------------------------ *
 * Article card
 * ------------------------------------------------------------------ */
.harvestime-blog .ht-card {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid var(--ht-line) !important;
    border-radius: var(--ht-radius) !important;
    background: #fff;
    box-shadow: var(--ht-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.harvestime-blog .ht-card:hover,
.harvestime-blog .ht-card:focus-within {
    transform: translateY(-4px);
    border-color: #c4dbcf !important;
    box-shadow: var(--ht-shadow-lift);
}

.harvestime-blog .ht-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ht-wash);
}

/* :not(.ht-pill) matters — the category pill is also a direct <a> child of the
   media box. Without it the pill inherited width/height 100% and, being a
   999px-radius white panel with a backdrop blur, painted a white stadium over
   the whole photograph. */
.harvestime-blog .ht-card__media > a:not(.ht-pill) {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

/* The parent theme pins blog thumbnails to a fixed 450px height. */
.harvestime-blog .ht-card__media img {
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    border-radius: 0 !important;
    object-fit: cover;
    display: block;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.harvestime-blog .ht-card:hover .ht-card__media img {
    transform: scale(1.05);
}

.harvestime-blog .ht-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    background: linear-gradient(to top, rgba(7, 39, 31, 0.34), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 260ms ease;
}

.harvestime-blog .ht-card:hover .ht-card__media::after {
    opacity: 1;
}

.harvestime-blog .ht-card__body {
    flex: 1;
    min-width: 0;
    padding: 24px 24px 22px !important;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.harvestime-blog .ht-card__body > .ht-pill {
    align-self: flex-start;
    margin-bottom: 14px;
}

.harvestime-blog .ht-card__title {
    margin: 0 0 12px !important;
    color: var(--ht-ink);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.3;
    text-wrap: pretty;
}

.harvestime-blog .ht-card__title a {
    color: var(--ht-ink) !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
    background-image: linear-gradient(var(--ht-green), var(--ht-green));
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 320ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms ease;
}

.harvestime-blog .ht-card__title a:hover,
.harvestime-blog .ht-card__title a:focus-visible {
    color: var(--ht-forest) !important;
    background-size: 100% 2px;
}

.harvestime-blog .ht-card__excerpt {
    margin: 0 0 22px !important;
    color: var(--ht-muted) !important;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.65;
}

.harvestime-blog .ht-card__foot {
    margin: auto 0 0 !important;
    padding-top: 18px;
    border-top: 1px solid var(--ht-line-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.harvestime-blog .ht-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--ht-muted);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.005em;
}

.harvestime-blog .ht-card__dot {
    width: 3px;
    height: 3px;
    flex: 0 0 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}

.harvestime-blog .ht-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ht-forest) !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.005em;
    text-decoration: none !important;
}

.harvestime-blog .ht-card__link i {
    font-size: 11px;
    line-height: 1;
    transition: transform 220ms ease;
}

.harvestime-blog .ht-card__link:hover i,
.harvestime-blog .ht-card:hover .ht-card__link i {
    transform: translateX(4px);
}

/* Lead article — first card on page one runs full width. */
@media (min-width: 900px) {
    .harvestime-blog .ht-card--lead .ht-card {
        flex-direction: row;
        align-items: stretch;
    }

    .harvestime-blog .ht-card--lead .ht-card__media {
        flex: 0 0 52%;
        max-width: 52%;
        aspect-ratio: auto;
        min-height: 340px;
    }

    .harvestime-blog .ht-card--lead .ht-card__body {
        padding: clamp(28px, 3vw, 44px) !important;
        justify-content: center;
    }

    .harvestime-blog .ht-card--lead .ht-card__title {
        font-size: clamp(24px, 2.4vw, 32px);
        margin-bottom: 14px !important;
    }

    .harvestime-blog .ht-card--lead .ht-card__excerpt {
        font-size: 16px;
        line-height: 1.7;
    }
}

/* ------------------------------------------------------------------ *
 * Closing enquiry band
 * ------------------------------------------------------------------ */
.harvestime-blog .ht-blog-cta,
.harvestime-blog .ht-article__cta {
    margin-top: 14px;
    padding: clamp(28px, 3.4vw, 44px);
    border: 1px solid var(--ht-line);
    border-radius: var(--ht-radius-lg);
    background:
        radial-gradient(circle at 96% 0%, rgba(53, 185, 121, 0.1), transparent 18rem),
        #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 26px 40px;
}

.harvestime-blog .ht-blog-cta__text,
.harvestime-blog .ht-article__cta > div:first-child {
    flex: 1 1 26rem;
    min-width: 0;
}

.harvestime-blog .ht-blog-cta__eyebrow {
    margin: 0 0 12px !important;
    color: var(--ht-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.harvestime-blog .ht-blog-cta__title {
    margin: 0 !important;
    max-width: 24ch;
    color: var(--ht-ink) !important;
    font-family: var(--font-display);
    font-size: clamp(23px, 2.4vw, 32px);
    font-weight: 700;
    letter-spacing: -0.028em;
    line-height: 1.15;
}

.harvestime-blog .ht-blog-cta__lead {
    margin: 14px 0 0 !important;
    max-width: 52ch;
    color: var(--ht-muted) !important;
    font-size: 15px;
    line-height: 1.66;
}

.harvestime-blog .ht-blog-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ------------------------------------------------------------------ *
 * Pagination
 * ------------------------------------------------------------------ */
.harvestime-blog .ht-pagination,
.harvestime-blog .navigation.pagination,
.harvestime-blog .pagination-area {
    margin: 44px 0 0 !important;
}

/* The theme's own numeric pagination (nest_numeric_posts_nav) appears once an
   archive runs past ten posts — style it to match. */
.harvestime-blog .pagination-area ul.pagination {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 8px;
}

.harvestime-blog .pagination-area ul.pagination .page-item {
    margin: 0 !important;
    border: 0 !important;
    list-style: none;
}

.harvestime-blog .pagination-area .page-link {
    min-width: 46px;
    height: 46px;
    padding: 0 12px !important;
    border: 1px solid var(--ht-line) !important;
    border-radius: var(--ht-radius-sm) !important;
    color: var(--ht-ink) !important;
    background: #fff !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.harvestime-blog .pagination-area .page-link:hover {
    border-color: var(--ht-forest) !important;
}

.harvestime-blog .pagination-area .page-item.active .page-link,
.harvestime-blog .pagination-area .page-item.active > a {
    border-color: var(--ht-forest) !important;
    color: #fff !important;
    background: var(--ht-forest) !important;
}

.harvestime-blog .pagination-area .page-link.dot {
    border-color: transparent !important;
    background: transparent !important;
    color: var(--ht-muted) !important;
}

.harvestime-blog .ht-pagination .nav-links,
.harvestime-blog .navigation.pagination .nav-links,
.harvestime-blog nav.woocommerce-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.harvestime-blog .ht-pagination .page-numbers,
.harvestime-blog .navigation.pagination .page-numbers {
    min-width: 46px;
    height: 46px;
    padding: 0 12px;
    border: 1px solid var(--ht-line);
    border-radius: var(--ht-radius-sm);
    color: var(--ht-ink) !important;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.harvestime-blog .ht-pagination .page-numbers:hover,
.harvestime-blog .navigation.pagination .page-numbers:hover {
    border-color: var(--ht-forest);
}

.harvestime-blog .ht-pagination .page-numbers.current,
.harvestime-blog .navigation.pagination .page-numbers.current {
    border-color: var(--ht-forest);
    color: #fff !important;
    background: var(--ht-forest);
}

.harvestime-blog .ht-pagination .page-numbers.dots,
.harvestime-blog .navigation.pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: var(--ht-muted) !important;
}

.harvestime-blog .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------------------------ *
 * Single article
 * ------------------------------------------------------------------ */
.harvestime-blog-single .ht-article {
    width: min(100%, 1160px);
    margin-inline: auto;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.harvestime-blog-single .ht-article__header {
    width: min(100%, 800px);
    margin: clamp(28px, 3.6vw, 52px) auto clamp(26px, 3vw, 38px);
    text-align: center;
}

.harvestime-blog-single .ht-article__header .ht-pill {
    margin-bottom: 20px;
}

.harvestime-blog-single .ht-article__title {
    margin: 0 !important;
    color: var(--ht-ink) !important;
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-wrap: balance;
}

.harvestime-blog-single .ht-article__standfirst {
    margin: 20px auto 0 !important;
    max-width: 62ch;
    color: var(--ht-muted) !important;
    font-size: clamp(16px, 1.3vw, 18.5px);
    font-weight: 400;
    line-height: 1.66;
}

.harvestime-blog-single .ht-article__meta {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--ht-muted);
    font-size: 13px;
    font-weight: 500;
}

.harvestime-blog-single .ht-article__hero {
    width: 100%;
    margin: 0 0 clamp(30px, 3.6vw, 50px) !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid var(--ht-line);
    border-radius: var(--ht-radius-lg);
    background: var(--ht-wash);
    box-shadow: var(--ht-shadow);
}

.harvestime-blog-single .ht-article__hero img {
    width: 100% !important;
    height: auto !important;
    max-height: 620px;
    border-radius: 0 !important;
    object-fit: cover;
    display: block;
}

.harvestime-blog-single .ht-article__hero figcaption {
    padding: 12px 18px;
    border-top: 1px solid var(--ht-line);
    background: #fff;
    color: var(--ht-muted);
    font-size: 12.5px;
    text-align: center;
}

/* Reading column */
.harvestime-blog-single .ht-article__body {
    width: min(100%, 760px);
    margin-inline: auto;
    color: var(--ht-body);
    font-size: 17.5px;
    line-height: 1.78;
}

.harvestime-blog-single .ht-article__body > *:first-child {
    margin-top: 0 !important;
}

.harvestime-blog-single .ht-article__body p {
    margin: 0 0 1.5em !important;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.harvestime-blog-single .ht-article__body h2,
.harvestime-blog-single .ht-article__body h3,
.harvestime-blog-single .ht-article__body h4 {
    margin: 2.1em 0 0.65em !important;
    color: var(--ht-ink) !important;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.028em;
    line-height: 1.22;
    scroll-margin-top: 110px;
}

.harvestime-blog-single .ht-article__body h2 {
    font-size: clamp(24px, 2.4vw, 31px);
}

.harvestime-blog-single .ht-article__body h3 {
    font-size: clamp(20px, 1.9vw, 24px);
}

.harvestime-blog-single .ht-article__body h4 {
    font-size: 19px;
}

.harvestime-blog-single .ht-article__body a:not(.ht-btn) {
    color: var(--ht-forest) !important;
    font-weight: 600;
    text-decoration: none;
    box-shadow: inset 0 -1px 0 0 rgba(53, 185, 121, 0.5);
    transition: box-shadow 180ms ease, color 180ms ease;
}

.harvestime-blog-single .ht-article__body a:not(.ht-btn):hover {
    box-shadow: inset 0 -2px 0 0 var(--ht-green);
}

.harvestime-blog-single .ht-article__body ul,
.harvestime-blog-single .ht-article__body ol {
    margin: 0 0 1.5em !important;
    padding-left: 1.35em !important;
}

.harvestime-blog-single .ht-article__body li {
    margin: 0 0 0.6em !important;
    padding-left: 0.3em;
    line-height: 1.72;
}

.harvestime-blog-single .ht-article__body li::marker {
    color: var(--ht-green);
    font-weight: 700;
}

.harvestime-blog-single .ht-article__body blockquote {
    margin: 2em 0 !important;
    padding: 24px 28px !important;
    border: 0 !important;
    border-left: 3px solid var(--ht-green) !important;
    border-radius: 0 var(--ht-radius-sm) var(--ht-radius-sm) 0;
    background: var(--ht-wash);
    color: var(--ht-ink);
    font-family: var(--font-display);
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.55;
}

.harvestime-blog-single .ht-article__body blockquote p:last-child {
    margin-bottom: 0 !important;
}

.harvestime-blog-single .ht-article__body img,
.harvestime-blog-single .ht-article__body figure {
    max-width: 100%;
    height: auto;
    border-radius: var(--ht-radius-sm);
}

.harvestime-blog-single .ht-article__body figure {
    margin: 2em 0 !important;
}

.harvestime-blog-single .ht-article__body figcaption {
    margin-top: 10px;
    color: var(--ht-muted);
    font-size: 13px;
    text-align: center;
}

.harvestime-blog-single .ht-article__body table {
    width: 100%;
    margin: 2em 0 !important;
    border-collapse: collapse;
    font-size: 15px;
}

.harvestime-blog-single .ht-article__body table th,
.harvestime-blog-single .ht-article__body table td {
    padding: 12px 14px;
    border: 1px solid var(--ht-line);
    text-align: left;
}

.harvestime-blog-single .ht-article__body table th {
    background: var(--ht-wash);
    color: var(--ht-ink);
    font-weight: 700;
}

/* Wide content must scroll inside itself, never the page. */
.harvestime-blog-single .ht-article__body > table,
.harvestime-blog-single .ht-article__body pre {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.harvestime-blog-single .ht-article__body iframe,
.harvestime-blog-single .ht-article__body video {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: var(--ht-radius-sm);
}

/* Tags + share */
.harvestime-blog-single .ht-article__foot {
    width: min(100%, 760px);
    margin: clamp(34px, 4vw, 52px) auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--ht-line);
}

.harvestime-blog-single .ht-article__foot .tags_content {
    margin-top: 0 !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.harvestime-blog-single .ht-article__foot .tags_content .title {
    margin-right: 6px;
    color: var(--ht-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.harvestime-blog-single .ht-article__foot .tags_content a {
    min-height: 34px;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid var(--ht-line) !important;
    border-radius: 999px !important;
    color: var(--ht-muted) !important;
    background: #fff !important;
    display: inline-flex;
    align-items: center;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-transform: none !important;
}

.harvestime-blog-single .ht-article__foot .tags_content a:hover {
    border-color: var(--ht-forest) !important;
    color: var(--ht-forest) !important;
}

.harvestime-blog-single .ht-article__foot .social-icons ul {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.harvestime-blog-single .ht-article__foot .social-icons .m_icon {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--ht-line);
    border-radius: 50%;
    color: var(--ht-forest);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.harvestime-blog-single .ht-article__foot .social-icons .m_icon:hover {
    border-color: var(--ht-forest);
    transform: translateY(-2px);
}

.harvestime-blog-single .ht-article__cta {
    width: min(100%, 900px);
    margin: clamp(38px, 4.4vw, 60px) auto 0;
}

/* Related articles */
.harvestime-blog-single .ht-related {
    margin-top: clamp(44px, 5vw, 72px);
}

.harvestime-blog-single .ht-related__title {
    margin: 0 0 24px !important;
    color: var(--ht-ink) !important;
    font-family: var(--font-display);
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    letter-spacing: -0.028em;
}

.harvestime-blog-single .ht-related__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.harvestime-blog .ht-card--compact .ht-card__body {
    padding: 20px !important;
}

.harvestime-blog .ht-card--compact .ht-card__body > .ht-pill {
    margin-bottom: 12px;
}

.harvestime-blog .ht-card--compact .ht-card__title {
    font-size: 17px;
    margin-bottom: 10px !important;
}

.harvestime-blog-single .ht-article__adjacent,
.harvestime-blog-single .ht-article__comments {
    width: min(100%, 800px);
    margin: clamp(40px, 4.6vw, 64px) auto 0;
}

.harvestime-blog-single .ht-article__comments .comments-title,
.harvestime-blog-single .ht-article__comments .comment-reply-title {
    color: var(--ht-ink) !important;
    font-family: var(--font-display);
    letter-spacing: -0.025em;
}

/* ------------------------------------------------------------------ *
 * Breakpoints
 * ------------------------------------------------------------------ */
@media (min-width: 640px) {
    .harvestime-blog-archive .row.loop-grid,
    .harvestime-blog-single .ht-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1080px) {
    .harvestime-blog-archive .row.loop-grid,
    .harvestime-blog-single .ht-related__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }
}

@media (max-width: 991px) {
    .harvestime-blog #content > .container {
        width: min(100% - 32px, 1280px) !important;
    }

    .harvestime-blog #primary.content-area {
        padding-top: 28px !important;
        padding-bottom: 68px !important;
    }

    .harvestime-blog .ht-blog-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .harvestime-blog .ht-blog-hero__cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .harvestime-blog #content > .container {
        width: min(100% - 24px, 1280px) !important;
    }

    .harvestime-blog .ht-blog-hero {
        border-radius: var(--ht-radius);
    }

    .harvestime-blog .ht-blog-hero__facts {
        gap: 12px 22px;
    }

    .harvestime-blog .ht-blog-hero__facts strong {
        font-size: 17px;
    }

    /* Chips scroll horizontally rather than wrapping into a tall block. */
    .harvestime-blog .ht-blog-filters {
        margin-inline: -12px;
        padding: 2px 12px 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .harvestime-blog .ht-blog-filters::-webkit-scrollbar {
        display: none;
    }

    .harvestime-blog .ht-chip {
        flex: 0 0 auto;
    }

    .harvestime-blog .ht-card__body {
        padding: 20px !important;
    }

    .harvestime-blog .ht-card__title {
        font-size: 18px;
    }

    .harvestime-blog .ht-card__excerpt {
        margin-bottom: 18px !important;
        font-size: 14px;
    }

    .harvestime-blog .ht-blog-cta,
    .harvestime-blog .ht-article__cta {
        border-radius: var(--ht-radius);
    }

    .harvestime-blog .ht-blog-cta__actions {
        width: 100%;
    }

    .harvestime-blog .ht-btn {
        flex: 1 1 auto;
        min-height: 48px;
    }

    .harvestime-blog-single .ht-article__body {
        font-size: 16.5px;
        line-height: 1.75;
    }

    .harvestime-blog-single .ht-article__hero {
        border-radius: var(--ht-radius);
    }

    .harvestime-blog-single .ht-article__body blockquote {
        padding: 20px 22px !important;
        font-size: 17px;
    }
}

@media (max-width: 479px) {
    .harvestime-blog .ht-card__foot {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .harvestime-blog .ht-blog-hero__facts {
        width: 100%;
        gap: 10px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .harvestime-blog *,
    .harvestime-blog *::before,
    .harvestime-blog *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
