/* ==========================================================================
   Dental & Ozone Clinic — Inner pages
   Page banners, content text, blog, sidebar, contact, before/after gallery.
   Uses the same colour tokens as style.css (v2 design).
   ========================================================================== */

/* 1. Small helpers
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2000;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background-color: var(--v2-deep);
  color: var(--white);
}

.form-alert {
  font-size: 0.92rem;
}

/* Google reCAPTCHA is 304px wide — shrink it on very small screens */
.recaptcha-wrap {
  min-height: 78px;
}

@media (max-width: 380px) {
  .recaptcha-wrap .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}

/* Service card: real h3 / p inside the card */
.v2-treat-body {
  display: block;
}

h3.v2-treat-title,
p.v2-treat-text {
  margin-top: 0;
}

/* 2. Inner page banner (hero)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: linear-gradient(135deg, var(--v2-deep) 0%, var(--v2-deep-2) 55%, var(--brand) 100%);
  color: var(--white);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .v2-hero-mark {
  font-size: 300px;
  bottom: -80px;
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.45);
}

.page-breadcrumb a {
  color: var(--v2-lime);
  text-decoration: none;
}

.page-breadcrumb a:hover,
.page-breadcrumb a:focus {
  text-decoration: underline;
}

.page-hero-title {
  max-width: 900px;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.page-hero-lede {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero-404 {
  padding-bottom: 6rem;
}

.error-code {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(5rem, 3rem + 8vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: var(--v2-lime);
}

/* 3. Rich text from the admin editor (services, blogs, pages)
   -------------------------------------------------------------------------- */
.content-body {
  font-size: 1.02rem;
}

.content-body h2 {
  margin: 2.25rem 0 1rem;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
  color: var(--v2-deep);
}

.content-body h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.25rem;
  color: var(--v2-deep);
}

.content-body h2:first-child,
.content-body h3:first-child {
  margin-top: 0;
}

.content-body p {
  margin-bottom: 1rem;
}

.content-body ul,
.content-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
}

.content-body li {
  margin-bottom: 0.45rem;
}

.content-body ul li::marker {
  color: var(--brand);
}

.content-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.content-body table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.content-body th,
.content-body td {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--v2-line);
  vertical-align: top;
}

.content-body th {
  background-color: var(--mint);
  color: var(--v2-deep);
}

.content-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--v2-lime-deep);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background-color: var(--mint);
}

/* 4. Details card (service details + blog details)
   -------------------------------------------------------------------------- */
.detail-card {
  padding: 1.5rem;
  border-radius: var(--v2-r-lg);
  background-color: var(--white);
  box-shadow: var(--v2-shadow-sm);
}

@media (min-width: 768px) {
  .detail-card {
    padding: 2.5rem;
  }
}

.detail-image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  border-radius: var(--v2-r);
  object-fit: cover;
}

.detail-updated {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--v2-line);
  font-size: 0.9rem;
}

.answer-box {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--v2-r);
  border-left: 5px solid var(--v2-lime-deep);
  background-color: var(--mint);
  color: var(--heading);
}

.answer-box p:last-child {
  margin-bottom: 0;
}

.answer-box-label {
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--v2-r);
  background-color: var(--v2-ground);
}

