/* Shared body padding-top is assumed from shared.css */

/* Base styles for the page */
.page-blog-hy88-latest-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #1F2D3D);
  background-color: var(--bg-color, #F4F7FB);
}

.page-blog-hy88-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog-hy88-latest-promotions__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-blog-hy88-latest-promotions__section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main-color, #1F2D3D);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-hy88-latest-promotions__section-description {
  font-size: 18px;
  color: #555;
  text-align: center;
  margin-bottom: 30px;
}

.page-blog-hy88-latest-promotions__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-blog-hy88-latest-promotions__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  padding-bottom: 40px;
  background: var(--bg-color, #F4F7FB);
  text-align: center;
}

.page-blog-hy88-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-blog-hy88-latest-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-hy88-latest-promotions__hero-description {
  font-size: 18px;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* Buttons */
.page-blog-hy88-latest-promotions__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-hy88-latest-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-blog-hy88-latest-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #2F6BFF;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid #2F6BFF;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-hy88-latest-promotions__btn-secondary:hover {
  background: #2F6BFF;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

/* Content Area */
.page-blog-hy88-latest-promotions__content-area p {
  font-size: 16px;
  color: #333333;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-blog-hy88-latest-promotions__content-area strong {
  font-weight: 700;
  color: #1F2D3D;
}

.page-blog-hy88-latest-promotions__list {
  list-style: disc inside;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-blog-hy88-latest-promotions__list li {
  font-size: 16px;
  color: #333333;
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-blog-hy88-latest-promotions__list strong {
  color: #1F2D3D;
}

.page-blog-hy88-latest-promotions .highlight {
  color: #2F6BFF;
  font-weight: 600;
}

/* Promo Grid */
.page-blog-hy88-latest-promotions__dark-section {
  background: #2F6BFF;
  color: #ffffff;
  padding: 60px 0;
}

.page-blog-hy88-latest-promotions__dark-section .page-blog-hy88-latest-promotions__section-title,
.page-blog-hy88-latest-promotions__dark-section .page-blog-hy88-latest-promotions__section-description {
  color: #ffffff;
}

.page-blog-hy88-latest-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-hy88-latest-promotions__promo-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-hy88-latest-promotions__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.page-blog-hy88-latest-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-hy88-latest-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog-hy88-latest-promotions__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog-hy88-latest-promotions__card-text {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  line-height: 1.7;
  flex-grow: 1;
}

/* Steps Grid */
.page-blog-hy88-latest-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-blog-hy88-latest-promotions__step-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-blog-hy88-latest-promotions__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-blog-hy88-latest-promotions__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.page-blog-hy88-latest-promotions__step-title {
  font-size: 20px;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog-hy88-latest-promotions__step-item p {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

/* CTA Section */
.page-blog-hy88-latest-promotions__cta-section {
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
  padding: 80px 0;
  text-align: center;
}

.page-blog-hy88-latest-promotions__cta-section .page-blog-hy88-latest-promotions__section-title,
.page-blog-hy88-latest-promotions__cta-section .page-blog-hy88-latest-promotions__section-description {
  color: #ffffff;
}

.page-blog-hy88-latest-promotions__cta-section .page-blog-hy88-latest-promotions__btn-primary {
  background: #ffffff;
  color: #2F6BFF;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border: none;
}

.page-blog-hy88-latest-promotions__cta-section .page-blog-hy88-latest-promotions__btn-primary:hover {
  background: #f0f0f0;
  color: #1F5BCC;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* FAQ Section */
details.page-blog-hy88-latest-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
details.page-blog-hy88-latest-promotions__faq-item summary.page-blog-hy88-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #1F2D3D;
}
details.page-blog-hy88-latest-promotions__faq-item summary.page-blog-hy88-latest-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-hy88-latest-promotions__faq-item summary.page-blog-hy88-latest-promotions__faq-question:hover {
  background: #F4F7FB;
}
.page-blog-hy88-latest-promotions__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}
.page-blog-hy88-latest-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}
details.page-blog-hy88-latest-promotions__faq-item .page-blog-hy88-latest-promotions__faq-answer {
  padding: 0 25px 25px;
  background: #F4F7FB;
  border-radius: 0 0 10px 10px;
  color: #333333;
  font-size: 16px;
  line-height: 1.7;
}

/* Responsive Design */

/* Homepage specific CSS for trial game, promo strip, hot games - MUST BE INCLUDED */
@media (max-width: 1023px) {
  .page-blog-hy88-latest-promotions__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-hy88-latest-promotions__hero-brand,
  .page-blog-hy88-latest-promotions__hero-jackpot {
    display: none !important;
  }
  .page-blog-hy88-latest-promotions__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-hy88-latest-promotions__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog-hy88-latest-promotions__game-trial-topbar,
  .page-blog-hy88-latest-promotions__game-trial-bottombar {
    display: none !important;
  }
  .page-blog-hy88-latest-promotions__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-hy88-latest-promotions__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-hy88-latest-promotions__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-blog-hy88-latest-promotions__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-blog-hy88-latest-promotions__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-hy88-latest-promotions__hero-brand,
  .page-blog-hy88-latest-promotions__hero-jackpot,
  .page-blog-hy88-latest-promotions__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog-hy88-latest-promotions__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-blog-hy88-latest-promotions__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-blog-hy88-latest-promotions__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-blog-hy88-latest-promotions__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-blog-hy88-latest-promotions__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  /* Promo Strip for PC */
  .page-blog-hy88-latest-promotions__promo-strip-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
  }
  .page-blog-hy88-latest-promotions__promo-strip-card {
    flex-direction: row; /* Left image, right text */
    align-items: center;
  }
  .page-blog-hy88-latest-promotions__promo-strip-card img {
    
    
    margin-right: 15px;
    flex-shrink: 0;
  }
  .page-blog-hy88-latest-promotions__promo-strip-card-content {
    text-align: left;
  }
  /* Hot Games for PC */
  .page-blog-hy88-latest-promotions__hot-games-grid {
    grid-template-columns: repeat(6, 1fr);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
  }
  .page-blog-hy88-latest-promotions__hot-games-item-name,
  .page-blog-hy88-latest-promotions__hot-games-item-rtp,
  .page-blog-hy88-latest-promotions__hot-games-item-desc {
    display: block; /* Show text */
  }
  .page-blog-hy88-latest-promotions__hot-games-item-content {
    text-align: center;
  }
}

/* General mobile adaptation */
@media (max-width: 768px) {
  .page-blog-hy88-latest-promotions__hero-section {
    padding-bottom: 30px;
  }
  .page-blog-hy88-latest-promotions__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-blog-hy88-latest-promotions__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-blog-hy88-latest-promotions__btn-primary,
  .page-blog-hy88-latest-promotions__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Add spacing for stacked buttons */
  }
  .page-blog-hy88-latest-promotions__promo-grid,
  .page-blog-hy88-latest-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-hy88-latest-promotions__promo-card {
    flex-direction: column;
  }
  .page-blog-hy88-latest-promotions__card-image {
    height: 180px;
  }
  .page-blog-hy88-latest-promotions__card-content {
    padding: 20px;
  }
  .page-blog-hy88-latest-promotions__card-title {
    font-size: 20px;
  }
  .page-blog-hy88-latest-promotions__card-text {
    font-size: 14px;
  }
  .page-blog-hy88-latest-promotions__section-title {
    font-size: 26px;
  }
  .page-blog-hy88-latest-promotions__section-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-blog-hy88-latest-promotions__step-item {
    padding: 25px;
  }
  .page-blog-hy88-latest-promotions__step-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  .page-blog-hy88-latest-promotions__step-title {
    font-size: 18px;
  }
  .page-blog-hy88-latest-promotions__step-item p {
    font-size: 14px;
  }
  .page-blog-hy88-latest-promotions__cta-section {
    padding: 60px 0;
  }
  details.page-blog-hy88-latest-promotions__faq-item summary.page-blog-hy88-latest-promotions__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-blog-hy88-latest-promotions__faq-qtext {
    font-size: 16px;
  }
  .page-blog-hy88-latest-promotions__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 25px;
  }
  details.page-blog-hy88-latest-promotions__faq-item .page-blog-hy88-latest-promotions__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }
  /* Ensure all images and containers are responsive */
  .page-blog-hy88-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-hy88-latest-promotions__section,
  .page-blog-hy88-latest-promotions__card,
  .page-blog-hy88-latest-promotions__container,
  .page-blog-hy88-latest-promotions__promo-card,
  .page-blog-hy88-latest-promotions__step-item,
  .page-blog-hy88-latest-promotions__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Button containers for mobile */
  .page-blog-hy88-latest-promotions__cta-buttons,
  .page-blog-hy88-latest-promotions__button-group,
  .page-blog-hy88-latest-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
  }
  /* Promo strip for mobile (even if not used on this page, include as per prompt) */
  .page-blog-hy88-latest-promotions__promo-strip-track {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Allow wrapping */
    overflow-x: hidden;
    padding: 0 15px;
  }
  .page-blog-hy88-latest-promotions__promo-strip-card {
    flex-direction: column; /* Stack image and text */
    text-align: center;
  }
  .page-blog-hy88-latest-promotions__promo-strip-card img {
    margin: 0 auto 10px auto;
  }
  /* Hot games for mobile (even if not used on this page, include as per prompt) */
  .page-blog-hy88-latest-promotions__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
  }
  .page-blog-hy88-latest-promotions__hot-games-item-name,
  .page-blog-hy88-latest-promotions__hot-games-item-rtp,
  .page-blog-hy88-latest-promotions__hot-games-item-desc {
    display: none; /* Hide for mobile */
  }
}

