/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red-vietnam: #DA251D;
    --yellow-vietnam: #FFCD00;
    --dark-red: #b91c1c;
    --light-red: #ef4444;
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--red-vietnam), var(--yellow-vietnam));
    margin: 0 auto 3rem;
}

/* ===== Header & Navigation ===== */
#header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

#header.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark-gray);
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--red-vietnam);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red-vietnam);
}

.nav-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.nav-info i {
    color: var(--red-vietnam);
    margin-right: 5px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== Hero Section ===== */
.hero {
    padding-top: 100px;
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
}

/* ===== Hero Background con Estrella Grande y Difusa ===== */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #DA251D;
    background: linear-gradient(135deg, #DA251D 0%, #b91c1c 100%);
    z-index: -2;
    overflow: hidden;
}

.hero-star {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: url('../img/Emblem_of_Vietnam.svg.png') no-repeat center center;
    background-size: contain;
    transform: translate(-50%, -50%);
    opacity: 0.25;
    filter: blur(0px);
    z-index: 0;
    pointer-events: none;
}

.hero-content,
.hero-cards {
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
    margin-bottom: 3rem;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    background: #da251d;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,205,0,0.4);
}

.contact-submit {
    border: 2px solid #c11e1c !important;
    outline: none !important;
}

.contact-submit:focus,
.contact-submit:active {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(193, 30, 28, 0.3) !important;
}

/* Contenedor de tarjetas - CORREGIDO para responsive */
.hero-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap; /* CAMBIO CRÍTICO: de nowrap a wrap */
    padding: 1rem 0;
}

.info-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1.5rem;
    border-radius: 10px;
    color: var(--white);
    text-align: center;
    min-width: 220px;
    max-width: 250px;
    flex: 1;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.info-card i {
    font-size: 1.8rem;
    color: var(--yellow-vietnam);
    margin-bottom: 0.8rem;
}

.info-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-card p {
    font-size: 0.85rem;
    opacity: 0.95;
    line-height: 1.4;
}

/* ===== MEDIA QUERIES PARA RESPONSIVE ===== */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cards {
        gap: 1.5rem;
    }
    
    .info-card {
        min-width: 200px;
        max-width: 230px;
    }
    
    .hero-star {
        width: 500px;
        height: 500px;
    }
}

