/*
Theme Name: 8xbetcom.eu.com
Theme URI: https://8xbetcom.eu.com/
Author: WordPress User
Description: Responsive WordPress theme for 8xbetcom.eu.com with Elementor-editable content, global templates, and structured custom-field support.
Version: 1.2.4
Text Domain: xbet789
*/

/* v1.2.1: keep the Elementor-managed global header visually identical to the static site. */
.site-header > .elementor,
.site-header .elementor-section,
.site-header .elementor-section-wrap{width:100%;max-width:none}
.site-header .elementor-section.elementor-section-boxed > .elementor-container{max-width:none}
.site-header .elementor-column-gap-default > .elementor-column > .elementor-element-populated{padding:0}
.site-header .elementor-widget-html,
.site-header .elementor-widget-shortcode{width:100%}
.site-header .elementor-widget-html .elementor-widget-container,
.site-header .elementor-widget-shortcode .elementor-widget-container{width:100%}


/* v1.2.4: restore original page geometry exactly. */
.xbet-page-content {
  width: 100%;
}

/* Hero stays wide: original desktop geometry is 1140 × 392. */
.xbet-page-content .elementor-section.hero,
.xbet-page-content .elementor-section.hero > .elementor-container {
  width: 1140px !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.xbet-page-content .elementor-section.hero .elementor-column,
.xbet-page-content .elementor-section.hero .elementor-widget-wrap,
.xbet-page-content .elementor-section.hero .elementor-widget-image,
.xbet-page-content .elementor-section.hero .elementor-widget-container,
.xbet-page-content .elementor-section.hero .elementor-image {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.xbet-page-content .elementor-section.hero img {
  display: block !important;
  width: 1140px !important;
  max-width: 100% !important;
  height: 392px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 10px !important;
  margin: 0 auto !important;
}

/* Only article/content sections use the narrow reading column. */
.xbet-page-content .elementor-section:not(.hero) > .elementor-container {
  width: 820px !important;
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 1199px) {
  .xbet-page-content .elementor-section.hero,
  .xbet-page-content .elementor-section.hero > .elementor-container {
    width: calc(100% - 32px) !important;
    max-width: 1140px !important;
  }
  .xbet-page-content .elementor-section.hero img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1140 / 392;
    object-fit: cover !important;
  }
}

@media (max-width: 860px) {
  .xbet-page-content .elementor-section:not(.hero) > .elementor-container {
    width: calc(100% - 32px) !important;
    max-width: 820px !important;
  }
}
