/* 须含：1023px试玩重置、1024px三栏300px、overlay z-index、promo、hot-games、768px */
@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;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;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}.page-blog__game-trial-frame{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!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%;align-items:stretch;max-width:1280px;margin:0 auto;padding-bottom:24px;}.page-blog__hero-brand,.page-blog__hero-jackpot,.page-blog__game-trial{height:300px;max-height:300px;}.page-blog__game-trial{overflow:hidden;}.page-blog__game-trial-shell{display:flex;flex-direction:column;height:100%;}.page-blog__game-trial-viewport{flex:1;min-height:0;}.page-blog__game-trial-frame{height:100%;min-height:0;}.page-blog__hero-jackpot-claim{background:#c62828!important;}.page-blog__promo-strip{margin-top:16px;}}
@media (max-width:768px){.page-blog__promo-strip-track{grid-template-columns:repeat(4,1fr);overflow-x:hidden;}.page-blog__hot-games-grid{grid-template-columns:repeat(2,1fr);}}
.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;}
/* --- Blog page specific CSS styles --- */

:root {
    --deep-navy: #08162B;
    --main-blue: #113B7A;
    --accent-blue: #1D5FD1;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --card-bg: #10233F;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-blog {
    font-family: 'Arial', sans-serif;
    background-color: var(--deep-navy);
    color: var(--text-main);
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-blog__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    gap: 30px;
}

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

.page-blog__main-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-blog__description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-blog__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-blog__hero-image-container {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-blog__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-blog__latest-posts-section,
.page-blog__about-section,
.page-blog__faq-section,
.page-blog__cta-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

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

.page-blog__post-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.page-blog__post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog__post-thumbnail {
    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.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-blog__post-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog__post-title a:hover {
    color: var(--gold-color);
}

.page-blog__post-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.page-blog__post-excerpt {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog__read-more-button {
    display: inline-block;
    background-color: var(--accent-blue);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.page-blog__read-more-button:hover {
    background-color: #1a52b8;
}

.page-blog__view-all-container {
    text-align: center;
    margin-top: 20px;
}

.page-blog__view-all-button {
    background-color: var(--gold-color);
    color: var(--main-blue);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.page-blog__view-all-button:hover {
    background-color: #e0b442;
}

.page-blog__about-section {
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__about-content {
    flex: 1;
}

.page-blog__about-content .page-blog__section-title {
    text-align: left;
    margin-bottom: 25px;
}

.page-blog__text-block {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-blog__cta-button--secondary {
    background: var(--accent-blue);
    margin-top: 15px;
}

.page-blog__cta-button--secondary:hover {
    background: #1a52b8;
}

.page-blog__about-image-container {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__about-image {
    width: 100%;
    height: auto;
    display: block;
}

.page-blog__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
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: rgba(29, 95, 209, 0.1);
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  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: var(--deep-navy);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary);
}

.page-blog__cta-section {
    text-align: center;
    background-color: var(--card-bg);
    padding: 50px 20px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog__cta-content .page-blog__section-title {
    margin-bottom: 25px;
}

.page-blog__cta-button--wide {
    min-width: 250px;
    margin-top: 20px;
}

/* --- Responsive Styles --- */

@media (max-width: 1023px) {
    .page-blog__hero-section {
        flex-direction: column-reverse;
        padding: 30px 15px;
    }
    .page-blog__hero-content {
        margin-top: 30px;
    }
    .page-blog__about-section {
        flex-direction: column;
        padding: 30px;
    }
    .page-blog__about-content .page-blog__section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-blog {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-blog__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-blog__description,
    .page-blog__text-block,
    .page-blog__post-excerpt,
    .page-blog__faq-qtext,
    details.page-blog__faq-item .page-blog__faq-answer p {
        font-size: 1rem;
    }

    .page-blog__latest-posts-section,
    .page-blog__about-section,
    .page-blog__faq-section,
    .page-blog__cta-section {
        padding: 0 15px;
        margin-bottom: 40px;
    }

    .page-blog__posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-blog__post-thumbnail {
        height: 180px;
    }

    .page-blog__post-title {
        font-size: 1.15rem;
    }

    .page-blog__read-more-button,
    .page-blog__view-all-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .page-blog__about-section {
        padding: 25px;
    }

    details.page-blog__faq-item summary.page-blog__faq-question {
        padding: 15px;
    }
    .page-blog__faq-qtext {
        font-size: 1rem;
    }
    .page-blog__faq-toggle {
        font-size: 20px;
        width: 24px;
    }
    details.page-blog__faq-item .page-blog__faq-answer {
        padding: 0 15px 15px;
    }

    .page-blog__cta-section {
        padding: 40px 15px;
    }

    /* Mobile image and button adaptation */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-blog__hero-image-container,
    .page-blog__about-image-container,
    .page-blog__posts-grid,
    .page-blog__post-card,
    .page-blog__about-section,
    .page-blog__faq-section,
    .page-blog__cta-section,
    .page-blog__cta-buttons,
    .page-blog__button-group,
    .page-blog__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-blog__cta-button,
    .page-blog__cta-button--wide,
    .page-blog__read-more-button,
    .page-blog__view-all-button,
    .page-blog a[class*="button"],
    .page-blog a[class*="btn"] {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      white-space: normal !important;
      word-wrap: break-word !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-blog__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}