/* Base Styles */
.page-blog-58k-beginner-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #f8f8f8);
}

.page-blog-58k-beginner-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-blog-58k-beginner-guide__container--center {
    text-align: center;
}

.page-blog-58k-beginner-guide__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-blog-58k-beginner-guide__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-blog-58k-beginner-guide__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-58k-beginner-guide__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-blog-58k-beginner-guide__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-blog-58k-beginner-guide__dark-bg .page-blog-58k-beginner-guide__section-title {
    color: #FFFFFF;
}

.page-blog-58k-beginner-guide__dark-bg .page-blog-58k-beginner-guide__section-title::after {
    background-color: #FFFFFF;
}

/* Buttons */
.page-blog-58k-beginner-guide__btn-primary,
.page-blog-58k-beginner-guide__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-blog-58k-beginner-guide__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
    margin-right: 15px;
}

.page-blog-58k-beginner-guide__btn-primary:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-blog-58k-beginner-guide__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-blog-58k-beginner-guide__dark-bg .page-blog-58k-beginner-guide__btn-secondary {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.page-blog-58k-beginner-guide__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-blog-58k-beginner-guide__dark-bg .page-blog-58k-beginner-guide__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #26A9E0;
}

.page-blog-58k-beginner-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-blog-58k-beginner-guide__cta-buttons--center {
    justify-content: center;
}

/* Hero Section */
.page-blog-58k-beginner-guide__hero-section {
    display: flex;
    align-items: center;
    padding-top: 10px; /* Small top padding */
    background-color: #f0f0f0;
    flex-direction: column-reverse; /* Image on top on mobile, content on top on desktop */
}

.page-blog-58k-beginner-guide__hero-content {
    padding: 40px 20px;
    text-align: center;
    max-width: 800px;
    order: 2; /* Content after image on mobile */
}

.page-blog-58k-beginner-guide__main-title {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    color: #26A9E0;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-blog-58k-beginner-guide__tagline {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-58k-beginner-guide__hero-image {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    order: 1; /* Image before content on mobile */
    overflow: hidden;
}

.page-blog-58k-beginner-guide__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Getting Started Section */
.page-blog-58k-beginner-guide__getting-started {
    padding: 80px 0;
}

.page-blog-58k-beginner-guide__step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-blog-58k-beginner-guide__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-blog-58k-beginner-guide__step-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    object-fit: cover;
}

.page-blog-58k-beginner-guide__step-card .page-blog-58k-beginner-guide__card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-blog-58k-beginner-guide__step-card p {
    font-size: 16px;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-blog-58k-beginner-guide__step-card .page-blog-58k-beginner-guide__btn-primary {
    margin-top: auto;
    margin-right: 0;
}

/* Game Categories Section */
.page-blog-58k-beginner-guide__game-categories {
    padding: 80px 0;
}

.page-blog-58k-beginner-guide__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-blog-58k-beginner-guide__category-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-blog-58k-beginner-guide__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-blog-58k-beginner-guide__category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-blog-58k-beginner-guide__category-card .page-blog-58k-beginner-guide__card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 20px 15px 10px;
    color: #26A9E0;
}

.page-blog-58k-beginner-guide__category-card .page-blog-58k-beginner-guide__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-blog-58k-beginner-guide__category-card .page-blog-58k-beginner-guide__card-title a:hover {
    text-decoration: underline;
}

.page-blog-58k-beginner-guide__category-card p {
    font-size: 15px;
    padding: 0 15px 20px;
    color: #555;
    flex-grow: 1;
}

/* Promotions Section */
.page-blog-58k-beginner-guide__promotions {
    padding: 80px 0;
}

.page-blog-58k-beginner-guide__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-blog-58k-beginner-guide__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-blog-58k-beginner-guide__promo-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    object-fit: cover;
}

.page-blog-58k-beginner-guide__promo-card .page-blog-58k-beginner-guide__card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-blog-58k-beginner-guide__promo-card .page-blog-58k-beginner-guide__card-title a {
    color: #FFFFFF;
    text-decoration: none;
}

.page-blog-58k-beginner-guide__promo-card .page-blog-58k-beginner-guide__card-title a:hover {
    text-decoration: underline;
}

