/*
 * Aplus Car Removal — site theme.
 *
 * Loaded after the WordPress stylesheets (./vendor and public/assets/wp-late-styles.css), which
 * still provide the grid and the building blocks the page content is written in. This file is
 * the look of the site: header, footer, hero, quote form, buttons, lists, cards and bands.
 *
 * 1. Tokens and type      4. Hero and quote form     7. Blog, archives, plain pages
 * 2. Header and menu      5. Buttons and lists       8. Footer
 * 3. Phone quick bar      6. Sections and cards      9. Home page bands
 */

/* ---------------------------------------------------------------- 1. Tokens and type */

:root {
  --ap-red: #e80600;
  --ap-red-dark: #bf0500;
  --ap-ink: #0e0f11;
  --ap-charcoal: #1d1f23;
  --ap-yellow: #ffc837;
  --ap-yellow-dark: #f2b51b;
  --ap-mist: #f3f4f6;
  --ap-line: #d9dde3;
  --ap-text: #24262b;
  --ap-muted: #5b606b;
  --ap-radius: 8px;
  --ap-header-h: 0px;
  --ap-font: var(--font-asap), "Asap", "Helvetica Neue", Arial, sans-serif;
  --ap-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='6' fill='%23e80600'/%3E%3Cpath d='M6.6 12.6l3.5 3.5 7.3-7.9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ap-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4.5l7.5 7.5L9 19.5' fill='none' stroke='%23111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html {
  scroll-padding-top: calc(var(--ap-header-h) + 16px);
}

body {
  font-family: var(--ap-font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ap-text);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.alt-font,
.nav > li > a,
.button,
button,
input,
select,
textarea,
.off-canvas-center .nav-sidebar.nav-vertical > li > a {
  font-family: var(--ap-font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.banner h1,
.banner h2 {
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ap-ink);
}

h1 {
  font-size: 44px;
  line-height: 1.14;
  font-weight: 700;
}
h2 {
  font-size: 35px;
  line-height: 1.2;
  font-weight: 700;
}
h3 {
  font-size: 25px;
  line-height: 1.3;
}
h4 {
  font-size: 21px;
  line-height: 1.35;
}
h5 {
  font-size: 18px;
  line-height: 1.4;
}
h6 {
  font-size: 16px;
  line-height: 1.4;
}
p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 0.85em;
}

h1 b,
h1 strong,
h2 b,
h2 strong,
h3 b,
h3 strong,
h4 b,
h4 strong,
h5 b,
h5 strong {
  font-weight: inherit;
}

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6 {
  color: #fff;
}

a {
  color: var(--ap-red-dark);
}
a:hover {
  color: var(--ap-red);
}
span.text-red {
  color: var(--ap-red);
}

@media (max-width: 849px) {
  h1 {
    font-size: 33px;
    line-height: 1.16;
  }
  h2 {
    font-size: 28px;
    line-height: 1.22;
  }
  h3 {
    font-size: 22px;
    line-height: 1.3;
  }
  h4 {
    font-size: 19px;
    line-height: 1.35;
  }
  h5 {
    font-size: 17px;
    line-height: 1.4;
  }
  body,
  p {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 549px) {
  h1 {
    font-size: 30px;
    line-height: 1.16;
  }
  h2 {
    font-size: 25px;
    line-height: 1.22;
  }
  h3 {
    font-size: 21px;
    line-height: 1.3;
  }
  h4 {
    font-size: 18px;
    line-height: 1.35;
  }
  h5 {
    font-size: 17px;
    line-height: 1.4;
  }
  p {
    font-size: 16px;
    line-height: 1.6;
  }
}

.ap-container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------------------------------------------------------------- 2. Header and menu */

.ap-header {
  position: relative;
  z-index: 1000;
  background: var(--ap-ink);
}

.ap-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.ap-logo {
  display: block;
  flex: none;
  line-height: 0;
}
.ap-logo img {
  display: block;
  width: auto;
  height: 76px;
}

.ap-topbar__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.ap-social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ap-social li {
  margin: 0;
}
.ap-social__link {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: var(--ap-red);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  transition: background-color 0.15s, color 0.15s;
}
.ap-social__link:hover {
  background: var(--ap-yellow);
  color: var(--ap-ink);
}
.ap-social__link i {
  line-height: 1;
}

.ap-topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.ap-topbar__phone i {
  color: var(--ap-yellow);
  font-size: 0.72em;
}
.ap-topbar__phone:hover {
  color: var(--ap-yellow);
}

.ap-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 48px;
  height: 48px;
  padding: 0 6px;
}
.ap-burger span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--ap-yellow);
}

