/* v71 ad spots (App\Services\Ads, js/ads.js). Colours, frame and corners come from the ad's own settings. */
.ad { --ad-bg: #fff; --ad-frame: #e2e8f0; --ad-radius: 14px; --ad-text: #fff; --ad-shade: .45; --ad-btn: #1E5A9C;
  position: relative; display: block; overflow: hidden; border-radius: var(--ad-radius); background: var(--ad-bg); isolation: isolate; }
.ad--frame-line { border: 1px solid var(--ad-frame); }
.ad--frame-thick { border: 3px solid var(--ad-frame); }
.ad--frame-shadow { box-shadow: 0 6px 22px rgb(20 50 79 / .16); }
.ad__track { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.ad__slide { position: absolute; inset: 0; display: block; color: var(--ad-text); text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s, transform .6s ease; }
.ad__slide.is-on { opacity: 1; visibility: visible; z-index: 1; }
.ad--tr-slide .ad__slide { opacity: 1; visibility: visible; transform: translateX(var(--x, 100%)); }
.ad__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad--fit-contain .ad__slide img { object-fit: contain; }
.ad__over { position: absolute; left: 0; right: 0; display: grid; gap: 4px; justify-items: start; padding: 16px 18px; color: var(--ad-text); }
.ad__over--bottom { bottom: 0; padding-bottom: 26px; background: linear-gradient(0deg, rgb(0 0 0 / var(--ad-shade)), transparent); }
.ad__over--top { top: 0; background: linear-gradient(180deg, rgb(0 0 0 / var(--ad-shade)), transparent); }
.ad__over--center { top: 50%; transform: translateY(-50%); justify-items: center; text-align: center; background: rgb(0 0 0 / var(--ad-shade)); }
.ad__over strong { font: 900 20px/1.2 var(--font-display, inherit); }
.ad__over span { font-size: 14px; line-height: 1.35; opacity: .95; }
.ad__btn { margin-top: 6px; padding: 8px 16px; border-radius: 999px; background: var(--ad-btn); color: #fff; font-style: normal; font-weight: 800; font-size: 14px; }
.ad__label { position: absolute; z-index: 3; top: 8px; left: 8px; padding: 2px 8px; border-radius: 999px; background: rgb(255 255 255 / .9); color: #475569; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.ad__nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .9); color: #14324F; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 1px 6px rgb(0 0 0 / .2); opacity: 0; transition: opacity .2s; }
.ad:hover .ad__nav, .ad:focus-within .ad__nav { opacity: 1; }
@media (pointer: coarse) { .ad__nav { opacity: .85; } }
.ad__nav--prev { left: 8px; } .ad__nav--next { right: 8px; }
.ad__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; }
.ad__dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .6); cursor: pointer; }
.ad__dot.is-on { background: #fff; width: 18px; border-radius: 4px; }

/* the spots: shapes */
.ad--tour-side { margin-top: 16px; }
.ad--tour-side .ad__track { aspect-ratio: 1 / 1; }
.ad--list-card { height: 100%; min-height: 300px; }
.ad--list-card .ad__track { aspect-ratio: auto; height: 100%; min-height: 300px; }
.ad--map-list { margin: 0 0 10px; }
.ad--map-list .ad__track { aspect-ratio: 2 / 1; }
.ad--place-mid { margin: 0 0 40px; }
.ad--place-mid .ad__track { aspect-ratio: 4 / 1; }
.ad--page-bottom { margin: 40px auto 0; }
.ad--page-bottom .ad__track { aspect-ratio: 16 / 3; }
@media (max-width: 759px) {
  .ad--place-mid .ad__track, .ad--page-bottom .ad__track { aspect-ratio: 2 / 1; }
  .ad__over strong { font-size: 17px; }
}
.ad--fill:empty { display: none; }
.ad--fill .ad__over strong { font-size: 16px; }
.ad-wrap--bottom { padding-bottom: 8px; }
/* v72: under the contact box of business pages */
.ad--biz-side { margin-top: 16px; }
.ad--biz-side .ad__track { aspect-ratio: 1 / 1; }
.ad[data-ad-fill]:empty { display: none; }
.ad__slide--tour .ad__over strong { font-size: 16px; }
