/* ============================================================
   Allomaallam — Custom Design System
   Moroccan Artisan Marketplace · v1.0
   Loaded after landing-page-custom.min.css — safe to override
   ============================================================ */

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  --amo-teal:        #0c1e34;
  --amo-teal-dark:   #081527;
  --amo-teal-light:  #284767;
  --amo-teal-soft:   #edf2f8;
  --amo-terra:       #c85250;
  --amo-gold:        #daa00c;
  --amo-gold-light:  #edc766;
  --amo-gold-soft:   #fdf5e0;
  --amo-cream:       #f8f9fc;
  --amo-warm-bg:     #eef2f7;
  --amo-brown:       #0c1e34;
  --amo-muted:       #536277;
  --amo-border:      #dce2eb;
  --amo-shadow-sm:   0 2px 12px rgba(44,36,22,.08);
  --amo-shadow:      0 4px 24px rgba(44,36,22,.10);
  --amo-shadow-lg:   0 8px 40px rgba(44,36,22,.14);
  --amo-radius:      12px;
  --amo-radius-lg:   20px;
}

/* ─── Body ───────────────────────────────────────────────── */
body { background-color: var(--amo-cream); }

/* ─── Page loader ────────────────────────────────────────── */
#loading { background: var(--amo-teal) !important; }

/* ─── Zellige SVG background helper ─────────────────────── */
.amo-zellige-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 2L54 28L28 54L2 28Z' fill='none' stroke='%230c1e34' stroke-width='.7' opacity='.12'/%3E%3Cpath d='M28 12L44 28L28 44L12 28Z' fill='none' stroke='%230c1e34' stroke-width='.5' opacity='.08'/%3E%3Cpath d='M28 20L36 28L28 36L20 28Z' fill='none' stroke='%230c1e34' stroke-width='.5' opacity='.10'/%3E%3C/svg%3E");
  background-color: var(--amo-cream);
}
.amo-zellige-white {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 2L54 28L28 54L2 28Z' fill='none' stroke='%23ffffff' stroke-width='.7' opacity='.08'/%3E%3Cpath d='M28 12L44 28L28 44L12 28Z' fill='none' stroke='%23ffffff' stroke-width='.5' opacity='.06'/%3E%3C/svg%3E");
}

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  border-radius: var(--amo-radius) !important;
  box-shadow: var(--amo-shadow-sm) !important;
  border-color: var(--amo-border) !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--amo-shadow-lg) !important;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn { border-radius: 8px; font-weight: 600; letter-spacing: .02em; }
.btn-lg { border-radius: 10px; }
.btn-primary {
  background-color: var(--amo-teal) !important;
  border-color: var(--amo-teal) !important;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--amo-teal-dark) !important;
  border-color: var(--amo-teal-dark) !important;
}
.btn-outline-primary {
  color: var(--amo-teal);
  border-color: var(--amo-teal);
}
.btn-outline-primary:hover {
  background: var(--amo-teal);
  border-color: var(--amo-teal);
}
.btn-gold {
  background-color: var(--amo-gold);
  border-color: var(--amo-gold);
  color: var(--amo-brown);
  font-weight: 700;
}
.btn-gold:hover {
  background-color: #bd8908;
  border-color: #bd8908;
  color: var(--amo-brown);
}

/* ─── Section headings ───────────────────────────────────── */
.amo-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--amo-brown);
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 28px;
}
.amo-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 52px; height: 4px;
  background: var(--amo-gold);
  border-radius: 2px;
}
.amo-heading.centered { text-align: center; }
.amo-heading.centered::after { left: 50%; transform: translateX(-50%); }

/* ─── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb { font-size: .83rem; background: transparent; }
.breadcrumb-item a { color: var(--amo-teal); text-decoration: none; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--amo-muted); }
.breadcrumb-item.active { color: var(--amo-muted); }

/* ─── Stars ──────────────────────────────────────────────── */
.amo-stars { color: var(--amo-gold); }
.amo-stars .fa-star { font-size: .9rem; }

/* ─── Badge overrides ────────────────────────────────────── */
.badge.bg-warning, .badge-gold {
  background-color: var(--amo-gold) !important;
  color: var(--amo-brown) !important;
  font-weight: 700;
}

