/* =============================================
   HOME PAGE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }

:root {
    --mmtorange:   #E8571A;
    --mmtorange-d: #c44510;
    --forest:      #1B6B3A;
    --gold:        #D4940A;
    --cream:       #F8F4EE;
    --dark:        #0F1923;
    --dark-2:      #1A2535;
    --white:       #FFFFFF;
    --text-dark:   #1A1A2E;
    --text-mid:    #4A4A6A;
    --text-light:  #8A8AA0;
    --border:      #E8E2D8;
    --shadow-sm:   0 4px 20px rgba(0,0,0,0.08);
    --shadow-md:   0 8px 32px rgba(0,0,0,0.14);
    --shadow-lg:   0 16px 56px rgba(0,0,0,0.20);
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
}

/* =============================================
   REMOVE CLICK FOCUS OUTLINES & BOX ARTIFACTS
   ============================================= */

/* Remove persistent focus boxes on click/tap for links, cards & buttons */
a,
button,
.home-district-card,
.home-place-card,
.home-blog-card,
.home-cat-card,
.home-reach-card,
.home-season-card,
.tp-ncard,
.tp-rcard {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Strip default active border glow */
a:active,
a:focus,
button:active,
button:focus,
.home-district-card:focus,
.home-district-card:active {
    outline: none !important;
    box-shadow: none;
}

/* Retain clean accessibility outline ONLY when user navigates via keyboard (Tab key) */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--mmtorange) !important;
    outline-offset: 3px !important;
}

.home-page { overflow-x: hidden; }

/* ===== HERO SLIDER ===== */
.home-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 860px;
    overflow: hidden;
}
.home-hero-slides { position: absolute; inset: 0; }

.home-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(.4,0,.2,1);
}
.home-slide--active { opacity: 1; z-index: 1; }

.home-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0,0,0,0.10) 0%,
        rgba(0,0,0,0.30) 40%,
        rgba(0,0,0,0.78) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 0 80px 100px;
}
.home-slide-content { color: #fff; max-width: 700px; }
.home-slide-cat {
    display: inline-block;
    background: var(--mmtorange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.home-slide-content h2 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 12px;
    letter-spacing: -2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 4px 24px rgba(0,0,0,0.5);
    color: #fff;
}
.home-slide-content p {
    font-size: 18px;
    opacity: 0.85;
    margin: 0 0 28px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.home-slide-btn {
    display: inline-block;
    background: var(--mmtorange);
    color: #fff;
    padding: 14px 32px;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 24px rgba(232,87,26,0.4);
}
.home-slide-btn:hover {
    background: var(--mmtorange-d);
    transform: translateY(-2px);
    color: #fff;
}

/* Slider controls */
/* ===== SLIDER BOTTOM CONTROLS ===== */
.home-slider-controls {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
}

.home-slider-prev,
.home-slider-next {
    position: static;
    transform: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,0.30);
    color: #fff;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    border-radius: 50%;
    font-size: 22px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}
.home-slider-prev:hover,
.home-slider-next:hover {
    background: var(--mmtorange);
    border-color: var(--mmtorange);
    transform: scale(1.08);
}

.home-slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}
.home-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
    flex-shrink: 0;
}
.home-dot--active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* Badge */
.home-hero-badge {
    position: absolute;
    top: 80px;
    right: 80px;
    z-index: 10;
}
.home-hero-badge span {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
}

/* ===== SEARCH (CENTER ALIGNED) ===== */
.home-search-wrap {
    background: var(--white);
    padding: 36px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
    z-index: 10;
}

.home-search-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-aligns children horizontally */
}

.home-search-box {
    display: flex;
    align-items: center;
    background: var(--cream);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 6px 8px 6px 20px;
    gap: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 720px; /* Constrains width centered in view */
    margin-bottom: 18px;
}

.home-search-box:focus-within {
    border-color: var(--mmtorange);
    box-shadow: 0 0 0 4px rgba(232, 87, 26, 0.12);
}

.home-search-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.home-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--text-dark);
    outline: none;
    padding: 8px 0;
}

.home-search-box button {
    background: var(--mmtorange);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.home-search-box button:hover {
    background: var(--mmtorange-d);
    transform: scale(1.02);
}

/* Centered Tag Pills */
.home-search-tags {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers tag pills horizontally */
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--text-light);
    max-width: 720px;
}

.home-search-tags span {
    font-weight: 600;
    color: var(--text-mid);
}

