/* ================================================================
   EMPEROR GAMES — Frontend v6.0
   Design system extracted directly from emperormarkus.com Elementor Post CSS
   Fonts : 'Chakra Petch' (Headings, Buttons, Tabs, Badges)
           'Poppins' (Body text, descriptions, filter inputs)
   Colors: #121512 bg-page · #AFFE04 accent · #1c201c card bg
   Style : 6px side border buttons, uppercase Chakra Petch tabs & CTAs
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;600;700;800&family=Poppins:wght@300;400;500;600&display=swap');

/* ── Custom properties ── */
div.emperor-games-wrapper {
    /* Colours */
    --eg-accent:        #AFFE04;
    --eg-accent-dim:    rgba(175,254,4,0.12);
    --eg-accent-border: rgba(175,254,4,0.35);
    --eg-accent-hover:  #c8ff1a;

    --eg-card-bg:       #1c201c;
    --eg-card-border:   rgba(255,255,255,0.07);
    --eg-card-border-h: rgba(175,254,4,0.35);

    --eg-text-hi:       #ffffff;  /* high-emphasis text */
    --eg-text-mid:      #94a3b8;  /* medium — labels */
    --eg-text-lo:       #cbd5e1;  /* low — desc (Poppins) */

    /* Typography — exact from Elementor site CSS */
    --eg-font-head:     'Chakra Petch', sans-serif;
    --eg-font-body:     'Poppins', sans-serif;

    /* Spacing */
    --eg-gap:           20px;
    --eg-card-pad:      16px 18px 18px;
    --eg-radius-card:   10px;
    --eg-radius-btn:    10px;
    --eg-radius-pill:   20px;

    /* ── Reset ── */
    font-family: var(--eg-font-body) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: var(--eg-text-hi) !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

div.emperor-games-wrapper *,
div.emperor-games-wrapper *::before,
div.emperor-games-wrapper *::after {
    box-sizing: border-box !important;
}

div.emperor-games-wrapper .emperor-card-item.is-hidden {
    display: none !important;
}

/* ================================================================
   CONTROL BAR
   ================================================================ */

div.emperor-games-wrapper .emperor-control-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
    padding: 12px 16px !important;
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid var(--eg-card-border) !important;
    border-radius: var(--eg-radius-card) !important;
}

/* Category Filter Pills — Styled with Chakra Petch Uppercase */
div.emperor-games-wrapper .emperor-category-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    border: 0 !important;
    background: 0 !important;
}

div.emperor-games-wrapper button.emperor-tab-btn {
    all: unset !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    padding: 0 16px !important;
    font-family: var(--eg-font-head) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    border-radius: var(--eg-radius-pill) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: rgba(255,255,255,0.05) !important;
    color: var(--eg-text-mid) !important;
    cursor: pointer !important;
    transition: all 0.16s ease !important;
    white-space: nowrap !important;
}

div.emperor-games-wrapper button.emperor-tab-btn:hover {
    background: var(--eg-accent-dim) !important;
    color: var(--eg-accent) !important;
    border-color: var(--eg-accent-border) !important;
}

div.emperor-games-wrapper button.emperor-tab-btn.active {
    background: var(--eg-accent-dim) !important;
    color: var(--eg-accent) !important;
    border-color: var(--eg-accent) !important;
}

/* Right-side controls */
div.emperor-games-wrapper .emperor-right-controls {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
}

