/*
Theme Name: VNomy
Theme URI: https://vnomy.com
Author: VNomy Team
Author URI: https://vnomy.com
Description: Vietnamese culture and food guide theme for WordPress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vnomy
Tags: vietnamese, food, culture, community
*/

:root {
    --primary: #DA291C;
    --secondary: #FFCD00;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --accent: #e9ecef;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--white); color: var(--dark); line-height: 1.6; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* Header */
.header-bar {
    position: static; top: 0; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 14px 24px; z-index: 1000; display: flex; justify-content: space-between; align-items: center;
}
.header-logo { font-size: 24px; font-weight: 900; color: var(--primary); text-decoration: none; text-transform: uppercase; }
.header-actions { display: flex; gap: 12px; align-items: center; }


.lang-toggle { display: flex; gap: 4px; align-items: center; padding: 4px; background: var(--light);  margin-left: 8px; }
.lang-btn { background: transparent; border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; transition: all 0.2s; color: var(--dark);  }
.lang-btn:hover { background: rgba(218, 41, 28, 0.1); }
.lang-btn.active { background: var(--primary); color: var(--white); }

/* Menu */
.menu-bar { background: var(--white); border-bottom: 1px solid var(--accent); padding: 0 24px; z-index: 999; position: relative; }
.menu-container { max-width: 1200px; margin: 0 auto; display: flex; gap: 2px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0 40px; }
.menu-container::-webkit-scrollbar { display: none; }
.menu-item { position: relative; padding: 14px 18px; background: none; border: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--primary); white-space: nowrap; flex-shrink: 0; scroll-snap-align: start; transition: all 0.2s; }
.menu-item:hover, .menu-item.active { color: var(--primary); background: var(--light); }

/* Menu Scroll Buttons */
.menu-scroll-left, .menu-scroll-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 40px;
    background: linear-gradient(to right, var(--white) 0%, rgba(255,255,255,0) 100%);
    border: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
.menu-scroll-left { left: 0; background: linear-gradient(to right, var(--white) 0%, rgba(255,255,255,0) 100%); }
.menu-scroll-right { right: 0; background: linear-gradient(to left, var(--white) 0%, rgba(255,255,255,0) 100%); justify-content: flex-end; }
.menu-bar:hover .menu-scroll-left,
.menu-bar:hover .menu-scroll-right {
    opacity: 1;
    pointer-events: auto;
}
.menu-scroll-left:hover, .menu-scroll-right:hover {
    background: var(--light);
}

/* horizontal-submenu removed — nav is single-row */

/* Hero — legacy classes removed, using .v-hero component system instead */

/* Latest Stories Section */
.latest-stories { background: var(--white); padding: 32px 24px; }
.section-container { max-width: 1100px; margin: 0 auto; }
.section-title { font-size: 28px; font-weight: 800; margin-bottom: 30px; color: var(--dark); letter-spacing: -1px; }

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.story-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.story-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.story-image-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--gray) 100%);
}

.story-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.story-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.3;
}

.story-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
}

.story-card:hover .story-read-more {
    text-decoration: underline;
}

.story-meta {
    font-size: 13px;
    color: var(--gray);
    margin-top: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .story-image {
        height: 220px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .story-title {
        font-size: 17px;
    }
}

/* Sections */
.city-intro { background: var(--white); padding: 32px 24px; }
.intro-container { max-width: 1000px; margin: 0 auto; }
.intro-header { margin-bottom: 12px; }
.intro-header h2 { font-size: 32px; color: var(--dark); font-weight: 800; letter-spacing: -1px; }
.intro-text { font-size: 17px; line-height: 1.85; color: var(--gray); }
.intro-text p { margin-bottom: 20px; }
.intro-text strong { color: var(--dark); font-weight: 700; }

.map-section { background: var(--light); padding: 32px 24px; }
.map-container { max-width: 1100px; margin: 0 auto; }
.map-header { text-align: center; margin-bottom: 28px; }
.map-header h2 { font-size: 28px; color: var(--dark); margin-bottom: 8px; font-weight: 700; }
.map-header p { color: rgba(255,255,255,0.65); font-size: 15px; }
.map-frame { width: 100%; height: 480px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.4); margin-bottom: 24px; position: relative; }
#map { width: 100%; height: 100%; }
.map-controls { position: absolute; bottom: 16px; right: 16px; display: flex; gap: 8px; z-index: 1000; }
.map-btn { background: var(--white); border: none; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--dark); box-shadow: 0 2px 8px rgba(0,0,0,0.2); transition: all 0.2s; }
.map-btn:hover { background: var(--primary); color: var(--dark); }
.suburb-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; justify-content: center; }
.suburb-btn { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--dark); padding: 10px 18px;  cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.suburb-btn:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }

