/* style/blog-chien-thuat-thang-tai-32vin.css */

/* General Page Styles */
.page-blog-chien-thuat-thang-tai-32vin {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main-color, #F3F8FF); /* Default text color for dark background */
    background-color: var(--card-bg-color, #10233F); /* Inherited from shared.css body */
}

.page-blog-chien-thuat-thang-tai-32vin__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-blog-chien-thuat-thang-tai-32vin__hero-section {
    padding-top: 10px; /* Specific top padding, not var(--header-offset) */
    padding-bottom: 60px;
    text-align: center;
    background-color: var(--deep-navy-color, #08162B); /* Use a darker background for hero */
    color: var(--text-main-color, #F3F8FF);
}

.page-blog-chien-thuat-thang-tai-32vin__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold-color, #F2C14E); /* Use gold for main title */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-blog-chien-thuat-thang-tai-32vin__subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary-color, #AFC4E8);
}

.page-blog-chien-thuat-thang-tai-32vin__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 600px; /* Limit max width for button group */
    margin: 0 auto;
    box-sizing: border-box;
}

/* Buttons */
.page-blog-chien-thuat-thang-tai-32vin__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure text wraps within the button */
    text-align: center;
}

.page-blog-chien-thuat-thang-tai-32vin__btn--primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: var(--text-main-color, #F3F8FF);
    border: none;
    box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-blog-chien-thuat-thang-tai-32vin__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

.page-blog-chien-thuat-thang-tai-32vin__btn--secondary {
    background: var(--card-bg-color, #10233F); /* Dark background with border */
    color: var(--glow-color, #4FA8FF);
    border: 2px solid var(--border-color, #244D84);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-chien-thuat-thang-tai-32vin__btn--secondary:hover {
    transform: translateY(-2px);
    background-color: var(--primary-color, #113B7A);
    color: var(--text-main-color, #F3F8FF);
    border-color: var(--primary-color, #113B7A);
}

/* Content Section */
.page-blog-chien-thuat-thang-tai-32vin__content-section {
    padding: 60px 0;
    background-color: var(--card-bg-color, #10233F); /* Main content background */
    color: var(--text-main-color, #F3F8FF);
}

.page-blog-chien-thuat-thang-tai-32vin__article-wrap {
    max-width: 900px; /* Slightly narrower for readability */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-chien-thuat-thang-tai-32vin__article p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: var(--text-secondary-color, #AFC4E8);
}

.page-blog-chien-thuat-thang-tai-32vin__article strong {
    color: var(--text-main-color, #F3F8FF);
}

.page-blog-chien-thuat-thang-tai-32vin__section-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 25px;
    color: var(--gold-color, #F2C14E);
    border-bottom: 2px solid var(--divider-color, #1B3357);
    padding-bottom: 10px;
}

.page-blog-chien-thuat-thang-tai-32vin__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--glow-color, #4FA8FF);
}

/* Images and Figures */
.page-blog-chien-thuat-thang-tai-32vin__figure {
    margin: 30px 0;
    text-align: center;
}

.page-blog-chien-thuat-thang-tai-32vin__figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-blog-chien-thuat-thang-tai-32vin__figcaption {
    font-size: 0.95em;
    color: var(--text-secondary-color, #AFC4E8);
    margin-top: 10px;
    font-style: italic;
}

/* Promo Box */
.page-blog-chien-thuat-thang-tai-32vin__promo-box {
    background-color: var(--deep-navy-color, #08162B);
    border: 1px solid var(--border-color, #244D84);
    border-radius: 10px;
    padding: 30px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-blog-chien-thuat-thang-tai-32vin__promo-title {
    font-size: 2em;
    color: var(--gold-color, #F2C14E);
    margin-bottom: 15px;
}

.page-blog-chien-thuat-thang-tai-32vin__promo-text {
    font-size: 1.1em;
    color: var(--text-secondary-color, #AFC4E8);
    margin-bottom: 30px;
}

/* Related Posts */
.page-blog-chien-thuat-thang-tai-32vin__related-posts {
    padding: 60px 0;
    background-color: var(--deep-navy-color, #08162B);
    color: var(--text-main-color, #F3F8FF);
    text-align: center;
}

.page-blog-chien-thuat-thang-tai-32vin__post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-chien-thuat-thang-tai-32vin__post-card {
    background-color: var(--card-bg-color, #10233F);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.page-blog-chien-thuat-thang-tai-32vin__post-card:hover {
    transform: translateY(-5px);
}

.page-blog-chien-thuat-thang-tai-32vin__post-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-blog-chien-thuat-thang-tai-32vin__post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-blog-chien-thuat-thang-tai-32vin__post-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    flex-grow: 1;
}

.page-blog-chien-thuat-thang-tai-32vin__post-title a {
    color: var(--glow-color, #4FA8FF);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog-chien-thuat-thang-tai-32vin__post-title a:hover {
    color: var(--gold-color, #F2C14E);
}

.page-blog-chien-thuat-thang-tai-32vin__post-excerpt {
    font-size: 0.95em;
    color: var(--text-secondary-color, #AFC4E8);
    margin-bottom: 15px;
}

.page-blog-chien-thuat-thang-tai-32vin__read-more {
    display: inline-block;
    color: var(--glow-color, #4FA8FF);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-top: auto; /* Push to bottom */
}

.page-blog-chien-thuat-thang-tai-32vin__read-more:hover {
    color: var(--gold-color, #F2C14E);
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-chien-thuat-thang-tai-32vin__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }

    .page-blog-chien-thuat-thang-tai-32vin__section-title {
        font-size: 2em;
    }

    .page-blog-chien-thuat-thang-tai-32vin__sub-title {
        font-size: 1.4em;
    }

    .page-blog-chien-thuat-thang-tai-32vin__hero-section {
        padding-bottom: 40px;
    }

    .page-blog-chien-thuat-thang-tai-32vin__content-section,
    .page-blog-chien-thuat-thang-tai-32vin__related-posts {
        padding: 40px 0;
    }

    .page-blog-chien-thuat-thang-tai-32vin__post-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    /* 1. 顶区标题 + 双 CTA */
    .page-blog-chien-thuat-thang-tai-32vin__hero-section {
        padding-top: 10px !important; /* Specific top padding, not var(--header-offset) */
        padding-bottom: 30px !important;
    }

    .page-blog-chien-thuat-thang-tai-32vin__main-title {
        font-size: clamp(1.8em, 6vw, 2.2em) !important; /* Adjust H1 for mobile */
        margin-bottom: 15px !important;
    }

    .page-blog-chien-thuat-thang-tai-32vin__subtitle {
        font-size: 1em !important;
        margin-bottom: 25px !important;
    }

    .page-blog-chien-thuat-thang-tai-32vin__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        max-width: 90% !important; /* Adjust max-width for smaller screens */
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}