/* blog-page-20261003-p2 — the blog list page (/blog) and the "Three things to know" section.
   Loaded only where partials/blog_page_assets.blade.php is included. Every class starts with dvb-.
   Colours: ink #0f2419, green #2e7d54 (white text on it passes AA), mint #eaf5ee, muted #5f6b65 / #6b7280. */

.dvb-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------------------------ hero */
.dvb-hero {
    padding: 40px 0 64px;
    background: linear-gradient(180deg, #e7f4ec 0%, #f3f9f5 58%, #ffffff 100%);
}
/* blog-page-20261003-p2b: breadcrumb trail at the top of the hero (Home › Blog) */
.dvb-crumbs {
    margin: 0 0 30px;
}
.dvb-crumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.4;
}
.dvb-crumbs__item {
    display: inline-flex;
    align-items: center;
    color: #5f6b65;
}
.dvb-crumbs__item a {
    color: #5f6b65;
    text-decoration: none;
    transition: color 0.15s ease;
}
.dvb-crumbs__item a:hover {
    color: #2e7d54;
}
.dvb-crumbs__item a:focus-visible {
    border-radius: 4px;
    outline: 2px solid #2e7d54;
    outline-offset: 2px;
}
.dvb-crumbs__sep {
    margin: 0 9px;
    color: #8a968f;
}
.dvb-crumbs__item--current {
    font-weight: 600;
    color: #0f2419;
}
.dvb-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    gap: 40px 64px;
    align-items: center;
}
.dvb-hero__grid--solo {
    grid-template-columns: minmax(0, 760px);
}
.dvb-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    font: 700 12px/1.3 var(--body-font);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #2e7d54;
}
.dvb-eyebrow__dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #44b677;
    box-shadow: 0 0 0 4px rgba(68, 182, 119, 0.22);
}
.dvb-hero__title {
    margin: 0 0 28px;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 76px;
    line-height: 1.03;
    letter-spacing: -0.035em;
    color: #0f2419;
}
.dvb-hero__title span {
    display: block;
    color: #2e7d54;
}
.dvb-hero__text {
    max-width: 480px;
    margin: 0 0 32px;
    font-size: 17px;
    line-height: 1.75;
    color: #5f6b65;
}
.dvb-search {
    position: relative;
    max-width: 480px;
}
.dvb-search__icon {
    position: absolute;
    top: 50%;
    left: 18px;
    display: flex;
    transform: translateY(-50%);
    color: #5f6b65;
    pointer-events: none;
}
/* custom.css sizes every .svg-icon at 1em; these icons have fixed sizes */
.dvb-search__icon svg { width: 20px; height: 20px; }
.dvb-search__input {
    width: 100%;
    height: 56px;
    padding: 0 18px 0 50px;
    border: 1px solid #d9e4dd;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 36, 25, 0.04);
    font: 400 16px/1.2 var(--body-font);
    color: #0f2419;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dvb-search__input::placeholder {
    color: #6b7280;
    opacity: 1;
}
.dvb-search__input:focus {
    border-color: #2e7d54;
    box-shadow: 0 0 0 4px rgba(46, 125, 84, 0.16);
    outline: none;
}
.dvb-search__hint {
    margin: 12px 0 0 4px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #6b7280;
}