.editors-choice { padding: 32px 24px; background: var(--light); }
.editors-choice-header { margin-bottom: 16px; }
.editors-choice-header h2 { font-size: 28px; margin-bottom: 8px; font-weight: 700; color: var(--dark); }
.editors-choice-header p { color: var(--gray); font-size: 15px; }
.editors-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }

.editors-choice-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: all 0.3s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.editors-choice-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.editors-choice-image { width: 100%; height: 180px; object-fit: cover; }
.editors-choice-content { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.editors-choice-category { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--primary); margin-bottom: 8px; }
.editors-choice-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--dark); line-height: 1.4; }
.editors-choice-excerpt { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 12px; flex: 1; }
.editors-choice-cta { font-size: 13px; font-weight: 600; color: var(--primary); }

.food-guide { padding: 32px 24px; background: var(--white); }
.section-container { max-width: 1100px; margin: 0 auto; }
.section-header { margin-bottom: 16px; }
.section-header h2 { font-size: 28px; margin-bottom: 8px; font-weight: 700; color: var(--dark); }
.section-header p { color: var(--gray); font-size: 15px; }
.food-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.food-grid-card { background: var(--light); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: all 0.3s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.food-grid-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.food-grid-image { width: 100%; height: 160px; object-fit: cover; }
.food-grid-content { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.food-grid-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--dark); line-height: 1.4; }
.food-grid-count { font-size: 13px; color: var(--gray); font-weight: 500; }

.other-cities { padding: 32px 24px; background: var(--white); text-align: center; }
.other-cities h2 { font-size: 26px; margin-bottom: 28px; font-weight: 700; color: var(--dark); }
.cities-grid { max-width: 900px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.city-link { padding: 10px 20px; background: var(--light); border-radius: 22px; font-size: 13px; font-weight: 600; transition: all 0.2s; text-decoration: none; color: var(--dark); border: 1px solid transparent; }
.city-link:hover { border-color: var(--primary); color: var(--primary); background: var(--white); transform: translateY(-2px); }

/* Article Single — legacy .article-hero removed, using .v-hero--article component */

.article-content { padding: 50px 24px; max-width: 800px; margin: 0 auto; }
.article-content h2 { font-size: 28px; font-weight: 700; margin: 40px 0 20px; color: var(--dark); }
.article-content h3 { font-size: 22px; font-weight: 700; margin: 30px 0 16px; color: var(--dark); }
.article-content p { font-size: 17px; line-height: 1.85; margin-bottom: 20px; color: var(--dark); }
.article-content ul, .article-content ol { margin-bottom: 20px; padding-left: 24px; }
.article-content li { font-size: 17px; line-height: 1.75; margin-bottom: 10px; }
/* Reset article-content styles inside recommendation cards */
.v-recommendation-card h3 { margin: 0 0 8px 0; font-size: 18px; }
.v-recommendation-card p { margin-bottom: 12px; }
.v-recommendation-card p:last-child { margin-bottom: 0; }

/* Footer */
footer { background: var(--light); color: var(--dark); padding: 50px 24px; text-align: center; }
.footer-main { background: var(--dark); padding: 40px 24px; }
.footer-logo { font-size: 24px; font-weight: 900; color: var(--dark); text-transform: uppercase; letter-spacing: -1px; margin-bottom: 16px; display: inline-block; }
.footer-tagline { font-size: 14px; font-weight: 400; margin-bottom: 20px; opacity: 0.85; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--dark); }
.footer-copy { opacity: 0.5; font-size: 12px; }

/* Responsive */
@media (max-width: 1024px) {
    .editors-choice-grid, .food-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .map-frame { height: 320px; }
    .editors-choice-grid, .food-grid { grid-template-columns: 1fr; }
}
/* Featured Cities Section */
}

/* Footer Explore Cities */
.footer-explore {
    padding: 40px 24px;
    background: var(--light);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-explore-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-cities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-city-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 24px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.footer-city-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}


