.elementor-87 .elementor-element.elementor-element-54884bc{--display:flex;}.elementor-87 .elementor-element.elementor-element-d7c4eb1{--display:flex;}.elementor-87 .elementor-element.elementor-element-76ec63a{--display:flex;}.elementor-87 .elementor-element.elementor-element-55c447a{--display:flex;}.elementor-87 .elementor-element.elementor-element-b7a81bd{width:100%;max-width:100%;}.elementor-87 .elementor-element.elementor-element-4b2ce6d{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS *//* ==========================================================================
   BangkokTailors.com — Base Stylesheet (Draft Layout)
   White-primary, editorial/directory style. Simple, fast, SEO-friendly.
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f6f3;
  --color-text: #1e2028;
  --color-text-muted: #5c5f6a;
  --color-border: #e6e4de;
  --color-accent: #b8873a;      /* muted gold — CTAs, links, ratings */
  --color-accent-dark: #96692a;
  --color-navy: #1b1c2e;        /* headers, footer */

  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --max-width: 1120px;
  --radius: 6px;
}

* { box-sizing: border-box; }

/* Base size: 112.5% = 18px. Every rem size below scales from this —
   change this one value to make the whole site larger or smaller. */
html { scroll-behavior: smooth; font-size: 112.5%; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.65;
  font-size: 1.0625rem; /* 19px body text */
}

img { max-width: 100%; display: block; }

a {
  color: var(--color-accent-dark);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-navy);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--color-text); }
.text-muted { color: var(--color-text-muted); }

/* ---------- Header / Nav ---------- */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 32px;
  height: 68px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}
.logo span { color: var(--color-accent-dark); }

.main-nav { display: flex; height: 100%; }
.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  height: 100%;
}
.main-nav > ul > li { position: relative; height: 100%; display: flex; align-items: center; }
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  color: var(--color-navy);
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 0 14px;
  border-radius: var(--radius);
  transition: background-color .15s ease, color .15s ease;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.is-open > a {
  color: var(--color-accent-dark);
  background: var(--color-bg-alt);
  text-decoration: none;
}

.dropdown > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .15s ease;
  opacity: .6;
}
.dropdown.is-open > a::after { transform: translateY(1px) rotate(-135deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  right: auto;
  flex-direction: column;
  align-items: stretch;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px;
  margin: 0;
  width: 230px;
  height: auto;
  z-index: 200;
  box-shadow: 0 16px 32px rgba(20,20,30,.14);
}
/* keep the last two dropdowns from overflowing the viewport edge */
.main-nav li.dropdown:nth-last-child(-n+2) .dropdown-menu {
  left: auto;
  right: 0;
}
.dropdown.is-open > .dropdown-menu { display: block; }
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
  display: block;
  height: auto;
  padding: 9px 12px;
  border-radius: 4px;
  font-weight: 500;
  font-size: .92rem;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--color-bg-alt); color: var(--color-accent-dark); }
.dropdown-menu a::after { display: none; content: none; border: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  padding: 0;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-navy);
  position: relative;
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--color-navy);
  color: #fff;
}
.btn-primary:hover { background: #2c2e46; text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-secondary:hover { background: var(--color-navy); color: #fff; text-decoration: none; }

/* ---------- Hero ---------- */
/* ---------- Photo-background sections (real <img> for SEO/indexability,
   not CSS background-image — see .photo-bg-img / .photo-bg-overlay
   below). Each section needs: position:relative, overflow:hidden, and
   its own .container promoted above the image with z-index. ---------- */
/* !important: Elementor ships `.elementor img { height: auto; max-width: 100% }`,
   which outranks a single class and makes the photo stop at its natural
   height instead of covering the whole section. */
.photo-bg-img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover;
  z-index: 0;
}
.photo-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(15,16,28,.6);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.hero .photo-bg-overlay { background: rgba(15,16,28,.72); }
.hero .container { position: relative; z-index: 2; }
/* Solid-background variant — no photo, just the navy brand color. Used
   on pages that shouldn't reuse the homepage's hero photo. */