/* ------------------------------------------------------------------ featured post */
.dvb-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 171 / 100;
    overflow: hidden;
    border-radius: 24px;
    background: #12301f;
    box-shadow: 0 34px 60px -26px rgba(15, 36, 25, 0.38), 0 14px 26px -16px rgba(15, 36, 25, 0.2);
    isolation: isolate;
}
.dvb-feature--noimg {
    background: linear-gradient(135deg, #1f5238 0%, #0f2419 100%);
}
.dvb-feature__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.dvb-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 24, 16, 0) 30%, rgba(9, 24, 16, 0.72) 62%, rgba(9, 24, 16, 0.95) 100%);
    pointer-events: none;
}
.dvb-feature__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 36, 25, 0.14);
    font: 600 12.5px/1 var(--body-font);
    color: #0f2419;
    pointer-events: none;
}
.dvb-feature__badge svg {
    flex: none;
    width: 16px;
    height: 16px;
    color: #2e7d54;
}
.dvb-feature__body {
    z-index: 1;
    padding: 26px 92px 26px 28px;
}
.dvb-feature__meta {
    margin: 0 0 10px;
    font: 700 11.5px/1.3 var(--body-font);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
}
.dvb-feature__title {
    margin: 0;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.dvb-feature__link {
    display: inline;
    color: #ffffff;
}
.dvb-feature__link:hover,
.dvb-feature__link:focus {
    color: #ffffff;
}
/* the title is the only link; its layer covers the whole card */
.dvb-feature__link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
}
.dvb-feature__link:focus-visible::after {
    outline: 3px solid #ffffff;
    outline-offset: -6px;
}
.dvb-feature__go {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #44b677;
    color: #0f2419;
    pointer-events: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.dvb-feature__go svg { width: 22px; height: 22px; }
.dvb-feature:hover .dvb-feature__go {
    transform: translateX(3px);
    background: #5fc98c;
}
.dvb-feature:hover .dvb-feature__img {
    transform: scale(1.03);
}

/* ------------------------------------------------------------------ list */
.dvb-list {
    padding: 56px 0 80px;
    scroll-margin-top: 88px;
}
.dvb-list__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 24px;
}
.dvb-list__title {
    margin: 0 0 10px;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: clamp(24px, 2.4vw, 30px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0f2419;
}
.dvb-list__sub {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.5;
    color: #5f6b65;
}
.dvb-list__count {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    white-space: nowrap;
    color: #6b7280;
}
.dvb-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 30px;
}
.dvb-pill {
    flex: none;
    height: 46px;
    padding: 0 18px;
    border: 1px solid #dde6e0;
    border-radius: 999px;
    background: #ffffff;
    font: 500 16px/1 var(--body-font);
    white-space: nowrap;
    color: #33413a;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.dvb-pill:hover {
    border-color: #0f2419;
    color: #0f2419;
}
.dvb-pill[aria-pressed="true"] {
    border-color: #0f2419;
    background: #0f2419;
    color: #ffffff;
}
.dvb-pill:focus-visible,
.dvb-more__btn:focus-visible {
    outline: 2px solid #2e7d54;
    outline-offset: 2px;
}
.dvb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.dvb-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e9e4;
    border-radius: 16px;
    background: #ffffff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.dvb-card[hidden] {
    display: none;
}
.dvb-card:hover {
    border-color: #cddbd2;
    box-shadow: 0 20px 38px -22px rgba(15, 36, 25, 0.3);
    transform: translateY(-2px);
}
.dvb-card__media {
    aspect-ratio: 83 / 50;
    overflow: hidden;
    background: #eef5f0;
}
.dvb-card__media--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eaf5ee 0%, #d6ebde 100%);
    color: #2e7d54;
}
.dvb-card__media--empty svg { width: 46px; height: 46px; opacity: 0.75; }
.dvb-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.dvb-card:hover .dvb-card__img {
    transform: scale(1.03);
}
.dvb-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 18px 20px;
}
.dvb-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 24px;
    margin: 0 0 14px;
}
.dvb-card__badge {
    padding: 7px 10px;
    border-radius: 999px;
    background: #eaf5ee;
    font: 700 10.5px/1 var(--body-font);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2e7d54;
}
.dvb-card__date {
    font-size: 12.5px;
    line-height: 1;
    white-space: nowrap;
    color: #6b7280;
}
.dvb-card__badge + .dvb-card__date {
    margin-left: auto;
}
.dvb-card__meta .desim-private-badge {
    margin-left: 0;
}
.dvb-card__title {
    margin: 0 0 10px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 18.5px;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: #0f2419;
}
.dvb-card__link {
    display: inline;
    color: inherit;
}
.dvb-card:hover .dvb-card__link,
.dvb-card__link:hover {
    color: #2e7d54;
}
/* the title is the only link; its layer covers the whole card */
.dvb-card__link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
}
.dvb-card__link:focus-visible::after {
    outline: 2px solid #2e7d54;
    outline-offset: -2px;
}
.dvb-card__text {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #5f6b65;
}
.dvb-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font: 600 13px/1 var(--body-font);
    color: #2e7d54;
}
.dvb-card__more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}
.dvb-card:hover .dvb-card__more svg {
    transform: translateX(3px);
}
.dvb-empty {
    padding: 48px 20px;
    border: 1px dashed #cfdcd4;
    border-radius: 16px;
    text-align: center;
}
.dvb-empty[hidden],
.dvb-more[hidden] {
    display: none;
}
.dvb-empty__title {
    margin: 0 0 6px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 18px;
    color: #0f2419;
}
.dvb-empty__text {
    margin: 0;
    font-size: 14.5px;
    color: #5f6b65;
}
.dvb-more {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}
.dvb-more__btn {
    height: 48px;
    padding: 0 28px;
    border: 1px solid #0f2419;
    border-radius: 999px;
    background: #ffffff;
    font: 600 15px/1 var(--body-font);
    color: #0f2419;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.dvb-more__btn:hover {
    background: #0f2419;
    color: #ffffff;
}

