/* Site additions on top of the original WordPress (The7) styles. */

/* Long desktop dropdowns (over 10 links) in two columns, filled top to bottom. */
.main-nav > li:not(.dt-mega-menu) > .sub-nav.sub-nav-columns {
  width: 560px;
  column-count: 2;
  column-gap: 0;
}
.main-nav > li > .sub-nav.sub-nav-columns > li {
  break-inside: avoid;
}
/* Menus right of the logo open leftwards so the wider panel stays on screen. */
#split_right-menu > li > .sub-nav.sub-nav-columns {
  left: auto !important;
  right: 0 !important;
}

/* Incall locations ticker across the top of every page (Settings → incall ribbon). */
.incall-ribbon {
  background: linear-gradient(90deg, #0d0f14 0%, #171b24 50%, #0d0f14 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  color: #e5e7eb;
  font-size: 0.82rem;
  line-height: 1.4;
  padding: 7px 0;
  overflow: hidden;
  /* Stays at the top of the window on every page; above the sticky header, below menus and popups. */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
/* The theme pins its header at top: 0 (inline) when scrolling; move it below the ticker. */
.masthead.sticky-on, .masthead.sticky-mobile-on { top: var(--incall-ribbon-h, 0px) !important; }
.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; }
@keyframes incallRibbonScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.incall-ribbon-sep { color: rgba(212, 175, 55, 0.6); }
.incall-ribbon-note { color: #D4AF37; font-weight: 700; letter-spacing: 0.04em; }
.incall-ribbon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #D4AF37;
  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;
}
@keyframes incallDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.incall-ribbon-locations {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.01em;
}
@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; }

