/*
Theme Name: Kadence Child - YogaNearMe
Theme URI: https://yoganearme.info
Description: Custom child theme for YogaNearMe yoga studio directory. Built on Kadence theme with GeoDirectory integration.
Author: YogaNearMe
Author URI: https://yoganearme.info
Template: kadence
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: kadence-child-ynm
*/

/* ==========================================================================
   YNM DESIGN SYSTEM - CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
    /* Primary Colors */
    --ynm-sage: #5F7470;
    --ynm-sage-dark: #4a5c59;
    --ynm-sage-light: #7a908c;

    /* Accent Colors */
    --ynm-coral: #FF5733;
    --ynm-coral-dark: #e64a2a;
    --ynm-coral-light: #ff7a5c;
    --ynm-rust: #bd371a;
    --ynm-gold: #C4A962;
    --ynm-terracotta: #D4A574;

    /* Text Colors */
    --ynm-text-primary: #1a1a1a;
    --ynm-text-secondary: #666666;
    --ynm-text-muted: #999999;
    --ynm-text-inverse: #ffffff;

    /* Background Colors */
    --ynm-bg-white: #ffffff;
    --ynm-bg-warm: #f8f6f3;
    --ynm-bg-cream: #faf8f5;
    --ynm-bg-dark: #1a1a1a;

    /* Border Colors */
    --ynm-border-light: #e8e4df;
    --ynm-border-medium: #d4d0cb;

    /* Map to Kadence palette */
    --global-palette1: var(--ynm-sage);
    --global-palette2: var(--ynm-coral);
    --global-palette3: var(--ynm-rust);
    --global-palette4: var(--ynm-text-primary);
    --global-palette5: var(--ynm-text-secondary);
    --global-palette6: var(--ynm-bg-warm);
    --global-palette7: var(--ynm-bg-white);
    --global-palette8: var(--ynm-border-light);
    --global-palette9: var(--ynm-gold);

    /* Typography */
    --ynm-font-heading: 'Crimson Pro', Georgia, serif;
    --ynm-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --ynm-section-padding: 80px;
    --ynm-container-max: 1200px;
    --ynm-content-max: 800px;

    /* Borders & Shadows */
    --ynm-radius-sm: 4px;
    --ynm-radius-md: 8px;
    --ynm-radius-lg: 12px;
    --ynm-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --ynm-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --ynm-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --ynm-transition-fast: 150ms ease;
    --ynm-transition-normal: 250ms ease;
}

/* ==========================================================================
   BASE TYPOGRAPHY
   ========================================================================== */

body {
    font-family: var(--ynm-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ynm-text-primary);
    background-color: var(--ynm-bg-white);
}

h1, h2, h3, h4,
.entry-title,
.wp-block-heading {
    font-family: var(--ynm-font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--ynm-text-primary);
}

h5, h6 {
    font-family: var(--ynm-font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ynm-text-secondary);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

/* ==========================================================================
   LINKS & BUTTONS
   ========================================================================== */

a {
    color: var(--ynm-sage);
    text-decoration: none;
    transition: color var(--ynm-transition-fast);
}

a:hover,
a:focus {
    color: var(--ynm-coral);
}

.wp-block-button__link,
.button,
button[type="submit"],
input[type="submit"] {
    font-family: var(--ynm-font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 28px;
    border-radius: var(--ynm-radius-md);
    transition: all var(--ynm-transition-fast);
    cursor: pointer;
}

/* Primary Button */
.wp-block-button:not(.is-style-outline) .wp-block-button__link,
.button,
button[type="submit"],
input[type="submit"] {
    background-color: var(--ynm-coral);
    color: var(--ynm-text-inverse);
    border: none;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: var(--ynm-rust);
}

/* Outline Button */
.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    color: var(--ynm-sage);
    border: 2px solid var(--ynm-sage);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: var(--ynm-sage);
    color: var(--ynm-text-inverse);
}

/* ==========================================================================
   GEODIRECTORY OVERRIDES
   ========================================================================== */

/* Listing Titles */
.geodir-post-title,
.geodir-category-name,
.geodir-entry-title {
    font-family: var(--ynm-font-heading) !important;
    font-weight: 400;
}

/* Listing Content */
.geodir-post-content,
.geodir-entry-content,
.geodir-field-post_content {
    font-family: var(--ynm-font-body) !important;
    line-height: 1.7;
}

/* Studio Badges */
.studio-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.studio-badges .badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-family: var(--ynm-font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--ynm-radius-sm);
}

.studio-badges .badge.verified {
    background-color: var(--ynm-sage);
    color: var(--ynm-text-inverse);
}

.studio-badges .badge.featured {
    background-color: var(--ynm-gold);
    color: var(--ynm-text-primary);
}

/* Studio Tagline */
.studio-tagline {
    font-family: var(--ynm-font-heading);
    font-size: 20px;
    font-style: italic;
    color: var(--ynm-text-secondary);
    margin-top: 8px;
    max-width: 600px;
}

/* Hours Status */
.studio-hours-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
}

.studio-hours-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.studio-hours-status.open::before {
    background-color: #22c55e;
}

.studio-hours-status.closed::before {
    background-color: #ef4444;
}

/* Yoga Styles Tags */
.ynm-yoga-styles .ynm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ynm-yoga-styles .ynm-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--ynm-bg-warm);
    color: var(--ynm-text-primary);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--ynm-radius-sm);
    transition: all var(--ynm-transition-fast);
}