.ap-nav {
  background: var(--ap-red);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.ap-nav__list {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ap-nav__list > li {
  position: relative;
  margin: 0;
}
.ap-nav__link {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 46px;
  padding: 0 16px;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s;
}
.ap-nav__link i {
  font-size: 0.8em;
  opacity: 0.9;
}
.ap-nav__list > li:hover > .ap-nav__link,
.ap-nav__list > li.current-dropdown > .ap-nav__link,
.ap-nav__link:focus-visible {
  color: #fff;
  background: rgba(0, 0, 0, 0.16);
}
.ap-nav__list > li.active > .ap-nav__link,
.ap-nav__list > li.current-menu-item > .ap-nav__link,
.ap-nav__list > li.current-menu-ancestor > .ap-nav__link {
  color: var(--ap-yellow);
}

.ap-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  min-width: 264px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border-top: 3px solid var(--ap-yellow);
  border-radius: 0 0 var(--ap-radius) var(--ap-radius);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.ap-nav__list > li:last-child > .ap-nav__dropdown,
.ap-nav__list > li:nth-last-child(2) > .ap-nav__dropdown {
  left: auto;
  right: 0;
}
.ap-nav__list > li.current-dropdown > .ap-nav__dropdown,
.ap-nav__list > li:hover > .ap-nav__dropdown,
.ap-nav__list > li:focus-within > .ap-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.ap-nav__dropdown li {
  margin: 0;
}
.ap-nav__dropdown a {
  display: block;
  padding: 10px 18px;
  color: var(--ap-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}
.ap-nav__dropdown a:hover,
.ap-nav__dropdown li.active > a {
  color: var(--ap-red);
  background: var(--ap-mist);
}

@media (min-width: 850px) {
  :root {
    --ap-header-h: 132px;
  }
  .ap-header {
    position: sticky;
    top: 0;
  }
}

@media (max-width: 1040px) and (min-width: 850px) {
  .ap-nav__link {
    padding: 0 10px;
    font-size: 15.5px;
  }
}

@media (max-width: 849px) {
  .ap-topbar__inner {
    min-height: 72px;
  }
  .ap-logo img {
    height: 60px;
  }
  .ap-topbar__aside,
  .ap-nav {
    display: none;
  }
  .ap-burger {
    display: flex;
  }
}

/* Off-canvas menu (opened by the burger): dark drawer at every width. */
.off-canvas .mfp-content {
  width: 300px !important;
  background: var(--ap-ink) !important;
}
.off-canvas .sidebar-menu {
  padding: 56px 0 24px;
}
.off-canvas .nav-sidebar.nav-vertical > li {
  border-top: 0 !important;
  border-left: 5px solid transparent;
  transition: background-color 0.2s, border-color 0.2s;
}
.off-canvas .nav-sidebar.nav-vertical > li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.off-canvas .nav-sidebar.nav-vertical > li:hover,
.off-canvas .nav-sidebar.nav-vertical > li.current-menu-item,
.off-canvas .nav-sidebar.nav-vertical > li.current-menu-ancestor {
  background: rgba(255, 255, 255, 0.08) !important;
  border-left: 5px solid var(--ap-red) !important;
  padding-left: 0;
}
.off-canvas .nav-sidebar.nav-vertical > li > a {
  margin: 0;
  padding: 14px 18px;
  color: #fff !important;
  font-size: 17px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.off-canvas .nav-sidebar.nav-vertical > li > .toggle {
  color: var(--ap-yellow);
  opacity: 1;
}
.off-canvas .nav-sidebar.nav-vertical > li > ul {
  padding-bottom: 8px;
}
.off-canvas .nav-sidebar.nav-vertical > li > ul li a {
  padding: 8px 18px 8px 30px !important;
  color: #d5d8de !important;
  font-size: 15.5px !important;
  font-weight: 400;
}
.off-canvas .nav-sidebar.nav-vertical > li > ul li a:hover,
.off-canvas .nav-sidebar.nav-vertical > li > ul li.current-menu-item a {
  color: var(--ap-yellow) !important;
}
.off-canvas .mfp-close,
.mfp-ready.off-canvas .mfp-close {
  top: 6px;
  right: 6px;
  color: #fff;
  opacity: 1;
  mix-blend-mode: normal;
}
.ap-drawer-actions {
  padding: 22px 18px 0;
}
.ap-drawer-actions .ap-quick__btn {
  width: 100%;
}

/* ---------------------------------------------------------------- 3. Phone quick bar */

.ap-quick {
  display: none;
}
.ap-quick__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.ap-quick__btn--quote {
  background: var(--ap-yellow);
  color: var(--ap-ink);
}
.ap-quick__btn--quote::after {
  content: "";
  width: 15px;
  height: 15px;
  background: var(--ap-chevron) center / contain no-repeat;
}
.ap-quick__btn--quote:hover {
  background: var(--ap-yellow-dark);
  color: var(--ap-ink);
}
.ap-quick__btn--call {
  background: var(--ap-red);
  color: #fff;
}
.ap-quick__btn--call:hover {
  background: var(--ap-red-dark);
  color: #fff;
}
.ap-quick__btn i {
  font-size: 0.9em;
}

@media (max-width: 849px) {
  :root {
    --ap-header-h: 62px;
  }
  .ap-quick {
    position: sticky;
    top: 0;
    z-index: 999;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 10px;
    background: var(--ap-ink);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  }
}
@media (max-width: 380px) {
  .ap-quick__btn {
    font-size: 16px;
    padding: 0 8px;
    gap: 6px;
  }
}

/* ---------------------------------------------------------------- 4. Hero and quote form */

/* The first band of a page: photo, headline, selling points and the quote form. */
.content-area > .section.dark:first-child {
  padding-top: 46px !important;
  padding-bottom: 46px !important;
  background-color: var(--ap-charcoal);
}
.content-area > .section.dark:first-child > .section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 11, 14, 0.9) 0%, rgba(10, 11, 14, 0.74) 48%, rgba(10, 11, 14, 0.52) 100%);
}
.content-area > .section.dark:first-child > .section-content > .row > .col > .col-inner {
  padding-top: 0 !important;
}
.content-area > .section.dark:first-child h1 {
  margin-bottom: 0.55em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.content-area > .section.dark:first-child h1::after,
.archive-page-header .page-title::after {
  content: "";
  display: block;
  width: 96px;
  height: 5px;
  margin-top: 14px;
  border-radius: 3px;
  background: var(--ap-red);
}
.content-area > .section.dark:first-child h4 {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ap-yellow);
}
.content-area > .section.dark:first-child p,
.content-area > .section.dark:first-child li {
  font-size: 18px;
  line-height: 1.55;
  color: #f1f2f4;
}
.content-area > .section.dark:first-child a:not(.button) {
  color: var(--ap-yellow);
}

@media (max-width: 849px) {
  .content-area > .section.dark:first-child {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
  .content-area > .section.dark:first-child h4 {
    font-size: 19px;
  }
  .content-area > .section.dark:first-child p,
  .content-area > .section.dark:first-child li {
    font-size: 16.5px;
  }
}

/* Quote form card. Field names and behaviour are untouched: see src/lib/quote.ts. */
.contact-form-container {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
}
.form_head {
  padding: 22px 22px 18px;
  background: #fff;
  color: var(--ap-text);
  border: 0;
  border-top: 6px solid var(--ap-yellow);
  border-radius: var(--ap-radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}
.form_head .form-heading p {
  margin: 0;
}
span.free-quote {
  padding: 0 0 16px !important;
  color: var(--ap-red);
  font-size: 30px !important;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
}
.form-graphic-overlay {
  top: -40px;
  left: -46px;
  width: 104px;
  height: 104px;
  pointer-events: none;
}
.form-wrapper .row {
  margin-left: -6px !important;
  margin-right: -6px !important;
}
.form-wrapper .row > .col {
  padding: 0 6px 12px;
}
.form-wrapper .row > .col:last-child {
  padding-bottom: 0;
}
.form-wrapper p {
  margin: 0;
}
.wpcf7 input.wpcf7-form-control.wpcf7-text,
.wpcf7 select.wpcf7-form-control,
.wpcf7 textarea.wpcf7-form-control {
  height: 44px;
  margin: 0;
  padding: 0 12px;
  background: #fff;
  color: var(--ap-ink);
  border: 1px solid #b9c0ca;
  border-radius: 4px;
  box-shadow: none;
  font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wpcf7 textarea.wpcf7-form-control {
  display: block;
  height: 92px;
  min-height: 92px;
  padding: 10px 12px;
  line-height: 1.4;
  resize: none;
}
.wpcf7 .wpcf7-form-control::placeholder {
  color: #4b505a;
  opacity: 1;
}
.wpcf7 input.wpcf7-form-control.wpcf7-text:focus,
.wpcf7 textarea.wpcf7-form-control:focus {
  background: #fff;
  border-color: var(--ap-red);
  box-shadow: 0 0 0 3px rgba(232, 6, 0, 0.16);
  outline: 0;
}
.wpcf7 .wpcf7-form-control.wpcf7-not-valid {
  border-color: #b20000;
}
.wpcf7 input.wpcf7-submit.button.primary,
.wpcf7 input.wpcf7-submit {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 0 44px 0 20px;
  background: var(--ap-yellow) var(--ap-chevron) right 18px center / 16px 16px no-repeat;
  color: var(--ap-ink);
  border: 0;
  border-radius: 5px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: none;
  box-shadow: none;
}
.wpcf7 input.wpcf7-submit:hover {
  background-color: var(--ap-yellow-dark);
  box-shadow: none;
  color: var(--ap-ink);
}
.wpcf7 .wpcf7-spinner {
  position: absolute;
  right: 6px;
  bottom: 13px;
  margin: 0;
}
.wpcf7 form .wpcf7-response-output {
  border-radius: 5px;
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
}
.wpcf7 form.init .wpcf7-response-output:empty {
  display: none;
}

@media (max-width: 1100px) and (min-width: 850px) {
  .wpcf7 input.wpcf7-form-control.wpcf7-text {
    padding: 0 8px;
    font-size: 14.5px;
  }
  span.free-quote {
    font-size: 26px !important;
  }
}

/* Where the page puts the form inside a white panel (with the reviews badge above it), the
   panel is the card. */
.col-inner[style*="background-color:rgb(255,255,255)"] {
  padding: 16px 0 0;
  border-top: 6px solid var(--ap-yellow);
  border-radius: var(--ap-radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}
.col-inner[style*="background-color:rgb(255,255,255)"] .form_head {
  padding-top: 12px;
  border-top: 0;
  box-shadow: none;
}
.col-inner[style*="background-color:rgb(255,255,255)"] .form-graphic-overlay {
  top: -128px;
}

@media (max-width: 849px) {
  .contact-form-container {
    margin-top: 26px;
  }
  .form-graphic-overlay {
    top: -30px;
    left: -10px;
    width: 84px;
    height: 84px;
  }
  span.free-quote {
    padding: 4px 0 16px !important;
    font-size: 26px !important;
    line-height: 1.15;
  }
}

/* ---------------------------------------------------------------- 5. Buttons and lists */

.button,
button.button,
input[type="submit"].button {
  border-radius: 5px !important;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: none;
}
#main .button.primary:not(.is-outline),
#main .button.secondary:not(.is-outline) {
  background-color: var(--ap-yellow);
  border-color: transparent;
  color: var(--ap-ink);
  box-shadow: none;
}
#main .button.primary:not(.is-outline):hover,
#main .button.secondary:not(.is-outline):hover {
  background-color: var(--ap-yellow-dark);
  color: var(--ap-ink);
  box-shadow: none;
}
#main a.button.primary:not(.is-outline):not([href^="tel:"])::after,
#main a.button.secondary:not(.is-outline):not([href^="tel:"])::after {
  content: "";
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-left: 0.5em;
  vertical-align: -0.02em;
  background: var(--ap-chevron) center / contain no-repeat;
}
/* Call buttons: red on photos and light bands, yellow where the band itself is red or dark. */
#main a.button.primary[href^="tel:"]:not(.is-outline) {
  background-color: var(--ap-red);
  color: #fff;
}
#main a.button.primary[href^="tel:"]:not(.is-outline):hover {
  background-color: var(--ap-red-dark);
  color: #fff;
}
#main .section.dark:not(:first-child) a.button[href^="tel:"]:not(.is-outline) {
  background-color: var(--ap-yellow);
  color: var(--ap-ink);
}
#main .section.dark:not(:first-child) a.button[href^="tel:"]:not(.is-outline):hover {
  background-color: var(--ap-yellow-dark);
}
#main a.button .icon-phone {
  font-size: 1.05em;
}

