/* Logo image size cap */
.logo__link img.logo-img--dark,
.logo__link img.logo-img--light {
  width: 70px !important;
  height: auto !important;
  max-width: 70px !important;
  max-height: 70px !important;
  object-fit: contain !important;
}

/* About contact section: map and quick actions */
.contact-map-card {
  position: relative;
  border: 1px solid rgba(133, 141, 155, 0.32);
  border-radius: 1.8rem;
  padding: 1.4rem;
  background:
    radial-gradient(circle at 100% -20%, rgba(72, 169, 166, 0.16) 0%, rgba(72, 169, 166, 0) 46%),
    linear-gradient(180deg, rgba(var(--base-rgb), 0.22), rgba(var(--base-rgb), 0.34));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  margin-top: 1.8rem;
  margin-bottom: 1.8rem;
}

.map-frame-wrap {
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(133, 141, 155, 0.38);
}

.map-frame {
  display: block;
  width: 100%;
  height: clamp(28rem, 45vw, 42rem);
  border: 0;
}

.map-fallback {
  margin: 1.2rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(var(--base-rgb), 0.26);
  border: 1px solid rgba(133, 141, 155, 0.24);
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--t-muted);
}

.map-fallback a {
  color: var(--t-bright);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.contact-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.contact-quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: 100%;
  min-height: 5.4rem;
  border-radius: 1.3rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(133, 141, 155, 0.42);
  background: linear-gradient(180deg, rgba(var(--base-rgb), 0.34), rgba(var(--base-rgb), 0.24));
  color: #1f2328;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
  text-wrap: pretty;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform var(--_animspeed-medium) var(--_animbezier), border-color var(--_animspeed-medium) var(--_animbezier), background var(--_animspeed-medium) var(--_animbezier), box-shadow var(--_animspeed-medium) var(--_animbezier);
}

.contact-quick-btn i {
  flex-shrink: 0;
  font-size: 2.3rem;
  line-height: 1;
  color: #15181b;
}

.contact-quick-btn span {
  display: inline-block;
  max-width: 100%;
  color: inherit;
  font-weight: 600;
}

:root[color-scheme="light"] .contact-quick-btn {
  color: rgba(23, 26, 30, 0.88);
}

:root[color-scheme="light"] .contact-quick-btn i {
  color: #111315;
}

:root[color-scheme="dark"] .contact-quick-btn {
  color: rgba(242, 245, 252, 0.84);
}

:root[color-scheme="dark"] .contact-quick-btn i {
  color: #f2f5fc;
}

.contact-quick-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(133, 141, 155, 0.68);
  background: linear-gradient(180deg, rgba(var(--base-rgb), 0.45), rgba(var(--base-rgb), 0.32));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.contact-quick-btn:focus-visible {
  outline: 2px solid rgba(72, 169, 166, 0.65);
  outline-offset: 2px;
}