.ynm-yoga-styles .ynm-tag:hover {
    background-color: var(--ynm-sage);
    color: var(--ynm-text-inverse);
}

/* Amenities List */
.ynm-amenities .ynm-amenity-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ynm-amenities .ynm-amenity-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.ynm-amenities .ynm-amenity-list li.has-amenity {
    color: var(--ynm-text-primary);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.ynm-label {
    font-family: var(--ynm-font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ynm-text-secondary);
}

.ynm-accent-border {
    border-left: 4px solid var(--ynm-coral);
    padding-left: 16px;
}

.ynm-card {
    background-color: var(--ynm-bg-warm);
    border-radius: var(--ynm-radius-lg);
    padding: 32px;
}

.ynm-section-warm {
    background-color: var(--ynm-bg-warm);
    padding: var(--ynm-section-padding) 0;
}

.ynm-section-dark {
    background-color: var(--ynm-bg-dark);
    color: var(--ynm-text-inverse);
    padding: var(--ynm-section-padding) 0;
}

.ynm-section-dark h1,
.ynm-section-dark h2,
.ynm-section-dark h3,
.ynm-section-dark h4 {
    color: var(--ynm-text-inverse);
}

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

@media (max-width: 1024px) {
    h1 { font-size: 40px; }
    h2 { font-size: 30px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
}

@media (max-width: 768px) {
    :root {
        --ynm-section-padding: 40px;
    }

    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    h3 { font-size: 22px; }
    h4 { font-size: 18px; }

    .studio-tagline {
        font-size: 18px;
    }

    .ynm-amenities .ynm-amenity-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SINGLE LISTING PAGE
   ========================================================================== */

/* Hero Section */
.studio-hero {
    position: relative;
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.studio-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
}

.studio-hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    padding: 48px 24px;
    width: 100%;
}

.studio-hero .breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.studio-hero .breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.studio-hero .breadcrumb a:hover {
    color: var(--ynm-coral);
}

.studio-hero h1 {
    font-size: 48px;
    color: white;
    margin: 0 0 8px;
}

.studio-hero .tagline {
    font-family: var(--ynm-font-heading);
    font-style: italic;
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
}

.studio-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.studio-meta-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--ynm-radius-sm);
    font-size: 14px;
    font-weight: 500;
}

.badge-rating {
    background: var(--ynm-gold);
    color: var(--ynm-text-primary);
}

.badge-claimed {
    background: var(--ynm-sage);
    color: white;
}

.badge-featured {
    background: var(--ynm-coral);
    color: white;
}

/* Quick Info Bar */
.quick-info-bar {
    background: var(--ynm-bg-white);
    border-bottom: 1px solid var(--ynm-border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.quick-info-inner {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.quick-info-items {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-info-item .icon {
    width: 20px;
    height: 20px;
    color: var(--ynm-sage);
}

.quick-info-item .icon svg {
    width: 100%;
    height: 100%;
}

.quick-info-item .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ynm-text-muted);
    display: block;
}

.quick-info-item .value {
    font-weight: 500;
    color: var(--ynm-text-primary);
}

.quick-info-item .value.open-now {
    color: #22c55e;
}

.quick-info-cta {
    display: flex;
    gap: 12px;
}

.quick-info-cta .button.primary {
    background-color: var(--ynm-coral);
    color: white;
    border: none;
}

.quick-info-cta .button.outline {
    background-color: transparent;
    border: 2px solid var(--ynm-sage);
    color: var(--ynm-sage);
}

/* Main Content Grid */
.studio-content {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
}

/* Content Sections */
.content-section {
    margin-bottom: 48px;
}

.content-section h2 {
    font-size: 28px;
    margin-bottom: 24px;
    border-left: 4px solid var(--ynm-coral);
    padding-left: 16px;
}

.content-section p,
.content-section .description-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ynm-text-secondary);
}

/* Yoga Styles Grid */
.yoga-styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.yoga-style-tag {
    background: var(--ynm-bg-warm);
    padding: 12px 16px;
    border-radius: var(--ynm-radius-md);
    text-align: center;
    font-weight: 500;
    color: var(--ynm-sage);
    transition: all var(--ynm-transition-fast);
}

.yoga-style-tag:hover {
    background: var(--ynm-sage);
    color: white;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
}

.amenity-icon {
    width: 40px;
    height: 40px;
    background: var(--ynm-bg-warm);
    border-radius: var(--ynm-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ynm-sage);
    flex-shrink: 0;
}

.amenity-icon svg {
    width: 24px;
    height: 24px;
}

.amenity-label {
    font-weight: 500;
    color: var(--ynm-text-primary);
}

/* Sidebar */
.studio-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}

.sidebar-card {
    background: var(--ynm-bg-white);
    border: 1px solid var(--ynm-border-light);
    border-radius: var(--ynm-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--ynm-shadow-md);
}

.sidebar-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

/* Contact Card */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ynm-border-light);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list .icon {
    width: 20px;
    height: 20px;
    color: var(--ynm-sage);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-list .icon svg {
    width: 100%;
    height: 100%;
}

.contact-list a {
    color: var(--ynm-text-primary);
    word-break: break-word;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--ynm-border-light);
}

.social-links a {
    color: var(--ynm-sage);
    transition: color var(--ynm-transition-fast);
}

.social-links a:hover {
    color: var(--ynm-coral);
}

/* Hours Card */
.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--ynm-border-light);
    font-size: 14px;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list .day {
    color: var(--ynm-text-secondary);
}

.hours-list .time {
    font-weight: 500;
}