/* Masseuse profile: linked locations and services as boxes. */
.profile-links { margin-top: 50px; }
.profile-links .profile-links-title { margin: 0 0 18px; }
.wpb_wrapper ul.profile-link-boxes { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wpb_wrapper ul.profile-link-boxes li { list-style: none; margin: 0; padding: 0; }
.wpb_wrapper ul.profile-link-boxes li::marker { content: none; }
.wpb_wrapper ul.profile-link-boxes li:before { display: none; content: none; }
.profile-link-boxes a {
  display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 16px; box-sizing: border-box;
  border: 1px solid var(--the7-accent-color, #b62669); background: rgba(0, 0, 0, 0.55); color: #fff; text-align: center; text-decoration: none;
  font-family: "Roboto Condensed", Helvetica, Arial, Verdana, sans-serif; font-size: 17px; font-weight: 700; line-height: 1.2;
  transition: background-color 0.2s, border-color 0.2s;
}
.profile-link-boxes a:hover, .profile-link-boxes a:focus-visible { background: var(--the7-accent-color, #b62669); color: #fff; }
@media (max-width: 778px) {
  .profile-links { margin-top: 30px; }
  .wpb_wrapper ul.profile-link-boxes { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .profile-link-boxes a { min-height: 50px; font-size: 15px; padding: 10px; }
}
.profile-links .profile-links-title a { color: inherit; text-decoration: none; }
.profile-links .profile-links-title a:hover, .profile-links .profile-links-title a:focus-visible { color: var(--the7-accent-color, #b62669); }

/* ── CMS feature blocks (reviews, details, forms, FAQs, area info, footer widgets) ── */
.cms-row { margin-top: 40px; }
.cms-heading { margin: 0 0 24px; }
.cms-subheading { margin: 0 0 14px; font-size: 24px; line-height: 1.3; }
.cms-stars { color: #f5c518; letter-spacing: 1px; }
.cms-rating { margin: -10px 0 18px; font-weight: 700; }
.cms-rating a { color: inherit; font-weight: 400; }
.cms-card-rating { text-align: center; margin: 8px 0 0; font-size: 15px; }
/* Call / WhatsApp / Email buttons in one row. */
.ubtn-ctn-left:has(+ .cms-btn-extra), .cms-btn-extra { display: inline-block; vertical-align: top; margin-right: 10px; }
.cms-btn-extra .ubtn-link, .ubtn-ctn-left:has(+ .cms-btn-extra) .ubtn-link { margin-bottom: 10px; }
.cms-note, .cms-empty { font-size: 15px; opacity: 0.8; }
.cms-tagline { font-size: 22px; font-style: italic; margin-bottom: 20px; }
.cms-category span { display: inline-block; padding: 3px 14px; border: 1px solid var(--the7-accent-color, #b62669); border-radius: 50px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.cms-pre { white-space: pre-line; }

.cms-table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; }
.cms-table th, .cms-table td { padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); text-align: left; vertical-align: top; }
.cms-table thead th { color: var(--the7-accent-color, #b62669); font-weight: 700; }
.cms-table tbody th { font-weight: 700; width: 45%; }
.cms-table a { color: inherit; text-decoration: underline; }
.cms-prices td:not(:first-child) { font-weight: 700; }

.cms-accordion { border: 1px solid rgba(255, 255, 255, 0.18); margin: 0 0 10px; background: rgba(0, 0, 0, 0.55); }
.cms-accordion > summary { cursor: pointer; padding: 14px 44px 14px 18px; position: relative; list-style: none; font-family: "Roboto Condensed", Helvetica, Arial, Verdana, sans-serif; font-weight: 700; font-size: 18px; }
.cms-accordion > summary::-webkit-details-marker { display: none; }
.cms-accordion > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--the7-accent-color, #b62669); font-size: 24px; line-height: 1; }
.cms-accordion[open] > summary::after { content: "–"; }
.cms-accordion > summary:hover, .cms-accordion > summary:focus-visible { color: var(--the7-accent-color, #b62669); }
.cms-accordion-body { padding: 0 18px 16px; font-size: 16px; }
.cms-accordion-body > :last-child { margin-bottom: 0; }

.wpb_wrapper ul.cms-tags, ul.cms-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
ul.cms-tags li { margin: 0; padding: 0; list-style: none; }
ul.cms-tags li:before { display: none; }
.cms-tags a, .cms-tags span { display: inline-block; padding: 5px 14px; border: 1px solid var(--the7-accent-color, #b62669); border-radius: 50px; font-size: 15px; color: #fff; text-decoration: none; }
.cms-tags a:hover, .cms-tags a:focus-visible { background: var(--the7-accent-color, #b62669); }

ul.cms-review-list { list-style: none; margin: 0 0 30px; padding: 0; }
ul.cms-review-list li.cms-review { list-style: none; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
ul.cms-review-list li.cms-review:before { display: none; }
.cms-review-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.cms-review p { margin: 0 0 6px; }
.cms-review time { font-size: 13px; opacity: 0.7; }

.cms-form { max-width: 720px; }
.cms-form p { margin: 0 0 16px; }
.cms-form label { display: block; margin-bottom: 6px; font-size: 16px; }
.cms-form input[type="text"], .cms-form input[type="email"], .cms-form input[type="tel"], .cms-form select, .cms-form textarea { width: 100%; box-sizing: border-box; }
.cms-form input[type="file"] { color: inherit; }
.cms-form .cms-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cms-form button[disabled] { opacity: 0.6; cursor: wait; }
.cms-form-status { margin: 0 0 16px; padding: 10px 14px; border-left: 3px solid; font-size: 16px; }
.cms-form-status.is-ok { border-color: #10b981; background: rgba(16, 185, 129, 0.12); }
.cms-form-status.is-error { border-color: #dc3545; background: rgba(220, 53, 69, 0.12); }
.cms-review-form { margin-top: 10px; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(0, 0, 0, 0.55); }

.cms-list { margin: 0 0 0 1.2em; }
.cms-map { margin-top: 40px; line-height: 0; }
.cms-map iframe { width: 100%; height: 450px; border: 0; }

.cms-author-box { display: flex; gap: 18px; align-items: flex-start; margin: 30px 0; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.18); }
.cms-author-box img { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.cms-author-name { font-weight: 700; margin-bottom: 6px; }
.cms-author-box p { margin: 0; }
.entry-meta .author.vcard, .entry-meta .cms-reading-time { margin-left: 10px; }

.cms-age-logo { display: block; max-width: 200px; height: auto; margin: 0 auto 12px; }

.cms-footer-widgets .wf-container-footer { padding: 50px 0 20px; }
.cms-footer-widgets .wf-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.cms-footer-widget { width: auto !important; padding: 0 !important; }
.cms-footer-widget .widget-title { font-weight: 700; margin-bottom: 14px; }
.cms-footer-widget ul { list-style: none; margin: 0; padding: 0; }
.cms-footer-widget li { margin: 0 0 6px; }
.cms-footer-widget a { color: inherit; }
.cms-footer-logo { max-width: 200px; height: auto; margin-bottom: 16px; }
.cms-footer-columns { columns: 2; column-gap: 20px; }
.cms-footer-inline { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; padding: 20px 0 0 !important; }

@media (max-width: 778px) {
  .cms-row { margin-top: 30px; }
  .ubtn-ctn-left:has(+ .cms-btn-extra), .cms-btn-extra { margin-bottom: 15px; }
  .ubtn-ctn-left:has(+ .cms-btn-extra) .ubtn-link, .cms-btn-extra .ubtn-link { padding: 0; margin-bottom: 0; }
  .cms-masseuse-cards { display: flex; flex-wrap: wrap; }
  .cms-masseuse-cards > .wpb_column { width: 50%; }
  .cms-masseuse-cards .ubtn-data { font-size: 13px; }
  .cms-review-form { padding: 16px; }
  .cms-map iframe { height: 320px; }
}

/* Category / author archives: the theme's light post cards made the white text unreadable;
   show posts on the page background, as the main blog page does. */
.archive .iso-container .post.bg-on,
.archive .iso-container .post.bg-on .blog-content { background-color: transparent; }
