/* Extracted from article-1.html */
.article-wrapper {
                overflow: hidden;
            }

            .article-header {
                background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
                padding: 40px;
                border-bottom: 1px solid var(--border-color);
            }

            .badge-cat {
                background: var(--accent-gold);
                color: #000;
                padding: 4px 12px;
                border-radius: 20px;
                font-weight: 600;
                font-size: 0.85rem;
                display: inline-block;
                margin-bottom: 16px;
            }

            .meta-item {
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .safety-bar {
                display: flex;
                gap: 4px;
            }

            .dot {
                width: 12px;
                height: 12px;
                border-radius: 50%;
                background: #333;
            }

            .dot.filled {
                background: #22c55e;
                /* Green for safe */
            }

            /* If rating is low, maybe change color logic via PHP classes, but simple green bar is ok for now */

            .grid-layout {
                display: grid;
                grid-template-columns: 2fr 1fr;
                gap: 40px;
                padding: 40px;
            }

            .hero-image {
                width: 100%;
                height: 400px;
                background: #111;
                border-radius: var(--radius-md);
                display: flex;
                align-items: center;
                justify-content: center;
                color: #555;
                border: 1px dashed #333;
            }

            .content-block {
                margin-bottom: 30px;
            }

            .content-block h3 {
                color: var(--accent-gold);
                border-left: 3px solid var(--accent-gold);
                padding-left: 12px;
                margin-bottom: 16px;
            }

            .fun-fact-box {
                background: rgba(34, 211, 238, 0.1);
                border: 1px solid rgba(34, 211, 238, 0.2);
                padding: 20px;
                border-radius: var(--radius-md);
            }

            .fun-fact-box h4 {
                color: var(--accent-cyan);
                margin-bottom: 10px;
            }

            .sidebar-widget h4 {
                border-bottom: 1px solid var(--border-color);
                padding-bottom: 10px;
                margin-bottom: 20px;
            }

            .related-list li {
                margin-bottom: 12px;
            }

            .related-list a {
                display: block;
                padding: 10px;
                background: rgba(255, 255, 255, 0.03);
                border-radius: 8px;
            }

            .related-list a:hover {
                background: rgba(255, 255, 255, 0.08);
            }

            .related-name {
                display: block;
                font-weight: 600;
            }

            .related-cat {
                font-size: 0.8rem;
            }

            @media (max-width: 768px) {
                .grid-layout {
                    grid-template-columns: 1fr;
                    padding: 20px;
                }

                .hero-image {
                    height: 250px;
                }
            }

/* Extracted from culture.html */
.culture-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 40px;
                /* Increased from 20px */
                margin-bottom: 60px;
                /* Added spacing after grid */
            }

            .timeline {
                border-left: 2px solid var(--accent-gold);
                padding-left: 30px;
                /* Increased from 20px */
                margin-left: 15px;
            }

            .timeline-item {
                margin-bottom: 35px;
                /* Increased from 20px */
                position: relative;
                padding-left: 10px;
                /* Added internal padding */
            }

            .timeline-item::before {
                content: '';
                position: absolute;
                left: -36px;
                /* Adjusted for new padding/border */
                top: 6px;
                width: 12px;
                height: 12px;
                background: var(--accent-gold);
                border-radius: 50%;
                box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
                /* Added glow */
            }

            @media (max-width: 600px) {
                .row {
                    flex-direction: column;
                }
            }

/* Extracted from faq.html */
.faq-card {
        margin-bottom: 30px;
        padding: 30px;
        transition: transform 0.2s ease;
      }

      .faq-card:hover {
        transform: translateY(-5px);
        background: rgba(30, 30, 35, 0.8);
      }