.hours-list li.today {
    background: var(--ynm-bg-warm);
    margin: 0 -12px;
    padding: 8px 12px;
    border-radius: var(--ynm-radius-sm);
}

.hours-list li.today .day {
    color: var(--ynm-sage);
    font-weight: 600;
}

/* Map Container */
.map-container {
    height: 300px;
    background: var(--ynm-bg-warm);
    border-radius: var(--ynm-radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
}

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

.directions-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--ynm-sage);
    color: white;
    border-radius: var(--ynm-radius-md);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 14px;
}

.directions-link:hover {
    background: var(--ynm-sage-dark);
    color: white;
}

/* Booking CTA */
.booking-cta .button.full-width {
    display: block;
    width: 100%;
    text-align: center;
}

/* Claim CTA */
.claim-cta {
    background: var(--ynm-bg-warm);
}

.claim-cta p {
    font-size: 14px;
    color: var(--ynm-text-secondary);
    margin-bottom: 16px;
}

/* Reviews Section */
.reviews-section {
    background: var(--ynm-bg-warm);
    padding: var(--ynm-section-padding) 24px;
}

.reviews-header {
    max-width: var(--ynm-container-max);
    margin: 0 auto 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.reviews-header h2 {
    border: none;
    padding: 0;
    margin-bottom: 8px;
}

.reviews-summary {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.reviews-summary .rating-large {
    font-family: var(--ynm-font-heading);
    font-size: 48px;
    color: var(--ynm-text-primary);
}

.reviews-summary .rating-count {
    color: var(--ynm-text-secondary);
}

.reviews-grid {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--ynm-bg-white);
    border-radius: var(--ynm-radius-lg);
    padding: 24px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ynm-sage);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.review-meta .reviewer-name {
    font-weight: 500;
    color: var(--ynm-text-primary);
}

.review-meta .review-date {
    font-size: 14px;
    color: var(--ynm-text-muted);
}

.review-rating {
    color: var(--ynm-gold);
    margin-bottom: 12px;
}

.review-text {
    color: var(--ynm-text-secondary);
    line-height: 1.6;
}

.reviews-more {
    max-width: var(--ynm-container-max);
    margin: 32px auto 0;
    text-align: center;
}

/* Related Studios CTA */
.related-cta {
    background: linear-gradient(135deg, var(--ynm-sage) 0%, #475a57 100%);
    padding: var(--ynm-section-padding) 24px;
    text-align: center;
    color: white;
}

.related-cta h2 {
    color: white;
    border: none;
    padding: 0;
    margin-bottom: 16px;
}

.related-cta > p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 32px;
}

.related-studios-grid {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-studio-card {
    background: rgba(255,255,255,0.1);
    border-radius: var(--ynm-radius-lg);
    padding: 24px;
    text-align: left;
    transition: all var(--ynm-transition-fast);
}

.related-studio-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    color: white;
}

.related-studio-card h4 {
    color: white;
    margin-bottom: 8px;
}

.related-studio-card .neighborhood {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.related-studio-card .distance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ynm-gold);
}

/* ==========================================================================
   SINGLE LISTING RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .studio-content {
        grid-template-columns: 1fr;
    }

    .studio-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .studio-hero {
        min-height: 40vh;
    }

    .studio-hero h1 {
        font-size: 32px;
    }

    .studio-hero .tagline {
        font-size: 18px;
    }

    .quick-info-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .quick-info-cta {
        width: 100%;
    }

    .quick-info-cta .button {
        flex: 1;
        text-align: center;
    }

    .studio-content {
        padding: 32px 16px;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SINGLE LISTING - EXTENDED SECTIONS
   ========================================================================== */

/* Breadcrumbs */
.ynm-breadcrumbs {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    padding: 16px 24px;
}

.ynm-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.ynm-breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ynm-breadcrumb-list a {
    color: var(--ynm-text-secondary);
}

.ynm-breadcrumb-list a:hover {
    color: var(--ynm-coral);
}

.ynm-breadcrumb-list .separator {
    color: var(--ynm-text-muted);
}

.ynm-breadcrumb-list .current {
    color: var(--ynm-text-primary);
    font-weight: 500;
}

/* Hero Gallery */
.ynm-hero-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 200px);
    gap: 8px;
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.ynm-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--ynm-radius-md);
}

.ynm-gallery-item.main {
    grid-row: span 2;
}

.ynm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ynm-transition-normal);
}

.ynm-gallery-item:hover img {
    transform: scale(1.05);
}

.ynm-gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--ynm-transition-fast);
}

.ynm-gallery-item .overlay:hover {
    background: rgba(0,0,0,0.6);
}

.ynm-hero-placeholder {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.ynm-hero-placeholder .placeholder-image {
    height: 400px;
    background: linear-gradient(135deg, var(--ynm-sage) 0%, var(--ynm-sage-light) 100%);
    border-radius: var(--ynm-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.ynm-hero-placeholder .placeholder-image i {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.7;
}

/* Trust Badges Section */
.ynm-trust-badges {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    padding: 24px;
}

.ynm-trust-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ynm-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--ynm-bg-warm);
    border-radius: var(--ynm-radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--ynm-text-primary);
}

.ynm-trust-badge i {
    color: var(--ynm-sage);
    font-size: 18px;
}

.ynm-trust-badge.verified {
    background: var(--ynm-sage);
    color: white;
}

.ynm-trust-badge.verified i {
    color: white;
}

/* Pricing Section */
.ynm-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.ynm-pricing-card {
    background: var(--ynm-bg-warm);
    border-radius: var(--ynm-radius-lg);
    padding: 24px;
    text-align: center;
}

.ynm-pricing-card.featured {
    background: var(--ynm-sage);
    color: white;
}

.ynm-pricing-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ynm-text-secondary);
    margin-bottom: 8px;
}

