/* Shared Over Blue visual language for every facility site. */
:root {
  --Neon: #47c9c0;
  --Red: #088196;
  --Title: #111111;
  --Paragraph: #646464;
  --OverBlue-Navy: #196b94;
  --OverBlue-Blue: #088196;
  --OverBlue-Turquoise: #47c9c0;
  --OverBlue-Pale: #d9f5f3;
}

/* Shared footer and back-to-top treatment. */
.footer .footer-inner,
.footer .bottom {
  background: var(--OverBlue-Blue) !important;
}

.footer .footer-inner::before,
.footer .footer-inner::after {
  opacity: .12 !important;
}

.footer .text-Neon,
.footer a:hover {
  color: var(--OverBlue-Turquoise) !important;
}

.progress-wrap {
  right: 20px !important;
  bottom: 34px !important;
  background: var(--OverBlue-Turquoise) !important;
}

.progress-wrap::after,
.progress-wrap svg.progress-circle path {
  color: #073d53 !important;
  stroke: #073d53 !important;
}

/* Dynamic phone and WhatsApp actions. */
.overblue-contact-actions {
  position: fixed;
  right: 74px;
  bottom: 34px;
  z-index: 999;
  display: flex;
  gap: 10px;
  direction: ltr;
}

.overblue-contact-action {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(4, 41, 54, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.overblue-contact-action:hover {
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(4, 41, 54, .32);
}

.overblue-contact-action svg {
  width: 22px;
  height: 22px;
}

.overblue-contact-phone { background: var(--OverBlue-Blue); }
.overblue-contact-whatsapp { background: #20c968; }

/* Every hero uses the same Tema 1 action color. */
.ob-hero-btn,
.sc-btn-primary,
.bg-btn-primary,
.modern-hero-btn,
.section-hero .tf-btn {
  border-color: var(--OverBlue-Blue) !important;
  background: var(--OverBlue-Blue) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.ob-hero-btn:hover,
.sc-btn-primary:hover,
.bg-btn-primary:hover,
.modern-hero-btn:hover,
.section-hero .tf-btn:hover {
  border-color: var(--OverBlue-Navy) !important;
  background: var(--OverBlue-Navy) !important;
  color: #fff !important;
}

.modern-hero-btn .btn-glow-layer { display: none !important; }

/* Remove the former lime/yellow Padel and Tennis accents. */
.vertical-neon-dock {
  border-color: rgba(71, 201, 192, .52) !important;
  background: rgba(7, 61, 83, .88) !important;
  box-shadow: 0 10px 26px rgba(8, 129, 150, .22) !important;
}

.vertical-neon-dock .dock-badge-text,
.subtitle-modern,
.padel-hero-nav,
.padel-video-audio-toggle,
.padel-video-swipe-hint {
  color: var(--OverBlue-Turquoise) !important;
  text-shadow: none !important;
}

.hero-glass-console {
  border-color: rgba(71, 201, 192, .3) !important;
}

.title-modern {
  background: linear-gradient(135deg, #fff 0%, #fff 55%, var(--OverBlue-Turquoise) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.badge-cyan-neon,
.box-gradient-1,
.box-gradient-2 {
  border-color: rgba(8, 129, 150, .35) !important;
  background: var(--OverBlue-Turquoise) !important;
  color: #073d53 !important;
}

.padel-hero-pagination .swiper-pagination-bullet-active {
  background: var(--OverBlue-Turquoise) !important;
  box-shadow: 0 0 10px rgba(71, 201, 192, .65) !important;
}

.padel-hero-nav,
.padel-video-audio-toggle,
.padel-video-swipe-hint,
.padel-video-hero-card {
  border-color: rgba(71, 201, 192, .4) !important;
}

.padel-hero-nav:hover,
.padel-video-audio-toggle:active {
  border-color: var(--OverBlue-Turquoise) !important;
  background: rgba(8, 129, 150, .28) !important;
  box-shadow: 0 0 15px rgba(71, 201, 192, .4) !important;
}

/* Tema 1 about section: use the original portrait, open the layout and keep copy readable. */
.about-wrap .about-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: stretch;
  gap: clamp(36px, 5vw, 82px) !important;
}

.about-wrap .about-inner .about-image {
  width: 100% !important;
}

.about-image .image {
  min-height: 700px !important;
}

.about-image .image img {
  object-position: center !important;
}

.about-image .content {
  left: 24px !important;
  right: 24px !important;
  bottom: 24px !important;
  max-width: none !important;
  padding: 28px 34px !important;
}

.about-image .content .text {
  font-size: clamp(17px, 1.3vw, 21px) !important;
  line-height: 1.35 !important;
}

.about-quote-card {
  width: 100%;
  margin-top: 34px;
  padding: 28px 34px;
  border-radius: 22px;
  background: var(--OverBlue-Blue);
  color: #fff;
}

.about-quote-card .text {
  color: #fff !important;
  font-size: clamp(17px, 1.3vw, 21px) !important;
  line-height: 1.35 !important;
}

.about-quote-card .infor {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.about-quote-card .avatar,
.about-quote-card .avatar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.about-quote-card .name { color: #fff; font-weight: 700; }

.about-wrap .about-inner .content-right {
  width: 100% !important;
}

.about-wrap .about-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(38px, 6vw, 92px);
  padding-top: 18px;
}

.about-wrap .about-bottom .desc {
  max-width: 460px;
}

.about-wrap .about-bottom .desc .title {
  font-size: clamp(24px, 2vw, 34px) !important;
  line-height: 1.28 !important;
}

.about-wrap .about-bottom .image {
  overflow: hidden;
  min-height: 360px;
  border-radius: 22px;
}

.about-wrap .about-bottom img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 430px;
  object-fit: cover;
}

/* Theme 1 alternating service architecture, shared by all sites. */
.overblue-academy-section {
  padding: 110px 0;
  overflow: hidden;
  background: #fff;
}

.overblue-academy-heading {
  max-width: 920px;
  margin: 0 auto 72px;
  text-align: center;
}

.overblue-academy-heading h2 {
  margin: 0 0 16px;
  color: var(--OverBlue-Blue) !important;
  font-size: clamp(34px, 4vw, 58px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.overblue-academy-subtitle {
  color: var(--Paragraph);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.6;
}

.overblue-academy-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  margin-bottom: 92px;
}

.overblue-academy-row:last-child { margin-bottom: 0; }
.overblue-academy-media { position: relative; min-width: 0; }

.overblue-academy-media::before {
  position: absolute;
  inset: 22px -18px -18px 22px;
  content: "";
  border-radius: 24px;
  background: var(--OverBlue-Turquoise);
  opacity: .24;
}

.overblue-academy-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
}

.overblue-academy-media-poster {
  display: flex;
  justify-content: center;
}

.overblue-academy-media-poster img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 780px;
  aspect-ratio: 3274 / 4096;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 18px 48px rgba(7,61,83,.13);
}

.overblue-academy-index {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: var(--OverBlue-Blue);
  color: #fff;
  font-weight: 700;
}

.overblue-academy-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--OverBlue-Blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.overblue-academy-copy h3 {
  margin-bottom: 22px;
  color: var(--OverBlue-Blue) !important;
  font-size: clamp(28px, 2.7vw, 44px) !important;
  line-height: 1.1 !important;
  letter-spacing: -.03em;
}

.overblue-academy-richtext,
.overblue-academy-richtext p {
  color: var(--Paragraph);
  font-size: 18px;
  line-height: 1.75;
}

.overblue-academy-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 15px 24px;
  border-radius: 10px;
  background: var(--OverBlue-Blue) !important;
  color: #fff !important;
  font-weight: 700;
}

.overblue-academy-link:hover { background: var(--OverBlue-Navy) !important; }

@media (min-width: 768px) {
  .overblue-academy-row-reverse .overblue-academy-media { order: 2; }
  .overblue-academy-row-reverse .overblue-academy-media::before { inset: 22px 22px -18px -18px; }
}

/* Why-us cards align exactly with their left media. */
.section-choose-us .tf-container > .row { align-items: stretch; }
.section-choose-us .tf-container > .row > [class*="col-"] { display: flex; }
.section-choose-us .image-choose { width: 100% !important; height: 100% !important; }
.section-choose-us .choose-us-grid {
  width: 100%;
  height: 100%;
  grid-template-rows: repeat(3, minmax(0, 1fr));
}
.section-choose-us .features-item { height: 100%; background: var(--OverBlue-Blue) !important; }
.section-choose-us .features-item::before { background: var(--OverBlue-Blue) !important; }
.section-choose-us .features-item:hover::before { background: var(--OverBlue-Navy) !important; }
.section-choose-us .features-item .title {
  color: #fff !important;
  font-size: clamp(17px, 1.25vw, 21px) !important;
  line-height: 1.25 !important;
}
.section-choose-us .features-item .text { color: rgba(255,255,255,.86) !important; }
.section-choose-us .features-item svg [fill]:not([fill="none"]) { fill: var(--OverBlue-Turquoise) !important; }
.section-choose-us .features-item svg [stroke]:not([stroke="none"]) { stroke: var(--OverBlue-Turquoise) !important; }

/* Keep compact section labels pill-shaped; theme animation styles formerly stretched them. */
.section-choose-us .heading-section .box-gradient-2 {
  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  align-items: center;
  justify-content: center;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  line-height: 1.2 !important;
  max-height: 40px !important;
  flex: 0 0 auto !important;
  align-self: flex-start !important;
  white-space: nowrap;
  overflow: hidden;
}

.section-choose-us .heading-section .box-gradient-2 > div {
  display: inline !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Shared turquoise counters and primary actions. */
.counter-1,
.counter-2,
.counter-1 .number,
.counter-2 .number,
.counter-1 .pre,
.counter-2 .pre,
.fact-item .counter,
.counter-item .number-counter {
  color: var(--OverBlue-Blue) !important;
}

.about-wrap .year .number,
.about-wrap .year .pre {
  color: var(--OverBlue-Blue) !important;
  -webkit-text-stroke-color: var(--OverBlue-Blue) !important;
}

.section-booking .tf-btn,
.ob-booking-section .ob-booking-btn,
.about-bottom .tf-btn,
.about-wrap .bot .tf-btn {
  border-color: var(--OverBlue-Blue) !important;
  background: var(--OverBlue-Blue) !important;
  color: #fff !important;
}

/* Mobile hero pagination must not inherit the old black diamond treatment. */
.overblue-hero-pagination .swiper-pagination-bullet,
.padel-hero-pagination .swiper-pagination-bullet {
  transform: none !important;
  border-radius: 999px !important;
}

.overblue-hero-pagination .swiper-pagination-bullet-active,
.padel-hero-pagination .swiper-pagination-bullet-active {
  width: 28px !important;
  height: 10px !important;
  background: var(--OverBlue-Turquoise) !important;
  box-shadow: 0 0 10px rgba(71,201,192,.48) !important;
}

.section-booking,
.ob-booking-section {
  margin-bottom: clamp(70px, 7vw, 110px) !important;
}

/* Footer contrast and full-width bottom bar. */
.footer .footer-newsletter .title,
.footer .footer-newsletter .text,
.footer .footer-contact,
.footer .footer-contact .title,
.footer .footer-contact .text,
.footer .footer-contact .h3,
.footer .footer-cols,
.footer .footer-cols a,
.footer .bottom,
.footer .bottom p {
  color: #fff !important;
}

.footer .form-newsletter input,
.footer .form-newsletter input::placeholder {
  color: #fff !important;
  opacity: 1 !important;
}

.footer .form-newsletter input { border-color: rgba(255,255,255,.55) !important; }
.footer .form-newsletter .tf-btn { color: #fff !important; background: var(--OverBlue-Turquoise) !important; }
.footer .bottom { width: 100% !important; max-width: none !important; margin: 0 !important; }

/* Gusto: replace the dark run of sections with Tema 1's white/turquoise language. */
.ob-about-section,
.ob-choose-section,
.ob-funfact-section,
.ob-team-section,
.ob-pricing-section,
.ob-testi-section,
.ob-news-section,
.ob-booking-section {
  background: #fff !important;
  color: var(--Paragraph) !important;
}

.ob-about-section > .position-absolute,
.ob-choose-section > .position-absolute,
.ob-funfact-section > .position-absolute,
.ob-team-section > .position-absolute,
.ob-pricing-section > .position-absolute,
.ob-testi-section > .position-absolute,
.ob-news-section > .position-absolute,
.ob-booking-section > .position-absolute { display: none !important; }

.ob-about-section .ob-about-heading,
.ob-choose-section .ob-about-heading,
.ob-funfact-section .ob-about-heading,
.ob-team-section .ob-about-heading,
.ob-pricing-section .ob-about-heading,
.ob-testi-section .ob-about-heading,
.ob-news-section .ob-about-heading,
.ob-booking-section .ob-about-heading { color: var(--OverBlue-Blue) !important; }

/* Gusto content must remain readable even when WOW's viewport detection misses a
   section after restoring/rapidly scrolling the page. */
.ob-about-section .wow,
.ob-choose-section .wow,
.ob-funfact-section .wow,
.ob-team-section .wow,
.ob-pricing-section .wow,
.ob-testi-section .wow,
.ob-news-section .wow,
.ob-booking-section .wow {
  visibility: visible !important;
  animation-name: none !important;
}

.overblue-services-section .wow {
  visibility: visible !important;
  animation-name: none !important;
}
.overblue-services-section .tf-animate-2 {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  clip-path: none !important;
}

.ob-about-section .ob-about-text { color: #646464 !important; }
.ob-about-section .ob-stat-medallion {
  border-color: rgba(8,129,150,.22) !important;
  background: linear-gradient(135deg, rgba(71,201,192,.14), rgba(8,129,150,.05)) !important;
  box-shadow: 0 12px 30px rgba(7,61,83,.08) !important;
}
.ob-about-section .ob-stat-text { color: var(--OverBlue-Navy) !important; }
.ob-about-section .ob-bot-quote {
  border-color: var(--OverBlue-Turquoise) !important;
  color: var(--OverBlue-Navy) !important;
}
.ob-about-section .tf-btn,
.ob-about-section .tf-btn:visited {
  border-color: var(--OverBlue-Blue) !important;
  background: var(--OverBlue-Blue) !important;
  color: #fff !important;
}
.ob-about-section .tf-btn:hover,
.ob-about-section .tf-btn:focus-visible {
  border-color: var(--OverBlue-Turquoise) !important;
  background: var(--OverBlue-Turquoise) !important;
  color: var(--OverBlue-Navy) !important;
}
.ob-about-section .d-flex > .d-none img {
  border-color: rgba(8,129,150,.22) !important;
}

.ob-choose-section .ob-choose-card,
.ob-choose-section .ob-feature-card,
.ob-team-section .ob-team-card,
.ob-pricing-section .ob-pricing-card,
.ob-testi-section .ob-testi-card,
.ob-news-section .ob-news-card,
.ob-booking-section .ob-booking-ticket {
  border-color: rgba(8,129,150,.18) !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(7,61,83,.09) !important;
}

.ob-choose-section .ob-feature-title { color: #111 !important; }
.ob-choose-section .ob-feature-text { color: #646464 !important; }
.ob-choose-section .ob-feature-icon-wrapper {
  border-color: rgba(8,129,150,.25) !important;
  background: rgba(71,201,192,.12) !important;
  color: var(--OverBlue-Blue) !important;
}

.ob-choose-section p,
.ob-team-section p,
.ob-pricing-section p,
.ob-testi-section p,
.ob-news-section p,
.ob-booking-section p { color: var(--Paragraph) !important; }

/* Gusto light surfaces: remove remaining gray cards and low-contrast fields. */
.ob-funfact-box {
  border-color: rgba(8,129,150,.22) !important;
  background: linear-gradient(135deg, var(--OverBlue-Blue), var(--OverBlue-Navy)) !important;
  box-shadow: 0 18px 48px rgba(7,61,83,.16) !important;
}

.ob-funfact-box .ob-about-title,
.ob-funfact-box .ob-about-heading,
.ob-funfact-box .ob-fact-number,
.ob-funfact-box .ob-fact-label { color: #fff !important; }
.ob-funfact-box .ob-fact-divider { background: rgba(255,255,255,.28) !important; }

.ob-booking-section .ob-booking-ticket { background: #fff !important; }
.ob-booking-section .ob-booking-input,
.ob-booking-section .ob-booking-input:focus {
  border-color: rgba(8,129,150,.3) !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: none !important;
}
.ob-booking-section .ob-booking-input::placeholder { color: #646464 !important; opacity: 1 !important; }

.ob-news-section .ob-news-card { background: #fff !important; }
.ob-news-section .ob-news-title-link,
.ob-news-section .ob-news-card:hover .ob-news-title-link { color: #111 !important; }
.ob-news-section .ob-news-meta,
.ob-news-section .ob-news-meta a { color: #646464 !important; }
.ob-news-section .ob-news-more-btn,
.ob-news-section .ob-news-card:hover .ob-news-more-btn { color: var(--OverBlue-Blue) !important; }

/* Geek scoreboard and numbers use the shared turquoise/white language. */
.sc-scoreboard-container {
  border-color: var(--OverBlue-Turquoise) !important;
  background: linear-gradient(135deg, var(--OverBlue-Blue), var(--OverBlue-Navy)) !important;
  color: #fff !important;
  box-shadow: 0 16px 42px rgba(7,61,83,.2) !important;
}
.sc-scoreboard-title,
.sc-scoreboard-team .team-name,
.sc-scoreboard-vs { color: #fff !important; }
.sc-scoreboard-team .team-score {
  border-color: rgba(255,255,255,.3) !important;
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  text-shadow: none !important;
}
.sc-funfact-section { background: linear-gradient(135deg, var(--OverBlue-Blue), var(--OverBlue-Turquoise)) !important; }
.sc-funfact-section > .position-absolute { display: none !important; }
.sc-funfact-container { border-color: rgba(255,255,255,.4) !important; background: #fff !important; }

/* Remove theme-specific yellow/green court accents. */
.tennis-particle {
  background: radial-gradient(circle at 30% 30%, #8be2dc 0%, var(--OverBlue-Turquoise) 62%, var(--OverBlue-Blue) 100%) !important;
  box-shadow: 0 8px 24px rgba(8,129,150,.28), inset -2px -2px 6px rgba(25,107,148,.24) !important;
}
.court-baseline,
.court-serviceline,
.court-centerline { background: rgba(71,201,192,.34) !important; box-shadow: none !important; }

/* Pool keeps its horizontal program interaction; only its palette is unified. */
.premium-accordion-item,
.pool-section,
.pool-deep { --Pool-Deep: #196b94; --Pool-Primary: #088196; --Pool-Accent: #47c9c0; --Pool-Light: #8be2dc; --Pool-Aqua: #47c9c0; }
.premium-accordion-item .item-overlay { background: linear-gradient(90deg, rgba(25,107,148,.95), rgba(8,129,150,.72), rgba(71,201,192,.82)) !important; }
.premium-accordion-item.active .item-overlay,
.premium-accordion-item:hover .item-overlay { background: linear-gradient(135deg, rgba(25,107,148,.72), rgba(8,129,150,.52), rgba(25,107,148,.94)) !important; }

/* Homepage FAQ sits directly above news. */
.ob-faq-home { padding: 90px 20px 105px; background: #fff; }
.ob-faq-home-heading { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.ob-faq-home-heading > span { display: inline-flex; margin-bottom: 14px; color: var(--OverBlue-Blue); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.ob-faq-home-heading h2 { margin-bottom: 16px; color: var(--OverBlue-Blue) !important; font-size: clamp(32px, 4vw, 54px) !important; line-height: 1.1 !important; }
.ob-faq-home-heading p { color: var(--Paragraph); font-size: 17px; line-height: 1.7; }
.ob-faq-home-action { display: flex; justify-content: center; }
.ob-faq-home .ob-faq-card {
  max-width: 1040px;
  margin: 0 auto 34px;
  padding: 24px 36px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(17,17,17,.08);
}

[dir="rtl"] .overblue-academy-index { right: auto; left: 22px; }
[dir="rtl"] .overblue-academy-link span { transform: scaleX(-1); }
[dir="rtl"] .ob-faq-answer { margin-right: 112px; margin-left: 34px; padding-right: 26px; padding-left: 0; border-right: 2px solid rgba(52,172,185,.3); border-left: 0; }

@media (max-width: 991px) {
  .about-wrap .about-inner { grid-template-columns: 1fr; }
  .about-wrap .about-inner .about-image { width: 100% !important; }
  .about-wrap .about-bottom { grid-column: auto; grid-template-columns: 1fr; }
  .about-image .image { min-height: 520px !important; }
  .section-choose-us .tf-container > .row > [class*="col-"] { display: block; }
  .section-choose-us .image-choose { height: auto !important; }
  .section-choose-us .choose-us-grid { height: auto; grid-template-rows: none; }
}

@media (max-width: 767px) {
  .overblue-contact-actions { right: 64px; bottom: 24px; gap: 8px; }
  .overblue-contact-action { width: 42px; height: 42px; }
  .progress-wrap { right: 14px !important; bottom: 25px !important; }
  .about-image .image { min-height: 460px !important; }
  .about-image .content { right: 14px !important; left: 14px !important; bottom: 14px !important; padding: 22px !important; }
  .about-quote-card { margin-top: 24px; padding: 22px; }
  .about-wrap .about-bottom .image { min-height: 230px; }
  .about-wrap .about-bottom img { min-height: 230px; max-height: 320px; }
  .overblue-academy-section { padding: 72px 0; }
  .overblue-academy-heading { margin-bottom: 44px; }
  .overblue-academy-heading h2 { font-size: 30px !important; }
  .overblue-academy-row { grid-template-columns: 1fr; gap: 38px; margin-bottom: 66px; }
  .overblue-academy-row-reverse .overblue-academy-media { order: -1; }
  .overblue-academy-media::before,
  .overblue-academy-row-reverse .overblue-academy-media::before { inset: 12px -8px -12px 12px; }
  .overblue-academy-copy h3 { font-size: 28px !important; }
  .overblue-academy-richtext,
  .overblue-academy-richtext p { font-size: 16px; }
  .ob-faq-home { padding: 72px 14px; }
  .ob-faq-home-heading h2 { font-size: 30px !important; }
  [dir="rtl"] .ob-faq-answer { margin-right: 64px; margin-left: 16px; padding-right: 16px; }
}

/* News detail: show the uploaded visual beside the article without cropping it. */
.ob-news-detail-layout {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 42px);
}

.ob-news-detail-image {
  overflow: hidden;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(8, 129, 150, 0.18);
  border-radius: 18px;
  background: linear-gradient(145deg, #f7fbfb 0%, #e8f5f6 100%);
  box-shadow: 0 14px 34px rgba(8, 92, 104, 0.12);
}

.ob-news-detail-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 440px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

@media (max-width: 767px) {
  .ob-news-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .ob-news-detail-image { width: min(100%, 320px); margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .overblue-contact-action { transition: none; }
}