/* Tick lists inside page sections. */
.content-area .section ul:not([class]),
.content-area .section ul.unstyled,
.content-area .section ul.column-2,
.content-area .section ul.column-3 {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
.content-area .section ul:not([class]) > li,
.content-area .section ul.unstyled > li,
.content-area .section ul.column-2 > li,
.content-area .section ul.column-3 > li {
  position: relative;
  margin-left: 0 !important;
  margin-bottom: 0.55em;
  padding-left: 34px;
  break-inside: avoid;
}
.content-area .section ul:not([class]) > li::before,
.content-area .section ul.unstyled > li::before,
.content-area .section ul.column-2 > li::before,
.content-area .section ul.column-3 > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 22px;
  height: 22px;
  background: var(--ap-check) center / contain no-repeat;
}
/* Lists that were typed with a "⦿" in front of each line: the tick replaces it. */
.content-area .section ul.unstyled > li::first-letter {
  font-size: 0;
}
.content-area .section ul.unstyled > li {
  text-indent: -0.24em;
}
.content-area .section li > ul:not([class]) {
  margin-top: 0.55em;
}

/* ---------------------------------------------------------------- 6. Sections and cards */

.section-title-normal,
.section-title-normal span {
  border-color: var(--ap-red);
}
.is-divider {
  height: 4px;
  max-width: 64px;
  border-radius: 2px;
  background-color: var(--ap-red);
}