@media only screen and (max-width: 991px) {
  .map-frame {
    height: clamp(26rem, 52vw, 34rem);
  }

  .contact-quick-actions {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media only screen and (max-width: 575px) {
  .contact-map-card {
    padding: 1rem;
    border-radius: 1.3rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .map-frame {
    height: 24rem;
  }

  .map-fallback {
    margin-top: 1rem;
    padding: 0.8rem 0.9rem;
    font-size: 1.32rem;
  }

  .contact-quick-btn {
    min-height: 4.8rem;
    padding: 0.95rem 1.05rem;
    font-size: 1.34rem;
    gap: 0.85rem;
  }

  .contact-quick-btn i {
    font-size: 2rem;
  }

  .contact-quick-actions {
    margin-bottom: 1.2rem;
  }
}

/* Team socials refresh: cleaner icon buttons with brand hovers */
.team-block .team-card { transition: none !important; }
.team-block .team-card:hover { transform: none !important; box-shadow: none !important; }
.team-block .team-socials .btn-social {
  width:5.2rem !important;
  height:5.2rem !important;
  border-radius:1.2rem !important;
  border: 1px solid rgba(145,145,155,0.34) !important;
  background: linear-gradient(180deg, rgba(252,252,253,0.98) 0%, rgba(233,234,239,0.96) 100%) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  color: #7f848f !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12) !important;
  transition: transform .22s var(--_animbezier), box-shadow .22s var(--_animbezier), color .22s var(--_animbezier), border-color .22s var(--_animbezier), background .22s var(--_animbezier) !important;
}
.team-block .team-socials .btn-social i { font-size:2.2rem !important; line-height:1 !important; }
.team-block .team-socials .btn-social.whatsapp,
.team-block .team-socials .btn-social.instagram,
.team-block .team-socials .btn-social.facebook { color: inherit !important; }

.team-block .team-socials .btn-social:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 24px rgba(0,0,0,0.15) !important;
  color: #ffffff !important;
  border-color: rgba(136,138,149,0.65) !important;
  background: linear-gradient(180deg, rgba(154,157,168,0.98) 0%, rgba(118,121,132,0.98) 100%) !important;
}

.team-block .team-socials .btn-social.whatsapp:hover {
  color: #ffffff !important;
  border-color: rgba(136,138,149,0.65) !important;
  background: linear-gradient(180deg, rgba(154,157,168,0.98) 0%, rgba(118,121,132,0.98) 100%) !important;
}

.team-block .team-socials .btn-social.instagram:hover {
  color: #ffffff !important;
  border-color: rgba(136,138,149,0.65) !important;
  background: linear-gradient(180deg, rgba(154,157,168,0.98) 0%, rgba(118,121,132,0.98) 100%) !important;
}

.team-block .team-socials .btn-social.facebook:hover {
  color: #ffffff !important;
  border-color: rgba(136,138,149,0.65) !important;
  background: linear-gradient(180deg, rgba(154,157,168,0.98) 0%, rgba(118,121,132,0.98) 100%) !important;
}

@media (prefers-color-scheme: dark) {
  .team-block .team-socials .btn-social {
    color: #f5f5f5 !important;
    background: linear-gradient(180deg, rgba(24,24,24,0.86) 0%, rgba(12,12,12,0.8) 100%) !important;
    border-color: rgba(255,255,255,0.14) !important;
  }
}

/* Defensive: override common hover utilities */
.team-block .no-touch .btn-social:hover,
.team-block .no-touch .team-card:hover { transform: none !important; }

/* --- Make team grid fully responsive and flow to container width --- */
.team-block .team-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 1.6rem !important;
  width: 100% !important;
}
.team-block .team-card {
  width: 100% !important;
  padding: 1.6rem !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
.team-block .team-avatar {
  width: 160px !important;
  height: 160px !important;
  margin: 0 auto 1rem !important;
}
@media (max-width: 576px) {
  .team-block .team-card { text-align: center !important; }
  .team-block .team-socials { justify-content: center !important; }
  .team-block .team-socials .btn-social {
    width: 4.6rem !important;
    height: 4.6rem !important;
    border-radius: 1rem !important;
  }
  .team-block .team-socials .btn-social i { font-size: 1.95rem !important; }
  .team-block .team-avatar { width: 120px !important; height: 120px !important; margin-left: auto !important; margin-right: auto !important; }
  .team-block .team-grid { gap: 1rem !important; }
}

/* Constrain the team intro text on small screens to match site content width */
@media (max-width: 576px) {
  .team-block .team-intro {
    max-width: calc(100% - 2.4rem) !important;
    margin: 0 auto 1rem !important;
    padding: 0 1.2rem !important;
    text-align: left !important;
  }
  .team-block .team-intro p {
    margin: 0 !important;
  }
}

/* end team responsive overrides */

/* Theme switch support: apply icon palette on theme toggle, not only on hover */
:root[color-scheme="light"] .team-block .team-socials .btn-social {
  color: #4f5663 !important;
  border-color: rgba(132, 142, 160, 0.5) !important;
  background: linear-gradient(180deg, rgba(202, 208, 220, 0.95) 0%, rgba(178, 187, 203, 0.94) 100%) !important;
}

:root[color-scheme="light"] .team-block .team-socials .btn-social:hover {
  color: #f1f4fa !important;
  border-color: rgba(96, 108, 129, 0.72) !important;
  background: linear-gradient(180deg, rgba(106, 117, 136, 0.98) 0%, rgba(84, 95, 113, 0.98) 100%) !important;
}

:root[color-scheme="dark"] .team-block .team-socials .btn-social {
  color: #f5f5f5 !important;
  border-color: rgba(255,255,255,0.14) !important;
  background: linear-gradient(180deg, rgba(24,24,24,0.86) 0%, rgba(12,12,12,0.8) 100%) !important;
}

:root[color-scheme="dark"] .team-block .team-socials .btn-social:hover {
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.3) !important;
  background: linear-gradient(180deg, rgba(52,52,52,0.92) 0%, rgba(28,28,28,0.9) 100%) !important;
}

/* Warm palette for About text and line accents only */
:root[color-scheme="light"] .about .large-text-block p.type-basic-160lh,
:root[color-scheme="light"] .about .large-text-block ul.type-basic-160lh,
:root[color-scheme="light"] .about .large-text-block ul.services-inline,
:root[color-scheme="light"] .about .large-text-block .objectives-intro {
  color: #4a4a4a !important;
}

:root[color-scheme="light"] .about .large-text-block .block__title,
:root[color-scheme="light"] .about .large-text-block .tagline-chapter,
:root[color-scheme="light"] .about .large-text-block strong {
  color: #2f2f2f !important;
}

:root[color-scheme="light"] .about .large-text-block .section-sprater {
  background: linear-gradient(90deg, rgba(88, 88, 88, 0) 0%, rgba(88, 88, 88, 0.45) 50%, rgba(88, 88, 88, 0) 100%) !important;
}

:root[color-scheme="dark"] .about .large-text-block p.type-basic-160lh,
:root[color-scheme="dark"] .about .large-text-block ul.type-basic-160lh,
:root[color-scheme="dark"] .about .large-text-block ul.services-inline,
:root[color-scheme="dark"] .about .large-text-block .objectives-intro {
  color: #d3d3d3 !important;
}

:root[color-scheme="dark"] .about .large-text-block .block__title,
:root[color-scheme="dark"] .about .large-text-block .tagline-chapter,
:root[color-scheme="dark"] .about .large-text-block strong {
  color: #efefef !important;
}

:root[color-scheme="dark"] .about .large-text-block .section-sprater {
  background: linear-gradient(90deg, rgba(214, 214, 214, 0) 0%, rgba(214, 214, 214, 0.32) 50%, rgba(214, 214, 214, 0) 100%) !important;
}

/* About section typography and long-form layout refinement */
.about .large-text-block {
  margin-top: 7.2rem !important;
  margin-bottom: 8rem !important;
}

.about .large-text-block .reveal-type {
  max-width: 78ch;
  margin: 0 auto;
}

.about .large-text-block .block__title {
  max-width: 22ch;
  margin: 0 0 1.6rem 0;
  font-size: clamp(2.8rem, 2.1vw, 4.6rem) !important;
  line-height: 1.13 !important;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.about .large-text-block .block__title--hero-about {
  max-width: 30ch;
}

@media (min-width: 1400px) {
  .about .large-text-block .block__title--hero-about {
    max-width: 34ch;
    font-size: clamp(3.8rem, 3.3vw, 6.2rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.03em;
  }

  .about .large-text-block p.type-basic-160lh {
    font-size: clamp(1.9rem, 1.16vw, 2.34rem) !important;
    line-height: 1.78 !important;
  }

  .about .large-text-block ul.type-basic-160lh,
  .about .large-text-block ul.services-inline,
  .about .large-text-block .objectives-intro {
    font-size: clamp(1.82rem, 1.08vw, 2.22rem) !important;
    line-height: 1.72 !important;
  }
}

@media (min-width: 1800px) {
  .about .large-text-block .block__title--hero-about {
    max-width: 38ch;
    font-size: clamp(4.2rem, 3.6vw, 7rem) !important;
  }
}

.about .large-text-block .tagline-chapter {
  display: inline-block;
  margin: 2.4rem 0 1rem 0;
  font-size: clamp(1.85rem, 1.2vw, 2.55rem) !important;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.about .large-text-block .tagline-chapter::before,
.about .large-text-block .tagline-chapter::after {
  content: none !important;
  display: none !important;
}

.about .large-text-block p.type-basic-160lh {
  max-width: 72ch;
  margin: 0 0 1.55rem 0;
  font-size: clamp(1.72rem, 1.05vw, 2.12rem) !important;
  line-height: 1.75 !important;
  letter-spacing: 0.004em;
  color: var(--t-bright);
  font-weight: var(--font-weight-medium);
  text-wrap: pretty;
  hyphens: auto;
}

.about .large-text-block p.type-basic-160lh + p.type-basic-160lh {
  margin-top: 0.9rem;
}

.about .large-text-block ul.type-basic-160lh,
.about .large-text-block ul.services-inline {
  max-width: 70ch;
  margin: 0.2rem 0 1.8rem 0 !important;
  padding-left: 2.1rem !important;
  font-size: clamp(1.65rem, 0.98vw, 2rem) !important;
  line-height: 1.7 !important;
  font-weight: var(--font-weight-medium);
}

.about .large-text-block ul.type-basic-160lh li,
.about .large-text-block ul.services-inline li {
  margin-bottom: 0.72rem !important;
}

.about .large-text-block ul.objectives-list {
  font-size: clamp(1.58rem, 0.92vw, 1.86rem) !important;
  line-height: 1.68 !important;
  margin-top: 0.8rem !important;
  padding: 0 0 0 2.1rem !important;
  border: none;
  border-radius: 0;
  background: transparent;
  list-style: disc;
}

/* Home hero custom random slider */
.hero-random-slider {
  --hero-overlay-top: rgba(12, 16, 23, 0.2);
  --hero-overlay-bottom: rgba(8, 10, 16, 0.78);
  --hero-glass-bg: rgba(15, 22, 34, 0.42);
  --hero-glass-stroke: rgba(255, 255, 255, 0.24);
  --hero-dot: rgba(255, 255, 255, 0.5);
  --hero-dot-active: #fefefe;
  position: relative;
  isolation: isolate;
  width: calc(100% - 2.4rem);
  height: min(72vh, calc((100vw - 2.4rem) * 1.5));
  min-height: 56rem;
  margin: 11.8rem 1.2rem 0;
  border-radius: 2.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.24);
}

.hero-random-slider.fullheight-desktop {
  height: min(72vh, calc((100vw - 2.4rem) * 1.5));
}

.hero-random-slider__stage,
.hero-random-slider__track,
.hero-random-slider__slide {
  position: absolute;
  inset: 0;
}

.hero-random-slider__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.9s ease, transform 6.8s cubic-bezier(0.22, 0.66, 0.24, 1);
}

.hero-random-slider__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-random-slider__media {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-random-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(112%) contrast(102%);
}

.hero-random-slider__slide--small img {
  object-fit: contain;
}

.hero-random-slider__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, var(--hero-overlay-top) 0%, rgba(7, 10, 15, 0.26) 42%, var(--hero-overlay-bottom) 100%);
}

.hero-random-slider__meta {
  position: absolute;
  left: 2rem;
  top: 2rem;
  z-index: 3;
  max-width: calc(100% - 4rem);
  padding: 1.2rem 1.5rem;
  border-radius: 1.3rem;
  background: var(--hero-glass-bg);
  border: 1px solid var(--hero-glass-stroke);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-random-slider__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100vmax;
  padding: 0.32rem 0.92rem;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.16);
}

.hero-random-slider__meta h3 {
  margin: 0;
  font-size: clamp(1.7rem, 1.3vw, 2.4rem);
  color: #ffffff;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.hero-random-slider__controls {
  position: absolute;
  right: 1.6rem;
  bottom: 1.8rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.9rem;
  border-radius: 100vmax;
  background: rgba(12, 16, 22, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-random-slider__arrow {
  width: 4.1rem;
  height: 4.1rem;
  border: none;
  border-radius: 100vmax;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f7f8fd;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.28s var(--_animbezier), background 0.28s var(--_animbezier);
}

.hero-random-slider__arrow:hover,
.hero-random-slider__arrow:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.26);
}

.hero-random-slider__arrow i {
  font-size: 2rem;
}

.hero-random-slider__dots {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
}

.hero-random-slider__dot {
  width: 1.05rem;
  height: 1.05rem;
  border: none;
  border-radius: 100vmax;
  background: var(--hero-dot);
  transition: width 0.28s var(--_animbezier), background 0.28s var(--_animbezier), opacity 0.28s var(--_animbezier);
  opacity: 0.7;
}

.hero-random-slider__dot.is-active {
  width: 2.9rem;
  opacity: 1;
  background: var(--hero-dot-active);
}