.ynm-pricing-card.featured .ynm-pricing-label {
    color: rgba(255,255,255,0.8);
}

.ynm-pricing-value {
    font-family: var(--ynm-font-heading);
    font-size: 36px;
    font-weight: 400;
    color: var(--ynm-text-primary);
    margin-bottom: 4px;
}

.ynm-pricing-card.featured .ynm-pricing-value {
    color: white;
}

.ynm-pricing-unit {
    font-size: 14px;
    color: var(--ynm-text-secondary);
}

.ynm-pricing-card.featured .ynm-pricing-unit {
    color: rgba(255,255,255,0.8);
}

.ynm-new-student-offer {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, var(--ynm-coral) 0%, var(--ynm-rust) 100%);
    border-radius: var(--ynm-radius-lg);
    color: white;
}

.ynm-new-student-offer h4 {
    color: white;
    margin-bottom: 8px;
}

/* Programs Section */
.ynm-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.ynm-program-card {
    background: var(--ynm-bg-warm);
    border-radius: var(--ynm-radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--ynm-transition-fast);
}

.ynm-program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ynm-shadow-md);
}

.ynm-program-icon {
    font-size: 32px;
    color: var(--ynm-sage);
    margin-bottom: 12px;
}

.ynm-program-name {
    font-weight: 500;
    color: var(--ynm-text-primary);
}

/* Teachers Section */
.ynm-teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.ynm-teacher-card {
    text-align: center;
}

.ynm-teacher-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--ynm-sage);
    color: white;
    font-size: 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    overflow: hidden;
}

.ynm-teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ynm-teacher-name {
    font-weight: 500;
    color: var(--ynm-text-primary);
    margin-bottom: 4px;
}

.ynm-teacher-title {
    font-size: 14px;
    color: var(--ynm-text-secondary);
    margin-bottom: 8px;
}

.ynm-teacher-specialties {
    font-size: 13px;
    color: var(--ynm-sage);
}

/* First Visit Section */
.ynm-first-visit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.ynm-first-visit-card {
    background: var(--ynm-bg-warm);
    border-radius: var(--ynm-radius-lg);
    padding: 24px;
}

.ynm-first-visit-card h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ynm-first-visit-card h4 i {
    color: var(--ynm-coral);
}

.ynm-first-visit-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ynm-first-visit-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--ynm-text-secondary);
}

.ynm-first-visit-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--ynm-sage);
    font-weight: 600;
}

/* Practical Info Section */
.ynm-practical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.ynm-practical-card {
    background: var(--ynm-bg-warm);
    border-radius: var(--ynm-radius-lg);
    padding: 24px;
}

.ynm-practical-card h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
}

.ynm-practical-card h4 i {
    color: var(--ynm-sage);
}

.ynm-practical-card p {
    margin: 0;
    color: var(--ynm-text-secondary);
    line-height: 1.6;
}

/* Rating Distribution */
.ynm-rating-distribution {
    margin-top: 24px;
}

.ynm-rating-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.ynm-rating-bar .stars {
    font-size: 14px;
    color: var(--ynm-text-secondary);
    width: 60px;
}

.ynm-rating-bar .bar {
    flex: 1;
    height: 8px;
    background: var(--ynm-border-light);
    border-radius: 4px;
    overflow: hidden;
}

.ynm-rating-bar .bar .fill {
    height: 100%;
    background: var(--ynm-gold);
    transition: width var(--ynm-transition-normal);
}

.ynm-rating-bar .count {
    font-size: 14px;
    color: var(--ynm-text-muted);
    width: 30px;
    text-align: right;
}

/* Star Ratings (FontAwesome) */
.ynm-stars {
    color: var(--ynm-gold);
    font-size: 16px;
    display: inline-flex;
    gap: 2px;
}

.ynm-stars i {
    color: var(--ynm-gold);
}

.ynm-stars .far {
    color: var(--ynm-border-medium);
}

/* Reviews Section Updates */
.reviews-section .reviews-summary-box {
    background: var(--ynm-bg-white);
    border-radius: var(--ynm-radius-lg);
    padding: 32px;
    text-align: center;
    max-width: 300px;
}

.reviews-section .rating-number {
    font-family: var(--ynm-font-heading);
    font-size: 64px;
    color: var(--ynm-text-primary);
    line-height: 1;
}

.reviews-section .rating-stars {
    margin: 12px 0;
}

.reviews-section .rating-count {
    font-size: 14px;
    color: var(--ynm-text-secondary);
}

/* External Ratings */
.ynm-external-ratings {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.ynm-external-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--ynm-bg-white);
    border-radius: var(--ynm-radius-md);
    border: 1px solid var(--ynm-border-light);
}

.ynm-external-rating .logo {
    width: 24px;
    height: 24px;
}

.ynm-external-rating .rating-value {
    font-weight: 600;
    color: var(--ynm-text-primary);
}

.ynm-external-rating .rating-count {
    font-size: 13px;
    color: var(--ynm-text-muted);
}

/* Claim CTA Section */
.ynm-claim-section {
    background: var(--ynm-bg-warm);
    padding: 48px 24px;
    text-align: center;
}

.ynm-claim-section .container {
    max-width: 600px;
    margin: 0 auto;
}