/* ------------------------------------------------------------------ three things to know */
.dvb-tips {
    padding: 0 16px 88px;
}
.dvb-tips__panel {
    position: relative;
    max-width: 1368px;
    margin: 0 auto;
    padding: 48px 40px 44px;
    overflow: hidden;
    border-radius: 24px;
    background: #edf6f0;
}
.dvb-tips__panel::before {
    content: "";
    position: absolute;
    top: -210px;
    right: -110px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 56%, rgba(46, 125, 84, 0.07) 56% 70%, rgba(46, 125, 84, 0) 70%);
    pointer-events: none;
}
.dvb-tips__head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 40px;
    margin-bottom: 36px;
}
.dvb-tips__eyebrow {
    margin: 0 0 14px;
    font: 700 11.5px/1.3 var(--body-font);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #2e7d54;
}
.dvb-tips__title {
    margin: 0;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0f2419;
}
.dvb-tips__note {
    max-width: 300px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #5f6b65;
}
.dvb-tips__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.dvb-tips__grid--1 { grid-template-columns: minmax(0, 1fr); }
.dvb-tips__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dvb-tips__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dvb-tips__item {
    padding: 0 32px;
    border-left: 1px solid #cde0d4;
}
.dvb-tips__grid--1 > .dvb-tips__item,
.dvb-tips__grid--2 > .dvb-tips__item:nth-child(2n + 1),
.dvb-tips__grid--3 > .dvb-tips__item:nth-child(3n + 1),
.dvb-tips__grid--4 > .dvb-tips__item:nth-child(4n + 1) {
    padding-left: 0;
    border-left: 0;
}
.dvb-tips__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 26px;
    border-radius: 10px;
    background: #d7ebde;
    font-size: 20px;
    color: #2e7d54;
}
.dvb-tips__icon svg { width: 20px; height: 20px; }
.dvb-tips__label {
    margin: 0 0 12px;
    font: 700 11.5px/1.3 var(--body-font);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2e7d54;
}
.dvb-tips__name {
    margin: 0 0 10px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 18.5px;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: #0f2419;
}
.dvb-tips__text {
    max-width: 360px;
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #5f6b65;
}

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1399px) {
    .dvb-hero__title { font-size: 62px; }
}
@media (max-width: 1199px) {
    .dvb-hero__grid { gap: 40px; }
    .dvb-hero__title { font-size: 51px; }
    .dvb-tips__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dvb-tips__grid--4 > .dvb-tips__item:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 991px) {
    .dvb-hero { padding: 30px 0 44px; }
    .dvb-crumbs { margin-bottom: 26px; }
    .dvb-hero__grid,
    .dvb-hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
    .dvb-hero__title { font-size: clamp(40px, 8.2vw, 64px); }
    .dvb-hero__text,
    .dvb-search { max-width: 560px; }
    .dvb-list { padding: 44px 0 64px; }
    .dvb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dvb-tips__panel { padding: 40px 28px 36px; }
    .dvb-tips__item { padding: 0 22px; }
}
@media (max-width: 767px) {
    .dvb-tips { padding: 0 12px 64px; }
    .dvb-tips__panel { padding: 32px 22px 30px; border-radius: 20px; }
    .dvb-tips__head { margin-bottom: 28px; }
    .dvb-tips__grid,
    .dvb-tips__grid--2,
    .dvb-tips__grid--4 { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
    .dvb-tips__grid > .dvb-tips__item {
        padding: 26px 0 0;
        margin-top: 26px;
        border-left: 0;
        border-top: 1px solid #cde0d4;
    }
    .dvb-tips__grid > .dvb-tips__item:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
    .dvb-tips__icon { margin-bottom: 18px; }
    .dvb-tips__text { max-width: none; }
}
@media (max-width: 575px) {
    .dvb-hero { padding: 22px 0 36px; }
    .dvb-crumbs { margin-bottom: 22px; }
    .dvb-hero__title { margin-bottom: 20px; }
    .dvb-hero__text { margin-bottom: 26px; font-size: 16px; }
    /* phones: the whole picture on top, the title on a dark panel under it (no cropping, nothing printed over the picture) */
    .dvb-feature { display: block; aspect-ratio: auto; border-radius: 20px; background: #0f2419; }
    .dvb-feature::after { display: none; }
    .dvb-feature__img { position: static; display: block; height: auto; aspect-ratio: 171 / 100; }
    .dvb-feature__link::after { border-radius: 20px; }
    .dvb-feature__badge { top: 14px; left: 14px; }
    .dvb-feature__body { padding: 18px 76px 20px 20px; }
    .dvb-feature--noimg .dvb-feature__body { padding-top: 64px; }
    .dvb-feature__go { right: 16px; bottom: 18px; width: 42px; height: 42px; }
    .dvb-list__head { margin-bottom: 20px; }
    .dvb-pills {
        flex-wrap: nowrap;
        margin: 0 -12px 24px;
        padding: 2px 12px 6px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .dvb-pills::-webkit-scrollbar { display: none; }
    .dvb-pill { height: 42px; padding: 0 16px; font-size: 15px; }
    .dvb-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .dvb-feature__img,
    .dvb-feature__go,
    .dvb-card,
    .dvb-card__img,
    .dvb-card__more svg { transition: none; }
    .dvb-card:hover,
    .dvb-feature:hover .dvb-feature__go,
    .dvb-feature:hover .dvb-feature__img,
    .dvb-card:hover .dvb-card__img,
    .dvb-card:hover .dvb-card__more svg { transform: none; }
}
