/* ======================== */
/*  RESET & BASE            */
/* ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --clr-roma: #c17767;
    --clr-roma-light: #f2ddd8;
    --clr-toscana: #7a9b57;
    --clr-toscana-light: #e6f0da;
    --clr-milan: #7b8fa1;
    --clr-milan-light: #e0e7ee;
    --clr-bernina: #8e7cc3;
    --clr-bernina-light: #ede8f5;
    --clr-dolomites: #4a7c8f;
    --clr-dolomites-light: #d5e8ef;
    --clr-como: #5b9bd5;
    --clr-como-light: #dce9f4;
    --clr-sand: #fdf6ec;
    --clr-cream: #fef9f0;
    --clr-text: #3a3a3a;
    --clr-text-light: #6b6b6b;
    --clr-heading: #2c2c2c;
    --clr-white: #ffffff;
    --clr-border: #e8e0d5;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lora', Georgia, serif;
    --font-ui: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); color: var(--clr-text); line-height: 1.7; background: var(--clr-cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ======================== */
/*  HERO                   */
/* ======================== */
.hero {
    position: relative; min-height: 90vh; display: flex; align-items: center;
    justify-content: center; overflow: hidden;
}

.hero-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    filter: saturate(0.7) brightness(0.85); transform: scale(1.05);
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(193,119,103,0.5) 0%, rgba(122,155,87,0.3) 40%, rgba(91,155,213,0.4) 70%, rgba(142,124,195,0.5) 100%);
}

.hero-content {
    position: relative; z-index: 2; text-align: center; color: var(--clr-white);
    padding: 2rem; max-width: 800px;
}

.hero-badge {
    display: inline-block; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem; border-radius: 50px; font-family: var(--font-ui);
    font-size: 0.85rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.25);
}

.hero h1 {
    font-family: var(--font-heading); font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700; line-height: 1.1; margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 em { font-style: italic; font-weight: 400; }
.hero-sub { font-family: var(--font-body); font-size: clamp(1rem, 2.5vw, 1.3rem); font-style: italic; margin-bottom: 0.5rem; opacity: 0.95; }
.hero-meta { font-family: var(--font-ui); font-size: 0.9rem; opacity: 0.8; margin-bottom: 2rem; letter-spacing: 1px; }

.btn-hero {
    display: inline-block; background: var(--clr-white); color: var(--clr-heading);
    padding: 0.9rem 2.5rem; border-radius: 50px; font-family: var(--font-ui);
    font-weight: 600; font-size: 0.95rem; transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }

/* ======================== */
/*  NAV                    */
/* ======================== */
.sticky-nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(254, 249, 240, 0.92); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--clr-border);
    transition: box-shadow 0.3s;
}
.sticky-nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
    max-width: 1400px; margin: 0 auto; padding: 0.8rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--clr-heading); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--clr-heading); padding: 0.25rem; }
.nav-links { display: flex; list-style: none; gap: 0.25rem; flex-wrap: wrap; justify-content: center; }
.nav-links a {
    font-family: var(--font-ui); font-size: 0.8rem; font-weight: 500;
    color: var(--clr-text-light); padding: 0.4rem 0.7rem; border-radius: 6px;
    transition: all 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--clr-heading); background: rgba(0,0,0,0.04); }

/* ======================== */
/*  SECTIONS               */
/* ======================== */
.section { position: relative; padding: 4rem 1.5rem; max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-icon { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.section-header h2 {
    font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--clr-heading); margin-bottom: 0.5rem;
}
.section-header p { font-family: var(--font-body); font-style: italic; color: var(--clr-text-light); font-size: 1.05rem; }
.section-light {
    background: var(--clr-white); border-radius: var(--radius-lg);
    margin: 0 auto 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--clr-border);
    max-width: 1400px;
}
.section-roma { border-top: 4px solid var(--clr-roma); }
.section-toscana { border-top: 4px solid var(--clr-toscana); }
.section-milao { border-top: 4px solid var(--clr-milan); }
.section-bernina { border-top: 4px solid var(--clr-bernina); }
.section-dolomitas { border-top: 4px solid var(--clr-dolomites); }
.section-como { border-top: 4px solid var(--clr-como); }