.ynm-claim-section h3 {
    margin-bottom: 16px;
}

.ynm-claim-section p {
    color: var(--ynm-text-secondary);
    margin-bottom: 24px;
}

.ynm-claim-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.ynm-claim-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.ynm-claim-benefit i {
    color: var(--ynm-sage);
}

/* Nearby Studios Section */
.ynm-nearby-section {
    padding: var(--ynm-section-padding) 24px;
    background: var(--ynm-bg-white);
}

.ynm-nearby-section .container {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
}

.ynm-nearby-section h2 {
    text-align: center;
    margin-bottom: 48px;
}

.ynm-nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.ynm-nearby-card {
    background: var(--ynm-bg-warm);
    border-radius: var(--ynm-radius-lg);
    padding: 24px;
    transition: all var(--ynm-transition-fast);
}

.ynm-nearby-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ynm-shadow-md);
}

.ynm-nearby-card h4 {
    margin-bottom: 8px;
}

.ynm-nearby-card h4 a {
    color: var(--ynm-text-primary);
}

.ynm-nearby-card h4 a:hover {
    color: var(--ynm-coral);
}

.ynm-nearby-card .neighborhood {
    font-size: 14px;
    color: var(--ynm-text-secondary);
    margin-bottom: 8px;
}

.ynm-nearby-card .distance {
    font-size: 14px;
    color: var(--ynm-sage);
    font-weight: 500;
}

.ynm-nearby-card .distance i {
    margin-right: 6px;
}

/* Upgrade Prompts */
.ynm-upgrade-prompt {
    background: var(--ynm-bg-warm);
    border: 2px dashed var(--ynm-border-medium);
    border-radius: var(--ynm-radius-lg);
    padding: 32px;
    text-align: center;
}

.ynm-upgrade-prompt p {
    margin-bottom: 16px;
    color: var(--ynm-text-secondary);
}

/* Icons in sections */
.section-icon {
    color: var(--ynm-sage);
    font-size: 20px;
}

/* ==========================================================================
   SINGLE LISTING - EXTENDED RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .ynm-hero-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px;
    }

    .ynm-gallery-item.main {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .ynm-hero-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 250px;
    }

    .ynm-gallery-item.main {
        grid-column: span 1;
    }

    .ynm-gallery-item:not(.main) {
        display: none;
    }

    .ynm-trust-badges-grid {
        flex-direction: column;
    }

    .ynm-pricing-grid {
        grid-template-columns: 1fr;
    }

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

    .ynm-first-visit-grid,
    .ynm-practical-grid {
        grid-template-columns: 1fr;
    }

    .ynm-external-ratings {
        flex-direction: column;
    }

    .ynm-claim-benefits {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   CITY ARCHIVE PAGE
   ========================================================================== */

/* City Hero */
.city-hero {
    position: relative;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.city-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.1) 100%);
}

.city-hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    padding: 64px 24px;
    width: 100%;
}

.city-breadcrumbs {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.city-breadcrumbs a {
    color: rgba(255,255,255,0.7);
}

.city-breadcrumbs a:hover {
    color: var(--ynm-coral);
}

.city-breadcrumbs .separator {
    margin: 0 8px;
}

.city-breadcrumbs .current {
    color: white;
}

.city-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.city-hero h1 {
    font-size: 72px;
    color: white;
    margin: 0 0 16px;
}

.city-tagline {
    font-family: var(--ynm-font-heading);
    font-style: italic;
    font-size: 24px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-bottom: 40px;
}

/* City Stats Grid */
.city-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 800px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--ynm-font-heading);
    font-size: 48px;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ynm-coral);
}

/* Filter Bar */
.filter-bar {
    background: var(--ynm-bg-white);
    border-bottom: 1px solid var(--ynm-border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.filter-bar-inner {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    padding: 16px 24px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.filter-dropdown {
    position: relative;
}

.filter-dropdown select {
    appearance: none;
    background: var(--ynm-bg-warm);
    border: 1px solid var(--ynm-border-light);
    border-radius: var(--ynm-radius-md);
    padding: 12px 40px 12px 16px;
    font-family: var(--ynm-font-body);
    font-size: 14px;
    color: var(--ynm-text-primary);
    cursor: pointer;
    min-width: 160px;
}

.filter-dropdown::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--ynm-text-secondary);
    pointer-events: none;
}

.filter-search {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    position: relative;
}

.filter-search input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--ynm-border-light);
    border-radius: var(--ynm-radius-md);
    font-size: 14px;
    background: var(--ynm-bg-white);
}

.filter-search input:focus {
    outline: none;
    border-color: var(--ynm-sage);
}

.filter-search .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--ynm-text-muted);
}

.filter-toggle {
    padding: 12px 16px;
    background: transparent;
    border: 1px solid var(--ynm-border-light);
    border-radius: var(--ynm-radius-md);
    font-size: 14px;
    color: var(--ynm-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-toggle:hover {
    background: var(--ynm-bg-warm);
}

.filter-toggle.active {
    background: var(--ynm-sage);
    border-color: var(--ynm-sage);
    color: white;
}

.filter-results {
    margin-left: auto;
    font-size: 14px;
    color: var(--ynm-text-secondary);
}

.filter-results strong {
    color: var(--ynm-text-primary);
}

.view-toggle {
    display: flex;
    border: 1px solid var(--ynm-border-light);
    border-radius: var(--ynm-radius-md);
    overflow: hidden;
}

.view-toggle button {
    padding: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--ynm-text-muted);
}

.view-toggle button.active {
    background: var(--ynm-sage);
    color: white;
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--ynm-border-light);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: var(--ynm-sage);
    color: white;
    border-radius: 20px;
    font-size: 14px;
}