.author-box img {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-box-label {
  margin-bottom: 0.15rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.author-box-name {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.author-box-name a {
  color: var(--v2-deep);
  text-decoration: none;
}

.share-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.share-label {
  margin-right: 0.25rem;
  font-weight: 600;
  color: var(--heading);
}

.share-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--mint);
  color: var(--v2-deep);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.share-box a:hover,
.share-box a:focus {
  background-color: var(--v2-deep);
  color: var(--white);
}

/* 5. Sidebar
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .sidebar-sticky {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

.sidebar-box {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--v2-r);
  background-color: var(--white);
  box-shadow: var(--v2-shadow-sm);
}

.sidebar-box-dark {
  background: linear-gradient(135deg, var(--v2-deep), var(--v2-deep-2));
  color: rgba(255, 255, 255, 0.85);
}

.sidebar-title {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  color: var(--v2-deep);
}

.sidebar-links li + li {
  border-top: 1px solid var(--v2-line);
}

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.25rem;
  color: var(--heading);
  text-decoration: none;
  font-weight: 500;
}

.sidebar-links a i {
  width: 1.25rem;
  color: var(--brand);
  text-align: center;
}

.sidebar-links a:hover,
.sidebar-links a:focus,
.sidebar-links a.active {
  color: var(--brand);
}

.sidebar-links a.active {
  font-weight: 700;
}

/* Recent articles */
.recent-post {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 0;
}

.recent-post + .recent-post {
  border-top: 1px solid var(--v2-line);
}

.recent-post:first-child {
  padding-top: 0;
}

.recent-post-thumb {
  flex-shrink: 0;
}

.recent-post-thumb img {
  width: 84px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.recent-post-title {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

.recent-post-title a {
  color: var(--v2-deep);
  text-decoration: none;
}

.recent-post-title a:hover,
.recent-post-title a:focus {
  color: var(--brand);
}

.recent-post-text {
  margin-bottom: 0.25rem;
  font-size: 0.83rem;
  line-height: 1.45;
}

.recent-post-meta {
  margin-bottom: 0;
  font-size: 0.76rem;
  color: var(--brand);
}

/* 6. Blog cards
   -------------------------------------------------------------------------- */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--v2-r);
  background-color: var(--white);
  box-shadow: var(--v2-shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--v2-shadow);
}

.blog-card-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 41 / 30;
  object-fit: cover;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.35rem 1.5rem 1.5rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  color: var(--brand);
}

.blog-meta-lg {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.blog-meta a {
  color: var(--brand);
  font-weight: 600;
}

.blog-card-title {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.blog-card-title a {
  color: var(--v2-deep);
  text-decoration: none;
}

.blog-card-title a:hover,
.blog-card-title a:focus {
  color: var(--brand);
}

.blog-card-text {
  flex-grow: 1;
  font-size: 0.93rem;
}

.blog-card-link {
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.blog-card-link:hover,
.blog-card-link:focus {
  text-decoration: underline;
}

/* Pagination */
.blog-pagination .pagination {
  justify-content: center;
  gap: 0.35rem;
  --bs-pagination-color: var(--v2-deep);
  --bs-pagination-hover-color: var(--white);
  --bs-pagination-hover-bg: var(--v2-deep);
  --bs-pagination-active-bg: var(--v2-deep);
  --bs-pagination-active-border-color: var(--v2-deep);
  --bs-pagination-border-radius: 999px;
}

.blog-pagination .page-link {
  min-width: 42px;
  border-radius: 999px !important;
  text-align: center;
}

.blog-pagination .small.text-muted {
  display: none;
}

/* 7. Tag cloud (location keywords)
   -------------------------------------------------------------------------- */
.tag-cloud-box {
  padding: 1.75rem;
  border-radius: var(--v2-r);
  background-color: var(--white);
  box-shadow: var(--v2-shadow-sm);
}

.tag-cloud-title {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  color: var(--v2-deep);
}

.tag-cloud-title i {
  color: var(--brand);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-cloud a {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 1px solid var(--v2-line);
  border-radius: 999px;
  background-color: var(--v2-ground);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--v2-deep);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.tag-cloud a:hover,
.tag-cloud a:focus {
  background-color: var(--v2-deep);
  color: var(--white);
}

.tag-cloud-sm a {
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
}

/* 8. About / doctor pages
   -------------------------------------------------------------------------- */
.quote-box {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  border-radius: var(--v2-r-lg);
  background-color: var(--white);
  box-shadow: var(--v2-shadow-sm);
  text-align: center;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--v2-lime-deep);
}

.qual-list li {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.qual-list li + li {
  margin-top: 0.75rem;
}

/* 9. Contact page
   -------------------------------------------------------------------------- */
.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
}

.contact-list li + li {
  border-top: 1px solid var(--v2-line);
}

.contact-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background-color: var(--v2-deep);
  color: var(--v2-lime);
  font-size: 1.1rem;
}

.contact-list h3 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
  color: var(--v2-deep);
}

.contact-list address,
.contact-list p {
  font-style: normal;
}

.contact-list a {
  color: var(--body);
  text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus {
  color: var(--brand);
}

.contact-form {
  padding: 1.75rem;
  border-radius: var(--v2-r-lg);
  background-color: var(--white);
  box-shadow: var(--v2-shadow);
}

@media (min-width: 768px) {
  .contact-form {
    padding: 2.5rem;
  }
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* 10. Before / after gallery
   -------------------------------------------------------------------------- */
.gallery-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.gallery-filter a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--v2-line);
  border-radius: 999px;
  background-color: var(--white);
  font-weight: 600;
  color: var(--v2-deep);
  text-decoration: none;
}

.gallery-filter a:hover,
.gallery-filter a:focus,
.gallery-filter a.active {
  border-color: var(--v2-deep);
  background-color: var(--v2-deep);
  color: var(--white);
}

.gallery-count {
  display: inline-block;
  min-width: 1.6rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background-color: var(--v2-lime);
  font-size: 0.75rem;
  color: var(--v2-deep);
  text-align: center;
}

.gallery-intro {
  max-width: 860px;
  margin-bottom: 2.5rem;
}

.gallery-group + .gallery-group {
  margin-top: 4rem;
}

.ba-card {
  height: 100%;
  overflow: hidden;
  border-radius: var(--v2-r);
  background-color: var(--white);
  box-shadow: var(--v2-shadow-sm);
}

.ba-images {
  display: flex;
}

.ba-image {
  position: relative;
  width: 50%;
}

.ba-image + .ba-image {
  border-left: 3px solid var(--white);
}

.ba-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background-color: rgba(12, 58, 52, 0.85);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.ba-label-after {
  background-color: var(--v2-lime);
  color: var(--v2-deep);
}

.ba-caption {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.92rem;
}

.ba-caption strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--v2-deep);
}