/* ======================== */
/*  MAP                    */
/* ======================== */
.section-map { background: none; border: none; padding-top: 2rem; }
.map-container {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 3px solid var(--clr-border);
}
#tripMap { width: 100%; height: 500px; z-index: 1; }
.map-legend {
    position: absolute; bottom: 1rem; right: 1rem;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    padding: 1rem 1.2rem; border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md); z-index: 500; max-width: 200px;
}
.map-legend h4 {
    font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; color: var(--clr-text-light); margin-bottom: 0.5rem;
}
.map-legend-item { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-ui); font-size: 0.8rem; color: var(--clr-text); margin-bottom: 0.3rem; }
.map-legend-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid white; box-shadow: 0 1px 3px rgba(0,0,0,0.3); flex-shrink: 0; }

/* ======================== */
/*  TIMELINE               */
/* ======================== */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--clr-border); transform: translateX(-50%); }
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 2rem; position: relative; }
.timeline-day {
    position: absolute; top: -1.5rem; left: 50%; transform: translateX(-50%);
    background: var(--clr-heading); color: var(--clr-white); padding: 0.2rem 0.8rem;
    border-radius: 50px; font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600; z-index: 2;
}
.timeline-date {
    position: absolute; top: -3.2rem; left: 50%; transform: translateX(-50%);
    font-size: 0.8rem; color: var(--clr-text-light); font-style: italic;
}
.timeline-card {
    display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem;
    background: var(--clr-white); border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); border: 1px solid var(--clr-border);
    overflow: hidden; width: calc(50% - 3rem); margin-left: auto;
    transition: transform 0.2s, box-shadow 0.2s;
}
.timeline-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.timeline-item:nth-child(odd) .timeline-card { margin-left: 0; margin-right: auto; }
.card-image { width: 100%; height: 100%; min-height: 200px; background-size: cover; background-position: center; }
.card-body { padding: 1.2rem; }
.card-body h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--clr-heading); margin-bottom: 0.5rem; }
.card-body p { font-size: 0.9rem; color: var(--clr-text-light); margin-bottom: 0.8rem; line-height: 1.5; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
    font-family: var(--font-ui); font-size: 0.7rem; font-weight: 500;
    padding: 0.2rem 0.6rem; border-radius: 50px; background: var(--clr-sand);
    color: var(--clr-text-light); border: 1px solid var(--clr-border);
}

