/*
 Theme Name: 123Relo Child
 Theme URI: https://123relocation.com/
 Description: Minimal child theme scaffold. Set the Template: to your parent theme's folder name (e.g., newses, newses-pro, listingpro).
 Author: Mike Keaty / AMC Internet Consultants
 Author URI: https://amcinternet.com
 Template: newses-pro
 Version: 1.0.0
 Text Domain: 123relo-child
*/

/* Put custom CSS below */
:root {
  /* example CSS var you can use across your styles */
  --accent: #0a6cff;
}
/* Example tweak
body { }


/* Style the utility menu to match social icons layout */
.top-utility-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}

.top-utility-menu li {
    display: inline-block;
    margin: 0;
}

.top-utility-menu li a {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    transition: all 0.3s;
}

.top-utility-menu li a:hover {
    opacity: 0.8;
}

/* Add separator between menu items */
.top-utility-menu li:not(:last-child)::after {
    content: "|";
    color: rgba(255,255,255,0.3);
    margin-left: 5px;
}

/**
 * 123Relocation.com - State & City Pages
 * Clean, conflict-free styles for state and city templates
 * Version: 1.0
 */

/* ========================================
   GLOBAL UTILITIES
======================================== */

/* Breadcrumbs */
.single-state .breadcrumbs,
.single-city .breadcrumbs {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6b7280;
}

.single-state .breadcrumbs a,
.single-city .breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.single-state .breadcrumbs a:hover,
.single-city .breadcrumbs a:hover {
    text-decoration: underline;
}

.single-state .breadcrumbs .crumb-sep,
.single-city .breadcrumbs .crumb-sep {
    opacity: 0.6;
    margin: 0 0.35rem;
}

/* Generic Cards */
.single-state .card,
.single-city .card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.single-state .card h3,
.single-city .card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

/* Facts Card */
.single-state .card.facts ul,
.single-city .card.facts ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-state .card.facts li,
.single-city .card.facts li {
    padding: 6px 0;
    border-bottom: 1px dotted #eee;
}

.single-state .card.facts li:last-child,
.single-city .card.facts li:last-child {
    border-bottom: 0;
}

/* CTA Card & Button */
.single-state .card.cta,
.single-city .card.cta {
    margin-top: 16px;
}

.single-state .btn-cta,
.single-city .btn-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #1f2937;
    color: #fff;
    text-decoration: none;
}

.single-state .btn-cta:hover,
.single-city .btn-cta:hover {
    background: #111827;
}

/* ========================================
   STATE PAGES - MAIN LAYOUT
======================================== */

/* Main Container */
.single-state .state-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Two-column Grid Layout */
.single-state .state-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 0 0 32px;
}

@media (min-width: 992px) {
    .single-state .state-grid {
        grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    }
}

/* Main Content Column */
.single-state .state-main {
    min-width: 0;
}

/* ========================================
   STATE PAGES - HEADER SECTION
======================================== */

/* Header Card */
.single-state .header-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    margin: 16px 0 14px;
}

.single-state .state-title {
    margin: 6px 0 4px;
    font-size: clamp(32px, 3.6vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    color: #111827 !important;
}

.single-state .state-dek {
    margin: 0 0 10px;
    color: #4b5563;
    font-size: 1.1rem;
}

/* ========================================
   STATE PAGES - CONTENT SECTIONS
======================================== */

/* Featured Image */
.single-state .state-figure {
    margin: 0 0 16px;
}

.single-state .state-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .single-state .state-img {
        height: 300px;
    }
}

/* Intro Callout */
.single-state .state-intro {
    background: #f8f9fa;
    border-left: 4px solid #0066cc;
    padding: 20px 30px;
    margin: 16px 0;
    font-size: 1.1rem;
    font-style: italic;
}

/* Main Content Box */
.single-state .mg-blog-post-box {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.single-state .state-main-content {
    line-height: 1.8;
}

.single-state .state-content > *:first-child {
    margin-top: 0;
}

@media (max-width: 991px) {
    .single-state .mg-blog-post-box {
        padding: 20px;
    }
}

/* ========================================
   STATE PAGES - SIDEBAR
======================================== */

.single-state .state-aside {
    min-width: 0;
    position: relative;
    z-index: 2;
}

.single-state .state-aside .card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    margin-bottom: 16px;
}

.single-state .state-aside h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

/* ========================================
   CITIES LIST - 2 COLUMN WITH RED BULLETS
======================================== */

.single-state .cities-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0 0 0 1.25rem;
    column-count: 2;
    column-gap: 14px;
}

.single-state .cities-list li {
    position: relative;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 8px;
}