.content-area .section img:not(.bg):not(.ti-star):not(.skip-lazy) {
  border-radius: 6px;
}

/*
 * The site's icons: one set of line drawings, written inline in the page content as
 * <span class="ap-icon"><svg …></span>. Red on a white disc, so they sit on any band.
 */
span.ap-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border: 1.5px solid rgba(232, 6, 0, 0.28);
  border-radius: 50%;
  background: #fff;
  color: var(--ap-red);
}
span.ap-icon svg,
.icon-box-img span.ap-icon svg {
  width: 32px;
  height: 32px;
  padding: 0;
  fill: none;
}
span.ap-icon svg *,
.icon-box-img span.ap-icon svg * {
  fill: none;
}
.icon-box-left .icon-box-img span.ap-icon {
  margin: 0;
}
.icon-box-center .icon-box-img {
  margin-bottom: 14px;
}
.box-image.ap-icon-box {
  padding: 22px 0 0;
}
.content-area .section .col-inner > .box.box-text-bottom .box-image.ap-icon-box + .box-text {
  padding-top: 14px;
}
/* The "instant price quote" stamp on the form card is retired with the old badges. */
.form-graphic-overlay {
  display: none;
}

/* Selling points: a line icon, a title and one line each (home page, under the hero). */
.content-area ul.ap-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 36px 0;
  list-style: none;
}
.content-area ul.ap-features > li.ap-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0 22px;
  border-left: 1px solid var(--ap-line);
  text-align: center;
}
.content-area ul.ap-features > li.ap-feature:first-child {
  border-left: 0;
}
.ap-feature .ap-icon {
  margin: 0 0 14px;
}
.ap-feature__title {
  margin: 0 0 4px;
  color: var(--ap-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}
.ap-feature__text {
  margin: 0;
  color: var(--ap-muted);
  font-size: 15.5px;
  line-height: 1.45;
}
@media (max-width: 849px) {
  .content-area ul.ap-features {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
    padding: 30px 0;
  }
  .content-area ul.ap-features > li.ap-feature:nth-child(odd) {
    border-left: 0;
  }
}
@media (max-width: 549px) {
  .content-area ul.ap-features {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding: 10px 0;
  }
  .content-area ul.ap-features > li.ap-feature {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid var(--ap-line);
    text-align: left;
  }
  .content-area ul.ap-features > li.ap-feature:first-child {
    border-top: 0;
  }
  .ap-feature .ap-icon {
    width: 52px;
    height: 52px;
    margin: 0;
  }
  .ap-feature .ap-icon svg {
    width: 27px;
    height: 27px;
  }
  .ap-feature__title {
    font-size: 17.5px;
  }
  .ap-feature__text {
    font-size: 15px;
  }
}

/* Breadcrumbs */
#breadcrumbs {
  margin: 0;
  font-size: 15px;
  color: var(--ap-muted);
}
#breadcrumbs a {
  color: var(--ap-red-dark);
  font-weight: 500;
}

