/* Base Styles and Variables */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-color: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-blog-win8-latest-news {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Light text on dark body background */
    background-color: var(--bg-color);
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for main content after header */
}

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

.page-blog-win8-latest-news__section-title,
.page-blog-win8-latest-news__main-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-blog-win8-latest-news__section-description {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-blog-win8-latest-news__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-win8-latest-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim image for text readability */
}

.page-blog-win8-latest-news__hero-content {
    padding: 40px 15px;
    text-align: center;
    color: var(--text-main);
    max-width: 900px;
    margin: 0 auto;
}

.page-blog-win8-latest-news__main-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-blog-win8-latest-news__description {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-blog-win8-latest-news__cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: var(--button-gradient);
    color: var(--text-main);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-win8-latest-news__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Latest Updates Section (Blog Grid) */
.page-blog-win8-latest-news__latest-updates-section {
    padding: 60px 0;
    background-color: var(--bg-color);
}

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

.page-blog-win8-latest-news__blog-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    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;
    height: 100%;
}

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

.page-blog-win8-latest-news__blog-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-blog-win8-latest-news__blog-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-blog-win8-latest-news__blog-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-blog-win8-latest-news__blog-card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog-win8-latest-news__blog-card-title a:hover {
    color: var(--gold-color);
}

.page-blog-win8-latest-news__blog-card-meta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.page-blog-win8-latest-news__blog-card-excerpt {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog-win8-latest-news__read-more-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--deep-green);
    color: var(--text-main);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.page-blog-win8-latest-news__read-more-button:hover {
    background-color: var(--primary-color);
}

.page-blog-win8-latest-news__view-all-wrapper {
    text-align: center;
    margin-top: 20px;
}

.page-blog-win8-latest-news__view-all-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button-gradient);
    color: var(--text-main);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-win8-latest-news__view-all-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-blog-win8-latest-news__faq-section {
    padding: 60px 0;
    background-color: var(--deep-green);
}

.page-blog-win8-latest-news__faq-list {
    margin-top: 40px;
}

details.page-blog-win8-latest-news__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
details.page-blog-win8-latest-news__faq-item summary.page-blog-win8-latest-news__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;
  color: var(--text-main);
  font-weight: 600;
}
details.page-blog-win8-latest-news__faq-item summary.page-blog-win8-latest-news__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-win8-latest-news__faq-item summary.page-blog-win8-latest-news__faq-question:hover {
  background: var(--deep-green);
}
.page-blog-win8-latest-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-blog-win8-latest-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}
details.page-blog-win8-latest-news__faq-item .page-blog-win8-latest-news__faq-answer {
  padding: 0 25px 25px;
  background: var(--bg-color);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary);
  font-size: 16px;
}

/* CTA Section */
.page-blog-win8-latest-news__cta-section {
    padding: 60px 0;
    background-color: var(--bg-color);
    text-align: center;
}

.page-blog-win8-latest-news__cta-title {
    font-size: 32px;
    color: var(--gold-color);
    margin-bottom: 20px;
}

.page-blog-win8-latest-news__cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-win8-latest-news__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog-win8-latest-news__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
}

.page-blog-win8-latest-news__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-blog-win8-latest-news__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* No homepage-specific rules for this inner page */
}

@media (min-width: 1024px) {
  /* No homepage-specific rules for this inner page */
}

@media (max-width: 768px) {
    .page-blog-win8-latest-news {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-blog-win8-latest-news__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-win8-latest-news__main-title {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .page-blog-win8-latest-news__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-blog-win8-latest-news__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 15px; /* Add margin for stacked buttons */
    }

    .page-blog-win8-latest-news__hero-content {
        padding: 25px 15px;
    }

    .page-blog-win8-latest-news__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-blog-win8-latest-news__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-blog-win8-latest-news__blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-blog-win8-latest-news__blog-card-image {
        height: 180px;
    }

    .page-blog-win8-latest-news__blog-card-content {
        padding: 20px;
    }

    .page-blog-win8-latest-news__blog-card-title {
        font-size: 18px;
    }

    .page-blog-win8-latest-news__blog-card-meta,
    .page-blog-win8-latest-news__blog-card-excerpt {
        font-size: 14px;
    }

    .page-blog-win8-latest-news__read-more-button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .page-blog-win8-latest-news__view-all-button {
        padding: 10px 20px;
        font-size: 15px;
    }

    details.page-blog-win8-latest-news__faq-item summary.page-blog-win8-latest-news__faq-question { padding: 15px; }
    .page-blog-win8-latest-news__faq-qtext { font-size: 16px; }
    .page-blog-win8-latest-news__faq-toggle { font-size: 24px; width: 24px; margin-left: 10px; }
    details.page-blog-win8-latest-news__faq-item .page-blog-win8-latest-news__faq-answer { padding: 0 15px 15px; }

    .page-blog-win8-latest-news__cta-title {
        font-size: 26px;
    }

    .page-blog-win8-latest-news__cta-description {
        font-size: 16px;
    }

    /* Mobile image adaptation */
    .page-blog-win8-latest-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-blog-win8-latest-news__hero-section,
    .page-blog-win8-latest-news__latest-updates-section,
    .page-blog-win8-latest-news__faq-section,
    .page-blog-win8-latest-news__cta-section,
    .page-blog-win8-latest-news__blog-card,
    .page-blog-win8-latest-news__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-win8-latest-news__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }
}