/* Tablets pequeñas (600px - 768px) */
@media (max-width: 768px) {
    .hero {
        padding-top: 150px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .hero-cards {
        gap: 1rem;
        padding: 1rem;
    }
    
    .info-card {
        min-width: 160px;
        max-width: 200px;
        padding: 1.2rem;
    }
    
    .info-card i {
        font-size: 1.5rem;
    }
    
    .info-card h3 {
        font-size: 0.9rem;
    }
    
    .info-card p {
        font-size: 0.8rem;
    }
    
    .hero-star {
        width: 400px;
        height: 400px;
    }
}

/* Móviles (menor a 600px) */
@media (max-width: 600px) {
    .hero {
        padding-top: 125px;
        min-height: auto;
        padding-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .hero-cards {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0.5rem;
    }
    
    .info-card {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        flex: none;
    }
    
    .hero-star {
        width: 300px;
        height: 300px;
        filter: blur(60px);
    }
}

/* Móviles muy pequeños (menor a 400px) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .hero-star {
        width: 250px;
        height: 250px;
    }
}


/* ===== Services Section ===== */
/* ===== Services Section - 4 columnas (2 filas de 4) ===== */
.services {
    padding: 5rem 0;
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    background: var(--red-vietnam);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-card p {
    font-size: 0.9rem;
    color: #666;
}

/* ===== News Section - 4 cards con imágenes 1500x750 escaladas ===== */
.news {
    padding: 5rem 0;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--white);
    z-index: 2;
}

.tag-green {
    background: #4CAF50;
}

.tag-blue {
    background: #2196F3;
}

.tag-orange {
    background: #FF9800;
}

.news-image {
    width: 100%;
    height: 200px; /* Altura fija para mantener proporción (1500x750 = 2:1) */
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.news-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.news-link {
    color: var(--red-vietnam);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.news-link:hover {
    text-decoration: underline;
}

.more-news {
    text-align: center;
    margin-top: 3rem;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--red-vietnam);
    color: var(--red-vietnam);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background: var(--red-vietnam);
    color: var(--white);
}

/* Responsive: 2 columnas en medianas, 1 en pequeñas */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-image {
        height: 250px; /* Ajuste para móviles */
    }
}

/* ===== Contact Section ===== */
.contact {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--red-vietnam);
    font-size: 1.5rem;
    margin-top: 0.3rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.contact-item p {
    color: #666;
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Contact Form ===== */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red-vietnam);
    box-shadow: 0 0 0 3px rgba(218, 37, 29, 0.1);
}

.captcha-group {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
}

.captcha-group label {
    font-weight: 600;
    color: #333;
}

.captcha-group input {
    margin-top: 0.5rem;
    max-width: 100px;
}

.contact-submit {
    width: 100%;
    margin-top: 1rem;
    border: 2px solid #c11e1c !important;
}

.form-message {
    text-align: center;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper,
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== External Link ===== */
.external-link {
    background: var(--red-vietnam);
    padding: 1.5rem 0;
    text-align: center;
}

.external-link a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease;
}

.external-link a:hover {
    opacity: 0.8;
}

/* ===== Footer ===== */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    color: #999;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--yellow-vietnam);
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--red-vietnam);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    color: #666;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--red-vietnam);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.back-to-top:hover {
    background: var(--dark-red);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-info {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cards {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive: en pantallas pequeñas, permite scroll horizontal */
@media (max-width: 992px) {
    .hero-cards {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hero-cards::-webkit-scrollbar {
        display: none;
    }
    .info-card {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-cards {
        gap: 1.5rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive: ajustar tamaño de estrella en pantallas pequeñas */
@media (max-width: 1200px) {
    .hero-star {
        width: 500px;
        height: 500px;
        filter: blur(70px);
    }
}

@media (max-width: 992px) {
    .hero-star {
        width: 400px;
        height: 400px;
        filter: blur(60px);
    }
}

@media (max-width: 768px) {
    .hero-star {
        width: 350px;
        height: 350px;
        filter: blur(50px);
    }
}

/* Responsive: en pantallas medianas, 2 columnas (4 filas) */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: en pantallas pequeñas, 1 columna (8 filas) */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== BLOG POST LAYOUT ===== */
.blog-post {
    padding: 6.5rem 0;
    background: #f8f9fa;
}

.blog-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.blog-content {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    line-height: 1.7;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.category-tag {
    background: var(--red-vietnam);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.blog-content h1 {
    font-size: 2.2rem;
    margin: 1rem 0 1.5rem;
    color: var(--dark-gray);
    line-height: 1.3;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.content-image {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.lead {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fff8f0;
    border-left: 4px solid var(--red-vietnam);
    border-radius: 0 8px 8px 0;
}

.check-list {
    background: #f0f8ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.check-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.8rem;
}

.check-list li::before {
    content: "✓";
    color: var(--red-vietnam);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.warning {
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin: 1.5rem 0;
}

.visa-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.visa-table th,
.visa-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.visa-table th {
    background: var(--red-vietnam);
    color: white;
    font-weight: 600;
}

.visa-table tbody tr:hover {
    background: #f9f9f9;
}

.cta-section {
    background: linear-gradient(135deg, #f8d7da, #f1c0c0);
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    text-align: center;
    border: 1px solid #f5c6cb;
}

.cta-section h2 {
    color: var(--red-vietnam);
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-primary, .btn-secondary, .btn-tertiary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--red-vietnam);
    color: white;
}

.btn-primary:hover {
    background: #c11e1c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--red-vietnam);
    border: 2px solid var(--red-vietnam);
}

.btn-secondary:hover {
    background: var(--red-vietnam);
    color: white;
}

.btn-tertiary {
    background: #e9ecef;
    color: #495057;
}

.btn-tertiary:hover {
    background: #ced4da;
}

.faq {
    margin: 3rem 0;
}

.faq h2 {
    color: var(--red-vietnam);
    margin-bottom: 1.5rem;
}

details {
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

summary {
    background: #f8f9fa;
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

summary:hover {
    background: #e9ecef;
}

details[open] summary {
    background: var(--red-vietnam);
    color: white;
}

details p {
    padding: 1rem;
    background: white;
    margin: 0;
}

.tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.tags span {
    background: #e9ecef;
    color: #495057;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== SIDEBAR ===== */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    color: var(--red-vietnam);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.category-list a:hover {
    color: var(--red-vietnam);
}

.banner img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.banner a:hover img {
    transform: scale(1.03);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .blog-wrapper {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .blog-content {
        padding: 1.5rem;
    }
    
    .blog-content h1 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary, .btn-tertiary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}