/* Sort Select — Styled with Poppins */
div.emperor-games-wrapper select.emperor-sort-select {
    all: unset !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 36px !important;
    padding: 0 32px 0 14px !important;
    font-family: var(--eg-font-body) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 34px !important;
    color: var(--eg-text-mid) !important;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
        no-repeat right 12px center,
        rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: var(--eg-radius-pill) !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

div.emperor-games-wrapper select.emperor-sort-select:focus {
    outline: none !important;
    border-color: var(--eg-accent-border) !important;
    color: var(--eg-text-hi) !important;
}

/* View Switcher */
div.emperor-games-wrapper .emperor-view-switcher {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    height: 36px !important;
    gap: 2px !important;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: var(--eg-radius-pill) !important;
    padding: 3px !important;
}

div.emperor-games-wrapper button.emperor-view-btn {
    all: unset !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 28px !important;
    border-radius: 16px !important;
    color: var(--eg-text-mid) !important;
    cursor: pointer !important;
    transition: background 0.16s ease, color 0.16s ease !important;
}

div.emperor-games-wrapper button.emperor-view-btn:hover,
div.emperor-games-wrapper button.emperor-view-btn.active {
    background: var(--eg-accent-dim) !important;
    color: var(--eg-accent) !important;
}

/* ================================================================
   GRID LAYOUTS
   ================================================================ */

div.emperor-games-wrapper .emperor-games-grid {
    display: grid !important;
    gap: var(--eg-gap) !important;
    align-items: start !important;
}

div.emperor-games-wrapper .emperor-columns-2 { grid-template-columns: repeat(2, 1fr) !important; }
div.emperor-games-wrapper .emperor-columns-3 { grid-template-columns: repeat(3, 1fr) !important; }
div.emperor-games-wrapper .emperor-columns-4 { grid-template-columns: repeat(4, 1fr) !important; }

/* LIST layout */
div.emperor-games-wrapper .emperor-layout-list {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
}

div.emperor-games-wrapper .emperor-layout-list .emperor-card-item {
    display: grid !important;
    grid-template-columns: 220px 1fr !important;
    align-items: stretch !important;
    height: auto !important;
}

div.emperor-games-wrapper .emperor-layout-list .emperor-card-thumb {
    padding-top: 0 !important;
    height: 100% !important;
    min-height: 140px !important;
}

/* ================================================================
   CARD — clean dark, no scale, no overlay text
   ================================================================ */

div.emperor-games-wrapper .emperor-card-item {
    background: #1c201c !important;
    background-color: #1c201c !important;
    border: 1px solid var(--eg-card-border) !important;
    border-radius: var(--eg-radius-card) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    transform: none !important;
    color: #ffffff !important;
}

div.emperor-games-wrapper .emperor-card-item:hover {
    border-color: var(--eg-card-border-h) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 0 1px rgba(175,254,4,0.15) !important;
    transform: none !important;
}

/* Thumbnail — 16:9 game banner ratio, edge-to-edge fill anchored at top */
div.emperor-games-wrapper .emperor-card-thumb {
    position: relative !important;
    width: 100% !important;
    padding-top: 56.25% !important;     /* 16:9 standard game banner ratio */
    overflow: hidden !important;
    background: #141714 !important;
    border-bottom: 1px solid var(--eg-card-border) !important;
    flex-shrink: 0 !important;
    height: 0 !important;
}

div.emperor-games-wrapper .emperor-card-thumb img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;        /* Edge-to-edge fill — zero empty side bars */
    object-position: center top !important; /* Anchored top-center: logo & main title never cut off */
    display: block !important;
    transform: none !important;
    transition: none !important;
}

/* Content area — Enforce dark background */
div.emperor-games-wrapper .emperor-card-content {
    padding: var(--eg-card-pad) !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    gap: 0 !important;
    background: #1c201c !important;
    background-color: #1c201c !important;
    color: #ffffff !important;
}

div.emperor-games-wrapper .emperor-card-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
}

div.emperor-games-wrapper .emperor-card-cat {
    font-family: var(--eg-font-head) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--eg-accent) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    line-height: 1 !important;
}