.hero-solid { background: var(--color-navy); }
.hero-solid h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 800;
}
.hero .badge { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; }
.hero h1 { max-width: 800px; margin-left: auto; margin-right: auto; color: #fff; }
.hero .subhead {
  font-size: 1.1rem;
  color: #e4e3da;
  max-width: 620px;
  margin: 0 auto 28px;
}
.hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn-secondary:hover { background: #fff; color: var(--color-navy); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; border-bottom: 1px solid var(--color-border); }
.section:last-of-type { border-bottom: none; }
.section-alt { background: var(--color-bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-head p { color: var(--color-text-muted); }

/* ---------- Card grids ---------- */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--color-bg);
}
.card h3 { margin-bottom: 8px; }
.card .rank {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-accent-dark);
  margin-bottom: 6px;
}

/* ---------- Stacked review list (line-by-line, not a grid) ---------- */
.review-list { max-width: 820px; margin: 0 auto; }
.review-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
}
.review-item:first-child { padding-top: 0; }
.review-item:last-child { border-bottom: none; padding-bottom: 0; }
.review-item-image {
  flex: 0 0 180px;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  color: var(--color-text-muted);
  font-size: .74rem;
  line-height: 1.4;
}
.review-item-body { flex: 1 1 auto; min-width: 0; }
.review-item h3 {
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.review-item .rank {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-accent-dark);
  font-size: 1rem;
}
.review-item p { margin: 0; }
@media (max-width: 640px) {
  .review-item { flex-direction: column; }
  .review-item-image { flex-basis: auto; width: 100%; }
}
/* ---------- Guide card (landscape cover image + text) ---------- */
.guide-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg);
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.guide-card:hover {
  box-shadow: 0 16px 34px rgba(20,20,30,.10);
  transform: translateY(-3px);
  border-color: var(--color-accent);
}
.guide-card-image {
  aspect-ratio: 16/9;
  width: 100%;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.guide-card-body { padding: 20px; display: block; }
.guide-card-body h3 { margin-bottom: 8px; font-size: 1.1rem; color: var(--color-navy); }
.guide-card:hover .guide-card-body h3 { color: var(--color-accent-dark); }
.guide-card-body p { margin: 0; }
.guide-card { text-decoration: none; }
.guide-card:hover { text-decoration: none; }

.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-block;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--color-navy);
}
.pill:hover { border-color: var(--color-accent); text-decoration: none; }

/* ---------- Image tiles (category / area cards) ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}
.tile {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.tile:hover {
  box-shadow: 0 14px 30px rgba(20,20,30,.10);
  transform: translateY(-3px);
  border-color: var(--color-accent);
  text-decoration: none;
}
.tile-image {
  aspect-ratio: 4/3;
  width: 100%;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-text-muted);
  opacity: .8;
}
.tile-label {
  padding: 12px 10px;
  text-align: center;
  font-weight: 700;
  font-size: .92rem;
  color: var(--color-navy);
}

/* ---------- Link panel (simple category list, no imagery) ---------- */
.link-panel {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-navy);
  transition: background-color .15s ease, color .15s ease;
}
.link-item:hover {
  background: var(--color-bg-alt);
  color: var(--color-accent-dark);
  text-decoration: none;
}
.link-item .link-arrow {
  color: var(--color-accent);
  font-weight: 700;
  transition: transform .15s ease;
}
.link-item:hover .link-arrow { transform: translateX(3px); }

/* ---------- Icon grid (category cards with icon + label) ---------- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
}
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  text-align: center;
  text-decoration: none;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.icon-item:hover {
  box-shadow: 0 14px 28px rgba(20,20,30,.10);
  transform: translateY(-3px);
  border-color: var(--color-accent);
  text-decoration: none;
}
.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.icon-item:hover .icon-circle { border-color: var(--color-accent); }
.icon-item-label {
  font-weight: 700;
  font-size: .92rem;
  color: var(--color-navy);
}

/* ---------- Auto-scrolling vertical card carousel ---------- */
.carousel-outer {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.carousel-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: carousel-scroll 24s linear infinite;
}
.carousel-outer:hover .carousel-track { animation-play-state: paused; }
@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.v-card {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg);
  text-decoration: none;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.v-card:hover {
  box-shadow: 0 14px 30px rgba(20,20,30,.10);
  transform: translateY(-3px);
  border-color: var(--color-accent);
  text-decoration: none;
}
.v-card-image {
  aspect-ratio: 3/4;
  width: 100%;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.v-card-label {
  padding: 14px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-navy);
}
@media (max-width: 560px) {
  .v-card { flex-basis: 150px; }
}