/* ─── Trust strip ────────────────────────────────────────── */
.amo-trust-strip {
  background: white;
  border-top: 3px solid var(--amo-gold);
  border-bottom: 1px solid var(--amo-border);
  padding: 28px 0;
}
.amo-trust-item { text-align: center; }
.amo-trust-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--amo-teal-soft);
  color: var(--amo-teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 10px;
  border: 2px solid var(--amo-teal);
}
.amo-trust-item strong { display: block; font-size: .88rem; color: var(--amo-brown); margin-bottom: 2px; }
.amo-trust-item small { color: var(--amo-muted); font-size: .78rem; }

/* ============================================================
   GEO / CITY-SERVICE PAGE
   ============================================================ */

/* ─── Hero ───────────────────────────────────────────────── */
.geo-hero {
  background: linear-gradient(150deg, var(--amo-teal) 0%, #142d49 45%, #081527 100%) !important;
  padding: 60px 0 56px !important;
  position: relative;
  overflow: hidden;
}
.geo-hero .amo-zellige-white {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .6;
}
/* decorative circles */
.geo-hero::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 340px; height: 340px; border-radius: 50%;
  background: var(--amo-gold); opacity: .06;
  pointer-events: none;
}
.geo-hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.geo-hero .container { position: relative; z-index: 1; }
.geo-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
  line-height: 1.25;
}
.geo-hero .geo-lead {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* pill badges in hero */
.geo-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.geo-pill.teal {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: white;
}
.geo-pill.gold {
  background: var(--amo-gold);
  border: 1px solid var(--amo-gold-light);
  color: var(--amo-brown);
}

/* trust badges on the right side of hero */
.geo-hero-badge {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 14px 16px;
  color: white;
  display: flex; align-items: center; gap: 12px;
  backdrop-filter: blur(6px);
  transition: background .2s;
}
.geo-hero-badge:hover { background: rgba(255,255,255,.15); }
.geo-hero-badge .geo-hero-badge-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.geo-hero-badge p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.75); }
.geo-hero-badge strong { font-size: .88rem; color: white; }

/* ─── CTA sidebar card ───────────────────────────────────── */
.geo-cta-card {
  border-radius: var(--amo-radius-lg) !important;
  border: none !important;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(13,115,119,.16) !important;
}
.geo-cta-header {
  background: linear-gradient(135deg, var(--amo-teal) 0%, var(--amo-teal-dark) 100%);
  padding: 20px 24px;
  color: white;
}
.geo-cta-header h3 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.geo-cta-header p { font-size: .82rem; color: rgba(255,255,255,.8); margin: 4px 0 0; }
.geo-cta-body { padding: 20px 24px; background: white; }

.geo-price-box {
  background: var(--amo-gold-soft);
  border: 2px solid var(--amo-gold);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  margin-bottom: 16px;
}
.geo-price-box .geo-price-label { font-size: .75rem; color: var(--amo-muted); text-transform: uppercase; letter-spacing: .05em; }
.geo-price-box .geo-price-value { font-size: 1.6rem; font-weight: 800; color: var(--amo-teal); line-height: 1.1; }
.geo-price-box .geo-price-sub { font-size: .78rem; color: var(--amo-muted); margin-top: 2px; }

.geo-feature-list { list-style: none; padding: 0; margin: 0 0 20px; }
.geo-feature-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--amo-border);
  font-size: .87rem;
  color: var(--amo-brown);
}
.geo-feature-list li:last-child { border-bottom: none; }
.geo-feature-list .fcheck { color: #16a34a; font-size: .9rem; }

/* ─── Related services sidebar list ─────────────────────── */
.geo-related-card {
  border-radius: var(--amo-radius) !important;
  border: 1px solid var(--amo-border) !important;
  overflow: hidden;
}
.geo-related-card .card-header {
  background: var(--amo-warm-bg);
  border-bottom: 1px solid var(--amo-border);
  font-weight: 600;
  font-size: .85rem;
  color: var(--amo-brown);
  padding: 12px 16px;
}
.geo-related-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--amo-border);
  text-decoration: none;
  font-size: .85rem;
  color: var(--amo-brown);
  transition: background .15s;
}
.geo-related-item:last-child { border-bottom: none; }
.geo-related-item:hover { background: var(--amo-teal-soft); color: var(--amo-teal); text-decoration: none; }
.geo-related-item .geo-price-tag {
  font-size: .75rem;
  color: var(--amo-muted);
  background: var(--amo-warm-bg);
  padding: 2px 8px;
  border-radius: 999px;
}