.single-state .cities-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    background: #e11d48;
    border-radius: 50%;
    position: absolute;
    left: -0.9rem;
    top: 0.65em;
}

.single-state .cities-list a {
    text-decoration: none;
    color: #333;
    display: inline;
    font-size: 0.9rem;
    line-height: 1.4;
}

.single-state .cities-list a:hover {
    text-decoration: underline;
    color: #0066cc;
}

/* Mobile: single column */
@media (max-width: 767px) {
    .single-state .cities-list {
        column-count: 1;
    }
}

/* Show More Functionality */
.single-state .is-extra {
    display: none;
}

.single-state #cities-more {
    width: 100%;
    margin-top: 12px;
    padding: 10px 14px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s;
}

.single-state #cities-more:hover {
    background: #0052a3;
}

/* ========================================
   CITY PAGES
======================================== */

.single-city .header-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    margin: 16px 0 14px;
}

.single-city .city-title {
    margin: 6px 0 4px;
    color: #111827;
    font-size: clamp(32px, 3.6vw, 44px);
    font-weight: 700;
    line-height: 1.15;
}

.single-city .city-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 0 0 32px;
}

@media (min-width: 992px) {
    .single-city .city-grid {
        grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    }
}

.single-city .city-figure {
    margin: 0 0 16px;
}

.single-city .city-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

@media (max-width: 980px) {
    .single-city .city-img {
        height: 240px;
    }
}

/* ========================================
   NAVIGATION ELEMENTS
======================================== */

/* Slim Navigation (Prev/Next) */
.single-state .amc-slimnav,
.single-city .amc-slimnav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.2;
    width: 100%;
}

.single-state .amc-slimnav .amc-left,
.single-city .amc-slimnav .amc-left {
    margin-right: auto;
}

.single-state .amc-slimnav .amc-right,
.single-city .amc-slimnav .amc-right {
    margin-left: auto;
}

.single-state .amc-slimnav a,
.single-city .amc-slimnav a {
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
    opacity: 0.9;
}

.single-state .amc-slimnav a:hover,
.single-city .amc-slimnav a:hover {
    opacity: 1;
    border-bottom-style: solid;
}

@media (max-width: 768px) {
    .single-state .amc-slimnav,
    .single-city .amc-slimnav {
        flex-direction: column;
        align-items: flex-start;
    }
    .single-state .amc-slimnav .amc-left,
    .single-state .amc-slimnav .amc-right,
    .single-city .amc-slimnav .amc-left,
    .single-city .amc-slimnav .amc-right {
        margin: 0;
    }
}

/* ========================================
   SLIDER SECTIONS
======================================== */

/* City Slider (Top) */
.single-state .state-hero-slider-wrap {
    margin: 10px 0 15px;
    position: relative;
    z-index: 1;
}

/* States Slider (Bottom) */
.single-state .state-states-slider-wrap {
    margin: 16px 0 15px;
}

.single-state .state-hero-slider-wrap .swiper,
.single-state .state-states-slider-wrap .swiper {
    overflow: hidden;
}

.single-state .amc-states-slider {
    position: relative;
    z-index: 1;
    padding: 0 8px;
}

/* Force 4 Visible Cards on Desktop */
@media (min-width: 1024px) {
    .single-state .amc-states-slider .swiper-wrapper {
        align-items: stretch;
    }
    .single-state .amc-states-slider .swiper-slide {
        width: calc((100% - 3 * 16px) / 4) !important;
        flex: 0 0 calc((100% - 3 * 16px) / 4) !important;
    }
}

/* ========================================
   SLIDER CARDS (Universal)
======================================== */

.single-state .amc-card,
.single-city .amc-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease;
}

.single-state .amc-card:hover,
.single-city .amc-card:hover {
    transform: translateY(-3px);
}

.single-state .amc-card-img,
.single-city .amc-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.single-state .amc-card-body,
.single-city .amc-card-body {
    padding: 10px 8px;
}

.single-state .amc-card-title,
.single-city .amc-card-title {
    font-size: 1rem;
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
}

/* Mobile Slider Optimization */
@media (max-width: 767px) {
    .single-state .amc-card-img,
    .single-city .amc-card-img {
        height: 150px;
    }
    
    .single-state .amc-card-body,
    .single-city .amc-card-body {
        padding: 6px 4px;
    }
    
    .single-state .amc-card-title,
    .single-city .amc-card-title {
        font-size: 0.9rem;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
    
    .swiper-pagination {
        bottom: 5px !important;
    }
}

/* Tablet Range */
@media (min-width: 768px) and (max-width: 1023px) {
    .single-state .amc-card-img,
    .single-city .amc-card-img {
        height: 180px;
    }
    
    .single-state .amc-card-title,
    .single-city .amc-card-title {
        font-size: 0.95rem;
    }
}

/* ========================================
   REAL ESTATE SPONSOR CARD (Sidebar)
======================================== */

.single-state .re-sponsor,
.single-city .re-sponsor {
    margin-bottom: 1rem;
}

.single-state .re-sponsor-img,
.single-city .re-sponsor-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}