@media only screen and (min-width: 768px) {
  .hero-random-slider {
    width: calc(100% - 4rem);
    height: min(78vh, calc((100vw - 4rem) / 1.5));
    min-height: 52rem;
    margin: 12.4rem 2rem 0;
    border-radius: 2.7rem;
  }

  .hero-random-slider.fullheight-desktop {
    height: min(78vh, calc((100vw - 4rem) / 1.5));
  }

  .hero-random-slider__meta {
    left: 3rem;
    top: 3rem;
    max-width: 56rem;
  }

  .hero-random-slider__controls {
    right: 2.3rem;
    bottom: 2.5rem;
  }
}

@media only screen and (min-width: 1200px) {
  .hero-random-slider {
    width: calc(100% - 5.6rem);
    height: calc(100% - 1.6rem);
    margin: 1.6rem 2.8rem 0;
    min-height: 0;
  }

  .hero-random-slider.fullheight-desktop {
    height: calc(100% - 1.6rem);
  }
}

@media only screen and (max-width: 767px) {
  .hero-random-slider {
    margin: 1.6rem 1.2rem 0;
    min-height: 56rem;
  }

  .hero-random-slider__controls {
    left: 1.2rem;
    right: 1.2rem;
    justify-content: space-between;
  }
}

[color-scheme=light] .hero-random-slider {
  --hero-overlay-top: rgba(250, 252, 255, 0.12);
  --hero-overlay-bottom: rgba(34, 40, 53, 0.6);
  --hero-glass-bg: rgba(45, 54, 73, 0.34);
  --hero-glass-stroke: rgba(255, 255, 255, 0.38);
}

[color-scheme=dark] .hero-random-slider {
  --hero-overlay-top: rgba(6, 8, 13, 0.18);
  --hero-overlay-bottom: rgba(5, 7, 11, 0.84);
  --hero-glass-bg: rgba(11, 15, 24, 0.46);
  --hero-glass-stroke: rgba(255, 255, 255, 0.2);
}

.about .large-text-block .objectives-intro {
  max-width: 70ch;
  margin: 0.2rem 0 1rem 0 !important;
  font-size: clamp(1.7rem, 1.02vw, 2rem) !important;
  line-height: 1.65 !important;
  color: var(--t-bright);
}

.about .large-text-block ul.objectives-list li {
  margin: 0 0 0.92rem 0 !important;
  padding-left: 0;
}

@media (min-width: 1600px) {
  .about .large-text-block p.type-basic-160lh {
    max-width: 75ch;
    font-size: clamp(2.02rem, 1.18vw, 2.5rem) !important;
    line-height: 1.82 !important;
  }

  .about .large-text-block ul.type-basic-160lh,
  .about .large-text-block ul.services-inline,
  .about .large-text-block .objectives-intro {
    font-size: clamp(1.9rem, 1.1vw, 2.3rem) !important;
    line-height: 1.74 !important;
  }
}

.about .large-text-block strong {
  font-weight: 700;
  color: var(--t-bright);
}

.about .large-text-block em {
  font-style: italic;
}

.about .large-text-block .section-sprater {
  margin: 2.3rem 0 2.4rem 0 !important;
}

.about .large-text-block .about-img {
  margin-top: 1.1rem;
  margin-bottom: 1.6rem;
}

.about .large-text-block .about-img img {
  border-radius: 1rem;
  box-shadow: 0 16px 34px rgba(16, 16, 18, 0.12);
}

@media (max-width: 1199px) {
  .about .large-text-block {
    margin-top: 5.6rem !important;
    margin-bottom: 6.2rem !important;
  }

  .about .large-text-block .reveal-type {
    max-width: 100%;
  }

  .about .large-text-block p.type-basic-160lh,
  .about .large-text-block ul.type-basic-160lh,
  .about .large-text-block ul.services-inline {
    max-width: 100%;
  }

  .about .large-text-block p.type-basic-160lh {
    line-height: 1.72 !important;
  }
}

@media (max-width: 767px) {
  .footer {
    padding-bottom: 2rem;
  }
  .about .large-text-block {
    margin-top: 4.4rem !important;
    margin-bottom: 5rem !important;
  }

  .about .large-text-block .block__title {
    font-size: clamp(2.35rem, 8.2vw, 3.1rem) !important;
    line-height: 1.16 !important;
  }

  .about .large-text-block .tagline-chapter {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    font-size: clamp(1.62rem, 5.1vw, 2.1rem) !important;
  }

  .about .large-text-block p.type-basic-160lh {
    font-size: clamp(1.58rem, 4.45vw, 1.86rem) !important;
    line-height: 1.7 !important;
    margin-bottom: 1.35rem;
  }

  .about .large-text-block ul.type-basic-160lh,
  .about .large-text-block ul.services-inline {
    padding-left: 1.55rem !important;
    font-size: clamp(1.52rem, 4.05vw, 1.8rem) !important;
    line-height: 1.65 !important;
    margin-bottom: 1.45rem !important;
  }

  .about .large-text-block ul.objectives-list {
    font-size: clamp(1.45rem, 3.85vw, 1.7rem) !important;
    line-height: 1.6 !important;
    padding: 0 0 0 1.55rem !important;
  }

  .about .large-text-block .objectives-intro {
    font-size: clamp(1.5rem, 4.1vw, 1.76rem) !important;
    line-height: 1.58 !important;
    margin-bottom: 0.75rem !important;
  }

  .about .large-text-block ul.objectives-list li {
    margin-bottom: 0.78rem !important;
  }

  .about .large-text-block .section-sprater {
    margin: 1.75rem 0 1.95rem 0 !important;
  }
}

/* About typography aligned to index services scale and rhythm */
.about .large-text-block .block__title,
.about .large-text-block .tagline-chapter {
  font: normal 400 3.4rem var(--_font-accent) !important;
  line-height: 1.1 !important;
  letter-spacing: normal !important;
  color: var(--t-bright) !important;
}

@media only screen and (min-width: 768px) {
  .about .large-text-block .block__title,
  .about .large-text-block .tagline-chapter {
    font-size: 4.4rem !important;
  }
}

@media only screen and (min-width: 1200px) {
  .about .large-text-block .block__title,
  .about .large-text-block .tagline-chapter {
    font-size: 5rem !important;
  }
}

@media only screen and (min-width: 1400px) {
  .about .large-text-block .block__title,
  .about .large-text-block .tagline-chapter {
    font-size: 5.6rem !important;
  }
}

@media only screen and (min-width: 1600px) {
  .about .large-text-block .block__title,
  .about .large-text-block .tagline-chapter {
    font-size: 6.4rem !important;
  }
}

.about .large-text-block p.type-basic-160lh,
.about .large-text-block ul.type-basic-160lh,
.about .large-text-block ul.services-inline,
.about .large-text-block .objectives-intro,
.about .large-text-block ul.objectives-list {
  font: normal var(--font-weight-base) 1.8rem var(--_font-default) !important;
  line-height: 1.6 !important;
  letter-spacing: normal !important;
  color: var(--t-bright) !important;
}

@media only screen and (min-width: 1200px) {
  .about .large-text-block p.type-basic-160lh,
  .about .large-text-block ul.type-basic-160lh,
  .about .large-text-block ul.services-inline,
  .about .large-text-block .objectives-intro,
  .about .large-text-block ul.objectives-list {
    font-size: 2rem !important;
  }
}

@media only screen and (min-width: 1400px) {
  .about .large-text-block p.type-basic-160lh,
  .about .large-text-block ul.type-basic-160lh,
  .about .large-text-block ul.services-inline,
  .about .large-text-block .objectives-intro,
  .about .large-text-block ul.objectives-list {
    font-size: 2.2rem !important;
  }
}

@media only screen and (min-width: 1600px) {
  .about .large-text-block p.type-basic-160lh,
  .about .large-text-block ul.type-basic-160lh,
  .about .large-text-block ul.services-inline,
  .about .large-text-block .objectives-intro,
  .about .large-text-block ul.objectives-list {
    font-size: 2.6rem !important;
  }
}

.about .large-text-block .block__title + p.type-basic-160lh,
.about .large-text-block .tagline-chapter + p.type-basic-160lh,
.about .large-text-block .tagline-chapter + ul.type-basic-160lh,
.about .large-text-block .tagline-chapter + ul.services-inline {
  margin-top: 3rem !important;
}

@media only screen and (min-width: 1400px) {
  .about .large-text-block .block__title + p.type-basic-160lh,
  .about .large-text-block .tagline-chapter + p.type-basic-160lh,
  .about .large-text-block .tagline-chapter + ul.type-basic-160lh,
  .about .large-text-block .tagline-chapter + ul.services-inline {
    margin-top: 4rem !important;
  }
}

/* Scroll-to-top icon alignment fix */
#to-top.btn-to-top {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
}

#to-top.btn-to-top i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  transform: translateY(-0.02em);
}