/* Extracted from index.html */
/* Page Specific Styles */
            /* Page Specific Styles */
            /* Page Specific Styles */
            /* Page Specific Styles */
            /* Page Specific Styles */
            .hero-section {
                position: relative;
                width: 100%;
                height: 85vh;
                /* Standard professional height */
                min-height: 550px;
                display: flex;
                align-items: center;
                justify-content: center;
                overflow: hidden;
                margin-top: -70px;
                background-color: #000;
            }

            .hero-bg {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: radial-gradient(circle at center, #1a1a2e 0%, #000 100%);
                background-image: url('images/hero-bg.png');
                /* Restored original image */
                background-size: cover;
                background-position: center 30%;
                /* Optimal focal point */
                background-repeat: no-repeat;
                z-index: 0;
            }

            /* Editorial Style Utilities */
            .border-gold-left {
                border-left: 4px solid var(--color-gold);
            }

            @media (max-width: 768px) {
                .hero-section {
                    aspect-ratio: unset;
                    /* Mobile handles vertical height better */
                    height: 70vh;
                    min-height: 500px;
                }

                .hero-bg {
                    background-size: cover;
                    background-position: center bottom;
                }
            }

            .hero-overlay {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.5);
                z-index: 1;
            }

            .hero-title {
                font-size: 3.5rem;
                margin-bottom: 1.5rem;
                text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
                position: relative;
                z-index: 2;
            }

            .hero-subtitle {
                font-size: 1.25rem;
                color: var(--text-secondary);
                margin-bottom: 2rem;
                max-width: 600px;
                margin-left: auto;
                margin-right: auto;
                position: relative;
                z-index: 2;
            }

            .hero-actions {
                display: flex;
                gap: 20px;
                justify-content: center;
                position: relative;
                z-index: 2;
            }

            .section-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 40px;
            }

            .news-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 30px;
            }

            .news-img {
                height: 200px;
                background-size: cover;
                background-position: center;
                width: 100%;
            }

            .fw-image {
                height: 180px;
                background-size: cover;
                background-position: center;
                width: 100%;
                background-color: #222;
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            }

            .fireworks-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 30px;
            }

            .news-card {
                overflow: hidden;
                transition: transform 0.3s ease, box-shadow 0.3s ease;
                border: 1px solid rgba(255, 255, 255, 0.05);
            }

            .news-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
            }





            .news-content {
                padding: 25px;
            }

            .news-date {
                display: block;
                font-size: 0.8rem;
                letter-spacing: 1px;
                color: var(--color-gold);
                /* Gold date looks more premium */
                margin-bottom: 10px;
                opacity: 0.8;
            }

            /* Polish the Featured Guide Block */
            .featured-news .glass-panel {
                background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
                border: 1px solid rgba(255, 215, 0, 0.1);
                /* Subtle gold border */
            }

            .badge-gold {
                background: rgba(255, 215, 0, 0.15);
                color: var(--color-gold);
                padding: 5px 12px;
                border-radius: 20px;
                font-size: 0.85rem;
                font-weight: 600;
                border: 1px solid rgba(255, 215, 0, 0.3);
            }

            .bg-panel {
                background-color: var(--bg-panel);
            }

            .grid-2-col {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 40px;
            }

            .feature-box {
                border-radius: var(--radius-md);
            }

            @media (max-width: 768px) {
                .hero-title {
                    font-size: 2.5rem;
                }

                .grid-2-col {
                    grid-template-columns: 1fr;
                }
            }

/* Extracted from news-detail-1.html */
.article-wrapper {
                max-width: 900px;
                margin: 0 auto;
                border-radius: var(--radius-lg);
                overflow: hidden;
            }

            .article-header {
                background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
                padding: 60px 20px 40px;
                border-bottom: 1px solid var(--border-color);
            }

            .badge-cat {
                background: rgba(255, 255, 255, 0.1);
                color: var(--accent-cyan);
                padding: 4px 12px;
                border-radius: 20px;
                font-weight: 600;
                font-size: 0.9rem;
                display: inline-block;
                border: 1px solid rgba(34, 211, 238, 0.3);
            }

            .article-header h1 {
                font-size: 2.2rem;
                font-weight: 700;
                line-height: 1.3;
                color: #fff;
            }

            .article-body {
                padding: 50px;
                font-size: 1.1rem;
                line-height: 1.8;
                color: #e0e0e0;
            }

            .content-text h3 {
                color: var(--accent-gold);
                margin-top: 40px;
                margin-bottom: 20px;
                font-size: 1.5rem;
                border-left: 4px solid var(--accent-gold);
                padding-left: 15px;
            }

            .content-text p {
                margin-bottom: 20px;
                text-align: justify;
            }

            .content-text ul {
                margin-bottom: 20px;
                padding-left: 20px;
                list-style-type: disc;
            }

            .content-text ul li {
                margin-bottom: 10px;
            }

            .lead {
                font-size: 1.25rem;
                font-weight: 300;
                margin-bottom: 30px;
                color: #fff;
            }

            .btn-outline-gold {
                border: 1px solid var(--accent-gold);
                color: var(--accent-gold);
                padding: 10px 24px;
                border-radius: 30px;
                transition: all 0.3s;
                text-decoration: none;
                display: inline-block;
            }

            .btn-outline-gold:hover {
                background: var(--accent-gold);
                color: #000;
            }

            .alert-info {
                background-color: rgba(6, 182, 212, 0.1);
                border: 1px solid rgba(6, 182, 212, 0.2);
                color: #cffafe;
                padding: 20px;
                border-radius: 8px;
            }

            .hover-gold:hover {
                color: var(--accent-gold);
            }

            @media (max-width: 768px) {
                .article-body {
                    padding: 30px 20px;
                }

                .article-header h1 {
                    font-size: 1.6rem;
                }
            }

