/* Final presentation layer for the single-page Best GYM showcase. */
/* Shared theme containers keep the FAQ/footer aligned with the page body. */
.best-footer-inner.content_wrap::after, .best-faq-inner.content_wrap::after { content: none; }
body.premium-theme .elementor-element-75de706 [data-motion="label"]::after { left: calc(50% - 16px); transform-origin: center; }
body.premium-theme .elementor-41022 .sc_icons_item_description { min-height: 5.1em; }
body.premium-theme .elementor-41022 .post_item .post_featured { display: block; width: 100%; aspect-ratio: 4 / 3; }
body.premium-theme .elementor-41022 .post_item .post_featured img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* A natural grid cannot retain stale absolute positions after lazy loading. */
body.premium-theme .elementor-41022 .masonry_wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; height: auto !important; margin: 0; }
body.premium-theme .elementor-41022 .masonry_item { position: static !important; inset: auto !important; width: auto !important; padding: 0; margin: 0; }
body.premium-theme .elementor-element-ab6f60d .sc_item_button { margin-top: 32px; }
@media (max-width: 1023px) { body.premium-theme .elementor-41022 .post_item .post_meta { min-height: 2.8em; } }
@media (max-width: 767px) {
  body.premium-theme .elementor-41022 .masonry_wrap { grid-template-columns: 1fr; gap: 32px; }
  body.premium-theme .elementor-41022 .post_item .post_meta { min-height: 0; }
}
html:has(.menu_mobile.opened), html:has(.sc_layouts_panel.sc_layouts_panel_opened) { overflow: hidden !important; scrollbar-gutter: stable; }
body.premium-theme .menu_mobile { width: 100vw; }
body.premium-theme :is(.menu_mobile_inner, .sc_layouts_panel_inner) { scrollbar-width: thin; scrollbar-color: #687364 #111915; }
.best-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
html { scroll-padding-top: 112px; }
body.premium-theme #gym-homepage .elementor-41022 h2.sc_item_title { font-size: clamp(34px, 3.4vw, 64px); line-height: 1.08; letter-spacing: -.04em; }
body.premium-theme a.rs-layer[id$="-layer-5"][data-type="button"] { background-color: #d8b56c !important; color: #111915 !important; border-color: #d8b56c !important; }
body.premium-theme a.rs-layer[id$="-layer-5"][data-type="button"]:hover { background-color: #e9ca87 !important; border-color: #e9ca87 !important; }
html.best-dialog-open { overflow: hidden !important; scrollbar-gutter: stable; }
/* Use the same stacked layout for animated numbers and text values. The
   original modern-counter preset absolutely positioned numbers behind labels. */
body.premium-theme #gym-homepage .sc_skills_counter_modern .sc_skills_columns {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0;
}
body.premium-theme #gym-homepage .sc_skills_counter_modern .sc_skills_column {
  width: auto; padding: 0; margin: 0;
}
body.premium-theme #gym-homepage .sc_skills_counter_modern .sc_skills_item_wrap {
  min-height: 0; padding: 24px 12px; gap: 16px;
}
body.premium-theme #gym-homepage .sc_skills_counter_modern .sc_skills_item {
  display: flex; align-items: center; justify-content: center; width: 100%;
}
body.premium-theme #gym-homepage .sc_skills_counter_modern :is(.sc_skills_total, .best-stat-value) {
  display: block; position: static; inset: auto; transform: none;
  width: 100%; margin: 0; font-size: clamp(60px, 6vw, 104px);
  font-weight: 700; letter-spacing: -.055em; line-height: 1.1;
  text-align: center; color: #727e70 !important;
}
body.premium-theme #gym-homepage .sc_skills_counter_modern .sc_skills_item_title {
  position: static; margin: 0; font-size: clamp(14px, 1.4vw, 18px); line-height: 1.45;
}
body.premium-theme #gym-homepage .sc_skills_counter_modern .sc_skills_item_wrap::after { right: 0; }
@media (max-width: 767px) {
  body.premium-theme #gym-homepage .sc_skills_counter_modern .sc_skills_columns { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  body.premium-theme #gym-homepage .sc_skills_counter_modern .sc_skills_item_wrap { padding: 16px 6px; gap: 12px; }
  body.premium-theme #gym-homepage .sc_skills_counter_modern .sc_skills_column:nth-child(even) .sc_skills_item_wrap::after { display: none !important; }
}
body.premium-theme .best-faq { background: #ebe7de; padding: 100px 0; color: #455348; }
.best-faq-inner { margin: auto; display: grid; grid-template-columns: .95fr 1.2fr; gap: 90px; }
body.premium-theme .best-faq h2 { color: #111915; margin: 0 0 25px; font-size: clamp(36px, 4vw, 56px); line-height: 1.08; letter-spacing: -.045em; }
body.premium-theme .best-faq .best-eyebrow { color: #876025; margin-bottom: 24px; }
.best-faq-heading > p { font-size: 16px; margin-bottom: 28px; }
body.premium-theme .best-text-link { display: inline-flex; gap: 20px; color: #111915; font-weight: 600; font-size: 15px; border-bottom: 1px solid #ac8744; padding-bottom: 8px; }
.best-text-link span { transition: transform .5s var(--best-ease); }
.best-text-link:hover span { transform: translate(3px, -3px); }
.best-faq details { border-top: 1px solid #b9bfb4; }
.best-faq details:last-child { border-bottom: 1px solid #b9bfb4; }
.best-faq summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; padding: 25px 0; color: #111915; font-size: 18px; line-height: 1.4; font-weight: 600; }
.best-faq summary::-webkit-details-marker { display: none; }
.best-faq summary > span { flex: 0 0 26px; width: 26px; height: 26px; position: relative; border: 1px solid #b5a78b; border-radius: 50%; transition: background .3s, transform .6s var(--best-ease); }
.best-faq summary > span::before, .best-faq summary > span::after { content: ""; position: absolute; top: 12px; left: 7px; width: 12px; height: 1px; background: #111915; }
.best-faq summary > span::after { rotate: 90deg; transition: rotate .4s var(--best-ease); }
.best-faq details[open] summary > span { background: #d8b56c; transform: rotate(180deg); }
.best-faq details[open] summary > span::after { rotate: 0deg; }
.best-faq details > div { padding: 0 42px 24px 0; font-size: 16px; line-height: 1.8; }
.best-faq details p { margin: 0; }
.best-faq details[open] > div { animation: best-arrive .5s var(--best-ease) both; }
.best-faq summary:focus-visible { outline: 2px solid #876025; outline-offset: 5px; }
@supports (interpolate-size: allow-keywords) {
  .best-faq details::details-content { interpolate-size: allow-keywords; height: 0; overflow: clip; transition: height .5s var(--best-ease), content-visibility .5s allow-discrete; }
  .best-faq details[open]::details-content { height: auto; }
}
body.premium-theme .best-detail-dialog {
  position: fixed; inset: 0; padding: 0; margin: auto; width: min(1080px, calc(100vw - 64px)); max-width: none;
  max-height: calc(100svh - 64px); border: 1px solid #d8b56c55; border-radius: 6px;
  background: #f5f2eb; color: #455348; overflow: visible; box-shadow: 0 25px 100px #0006;
}
.best-detail-dialog::backdrop { background: #07100ce6; backdrop-filter: blur(6px); }
.best-detail-dialog[open] { animation: best-gallery-enter .55s var(--best-ease) both; }
.best-detail-shell { display: grid; max-height: calc(100svh - 64px); overflow: auto; overscroll-behavior: contain; border-radius: 5px; }
.best-detail-shell.has-image { grid-template-columns: .8fr 1.2fr; }
.best-detail-image { min-height: 100%; position: relative; overflow: hidden; background: #111915; }
.best-detail-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.best-detail-copy { padding: 54px 48px; }
@media (min-width: 768px) { .best-detail-dialog:has(.best-detail-shell:not(.has-image)) { width: min(800px, calc(100vw - 64px)); } }
body.premium-theme .best-detail-copy .best-eyebrow { color: #876025; margin-bottom: 18px; }
body.premium-theme .best-detail-copy h2 { font-size: clamp(32px, 3.2vw, 46px); letter-spacing: -.045em; line-height: 1.1; color: #111915; margin: 0 0 24px; }
body.premium-theme .best-detail-copy h3 { font-size: 18px; color: #111915; margin: 0 0 8px; }
.best-detail-copy p { font-size: 15px; line-height: 1.8; margin: 0; }
.best-detail-copy .best-detail-intro { font-size: 17px; margin-bottom: 28px; }
.best-detail-copy section { margin-top: 22px; }
.best-detail-dialog[open] .best-detail-copy section { animation: best-arrive .65s var(--best-ease) both; animation-delay: calc(var(--detail-order) * 70ms + 100ms); }
.best-detail-copy .best-cta { margin-top: 30px; }
body.premium-theme button.best-detail-close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; padding: 10px; border: 1px solid #bcb9ac; background: #f5f2eb; color: #111915; border-radius: 50%; cursor: pointer; box-shadow: 0 2px 12px #0001; transition: transform .5s var(--best-ease), background .3s; }
.best-detail-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
body.premium-theme button.best-detail-close:hover { background: #d8b56c; transform: rotate(90deg); }
@media (max-width: 1023px) { .best-faq-inner { gap: 44px; } .best-detail-copy { padding: 52px 32px 36px; } }
@media (max-width: 767px) {
  html { scroll-padding-top: 24px; }
  body.premium-theme .best-faq { padding: 60px 0; }
  .best-faq-inner { grid-template-columns: 1fr; gap: 36px; }
  .best-faq summary { font-size: 16px; padding: 22px 0; }
  .best-faq details > div { font-size: 15px; padding-right: 8px; }
  body.premium-theme .best-detail-dialog { width: calc(100vw - 28px); max-height: calc(100svh - 36px); }
  .best-detail-shell { max-height: calc(100svh - 36px); }
  .best-detail-shell.has-image { grid-template-columns: 1fr; }
  .best-detail-image { height: 220px; min-height: 0; }
  .best-detail-image img { object-position: 50% 12%; }
  .best-detail-copy { padding: 34px 25px; }
  .best-detail-copy .best-eyebrow { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .best-faq details::details-content { transition: none; }
  .best-detail-dialog::backdrop { backdrop-filter: none; }
}