/* Blog page dynamic listing styles */
.blog-template {
  overflow-y: auto !important;
}

.blog-page {
  min-height: 100vh;
}


.blog-page .inner__wrapper {
  position: relative;
  z-index: 1;
}

/* Lighten blog post content area */
#blog-post-content {
  background: linear-gradient(135deg, rgba(var(--base-rgb), 0.25), rgba(var(--base-rgb), 0.35)) !important;
  background-attachment: fixed !important;
}

#blog-post-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 40%, rgba(72, 169, 166, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 60%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(72, 169, 166, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

#blog-post-content .inner__wrapper {
  position: relative;
  z-index: 1;
}

.blog-page .contact {
  padding-bottom: 8rem;
}

.blog-hero-banner {
  position: relative;
  isolation: isolate;
  width: calc(100% - 2.4rem);
  margin: 11.2rem 1.2rem 0;
  border-radius: 2.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
}

.blog-hero-banner__media {
  position: relative;
  min-height: 52rem;
}

.blog-hero-banner__media::after {
  content: none;
}

.blog-hero-banner__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.blog-hero-banner__content {
  position: absolute;
  left: 2.2rem;
  right: 2.2rem;
  bottom: 2.2rem;
  z-index: 2;
  max-width: 68rem;
  display: grid;
  gap: 1.1rem;
}

.blog-hero-banner__kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font: normal var(--font-weight-medium) 1.2rem var(--_font-default);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(8, 10, 14, 0.7);
}

.blog-hero-banner__title {
  margin: 0;
  color: #ffffff;
  font: normal 500 clamp(3rem, 4.8vw, 5.8rem) var(--_font-accent);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-shadow: 0 6px 20px rgba(8, 10, 14, 0.75);
}

.blog-hero-banner__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font: normal 400 clamp(1.55rem, 1.16vw, 1.95rem)/1.55 var(--_font-default);
  max-width: 52ch;
  text-shadow: 0 2px 12px rgba(8, 10, 14, 0.72);
}

.blog-hero-banner__cta {
  margin-top: 0.8rem;
  width: fit-content;
}

@media only screen and (min-width: 1200px) {
  .blog-hero-banner {
    width: calc(100% - 5.6rem);
    height: calc(100% - 1.6rem);
    margin: 1.6rem 2.8rem 0;
    min-height: 0;
  }

  .blog-hero-banner__media {
    height: 100%;
    min-height: 0;
  }
}

@media only screen and (min-width: 1400px) {
  .blog-hero-banner__content {
    left: 2.6rem;
    right: 2.6rem;
    bottom: 2.6rem;
  }
}

@media only screen and (min-width: 1600px) {
  .blog-hero-banner__title {
    max-width: 15ch;
  }
}

.blog-page .blog-stats {
  opacity: 0.8;
  margin-top: 0.8rem;
}

.blog-mobile-toggle-wrap {
  display: none;
}

.blog-mobile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.8rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid rgba(72, 169, 166, 0.35);
  border-radius: 999px;
  background: rgba(72, 169, 166, 0.08);
  color: var(--t-bright);
  font-size: 1.45rem;
  line-height: 1;
  transition: background var(--_animspeed-medium) var(--_animbezier), border-color var(--_animspeed-medium) var(--_animbezier), color var(--_animspeed-medium) var(--_animbezier);
}

.blog-mobile-toggle i {
  font-size: 1.8rem;
}

.blog-mobile-toggle:hover {
  background: rgba(72, 169, 166, 0.14);
  border-color: rgba(72, 169, 166, 0.55);
}

.blog-mobile-toggle[aria-expanded="true"] {
  background: rgba(72, 169, 166, 0.16);
  border-color: rgba(72, 169, 166, 0.55);
  color: rgba(72, 169, 166, 0.98);
}

.blog-controls__inner {
  position: relative;
  border: 1px solid rgba(72, 169, 166, 0.35);
  border-radius: var(--_radius);
  background: linear-gradient(180deg, rgba(var(--base-rgb), 0.18), rgba(var(--base-rgb), 0.24));
  padding: 2.2rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: border-color var(--_animspeed-medium) var(--_animbezier), box-shadow var(--_animspeed-medium) var(--_animbezier);
}

.blog-controls__inner::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 169, 166, 0.32) 0%, rgba(72, 169, 166, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

.blog-controls__inner::after {
  content: "";
  position: absolute;
  inset: auto -20% -20% auto;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 169, 166, 0.28) 0%, rgba(72, 169, 166, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

.blog-featured {
  margin-top: 1.8rem;
  padding-top: 1.8rem;
}

.blog-controls__inner > * {
  position: relative;
  z-index: 1;
}

.blog-search-wrap {
  margin-bottom: 1.6rem;
}

.blog-search-label {
  display: block;
  margin-bottom: 0.8rem;
  font: normal var(--font-weight-medium) 1.4rem var(--_font-default);
  color: var(--t-medium);
}

.blog-search-input {
  width: 100%;
  border: 1px solid rgba(72, 169, 166, 0.35);
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(72, 169, 166, 0.08), rgba(72, 169, 166, 0.04));
  color: var(--t-bright);
  padding: 1.4rem 1.6rem;
  font: normal var(--font-weight-base) 1.6rem var(--_font-default);
  transition: border-color var(--_animspeed-medium) var(--_animbezier), background var(--_animspeed-medium) var(--_animbezier), box-shadow var(--_animspeed-medium) var(--_animbezier);
}

.blog-search-input::placeholder {
  color: var(--t-medium);
  opacity: 0.6;
}

.blog-search-input:focus {
  outline: none;
  border-color: rgba(72, 169, 166, 0.55);
  background: linear-gradient(135deg, rgba(72, 169, 166, 0.12), rgba(72, 169, 166, 0.08));
  box-shadow: 0 0 0 3px rgba(72, 169, 166, 0.1);
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.blog-tag-chip {
  border: 1px solid rgba(72, 169, 166, 0.35);
  background: transparent;
  color: var(--t-bright);
  border-radius: 99rem;
  padding: 0.6rem 1.2rem;
  font: normal var(--font-weight-medium) 1.8rem var(--_font-default);
  cursor: pointer;
  transition: background-color var(--_animspeed-medium) var(--_animbezier), color var(--_animspeed-medium) var(--_animbezier), border-color var(--_animspeed-medium) var(--_animbezier), box-shadow var(--_animspeed-medium) var(--_animbezier);
}

.blog-tag-chip:hover {
  border-color: rgba(72, 169, 166, 0.55);
  background: rgba(72, 169, 166, 0.1);
  box-shadow: 0 4px 12px rgba(72, 169, 166, 0.15);
}

@media only screen and (min-width: 1200px) {
  .blog-tag-chip {
    font-size: 1.6rem;
  }
}

@media only screen and (min-width: 1600px) {
  .blog-tag-chip {
    font-size: 1.8rem;
  }
}

.blog-tag-chip.is-active {
  background: linear-gradient(180deg, rgba(72, 169, 166, 0.3), rgba(72, 169, 166, 0.15));
  color: rgba(72, 169, 166, 0.95);
  border-color: rgba(72, 169, 166, 0.55);
  font-weight: 600;
}

.blog-featured-card {
  position: relative;
  border: 1px solid rgba(72, 169, 166, 0.35);
  border-radius: var(--_radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(var(--base-rgb), 0.18), rgba(var(--base-rgb), 0.24));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform var(--_animspeed-medium) var(--_animbezier), border-color var(--_animspeed-medium) var(--_animbezier), box-shadow var(--_animspeed-medium) var(--_animbezier);
}

.blog-featured-card::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 169, 166, 0.32) 0%, rgba(72, 169, 166, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

.blog-featured-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -20% auto;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 169, 166, 0.28) 0%, rgba(72, 169, 166, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

.blog-featured-card:hover {
  transform: translateY(-8px);
  border-color: rgba(72, 169, 166, 0.55);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.blog-featured-media {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 24rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.22));
  border-radius: 5px;
  position: relative;
  z-index: 1;
  transition: transform var(--_animspeed-medium) var(--_animbezier);
}

.blog-featured-card:hover .blog-featured-media img {
  transform: translateY(-3px);
}

.blog-featured-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.blog-featured-content .cards__text {
  margin-bottom: 1.4rem;
}

.blog-meta {
  font: normal var(--font-weight-medium) 1.3rem var(--_font-default);
  color: var(--t-medium);
  margin-bottom: 1.2rem;
}

.blog-card .cards__title {
  font-size: clamp(2.4rem, 2vw, 3.4rem);
}

.blog-page #blog-grid {
  row-gap: 1.4rem;
}