/* ---------- 2x2 area grid (photo placeholder cards) ---------- */
.area-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.area-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg);
  text-decoration: none;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.area-card:hover {
  box-shadow: 0 16px 34px rgba(20,20,30,.12);
  transform: translateY(-3px);
  border-color: var(--color-accent);
  text-decoration: none;
}
.area-card-image {
  aspect-ratio: 4/3;
  width: 100%;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  overflow: hidden;
}
.area-card-image img {
  display: block;
  width: 100% !important;
  height: 100% !important; /* beat Elementor's img { height: auto } */
  object-fit: cover;
  text-transform: none; /* keep alt text readable while a src is missing */
  transition: transform .3s ease;
}
.area-card:hover .area-card-image img { transform: scale(1.04); }
.area-card-body { padding: 16px; }
.area-card-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-navy);
  display: block;
  margin-bottom: 6px;
}
.area-card-desc {
  font-size: .87rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  display: block;
}
@media (max-width: 560px) {
  .area-grid-2x2 { grid-template-columns: 1fr; max-width: 420px; }
}

/* ---------- Full-bleed section background ----------
   Local draft uses site/images/bangkok-city-skyline.webp (downloaded
   from scasset.com via besttailorinbangkok.com, credited via
   .photo-credit below — do NOT hotlink the original URL, host our own
   copy so the site doesn't break if they remove/move theirs). Uses a
   real <img class="photo-bg-img"> (not CSS background-image) so the
   photo is indexable and can carry alt text — see .photo-bg-img /
   .photo-bg-overlay above.
   On WordPress: upload site/images/bangkok-city-skyline.webp to the
   Media Library and use whatever URL WP assigns it as the <img src>
   in the section's HTML widget. Keep the scasset.com credit either way. */
.section-photo-bg {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
}
.photo-credit {
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-size: .72rem;
  color: rgba(255,255,255,.75);
  z-index: 2;
}
.photo-credit a { color: rgba(255,255,255,.85); text-decoration: underline; }
.bg-photo-label {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  padding: 5px 12px;
  border-radius: 999px;
}
.section-photo-bg .container { position: relative; z-index: 2; }
.section-photo-bg .section-head h2,
.section-photo-bg .section-head p {
  color: #fff;
}
/* Note under the area cards — sits on the photo, so it gets its own
   dark translucent panel instead of the grey .text-muted colour. */
.area-note {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 14px 20px;
  text-align: center;
  font-size: .95rem;
  line-height: 1.55;
  color: #fff !important;
  background: rgba(15,16,28,.72);
  border-radius: var(--radius);
}
.overlay-panel {
  background: rgba(255,255,255,.95);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 24px;
  box-shadow: 0 20px 44px rgba(20,20,30,.10);
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  font-size: .95rem;
}
th {
  background: var(--color-bg-alt);
  font-family: var(--font-heading);
  color: var(--color-navy);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: .85rem;
  color: var(--color-text-muted);
  padding: 16px 0;
}
.breadcrumbs a { color: var(--color-text-muted); }

/* ---------- Tailor profile ---------- */
.profile-header {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.profile-photo {
  flex: 1 1 320px;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}
.profile-meta { flex: 1 1 320px; }
.stars { color: var(--color-accent); font-size: 1.2rem; letter-spacing: 2px; }
.spec-list {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}
.spec-list li { font-size: .92rem; }
.spec-list strong { display: block; color: var(--color-navy); }

/* ---------- Ranked badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-navy);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Icon stat row (location / price / turnaround etc.) ---------- */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 14px 0;
}
.stat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .9rem;
  color: var(--color-text-muted);
}
.stat strong { color: var(--color-navy); font-weight: 600; }
.stat .stat-icon { font-size: 1rem; line-height: 1; }

/* ---------- Testimonial ---------- */
.testimonial {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-navy);
  margin: 0 0 16px;
  line-height: 1.5;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: .9rem;
}