.page-blog-58k-beginner-guide__promo-card p {
    font-size: 16px;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Safety Section */
.page-blog-58k-beginner-guide__safety {
    padding: 80px 0;
}

.page-blog-58k-beginner-guide__safety-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.page-blog-58k-beginner-guide__safety-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.page-blog-58k-beginner-guide__safety-title {
    font-size: 22px;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-blog-58k-beginner-guide__safety-item p {
    font-size: 16px;
    color: #555;
    text-align: left;
}

.page-blog-58k-beginner-guide__safety-item a {
    color: #26A9E0;
    text-decoration: none;
}

.page-blog-58k-beginner-guide__safety-item a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-blog-58k-beginner-guide__faq-section {
    padding: 80px 0;
}

.page-blog-58k-beginner-guide__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-blog-58k-beginner-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-blog-58k-beginner-guide__faq-item summary.page-blog-58k-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-blog-58k-beginner-guide__faq-item summary.page-blog-58k-beginner-guide__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-58k-beginner-guide__faq-item summary.page-blog-58k-beginner-guide__faq-question:hover {
  background: #f5f5f5;
}
.page-blog-58k-beginner-guide__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-blog-58k-beginner-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-58k-beginner-guide__faq-item .page-blog-58k-beginner-guide__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555;
}

/* Contact CTA Section */
.page-blog-58k-beginner-guide__contact-cta {
    padding: 60px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-58k-beginner-guide__hero-content {
        padding: 30px 20px;
    }

    .page-blog-58k-beginner-guide__main-title {
        font-size: clamp(28px, 3.5vw, 42px);
    }

    .page-blog-58k-beginner-guide__tagline {
        font-size: 17px;
    }

    .page-blog-58k-beginner-guide__section-title {
        font-size: 32px;
    }

    .page-blog-58k-beginner-guide__text-block {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-blog-58k-beginner-guide__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-58k-beginner-guide__hero-section {
        flex-direction: column;
        padding-top: 10px;
    }

    .page-blog-58k-beginner-guide__hero-content {
        padding: 25px 15px;
        order: 1;
    }

    .page-blog-58k-beginner-guide__main-title {
        font-size: clamp(26px, 7vw, 36px);
        margin-bottom: 10px;
    }

    .page-blog-58k-beginner-guide__tagline {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-blog-58k-beginner-guide__hero-image {
        margin-bottom: 15px;
        order: 2;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-58k-beginner-guide__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-blog-58k-beginner-guide__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-blog-58k-beginner-guide__btn-primary,
    .page-blog-58k-beginner-guide__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        margin-right: 0 !important;
        padding: 10px 15px;
        font-size: 15px;
    }

    .page-blog-58k-beginner-guide__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-blog-58k-beginner-guide__text-block {
        font-size: 15px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .page-blog-58k-beginner-guide__getting-started,
    .page-blog-58k-beginner-guide__game-categories,
    .page-blog-58k-beginner-guide__promotions,
    .page-blog-58k-beginner-guide__safety,
    .page-blog-58k-beginner-guide__faq-section,
    .page-blog-58k-beginner-guide__contact-cta {
        padding: 50px 0;
    }

    .page-blog-58k-beginner-guide__step-grid,
    .page-blog-58k-beginner-guide__category-grid,
    .page-blog-58k-beginner-guide__promo-grid,
    .page-blog-58k-beginner-guide__safety-points {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-blog-58k-beginner-guide__step-card,
    .page-blog-58k-beginner-guide__category-card,
    .page-blog-58k-beginner-guide__promo-card,
    .page-blog-58k-beginner-guide__safety-item {
        padding: 20px;
    }

    .page-blog-58k-beginner-guide__step-card img,
    .page-blog-58k-beginner-guide__category-card img,
    .page-blog-58k-beginner-guide__promo-card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-blog-58k-beginner-guide__step-card .page-blog-58k-beginner-guide__card-title,
    .page-blog-58k-beginner-guide__category-card .page-blog-58k-beginner-guide__card-title,
    .page-blog-58k-beginner-guide__promo-card .page-blog-58k-beginner-guide__card-title,
    .page-blog-58k-beginner-guide__safety-title {
        font-size: 20px;
    }

    .page-blog-58k-beginner-guide__step-card p,
    .page-blog-58k-beginner-guide__category-card p,
    .page-blog-58k-beginner-guide__promo-card p,
    .page-blog-58k-beginner-guide__safety-item p {
        font-size: 15px;
    }

    details.page-blog-58k-beginner-guide__faq-item summary.page-blog-58k-beginner-guide__faq-question { padding: 15px; }
    .page-blog-58k-beginner-guide__faq-qtext { font-size: 15px; }
    details.page-blog-58k-beginner-guide__faq-item .page-blog-58k-beginner-guide__faq-answer { padding: 0 15px 15px; }
}

/* Ensure all images are responsive */
.page-blog-58k-beginner-guide img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure content containers prevent overflow */
.page-blog-58k-beginner-guide__intro-section,
.page-blog-58k-beginner-guide__getting-started,
.page-blog-58k-beginner-guide__game-categories,
.page-blog-58k-beginner-guide__promotions,
.page-blog-58k-beginner-guide__safety,
.page-blog-58k-beginner-guide__faq-section,
.page-blog-58k-beginner-guide__contact-cta {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Prevent horizontal scroll */
}

/* Specific mobile overflow for product grid if it were horizontal */
.page-blog-58k-beginner-guide__category-grid {
    overflow-x: hidden;
}

.page-blog-58k-beginner-guide__promo-grid {
    overflow-x: hidden;
}

.page-blog-58k-beginner-guide__step-grid {
    overflow-x: hidden;
}

/* No filter on images */
.page-blog-58k-beginner-guide img {
    filter: none !important;
}