.blog-card .cards__descr {
  display: flex;
  flex-direction: column;
}

/* Blog "Read article" button styled as card */
.blog-read-btn {
  position: relative;
  display: inline-block !important;
  border: 1px solid rgba(72, 169, 166, 0.35) !important;
  border-radius: var(--_radius) !important;
  background: linear-gradient(180deg, rgba(var(--base-rgb), 0.18), rgba(var(--base-rgb), 0.24)), radial-gradient(circle at 8% -12%, rgba(72, 169, 166, 0.26), rgba(72, 169, 166, 0)) !important;
  padding: 1.6rem 2rem !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
  font: normal var(--font-weight-medium) 1.4rem/1.4 var(--_font-default) !important;
  color: var(--t-bright) !important;
  margin-top: auto !important;
  transition: transform var(--_animspeed-medium) var(--_animbezier), border-color var(--_animspeed-medium) ease, box-shadow var(--_animspeed-medium) ease !important;
  overflow: hidden;
}

.blog-read-btn::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 169, 166, 0.32) 0%, rgba(72, 169, 166, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

.blog-read-btn::after {
  content: "";
  position: absolute;
  inset: auto -20% -20% auto;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 169, 166, 0.28) 0%, rgba(72, 169, 166, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

.blog-read-btn:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(72, 169, 166, 0.55) !important;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18) !important;
}

.blog-read-btn .btn-caption,
.blog-read-btn i {
  position: relative;
  z-index: 1;
}

/* ===== BLOG POST SINGLE PAGE STYLES ===== */

.blog-post-template .logo {
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: 1200;
}

@media only screen and (min-width: 768px) {
  .blog-post-template .logo {
    top: 3rem;
    left: 5rem;
  }
}

/* Hero headline styling - inherit from template defaults */
#blog-post-hero-section .headline__subtitle {
  font-size: 1.5rem;
  color: var(--t-medium);
}

/* Ensure headline spans full width on desktop when absolutely positioned */
#blog-post-hero-section .headline {
  width: 100%;
}

#blog-post-hero-section .headline.headline-95-desktop {
  right: 0;
  left: 0;
}

/* Ensure hero section padding matches main pages */
#blog-post-hero-section.main.home {
  margin-bottom: 11.5rem;
}

@media only screen and (min-width: 768px) {
  #blog-post-hero-section.main.home {
    margin-bottom: 14.5rem;
  }
}

@media only screen and (min-width: 1200px) {
  #blog-post-hero-section.main.home {
    height: 95vh;
    margin-bottom: 0;
    padding-top: 7rem;
  }

  #blog-post-hero-section .headline__title {
    font-size: 8rem;
  }

  #blog-post-hero-section .headline__subtitle.space-top {
    font-size: 1.6rem;
    margin-top: 1.6rem;
    color: var(--t-bright);
    position: relative;
    z-index: 2;
  }

  #blog-post-hero-section .headline.headline-95-desktop {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    padding-top: 1.2rem;
    padding-bottom: 0;
    align-items: center !important;
    text-align: center;
  }
}

@media only screen and (min-width: 1400px) {
  #blog-post-hero-section.main.home {
    padding-top: 8rem;
  }

  #blog-post-hero-section .headline__title {
    font-size: 9rem;
  }

  #blog-post-hero-section .headline__subtitle.space-top {
    font-size: 1.7rem;
    margin-top: 2rem;
  }

  #blog-post-hero-section .headline.headline-95-desktop {
    padding-top: 1.6rem;
  }
}

@media only screen and (min-width: 1600px) {
  #blog-post-hero-section .headline__title {
    font-size: 10rem;
  }
}

/* Content section padding */
#blog-post-content {
  padding: 3rem 0 4rem;
}

@media only screen and (min-width: 768px) {
  #blog-post-content {
    padding: 4rem 0 5rem;
  }
}

@media only screen and (min-width: 1200px) {
  #blog-post-content {
    padding: 5rem 0 6rem;
  }
}

.blog-post-hero-image {
  width: 100%;
  height: auto;
  margin: 2.4rem 0 3rem 0;
  border-radius: 1.2rem;
  overflow: hidden;
  display: block;
}

@media only screen and (min-width: 768px) {
  .blog-post-hero-image {
    margin: 3rem 0 3.5rem 0;
  }
}

@media only screen and (min-width: 1200px) {
  .blog-post-hero-image {
    margin: 3.5rem 0 4rem 0;
  }
}

.blog-post-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 1.2rem;
}

.blog-post-article {
  width: 100%;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 1.55rem;
  color: var(--t-medium);
}

.blog-post-meta .separator {
  opacity: 0.5;
}

.blog-post-body {
  margin-bottom: 3rem;
}

.blog-post-body p {
  margin-bottom: 2.2rem;
}

.blog-post-body figure {
  margin: 3rem 0;
}

.about-img {
  width: 100%;
  height: auto;
  margin: 2.4rem 0;
  border-radius: 1.2rem;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-img.side-left {
  margin-right: 0;
}

.about-img.side-right {
  margin-left: 0;
}

@media only screen and (max-width: 767px) {
  .about-img.side-left,
  .about-img.side-right {
    margin-left: 0;
    margin-right: 0;
  }
}

.blog-post-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(145,145,155,0.15);
  margin-bottom: 2rem;
}

.blog-post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.blog-post-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(145,145,155,0.15);
}

.blog-back-link {
  gap: 0.8rem;
}

@media only screen and (max-width: 767px) {
  #blog-post-hero-section .headline__subtitle {
    font-size: 1.3rem;
  }

  .blog-post-meta {
    font-size: 1.3rem;
  }

  .blog-post-body p {
    margin-bottom: 1.8rem;
  }
}

.blog-post-content {
  padding: 4rem 0 6rem;
}

.blog-post-inner {
  padding: 0 2rem;
}

.blog-post-article {
  width: 100%;
}

.blog-post-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(145,145,155,0.15);
}

.blog-post-title {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: var(--font-weight-bold);
  color: var(--t-bright);
  margin-bottom: 1.8rem;
  line-height: 1.2;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 1.55rem;
  color: var(--t-medium);
}

.blog-post-meta .separator {
  opacity: 0.5;
}

.blog-post-body {
  margin-bottom: 3rem;
}

.blog-post-body p {
  margin-bottom: 2.2rem;
}

.blog-post-body figure {
  margin: 3rem 0;
}

.about-img {
  width: 100%;
  height: auto;
  margin: 2.4rem 0;
  border-radius: 1.2rem;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-img.side-left {
  margin-right: 2rem;
}

.about-img.side-right {
  margin-left: 2rem;
}

@media only screen and (max-width: 767px) {
  .about-img.side-left,
  .about-img.side-right {
    margin-left: 0;
    margin-right: 0;
  }
}

.blog-post-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(145,145,155,0.15);
  margin-bottom: 2rem;
}

.blog-post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.blog-post-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(145,145,155,0.15);
}

.blog-back-link {
  gap: 0.8rem;
}

@media only screen and (max-width: 767px) {
  .blog-post-content {
    padding: 3rem 0 4rem;
  }

  .blog-post-inner {
    padding: 0 1.5rem;
  }

  .blog-post-title {
    font-size: 2.4rem;
  }

  .blog-post-meta {
    font-size: 1.3rem;
  }

  .blog-post-body p {
    margin-bottom: 1.8rem;
  }
}

.blog-card .cards__text {
  margin-bottom: 1.2rem;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.22));
  border-radius: 5px;
}

.blog-card__image {
  width: 100%;
  min-height: 24rem;
  flex-grow: 1;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.4rem 2rem;
  background: linear-gradient(144deg, rgba(var(--base-rgb), 0.24), rgba(var(--base-rgb), 0.08));
  overflow: hidden;
  -moz-border-radius-topleft: var(--_radius);
       border-top-left-radius: var(--_radius);
  -moz-border-radius-topright: var(--_radius);
       border-top-right-radius: var(--_radius);
}

.blog-card__image::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 169, 166, 0.32) 0%, rgba(72, 169, 166, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

.blog-card__image::after {
  content: "";
  position: absolute;
  inset: auto -20% -20% auto;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 169, 166, 0.28) 0%, rgba(72, 169, 166, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

.blog-read-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  align-self: flex-start;
  border: 1px solid var(--stroke-elements);
  border-radius: 1.2rem;
  padding: 1.4rem 2.4rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--t-medium);
  font-size: 1.6rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-read-btn .btn-caption,
.blog-read-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
  transform: none;
  padding-bottom: 0 !important;
}

