/* Featured article / blog card. Only used on the listing page.
   The media is deliberately NOT cropped: articles often have text and logos
   baked into the hero image. Both wide and tall originals are supported. */
.ta-root.ta-index .ta-feature-v3 {
    display: grid;
    grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr);
    align-items: stretch;
    /* Match the original contained listing width instead of stretching
       across the entire page on wide monitors. */
    box-sizing: border-box;
    width: calc(100% - 48px);
    max-width: 1100px;
    overflow: hidden;
    margin: 0 auto clamp(32px, 5vw, 70px);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 44px rgba(42, 34, 25, .075);
}

.ta-root.ta-index .ta-feature-v3__media {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    background: #f7f7f5;
}

.ta-root.ta-index .ta-feature-v3__image-link {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding: clamp(10px, 1.5vw, 18px);
    box-sizing: border-box;
    text-decoration: none;
}

.ta-root.ta-index .ta-feature-v3__image-link img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain; /* Never crop an editorial image, its text, or its logo. */
    object-position: center;
}

.ta-root.ta-index .ta-feature-v3__badge {
    position: absolute;
    z-index: 1;
    top: 19px;
    left: 19px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 38px);
    padding: 9px 13px;
    border-radius: 30px;
    background: #1f1714;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .04em;
    text-transform: uppercase;
    pointer-events: none;
}

.ta-root.ta-index .ta-feature-v3__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    gap: 0;
    padding: clamp(26px, 3.4vw, 44px);
    box-sizing: border-box;
}

.ta-root.ta-index .ta-feature-v3__eyebrow {
    display: block;
    margin-bottom: 21px;
    color: #7b4a35;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.ta-root.ta-index .ta-feature-v3__title {
    margin: 0 0 20px;
    color: #1e1714;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(30px, 3.25vw, 44px);
    font-weight: 400;
    line-height: 1.19;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
}

.ta-root.ta-index .ta-feature-v3__title a {
    color: inherit;
    text-decoration: none;
}
.ta-root.ta-index .ta-feature-v3__title a:hover,
.ta-root.ta-index .ta-feature-v3__title a:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.ta-root.ta-index .ta-feature-v3__excerpt {
    margin: 0 0 28px;
    color: #272220;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    line-height: 1.83;
    overflow-wrap: break-word;
}

.ta-root.ta-index .ta-feature-v3__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 15px 25px;
    border-radius: 999px;
    background: #d99028;
    color: #1f1714;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .045em;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .18s ease;
}
.ta-root.ta-index .ta-feature-v3__cta:hover,
.ta-root.ta-index .ta-feature-v3__cta:focus-visible {
    background: #efaa46;
}

.ta-root.ta-index .ta-feature-v3__image-link:focus-visible,
.ta-root.ta-index .ta-feature-v3__cta:focus-visible {
    outline: 3px solid #b77320;
    outline-offset: -3px;
}

.ta-root.ta-index .ta-feature-v3__media--fallback {
    background: linear-gradient(135deg, #f4f1ed 0%, #e6eee9 100%);
}
.ta-root.ta-index .ta-feature-v3__image-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    min-height: 240px;
    width: 100%;
    padding: 28px;
    box-sizing: border-box;
    color: #514b45;
    text-align: center;
}
.ta-root.ta-index .ta-feature-v3__image-placeholder span {
    font: 700 15px/1.4 'Plus Jakarta Sans', sans-serif;
    letter-spacing: .27em;
}
.ta-root.ta-index .ta-feature-v3__image-placeholder strong {
    font: 400 clamp(22px, 3vw, 42px)/1.25 'Playfair Display', Georgia, serif;
}

/* Tablet and phone: keep the complete image above the copy. */
@media (max-width: 900px) {
    .ta-root.ta-index .ta-feature-v3 {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 16px;
    }
    .ta-root.ta-index .ta-feature-v3__media {
        aspect-ratio: 3 / 2;
    }
    .ta-root.ta-index .ta-feature-v3__copy {
        padding: clamp(24px, 5vw, 42px);
    }
    .ta-root.ta-index .ta-feature-v3__title {
        font-size: clamp(28px, 5vw, 41px);
    }
}

@media (max-width: 480px) {
    /* Keep a modest 16px outer gutter on narrow phones. */
    .ta-root.ta-index .ta-feature-v3 { width: calc(100% - 32px); }
    .ta-root.ta-index .ta-feature-v3__image-link { padding: 8px; }
    .ta-root.ta-index .ta-feature-v3__badge {
        top: 12px;
        left: 12px;
        max-width: calc(100% - 24px);
        padding: 7px 10px;
        font-size: 9px;
    }
    .ta-root.ta-index .ta-feature-v3__eyebrow { margin-bottom: 12px; }
    .ta-root.ta-index .ta-feature-v3__title { margin-bottom: 14px; }
    .ta-root.ta-index .ta-feature-v3__excerpt { margin-bottom: 22px; }
}