/* ---------- Testimonial section background photo ----------
   Uses a real <img class="photo-bg-img"> for SEO/indexability instead
   of CSS background-image — see .photo-bg-img / .photo-bg-overlay
   above. */
.section-photo-bg-quote {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
}
.section-photo-bg-quote .photo-bg-overlay { background: rgba(15,16,28,.68); }
.section-photo-bg-quote .container { position: relative; z-index: 2; }
.section-photo-bg-quote .testimonial blockquote { color: #fff; }
.section-photo-bg-quote .testimonial cite { color: #d8d6c9; }

/* ---------- Numbered tip list ---------- */
.tip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: tip;
}
.tip-list li {
  counter-increment: tip;
  position: relative;
  padding-left: 44px;
}
.tip-list li::before {
  content: counter(tip);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-accent-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tip-list h3 { margin-bottom: 4px; font-size: 1.05rem; }
.tip-list p { margin: 0; font-size: .92rem; }

/* ---------- FAQ (native accordion) ---------- */
.faq-item { border-bottom: 1px solid var(--color-border); padding: 18px 0; }
.faq-item h3 { margin-bottom: 8px; }

.faq { border-top: 1px solid var(--color-border); }
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.3rem;
  color: var(--color-accent-dark);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--color-text-muted); }

/* ---------- Callout ---------- */
.callout {
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg-alt);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 24px 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy);
  color: #cfd0dd;
  padding: 48px 0 24px;
  margin-top: 40px;
}
.site-footer a { color: #e8e6da; }
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 32px;
}
.footer-grid h4 {
  color: #fff;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; font-size: .92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  font-size: .85rem;
  color: #9a9cae;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .main-nav ul { gap: 16px; }
}
@media (max-width: 720px) {
  .site-header__inner { position: relative; }
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 16px 30px rgba(20,20,30,.12);
    z-index: 300;
  }
  .main-nav.is-open { display: block; }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 0;
    padding: 8px 0;
  }
  .main-nav > ul > li {
    height: auto;
    width: 100%;
  }
  .main-nav > ul > li > a {
    height: auto;
    width: 100%;
    padding: 14px 20px;
    border-radius: 0;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin: 0;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
    background: var(--color-bg-alt);
  }
  .dropdown.is-open > .dropdown-menu { display: block; }
  .main-nav li.dropdown:nth-last-child(-n+2) .dropdown-menu { left: 0; right: 0; }

  .spec-list { grid-template-columns: 1fr 1fr; }
}

/* ---------- Two-column split: text left, image placeholder right ---------- */
/* Full-bleed 50/50 split — no .container, image touches the section
   edges with no border/rounding; text gets its own padding instead.
   !important on the layout-critical properties: this has repeatedly
   lost to Elementor/theme CSS overriding display/flex-direction on the
   live site, so we force it here rather than relying on source order. */