.ba-category {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.empty-state {
  padding: 3rem 1.5rem;
  border-radius: var(--v2-r);
  background-color: var(--white);
  text-align: center;
}

.empty-state i {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: var(--brand);
}

.gallery-note {
  margin: 2.5rem 0 0;
  font-size: 0.85rem;
  text-align: center;
}


/* ==========================================================================
   11. Design updates (round 2)
   ========================================================================== */

/* Home hero: shorter */
.v2-hero {
  padding: calc(var(--header-h) + 1.5rem) 0 4.5rem;
}

.v2-hero-title {
  margin: 1rem 0 0.85rem;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem);
}

.v2-hero-lede {
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.v2-trust {
  margin-top: 1.25rem;
}

.v2-quick-form {
  padding: 1.25rem 1.25rem 1rem;
}

.v2-quick-form .mb-3 {
  margin-bottom: 0.75rem !important;
}

/* Breadcrumb banner: shorter, with a blended background photo */
.page-hero {
  padding: calc(var(--header-h) + 1.25rem) 0 2rem;
}

.page-hero-photo {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.28;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.page-hero::after {
  /* darker on the left so the heading stays readable */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 58, 52, 0.85) 0%, rgba(12, 58, 52, 0.45) 60%, rgba(12, 58, 52, 0.2) 100%);
  pointer-events: none;
}

.page-hero .container {
  z-index: 2;
}

.page-hero .page-breadcrumb {
  margin-bottom: 0.6rem;
}

.page-hero-title {
  margin-bottom: 0.5rem;
  font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.5rem);
}

.page-hero-lede {
  font-size: 0.98rem;
}

.page-hero-404 {
  padding-bottom: 4rem;
}

/* Home "Dental clinic in Kirti Nagar" image */
.home-about-media {
  position: relative;
}

.home-about-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 542 / 400;
  object-fit: cover;
  border-radius: var(--v2-r-lg);
  box-shadow: var(--v2-shadow);
}

.home-about-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 14px;
  background-color: var(--white);
  box-shadow: var(--v2-shadow-sm);
  font-size: 0.85rem;
  line-height: 1.3;
}

.home-about-badge i {
  font-size: 1.2rem;
  color: var(--brand);
}

.home-about-badge strong {
  display: block;
  color: var(--v2-deep);
}

