/* =========================================================
   METRO INDUSTRIES — INNER PAGES V5
   Targeted fixes from the latest review.  Scoped to .inner-page
   so the client-approved homepage remains untouched.
========================================================= */

/* ---------- Defensive width / mobile overflow controls ---------- */
.inner-page,
.inner-page body {
  overflow-x: hidden;
}
.inner-page main,
.inner-page section,
.inner-page .container,
.inner-page .container-fluid,
.inner-page .container-xl,
.inner-page .container-xxl,
.inner-page .row,
.inner-page [class*="col-"],
.inner-page .swiper,
.inner-page .swiper-wrapper,
.inner-page .swiper-slide {
  min-width: 0;
  max-width: 100%;
}
.inner-page img,
.inner-page video,
.inner-page iframe,
.inner-page svg {
  max-width: 100%;
}

/* ---------- Inner title: CTA directly below title ---------- */
.inner-page .inner-title-v4 .inner-title-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.inner-page .inner-title-row-v4 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 23px;
}
.inner-page .inner-title-v4 h1 {
  max-width: 980px;
}
.inner-page .inner-title-btn-v4 {
    align-self: flex-start;
    min-height: 41px;
    padding: 9px 12px;
}

/* ---------- Product dropdown: normal underline + static caret ---------- */
.inner-page .metro-nav-dropdown > .nav-link.dropdown-toggle {
  padding-right: 27px !important;
}
.inner-page .metro-nav-dropdown > .nav-link.dropdown-toggle::after {
  position: absolute !important;
  left: auto !important;
  right: 11px !important;
  top: 50% !important;
  bottom: auto !important;
  width: 0 !important;
  height: 0 !important;
  margin: -1px 0 0 0 !important;
  border-top: .32em solid currentColor !important;
  border-right: .28em solid transparent !important;
  border-bottom: 0 !important;
  border-left: .28em solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  transform: translateY(-50%) !important;
  transform-origin: center !important;
  transition: none !important;
}
.inner-page .metro-nav-dropdown:hover > .dropdown-toggle::after,
.inner-page .metro-nav-dropdown > .dropdown-toggle.show::after,
.inner-page .metro-nav-dropdown > .dropdown-toggle.active::after {
  transform: translateY(-50%) !important;
}
.inner-page .metro-nav-dropdown > .nav-link.dropdown-toggle::before {
  content: "";
  position: absolute;
  left: 13px;
  right: 27px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #66a9ff);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .24s ease;
}
.inner-page .metro-nav-dropdown > .nav-link.dropdown-toggle:hover::before,
.inner-page .metro-nav-dropdown > .nav-link.dropdown-toggle.active::before,
.inner-page .metro-nav-dropdown > .nav-link.dropdown-toggle.show::before {
  transform: scaleX(1);
}

/* ---------- Contact enquiry imagery ---------- */
.inner-page .contact-image-main-v3 {
  min-height: 290px;
}
.inner-page .contact-image-main-v3 img {
  object-position: center;
  transition: transform .45s ease;
}
.inner-page .contact-image-stack-v3:hover .contact-image-main-v3 img {
  transform: scale(1.025);
}

/* ---------- About opening visual ---------- */
.inner-page .story-image-v4 > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
}

/* ---------- Media / What To Look For alignment ---------- */
.inner-page .media-focus-v4 .selection-grid-v3 {
  align-items: stretch;
}
.inner-page .media-focus-v4 .selection-card-v3 {
  min-height: 208px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  isolation: isolate;
}
.inner-page .media-focus-v4 .selection-card-v3::before {
  display: none !important;
  content: none !important;
}
.inner-page .media-focus-v4 .selection-card-v3::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 96px;
  height: 96px;
  top: 19px;
  right: 20px;
  bottom: auto;
  left: auto;
  border-radius: 50%;
  background: #edf3ff;
  opacity: .78;
}
.inner-page .media-focus-v4 .selection-card-v3 > * {
  position: relative;
  z-index: 1;
}
.inner-page .media-focus-v4 .selection-card-v3 > span:first-child {
  margin: 0 0 18px;
}
.inner-page .media-focus-v4 .selection-card-v3 h3 {
  margin: 0 0 8px;
  line-height: 1.35;
}
.inner-page .media-focus-v4 .selection-card-v3 p {
  margin: 0;
}