/* ======================== */
/*  DETAIL CARDS           */
/* ======================== */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; }
.detail-card {
    background: var(--clr-white); border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--clr-border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.detail-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.detail-card.full-width { grid-column: 1 / -1; }
.detail-img { width: 100%; height: 200px; background-size: cover; background-position: center; }
.detail-img.wide-img { height: 300px; }

/* ======================== */
/*  TABLES                 */
/* ======================== */
.table-wrapper { overflow-x: auto; margin: 0 1rem; }
.table-simple, .table-trains { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 0.85rem; }
.table-simple th, .table-trains th {
    text-align: left; font-weight: 600; color: var(--clr-heading); padding: 0.6rem 0.8rem;
    border-bottom: 2px solid var(--clr-border); font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.table-simple td, .table-trains td { padding: 0.5rem 0.8rem; border-bottom: 1px solid var(--clr-border); color: var(--clr-text); }
.table-trains { min-width: 800px; }
.table-trains thead { background: var(--clr-sand); }
.table-trains tbody tr:hover { background: rgba(122, 155, 87, 0.05); }

.table-compare { min-width: 800px; }
.table-compare thead { background: var(--clr-sand); }
.table-compare th {
    padding: 0.8rem 1rem; font-family: var(--font-ui); font-weight: 600; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.5px; color: var(--clr-heading); border-bottom: 2px solid var(--clr-border);
}
.table-compare td {
    padding: 0.6rem 1rem; border-bottom: 1px solid var(--clr-border);
    font-family: var(--font-ui); font-size: 0.85rem; text-align: center;
}
.table-compare td:first-child { text-align: left; font-weight: 500; }
.table-compare tbody tr:hover { background: rgba(122, 155, 87, 0.04); }

/* ======================== */
/*  LISTS                  */
/* ======================== */
.food-list, .scam-list { list-style: none; padding: 0 !important; }
.food-list li, .scam-list li { padding: 0.6rem 0; border-bottom: 1px dashed var(--clr-border); font-size: 0.9rem; line-height: 1.5; }
.food-list li:last-child, .scam-list li:last-child { border-bottom: none; }
.food-list li strong { color: var(--clr-heading); }

.day-plan { padding: 0 1.5rem 1.5rem !important; }
.day-item { display: flex; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px dashed var(--clr-border); }
.day-item:last-child { border-bottom: none; }
.day-number {
    width: 32px; height: 32px; border-radius: 50%; background: var(--clr-roma);
    color: var(--clr-white); display: flex; align-items: center; justify-content: center;
    font-family: var(--font-ui); font-weight: 600; font-size: 0.85rem; flex-shrink: 0;
}
.day-desc { font-size: 0.9rem; line-height: 1.5; }

/* ======================== */
/*  TIPS GRID              */
/* ======================== */
.tips-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1rem; max-width: 1400px; margin: 0 auto;
}
.tip-card {
    background: var(--clr-white); border-radius: var(--radius-sm); padding: 1.2rem;
    border: 1px solid var(--clr-border); box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
.tip-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tip-header { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.tip-header h4 { font-family: var(--font-ui); font-size: 0.9rem; font-weight: 600; color: var(--clr-heading); line-height: 1.4; }
.tip-tag {
    display: inline-block; font-family: var(--font-ui); font-size: 0.65rem; font-weight: 600;
    padding: 0.15rem 0.5rem; border-radius: 4px; text-transform: uppercase;
    letter-spacing: 0.5px; flex-shrink: 0; white-space: nowrap;
}

/* Tip tag colors */
.tip-trem, .tip-economia, .tip-carro, .tip-alerta, .tip-dica-ouro, .tip-bus,
.tip-aeroporto, .tip-app, .tip-ferry, .tip-hike, .tip-restaurante, .tip-vinho,
.tip-regional, .tip-mercado, .tip-street-food, .tip-pizza, .tip-charcutaria,
.tip-etiqueta, .tip-experience, .tip-sobremesa, .tip-hotel, .tip-agriturismo,
.tip-timing, .tip-budget, .tip-dica, .tip-must-do, .tip-booking, .tip-hidden-gem,
.tip-compras, .tip-life-hack, .tip-natureza, .tip-foto, .tip-culture, .tip-dinheiro,
.tip-emergencia, .tip-safety {
    padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.65rem; font-weight: 600;
    font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.5px;
}
.tip-trem { background: #e0e7ee; color: #1a3a5c; }
.tip-economia { background: #e6f0da; color: #3a5a1c; }
.tip-carro { background: #fef3cd; color: #6b5900; }
.tip-alerta { background: #fde2e2; color: #8b1a1a; }
.tip-dica-ouro { background: #fff3cd; color: #856404; }
.tip-bus { background: #d5e8ef; color: #1a4a5c; }
.tip-aeroporto { background: #e8e0f5; color: #4a2a6b; }
.tip-app { background: #e0f0e8; color: #1a5c3a; }
.tip-ferry { background: #dce9f4; color: #1a3a6b; }
.tip-hike { background: #e6f0da; color: #3a5a1c; }
.tip-restaurante { background: #fde8e0; color: #8b3a1a; }
.tip-vinho { background: #f5e0e8; color: #6b1a3a; }
.tip-regional { background: #fef3cd; color: #6b5900; }
.tip-mercado { background: #e6f0da; color: #3a5a1c; }
.tip-street-food { background: #fde8e0; color: #8b3a1a; }
.tip-pizza { background: #fde8e0; color: #8b3a1a; }
.tip-charcutaria { background: #f5e0e8; color: #6b1a3a; }
.tip-etiqueta { background: #e0e7ee; color: #1a3a5c; }
.tip-experience { background: #fef3cd; color: #6b5900; }
.tip-sobremesa { background: #f5e0e8; color: #6b1a3a; }
.tip-hotel { background: #e8e0f5; color: #4a2a6b; }
.tip-agriturismo { background: #e6f0da; color: #3a5a1c; }
.tip-timing { background: #e0f0e8; color: #1a5c3a; }
.tip-budget { background: #fde2e2; color: #8b1a1a; }
.tip-dica { background: #e0e7ee; color: #1a3a5c; }
.tip-must-do { background: #fde8e0; color: #8b3a1a; }
.tip-booking { background: #fff3cd; color: #856404; }
.tip-hidden-gem { background: #d5e8ef; color: #1a4a5c; }
.tip-compras { background: #e8e0f5; color: #4a2a6b; }
.tip-life-hack { background: #e6f0da; color: #3a5a1c; }
.tip-natureza { background: #e6f0da; color: #3a5a1c; }
.tip-foto { background: #fef3cd; color: #6b5900; }
.tip-culture { background: #e0e7ee; color: #1a3a5c; }
.tip-dinheiro { background: #e6f0da; color: #3a5a1c; }
.tip-emergencia { background: #fde2e2; color: #8b1a1a; }
.tip-safety { background: #fde2e2; color: #8b1a1a; }

/* ======================== */
/*  BUDGET                 */
/* ======================== */
.budget-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; max-width: 1000px; margin: 0 auto; }
.budget-card {
    background: var(--clr-white); border-radius: var(--radius-md); padding: 1.5rem;
    text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--clr-border);
    transition: transform 0.2s;
}
.budget-card:hover { transform: translateY(-3px); }
.budget-amount { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--clr-heading); margin-bottom: 0.3rem; }
.budget-label { font-family: var(--font-ui); font-size: 0.8rem; color: var(--clr-text-light); line-height: 1.4; }
.budget-total { background: var(--clr-heading); border-color: var(--clr-heading); }
.budget-total .budget-amount { color: var(--clr-white); font-size: 1.8rem; }
.budget-total .budget-label { color: rgba(255,255,255,0.7); }
.budget-card-green { border-color: rgba(39,174,96,0.2); background: rgba(39,174,96,0.03); }
.budget-green .budget-amount { color: #27ae60; }
.budget-green .budget-label { color: rgba(39,174,96,0.7); }

.budget-toggle { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.budget-tab {
    font-family: var(--font-ui); font-size: 0.95rem; font-weight: 600; padding: 0.7rem 2rem;
    border: 2px solid var(--clr-border); border-radius: 50px; background: var(--clr-white);
    color: var(--clr-text-light); cursor: pointer; transition: all 0.3s ease;
}
.budget-tab:hover { border-color: var(--clr-heading); color: var(--clr-heading); }
.budget-tab.active { background: var(--clr-heading); border-color: var(--clr-heading); color: var(--clr-white); }
.budget-subtitle {
    text-align: center; font-family: var(--font-body); font-style: italic;
    color: var(--clr-text-light); margin-bottom: 2rem; font-size: 0.95rem;
}
.budget-view { display: none; }
.budget-view.active { display: block; animation: fadeInUp 0.4s ease; }

/* ======================== */
/*  CHECKLIST              */
/* ======================== */
.checklist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.checklist-item {
    background: var(--clr-white); border-radius: var(--radius-md); padding: 1.5rem;
    box-shadow: var(--shadow-sm); border: 1px solid var(--clr-border);
}
.checklist-date {
    display: inline-block; padding: 0.3rem 1rem; border-radius: 50px;
    font-family: var(--font-ui); font-size: 0.8rem; font-weight: 600;
    color: var(--clr-white); margin-bottom: 0.8rem;
}
.checklist-date.now { background: #e74c3c; }
.checklist-date.jun { background: var(--clr-como); }
.checklist-date.jul { background: var(--clr-toscana); }
.checklist-date.ago { background: var(--clr-roma); }
.checklist-date.set { background: var(--clr-bernina); }
.checklist-date.out { background: var(--clr-dolomites); }
.checklist-item ul { list-style: none; padding: 0; }
.checklist-item li { padding: 0.4rem 0; font-size: 0.9rem; line-height: 1.5; color: var(--clr-text-light); border-bottom: 1px dashed var(--clr-border); }
.checklist-item li::before { content: '\2610 '; color: var(--clr-heading); }
.checklist-item li:last-child { border-bottom: none; }

/* ======================== */
/*  FOOTER                 */
/* ======================== */
.footer { text-align: center; padding: 3rem 1.5rem; font-family: var(--font-ui); font-size: 0.9rem; color: var(--clr-text-light); border-top: 1px solid var(--clr-border); background: var(--clr-white); }
.footer p { margin-bottom: 0.3rem; }
.footer-note { font-size: 0.8rem; font-style: italic; opacity: 0.7; }

/* ======================== */
/*  ANIMATIONS             */
/* ======================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes tipAppear {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.tip-card { animation: tipAppear 0.4s ease-out forwards; }

/* Leaflet popup styles */
.custom-marker {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg); border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.custom-marker .marker-inner { transform: rotate(45deg); font-size: 1.1rem; }
.leaflet-popup-content { font-family: var(--font-ui); font-size: 0.85rem; line-height: 1.5; }
.leaflet-popup-content h3 { font-family: var(--font-heading); font-size: 1rem; margin-bottom: 0.3rem; }
.route-tooltip {
    font-family: 'Inter', sans-serif !important; font-size: 12px !important;
    font-weight: 500 !important; padding: 4px 8px !important;
    border-radius: 4px !important; white-space: nowrap !important;
}

/* ======================== */
/*  RESPONSIVE             */
/* ======================== */
@media (max-width: 1024px) {
    .timeline::before { left: 1.5rem; }
    .timeline-day, .timeline-date { left: 1.5rem; }
    .timeline-card { width: calc(100% - 4rem); margin-left: 3rem !important; margin-right: 0 !important; }
    .timeline-card { grid-template-columns: 140px 1fr; }
    .card-image { min-height: 150px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background: var(--clr-cream); padding: 1rem; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--clr-border); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero { min-height: 70vh; }
    .hero h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
    .section { padding: 2.5rem 1rem; }
    .detail-grid { grid-template-columns: 1fr; }
    .timeline-card { grid-template-columns: 1fr; }
    .card-image { min-height: 160px; }
    #tripMap { height: 350px; }
    .map-legend { position: relative; bottom: auto; right: auto; margin: 0.5rem 1rem; max-width: 100%; }
    .budget-grid { grid-template-columns: repeat(2, 1fr); }
    .tips-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .budget-grid { grid-template-columns: 1fr; }
    .hero-badge { font-size: 0.75rem; padding: 0.4rem 1rem; }
    .nav-inner { padding: 0.6rem 1rem; }
}

/* ======================== */
/*  NEWS SECTION           */
/* ======================== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; max-width: 1400px; margin: 0 auto; padding: 0 1rem; }
.news-card {
    background: var(--clr-white); border-radius: var(--radius-sm); padding: 1.2rem;
    border: 1px solid var(--clr-border); box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s; animation: tipAppear 0.4s ease-out forwards;
}
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.news-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.8rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
.news-header h4 { font-family: var(--font-heading); font-size: 1rem; color: var(--clr-heading); line-height: 1.4; flex: 1; }
.news-date {
    font-family: var(--font-ui); font-size: 0.7rem; color: var(--clr-text-light);
    background: var(--clr-sand); padding: 0.15rem 0.5rem; border-radius: 4px;
    font-weight: 500; white-space: nowrap; margin-bottom: 0.4rem; display: inline-block;
}
.news-desc { font-family: var(--font-body); font-size: 0.9rem; color: var(--clr-text-light); line-height: 1.5; margin-bottom: 0.6rem; }
.news-source { font-family: var(--font-ui); font-size: 0.7rem; color: var(--clr-text-light); }
.news-source a { color: var(--clr-como); font-weight: 500; }
.news-tag {
    display: inline-block; font-family: var(--font-ui); font-size: 0.65rem; font-weight: 600;
    padding: 0.15rem 0.5rem; border-radius: 4px; text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 0.5rem;
}
.news-tag.strike { background: #fde2e2; color: #8b1a1a; }
.news-tag.weather { background: #dce9f4; color: #1a3a6b; }
.news-tag.deal { background: #e6f0da; color: #3a5a1c; }
.news-tag.event { background: #fff3cd; color: #856404; }
.news-tag.closure { background: #e8e0f5; color: #4a2a6b; }
.news-tag.price { background: #fef3cd; color: #6b5900; }
.news-placeholder {
    text-align: center; color: var(--clr-text-light); font-style: italic;
    font-size: 0.95rem; padding: 3rem 1.5rem; grid-column: 1 / -1;
}
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

