.et-home {
    --et-wine: var(--editorial-green);
    --et-wine-dark: #153b2e;
}
.et-home span[aria-hidden="true"] { font-variant-emoji: text; }
.et-home .hero-grid > * { min-width: 0; }
.et-home .hero-copy { container-type: inline-size; padding: 0; }
.et-home .hero-copy h1 { margin-bottom: 1rem; }
.et-home .hero-lead { margin-bottom: 1.25rem; }
.et-home .hero-section + .section-space { padding-top: clamp(2rem, 4vw, 3.5rem); }
.et-home .section-heading {
    border-top: 3px solid var(--editorial-green);
    padding-top: 1rem;
}

/* Cifrele catalogului urmează căutarea în ordinea de citire. */
.et-home .collection-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 1.15rem 0 0;
    padding: .85rem 0 0;
    border-top: 1px solid var(--editorial-rule);
    border-bottom: 0;
    row-gap: .65rem;
}
.et-home .collection-stats > div {
    align-items: flex-start;
    padding: 0 .65rem;
}
.et-home .collection-stats > div:first-child { padding-left: 0; }
.et-home .collection-stats > div + div { border-left: 1px solid var(--editorial-rule); }
.et-home .collection-stats strong {
    font-size: clamp(1.45rem, 2.3vw, 1.85rem);
    line-height: 1.1;
    font-variant-numeric: lining-nums tabular-nums;
}
.et-home .collection-stats span {
    margin-top: .2rem;
    color: var(--editorial-muted);
    font-size: .76rem;
    letter-spacing: normal;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
@container (max-width: 25rem) {
    .et-home .collection-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .et-home .collection-stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* Cele două elemente ocupă aceeași celulă. Legenda crește când textul se rearanjează. */
.et-home-feature {
    position: relative;
    isolation: isolate;
    display: grid;
    margin: 0;
    background: #18291f;
}
.et-home-photo,
.et-home-feature figcaption { grid-area: 1 / 1; }
.et-home-photo {
    display: block;
    width: 100%;
    align-self: start;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}
.et-home-feature figcaption {
    align-self: end;
    display: flex;
    flex-wrap: wrap;
    column-gap: .85rem;
    row-gap: .18rem;
    padding: .58rem clamp(.8rem, 2vw, 1.3rem) .72rem;
    color: #fff;
    background: linear-gradient(to bottom, rgb(9 23 17 / 20%), rgb(9 23 17 / 30%));
    text-shadow: 0 1px 2px #101a13, 0 0 2px #101a13, 0 0 4px #101a13;
    overflow-wrap: anywhere;
}
.et-home-feature .eyebrow {
    flex-basis: 100%;
    color: inherit;
    font-size: .67rem;
    line-height: 1.25;
    margin: 0;
}
.et-home-title {
    flex-basis: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .65rem;
    font: 600 clamp(1.15rem, 1.9vw, 1.65rem)/1.18 Georgia, serif;
    color: inherit;
    text-decoration: none;
}
.et-home-title > span {
    align-self: center;
    flex: 0 0 auto;
    font-size: 0;
}
.et-home-title > span::before {
    content: "→";
    display: block;
    font: 400 1.35rem/1 Arial, sans-serif;
    transform: rotate(-45deg);
}
.et-home-title::after { content: ""; position: absolute; inset: 0; }
.et-home-title:hover, .et-home-title:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .14em;
}
.et-home-title:focus-visible { outline: none; }
.et-home-title:focus-visible::after { outline: 3px solid #fff; outline-offset: -5px; box-shadow: inset 0 0 0 6px #1a3428; }
.et-home-location, .et-home-credit {
    margin: 0;
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.4;
}
.et-home-credit { font-weight: 500; }
.et-home .monument-card h3 a,
.et-home .card-museum a,
.et-home .card-section a { color: var(--editorial-green); }
.et-home .btn-primary, .et-home .btn-outline-primary { --bs-btn-focus-shadow-rgb: 32,78,62; }
.et-home [hidden] { display: none !important; }
@media (max-width: 575px) {
    .et-home .hero-archive-panel { min-height: 0; padding: 1.5rem 1rem; }
    .et-home .archive-number { font-size: 4rem; }
}
@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
    .et-home-feature figcaption { background: #14251d; text-shadow: none; }
}
@media (forced-colors: active) {
    .et-home-feature figcaption { color: CanvasText; background: Canvas; text-shadow: none; }
    .et-home-title:focus-visible::after { outline-color: Highlight; }
}