.split-section {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  min-height: 480px;
  width: 100%;
}
.split-text {
  flex: 1 1 50% !important;
  min-width: 0;
  order: 1 !important;
  padding: 64px clamp(24px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-text .section-head { text-align: left; margin-left: 0; }
.split-image {
  flex: 1 1 50% !important;
  min-width: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  border: none !important;
  display: block !important;
  order: 2 !important;
  margin: 0 !important;
  max-width: none !important;
}
@media (max-width: 780px) {
  .split-section { flex-direction: column !important; min-height: 0; }
  .split-text { padding: 40px 24px; }
  .split-image { width: 100% !important; height: 320px !important; }
}

/* ---------- Before-you-visit floating cards (home 10_before-you-visit) ----------
   One large photo; 5 tip cards float over its edges at different spots.
   Under 980px the cards drop below the photo in a grid. */
.visit-float {
  position: relative;
  max-width: 860px;
  margin: 70px auto 60px;
}
.visit-float-media {
  position: relative;
  height: 660px;
  overflow: hidden;
  background: var(--color-navy);
}
.visit-float-media img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important; /* beat Elementor's img { height: auto } */
  object-fit: cover;
}
.vf-card {
  position: absolute;
  z-index: 2;
  width: 240px;
  padding: 26px 22px 24px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(20,20,30,.16);
}
.vf-card h3 { font-size: 1.05rem; margin: 0 0 8px; color: var(--color-navy); }
.vf-card p { font-size: .88rem; line-height: 1.5; margin: 0; color: var(--color-text-muted); }
.vf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  background: var(--color-navy);
  color: #fff;
}
.vf-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Filled accent card */
.vf-card--filled { background: var(--color-navy); }
.vf-card--filled h3 { color: #fff; }
.vf-card--filled p { color: rgba(255,255,255,.85); }
.vf-card--filled .vf-icon { background: #fff; color: var(--color-navy); }

/* Card positions around the photo */
.vf-card--1 { top: 8%;    left: -90px; }
.vf-card--2 { top: -50px; right: -70px; }
.vf-card--3 { top: 44%;   right: -110px; }
.vf-card--4 { bottom: 12%; left: -110px; }
.vf-card--5 { bottom: -60px; left: 50%; transform: translateX(-50%); }

@media (max-width: 1180px) {
  .vf-card--1 { left: -40px; }
  .vf-card--2 { right: -30px; }
  .vf-card--3 { right: -40px; }
  .vf-card--4 { left: -40px; }
}
@media (max-width: 980px) {
  .visit-float { margin: 0 auto; max-width: 720px; }
  .visit-float-media { height: 420px; }
  .visit-float {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .visit-float-media { grid-column: 1 / -1; }
  .vf-card,
  .vf-card--5 {
    position: static;
    width: auto;
    transform: none;
  }
  .vf-card--5 { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .visit-float { grid-template-columns: 1fr; }
  .visit-float-media { height: 300px; }
  .vf-card--5 { grid-column: auto; }
}

/* ---------- Top 3 pricing-style cards (home 04_featured-tailors) ----------
   #1 is first in the HTML; on desktop `order` puts it in the middle and it
   is taller and navy-filled. Stacks #1, #2, #3 on mobile. */
.top3 {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 24px;
  align-items: stretch; /* side cards share one height */
  max-width: 1040px;
  margin: 0 auto;
  padding: 44px 0 24px;
}
.top3-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 32px 28px 28px;
  box-shadow: 0 12px 30px rgba(20,20,30,.08);
  text-align: left;
}
.top3-card--2 { order: 1; }
.top3-card--featured { order: 2; }
.top3-card--3 { order: 3; }

.top3-card--featured {
  background: var(--color-navy);
  border-color: var(--color-navy);
  padding: 48px 30px 40px;
  margin: -28px 0; /* rises above and below the side cards */
  box-shadow: 0 24px 50px rgba(20,20,30,.22);
}
.top3-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.top3-rank {
  display: block;
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 6px;
}
.top3-card h3 { text-align: center; font-size: 1.35rem; margin: 0 0 8px; }
.top3-card h3 a { color: inherit; }
.top3-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 16px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.top3-location svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.top3-desc { font-size: .86rem; line-height: 1.55; color: var(--color-text-muted); margin: 0 0 16px; }
.top3-list { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.top3-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: .9rem;
  color: var(--color-text);
}
.top3-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .3em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg);
}
.top3-btn {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: var(--radius);
  background: var(--color-navy);
  color: #fff !important;
  font-weight: 700;
  font-size: .95rem;
}
.top3-btn:hover { background: #2c2e46; text-decoration: none; }

/* Featured (navy) card colours */
.top3-card--featured .top3-rank { color: var(--color-accent); }
.top3-card--featured h3 { color: #fff; }
.top3-card--featured .top3-location { color: rgba(255,255,255,.85); }
.top3-card--featured .top3-desc { color: rgba(255,255,255,.75); }
.top3-card--featured .top3-list li { color: #fff; }
.top3-card--featured .top3-btn { background: #fff; color: var(--color-navy) !important; }
.top3-card--featured .top3-btn:hover { background: var(--color-bg-alt); }

@media (max-width: 900px) {
  .top3 { grid-template-columns: 1fr; max-width: 460px; gap: 30px; padding-top: 20px; }
  .top3-card--featured { margin: 0; }
  .top3-card--featured { order: 0; }
  .top3-card--2 { order: 1; }
  .top3-card--3 { order: 2; }
}

/* ---------- "Best Bangkok Tailor For…" quick pick (home 05_find-by-need) ----------
   6 need cards in a 3 x 2 grid. Subgrid keeps the divider, "Look for"
   line and link aligned across each row even when text lengths differ. */
.pick-head {
  border-top: 3px solid var(--color-navy);
  padding-top: 18px;
  margin-bottom: 32px;
}
.pick-eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 8px;
}
.pick-head h2 { margin: 0 0 6px; }
.pick-head p { margin: 0; color: var(--color-text-muted); }
.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pick-card {
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  row-gap: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 24px 22px 22px;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.pick-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 14px 30px rgba(20,20,30,.08);
  transform: translateY(-2px);
  text-decoration: none;
}
.pick-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pick-card h3 { margin: 14px 0 6px; font-size: 1.2rem; color: var(--color-navy); }
.pick-desc { margin: 0 0 16px; font-size: .86rem; color: var(--color-text-muted); }
.pick-look {
  margin: 0 0 4px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: .88rem;
  color: var(--color-navy);
}
.pick-meta { margin: 0 0 12px; font-size: .8rem; color: var(--color-text-muted); }
.pick-link { font-size: .85rem; font-weight: 700; color: var(--color-accent-dark); align-self: end; }
.pick-card:hover .pick-link { text-decoration: underline; }

@media (max-width: 900px) {
  .pick-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pick-grid { grid-template-columns: 1fr; }
}

/* ---------- Detailed review card (best-tailors 05_detailed-reviews) ----------
   About / Best For / Pricing / Services / Location & Contact + map / CTA. */
.review-item--detailed .review-item-body > h3 { margin-bottom: 18px; font-size: 1.5rem; }
.review-list:has(.review-item--detailed) { max-width: 960px; } /* room for the bigger photo */
.review-item--detailed .review-item-image { flex-basis: 360px; }
.review-item-image--photo { padding: 0; border: none; overflow: hidden; background: var(--color-bg-alt); }
.review-item-image--photo { aspect-ratio: auto; } /* photo keeps its own shape (landscape or portrait) */
.review-item-image--photo img {
  width: 100% !important;
  height: auto !important; /* beat Elementor's img sizing, keep natural ratio */
  max-width: none !important;
  display: block;
}
.rd-block { margin-bottom: 22px; }
.rd-block h4 {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
}
.rd-block p { margin: 0; }
.rd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.rd-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rd-pills li {
  padding: 5px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-navy);
}
.rd-price { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--color-navy); margin-bottom: 4px !important; }
.rd-price span { font-family: var(--font-body); font-size: .8rem; font-weight: 400; color: var(--color-text-muted); }
.rd-small { font-size: .85rem; }
.rd-services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 20px;
}
.rd-services li { position: relative; padding-left: 22px; font-size: .9rem; }
.rd-services li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .35em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg);
}
.rd-contact { list-style: none; margin: 0 0 14px; padding: 0; }
.rd-contact li { font-size: .9rem; margin-bottom: 5px; }
.rd-contact strong { color: var(--color-navy); }
.rd-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
}
.rd-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rd-cta { margin-top: 4px; color: #fff !important; }
@media (max-width: 900px) {
  .review-item--detailed .review-item-image { flex-basis: 280px; }
}
@media (max-width: 640px) {
  .rd-grid, .rd-services { grid-template-columns: 1fr; }
  .review-item--detailed .review-item-image { flex-basis: auto; }
}

/* ---------- Rankings table editor score (best-tailors 04_rankings-table) ---------- */
.score { font-weight: 700; color: var(--color-navy); white-space: nowrap; }
.score::first-letter { color: var(--color-accent); }
.score-max { font-size: .8em; color: var(--color-text-muted); margin-left: 1px; }
.table-note { font-size: .82rem; margin: 12px 0 0; }

/* Rankings table → review jump links: stop the sticky header covering
   the review heading when the page scrolls to #review-… */
.review-item[id] { scroll-margin-top: 100px; }

/* Detailed review buttons: "Read Full Review" + external link side by side */
.rd-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.rd-ctas .rd-cta { margin-top: 0; }
.rd-cta-alt { color: var(--color-navy) !important; }
.rd-cta-alt:hover { color: #fff !important; }/* End custom CSS */