/* ===========================
   Asian In Portugal — Stylesheet
   Primary: #059468
   Secondary: #b02422
   Portugal flag: green, red, yellow
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: default;
}

/* Portugal flag custom cursor accent on links */
a, button, .btn { cursor: pointer; }

::selection {
    background: #059468;
    color: #fff;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* --- Utility --- */
.text-primary { color: #059468; }
.text-danger { color: #b02422; }

/* --- Top Bar --- */
.top-bar {
    background: linear-gradient(90deg, #004d28 0%, #0f172a 40%, #0f172a 60%, #6b1412 100%);
    color: #94a3b8;
    font-size: 0.8rem;
    padding: 8px 0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left {
    display: flex;
    gap: 20px;
}
.top-bar-left i { color: #059468; margin-right: 6px; }
.top-bar-right { display: flex; gap: 12px; }
.top-bar-right a {
    color: #94a3b8;
    transition: color 0.3s;
    font-size: 0.9rem;
}
.top-bar-right a:hover { color: #059468; }

/* --- Header / Nav --- */
.header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
    transition: box-shadow 0.3s;
}
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; }
.logo-main {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #0f172a;
    line-height: 1.2;
}
.logo-sub {
    font-size: 0.7rem;
    color: #64748b;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #475569;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: #059468;
    background: rgba(5,148,104,0.06);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #059468;
    border-radius: 3px;
}

/* --- Highlighted News Nav Button --- */
.nav-news-btn {
    background: linear-gradient(135deg, #da291c, #b02422) !important;
    color: #fff !important;
    border-radius: 25px !important;
    padding: 7px 18px !important;
    font-weight: 600 !important;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(218,41,28,0.3);
    animation: newsGlow 2s ease-in-out infinite;
}
.nav-news-btn:hover {
    background: linear-gradient(135deg, #b02422, #8b1a19) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(218,41,28,0.45);
}
.nav-news-btn.active {
    background: linear-gradient(135deg, #da291c, #b02422) !important;
    color: #fff !important;
}
.nav-news-btn.active::after {
    display: none !important;
}
.nav-news-btn i {
    font-size: 0.8rem;
}
.nav-news-badge {
    display: inline-block;
    background: #FFD100;
    color: #1e293b;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    animation: badgePulse 1.5s ease-in-out infinite;
}
@keyframes newsGlow {
    0%, 100% { box-shadow: 0 2px 12px rgba(218,41,28,0.3); }
    50% { box-shadow: 0 2px 20px rgba(218,41,28,0.5); }
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.btn-join-community {
    padding: 8px 18px;
    font-size: 0.82rem;
    margin-left: 8px;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}
.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: #0f172a;
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-primary {
    background: #059468;
    color: #fff;
    border-color: #059468;
}
.btn-primary:hover {
    background: #047857;
    border-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5,148,104,0.3);
}
.btn-outline {
    background: transparent;
    color: #059468;
    border-color: #059468;
}
.btn-outline:hover {
    background: #059468;
    color: #fff;
    transform: translateY(-2px);
}
.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}
.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* --- Hero --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, #002b14 0%, #003d1e 30%, #0f172a 60%, #3d0c0b 100%);
    color: #fff;
    padding: 100px 0 120px;
    overflow: hidden;
    min-height: 600px;
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 85%, rgba(0,98,51,0.25) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(218,41,28,0.18) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(255,209,0,0.05) 0%, transparent 60%);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    background: rgba(5,148,104,0.2);
    color: #34d399;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(5,148,104,0.3);
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.hero .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.hero .btn-outline:hover {
    background: #da291c;
    border-color: #da291c;
    color: #fff;
}

.hero-stats {
    display: flex;
    gap: 40px;
}
.hero-stat { text-align: center; }
.hero-stat-number, .hero-stat-number2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}
.hero-stat-plus, .hero-stat-slash {
    font-size: 1.4rem;
    font-weight: 700;
    color: #059468;
}
.hero-stat-label {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 4px;
}

/* Hero Visual - floating cards */
.hero-visual {
    position: relative;
    height: 420px;
}
.hero-card {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s;
}
.hero-card:hover { transform: scale(1.05); }
.hero-card i {
    font-size: 1.4rem;
    color: #34d399;
}
.hero-card-1 { top: 20px; left: 20px; animation-delay: 0s; }
.hero-card-2 { top: 20px; right: 20px; animation-delay: 1.5s; }
.hero-card-3 { bottom: 100px; left: 0; animation-delay: 3s; }
.hero-card-4 { bottom: 100px; right: 10px; animation-delay: 4.5s; }

.hero-globe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: rgba(5,148,104,0.15);
    animation: spin 30s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
}
.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* --- Quick Links --- */
.quick-links {
    padding: 60px 0;
    background: #fff;
}
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.quick-link-card {
    text-align: center;
    padding: 28px 16px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    background: #fff;
}
.quick-link-card:hover {
    border-color: #059468;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(5,148,104,0.12);
}
.quick-link-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(5,148,104,0.1), rgba(5,148,104,0.05));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.3rem;
    color: #059468;
    transition: all 0.3s;
}
.quick-link-card:hover .quick-link-icon {
    background: #059468;
    color: #fff;
}
.quick-link-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0f172a;
}
.quick-link-card p {
    font-size: 0.78rem;
    color: #64748b;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}
.section:nth-child(even) {
    background: #f8fafc;
}
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
.section-tag {
    display: inline-block;
    background: rgba(5,148,104,0.1);
    color: #059468;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.section-tag-red {
    background: rgba(176,36,34,0.1);
    color: #b02422;
}
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.section-header p {
    color: #64748b;
    font-size: 1.05rem;
}

/* --- Guides --- */
.guide-block {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 36px;
    margin-bottom: 32px;
    transition: box-shadow 0.3s;
}
.guide-block:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.guide-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}
.guide-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, #059468, #047857);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
}
.guide-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
}
.guide-header p {
    color: #64748b;
    font-size: 0.92rem;
    margin-top: 2px;
}