/* ─── Body content (article) ─────────────────────────────── */
.geo-body-content {
  font-size: .97rem;
  line-height: 1.75;
  color: var(--amo-brown);
}
.geo-body-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--amo-brown);
  margin-top: 2rem;
  margin-bottom: .75rem;
  padding-left: 14px;
  border-left: 4px solid var(--amo-gold);
}
.geo-body-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--amo-teal);
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}
.geo-body-content p { margin-bottom: 1rem; }
.geo-body-content ul, .geo-body-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.geo-body-content li { margin-bottom: .4rem; }
.geo-body-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .9rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--amo-shadow-sm);
}
.geo-body-content table th {
  background: var(--amo-teal);
  color: white;
  padding: .65rem 1rem;
  font-weight: 600;
  text-align: left;
}
.geo-body-content table td {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--amo-border);
}
.geo-body-content table tr:hover td { background: var(--amo-teal-soft); }

[dir="rtl"] .geo-body-content ul,
[dir="rtl"] .geo-body-content ol { padding-right: 1.5rem; padding-left: 0; }
[dir="rtl"] .geo-body-content h2 { padding-left: 0; padding-right: 14px; border-left: none; border-right: 4px solid var(--amo-gold); }

/* ─── FAQ Accordion ──────────────────────────────────────── */
.geo-faq-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amo-brown);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--amo-gold);
  margin-bottom: 20px;
}
.geo-faq .accordion-item {
  border-radius: 8px !important;
  border: 1px solid var(--amo-border) !important;
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: var(--amo-shadow-sm);
}
.geo-faq .accordion-button {
  font-weight: 600;
  font-size: .92rem;
  color: var(--amo-brown);
  background: white;
  padding: 14px 18px;
}
.geo-faq .accordion-button:not(.collapsed) {
  color: var(--amo-teal);
  background: var(--amo-teal-soft);
  box-shadow: none;
}
.geo-faq .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c1e34'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.geo-faq .accordion-body {
  color: var(--amo-muted);
  font-size: .88rem;
  line-height: 1.7;
  padding: 12px 18px 16px;
  background: white;
}

