.page-resources-kubet-online-payment-methods {
    color: #ffffff; /* Light text for dark body background */
    background-color: var(--dark-bg); /* Inherit from shared.css */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-resources-kubet-online-payment-methods__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
    background-color: #017439; /* Brand primary color for hero */
    color: #ffffff;
    overflow: hidden;
}

.page-resources-kubet-online-payment-methods__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
    z-index: 1;
}

.page-resources-kubet-online-payment-methods__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFF00; /* Highlight title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-kubet-online-payment-methods__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-kubet-online-payment-methods__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-kubet-online-payment-methods__btn-primary,
.page-resources-kubet-online-payment-methods__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-resources-kubet-online-payment-methods__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-resources-kubet-online-payment-methods__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-3px);
}

.page-resources-kubet-online-payment-methods__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-resources-kubet-online-payment-methods__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.page-resources-kubet-online-payment-methods__hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.3; /* Subtle background image */
    z-index: 0;
}

.page-resources-kubet-online-payment-methods__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter: brightness(0.6); Removed as per instructions */
}

.page-resources-kubet-online-payment-methods__section {
    padding: 60px 20px;
    background-color: var(--dark-bg); /* Inherit body background */
    color: #ffffff; /* Light text for dark background */
}

.page-resources-kubet-online-payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-resources-kubet-online-payment-methods__section-title {
    font-size: 2.5em;
    color: #FFFF00;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-kubet-online-payment-methods__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

.page-resources-kubet-online-payment-methods__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources-kubet-online-payment-methods__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff; /* Light text for card background */
}

.page-resources-kubet-online-payment-methods__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-kubet-online-payment-methods__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-resources-kubet-online-payment-methods__card-title {
    font-size: 1.5em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-resources-kubet-online-payment-methods__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-resources-kubet-online-payment-methods__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-resources-kubet-online-payment-methods__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-resources-kubet-online-payment-methods__text-content {
    flex: 1;
}

.page-resources-kubet-online-payment-methods__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-resources-kubet-online-payment-methods__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-resources-kubet-online-payment-methods__ordered-list,
.page-resources-kubet-online-payment-methods__unordered-list {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-resources-kubet-online-payment-methods__unordered-list {
    list-style-type: disc;
}

.page-resources-kubet-online-payment-methods__ordered-list li,
.page-resources-kubet-online-payment-methods__unordered-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-resources-kubet-online-payment-methods__ordered-list strong {
    color: #FFFF00;
}

.page-resources-kubet-online-payment-methods__contact-support a {
    color: #FFFF00;
    text-decoration: underline;
}

.page-resources-kubet-online-payment-methods__faq-section {
    background-color: #017439; /* Brand primary color for FAQ section */
    color: #ffffff;
}

.page-resources-kubet-online-payment-methods__faq-list {
    margin-top: 40px;
}

.page-resources-kubet-online-payment-methods__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-kubet-online-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFF00;
    transition: background-color 0.3s ease;
}

.page-resources-kubet-online-payment-methods__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-kubet-online-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-kubet-online-payment-methods__faq-item.active .page-resources-kubet-online-payment-methods__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-kubet-online-payment-methods__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-resources-kubet-online-payment-methods__faq-item.active .page-resources-kubet-online-payment-methods__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 30px;
}

.page-resources-kubet-online-payment-methods__faq-answer p {
    margin-bottom: 0;
    padding-bottom: 15px;
}

.page-resources-kubet-online-payment-methods__conclusion {
    text-align: center;
    background-color: var(--dark-bg);
    color: #ffffff;
}

.page-resources-kubet-online-payment-methods__conclusion .page-resources-kubet-online-payment-methods__section-title {
    color: #FFFF00;
}

.page-resources-kubet-online-payment-methods__conclusion .page-resources-kubet-online-payment-methods__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-kubet-online-payment-methods__hero-title {
        font-size: 2.5em;
    }
    .page-resources-kubet-online-payment-methods__section-title {
        font-size: 2em;
    }
    .page-resources-kubet-online-payment-methods__content-wrapper {
        flex-direction: column;
    }
    .page-resources-kubet-online-payment-methods__content-wrapper--reverse {
        flex-direction: column-reverse;
    }
    .page-resources-kubet-online-payment-methods__image-wrapper {
        order: -1; /* For reverse layout, image goes first on mobile */
    }
}

@media (max-width: 768px) {
    .page-resources-kubet-online-payment-methods {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-kubet-online-payment-methods__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-resources-kubet-online-payment-methods__hero-title {
        font-size: 2em;
    }
    .page-resources-kubet-online-payment-methods__hero-description {
        font-size: 1em;
    }
    .page-resources-kubet-online-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-kubet-online-payment-methods__btn-primary,
    .page-resources-kubet-online-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-kubet-online-payment-methods__section {
        padding: 40px 15px;
    }
    .page-resources-kubet-online-payment-methods__section-title {
        font-size: 1.8em;
    }
    .page-resources-kubet-online-payment-methods__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-kubet-online-payment-methods__card {
        padding: 20px;
    }
    .page-resources-kubet-online-payment-methods__content-wrapper {
        gap: 20px;
    }
    .page-resources-kubet-online-payment-methods__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-resources-kubet-online-payment-methods__faq-answer {
        padding: 0 20px;
    }
    .page-resources-kubet-online-payment-methods__faq-item.active .page-resources-kubet-online-payment-methods__faq-answer {
        padding: 10px 20px;
    }

    /* Mobile image/video responsiveness */
    .page-resources-kubet-online-payment-methods img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
      min-width: unset !important; /* Override min-width for mobile */
      min-height: unset !important; /* Override min-height for mobile */
    }

    .page-resources-kubet-online-payment-methods video,
    .page-resources-kubet-online-payment-methods__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-resources-kubet-online-payment-methods__section,
    .page-resources-kubet-online-payment-methods__card,
    .page-resources-kubet-online-payment-methods__container,
    .page-resources-kubet-online-payment-methods__video-section,
    .page-resources-kubet-online-payment-methods__video-container,
    .page-resources-kubet-online-payment-methods__video-wrapper,
    .page-resources-kubet-online-payment-methods__cta-buttons,
    .page-resources-kubet-online-payment-methods__button-group,
    .page-resources-kubet-online-payment-methods__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent overflow */
    }
    .page-resources-kubet-online-payment-methods__cta-buttons {
      flex-wrap: wrap !important;
      gap: 10px;
      flex-direction: column; /* For vertical stacking of buttons */
    }
}

/* Ensure link colors are visible */
.page-resources-kubet-online-payment-methods a {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: none;
}
.page-resources-kubet-online-payment-methods a:hover {
    text-decoration: underline;
}

/* Contrast fix for elements that might have issues */
.page-resources-kubet-online-payment-methods__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-resources-kubet-online-payment-methods__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

/* No CSS filters for images */
.page-resources-kubet-online-payment-methods img {
    filter: none; /* Ensure no filters are applied */
}