.guide-steps {
    position: relative;
    padding-left: 28px;
}
.guide-steps::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #059468, #e2e8f0);
    border-radius: 2px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
}
.step:last-child { margin-bottom: 0; }
.step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: #059468;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px #fff;
}
.step-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}
.step-content p {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.7;
}

.guide-tip {
    display: flex;
    gap: 14px;
    background: linear-gradient(135deg, rgba(5,148,104,0.06), rgba(5,148,104,0.02));
    border: 1px solid rgba(5,148,104,0.15);
    border-radius: 12px;
    padding: 18px 22px;
    margin-top: 24px;
    align-items: flex-start;
}
.guide-tip i {
    color: #059468;
    font-size: 1.2rem;
    margin-top: 2px;
}
.guide-tip p {
    font-size: 0.9rem;
    color: #475569;
}

/* --- Tips Grid --- */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.tip-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
}
.tip-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border-color: #059468;
}
.tip-icon {
    width: 48px;
    height: 48px;
    background: rgba(5,148,104,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #059468;
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.tip-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.tip-card ul { padding-left: 0; }
.tip-card li {
    position: relative;
    padding-left: 20px;
    padding-bottom: 8px;
    font-size: 0.9rem;
    color: #475569;
}
.tip-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #059468;
    border-radius: 50%;
}

/* --- Resources --- */
.resources { background: #f8fafc; }
.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.resource-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.resource-card:hover {
    border-color: #059468;
    box-shadow: 0 8px 30px rgba(5,148,104,0.1);
    transform: translateY(-2px);
}
.resource-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(5,148,104,0.1), rgba(5,148,104,0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #059468;
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.resource-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.resource-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 16px;
    flex: 1;
}
.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #059468;
    font-weight: 600;
    font-size: 0.88rem;
    transition: gap 0.3s;
}
.resource-link:hover { gap: 10px; }

/* --- News Full Page --- */
.news-section {
    padding: 0;
    background: #fff;
}
.news-hero-banner {
    background: linear-gradient(135deg, #006233 0%, #059468 40%, #004d28 100%);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}
.news-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 50%, rgba(218,41,28,0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255,209,0,0.08) 0%, transparent 40%);
}
.news-hero-banner .section-header {
    position: relative;
    z-index: 1;
}
.news-hero-banner .section-header h2 { color: #fff; }
.news-hero-banner .section-header h2 .text-primary { color: #FFD100; }
.news-hero-banner .section-header p { color: rgba(255,255,255,0.75); }
.news-hero-banner .section-tag {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.news-full-page {
    padding: 40px 0 80px;
    background: #f8fafc;
}

.news-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.news-filter {
    padding: 8px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
}
.news-filter:hover, .news-filter.active {
    border-color: #059468;
    color: #059468;
    background: rgba(5,148,104,0.05);
}

.news-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Featured news card */
.news-featured-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s;
}
.news-featured-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.news-featured-banner {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.news-featured-banner i {
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
}
.news-featured-banner .news-category {
    position: absolute;
    top: 16px;
    left: 16px;
}
/* News banner images */
.news-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.news-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}
.news-featured-banner i,
.news-featured-banner .news-category,
.news-grid-banner i,
.news-modal-banner i,
.news-modal-banner .news-category {
    position: relative;
    z-index: 2;
}

.news-featured-body {
    padding: 28px;
}
.news-featured-body .news-date {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 8px;
    display: block;
}
.news-featured-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 12px;
}
.news-featured-body p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.news-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #059468;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s;
}
.news-read-btn:hover { gap: 12px; }

/* News list items */
.news-list-item {
    display: flex;
    gap: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s;
}
.news-list-item:hover {
    border-color: #059468;
    box-shadow: 0 6px 20px rgba(5,148,104,0.08);
    transform: translateX(4px);
}
.news-list-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}
.news-list-icon.immigration { background: linear-gradient(135deg, #059468, #047857); }
.news-list-icon.legal { background: linear-gradient(135deg, #1e40af, #1e3a8a); }
.news-list-icon.community { background: linear-gradient(135deg, #da291c, #b02422); }
.news-list-icon.economy { background: linear-gradient(135deg, #d97706, #b45309); }
.news-list-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.4;
}
.news-list-content p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 6px;
}
.news-list-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: #94a3b8;
}
.news-list-meta .news-category {
    padding: 2px 8px;
    font-size: 0.68rem;
}

.news-category {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.news-category.immigration { background: rgba(5,148,104,0.1); color: #059468; }
.news-category.legal { background: rgba(30,64,175,0.1); color: #1e40af; }
.news-category.community { background: rgba(218,41,28,0.1); color: #da291c; }
.news-category.economy { background: rgba(217,119,6,0.1); color: #d97706; }

.news-loading {
    text-align: center;
    padding: 60px 0;
    color: #94a3b8;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #059468;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
    margin: 0 auto 16px;
}
@keyframes spinner {
    to { transform: rotate(360deg); }
}

.news-sources {
    text-align: center;
    margin-top: 40px;
    padding: 16px;
    background: rgba(5,148,104,0.04);
    border-radius: 12px;
}
.news-sources p { font-size: 0.82rem; color: #64748b; }
.news-sources i { color: #059468; margin-right: 6px; }

/* --- News Modal --- */
.news-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.news-modal.active {
    opacity: 1;
    visibility: visible;
}
.news-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.7);
    backdrop-filter: blur(6px);
}
.news-modal-content {
    position: relative;
    background: #fff;
    border-radius: 24px;
    width: 90%;
    max-width: 780px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0,0,0,0.2);
    transform: translateY(30px);
    transition: transform 0.3s;
}
.news-modal.active .news-modal-content {
    transform: translateY(0);
}
.news-modal-close {
    position: sticky;
    top: 16px;
    float: right;
    margin: 16px 16px 0 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    border: none;
    font-size: 1rem;
    color: #475569;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}
.news-modal-close:hover {
    background: #da291c;
    color: #fff;
}
.news-modal-body {
    padding: 0;
}
.news-modal-banner {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.news-modal-banner i {
    font-size: 3.5rem;
    color: rgba(255,255,255,0.3);
}
.news-modal-banner .news-category {
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 0.78rem;
    padding: 5px 14px;
}
.news-modal-article {
    padding: 36px 40px 48px;
}
.news-modal-article .news-modal-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
}
.news-modal-article .news-modal-meta i { color: #059468; }
.news-modal-article h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 20px;
}
.news-modal-article .article-body {
    font-size: 1rem;
    color: #374151;
    line-height: 1.9;
}
.news-modal-article .article-body p {
    margin-bottom: 16px;
}
.news-modal-article .article-body strong {
    color: #0f172a;
}
.news-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}
.news-modal-tags span {
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
}

/* --- News Engagement & Tracking --- */
.news-engagement-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.news-trackers {
    display: flex;
    gap: 16px;
}
.news-tracker {
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}
.news-tracker i {
    color: #059468;
    font-size: 0.72rem;
}
.news-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}
.news-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    font-size: 0.76rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}
.news-vote-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.news-vote-btn.like.active {
    background: #ecfdf5;
    border-color: #059468;
    color: #059468;
}
.news-vote-btn.dislike.active {
    background: #fef2f2;
    border-color: #da291c;
    color: #da291c;
}
.news-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    font-size: 0.76rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}
.news-share-btn:hover {
    border-color: #059468;
    color: #059468;
    background: #ecfdf5;
}

/* Grid card trackers & actions */
.news-grid-trackers {
    display: flex;
    gap: 14px;
    font-size: 0.74rem;
    color: #94a3b8;
    margin-bottom: 8px;
}
.news-grid-trackers i {
    color: #059468;
    margin-right: 3px;
}
.news-grid-actions {
    display: flex;
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}
.news-grid-actions .news-vote-btn,
.news-grid-actions .news-share-btn {
    padding: 4px 10px;
    font-size: 0.72rem;
}

/* Modal engagement section */
.news-modal-engagement {
    margin-top: 28px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.news-modal-vote-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.modal-vote-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    margin-right: 6px;
}
.news-modal-vote-row .news-vote-btn {
    padding: 6px 16px;
    font-size: 0.82rem;
}
.news-modal-vote-row .news-share-btn {
    padding: 6px 16px;
    font-size: 0.82rem;
    margin-left: auto;
}

/* Source link in modal */
.news-modal-source-link {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}
.news-modal-source-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #059468;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #059468;
    border-radius: 8px;
    transition: all 0.2s;
}
.news-modal-source-link a:hover {
    background: #059468;
    color: #fff;
}

/* Article body source line */
.news-article-source {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.85rem;
    color: #64748b;
}
.news-article-source a {
    color: #059468;
    font-weight: 600;
    text-decoration: none;
}
.news-article-source a:hover {
    text-decoration: underline;
}

/* Weather category styling */
.news-grid-body .news-category.weather { background: #f0f9ff; color: #0369a1; }
.news-list-icon.weather { background: linear-gradient(135deg, #0369a1, #0284c7); }

@media (max-width: 600px) {
    .news-engagement-bar { flex-direction: column; align-items: flex-start; }
    .news-modal-vote-row { flex-direction: column; align-items: flex-start; }
    .news-modal-vote-row .news-share-btn { margin-left: 0; }
    .news-grid-actions { flex-wrap: wrap; }
}

/* --- Emergency --- */
.emergency { background: #fff; }
.emergency-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.emergency-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}
.emergency-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.emergency-critical {
    background: linear-gradient(135deg, #da291c, #b02422);
    color: #fff;
    border: none;
    grid-column: 1 / -1;
}
.emergency-critical .emergency-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.emergency-critical .emergency-number { color: #fff; font-size: 3rem; }
.emergency-critical p:last-child { color: rgba(255,255,255,0.85); }

.emergency-icon {
    width: 52px;
    height: 52px;
    background: rgba(176,36,34,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #b02422;
    font-size: 1.2rem;
}
.emergency-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.emergency-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #b02422;
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.emergency-card p:last-child {
    font-size: 0.82rem;
    color: #64748b;
}

.emergency-guide {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px;
}
.emergency-guide > h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 28px;
}
.emergency-guide > h3 i {
    color: #b02422;
    margin-right: 10px;
}
.emergency-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.e-step {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}
.e-step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #059468;
}
.e-step ol {
    padding-left: 18px;
}
.e-step li {
    font-size: 0.88rem;
    color: #475569;
    padding-bottom: 6px;
    line-height: 1.5;
}

/* --- Community --- */
.community { background: #f8fafc; }
.community-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.community-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s;
}
.community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.community-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.6rem;
    color: #fff;
}
.community-facebook .community-icon { background: #1877f2; }
.community-whatsapp .community-icon { background: #25d366; }
.community-events .community-icon { background: linear-gradient(135deg, #059468, #047857); }
.community-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}
.community-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Announcements */
.announcements {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px;
}
.announcements > h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}
.announcements > h3 i {
    color: #059468;
    margin-right: 10px;
}
.announcement {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}
.announcement:last-child { border-bottom: none; }
.announcement-date {
    min-width: 60px;
    text-align: center;
    background: rgba(5,148,104,0.06);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.a-day {
    font-size: 1.5rem;
    font-weight: 800;
    color: #059468;
    line-height: 1;
}
.a-month {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}
.announcement-content h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
.announcement-content p {
    font-size: 0.88rem;
    color: #64748b;
}

/* --- FAQ --- */
.faq { background: #fff; }
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.active { border-color: #059468; }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    transition: all 0.3s;
}
.faq-question:hover { background: #f8fafc; }
.faq-question i {
    color: #059468;
    transition: transform 0.3s;
    font-size: 0.85rem;
}
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 400px;
}
.faq-answer p {
    padding: 0 24px 20px;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.8;
}

/* --- Blog --- */
.blog { background: #f8fafc; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.blog-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.blog-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.blog-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 100%);
    z-index: 2;
}
.blog-image-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
}
.blog-content {
    padding: 24px;
}
.blog-category {
    display: inline-block;
    background: rgba(5,148,104,0.1);
    color: #059468;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.blog-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
}
.blog-content p {
    color: #64748b;
    font-size: 0.88rem;
    margin-bottom: 14px;
    line-height: 1.6;
}
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #059468;
    font-weight: 600;
    font-size: 0.88rem;
    transition: gap 0.3s;
}
.blog-read-more:hover { gap: 10px; }

/* --- Contact --- */
.contact { background: #fff; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}
.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(5,148,104,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #059468;
    font-size: 1.1rem;
}
.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}
.contact-item p {
    font-size: 0.88rem;
    color: #64748b;
}
.contact-languages {
    margin-top: 28px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}
.contact-languages h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.contact-languages h4 i {
    color: #059468;
    margin-right: 8px;
}
.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.language-tags span {
    padding: 4px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
}

.contact-form {
    background: #f8fafc;
    padding: 36px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
    color: #1e293b;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #059468;
    box-shadow: 0 0 0 3px rgba(5,148,104,0.1);
}
.form-note {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 12px;
    text-align: center;
}

/* Form success message */
.form-success {
    text-align: center;
    padding: 40px;
}
.form-success i {
    font-size: 3rem;
    color: #059468;
    margin-bottom: 16px;
}
.form-success h3 {
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 8px;
}
.form-success p {
    color: #64748b;
}

/* --- Footer --- */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #0a1120 100%);
    color: #94a3b8;
    padding: 64px 0 0;
    position: relative;
}
.footer-flag {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #006233 0%, #006233 40%, #FFD100 40%, #FFD100 50%, #da291c 50%, #da291c 100%);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.footer-logo .logo-icon {
    width: 48px;
    height: 48px;
}
.footer-logo .logo-main { color: #fff; }
.footer-about p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s;
}
.footer-social a:hover {
    background: #059468;
    color: #fff;
}
.footer-links h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.footer-links a {
    display: block;
    font-size: 0.88rem;
    color: #94a3b8;
    padding: 5px 0;
    transition: color 0.3s;
}
.footer-links a:hover { color: #059468; }
.footer-links a i { margin-right: 6px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.82rem;
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    color: #64748b;
    transition: color 0.3s;
}
.footer-bottom-links a:hover { color: #059468; }

/* --- Search --- */
.search-fab {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #059468;
    color: #fff;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(5,148,104,0.4);
    transition: all 0.3s;
}
.search-fab:hover {
    background: #047857;
    transform: scale(1.1);
}
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}
.search-overlay-inner {
    width: 100%;
    max-width: 640px;
    padding: 0 20px;
}
.search-overlay h2 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 24px;
    text-align: center;
}
.search-input-wrap {
    position: relative;
}
.search-input-wrap input {
    width: 100%;
    padding: 18px 24px 18px 52px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    font-size: 1.1rem;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s;
}
.search-input-wrap input::placeholder { color: #64748b; }
.search-input-wrap input:focus {
    outline: none;
    border-color: #059468;
}
.search-input-wrap i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.1rem;
}
.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.search-close:hover { opacity: 1; }
.search-results {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}
.search-result-item {
    display: block;
    padding: 16px;
    border-radius: 12px;
    transition: background 0.3s;
    margin-bottom: 4px;
}
.search-result-item:hover { background: rgba(255,255,255,0.08); }
.search-result-item h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.search-result-item p {
    color: #64748b;
    font-size: 0.82rem;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #0f172a;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: #059468;
}

/* --- Portugal Flag Accent Bar on Section Hover --- */
.guide-block::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(to right, #006233, #FFD100, #da291c);
    border-radius: 20px 20px 0 0;
    margin: -36px -36px 24px -36px;
    opacity: 0;
    transition: opacity 0.3s;
}
.guide-block:hover::before {
    opacity: 1;
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1024px) {
    .quick-links-grid { grid-template-columns: repeat(3, 1fr); }
    .emergency-grid { grid-template-columns: repeat(2, 1fr); }
    .emergency-steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.6rem; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .header-inner { height: 60px; }

    .nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e2e8f0;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    }
    .nav.active { display: flex; }
    .nav-link {
        padding: 12px 16px;
        width: 100%;
    }
    .nav-link.active::after { display: none; }
    .nav-toggle { display: flex; }

    .hero {
        padding: 60px 0 80px;
        min-height: auto;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero h1 { font-size: 2rem; }
    .hero p { margin: 0 auto 24px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; gap: 24px; }
    .hero-visual { display: none; }

    .quick-links-grid { grid-template-columns: repeat(2, 1fr); }

    .section { padding: 60px 0; }
    .section-header h2 { font-size: 1.8rem; }

    .tips-grid { grid-template-columns: 1fr; }
    .resources-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .emergency-grid { grid-template-columns: 1fr; }
    .emergency-steps { grid-template-columns: 1fr; }
    .community-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .guide-block { padding: 24px; }
    .guide-block::before { margin: -24px -24px 18px -24px; }
    .guide-steps { padding-left: 16px; }

    .news-layout { grid-template-columns: 1fr; }
    .news-modal-content { width: 95%; border-radius: 16px; }
    .news-modal-article { padding: 24px 20px 36px; }
    .news-modal-article h2 { font-size: 1.4rem; }

    .form-row { grid-template-columns: 1fr; }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .quick-links-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .news-filters { flex-direction: column; align-items: center; }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #059468; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #047857; }

/* --- News Page (Dedicated) --- */
.news-page-hero {
    position: relative;
    padding: 100px 0 60px;
    overflow: hidden;
    text-align: center;
}
.news-page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #006233 0%, #004d28 30%, #0f172a 60%, #6b1412 100%);
    z-index: 0;
}
.news-page-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255,209,0,0.12) 0%, transparent 60%);
}
.news-page-hero-content {
    position: relative;
    z-index: 1;
}
.news-page-hero-content .section-tag {
    display: inline-block;
    background: rgba(255,209,0,0.15);
    color: #FFD100;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.news-page-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 16px;
}
.news-page-hero-content h1 span {
    color: #FFD100;
}
.news-page-hero-content p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
.news-page-body {
    padding: 50px 0 80px;
    background: #f8fafc;
    min-height: 60vh;
}
.news-page-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.news-page-featured .news-featured-card {
    margin-bottom: 10px;
}
.news-page-featured .news-featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: #64748b;
}
.news-page-featured .news-featured-meta i {
    color: #059468;
    margin-right: 4px;
}
.news-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-grid-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.news-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.news-grid-banner {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.news-grid-banner i {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    color: rgba(255,255,255,0.3);
}
.news-grid-body {
    padding: 20px;
}
.news-grid-body .news-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.news-grid-body .news-category.immigration { background: #ecfdf5; color: #059468; }
.news-grid-body .news-category.legal { background: #eff6ff; color: #1e40af; }
.news-grid-body .news-category.community { background: #fef2f2; color: #da291c; }
.news-grid-body .news-category.economy { background: #fffbeb; color: #d97706; }
.news-grid-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-grid-body p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.news-grid-meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: #94a3b8;
}
.news-grid-meta i {
    color: #059468;
    margin-right: 4px;
}
.news-sources {
    margin-top: 40px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid #059468;
}
.news-sources p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}
.news-sources i {
    color: #059468;
    margin-right: 6px;
}
.news-loading {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}
.news-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #059468;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .news-page-grid { grid-template-columns: repeat(2, 1fr); }
    .news-page-hero-content h1 { font-size: 2.2rem; }
}
@media (max-width: 600px) {
    .news-page-grid { grid-template-columns: 1fr; }
    .news-page-hero { padding: 80px 0 40px; }
    .news-page-hero-content h1 { font-size: 1.8rem; }
}

/* --- Legal Pages --- */
.legal-page-hero {
    position: relative;
    padding: 100px 0 50px;
    overflow: hidden;
    text-align: center;
}
.legal-page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #006233 0%, #004d28 30%, #0f172a 60%, #6b1412 100%);
    z-index: 0;
}
.legal-page-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255,209,0,0.12) 0%, transparent 60%);
}
.legal-page-hero .container {
    position: relative;
    z-index: 1;
}
.legal-page-hero-content {
    position: relative;
    z-index: 1;
}
.legal-page-hero-content .section-tag {
    display: inline-block;
    background: rgba(255,209,0,0.15);
    color: #FFD100;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.legal-page-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 12px;
}
.legal-page-hero-content h1 span {
    color: #FFD100;
}
.legal-page-hero-content p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.legal-page-body {
    padding: 50px 0 80px;
    background: #f8fafc;
}
.legal-content {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 40px 48px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.legal-last-updated {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #64748b;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 30px;
}
.legal-last-updated i {
    color: #059468;
    margin-right: 6px;
}
.legal-section {
    margin-bottom: 28px;
}
.legal-section h2,
.legal-content > h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 12px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}
.legal-section h2:first-child {
    border-top: none;
    padding-top: 0;
}
.legal-section h3,
.legal-content > h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin: 16px 0 8px;
}
.legal-section p,
.legal-content > p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
}
.legal-section ul,
.legal-content > ul {
    padding-left: 24px;
    margin-bottom: 16px;
}
.legal-section ul li,
.legal-content > ul li {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 6px;
}
.legal-section a,
.legal-content a {
    color: #059468;
    text-decoration: underline;
}
.legal-section a:hover,
.legal-content a:hover {
    color: #047857;
}
.legal-info-box {
    background: #f0fdf4;
    border-left: 4px solid #059468;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
}
.legal-info-box p {
    margin-bottom: 4px;
    font-size: 0.92rem;
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
}
.legal-table th {
    background: #f1f5f9;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
}
.legal-table td {
    padding: 10px 14px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}
.legal-table tr:hover td {
    background: #fafffe;
}

/* About page */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}
.about-value-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e2e8f0;
}
.about-value-card i {
    font-size: 2rem;
    color: #059468;
    margin-bottom: 12px;
}
.about-value-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}
.about-value-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}
.about-cta {
    background: linear-gradient(135deg, #006233, #059468);
    color: #fff;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-top: 30px;
}
.about-cta h3 {
    color: #fff !important;
    font-size: 1.3rem;
    margin-bottom: 12px;
}
.about-cta p {
    color: rgba(255,255,255,0.85) !important;
    margin-bottom: 20px;
}
.about-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #059468;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
}
.about-cta .btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .legal-content { padding: 28px 20px; }
    .legal-page-hero { padding: 80px 0 40px; }
    .legal-page-hero-content h1 { font-size: 1.8rem; }
    .about-values-grid { grid-template-columns: 1fr; }
}

