.es-tapas {
    --es-tapas-ink: #263d3a;
    --es-tapas-red: #9d3828;
    --es-tapas-line: #dfd2ba;
    --es-tapas-paper: #fff9ee;
    color: var(--es-tapas-ink);
}

.es-tapas [hidden] {
    display: none !important;
}

.es-tapas .es-tapas__eyebrow {
    margin-bottom: 0.5rem;
    color: var(--es-tapas-red);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.es-tapas .es-tapas__figure {
    margin: 1.5rem 0 2rem;
}

.es-tapas__figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.25rem;
}

.es-tapas__figure figcaption {
    padding: 0.7rem 0.2rem;
    color: #625746;
    font-size: 0.88rem;
}

.es-tapas__portions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.es-tapas__portions > div {
    padding: 1rem;
    background: var(--es-tapas-paper);
    border: 1px solid var(--es-tapas-line);
    border-top: 4px solid #bb773c;
    border-radius: 0.75rem;
}

.es-tapas__portions dt {
    margin-bottom: 0.5rem;
    color: var(--es-tapas-red);
    font-size: 1.1rem;
    font-weight: 700;
}

.es-tapas__portions dd {
    margin: 0;
}

.es-tapas .es-tapas__explorer {
    margin: 2.5rem 0;
    padding: clamp(1rem, 4vw, 2rem);
    background: var(--es-tapas-paper);
    border: 1px solid var(--es-tapas-line);
    border-radius: 1.25rem;
    box-shadow: 0 8px 24px #48351c0a;
}

.es-tapas__explorer h2,
.es-tapas__next h2 {
    margin-top: 0;
}

.es-tapas__choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 1.5rem 0;
}

.es-tapas__choices button {
    min-height: 5rem;
    padding: 0.8rem;
    color: var(--es-tapas-ink);
    background: #fff;
    border: 1px solid var(--es-tapas-line);
    border-radius: 0.7rem;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.es-tapas__choices button span {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.82rem;
    font-weight: 400;
}

.es-tapas__choices button:hover,
.es-tapas__choices button[aria-pressed="true"] {
    background: #f4e6d6;
    border-color: var(--es-tapas-red);
    box-shadow: inset 0 0 0 1px var(--es-tapas-red);
}

.es-tapas .es-tapas__order {
    margin-top: 1.25rem;
    padding: 1.2rem;
    background: #fff;
    border: 1px solid var(--es-tapas-line);
    border-radius: 0.85rem;
}

.es-tapas__order h3 {
    margin-top: 0;
    color: var(--es-tapas-red);
}

.es-tapas__dialogue {
    padding-left: 1rem;
    border-left: 3px solid #829a77;
}

.es-tapas__dialogue p {
    margin: 1rem 0;
}

.es-tapas__dialogue small {
    display: block;
    margin-top: 0.2rem;
    color: #5b635c;
    font-size: 0.88rem;
}

.es-tapas .es-tapas__audio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    min-height: 2.75rem;
    margin-left: 0.2rem;
    padding: 0.6rem;
    color: #fff;
    background: #305d55;
    border: 0;
    border-radius: 50%;
    vertical-align: middle;
    cursor: pointer;
}

.es-tapas .es-tapas__audio svg {
    width: 1.3rem;
    height: 1.3rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.es-tapas__audio:hover {
    background: #1e423c;
}

.es-tapas button:focus-visible,
.es-tapas a:focus-visible {
    outline: 3px solid #226a91;
    outline-offset: 4px;
}

.es-tapas .es-tapas__status,
.es-tapas .es-tapas__sources {
    color: #625746;
    font-size: 0.85rem;
}

.es-tapas .es-tapas__next {
    margin: 2rem 0 1.5rem;
    padding: 1.5rem;
    background: #edf2e8;
    border: 1px solid #c9d4be;
    border-radius: 1rem;
}

@media (max-width: 620px) {
    .es-tapas__portions,
    .es-tapas__choices {
        grid-template-columns: 1fr;
    }

    .es-tapas__choices button {
        min-height: 3rem;
    }

    .es-tapas .es-tapas__order {
        padding: 0.85rem;
    }
}
