/* ══════════════════════════════════════════════════════
   Event Promotion Banner
   Responsive height via min-height + padding
   Left column: image ~34%, Right column: content ~66%
   ══════════════════════════════════════════════════════ */

.guild-event-banner {
    display: flex;
    flex-direction: row-reverse; /* RTL: content first in DOM, image second → image on left visually */
    width: 100%;
    max-width: 1200px;
    min-height: 360px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* ── Left column: image (~34%) ── */
.guild-event-banner__image {
    flex: 0 0 34%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* ── Right column: content (~66%) ── */
.guild-event-banner__content {
    flex: 0 0 66%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
}

/* ── Icon: top-right absolute (physical top-left in RTL) ── */
.guild-event-banner__icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 87px;
    height: 87px;
    background: #4B2D45;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guild-event-banner__icon svg {
    width: 51px;
    height: 54px;
}

/* ── Centered text block ── */
.guild-event-banner__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Details line — Elementor medium title size, #2E404A */
.guild-event-banner__details {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: var(--e-global-typography-secondary-font-size, 2rem);
    line-height: 1.3;
    color: #2E404A;
    margin: 0 0 40px 0;
}

/* h2 title — large */
.guild-event-banner__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.2;
    color: #4B2D45;
    margin: 0 0 10px 0;
}

/* h3 subtitle — medium, #4B2D45 */
.guild-event-banner__subtitle {
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: var(--e-global-typography-secondary-font-size, 2rem);
    line-height: 1.3;
    color: #4B2D45;
    margin: 0 0 50px 0;
}

/* CTA button — pill, teal */
.guild-event-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background: #225D73;
    color: #ffffff;
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.3;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s;
}

.guild-event-banner__cta:hover {
    background: #1a4d60;
    color: #ffffff;
}

/* ── Mobile: text on top, image below (180px) ── */
@media (max-width: 767px) {
    .guild-event-banner {
        flex-direction: column; /* text column first (appears on top), image second (below) */
        height: auto;
    }

    .guild-event-banner__content {
        flex: none;
        padding: 90px 24px 30px;
        order: -1; /* ensure content is on top */
    }

    .guild-event-banner__image {
        flex: none;
        height: 180px;
    }

    .guild-event-banner__details {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .guild-event-banner__title {
        font-size: 1.75rem;
        margin-bottom: 6px;
    }

    .guild-event-banner__subtitle {
        font-size: 1.125rem;
        margin-bottom: 24px;
    }

    .guild-event-banner__cta {
        font-size: 1.125rem;
        padding: 10px 24px;
    }

    .guild-event-banner__icon {
        width: 55px;
        height: 55px;
    }

    .guild-event-banner__icon svg {
        width: 30px;
        height: 32px;
    }
}