.filter-chip a {
    color: white;
    text-decoration: none;
}

.clear-all {
    font-size: 14px;
    color: var(--ynm-coral);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

/* Archive Content */
.archive-content {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    padding: 40px 24px;
}

/* Studio Grid */
.studio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

/* Studio Card */
.studio-card {
    background: var(--ynm-bg-white);
    border: 1px solid var(--ynm-border-light);
    border-radius: var(--ynm-radius-lg);
    overflow: hidden;
    transition: all var(--ynm-transition-fast);
}

.studio-card:hover {
    box-shadow: var(--ynm-shadow-lg);
    transform: translateY(-4px);
}

.studio-card-image {
    position: relative;
    height: 200px;
    background: var(--ynm-bg-warm);
}

.studio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-card-image .placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ynm-sage);
    font-size: 48px;
}

.studio-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
}

.badge-small {
    padding: 4px 8px;
    border-radius: var(--ynm-radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-featured {
    background: var(--ynm-coral);
    color: white;
}

.badge-open {
    background: #10b981;
    color: white;
}

.badge-closed {
    background: var(--ynm-text-muted);
    color: white;
}

.studio-card-distance {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--ynm-sage);
    color: white;
    padding: 4px 12px;
    border-radius: var(--ynm-radius-sm);
    font-size: 14px;
    font-weight: 500;
}

.studio-card-content {
    padding: 20px;
}

.studio-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.studio-card h3 {
    font-size: 20px;
    margin: 0;
    line-height: 1.3;
}

.studio-card h3 a {
    color: var(--ynm-coral);
}

.studio-card h3 a:hover {
    color: var(--ynm-rust);
}

.studio-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--ynm-gold);
    font-weight: 600;
    white-space: nowrap;
}

.studio-card-meta {
    font-size: 14px;
    color: var(--ynm-text-secondary);
    margin-bottom: 12px;
}

.studio-card-styles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.style-tag {
    background: var(--ynm-bg-warm);
    padding: 4px 8px;
    border-radius: var(--ynm-radius-sm);
    font-size: 12px;
    color: var(--ynm-sage);
    font-weight: 500;
}

.studio-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--ynm-border-light);
}

.studio-card-price {
    font-weight: 600;
    color: var(--ynm-text-primary);
}

.studio-card-price span {
    font-weight: 400;
    color: var(--ynm-text-muted);
    font-size: 14px;
}

.studio-card-hours {
    font-size: 14px;
    color: var(--ynm-text-secondary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--ynm-border-light);
    border-radius: var(--ynm-radius-md);
    font-size: 14px;
    color: var(--ynm-text-secondary);
    transition: all var(--ynm-transition-fast);
}

.pagination a:hover {
    background: var(--ynm-bg-warm);
    color: var(--ynm-text-primary);
}

.pagination .current,
.pagination span.current {
    background: var(--ynm-sage);
    border-color: var(--ynm-sage);
    color: white;
}

.pagination .dots {
    border: none;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 24px;
}

.no-results-icon {
    font-size: 64px;
    color: var(--ynm-text-muted);
    margin-bottom: 24px;
}

.no-results h3 {
    margin-bottom: 8px;
}

.no-results p {
    color: var(--ynm-text-secondary);
    margin-bottom: 24px;
}

/* Map View Container */
.map-view-container {
    height: 600px;
    background: var(--ynm-bg-warm);
    border-radius: var(--ynm-radius-lg);
    overflow: hidden;
    margin-bottom: 48px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ynm-text-muted);
}

/* City Content Section */
.city-content {
    background: var(--ynm-bg-warm);
    padding: var(--ynm-section-padding) 24px;
}

.city-content-inner {
    max-width: var(--ynm-content-max);
    margin: 0 auto;
}

.city-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
    border-left: 4px solid var(--ynm-coral);
    padding-left: 16px;
}

.city-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--ynm-text-secondary);
    margin-bottom: 24px;
}

.city-content .lead {
    font-family: var(--ynm-font-heading);
    font-size: 24px;
    font-style: italic;
    color: var(--ynm-text-primary);
    line-height: 1.6;
}

/* Neighborhood Guide */
.neighborhood-guide {
    padding: var(--ynm-section-padding) 24px;
}

.neighborhood-guide-inner {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
}

.neighborhood-guide-header {
    text-align: center;
    margin-bottom: 48px;
}

.neighborhood-guide-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.neighborhood-guide-header p {
    font-size: 18px;
    color: var(--ynm-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

/* Neighborhood Card */
.neighborhood-card {
    background: var(--ynm-bg-warm);
    border-radius: var(--ynm-radius-lg);
    overflow: hidden;
}

.neighborhood-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.neighborhood-card-content {
    padding: 24px;
}

.neighborhood-card-count {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ynm-sage);
    margin-bottom: 8px;
}

.neighborhood-card h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.neighborhood-card h3 a {
    color: var(--ynm-text-primary);
}

.neighborhood-card h3 a:hover {
    color: var(--ynm-coral);
}

.neighborhood-card-tagline {
    font-family: var(--ynm-font-heading);
    font-style: italic;
    font-size: 18px;
    color: var(--ynm-text-secondary);
    margin-bottom: 16px;
}

/* Vibe Card */
.vibe-card {
    background: var(--ynm-bg-white);
    border-radius: var(--ynm-radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.vibe-card-header {
    font-weight: 600;
    margin-bottom: 8px;
}

.vibe-card-header .emoji {
    margin-right: 8px;
}

.vibe-card-tags {
    font-size: 14px;
    color: var(--ynm-text-secondary);
}

.neighborhood-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ynm-coral);
    font-weight: 500;
}

.neighborhood-card-link:hover {
    color: var(--ynm-rust);
}

/* Newsletter CTA */
.newsletter-cta {
    background: linear-gradient(135deg, var(--ynm-sage) 0%, #475a57 100%);
    padding: var(--ynm-section-padding) 24px;
    text-align: center;
    color: white;
}

.newsletter-cta h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 16px;
}

.newsletter-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: var(--ynm-radius-md);
    font-size: 16px;
}