/* ---------- Related products: true looping Swiper ---------- */
.inner-page .related-products-v5 {
  overflow: hidden;
}
.inner-page .related-carousel-shell-v5 {
  position: relative;
  margin-top: 2px;
  overflow: hidden;
}
.inner-page .related-products-swiper-v5 {
  width: 100%;
  overflow: hidden;
  padding: 4px 2px 8px;
}
.inner-page .related-products-swiper-v5 .swiper-wrapper {
  align-items: stretch;
}
.inner-page .related-products-swiper-v5 .swiper-slide {
  height: auto;
  display: flex;
}
.inner-page .related-card-v5 {
  width: 100%;
  height: 100%;
  min-height: 135px;
}
.inner-page .related-carousel-controls-v5 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.inner-page .related-prev-v5,
.inner-page .related-next-v5 {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d5e0f2;
  border-radius: 50%;
  background: #fff;
  color: #0b1f53;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.inner-page .related-prev-v5:hover,
.inner-page .related-next-v5:hover {
  background: #0b1f53;
  border-color: #0b1f53;
  color: #fff;
}
.inner-page .related-pagination-v5 {
  width: auto !important;
  min-width: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.inner-page .related-pagination-v5 .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 !important;
  background: #9aabc7;
  opacity: .6;
}
.inner-page .related-pagination-v5 .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 999px;
  background: #2f67e7;
  opacity: 1;
}

/* ---------- Quote modal: compact desktop footprint ---------- */
.inner-page .quote-modal .modal-dialog {
  max-width: 760px;
}
.inner-page .quote-modal .modal-content {
  border-radius: 22px;
}
.inner-page .quote-modal .modal-header {
  padding: 17px 21px;
}
.inner-page .quote-modal .modal-kicker {
  margin-bottom: 3px;
  font-size: .68rem;
}
.inner-page .quote-modal .modal-title {
  font-size: 1.55rem;
  line-height: 1.15;
}
.inner-page .quote-modal .modal-body {
  padding: 20px;
}
.inner-page .quote-modal .modal-body > .row {
  --bs-gutter-x: 14px;
  --bs-gutter-y: 14px;
}
.inner-page .quote-modal .modal-info {
  padding: 18px;
  border-radius: 18px;
}
.inner-page .quote-modal .modal-info img {
  height: 128px;
  padding: 10px;
  margin-bottom: 13px;
  border-radius: 14px;
}
.inner-page .quote-modal .modal-info h3 {
  margin-bottom: 7px;
  font-size: 1.02rem;
}
.inner-page .quote-modal .modal-info p,
.inner-page .quote-modal .modal-info li {
  font-size: 0.93rem;
  line-height: 1.55;
}
.inner-page .quote-modal .modal-info ul {
  margin: 10px 0 0;
  padding-left: 17px;
}
.inner-page .quote-modal .form-label {
  margin-bottom: 4px;
  font-size: .85rem;
}
.inner-page .quote-modal .form-control,
.inner-page .quote-modal .form-select {
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 12px;
  font-size: .78rem;
}
.inner-page .quote-modal textarea.form-control {
  min-height: 82px;
}
.inner-page .quote-modal .btn-brand {
  min-height: 43px;
  padding-block: 9px;
}

/* ---------- Responsive finishing ---------- */
@media (max-width: 1199.98px) {
  .inner-page .story-image-v4 > img {
    height: 500px;
  }
}