.home-search-tags a {
    color: var(--mmtorange);
    text-decoration: none;
    background: #FFF0EA;
    padding: 5px 16px;
    border-radius: 20px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.home-search-tags a:hover {
    background: var(--mmtorange);
    color: #fff;
}

/* ===== STATS ===== */
.home-stats {
  background-color: #ffffff;
  padding: 48px 24px;
}

.home-stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.home-stat {
  /* Default Tonal Background (5% Tint) */
  background-color: rgba(195, 74, 0, 0.05); 
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(195, 74, 0, 0.12);
  transition: transform 200ms ease, background-color 200ms ease;
}

/* Alternate green tint container for contrast */
.home-stat:nth-child(even) {
  background-color: rgba(18, 77, 42, 0.05);
  border-color: rgba(18, 77, 42, 0.12);
}

.home-stat:hover {
  transform: translateY(-3px);
}

.home-stat strong {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
}

.home-stat span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-top: 8px;
}
/* ===== SECTIONS ===== */
.home-section { padding: 88px 0; }
.home-section--cream { background: var(--cream); }
.home-section--dark {
    background: var(--dark);
    color: #fff;
}
.home-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 80px;
}
.home-section-head {
    text-align: center;
    margin-bottom: 56px;
}
.home-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mmtorange);
    margin-bottom: 10px;
}
.home-eyebrow--light { color: #FF8C5A; }
.home-section-head h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 14px;
    line-height: 1.15;
}
.home-section--dark .home-section-head h2 { color: #fff; }
.home-section-head p {
    font-size: 17px;
    color: var(--text-mid);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =============================================
   DISTRICTS GRID 
   ============================================= */

.home-districts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-district-card {
    display: block;
    position: relative;
    text-decoration: none;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    
    /* Fail-safe outline & tap-highlight reset */
    outline: none !important;
    border: none !important;
    box-shadow: var(--shadow-sm) !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
    
    /* Isolates GPU painting layer to stop Chrome focus persistence */
    isolation: isolate;
    will-change: transform;
}

/* Hover State */
.home-district-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg) !important;
    outline: none !important;
}

/* Hard Focus / Active Reset for Click Actions */
.home-district-card:focus,
.home-district-card:active,
.home-district-card:visited,
.home-district-card:-webkit-any-link:focus {
    outline: none !important;
    border: none !important;
}

/* Keyboard accessibility fallback */
.home-district-card:focus-visible {
    outline: 2px solid var(--mmtorange) !important;
    outline-offset: 3px !important;
}

/* Image Container */
.home-dc-img {
    position: relative;
    height: 200px;
    background: #F0EBE0;
    overflow: hidden;
}

.home-dc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-district-card:hover .home-dc-img img {
    transform: scale(1.07);
}

/* Gradient Scrim Overlay */
.home-dc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 25, 0.8) 0%, transparent 60%);
    pointer-events: none;
}

/* Fallback styling when image is missing */
.home-district-card:not(:has(img)) .home-dc-overlay {
    background: linear-gradient(
        to top,
        rgba(240, 235, 226, 0.95) 0%,
        transparent 60%
    );
}

.home-district-card:not(:has(img)) .home-dc-info h3 {
    color: var(--text-dark, #1A1A2E);
}

.home-district-card:not(:has(img)) .home-dc-info span {
    color: var(--text-mid, #4A4A6A);
    opacity: 1;
}

/* Card Content Typography */
.home-dc-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #FFFFFF;
    z-index: 2;
}

.home-dc-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #FFFFFF;
    line-height: 1.2;
}

.home-dc-info span {
    font-size: 13px;
    opacity: 0.85;
    font-weight: 500;
}