div.emperor-games-wrapper .emperor-card-badge {
    font-family: var(--eg-font-body) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: var(--eg-text-mid) !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

div.emperor-games-wrapper h3.emperor-card-title {
    font-family: var(--eg-font-head) !important;
    font-size: 1.15rem !important;        /* ~18-20px Chakra Petch */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: var(--eg-text-hi) !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

div.emperor-games-wrapper p.emperor-card-desc {
    font-family: var(--eg-font-body) !important;  /* Poppins */
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: var(--eg-text-lo) !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    flex: 1 !important;
}

/* CTA Action Container — Supports 1 or 2 Buttons */
div.emperor-games-wrapper .emperor-card-action {
    margin-top: auto !important;
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

/* Primary Internal Showcase Button (#AFFE04 Accent) */
div.emperor-games-wrapper a.emperor-btn-internal,
div.emperor-games-wrapper a.emperor-btn-internal:link,
div.emperor-games-wrapper a.emperor-btn-internal:visited {
    all: unset !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 1 1 120px !important;
    padding: 10px 14px !important;
    font-family: var(--eg-font-head) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    border-radius: var(--eg-radius-btn) !important;
    border-style: solid !important;
    border-width: 1px 4px 1px 4px !important;
    border-color: var(--eg-accent) !important;
    background: var(--eg-accent) !important;
    color: #121512 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
}

div.emperor-games-wrapper a.emperor-btn-internal:hover,
div.emperor-games-wrapper a.emperor-btn-internal:focus,
div.emperor-games-wrapper a.emperor-btn-internal:active {
    background: var(--eg-accent-hover, #c8ff1a) !important;
    border-color: var(--eg-accent-hover, #c8ff1a) !important;
    color: #121512 !important;
    box-shadow: none !important;
}

/* Secondary External Link Button (Dark Outlined / Glass Style) */
div.emperor-games-wrapper a.emperor-btn-play,
div.emperor-games-wrapper a.emperor-btn-play:link,
div.emperor-games-wrapper a.emperor-btn-play:visited {
    all: unset !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 1 1 120px !important;
    padding: 10px 14px !important;
    font-family: var(--eg-font-head) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    border-radius: var(--eg-radius-btn) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
}

div.emperor-games-wrapper a.emperor-btn-play:hover,
div.emperor-games-wrapper a.emperor-btn-play:focus,
div.emperor-games-wrapper a.emperor-btn-play:active {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* ================================================================
   CAROUSEL — Swiper
   ================================================================ */

div.emperor-games-wrapper .emperor-swiper-container {
    position: relative !important;
    padding-bottom: 30px !important;
    --swiper-pagination-color: var(--eg-accent, #AFFE04);
    --swiper-pagination-bullet-inactive-color: #ffffff;
    --swiper-pagination-bullet-inactive-opacity: 0.35;
    --swiper-pagination-bullet-size: 8px;
    --swiper-pagination-bullet-horizontal-gap: 5px;
}

div.emperor-games-wrapper .emperor-swiper-container .swiper-slide {
    height: auto !important;
    padding: 0 !important;
}

div.emperor-games-wrapper .emperor-swiper-container .swiper-slide .emperor-card-item {
    height: 100% !important;
}

/* ================================================================
   100% FLEX-CENTERED ROUND DOTS (NO TOP CLIPPING / UNLIMITED HEADROOM) (v25.0.0)
   ================================================================ */

div.emperor-games-wrapper .emperor-pagination-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 40px !important;
    margin: 20px auto 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    z-index: 10 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}

/* Inner Sliding Track — Flex Centered Horizontally & Vertically */
div.emperor-games-wrapper .emperor-swiper-pagination,
div.emperor-games-wrapper .swiper-pagination,
div.emperor-games-wrapper .emperor-swiper-dots {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 40px !important;
    gap: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    white-space: nowrap !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
}

/* Inactive Bullets — Small 6px x 6px Circular Beads (margin: auto Y-centering) */
div.emperor-games-wrapper .emperor-nav-pill,
div.emperor-games-wrapper .swiper-pagination-bullet {
    all: unset !important;
    box-sizing: border-box !important;
    display: block !important;
    flex-shrink: 0 !important;
    width: 6px !important;
    height: 6px !important;
    margin: auto 4px !important;          /* margin: auto top/bottom centers 6px dot in 24px container */
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.35) !important;
    opacity: 0.45 !important;
    box-shadow: none !important;
    filter: none !important;
    -webkit-backdrop-filter: none !important;
    outline: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

div.emperor-games-wrapper .emperor-nav-pill:hover,
div.emperor-games-wrapper .swiper-pagination-bullet:hover {
    opacity: 0.85 !important;
    background: rgba(255, 255, 255, 0.75) !important;
    transform: scale(1.2) !important;
}

/* Active Bullet — Flat Solid #AFFE04 (10px x 10px) — ABSOLUTELY ZERO SHADOW / ZERO BLUR */
div.emperor-games-wrapper .emperor-nav-pill.swiper-pagination-bullet-active,
div.emperor-games-wrapper .swiper-pagination-bullet-active {
    display: block !important;
    flex-shrink: 0 !important;
    width: 10px !important;
    height: 10px !important;
    margin: auto 2px !important;          /* margin: auto top/bottom centers 10px dot in 24px container */
    border-radius: 50% !important;
    background: var(--eg-accent, #AFFE04) !important;
    opacity: 1 !important;
    box-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    transform: scale(1) !important;
}

/* Nav arrows — Positioned over image thumbnail area so they never obscure card titles! */
div.emperor-games-wrapper .emperor-swiper-container .swiper-button-prev,
div.emperor-games-wrapper .emperor-swiper-container .swiper-button-next {
    color: var(--eg-accent) !important;
    background: rgba(28,32,28,0.92) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    top: 28% !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    transition: border-color 0.16s ease !important;
}

div.emperor-games-wrapper .emperor-swiper-container .swiper-button-prev:hover,
div.emperor-games-wrapper .emperor-swiper-container .swiper-button-next:hover {
    border-color: var(--eg-accent) !important;
}

div.emperor-games-wrapper .emperor-swiper-container .swiper-button-prev::after,
div.emperor-games-wrapper .emperor-swiper-container .swiper-button-next::after {
    font-size: 13px !important;
    font-weight: 900 !important;
}

/* ================================================================
   EMPTY STATE
   ================================================================ */

div.emperor-games-wrapper .emperor-no-games {
    background: rgba(255,255,255,0.02) !important;
    border: 2px dashed rgba(255,255,255,0.1) !important;
    border-radius: var(--eg-radius-card) !important;
    padding: 48px !important;
    text-align: center !important;
    color: var(--eg-text-mid) !important;
    font-family: var(--eg-font-body) !important;
}

/* ================================================================
   RESPONSIVE — matches Astra & Elementor breakpoints
   ================================================================ */

@media (max-width: 1200px) {
    div.emperor-games-wrapper .emperor-columns-4 { grid-template-columns: repeat(2,1fr) !important; }
    div.emperor-games-wrapper .emperor-columns-3 { grid-template-columns: repeat(2,1fr) !important; }
    div.emperor-games-wrapper .emperor-columns-2 { grid-template-columns: repeat(2,1fr) !important; }
}

div.emperor-games-wrapper .emperor-play-card .emperor-play-action {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}

div.emperor-games-wrapper .emperor-play-card .emperor-play-action a.emperor-btn-play {
    width: 100% !important;
}

div.emperor-games-wrapper .emperor-play-card p.emperor-card-alt {
    font-family: var(--eg-font-body) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    color: var(--eg-text-lo) !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    text-align: left !important;
    flex: 1 !important;
}

div.emperor-games-wrapper.emperor-play-wrapper .emperor-card-desc {
    display: none !important;
}

@media (max-width: 600px) {
    div.emperor-games-wrapper .emperor-control-bar {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    div.emperor-games-wrapper .emperor-right-controls {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }
    div.emperor-games-wrapper .emperor-columns-4,
    div.emperor-games-wrapper .emperor-columns-3,
    div.emperor-games-wrapper .emperor-columns-2 {
        grid-template-columns: 1fr !important;
    }
    div.emperor-games-wrapper .emperor-layout-list .emperor-card-item {
        grid-template-columns: 1fr !important;
    }
    div.emperor-games-wrapper .emperor-layout-list .emperor-card-thumb {
        padding-top: 56.25% !important;   /* 16:9 on mobile list */
        height: 0 !important;
        min-height: auto !important;
    }
}

/* Second card button sits on its own row so a long label stays one line. */
div.emperor-games-wrapper .emperor-card-action a.emperor-btn-extra {
	flex: 1 1 100% !important;
	flex-basis: 100% !important;
	width: 100% !important;
}

/* From 601px to 1200px, four-up cards are too narrow for a long button label. */
@media (max-width: 1200px) {
    div.emperor-games-wrapper .emperor-columns-4 { grid-template-columns: repeat(2, 1fr) !important; }
    div.emperor-games-wrapper .emperor-columns-3 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* A long second label stays one line. */
div.emperor-games-wrapper .emperor-card-action {
    container-type: inline-size;
}
div.emperor-games-wrapper .emperor-card-action a.emperor-btn-extra {
    white-space: nowrap !important;
}
@container (max-width: 240px) {
    div.emperor-games-wrapper .emperor-card-action a.emperor-btn-extra {
        font-size: 11px !important;
        letter-spacing: 0.2px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* Short labels stay on one line. A sentence button wraps inside its card. */
.elementor-widget-wcf--button {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
}
.elementor-widget-wcf--button > .elementor-widget-container,
.elementor-widget-wcf--button .wcf__btn,
.elementor-widget-wcf--button a.wcf-btn-default {
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
}
.elementor-element-af74a89,
.elementor-element-af74a89 .wcf__btn,
.elementor-element-af74a89 a.wcf-btn-default {
    white-space: normal !important;
    max-width: 100% !important;
}
@media (max-width: 1200px) {
    .e-con-inner:has(> .elementor-widget-wcf--button) {
        flex-wrap: wrap !important;
    }
}

/* Falklands Hub cards are too narrow for a title, a paragraph and a button in one row. Stack them. */
.elementor-element-b7091ec .e-con:has(> .elementor-widget-text-editor):has(> .elementor-widget-wcf--button),
.elementor-element-b7091ec .e-con:has(> .elementor-widget-heading):has(> .elementor-widget-wcf--button) {
    flex-direction: column !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
}
.elementor-element-b7091ec .e-con:has(> .elementor-widget-wcf--button) > .elementor-element {
    width: auto !important;
    max-width: 100% !important;
    flex: 0 1 auto !important;
}
.elementor-element-b7091ec .e-con:has(> .elementor-widget-wcf--button) > .elementor-widget-text-editor,
.elementor-element-b7091ec .e-con:has(> .elementor-widget-wcf--button) > .elementor-widget-heading,
.elementor-element-b7091ec .elementor-widget-text-editor .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
}

/* WordPress galleries use a negative right margin that sticks a few pixels past the screen. */
.gallery {
    max-width: 100% !important;
    margin-right: 0 !important;
}
.gallery-item {
    box-sizing: border-box !important;
}
.gallery-icon img {
    max-width: 100% !important;
    height: auto !important;
}