.newsletter-form button {
    padding: 16px 24px;
    background: var(--ynm-coral);
    color: white;
    border: none;
    border-radius: var(--ynm-radius-md);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--ynm-rust);
}

/* ==========================================================================
   CITY ARCHIVE RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .city-hero {
        min-height: 60vh;
    }

    .city-hero h1 {
        font-size: 48px;
    }

    .city-tagline {
        font-size: 20px;
    }

    .city-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 36px;
    }

    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-dropdown select,
    .filter-search {
        width: 100%;
        max-width: none;
    }

    .filter-results {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
    }

    .studio-grid {
        grid-template-columns: 1fr;
    }

    .neighborhood-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* ==========================================================================
   YOGA STYLE PAGE
   ========================================================================== */

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1000;
}

.reading-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--ynm-coral) 0%, var(--ynm-rust) 100%);
    width: 0;
    transition: width 0.1s linear;
}

/* Style Hero */
.style-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
}

.style-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.style-hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ynm-sage) 0%, var(--ynm-sage-dark) 100%);
}

.style-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
}

.style-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px;
    max-width: var(--ynm-container-max);
    margin: 0 auto;
}

.style-hero h1 {
    font-size: 64px;
    color: white;
    margin: 0 0 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.style-hero-subtitle {
    font-family: var(--ynm-font-heading);
    font-style: italic;
    font-size: 24px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0;
}

/* Style Meta Section */
.style-meta {
    background: var(--ynm-bg-white);
    border-bottom: 1px solid var(--ynm-border-light);
}

.style-meta-inner {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.style-meta .breadcrumb {
    font-size: 14px;
    color: var(--ynm-text-secondary);
}

.style-meta .breadcrumb a {
    color: var(--ynm-text-secondary);
}

.style-meta .breadcrumb a:hover {
    color: var(--ynm-coral);
}

.style-meta .breadcrumb .separator {
    margin: 0 8px;
    color: var(--ynm-text-muted);
}

.style-meta .breadcrumb .current {
    color: var(--ynm-text-primary);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--ynm-text-primary);
}

.publish-date {
    font-size: 13px;
    color: var(--ynm-text-muted);
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--ynm-text-secondary);
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--ynm-border-light);
}

.reading-time svg {
    color: var(--ynm-sage);
}

/* Style Layout (Content + TOC) */
.style-layout {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
}

/* Table of Contents (Sticky Sidebar) */
.toc {
    position: sticky;
    top: 80px;
    align-self: start;
    padding-right: 24px;
    border-right: 1px solid var(--ynm-border-light);
}

.toc h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ynm-text-muted);
    margin-bottom: 16px;
}

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

.toc-nav li {
    margin-bottom: 8px;
}

.toc-nav a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--ynm-text-secondary);
    border-left: 2px solid transparent;
    padding-left: 16px;
    margin-left: -16px;
    transition: all var(--ynm-transition-fast);
}

.toc-nav a:hover {
    color: var(--ynm-sage);
}

.toc-nav a.active {
    color: var(--ynm-sage);
    border-left-color: var(--ynm-coral);
    font-weight: 500;
}

.toc-nav a.highlight {
    color: var(--ynm-coral);
    font-weight: 500;
}

/* Main Style Content */
.style-content {
    max-width: 720px;
}

.style-content .lead {
    font-family: var(--ynm-font-heading);
    font-size: 22px;
    line-height: 1.6;
    color: var(--ynm-text-primary);
    margin-bottom: 32px;
}

.style-content h2 {
    font-size: 32px;
    margin: 48px 0 24px;
    padding-left: 16px;
    border-left: 4px solid var(--ynm-coral);
}

.style-content h2:first-of-type {
    margin-top: 0;
}

.style-content h3 {
    font-size: 24px;
    margin: 32px 0 16px;
    color: var(--ynm-text-primary);
}

.style-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ynm-text-secondary);
    margin-bottom: 20px;
}

.style-content ul,
.style-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.style-content li {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ynm-text-secondary);
    margin-bottom: 8px;
}

/* Section Dividers */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 48px 0;
    color: var(--ynm-border-medium);
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ynm-border-light);
}

.section-divider .icon {
    padding: 0 16px;
    font-size: 20px;
    color: var(--ynm-sage);
}

/* Key Points Box */
.key-points {
    background: var(--ynm-bg-warm);
    border-radius: var(--ynm-radius-lg);
    padding: 24px 32px;
    margin: 32px 0;
}

.key-points h3 {
    font-size: 18px;
    margin: 0 0 16px;
    color: var(--ynm-text-primary);
}

.key-points ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--ynm-border-light);
}

.key-points li:last-child {
    border-bottom: none;
}