.single-state .re-sponsor-btn,
.single-city .re-sponsor-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.single-state .sidebar .real-estate-corner .banner-bg,
.single-city .sidebar .real-estate-corner .banner-bg {
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 350px;
    margin: 0 auto 12px;
}

/* ========================================
   HIDE THEME ELEMENTS ON STATE/CITY PAGES
======================================== */

.single-state .post-categories,
.single-state .post-tags,
.single-state .entry-meta,
.single-state .mg-latest-posts,
.single-state .related-posts,
.single-state .related,
.single-state .you-may-need,
.single-city .post-categories,
.single-city .post-tags,
.single-city .entry-meta,
.single-city .mg-latest-posts,
.single-city .related-posts,
.single-city .related,
.single-city .you-may-need {
    display: none !important;
}

/* ========================================
   MOBILE RESPONSIVENESS
======================================== */

@media (max-width: 991px) {
    .single-state .state-wrap,
    .single-city .city-wrap {
        padding: 15px;
    }
    
    .single-state .header-card,
    .single-city .header-card {
        padding: 12px 15px;
    }
    
    .single-state .state-title,
    .single-city .city-title {
        font-size: 1.75rem;
    }
}

/* ========================================
   CITY CATEGORY ICONS
======================================== */

/* Relocation Directory Container */
.relocation-directory {
    margin: 25px 0;
    padding: 12px 15px 18px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.directory-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #222;
    margin-bottom: 2px;
}

.directory-subtitle {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 14px;
    line-height: 1.3;
}

/* Category Grid */
.city-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    justify-items: center;
}

/* Category Cards with Icons */
.relocation-directory .cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f7f8fa;
    border-radius: 8px;
    padding: 10px 8px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.15s ease-in-out;
    width: 100%;
    max-width: 190px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.relocation-directory .cat-card:hover {
    background: #e8f2ff;
    transform: translateY(-2px);
    color: #0073aa;
}

.cat-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
    line-height: 1;
}

.cat-label {
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .city-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
    }
    
    .relocation-directory .cat-card {
        max-width: 160px;
        padding: 8px 6px;
    }
}

.state-quickview {
    margin: 20px 0;
}

.state-quickview h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.state-quickview-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.state-quickview-list li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}
/* ---- State Quick View - Condensed Version ---- */
.relo-quickview {
  margin: 18px 0 24px;
  padding: 12px 18px 14px; /* reduced from 16px 20px 18px */
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  position: relative;
}

.relo-q-header h2 {
  margin: 0;
  font-size: 1.05rem; /* reduced from 1.15rem */
  font-weight: 700;
  color: #1f2937;
}

.relo-q-sub {
  margin-top: 2px;
  font-size: 0.8rem; /* reduced from 0.85rem */
  color: #6b7280;
}

.relo-q-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns instead of 3 */
  gap: 8px 12px; /* reduced from 12px 16px */
  margin-top: 10px; /* reduced from 12px */
}

.relo-q-item {
  padding: 8px 10px; /* reduced from 10px 12px */
  border-radius: 8px;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.relo-q-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-color: #d1d5db;
}

.relo-q-label {
  font-size: 0.7rem; /* reduced from 0.75rem */
  color: #6b7280;
  display: block;
  margin-bottom: 2px; /* reduced from 3px */
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.relo-q-value {
  display: block;
  font-size: 1rem; /* reduced from 1.1rem */
  font-weight: 700;
  color: #111827;
}

.relo-q-note {
  display: block;
  font-size: 0.7rem; /* reduced from 0.75rem */
  margin-top: 2px;
  color: #9ca3af;
}

/* Cost of Living Badge - Compact & Centered Version */
.state-col-inline {
  position: absolute;
  top: 12px;
  right: 18px;
  text-align: center; /* changed from right */
  font-size: 0.7rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.state-col-inline strong {
  display: block;
  margin-bottom: 2px; /* tighter spacing */
}

.state-col-inline .col-number {
  display: block;
  font-size: 1.6rem; /* slightly larger for impact */
  font-weight: 700;
  color: #dc2626;
  margin: 0; /* removed margins */
  line-height: 1;
}

.state-col-inline small {
  font-size: 0.65rem;
  color: #9ca3af;
  display: block;
  margin-top: 2px; /* minimal space above */
  font-weight: 400;
}