.page-resources-8xbet-overview {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

.page-resources-8xbet-overview__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
    box-sizing: border-box;
}

.page-resources-8xbet-overview__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-8xbet-overview__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 2;
}

.page-resources-8xbet-overview__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #FFFFFF;
}

.page-resources-8xbet-overview__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-resources-8xbet-overview__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-resources-8xbet-overview__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Section common styles */
.page-resources-8xbet-overview__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-resources-8xbet-overview__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand blue for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-8xbet-overview__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-resources-8xbet-overview__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-8xbet-overview__text-block {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333333;
}

.page-resources-8xbet-overview__text-block strong {
    color: #26A9E0;
}

/* Buttons */
.page-resources-8xbet-overview__btn-primary,
.page-resources-8xbet-overview__btn-secondary,
.page-resources-8xbet-overview__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-resources-8xbet-overview__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-resources-8xbet-overview__btn-primary:hover {
    background-color: #1a7fb3;
    border-color: #1a7fb3;
}

.page-resources-8xbet-overview__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-8xbet-overview__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a7fb3;
    border-color: #1a7fb3;
}

.page-resources-8xbet-overview__btn-tertiary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-resources-8xbet-overview__btn-tertiary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

/* Image styles - ensuring minimum size and no filters */
.page-resources-8xbet-overview img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px; /* Minimum size for content images */
    /* No filter properties allowed */
}

/* Card images must be large */
.page-resources-8xbet-overview__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency, will be object-fit: cover */
    object-fit: cover;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 15px;
    min-width: 200px; /* Ensure card images are not small */
    min-height: 200px;
}

/* Specific image for app download */
.page-resources-8xbet-overview__app-image {
    width: 100%;
    height: auto;
    max-height: 300px; /* Limit height for app image */
    object-fit: contain; /* Contain to show full app image */
}

/* Video section */
.page-resources-8xbet-overview__video-section {
    margin-top: 60px;
    text-align: center;
}

.page-resources-8xbet-overview__video-title {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 20px;
}

.page-resources-8xbet-overview__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    margin: 0 auto;
    cursor: pointer;
}

.page-resources-8xbet-overview__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10; /* Ensure link is clickable over video */
  cursor: pointer;
}