.key-points li .icon {
    color: var(--ynm-sage);
    font-weight: 600;
    flex-shrink: 0;
}

/* Quote Block */
.quote-block {
    background: var(--ynm-bg-warm);
    border-left: 4px solid var(--ynm-sage);
    padding: 32px;
    margin: 32px 0;
    border-radius: 0 var(--ynm-radius-lg) var(--ynm-radius-lg) 0;
}

.quote-block p {
    font-family: var(--ynm-font-heading);
    font-style: italic;
    font-size: 22px;
    line-height: 1.5;
    color: var(--ynm-text-primary);
    margin: 0;
}

.quote-block cite {
    display: block;
    margin-top: 16px;
    font-style: normal;
    font-size: 14px;
    color: var(--ynm-text-secondary);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.benefit-item {
    background: var(--ynm-bg-warm);
    border-radius: var(--ynm-radius-lg);
    padding: 24px;
}

.benefit-item h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    margin: 0 0 12px;
    color: var(--ynm-text-primary);
}

.benefit-item h4 .emoji {
    font-size: 24px;
}

.benefit-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: var(--ynm-bg-white);
    border: 1px solid var(--ynm-border-light);
    border-radius: var(--ynm-radius-lg);
    overflow: hidden;
}

.comparison-table th {
    background: var(--ynm-bg-warm);
    padding: 16px;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ynm-text-secondary);
    border-bottom: 1px solid var(--ynm-border-light);
}

.comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--ynm-border-light);
    font-size: 15px;
    color: var(--ynm-text-secondary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    color: var(--ynm-sage);
}

.comparison-table td:last-child {
    color: var(--ynm-text-muted);
}

/* Inline CTA */
.inline-cta {
    background: linear-gradient(135deg, var(--ynm-coral) 0%, var(--ynm-rust) 100%);
    border-radius: var(--ynm-radius-lg);
    padding: 32px;
    margin: 40px 0;
    text-align: center;
    color: white;
}

.inline-cta h3 {
    color: white;
    margin: 0 0 8px;
    font-size: 24px;
}

.inline-cta p {
    color: rgba(255,255,255,0.9);
    margin: 0 0 20px;
    font-size: 16px;
}

.inline-cta .button {
    background: white;
    color: var(--ynm-coral);
    border: none;
    padding: 14px 28px;
    font-weight: 600;
}

.inline-cta .button:hover {
    background: var(--ynm-bg-warm);
}

/* FAQ Section */
.style-faq {
    margin-top: 48px;
}

.style-faq h2 {
    border: none;
    padding: 0;
    text-align: center;
    margin-bottom: 32px;
}

.faq-list {
    max-width: 720px;
}

.faq-item {
    border: 1px solid var(--ynm-border-light);
    border-radius: var(--ynm-radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 24px;
    background: var(--ynm-bg-white);
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: var(--ynm-text-primary);
    cursor: pointer;
    transition: background var(--ynm-transition-fast);
}

.faq-question:hover {
    background: var(--ynm-bg-warm);
}

.faq-question .icon {
    font-size: 20px;
    color: var(--ynm-coral);
    transition: transform var(--ynm-transition-fast);
}

.faq-item.open .faq-question {
    background: var(--ynm-bg-warm);
}

.faq-item.open .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 24px 20px;
    background: var(--ynm-bg-warm);
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ynm-text-secondary);
}

/* Related Styles Section */
.related-styles {
    background: var(--ynm-bg-warm);
    padding: var(--ynm-section-padding) 24px;
}

.related-styles-inner {
    max-width: var(--ynm-container-max);
    margin: 0 auto;
}

.related-styles h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

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

.related-card {
    background: var(--ynm-bg-white);
    border-radius: var(--ynm-radius-lg);
    overflow: hidden;
    transition: all var(--ynm-transition-fast);
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ynm-shadow-lg);
}

.related-card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: var(--ynm-sage);
}

.related-card-content {
    padding: 20px;
}

.related-card h4 {
    font-size: 20px;
    margin: 0 0 8px;
    color: var(--ynm-text-primary);
}

.related-card p {
    font-size: 14px;
    color: var(--ynm-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   YOGA STYLE PAGE RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .style-layout {
        grid-template-columns: 180px 1fr;
        gap: 32px;
    }

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

@media (max-width: 768px) {
    .style-hero {
        height: 50vh;
        min-height: 300px;
    }

    .style-hero-content {
        padding: 24px;
    }

    .style-hero h1 {
        font-size: 40px;
    }

    .style-hero-subtitle {
        font-size: 18px;
    }

    .style-meta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .reading-time {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 8px;
    }

    .style-layout {
        grid-template-columns: 1fr;
    }

    .toc {
        position: relative;
        top: 0;
        padding-right: 0;
        border-right: none;
        padding-bottom: 24px;
        margin-bottom: 24px;
        border-bottom: 1px solid var(--ynm-border-light);
    }

    .toc-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .toc-nav li {
        margin-bottom: 0;
    }

    .toc-nav a {
        padding: 8px 12px;
        border-left: none;
        margin-left: 0;
        background: var(--ynm-bg-warm);
        border-radius: var(--ynm-radius-sm);
    }

    .toc-nav a.active {
        background: var(--ynm-sage);
        color: white;
        border-left: none;
    }

    .style-content h2 {
        font-size: 26px;
    }

    .style-content h3 {
        font-size: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .quote-block {
        padding: 24px;
    }

    .quote-block p {
        font-size: 18px;
    }
}
