/* Custom Colors */
:root {
    --color-primary: #FF8C1A;
    --color-secondary: #FFA53A;
    --color-card-bg: #17191F;
    --color-background: #0D0E12;
    --color-text-main: #FFF3E6;
    --color-border: #A84F0C;
    --color-glow: #FFB04D;
    --color-deep-orange: #D96800;
}

.page-news {
    color: var(--color-text-main);
    background: var(--color-background);
    font-family: 'Arial', sans-serif;
}

.page-news__section-padding {
    padding: 60px 0;
}

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

.page-news__section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-news__section-subtitle {
    font-size: 18px;
    color: rgba(255, 243, 230, 0.8);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-news__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background: var(--color-background);
    position: relative;
    overflow: hidden;
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-news__hero-content {
    max-width: 900px;
    text-align: center;
    margin-bottom: 40px;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-news__hero-title {
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-news__hero-description {
    font-size: 18px;
    color: rgba(255, 243, 230, 0.85);
    margin-bottom: 30px;
    line-height: 1.7;
}

.page-news__hero-cta {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-deep-orange) 100%);
    color: var(--color-text-main);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
    border: none;
    cursor: pointer;
}

.page-news__hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

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

.page-news__news-card {
    background: var(--color-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.page-news__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 140, 26, 0.2);
}

.page-news__card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

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

.page-news__card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    padding: 15px 20px 10px;
    line-height: 1.4;
}

.page-news__card-excerpt {
    font-size: 15px;
    color: rgba(255, 243, 230, 0.7);
    padding: 0 20px 15px;
    line-height: 1.6;
}

.page-news__card-date {
    font-size: 14px;
    color: rgba(255, 243, 230, 0.5);
    padding: 0 20px 15px;
    display: block;
}

.page-news__view-all-button-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-news__view-all-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--color-primary);
    color: var(--color-text-main);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-news__view-all-button:hover {
    background: var(--color-secondary);
}

.page-news__content-block {
    background: var(--color-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

.page-news__content-block p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 243, 230, 0.85);
    margin-bottom: 20px;
}

.page-news__content-block h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-news__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 30px 0;
    object-fit: cover;
}

.page-news__mb6-cta-section {
    background: var(--color-background);
    padding: 80px 0;
    text-align: center;
}

.page-news__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background: var(--color-card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(255, 140, 26, 0.15);
    border: 2px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.page-news__cta-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-news__cta-content {
    text-align: center;
    max-width: 800px;
}

.page-news__cta-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-glow);
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-news__cta-description {
    font-size: 18px;
    color: rgba(255, 243, 230, 0.9);
    margin-bottom: 30px;
    line-height: 1.7;
}

.page-news__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 16px 35px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__btn-primary {
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-deep-orange) 100%);
    color: var(--color-text-main);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-news__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-news__btn-secondary {
    background: none;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.page-news__btn-secondary:hover {
    background: rgba(255, 140, 26, 0.1);
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* FAQ Styles */
details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
details.page-news__faq-item summary.page-news__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;
  color: var(--color-primary);
}
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
  display: none;
}
details.page-news__faq-item summary.page-news__faq-question:hover {
  background: rgba(255, 140, 26, 0.05);
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--color-primary);
}
.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: rgba(23, 25, 31, 0.7);
  border-radius: 0 0 8px 8px;
  color: rgba(255, 243, 230, 0.8);
  line-height: 1.7;
  font-size: 16px;
}

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

@media (max-width: 1024px) {
    .page-news__hero-title {
        font-size: 48px;
    }
    .page-news__section-title {
        font-size: 32px;
    }
    .page-news__card-title {
        font-size: 20px;
    }
    .page-news__content-block h3 {
        font-size: 24px;
    }
    .page-news__cta-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .page-news__section-padding {
        padding: 40px 0;
    }
    .page-news__hero-section {
        padding-bottom: 40px;
    }
    .page-news__hero-image-wrapper {
        margin-bottom: 30px;
    }
    .page-news__hero-image {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important; /* Banner must use contain */
    }
    .page-news__hero-content {
        margin-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
    }
    .page-news__hero-title {
        font-size: 36px;
    }
    .page-news__hero-description {
        font-size: 16px;
    }
    .page-news__hero-cta {
        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;
    }
    .page-news__section-title {
        font-size: 28px;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    .page-news__section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    .page-news__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-news__news-card {
        margin: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news__card-image {
        height: 180px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-news__card-title {
        font-size: 18px;
        padding: 12px 15px 8px;
    }
    .page-news__card-excerpt {
        font-size: 14px;
        padding: 0 15px 12px;
    }
    .page-news__card-date {
        font-size: 13px;
        padding: 0 15px 12px;
    }
    .page-news__view-all-button-wrapper {
        margin-top: 30px;
    }
    .page-news__view-all-button {
        padding: 10px 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 15px;
    }
    .page-news__content-block {
        padding: 20px;
        margin: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news__content-block p {
        font-size: 15px;
    }
    .page-news__content-block h3 {
        font-size: 22px;
    }
    .page-news__content-image {
        margin: 20px 0;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-news__mb6-cta-section {
        padding: 50px 0;
    }
    .page-news__cta-container {
        padding: 30px 20px;
        margin: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news__cta-image {
        max-height: 250px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-news__cta-title {
        font-size: 26px;
    }
    .page-news__cta-description {
        font-size: 16px;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        padding: 14px 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;
    }
    details.page-news__faq-item {
        margin: 0 15px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px;
    }
    .page-news__faq-qtext {
        font-size: 16px;
    }
    .page-news__faq-toggle {
        font-size: 20px;
        width: 24px;
    }
    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }
    .page-news__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}