/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
    z-index: 10000;
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    visibility: hidden;
}
.cookie-consent-banner.visible {
    transform: translateY(0);
    visibility: visible;
}
.cookie-consent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 280px;
}
.cookie-consent-icon {
    font-size: 1.8rem;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 2px;
}
.cookie-consent-text strong {
    display: block;
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 4px;
}
.cookie-consent-text p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}
.cookie-consent-text a {
    color: #059468;
    text-decoration: underline;
}
.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.cookie-btn:hover {
    transform: translateY(-1px);
}
.cookie-btn-accept {
    background: #059468;
    color: #fff;
}
.cookie-btn-accept:hover {
    background: #047857;
}
.cookie-btn-reject {
    background: #f1f5f9;
    color: #475569;
}
.cookie-btn-reject:hover {
    background: #e2e8f0;
}
.cookie-btn-manage {
    background: transparent;
    color: #059468;
    border: 1px solid #059468;
}
.cookie-btn-manage:hover {
    background: #f0fdf4;
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-consent-text {
        flex-direction: column;
        align-items: center;
    }
    .cookie-consent-buttons {
        justify-content: center;
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Full-Page Article Layout
   =========================== */
.article-page-breadcrumb {
    padding: 16px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 80px;
}
.article-page-breadcrumb a {
    color: #059468;
    text-decoration: none;
}
.article-page-breadcrumb a:hover {
    text-decoration: underline;
}
.article-page-breadcrumb i.fa-chevron-right {
    font-size: 0.65rem;
    margin: 0 8px;
    color: #94a3b8;
}
.article-page-breadcrumb span {
    color: #334155;
    font-weight: 500;
}
.article-page-section {
    padding: 40px 0 80px;
    background: #fff;
}
.article-page-wrapper {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}
.article-page-main {
    flex: 1;
    min-width: 0;
}
.article-page-content {
    max-width: 100%;
}
.article-page-banner {
    width: 100%;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.article-page-banner .news-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.article-page-banner .news-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}
.article-page-banner > i {
    font-size: 3rem;
    color: rgba(255,255,255,0.25);
    z-index: 3;
}
.article-page-banner .news-category {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.article-page-banner .blog-banner-icon {
    font-size: 4rem;
    color: rgba(255,255,255,0.25);
    z-index: 3;
}
.article-page-body {
    padding: 36px 0;
}
.article-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 16px;
}
.article-page-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.article-page-meta i {
    color: #059468;
}
.article-page-body h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    line-height: 1.3;
}
.article-page-body .article-body {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #334155;
}
.article-page-body .article-body p {
    margin-bottom: 16px;
}
.article-page-body .article-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 28px 0 12px;
}
.article-page-body .article-body ul,
.article-page-body .article-body ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.article-page-body .article-body li {
    margin-bottom: 8px;
}
.article-page-body .article-body strong {
    color: #0f172a;
}
.article-page-body .article-body em {
    color: #475569;
}
.article-page-body .article-body a {
    color: #059468;
    text-decoration: underline;
}
.article-page-body .news-article-source {
    font-size: 0.85rem;
    color: #64748b;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    margin-top: 24px;
}
.article-page-engagement {
    margin: 32px 0;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.article-page-vote-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.article-page-vote-row .modal-vote-label {
    font-weight: 600;
    color: #334155;
    margin-right: 8px;
}
.article-page-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.article-page-tags span {
    background: #f1f5f9;
    color: #059468;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
}
.article-page-source {
    margin-bottom: 32px;
}
.article-source-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #059468;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.article-source-btn:hover {
    background: #047857;
    transform: translateY(-2px);
}
.article-page-back {
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}
.article-page-back a {
    color: #059468;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.article-page-back a:hover {
    color: #047857;
}
.article-not-found {
    text-align: center;
    padding: 80px 20px;
}
.article-not-found i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}
.article-not-found h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 12px;
}
.article-not-found p {
    color: #64748b;
    margin-bottom: 24px;
}

