/*
Theme Name: Flexo Astra Child
Theme URI: https://flexospaces.com/resources
Author: Flexo Proptech Pvt Ltd
Author URI: https://flexospaces.com
Description: Astra child theme customized for FlexoSpaces blog. Redfin-inspired magazine layout with Flexo brand identity.
Template: astra
Version: 1.0.0
License: Proprietary
Text Domain: flexo-astra-child
*/

/* ===== BRAND VARIABLES ===== */
:root {
  --flexo-orange: #f76900;
  --flexo-orange-hover: #e05f00;
  --flexo-navy: #001740;
}

/* ===== GLOBAL OVERRIDES ===== */
body {
  font-family: 'Poppins', sans-serif !important;
}

/* Increase container width for blog */
.ast-container {
  max-width: 1200px;
}

/* ===== HEADER TWEAKS ===== */
.ast-primary-header-bar {
  border-bottom: 1px solid #e5e7eb;
}

/* Style the header buttons */
.ast-header-button-1 .ast-custom-button {
  background: var(--flexo-orange) !important;
  color: #fff !important;
  border: 2px solid var(--flexo-orange) !important;
  border-radius: 25px !important;
  padding: 8px 24px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

.ast-header-button-1 .ast-custom-button:hover {
  background: transparent !important;
  color: var(--flexo-orange) !important;
}

.ast-header-button-2 .ast-custom-button {
  background: rgba(247, 105, 0, 0.07) !important;
  color: var(--flexo-orange) !important;
  border: 2px solid #ffe9d8 !important;
  border-radius: 25px !important;
  padding: 8px 24px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

.ast-header-button-2 .ast-custom-button:hover {
  background: rgba(247, 105, 0, 0.15) !important;
}

/* ===== BLOG LISTING — REDFIN STYLE ===== */

/* Category navigation bar below header */
.flexo-category-nav {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 40;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.flexo-category-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.flexo-category-nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

.flexo-category-nav__links::-webkit-scrollbar {
  display: none;
}

.flexo-category-nav__links a {
  display: inline-flex;
  align-items: center;
  padding: 16px 18px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.flexo-category-nav__links a:hover {
  color: #333;
  border-bottom-color: #d1d5db;
}

.flexo-category-nav__links a.active {
  color: var(--flexo-orange);
  border-bottom-color: var(--flexo-orange);
  font-weight: 600;
}

/* Search in category nav */
.flexo-category-nav__search {
  display: none;
  flex-shrink: 0;
  padding: 8px 0;
}

@media (min-width: 768px) {
  .flexo-category-nav__search { display: block; }
}

.flexo-category-nav__search form {
  display: flex;
  align-items: center;
  background: #f5f6f7;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.flexo-category-nav__search form:focus-within {
  border-color: var(--flexo-orange);
}

.flexo-category-nav__search input[type="search"] {
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-family: 'Poppins', sans-serif;
  color: #333;
  width: 180px;
  outline: none;
}

.flexo-category-nav__search button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.flexo-category-nav__search button:hover {
  color: var(--flexo-orange);
}

/* ===== SECTION HEADINGS (Redfin-style) ===== */
.flexo-section-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;
}

.flexo-section-divider {
  width: 100%;
  height: 2px;
  background: #e5e7eb;
  margin-bottom: 32px;
}

/* ===== FEATURED HERO (first/sticky post) ===== */
.flexo-featured-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 16px;
}

.flexo-featured-hero a.hero-link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #f3f4f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.flexo-featured-hero a.hero-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.flexo-featured-hero .hero-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .flexo-featured-hero .hero-image { height: 420px; }
}

@media (min-width: 1024px) {
  .flexo-featured-hero .hero-image { height: 500px; }
}

.flexo-featured-hero .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.flexo-featured-hero a.hero-link:hover .hero-image img {
  transform: scale(1.03);
}

.flexo-featured-hero .hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}

@media (min-width: 768px) {
  .flexo-featured-hero .hero-content { padding: 48px 40px; }
}

.flexo-featured-hero .hero-category {
  display: inline-block;
  background: var(--flexo-orange);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.flexo-featured-hero .hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}

@media (min-width: 768px) {
  .flexo-featured-hero .hero-title { font-size: 2rem; }
}

