/* TOP INSERTS — dark editorial band with curve, text left, image right */
.top-inserts {
    position: relative;
    width: 100%;
    padding: 72px 0 64px;
    background-color: #1c1c1c;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    overflow: hidden;
}

/* Thin gold rule that draws in from the left on load */
.top-inserts::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--content-accent, #be8e59) 0%, rgba(190, 142, 89, 0.08) 60%, transparent 100%);
    transform: scaleX(0);
    transform-origin: left center;
    animation: top-inserts-rule-draw 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes top-inserts-rule-draw {
    to { transform: scaleX(1); }
}

/* Subtle dot grid that fades in */
.top-inserts::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(190, 142, 89, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0;
    animation: top-inserts-dots-in 1.2s ease 0.5s forwards;
}

@keyframes top-inserts-dots-in {
    to { opacity: 1; }
}

.top-inserts__inner {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 10%));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(48px, 7vw, 96px);
}

/* ── Text column ── */
.top-inserts__text-col {
    max-width: 620px;
}

.top-inserts__eyebrow {
    display: inline-block;
    position: relative;
    color: var(--content-accent, #be8e59);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-left: 56px;
}

.top-inserts__eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 1px;
    background-color: var(--content-accent, #be8e59);
}

.top-inserts__title {
    margin: 0 0 22px;
    color: #ffffff;
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.top-inserts__desc {
    margin: 0 0 36px;
    color: #888;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 520px;
}

/* ── CTA button ── */
.top-inserts__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border: 2px solid rgba(190, 142, 89, 0.45);
    border-radius: 999px;
    color: var(--content-accent, #be8e59);
    font-family: "Montserrat", "Lato", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        transform 0.25s ease;
}

.top-inserts__cta:hover {
    background-color: var(--content-accent, #be8e59);
    border-color: var(--content-accent, #be8e59);
    color: #1c1c1c;
    transform: translateX(4px);
}

.top-inserts__cta-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.top-inserts__cta:hover .top-inserts__cta-icon {
    transform: translateX(4px);
}

/* ── Image column ── */
.top-inserts__image-col {
    width: 100%;
    min-width: 0;
}

.top-inserts__logo {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.top-inserts__logo:hover {
    transform: scale(1.03);
}

/* ── Responsive ── */
@media screen and (max-width: 1080px) {
    .top-inserts {
        padding: 64px 0 58px;
        background-size: 120% auto;
    }

    .top-inserts__inner {
        grid-template-columns: 1fr;
        align-items: center;
        gap: 44px;
        width: min(1240px, calc(100% - 80px));
    }

    .top-inserts__text-col {
        max-width: 100%;
        order: 1;
        text-align: left;
    }

    .top-inserts__image-col {
        order: 2;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .top-inserts {
        padding: 56px 0 50px;
        background-size: 160% auto;
    }

    .top-inserts__inner {
        width: calc(100% - 48px);
        gap: 38px;
    }

    .top-inserts__image-col {
        max-width: 100%;
        width: 100%;
    }

    .top-inserts__logo {
        max-height: none;
    }
}

@media screen and (max-width: 560px) {
    .top-inserts {
        padding: 48px 0 42px;
        background-size: 220% auto;
    }

    .top-inserts__inner {
        width: calc(100% - 40px);
        gap: 34px;
        text-align: center;
    }

    .top-inserts__text-col {
        text-align: center;
    }

    .top-inserts__eyebrow {
        padding-left: 0;
        padding-right: 0;
    }

    .top-inserts__eyebrow::before {
        display: none;
    }

    .top-inserts__desc {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .top-inserts__actions {
        display: flex;
        justify-content: center;
    }

    .top-inserts__cta {
        padding: 11px 22px;
        font-size: 0.72rem;
    }

    .top-inserts__image-col {
        max-width: 100%;
        width: 100%;
    }

    .top-inserts__logo {
        max-height: none;
    }
}