.blog-read-btn i {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-read-btn:hover {
  color: var(--t-bright);
  border-color: var(--t-medium);
  background: rgba(255, 255, 255, 0.08);
}

.blog-read-btn:hover i {
  transform: translateX(0.3rem);
}

/* Final blog-post control sizing overrides */
.blog-post-meta {
  font-size: 1.7rem;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  align-self: flex-start;
  border: 1px solid var(--stroke-elements);
  border-radius: 1.2rem;
  padding: 1.3rem 2.2rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--t-medium);
  font-size: 1.65rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-back-link .btn-caption,
.blog-back-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
  transform: none;
  padding-bottom: 0 !important;
}

.blog-back-link i {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-back-link:hover {
  color: var(--t-bright);
  border-color: var(--t-medium);
  background: rgba(255, 255, 255, 0.08);
}

.blog-back-link:hover i {
  transform: translateX(-0.3rem);
}

.blog-post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.blog-share-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.blog-share-label {
  font-size: 1.45rem;
  color: var(--t-medium);
  margin-right: 0.3rem;
}

.blog-share-btn {
  width: 3.8rem;
  height: 3.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stroke-elements);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--t-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-share-btn i {
  font-size: 2rem;
  line-height: 1;
}

.blog-share-btn:hover {
  color: var(--t-bright);
  border-color: var(--t-medium);
  background: rgba(255, 255, 255, 0.1);
}

/* =========================================================
   Gallery — modern sidebar + masonry redesign
   ========================================================= */

.gallery-hero-banner {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: calc(100% - 2.4rem);
  max-width: 118rem;
  margin: 10.2rem auto 0;
  border-radius: 2.4rem;
  background: #0f1720;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
}

@media only screen and (min-width: 1200px) {
  .gallery-template #gallery-home .main__intro.intro-95-desktop {
    min-height: calc(95vh + 6rem);
  }

  .gallery-template #gallery-home .gallery-hero-banner {
    margin-top: 8.8rem;
  }
}

.gallery-hero-banner__media {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 44rem;
}

.gallery-hero-banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 24, 0.04) 0%, rgba(11, 17, 24, 0.16) 38%, rgba(11, 17, 24, 0.62) 100%);
}

.gallery-hero-banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-hero-banner__dock {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem;
  border-radius: 999px;
  background: rgba(10, 14, 20, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gallery-hero-banner__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 2rem;
  transition: transform var(--_animspeed-medium) var(--_animbezier), background var(--_animspeed-medium) var(--_animbezier), border-color var(--_animspeed-medium) var(--_animbezier);
}

.gallery-hero-banner__icon:hover {
  transform: translateY(-0.2rem);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
}

/* --- Top search bar --- */
.gallery-topbar {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 0;
}

.gallery-mobile-toggle-wrap {
  display: none;
}

.gallery-mobile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.8rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid rgba(72, 169, 166, 0.35);
  border-radius: 999px;
  background: rgba(72, 169, 166, 0.08);
  color: var(--t-bright);
  font-size: 1.45rem;
  line-height: 1;
  transition: background var(--_animspeed-medium) var(--_animbezier), border-color var(--_animspeed-medium) var(--_animbezier), color var(--_animspeed-medium) var(--_animbezier);
}

.gallery-mobile-toggle i {
  font-size: 1.8rem;
}

.gallery-mobile-toggle:hover {
  background: rgba(72, 169, 166, 0.14);
  border-color: rgba(72, 169, 166, 0.55);
}

.gallery-mobile-toggle[aria-expanded="true"] {
  background: rgba(72, 169, 166, 0.16);
  border-color: rgba(72, 169, 166, 0.55);
  color: rgba(72, 169, 166, 0.98);
}

/* Fix sticky sidebar: override overflow-x:hidden on #page-content which
   implicitly sets overflow-y:auto and breaks position:sticky inside it.
   overflow-x:clip clips without creating a scroll container. */
.gallery-template #page-content {
  overflow-x: clip;
}

/* Uniform vertical rhythm between title, search bar, and layout */
.gallery-listing .inner__content {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.gallery-listing .inner__content .content__block {
  margin: 0;
  padding: 0;
}

.gallery-stats-text {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t-medium);
}

.gallery-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.gallery-search-icon {
  position: absolute;
  left: 2rem;
  font-size: 2rem;
  color: var(--t-medium);
  pointer-events: none;
}

.gallery-search-input {
  width: 100%;
  min-height: 6rem;
  border: 1px solid rgba(72, 169, 166, 0.35);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(72, 169, 166, 0.08), rgba(72, 169, 166, 0.04));
  color: var(--t-bright);
  padding: 0 2.4rem 0 5.6rem;
  font-size: 1.6rem;
  transition: border-color var(--_animspeed-medium) var(--_animbezier), background var(--_animspeed-medium) var(--_animbezier), box-shadow var(--_animspeed-medium) var(--_animbezier);
}

.gallery-search-input::placeholder {
  color: var(--t-medium);
  opacity: 0.6;
}

.gallery-search-input:focus {
  outline: none;
  border-color: rgba(72, 169, 166, 0.55);
  background: linear-gradient(135deg, rgba(72, 169, 166, 0.12), rgba(72, 169, 166, 0.08));
  box-shadow: 0 0 0 3px rgba(72, 169, 166, 0.1);
}

/* --- Sidebar + main two-column layout --- */
.gallery-layout {
  display: grid;
  grid-template-columns: 24rem 1fr;
  gap: 5rem;
  align-items: start;
}

.gallery-sidebar {
  position: sticky;
  top: 12rem;
  display: grid;
  gap: 3.2rem;
}

.gallery-filter-section {
  display: grid;
  gap: 1.2rem;
}

.gallery-filter-section {
  display: grid;
  gap: 1.2rem;
}

.gallery-filter-section:first-child {
  display: grid;
  gap: 0;
  position: relative;
}

#gallery-tags {
  overflow-y: auto;
  max-height: min(50vh, calc(100vh - 24rem));
  padding-right: 0.8rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(72, 169, 166, 0.35) transparent;
}

#gallery-tags::-webkit-scrollbar {
  width: 6px;
}

#gallery-tags::-webkit-scrollbar-track {
  background: transparent;
}

#gallery-tags::-webkit-scrollbar-thumb {
  background: rgba(72, 169, 166, 0.35);
  border-radius: 3px;
  transition: background var(--_animspeed-medium) var(--_animbezier);
}

#gallery-tags::-webkit-scrollbar-thumb:hover {
  background: rgba(72, 169, 166, 0.55);
}

.gallery-filter-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--t-medium);
}

.gallery-tags {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Category chips — vertical list in sidebar */
.gallery-tag-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 4.4rem;
  border: 1px solid rgba(72, 169, 166, 0.35);
  border-radius: 1.2rem;
  background: transparent;
  color: var(--t-medium);
  padding: 0.8rem 1.4rem;
  font-size: 1.6rem;
  line-height: 1.3;
  cursor: pointer;
  text-align: left;
  transition: color var(--_animspeed-medium) var(--_animbezier), background var(--_animspeed-medium) var(--_animbezier), border-color var(--_animspeed-medium) var(--_animbezier), box-shadow var(--_animspeed-medium) var(--_animbezier);
}

.gallery-tag-chip small {
  flex-shrink: 0;
  font-size: 1.3rem;
  min-width: 2.6rem;
  text-align: right;
  opacity: 0.6;
  transition: opacity var(--_animspeed-medium) var(--_animbezier);
}

.gallery-tag-chip:hover {
  color: var(--t-bright);
  background: rgba(72, 169, 166, 0.1);
  border-color: rgba(72, 169, 166, 0.55);
  box-shadow: 0 4px 12px rgba(72, 169, 166, 0.15);
}

.gallery-tag-chip:hover small {
  opacity: 0.9;
}

.gallery-tag-chip.is-active {
  color: rgba(72, 169, 166, 0.95);
  background: linear-gradient(180deg, rgba(72, 169, 166, 0.2), rgba(72, 169, 166, 0.1));
  border-color: rgba(72, 169, 166, 0.55);
  font-weight: 600;
}

.gallery-tag-chip.is-active small {
  opacity: 1;
}

/* Format chips — horizontal in sidebar */
#gallery-orientations .gallery-tags,
.gallery-tags.gallery-tags--row {
  flex-direction: row;
  flex-wrap: wrap;
}

.gallery-filter-section:nth-child(2) {
  display: grid;
  gap: 1.2rem;
}

.gallery-format-wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
}