/* ─── Other cities grid ──────────────────────────────────── */
.geo-cities-section {
  background: white;
  border-radius: var(--amo-radius-lg);
  padding: 28px;
  box-shadow: var(--amo-shadow-sm);
  border: 1px solid var(--amo-border);
}
.geo-cities-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amo-brown);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.geo-cities-section h2::before {
  content: '';
  display: inline-block;
  width: 4px; height: 18px;
  background: var(--amo-gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.geo-city-pill {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--amo-border);
  text-decoration: none;
  text-align: center;
  background: white;
  transition: all .18s;
  color: var(--amo-brown);
}
.geo-city-pill:hover {
  border-color: var(--amo-teal);
  background: var(--amo-teal-soft);
  color: var(--amo-teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(13,115,119,.12);
  text-decoration: none;
}
.geo-city-pill strong { display: block; font-size: .88rem; font-weight: 600; }
.geo-city-pill small { color: var(--amo-muted); font-size: .75rem; }

/* ─── Blog cards ─────────────────────────────────────────── */
.blog-card-img-wrap {
  overflow: hidden;
  border-radius: var(--amo-radius) var(--amo-radius) 0 0;
  height: 200px;
}
.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .blog-card-img-wrap img { transform: scale(1.05); }
.blog-cat-badge {
  display: inline-block;
  background: var(--amo-teal);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

/* ─── Provider cards ─────────────────────────────────────── */
.provider-avatar-ring {
  width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid var(--amo-gold);
  overflow: hidden;
  object-fit: cover;
}

/* ─── Search / Location box ──────────────────────────────── */
.iq-search-form, .location-search-wrap {
  border-radius: 14px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.15) !important;
  overflow: hidden;
}

/* ─── Accordion default (category pages, etc.) ───────────── */
.accordion-button:not(.collapsed) { color: var(--amo-teal); }

/* ─── Footer ──────────────────────────────────────────────── */
footer { background-color: var(--amo-brown) !important; }

/* ─── List group ──────────────────────────────────────────── */
.list-group-item-action:hover { background: var(--amo-teal-soft); color: var(--amo-teal); }
.list-group-item-action:focus { background: var(--amo-teal-soft); }

/* ─── Sticky sidebar safety ───────────────────────────────── */
.sticky-top { top: 88px; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .geo-hero { padding: 40px 0 44px !important; }
  .geo-hero h1 { font-size: 1.55rem !important; }
  .geo-hero .geo-lead { font-size: .95rem; }
  .sticky-top { position: relative !important; top: 0 !important; }
  .amo-heading { font-size: 1.4rem; }
  .geo-cities-section { padding: 20px 16px; }
}

/* ============================================================
   HOMEPAGE — IQonic SPA sections
   ============================================================ */

/* ─── Top info bar ───────────────────────────────────────── */
.top-header,
.top-header.bg-primary { background-color: var(--amo-teal-dark) !important; }

/* ─── Main nav ───────────────────────────────────────────── */
.navbar-bg, .header-main, .landing-header,
header .navbar { background: white !important; box-shadow: 0 2px 16px rgba(44,36,22,.08) !important; }

/* ─── Homepage Hero (IQonic section_1) ───────────────────── */
.padding-top-bottom-90,
.banner-section,
.hero-section,
.section-hero,
[class*="hero-wrap"],
[class*="banner-wrap"] {
  background: linear-gradient(150deg, var(--amo-teal) 0%, #142d49 45%, #081527 100%) !important;
  color: white;
}
.padding-top-bottom-90 h1,
.padding-top-bottom-90 h2,
.padding-top-bottom-90 .iq-title-box h2 { color: white !important; }
.padding-top-bottom-90 p,
.padding-top-bottom-90 .iq-title-desc { color: rgba(255,255,255,.85) !important; }

/* zellige overlay on hero */
.padding-top-bottom-90::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 340px; height: 340px; border-radius: 50%;
  background: var(--amo-gold); opacity: .06; pointer-events: none;
}

/* ─── Search / location input ────────────────────────────── */
.iq-search-box, .search-form, .location-search,
[class*="search-wrap"], [class*="search-box"] {
  border-radius: 14px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.15) !important;
  overflow: hidden;
}

/* ─── Category cards (IQonic grid) ──────────────────────── */
.category-box, .iq-category-card, .category-card,
[class*="category-item"], [class*="category-wrap"] {
  border-radius: var(--amo-radius) !important;
  box-shadow: var(--amo-shadow) !important;
  transition: transform .2s, box-shadow .2s !important;
  overflow: hidden;
}
.category-box:hover, .iq-category-card:hover,
.category-card:hover { transform: translateY(-4px) !important; box-shadow: var(--amo-shadow-lg) !important; }
.category-box .category-name,
.category-box h6, .category-box h5,
[class*="category-item"] h6 { font-weight: 700 !important; }

/* ─── Provider / handyman cards ──────────────────────────── */
.provider-box, .handyman-box, .provider-card,
[class*="provider-item"], [class*="handyman-item"] {
  border-radius: var(--amo-radius) !important;
  box-shadow: var(--amo-shadow-sm) !important;
  border: 1px solid var(--amo-border) !important;
  transition: transform .2s, box-shadow .2s !important;
}
.provider-box:hover, .handyman-box:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--amo-shadow-lg) !important;
}

/* ─── Service cards ───────────────────────────────────────── */
.service-box, .service-card, .iq-service-box,
[class*="service-item"] {
  border-radius: var(--amo-radius) !important;
  box-shadow: var(--amo-shadow-sm) !important;
  border: 1px solid var(--amo-border) !important;
  transition: transform .2s, box-shadow .2s !important;
}
.service-box:hover, .service-card:hover { transform: translateY(-3px) !important; }

/* ─── Section backgrounds ─────────────────────────────────── */
.bg-light, section.bg-light { background-color: var(--amo-cream) !important; }
.bg-white, section.bg-white { background-color: white !important; }

/* ─── Section headings (IQonic iq-title-box) ─────────────── */
.iq-title-box .iq-title,
.section-title, .iq-section-title { color: var(--amo-brown) !important; }
.highlighted-text { color: var(--amo-teal) !important; }
.highlighted-image svg path { stroke: var(--amo-gold) !important; }

/* ─── Swiper / carousel arrows ───────────────────────────── */
.swiper-button-next, .swiper-button-prev {
  background: var(--amo-teal) !important;
  color: white !important;
  border-radius: 50% !important;
  width: 40px !important; height: 40px !important;
}
.swiper-pagination-bullet-active { background: var(--amo-teal) !important; }