/* ===========================
   Article Sidebar
   =========================== */
.article-sidebar {
    width: 340px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.article-sidebar::-webkit-scrollbar {
    width: 4px;
}
.article-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.sidebar-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 20px;
}
.sidebar-widget-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-widget-title i {
    color: #059468;
    font-size: 0.9rem;
}

/* Sidebar News/Article List */
.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sidebar-news-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 8px;
    border-radius: 10px;
    transition: background 0.2s;
}
.sidebar-news-item:hover {
    background: #f1f5f9;
}
.sidebar-news-thumb {
    width: 72px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.sidebar-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-news-info {
    flex: 1;
    min-width: 0;
}
.sidebar-news-info h4 {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-news-info span {
    font-size: 0.72rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sidebar-news-info span i {
    font-size: 0.65rem;
    color: #94a3b8;
}

/* Sidebar Tags */
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.sidebar-tag {
    background: #f1f5f9;
    color: #059468;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.sidebar-tag:hover {
    background: #059468;
    color: #fff;
}

/* Sidebar Categories */
.sidebar-categories {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sidebar-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 0.2s;
}
.sidebar-category-item:hover {
    background: #f1f5f9;
}
.sidebar-category-count {
    background: #e2e8f0;
    color: #64748b;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #006233 0%, #059468 100%);
    border: none;
    text-align: center;
    color: #fff;
}
.sidebar-cta h3 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.sidebar-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 16px;
}
.sidebar-cta-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.3rem;
}
.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #fff;
    color: #059468;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.sidebar-cta-btn:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
}
.sidebar-cta-btn-outline {
    background: transparent;
    border: 1.5px solid #059468;
    color: #059468;
}
.sidebar-cta-btn-outline:hover {
    background: #059468;
    color: #fff;
}

/* Sidebar Emergency */
.sidebar-emergency-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sidebar-emergency-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}
.sidebar-emergency-item:hover {
    background: #fef2f2;
}
.sidebar-emergency-number {
    background: #fee2e2;
    color: #dc2626;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
.sidebar-emergency-item span:last-child {
    color: #334155;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Sidebar Quick Links */
.sidebar-quick-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sidebar-quick-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.sidebar-quick-links a:hover {
    background: #f0fdf4;
    color: #059468;
}
.sidebar-quick-links a i {
    color: #059468;
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
}

/* Sidebar Blog CTA */
.sidebar-blog-cta {
    text-align: center;
}

@media (max-width: 1024px) {
    .article-sidebar {
        width: 300px;
    }
}
@media (max-width: 768px) {
    .article-page-wrapper {
        flex-direction: column;
    }
    .article-sidebar {
        width: 100%;
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    .article-page-banner {
        height: 200px;
        border-radius: 12px;
    }
    .article-page-body h1 {
        font-size: 1.5rem;
    }
    .article-page-meta {
        gap: 10px;
        font-size: 0.8rem;
    }
    .article-page-breadcrumb {
        margin-top: 70px;
        font-size: 0.8rem;
    }
    .article-source-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}
