@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600;1,700;1,800&display=swap');

/* =========================================
   SITE THEME — matches the original eroticadultmassage.co.uk
   (WordPress / Porto) design: white, Poppins body, Playfair headings.
   ========================================= */

/* Age gate */
.age-gate { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 24px; background: rgba(34, 37, 41, var(--age-gate-opacity, .94)); backdrop-filter: blur(6px); }
body:has(.age-gate) { overflow: hidden; }
.age-gate-panel { width: min(100%, 480px); padding: 40px 32px; text-align: center; color: var(--color-text); background: #fff; border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.age-gate-logo { display: block; max-width: 220px; max-height: 110px; object-fit: contain; margin: 0 auto 20px; }
.age-gate-title { margin: 0 0 12px; font-family: var(--font-heading); font-size: clamp(1.6rem, 5vw, 2rem); font-weight: 700; font-style: italic; line-height: 1.3; color: var(--color-heading); }
.age-gate-panel p { margin: 0 0 24px; line-height: 1.7; }
.age-gate-accept { display: block; width: 100%; min-height: 48px; border: 0; background: var(--color-primary); color: #fff; font: inherit; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.age-gate-accept:hover { background: #000; }
.age-gate-accept:disabled { opacity: .65; cursor: wait; }
.age-gate-leave { display: inline-block; margin-top: 16px; color: var(--color-text); font-size: 13px; }

/* =========================================
   DESIGN TOKENS & RESET
   ========================================= */
:root {
  --font-body: 'Poppins', sans-serif;
  --font-heading: 'Playfair Display', serif;

  --color-bg: #ffffff;
  --color-surface: #f7f7f7;
  --color-surface-hover: #f1f1f1;
  --color-text: #777777;
  --color-text-light: #777777;
  --color-muted: #999999;
  --color-heading: #222529;
  --color-primary: #222529;
  --color-primary-dark: #000000;
  --color-on-primary: #ffffff;
  --color-border: #e7e7e7;
  --color-accent: #b93027;      /* "Click to Call" button */
  --color-deep-red: #a00014;    /* profile Locations / Services boxes */
  --color-dot: #c0003c;         /* nationality dot */
  --color-whatsapp: #25d366;
  --color-blush: #f7e1e8;       /* home blog row background */

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 5px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);

  --radius-sm: 0;
  --radius-md: 5px;
  --radius-lg: 8px;

  --transition: all 0.25s ease;
  --container-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 25px;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { color: var(--color-heading); font-weight: 700; line-height: 1.3; margin-bottom: 1rem; }
h1, h2 { font-family: var(--font-heading); }
h3, h4, h5, h6 { font-family: var(--font-body); }
h1 { font-size: 36px; }
h2 { font-size: 30px; line-height: 40px; }
h3 { font-size: 25px; line-height: 32px; }
h4 { font-size: 20px; line-height: 27px; }

a { color: var(--color-heading); text-decoration: none; transition: var(--transition); }
a:hover { color: #000; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
strong, b { color: var(--color-heading); }

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
section { padding: 40px 0; }
.section-bg { background-color: var(--color-bg); }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }


.grid { display: grid; gap: 20px; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================
   BUTTONS & FORMS
   ========================================= */
.btn-primary, .btn-outline, .btn-back, .page-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: 12px 24px; font-family: var(--font-body); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em; line-height: 1.2; cursor: pointer; transition: var(--transition);
}
.btn-primary { background: var(--color-primary); color: #fff; border: 1px solid var(--color-primary); }
.btn-primary:hover { background: #000; border-color: #000; color: #fff; }
.btn-outline, .btn-back, .page-btn { background: #fff; color: var(--color-heading); border: 1px solid var(--color-border); }
.btn-outline:hover, .btn-back:hover, .page-btn:hover, .page-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: .4rem; font-weight: 500; font-size: 13px; color: var(--color-heading); }
.form-group input, .form-group textarea, .form-group select,
.review-form input, .review-form textarea, .review-form select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--color-border); border-radius: 0;
  font-family: var(--font-body); font-size: 14px; background: #fff; color: var(--color-heading); transition: var(--transition);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--color-muted); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus,
.review-form input:focus, .review-form textarea:focus, .review-form select:focus { outline: none; border-color: var(--color-primary); }
.form-alert { padding: 1rem; margin-bottom: 1.5rem; font-weight: 500; }
.form-alert.success { background-color: #e7f6ec; color: #1e6b3a; }
.form-alert.error { background-color: #fdeaea; color: #9b1c1c; }

/* =========================================
   HEADER
   ========================================= */
.site-header { background: #fff; position: relative; z-index: 1000; }
.header-inner { display: flex; align-items: center; gap: 30px; min-height: 130px; padding-top: 10px; padding-bottom: 10px; }
.site-logo { flex: 0 0 auto; color: var(--color-heading); font-family: var(--font-heading); font-size: 26px; font-style: italic; }
.site-logo-img { height: 110px; width: auto; display: block; }

.mobile-menu-toggle { display: flex; align-items: center; background: none; border: none; color: var(--color-heading); cursor: pointer; padding: .5rem; order: 3; margin-left: auto; }
.mobile-menu-toggle svg { width: 26px; height: 26px; }

.site-nav { display: none; }
.site-nav > a, .site-nav .nav-link {
  display: block; padding: 20px 27px; color: #2e3237; font-size: 13px; line-height: 20px; font-weight: 400;
  text-transform: uppercase; letter-spacing: -0.3px; position: relative;
}
.site-nav > a:hover, .site-nav .nav-link:hover, .nav-item:hover > .nav-link { color: #000; }
.site-nav > a::after, .site-nav .nav-link::before {
  content: ''; position: absolute; left: 27px; right: 27px; bottom: 16px; height: 1px; background: #2e3237;
  transform: scaleX(0); transition: transform .25s ease;
}
.site-nav > a:hover::after, .nav-item:hover > .nav-link::before, .site-nav a.active::after, .nav-item.active > .nav-link::before { transform: scaleX(1); }

.nav-item.has-dropdown { position: relative; }
.has-dropdown > .nav-link::after { content: '▾'; font-size: 9px; margin-left: 4px; vertical-align: 1px; }
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 5px 0;
  background: #fff; box-shadow: 0 5px 25px rgba(0,0,0,.12); border-top: 3px solid var(--color-primary); z-index: 1001;
}
.nav-dropdown a { display: block; padding: 8px 18px; color: var(--color-text); font-size: 12.6px; line-height: 18px; text-transform: uppercase; border-bottom: 1px solid #f2f2f2; }
.nav-dropdown a:last-child { border-bottom: 0; }
.nav-dropdown a:hover { color: var(--color-heading); background: #f7f7f7; }

.header-contact { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.header-contact a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--color-border); border-radius: 50%; color: var(--color-heading); }
.header-contact a:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.header-contact svg { width: 16px; height: 16px; }

@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
  .site-nav { display: flex; align-items: center; flex-wrap: wrap; }
  .nav-item.has-dropdown:hover .nav-dropdown { display: block; }
}
@media (max-width: 1023px) {
  .header-inner { min-height: 90px; gap: 12px; }
  .site-logo-img { height: 70px; }
  .header-contact { margin-left: auto; }
  .site-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 10px 20px 20px; box-shadow: 0 10px 20px rgba(0,0,0,.1); z-index: 999; max-height: 75vh; overflow-y: auto;
  }
  .site-nav.open > a, .site-nav.open .nav-link { padding: 12px 0; border-bottom: 1px solid #f2f2f2; }
  .site-nav > a::after, .site-nav .nav-link::before { display: none; }
  .nav-item.has-dropdown { width: 100%; }
  .nav-dropdown { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; }
  .nav-dropdown a { border: 0; padding: 6px 0; }
}

/* =========================================
   PAGE TOP: breadcrumbs + page title
   ========================================= */
.page-top { padding-top: 12px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--color-border); font-size: 12px; line-height: 18px; text-transform: uppercase; color: var(--color-heading); }
.breadcrumbs a { color: var(--color-heading); }
.breadcrumbs a:hover { color: #000; text-decoration: underline; }
.breadcrumbs .sep { opacity: .5; margin: 0 2px; }
.breadcrumbs svg { width: 13px; height: 13px; vertical-align: -2px; }
.page-title {
  font-family: var(--font-heading); font-style: italic; font-weight: 700; font-size: 36px; line-height: 1.3;
  letter-spacing: 22px; text-align: center; color: var(--color-heading); margin: 25px 0 20px;
}
@media (max-width: 767px) { .page-title { font-size: 26px; letter-spacing: 8px; } }

/* Simple page heading used by CMS-only pages (contact, work with us, indexes). */
.page-hero { padding: 30px 0 10px; text-align: center; background: none; }
.page-hero h1 { font-style: italic; letter-spacing: 8px; }
.page-hero p { max-width: 680px; margin: 0 auto; }
.page-hero.has-bg { position: relative; padding: 90px 0; background-size: cover; background-position: center; }
.page-hero.has-bg::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.page-hero.has-bg .container { position: relative; z-index: 1; }
.page-hero.has-bg h1, .page-hero.has-bg p { color: #fff; }

/* =========================================
   MASSEUSE CARDS (WooCommerce product card)
   ========================================= */
.masseuse-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
@media (min-width: 768px) { .masseuse-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .masseuse-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.masseuse-card { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 30px; color: var(--color-text); }
.masseuse-card-img { display: block; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; background: #f4f4f4; }
.masseuse-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.masseuse-card:hover .masseuse-card-img img { transform: scale(1.04); }
.masseuse-card-name { margin: 14px 0 0; padding-bottom: 14px; font-family: var(--font-body); font-size: 20px; line-height: 27px; font-weight: 500; }
.masseuse-card-name a { color: var(--color-heading); }
.star-rating { display: inline-flex; gap: 1px; font-size: 11px; line-height: 1; letter-spacing: 1.1px; color: #d4d4d4; margin-bottom: 14px; }
.star-rating .on { color: var(--color-heading); }
.masseuse-card-nat { font-size: 13px; line-height: 23px; color: var(--color-heading); margin-bottom: 14px; }
.masseuse-card-nat strong { display: block; color: #000; font-weight: 700; }
.masseuse-card-nat .dot { display: inline-block; width: 5px; height: 5px; margin-left: 6px; border-radius: 50%; background: var(--color-dot); vertical-align: 2px; }
.btn-view {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 1px solid #d9d9d9;
  font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--color-heading); background: #fff; margin-bottom: 14px;
}
.btn-view:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.masseuse-card-locs { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; font-size: 13px; line-height: 31px; }
.masseuse-card-locs a { color: var(--color-text); }
.masseuse-card-locs a:hover { color: var(--color-heading); }
@media (max-width: 600px) {
  .masseuse-card-name { font-size: 16px; }
  .masseuse-card-locs { display: none; }
}

/* Service / blog cards used by the CMS index pages */
.service-card, .blog-card { display: block; background: #fff; border: 1px solid var(--color-border); color: var(--color-text); transition: var(--transition); }
.service-card { padding: 30px; text-align: center; }
.service-card:hover, .blog-card:hover { box-shadow: var(--shadow-md); color: var(--color-text); }
.service-icon { width: 56px; height: 56px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); border-radius: 50%; color: var(--color-heading); }
.service-card h3 { font-size: 18px; margin-bottom: .4rem; }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card-info, .blog-card-body { padding: 18px 20px 22px; }
.blog-card h2, .blog-card h3 { font-family: var(--font-body); font-size: 17px; line-height: 1.4; margin-bottom: .5rem; }
.blog-meta { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted); margin-bottom: .4rem; }
.blog-index-grid { grid-template-columns: repeat(var(--blog-columns, 1), minmax(0, 1fr)); }
.blog-infinite-more { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 2rem; }
@media (max-width: 1023px) { .blog-index-grid[data-columns="3"], .blog-index-grid[data-columns="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .blog-index-grid { grid-template-columns: 1fr; } }

/* =========================================
   MASSEUSE PROFILE
   ========================================= */
.product-layout { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 30px; padding-bottom: 40px; }
@media (min-width: 992px) {
  .product-layout { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); align-items: start; gap: 50px; }
  .product-summary { position: sticky; top: calc(var(--incall-ribbon-h, 0px) + 20px); }
}

/* Gallery */
.product-gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.product-main-img { position: relative; overflow: hidden; border-radius: 6px; background: #f4f4f4; }
.product-main-img img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: opacity .2s ease; }
.photo-count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 20px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; letter-spacing: .03em; }
.product-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
.product-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: none; cursor: pointer; line-height: 0; opacity: .7; transition: var(--transition); }
.product-thumbs button:hover { opacity: 1; }
.product-thumbs button.active { border-color: var(--color-heading); opacity: 1; }
.product-thumbs img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

/* Summary */
.product-eyebrow { margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-dot); }
.product-title { font-family: var(--font-heading); font-style: italic; font-weight: 700; font-size: 44px; line-height: 1.1; margin-bottom: 10px; }
.product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 12px; }
.product-rating .star-rating { margin: 0; font-size: 13px; }
.product-rating a { color: var(--color-muted); text-decoration: underline; }
.product-tagline { margin: -8px 0 20px; font-size: 15px; color: var(--color-heading); font-style: italic; }

.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.fact-grid > div { padding: 11px 14px; border: 1px solid var(--color-border); border-radius: 6px; background: #fafafa; }
.fact-grid > div.wide { grid-column: 1 / -1; }
.fact-grid dt { margin-bottom: 2px; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }
.fact-grid dd { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--color-heading); }
.fact-link { font-size: 11px; color: var(--color-muted); text-decoration: underline; }
@media (max-width: 480px) { .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.price-panel { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px; border-radius: 6px; background: var(--color-blush); }
.price-panel > div { display: flex; flex-direction: column; align-items: center; padding: 14px 10px; }
.price-panel > div + div { border-left: 1px solid rgba(0,0,0,.08); }
.price-label { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); }
.price-amount { font-family: var(--font-heading); font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--color-heading); }
.price-unit { font-size: 11px; }

.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
@media (max-width: 480px) { .product-actions { grid-template-columns: 1fr; } }
.btn-wa-book, .btn-call-red { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 16px; border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; color: #fff; transition: var(--transition); }
.btn-wa-book { background: var(--color-whatsapp); }
.btn-wa-book:hover { background: #1da851; color: #fff; }
.btn-call-red { background: var(--color-accent); }
.btn-call-red:hover { background: #9c241d; color: #fff; }
.product-email { margin-bottom: 22px; font-size: 12px; text-align: center; }
.product-email a { text-decoration: underline; }
.btn-email-outline { display: inline-flex; align-items: center; padding: 12px 20px; border: 1px solid var(--color-border); color: var(--color-heading); font-size: 12px; }

/* Locations / Massage Services chips */
.tag-section { margin-bottom: 18px; }
.tag-section h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-heading); }
.tag-section h3::after { content: ''; flex: 1; height: 1px; background: var(--color-border); }
.tag-box { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-box a, .tag-box span { display: inline-block; padding: 5px 12px; border: 1px solid rgba(160, 0, 20, .35); border-radius: 20px; background: #fff; color: var(--color-deep-red); font-size: 12px; line-height: 18px; font-weight: 500; transition: var(--transition); }
.tag-box a:hover { background: var(--color-deep-red); border-color: var(--color-deep-red); color: #fff; }

/* The details box is still used on service / area pages. */
.acf-glass { padding: 15px; margin-bottom: 20px; border: 1px solid rgba(0,0,0,.1); border-radius: 8px; background: rgba(255,255,255,.6); box-shadow: inset 0 0 10px rgba(0,0,0,.1); color: #000; font-size: 14px; line-height: 23px; }
.acf-glass a { color: #000; text-decoration: underline; }
.acf-glass .price-line { font-weight: 700; }

/* Tabs: Description / Working Hours / I'm Close To / Reviews */
.product-tabs { margin-top: 10px; margin-bottom: 40px; }
.tab-nav { display: flex; flex-wrap: wrap; gap: 28px; border-bottom: 1px solid var(--color-border); margin-bottom: 24px; }
.tab-nav button { padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); cursor: pointer; }
.tab-nav button.active, .tab-nav button:hover { color: var(--color-heading); border-bottom-color: var(--color-heading); }
.tab-panel { max-width: 820px; }
.tab-panel[hidden] { display: none; }

.stats-list { list-style: none; }
.stats-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.stats-list li:last-child { border-bottom: 0; }
.stat-label { font-weight: 600; color: var(--color-heading); text-transform: capitalize; }
.rates-table { width: 100%; border-collapse: collapse; }
.rates-table th, .rates-table td { padding: 8px 10px; border-bottom: 1px solid var(--color-border); text-align: left; }
.rates-table th { color: var(--color-heading); font-weight: 600; }
.price-val { color: var(--color-heading); font-weight: 600; }

.review-item { padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.review-item header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.review-item header strong { color: var(--color-heading); }
.review-item time { font-size: 12px; color: var(--color-muted); }
.review-form { margin-top: 24px; padding: 24px; border-radius: 6px; background: #f7f7f7; display: grid; gap: 12px; }
.review-form h4 { margin: 0; font-size: 16px; }
.review-form .btn-primary { justify-self: start; }

.related-heading { font-family: var(--font-heading); font-style: italic; font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: -0.16px; padding-bottom: 10px; margin: 10px 0 20px; border-bottom: 1px solid var(--color-border); }
.other-masseuses-swiper { width: 100%; overflow: hidden; padding-bottom: 10px; }
.other-masseuses-swiper .masseuse-card { margin-bottom: 0; }

/* =========================================
   ACCORDIONS (location info, FAQs)
   ========================================= */
.accordion { border: 1px solid var(--color-border); margin-bottom: 10px; background: #fff; }
.accordion summary { padding: 14px 18px; font-weight: 600; color: var(--color-heading); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 18px; transition: transform .25s ease; }
.accordion[open] summary::after { transform: rotate(45deg); }
.accordion-content { padding: 0 18px 16px; }
.location-map iframe { width: 100%; height: 400px; border: 0; }

/* =========================================
   RICH TEXT (page / post / profile copy)
   ========================================= */
.rich-text, .post-content, .cms-content { color: var(--color-text); }
:is(.rich-text, .post-content, .cms-content) p { margin-bottom: 20px; }
:is(.rich-text, .post-content, .cms-content) h2 { font-style: italic; margin: 30px 0 20px; }
:is(.rich-text, .post-content, .cms-content) h3 { margin: 25px 0 15px; }
:is(.rich-text, .post-content, .cms-content) h4 { margin: 20px 0 10px; }
:is(.rich-text, .post-content, .cms-content) > :first-child { margin-top: 0; }
:is(.rich-text, .post-content, .cms-content) ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 20px; }
:is(.rich-text, .post-content, .cms-content) ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 20px; }
:is(.rich-text, .post-content, .cms-content) a { text-decoration: underline; }
:is(.rich-text, .post-content, .cms-content) blockquote { margin: 20px 0; padding: 10px 20px; border-left: 3px solid var(--color-heading); font-style: italic; }

/* =========================================
   BLOG (Porto "large" layout + sidebar)
   ========================================= */
.blog-layout { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 30px; padding-bottom: 50px; align-items: start; }
@media (min-width: 992px) { .blog-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); } }
.blog-main { min-width: 0; }

.post-large { margin-bottom: 50px; }
.post-large-img { position: relative; display: block; margin-bottom: 20px; }
.post-large-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-date-badge { position: absolute; top: 10px; left: 10px; width: 38px; padding: 4px 0; background: var(--color-primary); color: #fff; text-align: center; font-size: 15px; font-weight: 700; line-height: 1.1; }
.post-date-badge small { display: block; font-size: 9px; font-weight: 400; text-transform: uppercase; }
.post-large h2 { font-family: var(--font-body); font-size: 22px; line-height: 1.35; margin-bottom: 10px; }
.post-large h2 a { color: var(--color-heading); }
.post-large-meta { font-size: 12px; text-transform: uppercase; color: var(--color-muted); margin-bottom: 10px; }
.post-large-meta a { color: var(--color-muted); }
.read-more { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--color-heading); }

.blog-sidebar .widget, .post-sidebar .widget { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.blog-sidebar .widget:last-child, .post-sidebar .widget:last-child { border-bottom: 0; }
.widget h3 { font-size: 16px; line-height: 1.4; margin-bottom: 15px; }
.widget-recent li { margin-bottom: 12px; }
.widget-recent time { display: block; font-size: 10px; text-transform: uppercase; color: var(--color-muted); line-height: 1.4; }
.widget-recent a { font-size: 12.6px; font-weight: 600; line-height: 1.5; color: var(--color-heading); }
.widget-cats li { font-size: 12.6px; line-height: 26px; }
.widget-cats a { color: var(--color-text); }
.widget-cats a:hover, .widget-cats a.active { color: var(--color-heading); }

.post-single-img { margin-bottom: 25px; }
.post-single-img img { width: 100%; }
.post-single-title { font-family: var(--font-body); font-size: 26px; line-height: 1.35; margin-bottom: 8px; }
.post-meta, .post-meta a { font-size: 12px; text-transform: uppercase; color: var(--color-muted); margin-bottom: 25px; }
.blog-category { color: var(--color-muted); }
.post-content { min-width: 0; }
.post-footer { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--color-border); }

.related-posts li { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.related-thumb { flex: 0 0 56px; line-height: 0; }
.related-posts img { width: 56px; height: 56px; object-fit: cover; }
.related-posts a { font-size: 12.6px; font-weight: 600; line-height: 1.45; color: var(--color-heading); }
.related-posts time { display: block; font-size: 10px; text-transform: uppercase; color: var(--color-muted); }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 20px; }
.page-btn { padding: 8px 14px; }

.post-author { display: flex; gap: 18px; align-items: center; margin-top: 40px; padding: 20px; background: #f7f7f7; }
.post-author-img { width: 70px; height: 70px; flex: 0 0 70px; object-fit: contain; background: #fff; padding: 8px; }
.post-author-label { display: block; font-size: 11px; text-transform: uppercase; color: var(--color-muted); }
.post-author-name { display: block; font-weight: 700; color: var(--color-heading); margin-bottom: 4px; }
.post-author-bio { margin: 0; font-size: 13px; }
@media (max-width: 560px) { .post-author { flex-direction: column; text-align: center; } }

/* =========================================
   FOOTER
   ========================================= */
.site-footer { background: #fff; color: var(--color-text); font-size: 12.6px; line-height: 22px; padding: 40px 0 10px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 40px; }
@media (min-width: 768px) {
  .footer-grid, .footer-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid-1 { grid-template-columns: 1fr; }
  .footer-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.footer-col h3 { font-family: var(--font-body); font-size: 15px; line-height: 1.4; font-weight: 700; text-transform: uppercase; color: var(--color-heading); margin-bottom: 18px; }
.footer-col p { margin-bottom: 14px; }
.footer-col a { color: var(--color-heading); }
.footer-col a:hover { text-decoration: underline; }
.footer-links li { margin-bottom: 6px; }
.footer-social { display: flex; gap: 8px; margin-bottom: 14px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.15); color: var(--color-heading); }
.footer-social svg { width: 13px; height: 13px; }
.footer-bottom { text-align: center; font-size: 13px; padding: 20px 0; }
.footer-bottom p { margin: 0; }

/* =========================================
   FLOATING WHATSAPP BUTTON (CMS: Settings -> whatsapp_floating_enabled)
   ========================================= */
.floating-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 1000;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 20px 6px 6px; border-radius: 999px;
  background: linear-gradient(135deg, #2fe075 0%, #1ebe5a 100%);
  color: #fff; text-decoration: none; line-height: 1.15;
  box-shadow: 0 8px 22px rgba(18, 140, 64, .35), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-whatsapp:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(18, 140, 64, .45), 0 3px 8px rgba(0, 0, 0, .15); }
.floating-whatsapp:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #1ebe5a; }
.fw-icon { position: relative; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #1ebe5a; }
.fw-icon svg { width: 26px; height: 26px; }
/* Soft "we're online" pulse ring. */
.fw-icon::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: fwPulse 2.4s ease-out infinite; }
@keyframes fwPulse { 0% { transform: scale(.9); opacity: .9; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.fw-text { display: flex; flex-direction: column; }
.fw-text small { font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.fw-text strong { color: #fff; font-size: 15px; font-weight: 700; }
@media (max-width: 600px) {
  /* Icon-only round button on phones. */
  .floating-whatsapp { right: 16px; bottom: 16px; padding: 7px; }
  .fw-text { display: none; }
  .fw-icon { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .fw-icon::after { animation: none; display: none; }
  .floating-whatsapp, .floating-whatsapp:hover { transition: none; transform: none; }
}

/* Error page */
.error-page { padding: 80px 0; text-align: center; }

/* =========================================
   MIGRATED WORDPRESS CONTENT
   Alignment, captions and tables from the old editor, in theme styles.
   ========================================= */
:is(.rich-text, .post-content, .bd-prose) img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
:is(.rich-text, .post-content, .bd-prose) :is(img, figure).alignleft { float: left; margin: .35rem 1.5rem 1rem 0; max-width: 45%; }
:is(.rich-text, .post-content, .bd-prose) :is(img, figure).alignright { float: right; margin: .35rem 0 1rem 1.5rem; max-width: 45%; }
:is(.rich-text, .post-content, .bd-prose) :is(img, figure).aligncenter { display: block; margin: 1.5rem auto; }
:is(.rich-text, .post-content, .bd-prose) figure.alignnone { margin: 1.5rem 0; }
:is(.rich-text, .post-content, .bd-prose) figure img { display: block; max-width: 100%; margin: 0; }
:is(.rich-text, .post-content, .bd-prose) figcaption { margin-top: .5rem; color: var(--color-text-light); font-size: .82rem; font-style: italic; }
:is(.rich-text, .post-content, .bd-prose) :is(h2, h3, h4) { clear: both; }
:is(.rich-text, .post-content, .bd-prose)::after { content: ''; display: table; clear: both; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table-wrap :is(th, td) { padding: .6rem .75rem; border-bottom: 1px solid var(--color-border); vertical-align: top; text-align: left; }
.table-wrap tr:first-child td { color: var(--color-primary); font-weight: 600; }
.table-wrap td p { margin: 0 0 .35rem; }
@media (max-width: 600px) {
  :is(.rich-text, .post-content, .bd-prose) :is(img, figure):is(.alignleft, .alignright) { float: none; display: block; max-width: 100%; margin: 1rem auto; }
}

/* =========================================
   INCALL LOCATIONS TICKER (Settings -> Incall ticker; locations.json feed)
   ========================================= */
.incall-ribbon {
  background: linear-gradient(90deg, #0d0f14 0%, #171b24 50%, #0d0f14 100%);
  border-bottom: 1px solid rgba(201, 162, 75, 0.35);
  color: #e5e7eb;
  font-size: 0.82rem;
  line-height: 1.4;
  padding: 7px 0;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 1001;
}
/* The sticky header sits just below the ticker. */
.site-header { top: var(--incall-ribbon-h, 0px); }
.incall-ribbon-track { display: flex; width: max-content; animation: incallRibbonScroll 45s linear infinite; }
.incall-ribbon:hover .incall-ribbon-track { animation-play-state: paused; }
.incall-ribbon-group { display: flex; flex-shrink: 0; }
.incall-ribbon-item { display: inline-flex; align-items: center; gap: 10px; padding-right: 3rem; white-space: nowrap; }
.incall-ribbon-badge { display: inline-flex; align-items: center; gap: 6px; color: #f5c6d6; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; font-size: 0.76rem; }
.incall-pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.85); animation: incallDotPulse 2s infinite ease-in-out; flex-shrink: 0; }
.incall-ribbon-locations { color: #fff; font-weight: 600; letter-spacing: 0.01em; }
.incall-ribbon-sep { color: rgba(255, 255, 255, 0.45); }
.incall-ribbon-note { color: #f5c6d6; font-weight: 700; letter-spacing: 0.04em; }
@keyframes incallRibbonScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes incallDotPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@media (max-width: 768px) {
  .incall-ribbon { font-size: 0.75rem; padding: 6px 0; }
  .incall-ribbon-badge { font-size: 0.72rem; }
  .incall-ribbon-track { animation-duration: 35s; }
}
@media (prefers-reduced-motion: reduce) {
  .incall-ribbon { padding: 7px 0.75rem; }
  .incall-ribbon-track { animation: none; width: auto; justify-content: center; }
  .incall-ribbon-group:not(:first-child), .incall-ribbon-item:not(:first-child) { display: none; }
  .incall-ribbon-item { flex-wrap: wrap; justify-content: center; white-space: normal; gap: 6px 10px; padding-right: 0; text-align: center; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.page-banner { width: 100%; max-height: 420px; object-fit: cover; margin-top: 20px; }
/* WordPress header is full width: logo near the window edge, menu beside it. */
@media (min-width: 1024px) { .site-header .header-inner { max-width: none; padding-left: 60px; padding-right: 60px; } }
.post-single-img img { aspect-ratio: auto; object-fit: initial; }

/* Long dropdowns split into columns (2 for >8 links, 3 for >16). */
.nav-dropdown.cols-2, .nav-dropdown.cols-3 { column-gap: 0; padding: 8px 0; }
.nav-dropdown.cols-2 { column-count: 2; min-width: 400px; }
.nav-dropdown.cols-3 { column-count: 3; min-width: 580px; }
.nav-dropdown.cols-2 a, .nav-dropdown.cols-3 a { break-inside: avoid; border-bottom: 0; padding: 7px 18px; }
@media (min-width: 1024px) {
  /* Keep wide menus on screen when the menu item sits towards the right. */
  .nav-item:nth-last-child(-n+2) > .nav-dropdown.cols-3 { left: auto; right: 0; }
}
@media (max-width: 1023px) {
  .nav-dropdown.cols-2, .nav-dropdown.cols-3 { column-count: 2; min-width: 0; padding: 0 0 8px 14px; }
}
