/* General page styling */
.page-tin-tuc {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F3F8FF; /* Text Main */
    background: var(--deep-navy-color); /* Assuming shared.css defines --deep-navy-color as a dark background */
}

.page-tin-tuc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-tin-tuc__section {
    padding: 60px 0;
}

.page-tin-tuc__section-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #F2C14E; /* Gold */
}

.page-tin-tuc__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #AFC4E8; /* Text Secondary */
}

/* Hero Section */
.page-tin-tuc__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, assuming body already handles --header-offset */
    margin-bottom: 40px;
}

.page-tin-tuc__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for desktop */
    overflow: hidden;
    position: relative;
}

.page-tin-tuc__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover for desktop */
    display: block;
}

.page-tin-tuc__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-tin-tuc__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #F2C14E; /* Gold */
}

.page-tin-tuc__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #AFC4E8; /* Text Secondary */
}

.page-tin-tuc__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-tin-tuc__cta-buttons--center {
    margin-top: 40px;
}

.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary,
.page-tin-tuc__read-more-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For button responsiveness */
    white-space: normal;
    word-wrap: break-word;
}

.page-tin-tuc__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__btn-secondary {
    background: #10233F; /* Card BG */
    color: #F3F8FF; /* Text Main */
    border: 2px solid #244D84; /* Border */
}

.page-tin-tuc__btn-secondary:hover {
    background: #1B3357; /* Divider */
    color: #F2C14E; /* Gold */
}

.page-tin-tuc__read-more-link {
    background: transparent;
    color: #4FA8FF; /* Glow */
    border: 1px solid #4FA8FF;
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 5px;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.page-tin-tuc__read-more-link:hover {
    background: #4FA8FF;
    color: #08162B; /* Deep Navy */
}

/* Highlights Section */
.page-tin-tuc__highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tin-tuc__highlight-item.page-tin-tuc__card {
    background: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tuc__highlight-item.page-tin-tuc__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc__highlight-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
}

.page-tin-tuc__highlight-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2C14E; /* Gold */
}

.page-tin-tuc__highlight-text {
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
}

/* Article Section */
.page-tin-tuc__article-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__article-body p {
    margin-bottom: 1em;
    font-size: 17px;
    color: #AFC4E8; /* Text Secondary */
}

.page-tin-tuc__article-body strong {
    color: #F3F8FF; /* Text Main */
}

.page-tin-tuc__article-subtitle {
    font-size: 28px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #F2C14E; /* Gold */
}

.page-tin-tuc__article-figure {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
    object-fit: cover;
}

/* Benefits Section */
.page-tin-tuc__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-tin-tuc__benefits-item {
    background: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-tin-tuc__benefits-image {
    width: 100%;
    height: auto;
    max-width: 300px; /* Ensure image fits */
    max-height: 200px; /* Ensure image fits */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-tin-tuc__benefits-text {
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
}

.page-tin-tuc__benefits-text strong {
    color: #F3F8FF; /* Text Main */
}

/* Access Guide Section */
.page-tin-tuc__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tin-tuc__guide-step-item.page-tin-tuc__card {
    background: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc__guide-step-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2C14E; /* Gold */
}

.page-tin-tuc__guide-step-text {
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 20px;
}

/* FAQ Section */
.page-tin-tuc__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

details.page-tin-tuc__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
}
details.page-tin-tuc__faq-item summary.page-tin-tuc__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-tin-tuc__faq-item summary.page-tin-tuc__faq-question::-webkit-details-marker {
  display: none;
}
details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question:hover {
  background: #1B3357; /* Divider - slightly darker */
}
.page-tin-tuc__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}
.page-tin-tuc__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-tin-tuc__faq-item .page-tin-tuc__faq-answer {
  padding: 0 20px 20px;
  background: #08162B; /* Deep Navy - slightly darker for contrast */
  border-radius: 0 0 5px 5px;
}
.page-tin-tuc__faq-answer p {
    color: #AFC4E8; /* Text Secondary */
    font-size: 16px;
}

/* Conclusion Section - uses general section/title/description styles */

/* Global image styles for content area */
.page-tin-tuc img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tin-tuc__container {
        padding: 15px;
    }

    .page-tin-tuc__section-title {
        font-size: 32px;
    }

    .page-tin-tuc__main-title {
        font-size: clamp(2em, 4vw, 3em);
    }
    
    .page-tin-tuc__hero-image-wrapper {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-tin-tuc__hero-section {
        padding-top: 10px; /* Small top padding, assuming body already handles --header-offset */
        margin-bottom: 20px;
    }
    .page-tin-tuc__hero-image-wrapper {
        max-height: 300px;
    }
    .page-tin-tuc__hero-image {
        object-fit: contain !important; /* Mobile hero image: contain, no cropping */
        aspect-ratio: unset !important; /* Remove aspect ratio if set elsewhere */
        width: 100% !important;
        height: auto !important;
    }
    .page-tin-tuc__hero-content {
        padding: 20px 15px;
    }
    .page-tin-tuc__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }
    .page-tin-tuc__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-tin-tuc__cta-buttons {
        flex-direction: column; /* Buttons stack vertically on mobile */
        gap: 10px;
        padding: 0 15px; /* Add padding to button container */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    /* 按钮与按钮容器 */
    .page-tin-tuc__btn-primary,
    .page-tin-tuc__btn-secondary,
    .page-tin-tuc__read-more-link {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto; /* Center buttons if flex-direction column */
        margin-right: auto;
    }

    /* 产品展示图区域 (Highlights Grid) */
    .page-tin-tuc__highlights-grid {
        grid-template-columns: 1fr; /* Single column for highlights on mobile */
        gap: 20px;
        padding: 0 15px; /* Add padding to grid container */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-tin-tuc__section {
        padding: 40px 0;
    }
    .page-tin-tuc__section-title {
        font-size: 28px;
        line-height: 1.3;
        padding: 0 15px; /* Ensure title has side padding */
    }
    .page-tin-tuc__section-description {
        font-size: 16px;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    .page-tin-tuc__article-body {
        padding: 15px;
        border-radius: 8px;
        margin: 0 15px;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-tin-tuc__article-body p,
    .page-tin-tuc__article-body li {
        font-size: 15px;
    }
    .page-tin-tuc__article-subtitle {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-tin-tuc__article-figure {
        margin: 15px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain; /* Ensure article images are contained */
    }

    /* 通用图片与容器 */
    .page-tin-tuc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-tin-tuc__card,
    .page-tin-tuc__container,
    .page-tin-tuc__highlights-section,
    .page-tin-tuc__article-section,
    .page-tin-tuc__benefits-section,
    .page-tin-tuc__access-guide-section,
    .page-tin-tuc__faq-section,
    .page-tin-tuc__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll for all main sections */
    }
    .page-tin-tuc__benefits-list {
        grid-template-columns: 1fr; /* Single column for benefits on mobile */
        gap: 20px;
        padding: 0;
    }
    .page-tin-tuc__benefits-item {
        padding: 20px;
    }
    .page-tin-tuc__benefits-image {
        max-width: 250px;
        max-height: 150px;
    }
    .page-tin-tuc__guide-steps {
        grid-template-columns: 1fr; /* Single column for guide steps on mobile */
        gap: 20px;
        padding: 0;
    }
    .page-tin-tuc__guide-step-item.page-tin-tuc__card {
        padding: 20px;
    }
    .page-tin-tuc__faq-list {
        margin-top: 30px;
        padding: 0;
    }
}