/* Footer Explore - Horizontal Scroll Style */
.footer-explore {
    padding: 32px 24px;
    background: #f8f9fa;
    border-bottom: 3px solid var(--primary);
}

.footer-explore-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-cities-grid {
    display: flex;
    flex-wrap: wrap;
    
    gap: 10px;
    padding: 8px 4px;
    justify-content: flex-start;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.footer-cities-grid::-webkit-scrollbar {
    height: 6px;
}

.footer-cities-grid::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 3px;
}

.footer-cities-grid::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}

.footer-city-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    
    transition: all 0.2s ease;
    
}

.footer-city-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}


/* =========================================================
   VNomy Component System — BEM Classes
   Each component maps 1:1 to a components/*.php file.
   Existing flat classes remain until templates are migrated.
   ========================================================= */

/* --- v-hero (components/hero.php) --- */
.v-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
}
/* Dark gradient overlay for image readability — applies to all hero variants with a background image.
   Design spec (MEMORY.md): dark-only, no red. White text + text-shadow sits on top.
   NOTE: Currently disabled — user prefers the image to show through unfiltered. The home hero
   gets the chunky outlined title below for legibility without darkening the photo.
   To re-enable: uncomment the .v-hero::before block and add z-index: 2 to .v-hero__content. */
/* .v-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,26,0.45) 0%, rgba(26,26,26,0.80) 100%);
    pointer-events: none;
    z-index: 1;
} */
.v-hero--city { padding: 24px 24px 40px; min-height: 420px; background-position: center 30%; }
.v-hero--article { padding: 24px 24px 40px; min-height: 420px; background-position: center 30%; }
.v-hero--home { padding: 60px 24px 50px; min-height: 300px; }
.v-hero--section { padding: 40px 24px; min-height: 250px; }
.v-hero__content { position: relative; width: 100%; max-width: 1200px; text-align: center; margin: 0 auto; padding: 0 20px; }
.v-hero__title { font-size: clamp(28px, 6vw, 42px); font-weight: 900; color: #ffffff; text-shadow: 2px 2px 8px rgba(0,0,0,0.5); letter-spacing: -1px; line-height: 1.1; margin: 0 0 20px 0; }
.v-hero--city .v-hero__title { font-size: clamp(32px, 6vw, 56px); text-shadow: 3px 3px 0 #1a1a1a, -1px -1px 0 #1a1a1a, 1px -1px 0 #1a1a1a, -1px 1px 0 #1a1a1a, 1px 1px 0 #1a1a1a; letter-spacing: -2px; }
.v-hero--article .v-hero__title { font-size: clamp(32px, 6vw, 56px); text-shadow: 3px 3px 0 #1a1a1a, -1px -1px 0 #1a1a1a, 1px -1px 0 #1a1a1a, -1px 1px 0 #1a1a1a, 1px 1px 0 #1a1a1a; letter-spacing: -2px; }
/* Home hero: match the article hero's chunky outlined title for visual consistency across hero variants. */
.v-hero--home .v-hero__title { font-size: clamp(32px, 6vw, 56px); text-shadow: 3px 3px 0 #1a1a1a, -1px -1px 0 #1a1a1a, 1px -1px 0 #1a1a1a, -1px 1px 0 #1a1a1a, 1px 1px 0 #1a1a1a; letter-spacing: -2px; }
.v-hero__subtitle { font-size: 22px; color: #ffffff; text-shadow: 2px 2px 0 #1a1a1a, -1px -1px 0 #1a1a1a, 1px -1px 0 #1a1a1a, -1px 1px 0 #1a1a1a, 1px 1px 0 #1a1a1a, 0 2px 8px rgba(0,0,0,0.6); max-width: 800px; font-weight: 600; line-height: 1.5; margin: 0 auto; }
@media (max-width: 768px) {
    .v-hero--city { min-height: 280px; padding: 16px 16px 28px; }
    .v-hero--article { min-height: 280px; padding: 16px 16px 28px; }
    .v-hero__title { font-size: clamp(24px, 6vw, 32px); }
    .v-hero__subtitle { font-size: 18px; }
}

/* --- v-section-header (components/section-header.php) --- */
.v-section-header { margin-bottom: 16px; }
.v-section-header__title { font-size: 28px; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; }
.v-section-header__subtitle { color: #6c757d; font-size: 15px; }

/* --- v-card (components/article-card.php) --- */
.v-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #1a1a1a;
}
.v-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.v-card__image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.v-card--food .v-card__image {
    border-radius: 8px;
}
.v-card__content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.v-card--food .v-card__content {
    padding: 8px 4px;
    align-items: center;
    text-align: center;
    background: transparent;
}
.v-card--story .v-card__content {
    padding: 16px;
    align-items: flex-start;
    text-align: left;
}
.v-card--community .v-card__content {
    padding: 16px;
    align-items: flex-start;
    text-align: left;
}
.v-card__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #DA291C;
    margin-bottom: 8px;
}
.v-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #DA291C;
    line-height: 1.3;
    margin: 0;
}
.v-card--food .v-card__title {
    font-size: 17px;
    color: #DA291C;
}
.v-card--story .v-card__title {
    font-size: 16px;
    color: #DA291C;
    margin-bottom: 6px;
}
.v-card--community .v-card__title {
    font-size: 18px;
    color: #DA291C;
}
.v-card__excerpt {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}
.v-card__cta {
    font-size: 13px;
    font-weight: 600;
    color: #DA291C;
}
@media (max-width: 768px) {
    .v-card--food .v-card__content { padding: 6px 2px; }
    .v-card--food .v-card__title { font-size: 15px; }
}
@media (max-width: 480px) {
    .v-card--food .v-card__title { font-size: 14px; }
    .v-card--story .v-card__title { font-size: 15px; }
}

/* --- v-food-grid (components/food-grid.php) --- */
.v-food-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 12px;
}
@media (max-width: 768px) {
    .v-food-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .v-food-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- v-editors-picks (components/editors-picks.php) --- */
.v-editors-picks { padding: 32px 24px; background: #f8f9fa; }
.v-editors-picks__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 768px) {
    .v-editors-picks__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .v-editors-picks__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- v-city-map (components/city-map.php) --- */
.v-city-map { background: #1a1a1a; padding: 32px 24px; }
.v-city-map__container { max-width: 1100px; margin: 0 auto; }
.v-city-map__header { text-align: center; margin-bottom: 28px; }
.v-city-map__title { font-size: 28px; color: #ffffff; margin-bottom: 8px; font-weight: 700; }
.v-city-map__subtitle { color: rgba(255,255,255,0.65); font-size: 15px; }
.v-city-map__frame { width: 100%; height: 480px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.v-city-map__frame #city-map { width: 100%; height: 100%; }
.v-city-map__suburbs { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; justify-content: center; }
.v-city-map__suburb-btn { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #ffffff; padding: 14px 20px; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.25s; display: flex; flex-direction: column; gap: 6px; text-align: left; min-width: 200px; position: relative; overflow: hidden; }
.v-city-map__suburb-btn:hover { background: #DA291C; border-color: #DA291C; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(218,41,28,0.4); }
.v-city-map__suburb-btn--core { border-left: 3px solid #DA291C; }
.v-city-map__suburb-btn--suburb { border-left: 3px solid #FF8C00; }
.v-city-map__suburb-btn--emerging { border-left: 3px solid #009B3A; }
.v-city-map__suburb-name { font-weight: 700; font-size: 15px; }
.v-city-map__suburb-drive { font-size: 12px; color: rgba(255,255,255,0.7); }
.v-city-map__suburb-desc { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.3; }
.v-city-map__suburb-stats { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.v-city-map__stat-pill { background: #DA291C; color: #ffffff; padding: 3px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.v-city-map__suburb-type { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; opacity: 0.6; margin-top: 2px; }
.v-city-map__suburb-type--core { color: #DA291C; }
.v-city-map__suburb-type--suburb { color: #FF8C00; }
.v-city-map__suburb-type--emerging { color: #009B3A; }

/* Hero Stat Pills */
.v-hero__stats { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.v-hero__stat-pill { background: #DA291C; color: #ffffff; padding: 10px 16px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 120px; box-shadow: 0 4px 12px rgba(218,41,28,0.3); }
.v-hero__stat-value { font-size: 24px; font-weight: 900; line-height: 1; }
.v-hero__stat-label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.9; }
@media (max-width: 768px) { .v-city-map__frame { height: 320px; } .v-hero__stats { gap: 8px; } .v-hero__stat-pill { min-width: 90px; padding: 8px 12px; } .v-hero__stat-value { font-size: 18px; } .v-hero__stat-label { font-size: 10px; } .v-city-map__suburbs { flex-direction: column; } .v-city-map__suburb-btn { min-width: 100%; } }

/* --- v-recommendation-card (components/card.php) --- */
/* Canvas design: light bg, red left border accent, subtle hover shift */
.v-recommendation-card { background: #f8f9fa; border-radius: 14px; padding: 24px; margin-bottom: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); border-left: 5px solid #DA291C; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.v-recommendation-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateX(4px); }
.v-recommendation-card__title { font-size: 18px; font-weight: 700; color: #1a1a1a; margin: 0 0 8px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.v-recommendation-card h3 { font-size: 18px; font-weight: 700; color: #1a1a1a; margin: 0 0 8px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.v-badge { padding: 4px 12px; border-radius: 9999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.v-badge--top-pick { background: #FFCD00; color: #1a1a1a; }
.v-badge--best-value { background: #4CAF50; color: #ffffff; }
.v-badge--hidden-gem { background: #DA291C; color: #ffffff; }
.v-badge--local-fav { background: #9C27B0; color: #ffffff; }
.v-badge--worth-mentioning { background: #6c757d; color: #ffffff; }
.v-recommendation-card__address { font-size: 14px; color: #6c757d; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.v-recommendation-card__address a { color: #6c757d; text-decoration: none; transition: color 0.2s; }
.v-recommendation-card__address a:hover { color: #DA291C; text-decoration: underline; }
.v-recommendation-card__phone { font-size: 14px; color: #6c757d; margin-bottom: 8px; }
.v-recommendation-card__phone a { color: #6c757d; text-decoration: none; transition: color 0.2s; }
.v-recommendation-card__phone a:hover { color: #DA291C; }
.v-recommendation-card__hours { font-size: 14px; color: #6c757d; margin-bottom: 8px; }
.v-recommendation-card__description { font-size: 15px; line-height: 1.7; color: #1a1a1a; margin-top: 12px; }
/* Body-parsed cards: style the inline h3/p like ACF cards */
.v-recommendation-card h3 { margin: 0 0 8px 0; }
.v-recommendation-card p { font-size: 15px; line-height: 1.7; color: #1a1a1a; margin-bottom: 12px; }
.v-recommendation-card p:last-child { margin-bottom: 0; }
/* Style the first <p> after h3 as an address line (smaller, gray) */
.v-recommendation-card h3 + p { font-size: 14px; color: #6c757d; margin-bottom: 8px; }
.v-recommendation-card .address { font-size: 14px; color: #6c757d; margin-bottom: 8px; }

/* More Recommendations heading before 4th+ cards */
.more-recommendations-heading {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 40px 0 16px 0;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}

.v-map-tooltip {
    background: #1a1a1a;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    position: absolute;
    text-align: center;
    z-index: 1000;
    pointer-events: none;
    transform: translate(-50%, -100%);
    margin-top: -10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.v-map-tooltip::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1a1a1a;
}

.v-map-tooltip a {
    color: #FFCD00;
    text-decoration: underline;
}

.v-map-popup {
    background: #fff;
    color: #1a1a1a;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: none;
    min-width: 200px;
    max-width: 300px;
}
.v-map-popup h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}
.v-map-popup p {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
}


/* Section container for consistent content width */
.v-section-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* --- v-badge (card + article-card) --- */
/* Also used on food type cards */

/* --- category.php --- */
/* --- community-section.php --- */
/* --- food-section.php --- */

/* --- Article Hero --- */

/* --- Breadcrumbs --- */

/* --- Article Body --- */
.article-body { padding: 0 0 64px 0; }
.article-container { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* --- Article Content --- */
.article-content { font-size: 16px; line-height: 1.8; color: #1a1a1a; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin-bottom: 20px; padding-left: 24px; }
.article-content li { margin-bottom: 8px; }

/* Restaurant list inside article */
.card-list { margin-top: 24px; margin-bottom: 24px; }

/* Remove old table formatting from parsed card blocks */
.v-recommendation-card table { display: none; }
.v-recommendation-card tr { display: none; }
.v-recommendation-card td { display: none; }
.v-recommendation-card .description { margin-top: 8px; }
@media (max-width: 768px) { .v-recommendation-card { padding: 16px; } .v-recommendation-card h3, .v-recommendation-card__title { font-size: 16px; } }

/* --- v-breadcrumb (components/breadcrumb.php) --- */
.v-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #6c757d; margin-bottom: 8px; }
.v-breadcrumb__link { color: #DA291C; font-weight: 500; text-decoration: none; }
.v-breadcrumb__link:hover { text-decoration: underline; }
.v-breadcrumb__sep { color: #6c757d; }
.v-breadcrumb__current { color: #6c757d; }

/* --- v-city-grid (components/city-grid.php) --- */
.v-city-grid { padding: 48px 24px; max-width: 1200px; margin: 0 auto; }
.v-city-grid__title { font-size: 26px; font-weight: 700; text-align: center; margin-bottom: 28px; color: #1a1a1a; text-transform: uppercase; letter-spacing: 2px; }
.v-city-grid__pills { max-width: 900px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.v-city-grid__pill { padding: 12px 24px; background: #f8f9fa; border-radius: 24px; font-size: 14px; font-weight: 600; transition: all 0.2s; text-decoration: none; color: #1a1a1a; border: 1px solid transparent; }
.v-city-grid__pill:hover { border-color: #DA291C; color: #DA291C; background: #ffffff; }

/* --- v-lang-toggle (components/lang-toggle.php) --- */
.v-lang-toggle { display: flex; gap: 4px; align-items: center; padding: 4px; background: #f8f9fa; border-radius: 6px; }
.v-lang-toggle__btn { background: transparent; border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; transition: all 0.2s; color: #1a1a1a; }
.v-lang-toggle__btn:hover { background: rgba(218, 41, 28, 0.1); }
.v-lang-toggle__btn--active { background: #DA291C; color: #ffffff; }

/* --- v-featured-cities (layouts/home.php) --- */
.v-featured-cities { background: #f8f9fa; padding: 48px 0; }
.v-featured-cities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .v-featured-cities__grid { grid-template-columns: 1fr; } }
@media (max-width: 1024px) and (min-width: 769px) { .v-featured-cities__grid { grid-template-columns: repeat(2, 1fr); } }
.v-featured-cities__card { display: block; position: relative; border-radius: 14px; overflow: hidden; min-height: 200px; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.v-featured-cities__card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,0.15); }
.v-featured-cities__card-bg { position: absolute; inset: 0; }
.v-featured-cities__card-content { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; min-height: 200px; }
.v-featured-cities__card-name { font-size: 26px; font-weight: 800; color: #ffffff; margin: 0 0 4px 0; text-shadow: 0 2px 8px rgba(0,0,0,0.4); letter-spacing: -0.5px; }
.v-featured-cities__card-count { font-size: 14px; color: rgba(255,255,255,0.85); font-weight: 500; }

/* --- v-latest-stories (layouts/home.php) --- */
.v-latest-stories { padding: 48px 0; }

/* Ad Slots */
.v-ad-slot {
    margin: 24px 0;
    min-height: 0;
    overflow: hidden;
}
.v-ad-slot:empty {
    display: none;
    margin: 0;
    min-height: 0;
}
.v-ad-slot--article-after-intro {
    margin: 32px 0;
    min-height: 0;
}
.v-ad-slot--article-after-intro:empty {
    min-height: 0;
}
.v-ad-slot--article-before-footer {
    min-height: 0;
}
.v-ad-slot--article-before-footer:empty {
    min-height: 0;
}
/* Ad debug mode — uncomment to see ad slot placeholders during dev */
/*
.v-ad-slot {
    background: #f8f8f8;
    border: 1px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 90px;
}
.v-ad-slot--article-after-intro { min-height: 250px; }
.v-ad-slot--article-before-footer { min-height: 250px; }
*/


/* Legacy badge aliases (old articles use .badge, new use .v-badge) */
.badge { padding: 4px 12px; border-radius: 9999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.badge-top-pick, .badge.badge-top-pick { background: #FFCD00; color: #1a1a1a; }
.badge-best-value, .badge.badge-best-value { background: #4CAF50; color: #ffffff; }
.badge-hidden-gem, .badge.badge-hidden-gem { background: #DA291C; color: #ffffff; }
.badge-worth-mentioning, .badge.badge-worth-mentioning { background: #6c757d; color: #ffffff; }

/* Map boundary tooltips */
.v-map-tooltip {
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.v-map-tooltip::before {
    border-top-color: #1a1a1a;
}