/* Extracted from news.html */
.news-list {
                display: flex;
                flex-direction: column;
                gap: 30px;
            }

            .news-list-item {
                display: flex;
                gap: 30px;
                align-items: center;
                transition: all 0.3s ease;
                border-left: 4px solid transparent;
                color: inherit;
                /* Ensure text color inherits */
            }

            .news-list-item:hover {
                border-left-color: var(--accent-gold);
                background: rgba(255, 255, 255, 0.05);
                transform: translateX(5px);
            }

            .news-list-img {
                width: 240px;
                height: 160px;
                border-radius: 8px;
                overflow: hidden;
                flex-shrink: 0;
            }

            .badge-type {
                background: rgba(34, 211, 238, 0.1);
                padding: 4px 10px;
                border-radius: 4px;
                font-size: 0.85rem;
                color: var(--accent-cyan);
                font-weight: 500;
                border: 1px solid rgba(34, 211, 238, 0.2);
            }

            .hover-gold {
                transition: color 0.2s;
            }

            .news-list-item:hover .hover-gold {
                color: var(--accent-gold);
            }

            @media (max-width: 768px) {
                .news-list-item {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 20px;
                }

                .news-list-img {
                    width: 100%;
                    height: 220px;
                }
            }

/* Extracted from safety.html */
.section-heading {
                border-bottom: 1px solid var(--border-color);
                padding-bottom: 15px;
            }

            .rule-card {
                transition: transform 0.2s;
                margin-bottom: 24px;
                /* Explicit spacing */
            }

            .rule-card:hover {
                transform: translateX(5px);
                border-left: 3px solid var(--accent-gold);
            }

            .check-list li {
                margin-bottom: 10px;
                padding-left: 25px;
                position: relative;
            }

            .check-list li::before {
                content: '✓';
                color: #22c55e;
                position: absolute;
                left: 0;
            }

            .emergency-list li {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 15px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                padding-bottom: 10px;
            }

            .phone-number {
                font-size: 1.5rem;
                font-weight: 700;
                color: var(--accent-red);
            }

            .step-list {
                padding-left: 20px;
            }

            .step-list li {
                margin-bottom: 10px;
            }

            /* Sidebar layout shared with article.php but defined here just in case */
            .grid-layout {
                display: grid;
                grid-template-columns: 2fr 1fr;
                gap: 40px;
            }

            @media (max-width: 768px) {
                .grid-layout {
                    grid-template-columns: 1fr;
                }
            }

/* Extracted from wiki.html */
.wiki-grid {
                display: grid;
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
                gap: 24px;
            }

            .wiki-card {
                display: block;
                border-radius: var(--radius-md);
                overflow: hidden;
                transition: all 0.3s ease;
                height: 100%;
                border: 1px solid transparent;
            }

            .wiki-card:hover {
                transform: translateY(-5px);
                border-color: var(--accent-gold);
                background: rgba(40, 40, 43, 0.8);
            }

            .wiki-img {
                height: 180px;
                background: #222;
                position: relative;
                background-size: cover;
                background-position: center;
            }

            .cat-badge {
                position: absolute;
                top: 10px;
                right: 10px;
                background: rgba(0, 0, 0, 0.7);
                color: var(--accent-gold);
                padding: 4px 8px;
                border-radius: 4px;
                font-size: 0.75rem;
                backdrop-filter: blur(4px);
            }

            .no-image-placeholder {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                background: #333;
                color: #888;
                font-size: 0.9rem;
            }

            .no-image-placeholder .en {
                font-size: 0.8rem;
                opacity: 0.7;
            }

            .wiki-content {
                padding: 16px;
            }

            .wiki-content h3 {
                font-size: 1.1rem;
                margin-bottom: 4px;
            }

            .sub-name {
                color: var(--text-muted);
                font-size: 0.85rem;
                margin-bottom: 12px;
            }

            .desc {
                font-size: 0.9rem;
                color: var(--text-secondary);
                line-height: 1.4;
            }

            .filter-tags {
                display: flex;
                justify-content: center;
                gap: 10px;
                flex-wrap: wrap;
            }

            .tag {
                padding: 8px 16px;
                border-radius: 20px;
                background: rgba(255, 255, 255, 0.05);
                color: var(--text-secondary);
                font-size: 0.9rem;
                transition: all 0.2s;
            }

            .tag:hover,
            .tag.active {
                background: var(--accent-gold);
                color: #000;
            }