@media (max-width: 991.98px) {
  .inner-page .inner-title-row-v4 {
    gap: 11px;
  }
  .inner-page .story-image-v4 > img {
    height: 430px;
  }
  .inner-page .quote-modal .modal-dialog {
    max-width: min(720px, calc(100% - 24px));
  }
  .inner-page .quote-modal .modal-info img {
    height: 110px;
  }
}

@media (max-width: 767.98px) {
  .inner-page .inner-title-v4 {
    padding: 22px 0 24px;
  }
  .inner-page .inner-title-v4 h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .inner-page .inner-title-btn-v4 {
    width: auto;
    max-width: 100%;
  }
  .inner-page .section-heading,
  .inner-page .section-heading.centered {
    max-width: 100%;
  }
  .inner-page .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .inner-page .contact-enquiry-grid-v3,
  .inner-page .about-quality-grid-v4,
  .inner-page .about-purpose-grid-v4 {
    min-width: 0;
  }
  .inner-page .contact-image-main-v3 {
    min-height: 235px;
  }
  .inner-page .story-image-v4 > img {
    height: 350px;
  }
  .inner-page .story-image-v4 .story-badge {
    max-width: calc(100% - 28px);
  }
  .inner-page .media-focus-v4 .selection-card-v3 {
    min-height: 185px;
    padding: 23px;
  }
  .inner-page .media-focus-v4 .selection-card-v3::after {
    width: 78px;
    height: 78px;
    right: 15px;
    top: 15px;
  }
  .inner-page .related-products-swiper-v5 {
    overflow: hidden;
  }
  .inner-page .related-card-v5 {
    grid-template-columns: 82px minmax(0,1fr) 32px;
    gap: 12px;
    min-height: 118px;
    padding: 13px;
  }
  .inner-page .related-card-v5 .related-card-v2-img {
    width: 82px;
    height: 78px;
  }
  .inner-page .quote-modal .modal-dialog {
    width: auto;
    max-width: calc(100% - 18px);
    margin: 9px auto;
  }
  .inner-page .quote-modal .modal-content {
    max-height: calc(100vh - 18px);
  }
  .inner-page .quote-modal .modal-body {
    overflow-y: auto;
    padding: 16px;
  }
  .inner-page .quote-modal .modal-header {
    padding: 14px 16px;
  }
  .inner-page .quote-modal .modal-title {
    font-size: 1.28rem;
  }
  .inner-page .quote-modal .modal-info {
    display: none;
  }
  .inner-page .quote-modal .modal-body .col-lg-7 {
    width: 100%;
  }
  .inner-page .quote-modal .form-control,
  .inner-page .quote-modal .form-select {
    min-height: 41px;
  }
  .inner-page .quote-modal textarea.form-control {
    min-height: 76px;
  }
}

@media (max-width: 575.98px) {
  .inner-page .inner-section {
    padding-left: 0;
    padding-right: 0;
  }
  .inner-page .story-image-v4 > img {
    height: 300px;
  }
  .inner-page .contact-image-main-v3 {
    height: 220px;
    min-height: 220px;
  }
  .inner-page .contact-image-small-v3 {
    height: 130px;
  }
  .inner-page .media-focus-v4 .selection-card-v3 {
    min-height: 175px;
  }
  .inner-page .related-carousel-controls-v5 {
    margin-top: 14px;
  }
}

/* Technical-data images must never widen the mobile page. */
@media (max-width: 767.98px) {
  .inner-page .technical-image-shell-v4 {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .inner-page .technical-image-shell-v4 img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .inner-page h1,
  .inner-page h2,
  .inner-page h3,
  .inner-page p,
  .inner-page a,
  .inner-page strong,
  .inner-page span {
    overflow-wrap: break-word;
  }

      .inner-page .inner-title-row-v4 {
        gap: 26px;
    }
}

.inner-page .related-pagination-v5 {

display: none;
}


.inner-page .inner-title-kicker-v4 {
display: none;
}