/* style/resources-online-betting-guide.css */

/* General Page Styles */
.page-resources-online-betting-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #f8f8f8; /* Light background for content sections */
}

/* Header offset to prevent content from being hidden by fixed header */
.page-resources-online-betting-guide__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content starts below the fixed header */
}

.page-resources-online-betting-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-online-betting-guide__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-resources-online-betting-guide__section--why-tt88 {
    background-color: #ffffff;
}

.page-resources-online-betting-guide__section--registration {
    background-color: #f0f0f0;
}

.page-resources-online-betting-guide__section--deposit-withdraw {
    background-color: #ffffff;
}

.page-resources-online-betting-guide__section--games {
    background-color: #f0f0f0;
}

.page-resources-online-betting-guide__section--promotions {
    background-color: #ffffff;
}

.page-resources-online-betting-guide__section--safety {
    background-color: #f0f0f0;
}

.page-resources-online-betting-guide__section--faq {
    background-color: #ffffff;
}

.page-resources-online-betting-guide__section--contact {
    background-color: #f0f0f0;
}

.page-resources-online-betting-guide__heading {
    text-align: center;
    color: #0A192F;
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-online-betting-guide__heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-resources-online-betting-guide__text-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 17px;
    color: #555555;
}

/* Hero Section */
.page-resources-online-betting-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px; /* Adjusted padding-bottom, padding-top handled by var(--header-offset) */
    background-color: #0A192F; /* Dark background for hero */
    color: #ffffff; /* Light text for dark background */
}

.page-resources-online-betting-guide__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.page-resources-online-betting-guide__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-online-betting-guide__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-online-betting-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources-online-betting-guide__hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color for emphasis */
    line-height: 1.2;
}

.page-resources-online-betting-guide__hero-description {
    font-size: 19px;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-resources-online-betting-guide__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: #FFD700;
    color: #0A192F;
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    max-width: 100%; /* Ensure button fits container */
    box-sizing: border-box;
}

.page-resources-online-betting-guide__cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Cards */
.page-resources-online-betting-guide__content-grid,
.page-resources-online-betting-guide__game-cards,
.page-resources-online-betting-guide__promo-grid,
.page-resources-online-betting-guide__safety-grid,
.page-resources-online-betting-guide__contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-online-betting-guide__card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

.page-resources-online-betting-guide__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-online-betting-guide__card-title {
    font-size: 22px;
    color: #0A192F;
    margin-bottom: 15px;
}

.page-resources-online-betting-guide__card p {
    font-size: 16px;
    color: #555555;
}

/* Registration Steps Layout */
.page-resources-online-betting-guide__steps-layout {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.page-resources-online-betting-guide__image-wrapper {
    flex: 1;
    min-width: 400px;
}

.page-resources-online-betting-guide__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-online-betting-guide__step-list {
    flex: 1.2;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.page-resources-online-betting-guide__step-item {
    background-color: #ffffff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #FFD700;
}

.page-resources-online-betting-guide__step-title {
    font-size: 20px;
    color: #0A192F;
    margin-top: 0;
    margin-bottom: 10px;
}

/* Transaction Grid */
.page-resources-online-betting-guide__transaction-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.page-resources-online-betting-guide__transaction-grid .page-resources-online-betting-guide__card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
}

/* Game Cards */
.page-resources-online-betting-guide__section--games .page-resources-online-betting-guide__container > img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-resources-online-betting-guide__game-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
}

.page-resources-online-betting-guide__game-card:hover {
    transform: translateY(-5px);
}

.page-resources-online-betting-guide__game-title {
    font-size: 20px;
    color: #0A192F;
    margin-bottom: 10px;
}

/* Buttons */
.page-resources-online-betting-guide__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow buttons to wrap */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-resources-online-betting-guide__button-group--center {
    justify-content: center;
}

.page-resources-online-betting-guide__btn-primary,
.page-resources-online-betting-guide__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    max-width: 100%; /* Ensure button fits container */
    box-sizing: border-box;
}

.page-resources-online-betting-guide__btn-primary {
    background: #0A192F;
    color: #ffffff;
    border-color: #0A192F;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-resources-online-betting-guide__btn-primary:hover {
    background: #1a3350;
    border-color: #1a3350;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-resources-online-betting-guide__btn-secondary {
    background: #ffffff;
    color: #0A192F;
    border-color: #0A192F;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-resources-online-betting-guide__btn-secondary:hover {
    background: #f0f0f0;
    color: #0A192F;
    border-color: #0A192F;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-online-betting-guide__btn-link {
    display: inline-block;
    color: #0A192F;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.page-resources-online-betting-guide__btn-link:hover {
    color: #FFD700;
}

.page-resources-online-betting-guide__btn-text-link {
    display: inline-block;
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.page-resources-online-betting-guide__btn-text-link:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* Promotions */
.page-resources-online-betting-guide__promo-card {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.page-resources-online-betting-guide__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-resources-online-betting-guide__promo-title {
    font-size: 22px;
    color: #0A192F;
    margin-bottom: 15px;
}

/* Contact Methods */
.page-resources-online-betting-guide__contact-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* FAQ Section */
.page-resources-online-betting-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ container style */
.page-resources-online-betting-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* FAQ default state - answer hidden */
.page-resources-online-betting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

/* FAQ expanded state - 🚨 Use!important and sufficiently large max-height to ensure it expands */
.page-resources-online-betting-guide__faq-item.active .page-resources-online-betting-guide__faq-answer {
  max-height: 2000px !important; /* 🚨 Use!important to ensure priority, value large enough to accommodate any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* Question style */
.page-resources-online-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-online-betting-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-online-betting-guide__faq-question:active {
  background: #eeeeee;
}

/* Question title style */
.page-resources-online-betting-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px; /* Increased font size for better readability */
  font-weight: 600;
  line-height: 1.5;
  color: #0A192F; /* Brand primary color for questions */
  pointer-events: none; /* Prevent h3 from blocking click events */
}

/* Toggle icon */
.page-resources-online-betting-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Brand auxiliary color */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click events */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #FFD700;
}

.page-resources-online-betting-guide__faq-item.active .page-resources-online-betting-guide__faq-toggle {
  color: #0A192F;
  border-color: #0A192F;
  transform: rotate(45deg); /* Rotate for minus sign effect */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-online-betting-guide__hero-title {
        font-size: 40px;
    }
    .page-resources-online-betting-guide__heading {
        font-size: 28px;
    }
    .page-resources-online-betting-guide__image-wrapper {
        min-width: unset;
    }
}

@media (max-width: 768px) {
    /* Header offset for mobile */
    .page-resources-online-betting-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-online-betting-guide__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-online-betting-guide__section {
        padding: 40px 0;
    }

    .page-resources-online-betting-guide__heading {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .page-resources-online-betting-guide__hero-title {
        font-size: 32px;
    }

    .page-resources-online-betting-guide__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-resources-online-betting-guide__cta-button {
        padding: 15px 30px;
        font-size: 18px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsiveness for content area */
    .page-resources-online-betting-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-resources-online-betting-guide__image-wrapper,
    .page-resources-online-betting-guide__section,
    .page-resources-online-betting-guide__card,
    .page-resources-online-betting-guide__container,
    .page-resources-online-betting-guide__promo-card,
    .page-resources-online-betting-guide__contact-card,
    .page-resources-online-betting-guide__game-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-online-betting-guide__steps-layout {
        flex-direction: column;
        gap: 30px;
   }}