.gallery-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(72, 169, 166, 0.35);
  border-radius: 0.6rem;
  background: transparent;
  color: rgba(72, 169, 166, 0.7);
  cursor: pointer;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: background var(--_animspeed-medium) var(--_animbezier), border-color var(--_animspeed-medium) var(--_animbezier), color var(--_animspeed-medium) var(--_animbezier);
}

.gallery-scroll-hint:hover {
  border-color: rgba(72, 169, 166, 0.55);
  background: rgba(72, 169, 166, 0.1);
  color: rgba(72, 169, 166, 0.95);
}

.gallery-scroll-hint:not([hidden]) {
  display: flex;
}

.gallery-scroll-hint[hidden] {
  display: none;
}

#gallery-orientations {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.6rem;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(72, 169, 166, 0.35) transparent;
}

#gallery-orientations::-webkit-scrollbar {
  height: 6px;
}

#gallery-orientations::-webkit-scrollbar-track {
  background: transparent;
}

#gallery-orientations::-webkit-scrollbar-thumb {
  background: rgba(72, 169, 166, 0.35);
  border-radius: 3px;
  transition: background var(--_animspeed-medium) var(--_animbezier);
}

#gallery-orientations::-webkit-scrollbar-thumb:hover {
  background: rgba(72, 169, 166, 0.55);
}

.gallery-tags--vertical .gallery-tag-chip {
  width: 100%;
}

#gallery-orientations .gallery-tag-chip {
  width: auto;
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(72, 169, 166, 0.35);
  border-radius: 999px;
  font-size: 1.6rem;
  justify-content: center;
  background: transparent;
  color: var(--t-bright);
  transition: border-color var(--_animspeed-medium) var(--_animbezier), background var(--_animspeed-medium) var(--_animbezier);
}

#gallery-orientations .gallery-tag-chip:hover {
  border-color: rgba(72, 169, 166, 0.55);
  background: rgba(72, 169, 166, 0.1);
}

#gallery-orientations .gallery-tag-chip.is-active {
  background: linear-gradient(180deg, rgba(72, 169, 166, 0.3), rgba(72, 169, 166, 0.15));
  border-color: rgba(72, 169, 166, 0.55);
}

/* --- Masonry grid --- */
.gallery-main {
  min-width: 0;
  overflow-anchor: none;
}

.gallery-grid {
  column-count: 3;
  column-gap: 1.2rem;
  overflow-anchor: none;
}

.gallery-shot {
  display: block;
  break-inside: avoid;
  margin-bottom: 1.2rem;
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
}

.gallery-shot__link {
  display: block;
  position: relative;
  overflow: hidden;
}

.gallery-shot__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2rem;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-shot:hover .gallery-shot__image {
  transform: scale(1.05);
}

/* Hover overlay caption */
.gallery-shot__overlay {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.22) 52%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.8rem 1.8rem;
  opacity: 0;
  transform: translateY(0.6rem);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.gallery-shot:hover .gallery-shot__overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-shot__meta {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

.gallery-shot__title {
  margin: 0;
  font-size: 1.7rem;
  color: #fff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Always-visible shot — subtle category tag badge */
.gallery-shot__badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  opacity: 0;
  transform: translateY(-0.4rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.gallery-shot:hover .gallery-shot__badge {
  opacity: 1;
  transform: translateY(0);
}

/* Empty + load more */
.gallery-empty {
  margin-top: 2rem;
  font-size: 1.6rem;
  color: var(--t-medium);
}

.gallery-load-more-wrap {
  margin-top: 3.2rem;
  display: flex;
  justify-content: center;
}

.gallery-load-more {
  min-width: 22rem;
}

/* --- Responsive --- */
@media only screen and (max-width: 1399px) {
  .gallery-layout {
    grid-template-columns: 21rem 1fr;
    gap: 3.6rem;
  }
  .gallery-grid {
    column-count: 3;
  }
}

@media only screen and (max-width: 1199px) {
  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .gallery-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .gallery-filter-section:first-child {
    grid-column: 1 / -1;
  }

  .gallery-scroll-arrow {
    display: none !important;
  }

  #gallery-tags {
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .gallery-tags {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .gallery-tag-chip {
    width: auto;
    border: 1px solid rgba(72, 169, 166, 0.35);
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    font-size: 1.4rem;
    justify-content: flex-start;
  }

  .gallery-grid {
    column-count: 3;
  }
}

@media only screen and (max-width: 767px) {
  .gallery-mobile-toggle-wrap {
    display: block;
  }

  .gallery-listing.gallery-listing--mobile-collapsed .gallery-topbar,
  .gallery-listing.gallery-listing--mobile-collapsed .gallery-sidebar {
    display: none;
  }

  .gallery-hero-banner {
    width: calc(100% - 3.2rem);
    margin-top: 1.6rem;
    border-radius: 1.8rem;
  }

  .gallery-hero-banner__media {
    min-height: 28rem;
  }

  .gallery-hero-banner__dock {
    right: 1.2rem;
    bottom: 1.2rem;
    gap: 0.6rem;
    padding: 0.7rem;
  }

  .gallery-hero-banner__icon {
    width: 4.2rem;
    height: 4.2rem;
    font-size: 1.8rem;
  }

  .gallery-listing .container-fluid {
    padding-left: 1.6rem !important;
    padding-right: 1.6rem !important;
    padding-bottom: 6rem !important;
  }

  .gallery-listing .inner__content {
    gap: 3.2rem;
  }

  .gallery-topbar {
    gap: 1.2rem;
  }

  .gallery-sidebar {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 2;
    column-gap: 0.8rem;
  }

  .gallery-shot {
    margin-bottom: 0.8rem;
    border-radius: 1.4rem;
  }

  .gallery-shot__image {
    border-radius: 1.4rem;
  }

  .gallery-shot__overlay {
    border-radius: 1.4rem;
  }

  .gallery-search-input {
    min-height: 5.4rem;
    font-size: 1.5rem;
  }

  .gallery-shot__title {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 480px) {
  .gallery-listing .container-fluid {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }

  .gallery-grid {
    column-count: 1;
  }
}

@media only screen and (max-width: 767px) {
  .blog-post-meta {
    font-size: 1.4rem;
  }

  .blog-back-link {
    font-size: 1.45rem;
    padding: 1.15rem 1.8rem;
  }

  .blog-post-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-share-label {
    font-size: 1.3rem;
  }

  .blog-share-btn {
    width: 3.4rem;
    height: 3.4rem;
  }

  .blog-share-btn i {
    font-size: 1.7rem;
  }
}

@media only screen and (min-width: 1200px) {
  .blog-post-meta {
    font-size: 1.8rem;
  }
}

.blog-tags-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
  width: 100%;
  margin-bottom: 0.6rem;
  padding-bottom: 0.3rem;
}

.blog-tag-pill {
  border: 1px solid var(--stroke-elements);
  border-radius: 99rem;
  padding: 0.35rem 0.9rem;
  font: normal var(--font-weight-medium) 1.8rem var(--_font-default);
  color: var(--t-medium);
}

/* PhotoSwipe share links with icons */
.pswp__share-tooltip a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pswp__share-tooltip a i {
  font-size: 1.6rem;
  line-height: 1;
}

.pswp__share-tooltip a span {
  line-height: 1.2;
}

@media only screen and (min-width: 1200px) {
  .blog-tag-pill {
    font-size: 1.6rem;
  }
}

@media only screen and (min-width: 1600px) {
  .blog-tag-pill {
    font-size: 1.8rem;
  }
}

.blog-empty {
  margin-top: 2rem;
}

@media only screen and (min-width: 1200px) {
  .blog-controls__inner {
    padding: 2.6rem;
  }

  .blog-featured-content {
    padding: 3rem;
  }

  .blog-page #blog-grid {
    row-gap: 1.8rem;
  }
}

@media only screen and (max-width: 767px) {
  .blog-mobile-toggle-wrap {
    display: block;
  }

  .blog-listing.blog-listing--mobile-collapsed .blog-controls {
    display: none;
  }

  .blog-hero-banner {
    margin: 1.6rem 1.2rem 0;
  }

  .blog-hero-banner__media {
    min-height: 40rem;
  }

  .blog-hero-banner__content {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    gap: 0.85rem;
  }

  .blog-hero-banner__title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
    line-height: 1.06;
  }

  .blog-hero-banner__subtitle {
    font-size: clamp(1.35rem, 3.9vw, 1.65rem);
    line-height: 1.45;
  }

  .blog-hero-banner__cta.btn-default {
    height: 5rem;
    line-height: 5rem;
    padding: 0 2rem;
    border-radius: 2.8rem;
    font-size: 1.45rem;
    background: rgba(255, 255, 255, 0.95);
    color: #0f141d;
    border-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none;
  }
}

/* Booking page premium services layout */
.booking-hero-banner {
  position: relative;
  isolation: isolate;
  width: calc(100% - 2.4rem);
  margin: 11.2rem 1.2rem 0;
  border-radius: 2.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
}

.booking-hero-banner__media {
  position: relative;
  min-height: 52rem;
}

.booking-hero-banner__media::after {
  content: none;
}

.booking-hero-banner__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.booking-hero-banner__content {
  position: absolute;
  left: 2.2rem;
  right: 2.2rem;
  bottom: 2.2rem;
  z-index: 2;
  max-width: 62rem;
  display: grid;
  gap: 1.1rem;
}

.booking-hero-banner__title {
  margin: 0;
  color: #ffffff;
  font: normal 500 clamp(3.2rem, 5.2vw, 6.2rem) var(--_font-accent);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-shadow: 0 6px 20px rgba(8, 10, 14, 0.75);
}

.booking-hero-banner__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font: normal 400 clamp(1.6rem, 1.25vw, 2rem)/1.55 var(--_font-default);
  max-width: 48ch;
  text-shadow: 0 2px 12px rgba(8, 10, 14, 0.72);
}

.booking-hero-banner__cta {
  margin-top: 0.8rem;
  width: fit-content;
}

.booking-services .booking-pro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.booking-services .booking-pro-card {
  position: relative;
  min-height: 30rem;
  border-radius: 1.8rem;
  overflow: hidden;
  border: 1px solid var(--stroke-elements);
  background-color: var(--base-tint);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.booking-services .booking-pro-card::before {
  content: "Discount Available";
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 4;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(17, 24, 36, 0.52);
  color: rgba(255, 255, 255, 0.95);
  font: normal var(--font-weight-medium) 1.15rem/1 var(--_font-default);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.booking-services .booking-pro-card:hover {
  transform: translateY(-0.4rem);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.28);
}

.booking-services .booking-pro-card--featured {
  grid-column: span 2;
  min-height: 40rem;
}

.booking-services .booking-pro-media {
  position: absolute;
  inset: 0;
}

.booking-services .booking-pro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.6s ease;
}

.booking-services .booking-pro-card:hover .booking-pro-media img {
  transform: scale(1.06);
}

.booking-services .booking-pro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 14, 20, 0.12) 0%, rgba(10, 14, 20, 0.62) 56%, rgba(10, 14, 20, 0.92) 100%);
}