.home-district-card {

    /* 1. Prevent outline & tap highlight */
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none;
    user-select: none;
    
    /* 2. Fix Chrome Paint Cache Artifacts */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Hard reset ALL click/focus states to prevent the bounding box */
.home-district-card:focus,
.home-district-card:active,
.home-district-card:focus-within,
.home-district-card:visited,
.home-district-card:hover {
    outline: 0 !important;
    outline-offset: 0 !important;
}

/* Ensure child overlay & image don't hold focus borders */
.home-district-card *,
.home-district-card *:focus,
.home-district-card *:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Responsive Grid Breakpoints */
@media (max-width: 1024px) {
    .home-districts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home-districts-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FEATURED PLACES ===== */
.home-places-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.home-place-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--r-md);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform 0.28s, box-shadow 0.28s;
}
.home-place-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}
.home-pc-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #F0EBE0;
}
.home-pc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.home-pc-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.10) 45%,
        transparent 100%
    );
    pointer-events: none;
}
.home-place-card:hover .home-pc-img img { transform: scale(1.06); }
.home-pc-noimg {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    background: linear-gradient(135deg, var(--cream), #EDE5D8);
}
.home-pc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--forest);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}
.home-pc-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.home-pc-area {
    font-size: 12px;
    color: var(--mmtorange);
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}
.home-pc-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-dark);
    line-height: 1.3;
}
.home-pc-body p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
    margin: 0 0 14px;
    flex: 1;
}
.home-pc-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.home-pc-meta span {
    font-size: 12px;
    color: var(--text-mid);
    background: var(--cream);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 20px;
}
.home-pc-cta {
    font-size: 14px;
    font-weight: 700;
    color: var(--mmtorange);
    margin-top: auto;
}

.home-viewall { text-align: center; }
.home-viewall-btn {
    display: inline-block;
    border: 2px solid var(--mmtorange);
    color: var(--mmtorange);
    padding: 14px 40px;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s;
}
.home-viewall-btn:hover {
    background: var(--mmtorange);
    color: #fff;
}

/* ===== ABOUT ===== */
.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.home-about-left h2 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.2;
}
.home-about-left p {
    font-size: 16px;
    color: rgba(255,255,255,0.72);
    line-height: 1.85;
    margin-bottom: 16px;
}
.home-about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 28px 0 36px;
}
.home-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 28px;
}
.home-highlight div { display: flex; flex-direction: column; }
.home-highlight strong {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}
.home-highlight small {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}
.home-about-btn {
    display: inline-block;
    background: var(--mmtorange);
    color: #fff;
    padding: 14px 36px;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(232,87,26,0.35);
}
.home-about-btn:hover {
    background: var(--mmtorange-d);
    transform: translateY(-2px);
    color: #fff;
}
.home-about-imgstack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.home-about-img {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    height: 180px;
}
.home-about-img:first-child {
    grid-column: span 2;
    height: 240px;
}
.home-about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.home-about-img:hover img { transform: scale(1.05); }
.home-about-img span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    padding: 16px 14px 10px;
    font-size: 13px;
    font-weight: 600;
}

/* ===== HOW TO REACH ===== */
.home-reach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.home-reach-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
}
.home-reach-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.home-reach-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}
.home-reach-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 20px;
}
.home-reach-routes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.home-reach-route {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.home-reach-from {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 90px;
}
.home-reach-arrow { color: var(--mmtorange); font-weight: 700; }
.home-reach-to {
    color: var(--text-mid);
    flex: 1;
}
.home-reach-time {
    background: #FFF0EA;
    color: var(--mmtorange);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
    white-space: nowrap;
}
.home-reach-note {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ===== BEST TIME / SEASONS ===== */
.home-seasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.home-season-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    color: #fff;
    position: relative;
    transition: transform 0.25s, background 0.25s;
}
.home-season-card:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-4px);
}
.home-season-card--best {
    background: rgba(232,87,26,0.15);
    border-color: rgba(232,87,26,0.35);
}
.home-season-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--mmtorange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.home-season-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.home-season-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
}
.home-season-label {
    font-size: 12px;
    opacity: 0.6;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.home-season-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.home-season-card ul li {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    padding-left: 16px;
    position: relative;
}
.home-season-card ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--mmtorange);
    font-weight: 700;
}

/* FESTIVALS ROW */
.home-festivals {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--r-md);
    padding: 20px 24px;
}
.home-festival-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    flex-shrink: 0;
}
.home-festival-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.home-festival-chips span {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.80);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* MOBILE */
@media(max-width: 1024px) {
    .home-reach-grid { grid-template-columns: 1fr; max-width: 520px; }
    .home-seasons-grid { grid-template-columns: 1fr; }
}
@media(max-width: 640px) {
    .home-festivals { flex-direction: column; align-items: flex-start; }
    .home-reach-route { flex-wrap: wrap; }
}

/* ===== BLOG SECTION ===== */
.home-blog-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
    align-items: start;
}

/* Featured card — first one, taller */
.home-blog-card--featured .home-blog-img {
    height: 280px;
}
.home-blog-card--featured .home-blog-body h3 {
    font-size: 22px;
}
.home-blog-card--featured .home-blog-body p {
    display: block;
}