/* ─── Star ratings ────────────────────────────────────────── */
.rating i, .star-rating i, [class*="rating"] .fa-star { color: var(--amo-gold) !important; }

/* ─── Tags / pills on cards ───────────────────────────────── */
.badge.bg-primary, .badge-primary { background-color: var(--amo-teal) !important; }
.badge.bg-success { background-color: #16a34a !important; }
.badge.bg-warning { background-color: var(--amo-gold) !important; color: var(--amo-brown) !important; }

/* ─── Tabs ────────────────────────────────────────────────── */
.nav-tabs .nav-link.active { color: var(--amo-teal) !important; border-bottom-color: var(--amo-teal) !important; }
.nav-pills .nav-link.active { background-color: var(--amo-teal) !important; }

/* ─── Blog listing cards ──────────────────────────────────── */
.blog-box, .blog-card, [class*="blog-item"] {
  border-radius: var(--amo-radius) !important;
  overflow: hidden;
  box-shadow: var(--amo-shadow-sm) !important;
  border: 1px solid var(--amo-border) !important;
  transition: transform .2s, box-shadow .2s !important;
}
.blog-box:hover { transform: translateY(-3px) !important; box-shadow: var(--amo-shadow-lg) !important; }
.blog-box img, .blog-card img { transition: transform .4s !important; }
.blog-box:hover img, .blog-card:hover img { transform: scale(1.04) !important; }

/* ─── Footer ───────────────────────────────────────────────── */
footer, .footer-wrap, .footer-section,
[class*="footer"] { background-color: var(--amo-brown) !important; }
footer .footer-title, footer h5, footer h6 { color: white !important; }
footer a { color: rgba(255,255,255,.75) !important; }
footer a:hover { color: var(--amo-gold) !important; }
footer .footer-top { border-bottom: 1px solid rgba(255,255,255,.1) !important; }
footer .footer-bottom, footer .footer-copyright {
  background-color: rgba(0,0,0,.2) !important;
  color: rgba(255,255,255,.55) !important;
}

/* ─── Loading screen ──────────────────────────────────────── */
#loading, .loading-screen { background: var(--amo-teal) !important; }
.loader, [class*="loader"] { border-top-color: var(--amo-gold) !important; }

/* ─── Toasts / alerts ─────────────────────────────────────── */
.swal2-confirm { background-color: var(--amo-teal) !important; }

/* ============================================================
   BLOG DETAIL — content typography
   ============================================================ */

/* Hero gradient fallback (when no uploaded image) */
.blog-hero-gradient { width: 100%; }

/* Blog meta bar */
.blog-heading-part { background: white; }
.blog-heading-box h3 { font-size: 1.65rem; font-weight: 800; color: var(--amo-brown); line-height: 1.3; }
.blog-meta .author-block h6 { color: var(--amo-teal); }
.blog-meta ul li h6 { color: var(--amo-muted); font-size: .82rem; }

/* Content body — the .description wrapper contains raw HTML */
.blog-content-part { background: var(--amo-cream); }
.blog-content-part .blog-inner { border-radius: var(--amo-radius-lg); padding: 36px 40px; box-shadow: var(--amo-shadow-sm); }

/* Typography inside .description */
.blog-content-part .description,
.blog-content-part p.description { font-size: 1rem; line-height: 1.8; color: var(--amo-brown); }
.blog-content-part .description h2 {
  font-size: 1.35rem; font-weight: 700; color: var(--amo-brown);
  margin-top: 2.2rem; margin-bottom: .8rem;
  padding-left: 14px; border-left: 4px solid var(--amo-gold);
  line-height: 1.3;
}
.blog-content-part .description h3 {
  font-size: 1.1rem; font-weight: 600; color: var(--amo-teal);
  margin-top: 1.6rem; margin-bottom: .5rem;
}
.blog-content-part .description p { margin-bottom: 1rem; }
.blog-content-part .description strong { color: var(--amo-brown); }
.blog-content-part .description a { color: var(--amo-teal); text-decoration: underline; }
.blog-content-part .description a:hover { color: var(--amo-teal-dark); }

/* Lists */
.blog-content-part .description ul,
.blog-content-part .description ol { padding-left: 1.4rem; margin-bottom: 1.1rem; }
.blog-content-part .description li { margin-bottom: .45rem; line-height: 1.7; }
.blog-content-part .description ul > li::marker { color: var(--amo-gold); }
.blog-content-part .description ol > li::marker { color: var(--amo-teal); font-weight: 700; }

/* Tables */
.blog-content-part .description table {
  width: 100%; border-collapse: collapse;
  margin: 1.8rem 0; font-size: .92rem;
  border-radius: 8px; overflow: hidden;
  box-shadow: var(--amo-shadow-sm);
}
.blog-content-part .description table th {
  background: var(--amo-teal); color: white;
  padding: .7rem 1rem; font-weight: 600; text-align: left;
}
.blog-content-part .description table td {
  padding: .65rem 1rem; border-bottom: 1px solid var(--amo-border);
  vertical-align: top;
}
.blog-content-part .description table tr:last-child td { border-bottom: none; }
.blog-content-part .description table tr:hover td { background: var(--amo-teal-soft); }
.blog-content-part .description table tbody tr:nth-child(even) td { background: #fafaf8; }

/* RTL */
[dir="rtl"] .blog-content-part .description h2 {
  padding-left: 0; padding-right: 14px;
  border-left: none; border-right: 4px solid var(--amo-gold);
}
[dir="rtl"] .blog-content-part .description ul,
[dir="rtl"] .blog-content-part .description ol { padding-left: 0; padding-right: 1.4rem; }

/* Responsive */
@media (max-width: 767.98px) {
  .blog-content-part .blog-inner { padding: 24px 18px; }
  .blog-content-part .description h2 { font-size: 1.15rem; }
  .blog-heading-box h3 { font-size: 1.3rem; }
  .blog-hero-gradient { min-height: 220px !important; }
  .blog-hero-gradient h2 { font-size: 1.1rem !important; }
  .blog-content-part .description table { font-size: .82rem; }
  .blog-content-part .description table th,
  .blog-content-part .description table td { padding: .5rem .7rem; }
}

/* Dark mode blog */
[data-bs-theme="dark"] .blog-content-part,
[data-bs-theme="dark"] .blog-heading-part { background: var(--amo-cream); }
[data-bs-theme="dark"] .blog-content-part .blog-inner { background: var(--amo-warm-bg); }
[data-bs-theme="dark"] .blog-content-part .description table tbody tr:nth-child(even) td { background: transparent; }

/* ─── Dark mode ───────────────────────────────────────────── */
[data-bs-theme="dark"] {
  --amo-cream: #111418;
  --amo-warm-bg: #1a1e24;
  --amo-brown: #dce2eb;
  --amo-muted: #9a8e80;
  --amo-border: #2e2a26;
  --amo-teal-soft: #0d2e30;
  --amo-gold-soft: #1e1900;
}
[data-bs-theme="dark"] .geo-cta-body,
[data-bs-theme="dark"] .geo-faq .accordion-body,
[data-bs-theme="dark"] .geo-faq .accordion-button,
[data-bs-theme="dark"] .geo-related-card,
[data-bs-theme="dark"] .geo-cities-section { background: #181c20 !important; }
[data-bs-theme="dark"] .geo-city-pill { background: #181c20; }
[data-bs-theme="dark"] .geo-related-item:hover { background: var(--amo-teal-soft); }

/* ─── DataTable list pages: force transparent/cream background ──────── */
/* IQonic's landing-page-custom.min.css can set dark bg on table wrappers */
.dataTables_wrapper,
.dataTables_wrapper .dataTables_scroll,
.dataTables_wrapper .dataTables_scrollBody,
.dataTables_wrapper .dataTables_scrollHead { background-color: transparent !important; }
table.custom-card-table,
table.custom-card-table thead,
table.custom-card-table tbody,
table.custom-card-table tbody tr,
table.custom-card-table tbody td { background-color: transparent !important; }
/* ─── Category list card hover ───────────────────────────── */
.amo-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13,115,119,.18);
  border-color: var(--amo-teal) !important;
}
.amo-cat-card { background: #fff; }
[data-bs-theme="dark"] .amo-cat-card { background: var(--amo-warm-bg); border-color: var(--amo-border) !important; }
[data-bs-theme="dark"] .amo-cat-card .categories-name { color: var(--amo-cream) !important; }
[data-bs-theme="dark"] .amo-cat-card .categories-desc { color: var(--amo-muted) !important; }