.booking-services .booking-pro-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: 2.2rem;
}

.booking-services .booking-pro-kicker {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  border-radius: 99rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 17, 26, 0.36);
  color: rgba(255, 255, 255, 0.9);
  font: normal var(--font-weight-medium) 1.3rem var(--_font-default);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.booking-services .booking-pro-title {
  margin: 0;
  color: #ffffff;
  font: normal var(--font-weight-medium) 3rem/1.15 var(--_font-default);
}

.booking-services .booking-pro-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font: normal var(--font-weight-normal) 1.6rem/1.55 var(--_font-default);
  max-width: 48ch;
}

.booking-services .booking-book-btn {
  margin-top: 0.8rem;
  align-self: flex-start;
}

@media only screen and (min-width: 768px) {
  .booking-hero-banner {
    width: calc(100% - 4rem);
    margin: 12rem 2rem 0;
    border-radius: 2.6rem;
  }

  .booking-hero-banner__media {
    min-height: 54rem;
  }

  .booking-hero-banner__content {
    left: 2.6rem;
    right: 2.6rem;
    bottom: 2.6rem;
  }
}

@media only screen and (min-width: 1200px) {
  .booking-hero-banner {
    width: calc(100% - 5.6rem);
    height: calc(100% - 1.6rem);
    margin: 1.6rem 2.8rem 0;
    min-height: 0;
  }

  .booking-hero-banner__media {
    height: 100%;
    min-height: 0;
  }
}

@media only screen and (max-width: 991px) {
  .booking-services .booking-pro-grid {
    grid-template-columns: 1fr;
  }

  .booking-services .booking-pro-card--featured {
    grid-column: auto;
    min-height: 32rem;
  }
}

@media only screen and (max-width: 767px) {
  .booking-hero-banner {
    margin: 1.6rem 1.2rem 0;
  }

  .booking-hero-banner__media {
    min-height: 40rem;
  }

  .booking-hero-banner__content {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    gap: 0.85rem;
  }

  .booking-hero-banner__title {
    font-size: clamp(2.4rem, 8.4vw, 3.6rem);
    line-height: 1.06;
  }

  .booking-hero-banner__subtitle {
    font-size: clamp(1.35rem, 3.9vw, 1.7rem);
    line-height: 1.45;
  }

  .booking-hero-banner__cta.btn-default {
    height: 5rem;
    line-height: 5rem;
    padding: 0 2rem;
    border-radius: 2.8rem;
    font-size: 1.45rem;
    background: rgba(255, 255, 255, 0.95);
    color: #0f141d;
    border-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none;
  }

  .booking-services .booking-pro-card,
  .booking-services .booking-pro-card--featured {
    min-height: 28rem;
  }

  .booking-services .booking-pro-content {
    padding: 1.8rem;
  }

  .booking-services .booking-pro-title {
    font-size: 2.4rem;
  }

  .booking-services .booking-pro-text {
    font-size: 1.5rem;
  }

  .booking-services .booking-pro-card::before {
    font-size: 1.05rem;
    padding: 0.4rem 0.75rem;
  }
}

@media only screen and (max-width: 575px) {
  .booking-services .booking-book-btn.btn-default {
    width: auto;
    height: 5.2rem;
    line-height: 5.2rem;
    padding: 0 2.2rem;
    border-radius: 3rem;
    font-size: 1.5rem;
  }
}

/* Strong mobile/tablet sizing for top banners */
@media only screen and (max-width: 991px) {
  .blog-hero-banner {
    margin: 1.4rem 1rem 0 !important;
    border-radius: 1.8rem !important;
  }

  .blog-hero-banner__media {
    min-height: 36rem !important;
  }

  .blog-hero-banner__content {
    left: 1.3rem !important;
    right: 1.3rem !important;
    bottom: 1.3rem !important;
    max-width: 100% !important;
    gap: 0.8rem !important;
  }

  .blog-hero-banner__title {
    font-size: clamp(2.1rem, 5.8vw, 3.2rem) !important;
    line-height: 1.08 !important;
  }

  .blog-hero-banner__subtitle {
    font-size: clamp(1.3rem, 2.8vw, 1.62rem) !important;
    line-height: 1.42 !important;
    max-width: 42ch !important;
  }

  .blog-hero-banner__cta.btn-default {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: flex-start !important;
    width: auto !important;
    max-width: 100% !important;
    height: 4.5rem !important;
    line-height: 4.5rem !important;
    padding: 0 1.7rem !important;
    font-size: 1.3rem !important;
  }

  .booking-hero-banner {
    margin: 1.4rem 1rem 0 !important;
    border-radius: 1.8rem !important;
  }

  .booking-hero-banner__media {
    min-height: 36rem !important;
  }

  .booking-hero-banner__content {
    left: 1.3rem !important;
    right: 1.3rem !important;
    bottom: 1.3rem !important;
    max-width: 100% !important;
    gap: 0.8rem !important;
  }

  .booking-hero-banner__title {
    font-size: clamp(2.2rem, 6.1vw, 3.4rem) !important;
    line-height: 1.08 !important;
  }

  .booking-hero-banner__subtitle {
    font-size: clamp(1.3rem, 2.9vw, 1.66rem) !important;
    line-height: 1.42 !important;
    max-width: 40ch !important;
  }

  .booking-hero-banner__cta.btn-default {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: flex-start !important;
    width: auto !important;
    max-width: 100% !important;
    height: 4.5rem !important;
    line-height: 4.5rem !important;
    padding: 0 1.7rem !important;
    font-size: 1.3rem !important;
  }
}

@media only screen and (max-width: 575px) {
  .blog-hero-banner__media,
  .booking-hero-banner__media {
    min-height: 32rem !important;
  }

  .blog-hero-banner__kicker {
    font-size: 1.05rem !important;
  }

  .blog-hero-banner__cta.btn-default,
  .booking-hero-banner__cta.btn-default {
    width: auto !important;
    max-width: 100% !important;
    height: 4.2rem !important;
    line-height: 4.2rem !important;
    padding: 0 1.5rem !important;
    font-size: 1.2rem !important;
    border-radius: 2.4rem !important;
  }
}


/* Hide social cards to prevent left-side menu display */
.socials-cards {
  display: none !important;
}
