/* Listing detail design, scoped to Directorist business pages. */
body.single-at_biz_dir { --fab-single-navy:#0b203b; --fab-single-red:#ca1934; --fab-single-ink:#12233b; }
body.single-at_biz_dir .directorist-single-contents-area { border:1px solid #e1e7ed; border-radius:14px; background:#f5f7fa; box-shadow:0 14px 40px rgba(11,32,59,.07); }
body.single-at_biz_dir .theme-single-listing-slider-wrap { background:#e9eef2; }
/* Clip adjacent Swiper slides at the edge of the gallery panel. */
body.single-at_biz_dir .directorist-single-contents-area .theme-single-listing-slider-wrap,
body.single-at_biz_dir .directorist-single-contents-area .theme-single-listing-slider { overflow:hidden!important; }
/* Swiper rounds slide widths to whole pixels; cover the remaining fraction at desktop sizes. */
body.single-at_biz_dir .theme-single-listing-slider .swiper-slide-active {
  min-width:calc(100% + 1px)!important;
  z-index:1;
}
body.single-at_biz_dir .theme-single-listing-slider__item a,
body.single-at_biz_dir .theme-single-listing-slider__item picture { display:block; width:100%; height:100%; }
body.single-at_biz_dir .theme-single-listing-slider__item img { display:block; width:100%!important; height:100%!important; object-fit:cover!important; object-position:center; }
/* Older WordPress Additional CSS forces contain and adds internal padding. */
body.single-at_biz_dir .directorist-single-contents-area > .theme-single-listing-slider-wrap .swiper-slide img { width:100%!important; height:100%!important; max-width:none!important; max-height:none!important; padding:0!important; object-fit:cover!important; object-position:center!important; }
body.single-at_biz_dir .directorist-single-contents-area > .theme-single-listing-slider-wrap .swiper-slide > a,
body.single-at_biz_dir .directorist-single-contents-area > .theme-single-listing-slider-wrap .swiper-slide picture { padding:0!important; }
body.single-at_biz_dir .directorist-single-contents-area > .theme-single-listing-slider-wrap { background:#e9eef2!important; }
/* The first gallery slide uses the applied logo preview; preserve its complete artwork. */
body.single-at_biz_dir.fab-single-logo-preview .directorist-single-contents-area .theme-single-listing-slider-wrap .swiper-slide img,
body.single-at_biz_dir.fab-single-logo-preview .directorist-single-contents-area .theme-single-listing-slider__item img {
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
}
/* The plugin's hero derivative already fits this taller panel edge to edge. */
body.single-at_biz_dir .directorist-single-contents-area .theme-single-listing-slider-wrap.fab-generated-hero .swiper-slide:first-child img {
  object-fit:cover!important;
}
/* If the separate hero file is unavailable, show every pixel of the applied card image. */
body.single-at_biz_dir .directorist-single-contents-area .theme-single-listing-slider-wrap.fab-applied-landscape:not(.fab-generated-hero) .swiper-slide:first-child img {
  object-fit:contain!important;
}
/* ThatHomeEdLady has a 2:1 original banner in a taller hero frame. Keep its full lettering. */
body.single-at_biz_dir.postid-1856 .directorist-single-contents-area .theme-single-listing-slider-wrap,
body.single-at_biz_dir.postid-1856 .directorist-single-contents-area .theme-single-listing-slider__item,
body.single-at_biz_dir.postid-1856 .directorist-single-contents-area .theme-single-listing-slider__item img {
  background:#08204b!important;
}
body.single-at_biz_dir.postid-1856 .directorist-single-contents-area .theme-single-listing-slider-wrap .swiper-slide img {
  object-fit:contain!important;
  object-position:center!important;
}
body.single-at_biz_dir .directorist-single-listing-header-wrap { background:#fff; }
body.single-at_biz_dir .directorist-single-listing-header__listing-title { color:var(--fab-single-ink); font-weight:800; letter-spacing:-.035em; line-height:1.15; }
body.single-at_biz_dir .directorist-single-contents-area .directorist-single-listing-header__listing-title { color:var(--fab-single-ink)!important; font-weight:800!important; letter-spacing:-.035em!important; }
body.single-at_biz_dir .directorist-single-listing-content { background:#f5f7fa; }
body.single-at_biz_dir .directorist-single-listing-content .directorist-card { overflow:hidden; border:1px solid #e1e7ed; border-radius:12px; box-shadow:0 6px 20px rgba(11,32,59,.04); }
body.single-at_biz_dir .directorist-single-listing-content .directorist-card__header { border-left:0; }
body.single-at_biz_dir .directorist-single-listing-content .directorist-card__header__title { color:var(--fab-single-ink); font-weight:800; }
body.single-at_biz_dir .directorist-single-listing-content .directorist-card__body { line-height:1.75; }
body.single-at_biz_dir .directorist-related-listing .directorist-listing-card .directorist-listing-card-address { display:none; }
body.single-at_biz_dir .directorist-related-listing .directorist-listing-card .directorist-listing-card-location { text-transform:capitalize; }
@media(max-width:767px) {
  body.single-at_biz_dir .directorist-single-contents-area { border-radius:10px; }
  body.single-at_biz_dir .directorist-single-listing-header__listing-title { font-size:clamp(27px,7vw,37px); }
  body.single-at_biz_dir .directorist-single-listing-content .directorist-card { border-radius:9px; }
}
