/* Additions on top of the original Elementor styles. */
.elementor-form .captcha-notice {
  flex-basis: 100%;
  margin: 14px 3px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--e-global-color-text, #1b1b1b);
}
.elementor-form .captcha-notice a {
  color: inherit;
  text-decoration: underline;
}
.elementor-form .osam-form-error {
  flex-basis: 100%;
  margin: 12px 3px 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fcecea;
  border: 1px solid #e3a59d;
  color: #8a2a1e;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
}
.elementor-form .elementor-field[aria-invalid='true'] {
  border-color: #c0392b !important;
}
.elementor-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}
.skip-link:focus {
  z-index: 100000;
}

/* Thank you + 404 pages */
.osam-simple {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 220px 20px 120px;
  text-align: center;
  background: #2b2522 url('/wp-content/uploads/2026/09/dark-brown-wooden-planks-for-background-texture-2026-09-23-17-53-57-utc-scaled.webp') center / cover;
}
.osam-simple::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 27, 0.55);
}
.osam-simple__inner {
  position: relative;
  max-width: 720px;
}
.osam-simple__eyebrow {
  margin: 0 0 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #efe8da;
}
.osam-simple h1 {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  color: #efe8da;
}
.osam-simple p {
  margin: 0 0 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #fcfcfc;
}
.osam-simple__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.osam-simple__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 34px;
  border-radius: 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  text-decoration: none;
  background: #efe8da;
  color: #1b1b1b;
  transition: background-color 0.3s, color 0.3s;
}
.osam-simple__actions a + a {
  background: transparent;
  color: #efe8da;
  border: 1px solid #efe8da;
}
.osam-simple__actions a:hover {
  background: #5a524c;
  color: #fcfcfc;
}

/* Non-Elementor pages (thank you, 404, trailer catalogue) are full width like the rest of the site;
   the Hello theme otherwise boxes .site-main to 500-1140px. */
body:not([class*='elementor-page-']) .site-main {
  max-width: none;
  padding-inline: 0;
}

/* Footer "Follow Us" Facebook link */
.elementor-127 .osam-follow-heading {
  margin-top: 14px;
}
.osam-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 22px 8px 8px;
  border: 1px solid var(--e-global-color-accent, #5a524c);
  border-radius: 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--e-global-color-accent, #5a524c);
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.osam-social a i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--e-global-color-accent, #5a524c);
  color: #efe8da;
  font-size: 15px;
}
.osam-social a:hover {
  background: var(--e-global-color-accent, #5a524c);
  color: #efe8da;
  transform: translateY(-4px);
}
.osam-social a:hover i {
  background: #efe8da;
  color: var(--e-global-color-accent, #5a524c);
}

/* Homepage Featured Equipment slider: the outside arrows pushed the page wider than
   the screen on phones (sideways scroll). Keep them inside the viewport there. */
@media (max-width: 767px) {
  .elementor-element-ab24095 .king-addons-card-slider__arrow--prev {
    left: -10px !important;
    right: auto !important;
  }
  .elementor-element-ab24095 .king-addons-card-slider__arrow--next {
    right: -10px !important;
    left: auto !important;
  }
}

/* Services page "Our Services" cards: same-size images (photos have mixed shapes). */
.elementor-element-159eb537 .king-addons-card-slider__media img {
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
}
/* ...and the buttons sit on one line along the bottom of every card. */
.elementor-element-159eb537 .king-addons-card-slider__body {
  flex-grow: 1;
}
.elementor-element-159eb537 .king-addons-card-slider__button {
  margin-top: auto;
}

/* Shop and homepage trailer cards: one image shape, so catalogue photos match the rest. */
.elementor-element-a989ecf .king-addons-card-slider__media img,
.elementor-element-775eab0 .king-addons-card-slider__media img,
.elementor-element-4682f7f .king-addons-card-slider__media img,
.elementor-element-ab24095 .king-addons-card-slider__media img {
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}

/* Trailer Parts page: parts we supply */
.tp-parts {
  padding: 90px 0;
  background: rgba(239, 232, 218, 0.39);
  font-family: 'DM Sans', sans-serif;
  color: #1b1b1b;
}
.tp-parts__wrap {
  width: min(100% - 40px, 1140px);
  margin-inline: auto;
}
.tp-parts__head {
  max-width: 760px;
  margin-bottom: 40px;
}
.tp-parts__eyebrow {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #5a524c;
}
.tp-parts h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 45px;
  font-weight: 700;
  line-height: 1;
  color: #1b1b1b;
}
.tp-parts__head p:not(.tp-parts__eyebrow) {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.7;
}
.tp-parts a {
  color: #5a524c;
}
.tp-parts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.tp-part {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}
.tp-part img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.tp-part__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}
.tp-part h3 {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #1b1b1b;
}
.tp-part ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
}
.tp-part li {
  position: relative;
  padding-left: 18px;
}
.tp-part li + li {
  margin-top: 4px;
}
.tp-part li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5a524c;
}
.tp-part--cta {
  justify-content: center;
  background: #5a524c;
  border-color: #5a524c;
}
.tp-part--cta h3,
.tp-part--cta p {
  color: #efe8da;
}
.tp-part--cta p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.tp-part__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 20px;
  padding: 12px 24px;
  border-radius: 30px;
  background: #efe8da;
  color: #5a524c !important;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s;
}
.tp-part__btn:hover {
  transform: translateY(-4px);
}
@media (max-width: 1024px) {
  .tp-parts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .tp-parts {
    padding: 56px 0;
  }
  .tp-parts h2 {
    font-size: 34px;
  }
  .tp-parts__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Parts page: "Help with Trailer Parts and Materials" no longer has an image beside it,
   so it sits centred on the page at a readable width. */
.elementor-30 .elementor-element.elementor-element-98f535b {
  --padding-left: 4%;
  --padding-right: 4%;
  --align-items: center;
  align-items: center;
  text-align: center;
}
.elementor-30 .elementor-element.elementor-element-98f535b > * {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}
.elementor-30 .elementor-element.elementor-element-1acfa97,
.elementor-30 .elementor-element.elementor-element-a091f8e,
.elementor-30 .elementor-element.elementor-element-27225bb,
.elementor-30 .elementor-element.elementor-element-21d0a61,
.elementor-30 .elementor-element.elementor-element-0126ff4 {
  text-align: center;
}
.elementor-30 .elementor-element.elementor-element-6328ab8 {
  --justify-content: center;
  --align-items: center;
  justify-content: center;
  align-items: center;
}

/* Client disclaimer under trailer listings and prices */
.tt-disclaimer {
  width: 100%;
  max-width: 820px;
  margin: 28px 0 0 !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px !important;
  font-style: italic;
  line-height: 1.6 !important;
  color: #5f5852;
}
.tc-buy .tt-disclaimer {
  margin-top: 24px !important;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}
