/* ======================================================================
   IT HOMEPAGE — hero block (ported 1:1 from the capibarabet EN hero)
   Loaded only by /it/index.html (after style.css so it can override).
   Scoped to .section_image .top_button so the mid-page payment banner
   (.paymentDetails .top_button) and the other languages are untouched.
   ====================================================================== */

.section_image .top_button {
    text-align: center;
}

/* Desktop: widen the banner block so the H1 sits beside the artwork */
@media (min-width: 768px) {
    .section_image .top_button {
        width: min(560px, 46%);
        margin-left: 60px;
    }
}

/* The frame carries the panel so the H1 itself is free to use a
   background-clip gradient fill (which would otherwise eat the panel). */
.section_image .top_button .hero_frame {
    margin: 0 0 18px;
    padding: 16px 22px;
    background: color-mix(in srgb, var(--color-dark) 55%, transparent);
    border: 2px solid color-mix(in srgb, var(--color-accent-3) 55%, transparent);
    border-radius: 6px;
}

/* Gold lettering, two-layer technique (same as the center_popup component):
   1) base element  — dark gradient + transparent stroke, painted stroke-first,
                      so the stroke expansion forms the dark edge;
   2) ::after       — repeats the text via attr(data-text) and lays the gold
                      gradient on top, with no stroke.
   The markup must therefore carry data-text with the same value. */
.section_image .top_button .hero_title {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    font: 900 clamp(20px, 3vw, 40px)/1.15 Font-Secondary, Arial, Helvetica, sans-serif;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #C23222 0%, #570100 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 3px transparent;
    paint-order: stroke fill;
    text-shadow: none;
}

.section_image .top_button .hero_title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #FEFA47 0%, #FFF83D 44.23%, #F9D821 60.58%, #FBA109 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0 transparent;
    text-shadow: none;
}

/* Bonus amount with a fading rule on each side.
   Kept as flat gold: at this size the two-layer stroke reads as a red ghost. */
.section_image .top_button .bonus_line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 0 16px;
}

.section_image .top_button .bonus_line::before,
.section_image .top_button .bonus_line::after {
    content: '';
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(to right, transparent, var(--color-accent-2));
}

.section_image .top_button .bonus_line::after {
    background: linear-gradient(to left, transparent, var(--color-accent-2));
}

.section_image .top_button .bonus_amount {
    display: block;
    padding: 8px 0;
    font: bold 20px/1.2 Font-Base, sans-serif;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color-accent-3);
    filter: drop-shadow(2px 2px 2px var(--color-dark));
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
}

.section_image .top_button .btn_2 {
    font-size: clamp(15px, 1.8vw, 22px);
    padding-top: 14px;
    padding-bottom: 14px;
}

/* Availability disclosure sits under the button, not inside it */
.section_image .top_button .cta_disclosure {
    max-width: 380px;
    margin: 12px auto 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-white);
    opacity: 0.85;
}