@media (min-width: 1024px) {
  .flexo-featured-hero .hero-title { font-size: 2.5rem; max-width: 70%; }
}

.flexo-featured-hero .hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
}

.flexo-featured-hero .hero-meta .dot {
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
}

/* ===== BLOG POST GRID — REDFIN 2-COLUMN ===== */
.flexo-articles-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.flexo-articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .flexo-articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .flexo-articles-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* Article card */
.flexo-article-card {
  transition: transform 0.3s ease;
}

.flexo-article-card:hover {
  transform: translateY(-3px);
}

.flexo-article-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.flexo-article-card .card-image {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .flexo-article-card .card-image { height: 280px; }
}

.flexo-article-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.flexo-article-card:hover .card-image img {
  transform: scale(1.04);
}

.flexo-article-card .card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff5ed, #fef3e8);
  color: var(--flexo-orange);
  font-size: 3rem;
  font-weight: 700;
}

.flexo-article-card .card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
  font-family: 'Poppins', sans-serif;
}

@media (min-width: 768px) {
  .flexo-article-card .card-title { font-size: 1.25rem; }
}

.flexo-article-card:hover .card-title {
  color: var(--flexo-orange);
}

.flexo-article-card .card-meta {
  font-size: 0.8125rem;
  color: #9ca3af;
}

/* ===== HIDE DEFAULT ASTRA BLOG LAYOUT when our custom template is used ===== */
body.blog .entry-content,
body.blog #primary > .ast-row,
body.blog .ast-archive-description {
  /* Only hide when we inject our custom layout */
}

/* ===== ASTRA BLOG GRID OVERRIDES (for category/archive pages using Astra default) ===== */
.ast-separate-container .ast-article-post {
  background: transparent;
  padding: 0;
}

.ast-separate-container .ast-article-inner {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}

.ast-separate-container .ast-article-inner:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Post thumbnails */
.ast-blog-single-element.post-thumb img {
  border-radius: 12px 12px 0 0;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .ast-blog-single-element.post-thumb img { height: 280px; }
}

/* Post title in listing */
.ast-blog-single-element .entry-title {
  font-size: 1.2rem !important;
  font-weight: 600;
  line-height: 1.4;
}

.ast-blog-single-element .entry-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ast-blog-single-element .entry-title a:hover {
  color: var(--flexo-orange);
}

/* Hide excerpt in listing for Redfin-clean look */
.ast-blog-single-element .ast-excerpt-container {
  display: none;
}

/* Post meta styling */
.ast-blog-single-element .entry-meta {
  font-size: 0.8125rem;
  color: #9ca3af;
}

.ast-blog-single-element .entry-meta a {
  color: #9ca3af;
  text-decoration: none;
}

/* Hide read more button for cleaner cards */
.ast-blog-single-element .read-more {
  display: none;
}


/* ===== SINGLE POST OVERRIDES ===== */

/* Centered post title (default for screens below 1100px) */
.ast-single-post .entry-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px 24px;
}

.ast-single-post .entry-title {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #111827;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .ast-single-post .entry-title { font-size: 2.75rem !important; }
}