/* Default color contrast for light background */
.page-blog-hy88-latest-promotions {
  color: #333333;
}

.page-blog-hy88-latest-promotions__light-bg {
  color: #333333;
  background: #F4F7FB;
}

.page-blog-hy88-latest-promotions__dark-bg {
  color: #ffffff;
  background: #2F6BFF;
}

.page-blog-hy88-latest-promotions__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #D6E2FF;
}

.page-blog-hy88-latest-promotions__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
}

.page-blog-hy88-latest-promotions__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

/* Homepage specific elements for reference, ensuring no filter CSS */
.page-blog-hy88-latest-promotions__game-trial-overlay.is-hidden { display: none !important; pointer-events: none !important; }
.page-blog-hy88-latest-promotions__game-trial-overlay { z-index: 5; pointer-events: auto; }
.page-blog-hy88-latest-promotions__game-trial-start { z-index: 6; pointer-events: auto; touch-action: manipulation; }
.page-blog-hy88-latest-promotions__game-trial-shell { border: 1px solid rgba(212,175,55,.45); border-radius: 10px; overflow: hidden; }
.page-blog-hy88-latest-promotions__reward-modal { position:fixed; inset:0; z-index:10000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.7); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.page-blog-hy88-latest-promotions__reward-modal[aria-hidden="false"] { opacity: 1; visibility: visible; }
.page-blog-hy88-latest-promotions__reward-modal-content { background: #fff; padding: 30px; border-radius: 10px; text-align: center; max-width: 400px; position: relative; }
.page-blog-hy88-latest-promotions__reward-modal-close { position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 24px; cursor: pointer; color: #333; }
.page-blog-hy88-latest-promotions__reward-modal h3 { font-size: 24px; color: #1F2D3D; margin-bottom: 15px; }
.page-blog-hy88-latest-promotions__reward-modal p { font-size: 16px; color: #555; margin-bottom: 25px; }
.page-blog-hy88-latest-promotions__reward-modal .page-blog-hy88-latest-promotions__btn-primary { width: auto; padding: 10px 20px; }