/* FAQ accordions */
.accordion {
  display: grid;
  gap: 10px;
}
.accordion .accordion-item {
  border: 1px solid var(--ap-line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
.accordion .accordion-title {
  display: block;
  padding: 14px 18px 14px 52px;
  border-top: 0;
  color: var(--ap-ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 0.15s, color 0.15s;
}
.accordion .accordion-title:hover {
  background: var(--ap-mist);
}
.accordion .accordion-title.active {
  background: var(--ap-red);
  border-color: var(--ap-red);
  color: #fff;
  font-weight: 600;
}
.accordion .accordion-title .toggle {
  left: 8px;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0;
  color: var(--ap-red);
  opacity: 1;
}
.accordion .accordion-title.active .toggle {
  color: #fff;
}
.accordion .accordion-inner {
  padding: 16px 18px 8px;
}

/* Testimonials */
.testimonial-box {
  padding: 22px 24px !important;
  background: #fff;
  color: var(--ap-text);
  border-top: 6px solid var(--ap-yellow);
  border-radius: 4px;
}
.dark .testimonial-box,
.dark .testimonial-box p,
.dark .testimonial-box .testimonial-meta {
  color: var(--ap-text);
}
.testimonial-box .testimonial-text {
  font-style: normal;
}
.testimonial-box .testimonial-name {
  color: var(--ap-ink);
}
.testimonial-box .star-rating span::before,
.testimonial-box .star-rating::before {
  color: var(--ap-yellow-dark);
}

/* Photo cards with a caption underneath (recent purchases and similar). */
.content-area .section .col-inner > .box.box-text-bottom:not(.box-blog-post) {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  overflow: hidden;
}
.content-area .section .col-inner > .box.box-text-bottom:not(.box-blog-post) .box-image img {
  width: 100%;
  border-radius: 0;
}
.content-area .section .col-inner > .box.box-text-bottom:not(.box-blog-post) .box-text {
  display: flex;
  flex: 1;
  padding: 16px 18px 18px;
}
.content-area .section .col-inner > .box.box-text-bottom:not(.box-blog-post) .box-text-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.content-area .section .box-text p {
  margin-bottom: 0.4em;
  font-size: 16px;
  line-height: 1.5;
}
.content-area .section p.rpprice {
  margin: auto 0 0;
  padding: 9px 12px;
  background: var(--ap-yellow);
  color: var(--ap-ink);
  border-radius: 5px;
  font-size: 18px;
  font-weight: 700;
}
.content-area .section p.rpprice strong {
  color: inherit;
  font-size: inherit;
}

/* Tables in the content */
.content-area table,
.entry-content table {
  border-collapse: collapse;
}
.content-area table th,
.entry-content table th {
  background: var(--ap-ink);
  color: #fff;
  padding: 10px 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
}
.content-area table td,
.entry-content table td {
  padding: 10px 12px;
  font-size: 16px;
}

/* Recent removals grid */
.tlzmda-cr-card {
  border-radius: var(--ap-radius) !important;
  overflow: hidden;
}
.tlzmda-cr-cta-link {
  border-radius: 5px !important;
}
.tlzmda-cr-pagination .page-numbers.current {
  background: var(--ap-red);
  border-color: var(--ap-red);
  color: #fff;
}

/* ---------------------------------------------------------------- 7. Blog, archives, plain pages */

.page-title.featured-title {
  background-color: var(--ap-charcoal);
}
.page-title.featured-title .page-title-inner {
  min-height: 190px !important;
}
.page-title.featured-title .title-overlay {
  background: linear-gradient(100deg, rgba(10, 11, 14, 0.9), rgba(10, 11, 14, 0.55));
}
.page-title.featured-title h1 {
  color: #fff;
}
.page-title.featured-title h1::after {
  content: "";
  display: block;
  width: 96px;
  height: 5px;
  margin-top: 14px;
  border-radius: 3px;
  background: var(--ap-yellow);
}
@media (max-width: 849px) {
  .page-title.featured-title h1::after {
    margin-left: auto;
    margin-right: auto;
  }
  .page-title.featured-title .page-title-inner {
    min-height: 140px !important;
  }
}

.blog-wrapper.page-wrapper,
.page-wrapper {
  padding-top: 36px;
}
.archive-page-header .page-title {
  text-transform: none;
  letter-spacing: 0;
  font-size: 35px;
}
.archive-page-header .page-title::after {
  margin-left: auto;
  margin-right: auto;
}
.blog-single .entry-divider {
  margin-left: auto;
  margin-right: auto;
}

/* Post cards */
.box-blog-post {
  height: 100%;
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.box-blog-post:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.box-blog-post .box-text {
  padding: 16px 18px 18px;
}
.box-blog-post .post-title {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
}
.box-blog-post .post-title a {
  color: var(--ap-ink);
}
.box-blog-post .post-title a:hover {
  color: var(--ap-red);
}
.box-blog-post .is-divider {
  margin: 10px 0;
}
.box-blog-post .from_the_blog_excerpt {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ap-muted);
}
.badge.post-date .badge-inner {
  background: var(--ap-red);
  border-color: var(--ap-red);
  color: #fff;
  border-radius: 4px;
}
.ux-relay__pagination .page-number.current,
.nav-pagination > li > .current {
  background: var(--ap-red);
  border-color: var(--ap-red);
  color: #fff;
}

/* Single posts */
.blog-single .entry-category a {
  color: var(--ap-red);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.blog-single .entry-header .entry-title {
  font-size: 40px;
}
.blog-single .entry-content {
  padding-top: 1em;
}
.blog-single .entry-content h2 {
  margin-top: 1.3em;
  font-size: 29px;
}
.blog-single .entry-content h3 {
  margin-top: 1.1em;
  font-size: 23px;
}
.blog-single .entry-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-single .entry-content li::marker {
  color: var(--ap-red);
}
.blog-single .entry-image img {
  border-radius: var(--ap-radius);
}
@media (max-width: 849px) {
  .blog-single .entry-header .entry-title {
    font-size: 30px;
  }
  .blog-single .entry-content h2 {
    font-size: 25px;
  }
}

/* Search form */
.searchform .search-field {
  height: 46px;
  border-radius: 4px 0 0 4px;
}
.searchform .submit-button {
  min-height: 46px;
  background: var(--ap-red) !important;
  border-radius: 0 4px 4px 0 !important;
  color: #fff;
}

/* ---------------------------------------------------------------- 8. Footer */

.ap-footer {
  position: relative;
  background: var(--ap-ink);
  color: #d4d7dd;
  font-size: 15.5px;
  line-height: 1.5;
}
.ap-footer p {
  margin: 0 0 8px;
  font-size: inherit;
  line-height: inherit;
}
.ap-footer a {
  color: #fff;
}
.ap-footer a:hover {
  color: var(--ap-yellow);
}
.ap-footer__main {
  padding: 46px 0 40px;
}
.ap-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1.2fr;
}
.ap-footer__col {
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.ap-footer__col--brand {
  padding-left: 0;
  border-left: 0;
}
.ap-footer__col--contact {
  padding-right: 0;
}
.ap-footer__logo {
  display: block;
  width: 190px;
  height: auto;
  margin: -4px 0 14px;
}
.ap-footer__col--brand p {
  margin-bottom: 18px;
}
.ap-footer__title {
  display: block;
  margin: 0 0 10px;
  color: var(--ap-yellow);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ap-footer__widget + .ap-footer__widget {
  margin-top: 24px;
}
.ap-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ap-footer__menu li {
  margin: 0 0 7px;
  line-height: 1.35;
}
.ap-footer__menu li.current-menu-item > a {
  color: var(--ap-yellow);
}
.ap-footer__phone {
  font-size: 19px;
  font-weight: 700;
}
.ap-social--footer .ap-social__link {
  width: 32px;
  height: 32px;
  font-size: 15px;
}
.ap-footer a.ap-social__link:hover {
  color: var(--ap-ink);
}
.ap-footer__bar {
  padding: 13px 0;
  background: var(--ap-red);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.ap-footer__bar p {
  margin: 0;
}
.ap-footer__bar a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ap-footer__bar a:hover {
  color: #fff;
  text-decoration: none;
}

.ap-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ap-red);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s, background-color 0.15s;
}
.ap-top.active {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.ap-top:hover {
  background: var(--ap-red-dark);
}

@media (max-width: 1040px) {
  .ap-footer__grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
  }
  .ap-footer__col--brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 200px 1fr;
    column-gap: 26px;
    align-items: start;
  }
  .ap-footer__col--brand .ap-footer__logo {
    grid-row: span 3;
  }
  .ap-footer__col:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }
  .ap-footer__col--contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 26px;
    padding-left: 0;
    border-left: 0;
  }
  .ap-footer__col--contact .ap-footer__widget + .ap-footer__widget {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .ap-footer__main {
    padding: 34px 0 30px;
  }
  .ap-footer__grid,
  .ap-footer__col--brand,
  .ap-footer__col--contact {
    display: block;
  }
  .ap-footer__col {
    padding: 22px 0 0;
    margin-top: 22px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
  .ap-footer__col--brand {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
  }
  .ap-footer__col--contact .ap-footer__widget + .ap-footer__widget {
    margin-top: 24px;
  }
  .ap-footer__menu {
    columns: 2;
    column-gap: 18px;
  }
  .ap-footer__menu li {
    break-inside: avoid;
  }
  .ap-footer__bar {
    font-size: 12.5px;
    text-align: center;
  }
}

/* ---------------------------------------------------------------- 9. Home page bands */

/*
 * The home page's bands, in page order. They are addressed by position so the content file
 * (content/html/index.html) stays exactly as written; if a band is added or removed there,
 * adjust the numbers here.
 */

/* Recycling band: dark, with outlined cards. */
.home .content-area > .section:nth-of-type(7) {
  background-color: var(--ap-charcoal) !important;
  padding-top: 52px !important;
  padding-bottom: 40px !important;
}
.home .content-area > .section:nth-of-type(7) h2,
.home .content-area > .section:nth-of-type(7) h4,
.home .content-area > .section:nth-of-type(7) p {
  color: #fff;
}
.home .content-area > .section:nth-of-type(7) a {
  color: var(--ap-yellow);
}
.home .content-area > .section:nth-of-type(7) .row .row > .col > .col-inner {
  height: 100%;
  padding: 14px 14px 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
}
.home .content-area > .section:nth-of-type(7) .row .row > .col h4 {
  margin-top: 14px;
}

/* Steps: three cards. */
.home .content-area > .section:nth-of-type(6) .row > .col.large-4 > .col-inner {
  height: 100%;
  padding: 18px 18px 10px;
  background: #fff;
  border: 1px solid var(--ap-line);
  border-top: 6px solid var(--ap-yellow);
  border-radius: 6px;
}

.home .content-area > .section:nth-of-type(6) .col-inner > .box.box-text-bottom {
  border: 0;
  border-radius: 0;
}
.home .content-area > .section:nth-of-type(6) .box-image.ap-icon-box {
  padding-top: 4px;
}

/* Closing call-to-action band. */
.content-area > .section.dark:last-child:not(:first-child) {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
