/*
 * The landing application keeps its original section design.
 * Shared PHP components now own the public header and footer on every page.
 */

.landing-application > main > header.header,
.landing-application > main > footer,
.landing-application > main > .floating-whatsapp {
  display: none !important;
}

.home-page-body .landing-application > main {
  min-height: 100vh;
}

.home-page-body .landing-application {
  position: relative;
  display: grid;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(37, 143, 255, 0.1),
      transparent 30%
    ),
    #f5faff;
}

.home-page-body:not(.home-content-ready) .site-footer,
.home-page-body:not(.home-content-ready) .site-floating-whatsapp {
  opacity: 0;
  visibility: hidden;
}

.home-page-body .site-footer,
.home-page-body .site-floating-whatsapp {
  transition:
    opacity 280ms ease,
    visibility 280ms ease;
}

.home-page-body .landing-application:empty::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(13, 108, 205, 0.14);
  border-top-color: #0879dd;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  animation: home-loader-spin 800ms linear infinite;
}

@keyframes home-loader-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.home-page-body .hero {
  padding-top: 84px;
}

@media (max-width: 680px) {
  .home-page-body .hero {
    padding-top: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page-body .landing-application:empty::before {
    animation: none;
  }
}

/* Prevent wide carousel/tracks inside the React landing page from defining
 * the implicit CSS-grid column width. This was making the whole home page
 * render at roughly twice the viewport width and look browser-zoomed.
 */
.home-page-body .landing-application {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.home-page-body .landing-application > main {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.home-page-body .landing-application > main > * {
  min-width: 0;
  max-width: 100%;
}

/* =========================================================
   PREMIUM HERO SPACING — MATCH ABOUT PAGE
   ========================================================= */
.home-page-body .landing-application {
  box-sizing: border-box;
  padding-top: var(--site-header-height, 82px);
}

.home-page-body .hero {
  box-sizing: border-box;
  height: min(760px, calc(100vh - var(--site-header-height, 82px) - 18px));
  margin: 18px clamp(14px, 2vw, 30px) 0;
  padding-top: 0;
}

.home-page-body .hero-copy {
  left: clamp(28px, 7vw, 118px);
}

@media (max-width: 900px) {
  .home-page-body .landing-application {
    padding-top: var(--site-header-height, 72px);
  }
}

@media (max-width: 640px) {
  .home-page-body .hero {
    height: 680px;
    margin: 10px 10px 0;
    border-radius: 26px;
  }

  .home-page-body .hero-copy {
    right: 20px;
    bottom: 48px;
    left: 20px;
  }
}

/* =========================================================
   ADMIN-UPLOADED CTA ICON SIZE FIX
   Prevents WhatsApp and other uploaded icons from expanding.
   ========================================================= */
.home-page-body .hero-actions .button > img.admin-icon,
.home-page-body .contact-card .button > img.admin-icon,
.home-page-body .hero-actions .button > svg,
.home-page-body .contact-card .button > svg {
  display: block !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  flex: 0 0 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 4px !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

/* WhatsApp button: proper green */
.home-page-body .contact-card .button.whatsapp-button {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  background: linear-gradient(
    135deg,
    #087a3f 0%,
    #11a857 46%,
    #25d366 100%
  ) !important;
  box-shadow:
    0 18px 38px rgba(37, 211, 102, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.24) !important;
}

.home-page-body .contact-card .button.whatsapp-button:hover {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  background: linear-gradient(
    135deg,
    #066d38 0%,
    #0e9a4f 46%,
    #20c55d 100%
  ) !important;
  box-shadow:
    0 23px 46px rgba(37, 211, 102, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.27) !important;
}

/* Instagram button: clean purple-pink gradient without red/orange edge */
.home-page-body .contact-card .button.instagram-button {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  background: linear-gradient(
    135deg,
    #405de6 0%,
    #5851db 27%,
    #833ab4 55%,
    #c13584 79%,
    #e1306c 100%
  ) !important;
  background-clip: padding-box !important;
  box-shadow:
    0 18px 38px rgba(131, 58, 180, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.25) !important;
}

.home-page-body .contact-card .button.instagram-button:hover {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.36) !important;
  background: linear-gradient(
    135deg,
    #3652d7 0%,
    #5048cf 27%,
    #772fa8 55%,
    #b52e7b 79%,
    #d72863 100%
  ) !important;
  box-shadow:
    0 23px 46px rgba(131, 58, 180, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.28) !important;
}

.home-page-body .contact-card .button.instagram-button .bi-instagram {
  display: inline-grid !important;
  place-items: center !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  flex: 0 0 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

.home-page-body .contact-card .button.instagram-button > svg:last-child {
  color: #ffffff !important;
}

@media (max-width: 560px) {
  .home-page-body .contact-card > div {
    align-items: stretch;
    flex-direction: column;
  }

  .home-page-body .contact-card .button.whatsapp-button,
  .home-page-body .contact-card .button.instagram-button {
    width: min(100%, 330px);
    margin-inline: auto;
  }
}


/* =========================================================
   CONTACT CTA DECORATION LAYER FIX
   Keep the curved decorative circles BEHIND the CTA content
   so WhatsApp / Instagram buttons remain fully clickable.
   ========================================================= */
.home-page-body .contact-card {
  isolation: isolate;
}

.home-page-body .contact-card::before,
.home-page-body .contact-card::after {
  z-index: 0 !important;
  pointer-events: none !important;
}

.home-page-body .contact-card > * {
  position: relative;
  z-index: 2 !important;
}

.home-page-body .contact-card .button,
.home-page-body .contact-card a.button {
  position: relative;
  z-index: 3 !important;
  pointer-events: auto !important;
}

/* =========================================================
   RESPONSIVE HERO BANNERS
   Separate desktop and mobile artwork from Admin Panel.
   ========================================================= */
.home-page-body .hero-slide .hero-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page-body .hero-slide .hero-banner-mobile {
  display: none !important;
}

@media (max-width: 767px) {
  .home-page-body .hero-slide .hero-banner-desktop.has-mobile {
    display: none !important;
  }

  .home-page-body .hero-slide .hero-banner-mobile {
    display: block !important;
    object-position: center center !important;
  }
}

@media (min-width: 768px) {
  .home-page-body .hero-slide .hero-banner-desktop {
    display: block !important;
  }

  .home-page-body .hero-slide .hero-banner-mobile {
    display: none !important;
  }
}


/* =========================================================
   FEATURED SOLUTIONS — DESKTOP IMAGE FIT
   Keep the complete uploaded image visible on laptop/desktop.
   Mobile layout is intentionally left unchanged.
   ========================================================= */
@media (min-width: 901px) {
  .home-page-body .showcase-grid .showcase-image {
    height: auto !important;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #eef7fb 0%, #f8fbfd 100%);
  }

  .home-page-body .showcase-grid .showcase-image > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }

  .home-page-body .showcase-grid .showcase-card:hover .showcase-image > img {
    transform: scale(1.015) !important;
  }
}


/* =========================================================
   USEFUL TECHNOLOGY / SERVICE CARD ICON VISIBILITY
   Uploaded images are shown directly and larger instead of
   being squeezed inside the small blue icon tile.
   ========================================================= */
.home-page-body .service-card-grid .service-icon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
}

.home-page-body .service-card-grid .service-icon svg {
  width: 34px;
  height: 34px;
}

/* Modern browsers: remove the decorative icon tile only when
   the admin has uploaded a real image. */
.home-page-body .service-card-grid .service-icon:has(img) {
  width: 88px;
  height: 88px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page-body .service-card-grid .service-icon:has(img) img {
  display: block;
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent;
  box-shadow: none;
  transform: none !important;
}

.home-page-body .service-card-grid article:hover .service-icon:has(img) {
  transform: translateY(-3px) scale(1.04);
}

/* Tablet/mobile: still prominent without taking too much card space. */
@media (max-width: 700px) {
  .home-page-body .service-card-grid .service-icon {
    width: 70px;
    height: 70px;
  }

  .home-page-body .service-card-grid .service-icon:has(img) {
    width: 78px;
    height: 78px;
  }

  .home-page-body .service-card-grid .service-icon:has(img) img {
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }
}


/* =========================================================
   TRUSTED DELIVERY → FEATURED SOLUTIONS SPACING
   Adds clean breathing room between these two home sections.
   ========================================================= */
.home-page-body .rating-band {
  margin-bottom: 0 !important;
}

.home-page-body .rating-band + .showcase-strip {
  margin-top: clamp(38px, 4.8vw, 74px) !important;
  padding-top: clamp(58px, 6vw, 92px) !important;
}

@media (max-width: 800px) {
  .home-page-body .rating-band + .showcase-strip {
    margin-top: 34px !important;
    padding-top: 48px !important;
  }
}

@media (max-width: 560px) {
  .home-page-body .rating-band + .showcase-strip {
    margin-top: 28px !important;
    padding-top: 42px !important;
  }
}


/* =========================================================
   START WITH A PROVEN — ADMIN IMAGE VISIBILITY FIX
   Dynamic package cards can be replaced after API load.
   Keep the card and uploaded artwork visible and above the
   section background at all times.
   ========================================================= */
.home-page-body .products .package-grid {
  position: relative;
  z-index: 2;
}

.home-page-body .products .package-grid article {
  position: relative;
  z-index: 2;
  isolation: isolate;
  opacity: 1 !important;
  visibility: visible !important;
}

.home-page-body .products .package-grid article[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

.home-page-body .products .product-visual.uploaded {
  position: relative;
  z-index: 2;
  display: grid !important;
  place-items: center;
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
  background: linear-gradient(145deg, #eef7fb, #f8fbfd);
}

.home-page-body .products .product-visual.uploaded img {
  position: relative;
  z-index: 3;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: contain !important;
  object-position: center center !important;
}


/* =========================================================
   START WITH A PROVEN — PREMIUM "MOST SELECTED" BADGE
   Keeps the badge above uploaded artwork and gives the
   recommended product a clear premium visual hierarchy.
   ========================================================= */
.home-page-body .products .package-grid article.popular {
  position: relative;
  overflow: visible !important;
  border-color: rgba(63, 125, 255, 0.52) !important;
  background:
    linear-gradient(180deg, rgba(239, 247, 255, 0.96) 0%, #ffffff 42%) !important;
  box-shadow:
    0 24px 60px rgba(35, 93, 180, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-page-body .products .package-grid article.popular::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 26px;
  background: linear-gradient(
    135deg,
    rgba(69, 127, 255, 0.18),
    rgba(74, 210, 224, 0.08),
    transparent 58%
  );
  pointer-events: none;
}

.home-page-body .products .package-grid .popular-label {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 30 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 7px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px !important;
  color: #ffffff !important;
  background:
    linear-gradient(
      115deg,
      #245cff 0%,
      #4b72ff 38%,
      #6857e8 68%,
      #3e9fda 100%
    ) !important;
  box-shadow:
    0 10px 24px rgba(42, 88, 220, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 9px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.105em !important;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  transform: translateZ(0);
}

.home-page-body .products .package-grid .popular-label::before {
  content: "✦";
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border-radius: 50%;
  color: #17355e;
  background: linear-gradient(135deg, #ffffff, #ccecff);
  box-shadow: 0 0 15px rgba(199, 235, 255, 0.55);
  font-size: 8px;
  line-height: 1;
}

.home-page-body .products .package-grid article.popular .product-visual,
.home-page-body .products .package-grid article.popular .product-visual.uploaded,
.home-page-body .products .package-grid article.popular .product-visual.uploaded img {
  z-index: 2 !important;
}

/* The label must always remain over the image. */
.home-page-body .products .package-grid article.popular .popular-label {
  z-index: 40 !important;
}

@media (max-width: 700px) {
  .home-page-body .products .package-grid .popular-label {
    top: 14px !important;
    right: 14px !important;
    min-height: 28px;
    padding: 7px 10px !important;
    font-size: 8px !important;
  }
}


/* =========================================================
   CLIENT REVIEWS — PREMIUM AUTO CAROUSEL
   3 cards desktop / 2 tablet / 1 mobile, advances every 4 sec.
   ========================================================= */
.home-page-body .reviews {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(71, 172, 224, 0.10), transparent 28%),
    radial-gradient(circle at 92% 84%, rgba(107, 98, 238, 0.08), transparent 30%),
    linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.home-page-body .reviews-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.home-page-body .reviews-head h2 {
  font-size: clamp(2.7rem, 4.5vw, 5.1rem);
}

.home-page-body .review-carousel {
  position: relative;
  max-width: 1460px;
  margin: 0 auto;
}

.home-page-body .review-grid {
  position: relative;
  display: flex !important;
  gap: 18px !important;
  overflow-x: auto;
  overflow-y: visible;
  padding: 6px 3px 22px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-page-body .review-grid::-webkit-scrollbar {
  display: none;
}

.home-page-body .review-grid .review-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  min-height: 355px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  overflow: hidden;
  padding: 27px 27px 23px !important;
  border: 1px solid rgba(39, 94, 124, 0.11) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(72, 150, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98), #f9fcfe) !important;
  box-shadow:
    0 22px 58px rgba(35, 78, 104, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.95);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

.home-page-body .review-grid .review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25px;
  right: 25px;
  height: 3px;
  z-index: 2;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #38a8dc, #5578ef, #6b63e8);
  opacity: .84;
}

.home-page-body .review-grid .review-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(63, 135, 191, 0.22) !important;
  box-shadow:
    0 30px 72px rgba(35, 78, 104, 0.13),
    inset 0 1px rgba(255, 255, 255, 0.95);
}

.home-page-body .review-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.home-page-body .review-person {
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.home-page-body .review-person > img,
.home-page-body .review-person > span {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border: 1px solid rgba(49, 126, 163, 0.10);
  box-shadow: 0 10px 24px rgba(34, 91, 121, 0.08);
}

.home-page-body .review-person > span {
  color: #176b96;
  background: linear-gradient(145deg, #e3f5ff, #edf4ff);
  font-size: .88rem;
  font-weight: 900;
}

.home-page-body .review-person div {
  min-width: 0;
}

.home-page-body .review-person b {
  overflow: hidden;
  color: #153449;
  font-size: .91rem;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page-body .review-person small {
  max-width: 235px;
  overflow: hidden;
  margin-top: 5px;
  color: #8195a3;
  font-size: .64rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page-body .review-card .stars {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 173, 52, 0.15);
  border-radius: 999px;
  background: #fff9ed;
  letter-spacing: 0 !important;
}

.home-page-body .review-card .stars span {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  color: #ffad34;
}

.home-page-body .review-card .stars img,
.home-page-body .review-card .stars svg {
  display: block;
  width: 14px !important;
  height: 14px !important;
  object-fit: contain;
}

.home-page-body .review-grid .review-card blockquote {
  position: relative;
  flex: 1 1 auto;
  margin: 0 !important;
  padding-top: 17px;
  border-top: 1px solid rgba(45, 91, 118, 0.09);
  color: #31596f;
  font: 400 1.08rem/1.72 Georgia, "Times New Roman", serif !important;
}

.home-page-body .review-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.home-page-body .review-verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(43, 147, 173, .13);
  border-radius: 999px;
  color: #39768d;
  background: #edf9fb;
  font-size: .59rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-page-body .review-verified::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #26a6b4, #387ed0);
  font-size: 9px;
}

.home-page-body .review-quote-mark {
  color: rgba(55, 129, 168, 0.16);
  font: 700 4rem/.62 Georgia, serif;
  user-select: none;
}

.home-page-body .review-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.home-page-body .review-dots button {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: #c8dce7;
  transition:
    width .28s ease,
    background .28s ease,
    transform .28s ease;
}

.home-page-body .review-dots button:hover {
  transform: scale(1.18);
  background: #79acc5;
}

.home-page-body .review-dots button.active {
  width: 30px;
  background: linear-gradient(90deg, #2ca0d4, #625fe8);
}

@media (max-width: 1080px) {
  .home-page-body .review-grid .review-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 700px) {
  .home-page-body .reviews-head {
    margin-bottom: 30px;
  }

  .home-page-body .review-grid {
    gap: 14px !important;
    padding-bottom: 18px;
  }

  .home-page-body .review-grid .review-card {
    flex-basis: 100%;
    min-height: 335px;
    padding: 23px 21px 21px !important;
    border-radius: 24px !important;
  }

  .home-page-body .review-card-top {
    gap: 12px;
    margin-bottom: 21px;
  }

  .home-page-body .review-person > img,
  .home-page-body .review-person > span {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .home-page-body .review-person b {
    font-size: .84rem;
  }

  .home-page-body .review-person small {
    max-width: 180px;
    font-size: .6rem;
  }

  .home-page-body .review-card .stars {
    gap: 1px;
    padding: 6px 7px;
  }

  .home-page-body .review-card .stars span,
  .home-page-body .review-card .stars img,
  .home-page-body .review-card .stars svg {
    width: 12px !important;
    height: 12px !important;
  }

  .home-page-body .review-grid .review-card blockquote {
    font-size: 1rem !important;
    line-height: 1.68 !important;
  }
}


/* =========================================================
   BUILT WITH PEOPLE — COMPANY LOGO CLEAN DISPLAY
   Uploaded company logos show directly without the blue tile.
   Initial-letter fallbacks keep their existing circle styling.
   ========================================================= */
.home-page-body .experience-ribbon .ribbon-logo:has(img) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.home-page-body .experience-ribbon .ribbon-logo:has(img) img {
  display: block;
  width: 88% !important;
  height: 88% !important;
  max-width: 58px;
  max-height: 58px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* When a company is opened, keep its uploaded logo clean too. */
.home-page-body .experience-ribbon .focus-logo:has(img) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.home-page-body .experience-ribbon .focus-logo:has(img) img {
  display: block;
  width: 92% !important;
  height: 92% !important;
  padding: 0 !important;
  background: transparent !important;
  object-fit: contain !important;
}

/* Keep transparent logos readable when a ribbon button is active/hovered. */
.home-page-body .experience-ribbon .ribbon-track button:hover .ribbon-logo:has(img),
.home-page-body .experience-ribbon .ribbon-track button.active .ribbon-logo:has(img) {
  background: transparent !important;
}


/* =========================================================
   COMPANY LOWER MOVING RIBBON — REAL LOGO DISPLAY
   Use the uploaded company logo in the second moving row.
   Logos have no blue/white tile behind them.
   ========================================================= */
.home-page-body .experience-ribbon .ribbon-ghost {
  padding-left: 12px;
}

.home-page-body .experience-ribbon .ribbon-ghost-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: #5f8496;
  background: transparent;
  box-shadow: none;
  font-size: .64rem;
  font-weight: 900;
  line-height: 1;
}

.home-page-body .experience-ribbon .ribbon-ghost-logo:has(img) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.home-page-body .experience-ribbon .ribbon-ghost-logo img {
  display: block;
  width: 32px !important;
  height: 32px !important;
  max-width: 32px;
  max-height: 32px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 700px) {
  .home-page-body .experience-ribbon .ribbon-ghost-logo {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .home-page-body .experience-ribbon .ribbon-ghost-logo img {
    width: 28px !important;
    height: 28px !important;
  }
}


/* =========================================================
   HOME FAQ — SHOW 8 + VIEW ALL
   ========================================================= */
.home-page-body .faq-view-all {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.home-page-body .faq-view-all > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid #cfe0e9;
  border-radius: 13px;
  color: #176f99;
  background: #ffffff;
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.home-page-body .faq-view-all > a:hover {
  border-color: #9ec8db;
  background: #f6fbfd;
  transform: translateY(-1px);
}

.home-page-body .faq-view-all svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 680px) {
  .home-page-body .faq-view-all {
    justify-content: stretch;
  }

  .home-page-body .faq-view-all > a {
    width: 100%;
    justify-content: center;
  }
}