.home-blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--r-md);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform 0.28s cubic-bezier(.4,0,.2,1),
                box-shadow 0.28s cubic-bezier(.4,0,.2,1);
}
.home-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}
.home-blog-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--cream);
    flex-shrink: 0;
}
.home-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.home-blog-card:hover .home-blog-img img { transform: scale(1.06); }
.home-blog-noimg {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, #1B3A2A, #2D1810);
}
.home-blog-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--forest);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 16px;
}
.home-blog-feat {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 16px;
}
.home-blog-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.home-blog-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 8px;
}
.home-blog-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-dark);
    line-height: 1.35;
}
.home-blog-body p {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.6;
    margin: 0 0 14px;
    flex: 1;
    /* hide on smaller cards, show on featured */
    display: none;
}
.home-blog-cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--mmtorange);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}
.home-blog-arrow { transition: transform 0.2s; }
.home-blog-card:hover .home-blog-arrow { transform: translateX(5px); }

/* Mobile */
@media(max-width: 1024px) {
    .home-blog-grid { grid-template-columns: 1fr 1fr; }
    .home-blog-card--featured { grid-column: span 2; }
    .home-blog-card--featured .home-blog-body p { display: block; }
}
@media(max-width: 640px) {
    .home-blog-grid { grid-template-columns: 1fr; }
    .home-blog-card--featured { grid-column: span 1; }
}

/* ===== CATEGORIES ===== */
.home-cats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.home-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--r-md);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.25s;
    cursor: pointer;
}
.home-cat-card:hover {
    border-color: var(--cat-color, var(--mmtorange));
    background: color-mix(in srgb, var(--cat-color, var(--mmtorange)) 8%, white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    color: var(--text-dark);
}
.home-cat-icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.home-cat-card h3 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--text-dark);
    line-height: 1.3;
}
.home-cat-card span {
    font-size: 12px;
    color: var(--text-light);
}

/* ===== MOBILE ===== */
/* ===== TABLET ===== */
@media(max-width: 1024px) {
    .home-districts-grid { grid-template-columns: repeat(2, 1fr); }
    .home-places-grid { grid-template-columns: repeat(2, 1fr); }
    .home-cats-grid { grid-template-columns: repeat(3, 1fr); }
    .home-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .home-wrap,
    .home-search-inner,
    .home-stats { padding-left: 24px; padding-right: 24px; }

    /* Hero tablet */
    .home-slide-overlay { padding: 0 32px 96px; }
    .home-slide-content { max-width: 580px; }
    .home-slide-content h2 { font-size: 44px; letter-spacing: -1px; }
    .home-slide-content p { font-size: 16px; }
    .home-hero-badge { right: 32px; top: 72px; }
}

/* ===== MOBILE ===== */
@media(max-width: 768px) {
    /* Hero mobile */
    .home-hero {
        height: 100svh;
        min-height: 520px;
        max-height: 720px;
    }
    .home-slide-overlay {
        padding: 0 20px 96px;
        align-items: flex-end;
    }
    .home-slide-content {
        max-width: 100%;
        width: 100%;
    }
    .home-slide-cat {
        font-size: 10px;
        padding: 4px 12px;
        margin-bottom: 10px;
    }
    .home-slide-content h2 {
        font-size: 32px;
        letter-spacing: -0.5px;
        margin-bottom: 10px;
    }
    .home-slide-content p {
        font-size: 14px;
        margin-bottom: 20px;
        opacity: 0.82;
        /* Clamp to 2 lines on mobile */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .home-slide-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    .home-hero-badge { display: none; }
    .home-slider-controls { bottom: 24px; gap: 12px; }
    .home-slider-prev,
    .home-slider-next { width: 38px; height: 38px; min-width: 38px; min-height: 38px; max-width: 38px; max-height: 38px; font-size: 18px; }
}

/* ===== SMALL MOBILE ===== */
@media(max-width: 480px) {
    .home-slide-content h2 { font-size: 26px; }
    .home-slide-content p { font-size: 13px; }
    .home-slide-overlay { padding: 0 16px 88px; }
    .home-districts-grid { grid-template-columns: 1fr; }
    .home-places-grid { grid-template-columns: 1fr; }
    .home-cats-grid { grid-template-columns: repeat(2, 1fr); }
    .home-section { padding: 48px 0; }
    .home-section-head h2 { font-size: 26px; }
    .home-stats { padding: 0 16px; }
    .home-stat strong { font-size: 28px; }
}