/* ═══════════════════════════════════════════════════════════════════
   Edições anteriores — hero + grelha de anos
   ═══════════════════════════════════════════════════════════════════ */

/* ── Container ─────────────────────────────────────────────────────── */

.edicoes-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
    width: 100%;
}

/* ── Hero ──────────────────────────────────────────────────────────── */

.edicoes-hero {
    padding: 22px 0 30px;
    margin-top: 3px;
    position: relative;
}

.edicoes-hero:after {
    content: "";
    background: #f8ffeb;
    height: 138px;
    width: 100vw;
    position: absolute;
    top: clamp(54px, calc(22.6px + 5.235vw), 89.6px);
    left: 0;
    z-index: -1;
}

.edicoes-page-title {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 700;
    color: #000032;
    line-height: 1;
    position: absolute;
    top: clamp(28px, calc(-25.98px + 6.53vw), 47px);
}

@media (min-width: 960px) {
    .edicoes-page-title {
        margin-left: 80px !important;
    }
}

/* ── Wrap ──────────────────────────────────────────────────────────── */

.edicoes-wrap {
    padding-top: clamp(42px, calc(-45.18px + 14.529vw), 140.8px);
    padding-bottom: 96px;
}

/* ── Button override ───────────────────────────────────────────────── */

.page-template-template-edicoes .btn_block_outline .wp-block-button {
    width: 100%;
    padding-right: 50px;
}

.page-template-template-edicoes .btn_block_outline.external a:after {
    background-image: url('data:image/svg+xml;utf8,<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.22526 15L15 9L9.22526 3L7.5421 4.74881L10.4568 7.76303L2 7.76303L2 10.237L10.4568 10.237L7.5421 13.2512L9.22526 15Z" fill="%23D8FF8D"/></svg>');
}

.page-template-template-edicoes .btn_block_outline.external:hover a:after {
    background-image: url('data:image/svg+xml;utf8,<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.22526 15L15 9L9.22526 3L7.5421 4.74881L10.4568 7.76303L2 7.76303L2 10.237L10.4568 10.237L7.5421 13.2512L9.22526 15Z" fill="%23D8FF8D"/></svg>');
}

.page-template-template-edicoes .btn_block_outline.external a.wp-block-button__link.wp-element-button {
    background-color: #000032;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d7ff8a;
    font-family: "Space Grotesk";
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background .2s ease-in;
    padding: 12px 11px;
    margin-left: 0;
}

/* Esconde o h1 duplicado do conteúdo (o título vem do hero) */
.edicoes-content h1 {
    display: none;
}

@media (max-width: 480px) {
    .edicoes-wrap {
        padding-top: 36px;
        padding-bottom: 60px;
    }
}