/* Meet your dentist: light shadow on degrees + experience box */
.v2-creds {
  gap: 0.75rem;
}

.v2-creds li {
  padding: 0.75rem 0.9rem;
  border-bottom: 0;
  border-radius: 14px;
  background-color: var(--white);
  box-shadow: 0 6px 18px -10px rgba(12, 58, 52, 0.28);
}

@media (min-width: 768px) {
  .v2-creds li {
    flex-basis: calc(50% - 0.375rem);
  }
}

.v2-doctor-tag {
  box-shadow: 0 10px 28px -12px rgba(12, 58, 52, 0.4);
}

/* Footer: arrow icons + vertical lines between columns */
.v2-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.v2-footer-links a i {
  font-size: 0.7rem;
  color: var(--v2-lime);
}

.v2-footer-links a:hover {
  transform: translateX(3px);
}

@media (min-width: 992px) {
  .footer-columns > .footer-col:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
}

.v2-footer-bottom a {
  color: var(--v2-lime);
  text-decoration: none;
}

.v2-footer-bottom a:hover,
.v2-footer-bottom a:focus {
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

/* Service details: image fills the top of the card */
.detail-card-flush {
  overflow: hidden;
  padding: 0 !important;
}

.detail-image-flush {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.detail-card-inner {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .detail-card-inner {
    padding: 2.5rem;
  }
}

/* Tag on blog photos (rounded pill) */
.photo-tag-wrap {
  position: relative;
}

.photo-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  max-width: calc(100% - 1.7rem);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background-color: var(--v2-lime);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.45);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--v2-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

/* Before / after: caption + short description */
.ba-title {
  display: block;
  margin-top: 0.15rem;
  font-weight: 600;
  color: var(--brand);
}

.ba-description {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Contact page: details card with light shadow, social icons, small map */
.contact-info {
  padding: 1.75rem;
  border-radius: var(--v2-r-lg);
  background-color: var(--white);
  box-shadow: 0 12px 34px -18px rgba(12, 58, 52, 0.35);
}

.contact-list {
  margin-bottom: 0;
}

.contact-social {
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--v2-line);
}

.contact-social h3 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  color: var(--v2-deep);
}

.contact-social ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--mint);
  color: var(--v2-deep);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.contact-social a:hover,
.contact-social a:focus {
  background-color: var(--v2-deep);
  color: var(--white);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: var(--v2-r);
}

/* Uploaded logos of any shape fit the header/footer without stretching */
.site-header .brand-logo,
.v2-footer-logo img {
  width: auto;
  max-width: 190px;
  max-height: 56px;
  object-fit: contain;
}

/* ==========================================================================
   12. Gallery: single photos, lightbox, videos
   ========================================================================== */
.ba-single {
  position: relative;
  display: block;
  background-color: var(--v2-ground);
}

.ba-single img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain; /* whole photo is visible, text on it is never cut */
}

.ba-image {
  display: block;
}

.ba-zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(12, 58, 52, 0.85);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.ba-single:hover .ba-zoom,
.ba-single:focus .ba-zoom {
  opacity: 1;
}

.lightbox-content {
  position: relative;
  padding: 0.75rem;
  border: 0;
  border-radius: var(--v2-r);
  background-color: #0a2f2a;
}

.lightbox-content img {
  display: block;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
}

.lightbox-caption {
  margin: 0.75rem 0.25rem 0.25rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.gallery-video-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 3.5rem;
  padding: 1.5rem;
  border-radius: var(--v2-r);
  background-color: var(--white);
  box-shadow: var(--v2-shadow-sm);
}

.gallery-video-cta > i {
  font-size: 2.4rem;
  color: var(--brand);
}

.gallery-video-cta > div {
  flex: 1 1 220px;
}

.video-card {
  height: 100%;
  overflow: hidden;
  border-radius: var(--v2-r);
  background-color: var(--white);
  box-shadow: var(--v2-shadow-sm);
}

.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  margin: 0 auto;
  background-color: #000;
}

.video-frame video,
.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background-color: #000;
}

.video-body {
  padding: 1rem 1.25rem 1.25rem;
}

.video-title {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  color: var(--v2-deep);
}