/* Post meta centered */
.ast-single-post .entry-meta {
  justify-content: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Category badges on single post */
.ast-single-post .cat-links a {
  background: #fff5ed;
  color: var(--flexo-orange);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.ast-single-post .cat-links a:hover {
  background: #ffead9;
}

/* Featured image on single */
.ast-single-post .post-thumb-img-content {
  max-width: 1000px;
  margin: 0 auto 48px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Content area typography */
.ast-single-post .entry-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #374151;
}

.ast-single-post .entry-content h2 {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.4em;
}

.ast-single-post .entry-content a {
  color: var(--flexo-orange);
}

.ast-single-post .entry-content a:hover {
  color: var(--flexo-orange-hover);
}

.ast-single-post .entry-content blockquote {
  border-left: 4px solid var(--flexo-orange);
  background: #fff9f5;
  padding: 1em 1.5em;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* ======================================================
   TWO-COLUMN LAYOUT: ARTICLE + CALLBACK FORM
   Scoped to .single-post only (does NOT affect /resources listing).
   Uses CSS Grid on the <article> element.
   Title + meta + content in left column.
   Callback form in right column, sticky.
   ====================================================== */

/* Expand container width ONLY on single blog post pages */
.single-post .ast-container {
  max-width: 1400px !important;
}

/* The article becomes a 2-column grid on desktop (>=1100px) */
@media (min-width: 1100px) {
  .single-post .ast-article-single {
    display: grid !important;
    grid-template-columns: 1fr 340px;
    gap: 0 40px;
    align-items: start;
  }

  /* Header (title + meta) goes to left column, left-aligned */
  .single-post .ast-article-single > .entry-header {
    grid-column: 1;
    text-align: left;
    max-width: 100%;
    padding: 48px 0 24px;
  }

  /* Post content goes to left column */
  .single-post .ast-article-single > .entry-content {
    grid-column: 1;
    max-width: 100%;
  }

  /* Featured image goes to left column */
  .single-post .ast-article-single > .post-thumb-img-content {
    grid-column: 1;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Callback form sidebar: right column, spanning all rows */
  .single-post .ast-article-single > .flexo-sidebar-callback-container {
    grid-column: 2;
    grid-row: 1 / 20;
    position: sticky;
    top: 100px;
    align-self: start;
    max-width: 340px;
  }
}

/* On screens below 1100px: single column, form below content */
@media (max-width: 1099px) {
  .single-post .ast-article-single > .flexo-sidebar-callback-container {
    max-width: 500px;
    margin: 2.5rem auto 0;
    position: static;
  }
}

/* ===== CALLBACK FORM CARD STYLES ===== */
.flexo-callback-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
  font-family: 'Poppins', sans-serif !important;
}

.flexo-callback-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  text-align: center;
  margin-bottom: 6px !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.flexo-callback-subtitle {
  font-size: 12px !important;
  color: #6b7280 !important;
  text-align: center;
  margin-bottom: 18px !important;
  line-height: 1.4 !important;
  background: #f9fafb;
  padding: 10px 12px;
  border-radius: 8px;
}

.flexo-callback-form .flexo-form-row {
  margin-bottom: 12px;
}

.flexo-callback-form .flexo-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.flexo-callback-form .flexo-input {
  width: 100% !important;
  height: 42px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-family: 'Poppins', sans-serif !important;
  color: #1f2937 !important;
  background: #fff !important;
  outline: none;
  box-shadow: none !important;
}

.flexo-callback-form .flexo-input:focus {
  border-color: #f76900 !important;
  box-shadow: 0 0 0 3px rgba(247, 105, 0, 0.15) !important;
}

.flexo-callback-form .flexo-phone-row {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.flexo-callback-form .flexo-phone-row:focus-within {
  border-color: #f76900;
  box-shadow: 0 0 0 3px rgba(247, 105, 0, 0.15);
}

.flexo-country-flag {
  background: #f3f4f6;
  padding: 0 10px;
  font-size: 13px;
  color: #374151;
  font-weight: 500;
  display: flex;
  align-items: center;
  height: 42px;
  border-right: 1px solid #d1d5db;
  white-space: nowrap;
}

.flexo-callback-form .flexo-phone-input {
  border: none !important;
  border-radius: 0 !important;
}

.flexo-submit-btn {
  width: 100% !important;
  height: 46px !important;
  background: #f76900 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.3s ease !important;
  font-family: 'Poppins', sans-serif !important;
}

.flexo-submit-btn:hover {
  background: #e05f00 !important;
}

.flexo-privacy-text {
  font-size: 10px !important;
  color: #9ca3af !important;
  line-height: 1.4 !important;
  margin-top: 14px !important;
}

.flexo-privacy-text a {
  color: #f76900 !important;
  text-decoration: underline !important;
}

.flexo-form-msg {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  text-align: center;
}

.flexo-form-msg.success {
  background: #def7ec;
  color: #03543f;
}

.flexo-form-msg.error {
  background: #fde8e8;
  color: #9b1c1c;
}

/* ===== LINK COLORS ===== */
a {
  color: var(--flexo-orange);
}

a:hover {
  color: var(--flexo-orange-hover);
}

/* ===== ARCHIVE HEADER ===== */
.flexo-archive-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 0;
}

.flexo-archive-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

@media (min-width: 768px) {
  .flexo-archive-header h1 { font-size: 2.5rem; }
}

.flexo-archive-header h1 .highlight {
  color: var(--flexo-orange);
}

.flexo-archive-header p {
  color: #555;
  margin-top: 8px;
}

/* ===== PAGINATION ===== */
.ast-pagination {
  text-align: center;
  padding: 48px 0;
}

.ast-pagination .page-numbers {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  transition: all 0.3s ease;
  margin: 0 3px;
}

.ast-pagination .page-numbers:hover {
  background: #f3f4f6;
}

.ast-pagination .page-numbers.current {
  background: var(--flexo-orange);
  color: #fff;
  border-color: var(--flexo-orange);
  box-shadow: 0 2px 8px rgba(247, 105, 0, 0.3);
}

.ast-pagination .page-numbers.next,
.ast-pagination .page-numbers.prev {
  width: auto;
  padding: 0 16px;
  border-radius: 25px;
}

.ast-pagination .page-numbers .ast-right-arrow,
.ast-pagination .page-numbers .ast-left-arrow {
  display: inline-block;
}

.ast-pagination .page-numbers.next .ast-right-arrow {
  margin-left: 6px;
}

.ast-pagination .page-numbers.prev .ast-left-arrow {
  margin-right: 6px;
}

@media (max-width: 767px) {
  .flexo-category-nav__links a {
    padding: 12px 14px;
    font-size: 0.8125rem;
  }
  .flexo-featured-hero { padding: 32px 20px 8px; }
  .flexo-articles-section { padding: 32px 20px 48px; }
  .ast-single-post .entry-title { font-size: 1.5rem !important; }
}


/* ============================================
   COWORKING GUIDE BLOCK PATTERN
   ============================================ */

/* ===== GUIDE WRAPPER ===== */
.guide-wrap {
  max-width: 960px !important;
  margin: 0 auto;
  padding: 0 0 2rem;
  font-family: 'Poppins', sans-serif !important;
}

.guide-wrap .wp-block-group,
.guide-wrap .wp-block-columns,
.guide-wrap .wp-block-column {
  margin-top: 0;
  margin-bottom: 0;
}

.guide-wrap p {
  margin-top: 0;
  margin-bottom: 0;
}

/* ===== HEADER ===== */
.guide-header {
  border-top: 3px solid #F26522 !important;
  padding-top: 1.25rem !important;
  margin-bottom: 1.75rem !important;
}

.guide-eyebrow {
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
  color: #F26522 !important;
  text-transform: uppercase;
  margin-bottom: 6px !important;
}

.guide-title {
  font-size: 28px !important;
  font-weight: 500 !important;
  color: #1a1a2e !important;
  line-height: 1.2 !important;
  margin-bottom: 4px !important;
}

.guide-subtitle {
  font-size: 14px !important;
  color: #6b7280 !important;
}

/* ===== VERDICT BOX (Navy background) ===== */
.verdict-box {
  background: #0D1B5E !important;
  border-radius: 12px !important;
  padding: 1.25rem 1.5rem !important;
  margin-bottom: 1.75rem !important;
}

.verdict-label {
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F26522 !important;
  margin-bottom: 6px !important;
}

.verdict-text {
  font-size: 14px !important;
  color: #E8ECF8 !important;
  line-height: 1.6 !important;
}

/* ===== STAT CARDS ROW ===== */
.stat-row {
  gap: 12px !important;
  margin-bottom: 1.75rem !important;
}

.stat-card {
  background: #f5f6f7 !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.stat-label {
  font-size: 11px !important;
  color: #6b7280 !important;
  margin-bottom: 4px !important;
  white-space: nowrap !important;
}

.stat-value {
  font-size: clamp(15px, 4vw, 20px) !important;
  font-weight: 600 !important;
  color: #1a1a2e !important;
  white-space: nowrap !important;
}

/* ===== SECTION HEAD TEXT ===== */
.section-head-text {
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280 !important;
  margin-bottom: 10px !important;
}

/* ===== CONTENT CARDS ===== */
.content-card {
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 1.25rem 1.5rem !important;
  background: #fff !important;
}

/* ===== TWO COLUMN LAYOUT (Best For + Snapshot) ===== */
.two-col {
  gap: 16px !important;
  margin-bottom: 1.75rem !important;
}

/* ===== BEST FOR / NOT IDEAL ===== */
.best-for-item {
  font-size: 13px !important;
  color: #1a1a2e !important;
  margin-bottom: 4px !important;
  padding-left: 4px !important;
}

.not-ideal-item {
  font-size: 13px !important;
  color: #6b7280 !important;
  margin-bottom: 4px !important;
  padding-left: 4px !important;
}

.best-for-divider {
  border: none !important;
  border-top: 1px solid #e5e7eb !important;
  margin: 12px 0 10px !important;
  width: 100% !important;
}

/* ===== SNAPSHOT TABLE ===== */
.snapshot-table {
  margin: 1rem -1.5rem -1.25rem -1.5rem !important;
  width: calc(100% + 3rem) !important;
  max-width: none !important;
}

.snapshot-table table {
  width: 100% !important;
  font-size: 13px !important;
  border-collapse: collapse !important;
  table-layout: auto !important;
  border: none !important;
}

.snapshot-table td {
  padding: 10px 12px !important;
  border-bottom: 1px solid #e5e7eb !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

.snapshot-table tr:last-child td {
  border-bottom: none !important;
}

.snapshot-table td:first-child {
  padding-left: 1.5rem !important;
  color: #6b7280;
}

.snapshot-table td:last-child {
  padding-right: 1.5rem !important;
  text-align: right;
  font-weight: 500;
  color: #1a1a2e;
}

/* ===== TOP SPACES LIST ===== */
.spaces-card {
  margin-bottom: 1.75rem !important;
  margin-top: 0 !important;
}

.space-item {
  padding: 10px 0 10px 18px !important;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.space-item::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F26522;
  position: absolute;
  left: 0;
  top: 16px;
}

.space-item.last {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.space-name {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1a1a2e !important;
  margin-bottom: 2px !important;
}

.space-meta {
  font-size: 12px !important;
  color: #6b7280 !important;
}

/* ===== PRICE TABLE ===== */
.guide-wrap .price-table {
  margin: -1.25rem -1.5rem !important;
  width: calc(100% + 3rem) !important;
  max-width: none !important;
}

.guide-wrap .price-table table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 13px !important;
  table-layout: auto !important;
  border: none !important;
}

.guide-wrap .price-table th {
  text-align: left !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 16px 12px 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  background: transparent !important;
}

.guide-wrap .price-table td {
  padding: 14px 16px 14px 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  color: #1a1a2e !important;
  vertical-align: top !important;
}

.guide-wrap .price-table th:first-child,
.guide-wrap .price-table td:first-child {
  padding-left: 1.5rem !important;
}

.guide-wrap .price-table th:last-child,
.guide-wrap .price-table td:last-child {
  padding-right: 1.5rem !important;
}

.guide-wrap .price-table tr:last-child td {
  border-bottom: none !important;
}

/* ===== TIP BOX ===== */
.tip-box {
  border-left: 3px solid #F26522 !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  padding: 12px 16px !important;
  background: #FEF0E8 !important;
  border-radius: 0 8px 8px 0 !important;
  margin-bottom: 1.5rem !important;
}

.tip-label {
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F26522 !important;
  margin-bottom: 4px !important;
}

.tip-text {
  font-size: 13px !important;
  color: #6b3010 !important;
  line-height: 1.5 !important;
}

/* ===== GETTING HERE — TRANSPORT CARDS ===== */
.connect-row {
  gap: 12px !important;
  margin-bottom: 1.5rem !important;
}

.connect-card {
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 14px !important;
  background: #fff !important;
}

.connect-icon {
  font-size: 20px !important;
  line-height: 1.2 !important;
  margin-bottom: 0 !important;
}

.connect-mode {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #1a1a2e !important;
  margin: 4px 0 2px !important;
}

.connect-detail {
  font-size: 12px !important;
  color: #6b7280 !important;
}

/* ===== FAQ SECTION ===== */
.faq-card {
  margin-bottom: 1rem !important;
}

.faq-item {
  padding: 10px 0 !important;
  border-bottom: 1px solid #e5e7eb;
}

.faq-item.last {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.faq-q {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1a1a2e !important;
  margin-bottom: 4px !important;
}

.faq-a {
  font-size: 13px !important;
  color: #6b7280 !important;
  line-height: 1.5 !important;
}

/* ===== CTA STRIP ===== */
.cta-strip {
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  margin-top: 1.75rem !important;
}

.cta-text {
  font-size: 13px !important;
  color: #6b7280 !important;
  flex: 1;
}

.guide-wrap .cta-strip .wp-block-button__link {
  background: #F26522 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  font-family: 'Poppins', sans-serif !important;
  white-space: nowrap;
  transition: background 0.3s ease !important;
}

.guide-wrap .cta-strip .wp-block-button__link:hover {
  background: #d85a1b !important;
}

/* ===== GUIDE RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
  .guide-wrap {
    padding: 0 16px 2rem !important;
  }
}

/* ===== GUIDE RESPONSIVE — MOBILE ===== */
@media (max-width: 767px) {
  .guide-wrap {
    padding: 0 12px 2rem !important;
  }
  .guide-title {
    font-size: 22px !important;
  }
  .guide-wrap .stat-row {
    flex-wrap: wrap !important;
  }
  .guide-wrap .stat-row .wp-block-column {
    flex-basis: calc(50% - 6px) !important;
    flex-grow: 0 !important;
  }
  .stat-card {
    padding: 12px 10px !important;
  }
  .guide-wrap .two-col {
    flex-direction: column !important;
  }
  .guide-wrap .connect-row {
    flex-direction: column !important;
  }
  .guide-wrap .cta-strip {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }
  /* Price table: allow horizontal scroll on small phones */
  .guide-wrap .price-table {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: -1.25rem -1.25rem !important;
    width: calc(100% + 2.5rem) !important;
  }
  .guide-wrap .price-table table {
    min-width: 500px !important;
  }
}


/* ======================================================
   V3 PATTERN STYLES (EXTENDED KHARADI)
   ====================================================== */

.guide-wrap .guide-subhead {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #1a1a2e !important;
  font-family: 'Poppins', sans-serif !important;
  margin-top: 1rem !important;
  margin-bottom: 0.5rem !important;
}

.guide-wrap .guide-list {
  font-size: 13px !important;
  color: #374151 !important;
  padding-left: 1.2em !important;
  margin-bottom: 0.75rem !important;
}

.guide-wrap .guide-list li {
  margin-bottom: 4px !important;
  line-height: 1.5 !important;
}

.guide-wrap .guide-body-text {
  font-size: 14px !important;
  color: #374151 !important;
  line-height: 1.65 !important;
}

.guide-wrap .guide-section-title {
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #1a1a2e !important;
  font-family: 'Poppins', sans-serif !important;
  margin-top: 2rem !important;
  margin-bottom: 0.75rem !important;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.4em;
}

.guide-wrap .space-item {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.guide-wrap .space-item.last {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.guide-wrap .space-name {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--flexo-orange) !important;
  margin-bottom: 0.5rem !important;
}

.guide-wrap .space-name a {
  text-decoration: none;
  color: inherit;
}

.guide-wrap .space-name a:hover {
  text-decoration: underline;
}

/* ======================================================
   V3 PATTERN STYLES (TYPOGRAPHY CONSISTENCY OVERRIDES)
   ====================================================== */

.guide-subtitle {
  font-size: 13px !important;
  color: #6b7280 !important;
}

.verdict-text {
  font-size: 13px !important;
  color: #E8ECF8 !important;
  line-height: 1.6 !important;
}

.connect-mode {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1a1a2e !important;
  margin: 4px 0 2px !important;
}

.connect-detail {
  font-size: 13px !important;
  color: #1a1a2e !important;
}

.faq-a {
  font-size: 13px !important;
  color: #1a1a2e !important;
  line-height: 1.5 !important;
}

.guide-wrap .guide-list {
  font-size: 13px !important;
  color: #1a1a2e !important;
  padding-left: 1.2em !important;
  margin-bottom: 0.75rem !important;
}

.guide-wrap .guide-body-text {
  font-size: 13px !important;
  color: #1a1a2e !important;
  line-height: 1.65 !important;
}
