/* Shared body padding-top handled by shared.css, so no padding-top: var(--header-offset) here */
.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, not --header-offset */
  background-color: #FFFFFF;
  color: #333333;
  text-align: center;
  padding-bottom: 40px;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-blog__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0;
  margin-bottom: 15px;
  text-align: center;
}

.page-blog__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333333;
}

.page-blog__section-spacing {
  padding: 50px 0;
}

.page-blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 15px;
}

.page-blog__section-subtitle {
  font-size: 1.1em;
  color: #666666;
  text-align: center;
  margin-bottom: 40px;
}

.page-blog__post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog__post-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-blog__post-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog__post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-blog__post-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__post-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #333333;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog__post-meta {
  font-size: 0.9em;
  color: #999999;
  margin-bottom: 15px;
}

.page-blog__post-excerpt {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  color: #26A9E0;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
}

.page-blog__view-all-button {
  text-align: center;
  margin-top: 40px;
}

.page-blog__category-section {
  background: #26A9E0;
  color: #ffffff;
}

.page-blog__category-section .page-blog__section-title,
.page-blog__category-section .page-blog__section-subtitle {
  color: #ffffff;
}

.page-blog__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-blog__category-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-blog__category-card:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-blog__category-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-blog__category-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-blog__btn-link {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__btn-link:hover {
  background: #f0f0f0;
  color: #1a7bbd;
}

.page-blog__about-blog {
  background: #f9f9f9;
  color: #333333;
}

.page-blog__about-blog h2,
.page-blog__about-blog h3 {
  color: #26A9E0;
  text-align: left;
  margin-bottom: 20px;
}

.page-blog__about-blog h3 {
  font-size: 1.6em;
  margin-top: 30px;
}

.page-blog__about-blog p {
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1em;
}

.page-blog__about-blog ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-blog__about-blog li {
  line-height: 1.6;
  margin-bottom: 8px;
  font-size: 1em;
}

.page-blog__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog__btn-spacing {
  margin-top: 30px;
}

/* FAQ Styles - Details version */
details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-blog__faq-item summary.page-blog__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__faq-item summary.page-blog__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog__faq-item summary.page-blog__faq-question:hover {
  background: #f5f5f5;
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-blog__cta-section {
  background: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-blog__cta-section .page-blog__section-title,
.page-blog__cta-section .page-blog__description {
  color: #ffffff;
}

.page-blog__cta-content {
  max-width: 800px;
}

.page-blog__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* --- Buttons --- */
.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-blog__btn-primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-blog__btn-primary:hover {
  background: #d46b00;
  border-color: #d46b00;
}

.page-blog__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-blog__btn-secondary:hover {
  background: #f0f0f0;
  color: #1a7bbd;
  border-color: #1a7bbd;
}

/* --- General Image & Container Responsive Styles --- */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog__section,
.page-blog__card,
.page-blog__container,
.page-blog__hero-section,
.page-blog__recent-posts,
.page-blog__category-section,
.page-blog__about-blog,
.page-blog__faq-section,
.page-blog__cta-section {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* --- Homepage Trial Layout CSS (Verbatim inclusion as per prompt) --- */
@media (max-width: 1023px) {
  .page-blog__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-blog__hero-brand,
  .page-blog__hero-jackpot {
    display: none !important;
  }
  .page-blog__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-blog__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog__game-trial-topbar,
  .page-blog__game-trial-bottombar {
    display: none !important;
  }
  .page-blog__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-blog__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-blog__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-blog__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-blog__hero-brand,
  .page-blog__hero-jackpot,
  .page-blog__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-blog__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-blog__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-blog__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-blog__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* --- Mobile Specific Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 5px;
    padding-bottom: 20px;
  }
  .page-blog__main-title {
    font-size: 2em;
  }
  .page-blog__description {
    font-size: 1em;
  }
  .page-blog__section-spacing {
    padding: 30px 0;
  }
  .page-blog__post-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog__post-image {
    height: 180px;
  }
  .page-blog__post-title {
    font-size: 1.2em;
  }
  .page-blog__post-excerpt {
    font-size: 0.95em;
  }
  .page-blog__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog__category-card {
    padding: 20px;
  }
  .page-blog__category-title {
    font-size: 1.3em;
  }
  .page-blog__category-description {
    font-size: 0.95em;
  }
  .page-blog__about-blog h3 {
    font-size: 1.4em;
  }
  .page-blog__about-blog p,
  .page-blog__about-blog li {
    font-size: 0.95em;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__btn-primary,
  .page-blog__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;
  }
  /* Mobile image adaptation */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__hero-section,
  .page-blog__recent-posts,
  .page-blog__category-section,
  .page-blog__about-blog,
  .page-blog__faq-section,
  .page-blog__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  details.page-blog__faq-item summary.page-blog__faq-question { padding: 15px; }
  .page-blog__faq-qtext { font-size: 15px; }
  details.page-blog__faq-item .page-blog__faq-answer { padding: 0 15px 15px; }
}

/* The following styles are specifically for the homepage trial layout and are included verbatim as per prompt instructions. */
/* They should not interfere with the blog page's content as blog page does not use these classes. */
.page-blog__game-trial-overlay{z-index:5;pointer-events:auto;}
.page-blog__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}
.page-blog__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}
.page-blog__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}
.page-blog__reward-modal{position:fixed;inset:0;z-index:10000;display:flex;justify-content:center;align-items:center;background:rgba(0,0,0,0.7);}
.page-blog__reward-modal[hidden]{display:none!important;}
.page-blog__reward-modal-content{background:#fff;padding:30px;border-radius:10px;text-align:center;position:relative;max-width:90%;width:400px;}
.page-blog__reward-modal-close{position:absolute;top:10px;right:10px;background:none;border:none;font-size:24px;cursor:pointer;color:#333;}
.page-blog__reward-modal-title{color:#26A9E0;font-size:1.8em;margin-bottom:15px;}
.page-blog__reward-modal-text{color:#333;font-size:1em;line-height:1.6;margin-bottom:25px;}
.page-blog__reward-modal-button{background:#EA7C07;color:#fff;padding:12px 25px;border-radius:5px;text-decoration:none;font-weight:600;display:inline-block;}
.page-blog--reward-open{overflow:hidden;}