/* Landing pages: /motor-insurance/class-one-ev and /motor-insurance/class-two-plus-ev
   (hero, titles, plan carousel + cards, coverage modals, SEO copy, coverage table, infographic, FAQ).
   Sizes are the live site's DB Sathorn X sizes scaled ~0.77 for Kanit (see site.css). */

.lp-main { display: block; background: #FFFFFF; }

/* hero */
.lp-hero { line-height: 0; background: #F2F2F2; }
.lp-hero picture, .lp-hero img { display: block; width: 100%; height: auto; }

/* section */
.lp-section { padding: 0 0 20px; background: var(--v-bg-light); }
.lp-title { margin-bottom: 1rem; text-align: center; color: var(--v-blue); }
.lp-title h1 {
  display: inline-block;
  margin: 24px 0 0;
  font-size: var(--fs-h1);
  line-height: 1.2;
  font-weight: 500;
  color: var(--v-blue);
}
.lp-title h2 { margin: 8px 0 0; font-size: var(--fs-h2-sm); line-height: 1.3; font-weight: 500; color: var(--v-blue); }
.lp-title__note { margin: 6px 0 0; font-size: var(--fs-body); line-height: 1.5; font-weight: 500; color: var(--v-note-red); }
.lp-title__gap { height: 86px; }

/* ------------------------------------------------------------------ carousel (OwlCarousel look) */
.lp-carousel { position: relative; margin: 16px -20px 24px; padding-top: 24px; }
.lp-carousel__viewport { position: relative; overflow: hidden; touch-action: pan-y; }
.lp-carousel__track {
  display: flex;
  align-items: stretch;
  transition: transform .45s ease;
  will-change: transform;
}
.lp-carousel__track.is-dragging { transition: none; }
.lp-carousel__item { flex: 0 0 33.3333%; min-width: 0; display: flex; }
.lp-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 58px;
  height: 58px;
  margin-top: -29px;
  padding: 0;
  line-height: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: opacity .2s, filter .2s, transform .2s;
}
.lp-carousel__nav img { width: 58px; height: 58px; }
.lp-carousel__nav:hover { filter: brightness(1.2) saturate(1.1); transform: scale(1.06); }
.lp-carousel__nav:focus-visible { outline: 2px solid var(--v-blue2); outline-offset: 2px; }
.lp-carousel__nav.is-disabled { opacity: .75; cursor: default; }
.lp-carousel__nav.is-disabled:hover { filter: none; transform: none; }
.lp-carousel__nav--prev { left: -50px; }
.lp-carousel__nav--next { right: -50px; }
.lp-carousel__stage { position: relative; }
.lp-carousel__dots { display: flex; justify-content: center; padding-top: 30px; }
.lp-carousel__dot {
  width: 30px;
  height: 26px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.lp-carousel__dot span {
  display: block;
  width: 16px;
  height: 16px;
  margin: 5px 7px;
  background: var(--v-bg-light);
  border: 1px solid var(--v-grey);
  border-radius: 30px;
  transition: transform .2s;
}
.lp-carousel__dot:hover span { background: var(--v-blue); border-color: var(--v-blue); transform: scale(1.1); }
.lp-carousel__dot.is-active span { background: var(--v-blue); border-color: var(--v-blue); }
.lp-carousel__status { margin: 16px 0 0; text-align: center; color: var(--v-grey); font-size: 15px; }
.lp-carousel__error { margin: 24px auto; max-width: 520px; padding: 18px 20px; text-align: center; background: #FFFFFF; border: 1px solid rgba(230, 55, 87, .35); border-radius: .375rem; color: var(--v-error); }
.lp-carousel__error .v-btn-small { margin-top: 12px; max-width: 160px; }

@media (min-width: 1000px) and (max-width: 1199.98px) {
  .plan-card { margin: 0 12px; }
  .plan-card__price { font-size: 25px; }
}
@media (max-width: 1279.98px) {
  .lp-carousel { margin-left: -10px; margin-right: -10px; }
  .lp-carousel__nav--prev { left: 0; }
  .lp-carousel__nav--next { right: 0; }
}
@media (max-width: 599.98px) {
  .lp-carousel { margin: 8px -10px 16px; padding-top: 0; }
}

/* ------------------------------------------------------------------ plan card */
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 20px;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
@media (max-width: 599.98px) { .plan-card { margin: 0; } }
.plan-card--skeleton { min-height: 720px; background: linear-gradient(90deg, #FFFFFF 0%, #F3F3F3 40%, #FFFFFF 80%) 0 0 / 200% 100%; animation: lp-shimmer 1.2s linear infinite; }
@keyframes lp-shimmer { to { background-position: -200% 0; } }

.plan-card__band { line-height: 0; padding: 0 0 8px; }
.plan-card__band img { display: block; width: auto; max-width: 100%; max-height: 110px; margin: 0 auto; }
.-blue { color: var(--v-blue); }
.-blue2 { color: var(--v-blue2); }
.-blue3 { color: var(--v-blue3); }
.plan-card__band.-blue { background: var(--v-blue); }
.plan-card__band.-blue2 { background: var(--v-blue2); }
.plan-card__band.-blue3 { background: var(--v-blue3); }

.plan-card__head { margin: 0 20px 15px; padding: 16px 4px 5px; border-bottom: 1px solid #DDDDDD; line-height: 1; }
.plan-card__price { margin: 7.68px 0; font-size: var(--fs-h2); line-height: 1.25; font-weight: 500; }
.plan-card__cta { margin: 10px 0 !important; }
.plan-card__head .plan-card__cta { width: 130px; max-width: 130px; }
.plan-card__head .plan-card__cta--buy { width: 100px; max-width: 100px; }

.plan-card__rows { padding: 8px 0; }
.plan-card__row { display: flex; align-items: flex-start; justify-content: space-between; }
.plan-card__row > span { padding: 5px 0 5px 20px; text-align: left; line-height: var(--lh-body); }
.plan-card__row > strong { padding: 5px 20px 5px 5px; text-align: right; font-weight: 500; line-height: var(--lh-body); }
.plan-card__more { margin: 8px 0 8px; padding: 0 16px 0 20px; text-align: left; }
.plan-card__more .txt-link { display: inline-block; line-height: 1.5; background: none; border-width: 0 0 1px; padding: 0; font: inherit; }

.plan-card__icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-content: start;
  margin: 4px 20px 0;
  padding: 16px 4px 6px;
  border-top: 1px solid #DDDDDD;
}
.plan-card__icon { padding: 0 2px; }
.plan-card__icon img { display: block; width: 50%; max-width: 40px; margin: 0 auto 8px; }
.plan-card__icon p { margin: 0 0 12px; font-size: 12px; line-height: 1.3; color: var(--v-text); white-space: nowrap; letter-spacing: -.1px; }

.plan-card__foot { margin: auto 20px 0; padding: 16px 4px 16px; border-top: 1px solid #DDDDDD; }
.plan-card__foot .plan-card__cta { margin: 0 0 8px !important; }
.plan-card__foot .plan-card__cta--lead { width: 130px; max-width: 130px; }
.plan-card__foot .plan-card__cta--buy { width: 100px; max-width: 100px; }
.plan-card__contact { margin: 4px 0 0; font-size: 13px; line-height: 1.6; }
.plan-card__contact small { font-size: 13px; color: #999999; }
.plan-card__contact button {
  padding: 0 2px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: inherit;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.plan-card__contact button:hover { color: var(--v-yellow); border-bottom-color: currentColor; }

/* ------------------------------------------------------------------ coverage modal */
.lp-cov .v-modal__dialog { border: 0; border-radius: 0; }
.lp-cov__band {
  margin: 0;
  padding: 26px 16px;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 400;
  color: #FFFFFF;
  text-align: center;
  background: var(--v-blue);
}
.lp-cov__price { margin: 0; padding: 18px 16px 16px; font-size: 24px; line-height: 1.4; font-weight: 500; color: var(--v-blue); text-align: center; }
.lp-cov__table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); color: var(--v-table-text); }
.lp-cov__table th, .lp-cov__table td { padding: 10px 20px; border: 1px solid #DDDDDD; vertical-align: middle; line-height: 1.35; }
.lp-cov__table th { font-size: 17px; font-weight: 400; color: #FFFFFF; background: var(--v-blue); text-align: center; padding: 14px 20px; }
.lp-cov__table .lp-cov__head2 th { padding: 16px 20px; }
.lp-cov__table td { text-align: left; }
.lp-cov__table td.text-right { text-align: right; font-weight: 500; }
.lp-cov__table td.txt-med { font-weight: 500; }
.lp-cov__table .lp-cov__group td { padding: 20px 30px 18px; font-size: 17px; font-weight: 500; color: var(--v-blue); }
.lp-cov__table .req-star, .lp-cov__note .req-star { color: var(--v-danger); font-weight: 700; }
.lp-cov__note { margin: 16px 0 0; padding: 0 16px 20px; text-align: left; font-size: var(--fs-body); line-height: var(--lh-body); }
.lp-cov__table tr > :first-child { border-left: 0; }
.lp-cov__table tr > :last-child { border-right: 0; }
@media (max-width: 575.98px) {
  .lp-cov__band { padding: 20px 12px; }
  .lp-cov__table th, .lp-cov__table td { padding: 10px 14px 10px 20px; }
  .lp-cov__table .lp-cov__group td { padding: 18px 20px 16px 30px; }
}

/* ------------------------------------------------------------------ SEO copy + coverage table */
.lp-seo { padding-top: 26px; }
.lp-seo h2, .lp-seo h3 { margin: 24px 0 10px; font-weight: 500; }
.lp-seo h3 { font-size: var(--fs-h3); line-height: 1.2; color: var(--v-blue); }
.lp-seo__black { color: #000000; }
.lp-seo h2.lp-seo__h2 { font-size: var(--fs-h2-sm); line-height: 1.2; color: var(--v-blue); }
.lp-seo p { margin: 0 0 10px; }
.lp-seo a { color: var(--v-blue); }
.lp-seo a:hover { color: var(--v-blue2); text-decoration: underline; }
.lp-seo ul { margin: 0 0 10px; padding-left: 40px; }
.lp-seo ul ul { margin: 0; list-style: circle; }
.lp-seo li { line-height: var(--lh-body); }
.lp-h2 { margin: 24px 0 10px; font-size: var(--fs-h2-sm); line-height: 1.2; font-weight: 500; color: var(--v-blue); }

.lp-table-wrap { width: 100%; }
.lp-table { width: 100%; margin: 0 0 1rem; border-collapse: collapse; color: var(--v-table-text); }
.lp-table th, .lp-table td { padding: 12px 20px; vertical-align: middle; border-top: 1px solid var(--v-thead); line-height: 1.3; }
.lp-table thead th { padding: 16px 20px; font-size: var(--fs-body); line-height: 1.6; font-weight: 500; color: var(--v-text); background: var(--v-thead); text-align: center; border: 0; }
.lp-table tbody td { font-size: var(--fs-body); }
.lp-table tbody td.text-right { border-left: 1px solid var(--v-thead); font-weight: 500; text-align: right; }
.lp-table tbody strong { font-weight: 500; }
.lp-table .lp-table__group td { padding: 18px 25px; font-size: var(--fs-h3); line-height: 1.2; font-weight: 500; color: var(--v-text); }
.lp-table .req-star { color: var(--v-danger); }
.lp-footnote { margin: 16px 0 0; padding: 0 30px; font-size: var(--fs-body); line-height: var(--lh-body); }
.lp-footnote a { color: var(--v-blue); }
.lp-footnote a:hover { color: var(--v-blue2); text-decoration: underline; }
.lp-note { margin: 16px 0 0; font-size: var(--fs-body); line-height: var(--lh-body); }
.lp-note .req-star { color: var(--v-danger); }

/* page B: title block, body column (card-body 20px inset), infographic, lists, note */
.lp-title--b { margin-bottom: 0; }
.lp-title--b h2 { margin: 44px 0 0; font-size: var(--fs-h2-sm); line-height: 1.35; }
.lp--class-two-plus-ev .lp-carousel { margin-top: 40px; }
.lp-body { padding: 0 20px; }
.lp-infographic { margin: 60px 0 0; line-height: 0; }
.lp-infographic img { display: block; width: 100%; height: auto; }
.lp-seo--b { padding-top: 0; }
.lp-seo--b h2.lp-seo__h2 { margin: 24px 0 0; }
.lp-seo__sub { margin: 10px 0 10px !important; font-size: 15px; line-height: 1.6; font-weight: 500; }
.lp-seo--b ul { margin: 0 0 12px; padding-left: 40px; }
.lp-seo--b li { margin: 0 0 10px; }
.lp-h2--table { margin-top: 48px; }
.lp-table .lp-table__spacer td { height: 16px; padding: 0; }
.lp-note { padding: 0 16px; }
.plan-card__contact .-blue, .plan-card__contact button { color: var(--v-blue); }

/* ------------------------------------------------------------------ FAQ accordion */
.lp-faq { padding-top: 48px; padding-bottom: 20px; }
.lp-faq__title { margin-bottom: 0; }
.lp-faq__title h1 { margin: 24px 0 0; }
.lp-faq__list { max-width: 1080px; margin: 38px auto 20px; padding: 0; }
.lp-faq__item { border-bottom: 1px solid var(--v-text); }
.lp-faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 8px 0 0;
  padding: 16px 0 17px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--v-text);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color .2s;
}
.lp-faq__q:hover, .lp-faq__q[aria-expanded="true"]:hover { color: var(--v-yellow); }
.lp-faq__q:focus-visible { outline: 2px solid var(--v-blue2); outline-offset: 2px; }
.lp-faq__chev { flex: none; width: 14px; height: 14px; margin: 5px 6px 0 0; transition: transform .25s; }
.lp-faq__q[aria-expanded="true"] .lp-faq__chev { transform: rotate(90deg); }
.lp-faq__a { padding: 0 15px 15px 0; line-height: 1.3; }
.lp-faq__a p { margin: 0 0 16px; line-height: 1.6; }

.lp-after { height: 60px; background: #FFFFFF; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 767.98px) {
  .lp-title h1 { font-size: 24px; margin-top: 16px; }
  .lp-title h2 { font-size: 20px; }
  .lp-title__note { font-size: 15px; line-height: 1.9; }
  .lp-title__gap { height: 110px; }
  .lp-seo { padding-top: 16px; }
  .lp-seo h3 { font-size: 18px; }
  .lp-table th, .lp-table td { padding: 12px 20px; }
  .lp-table thead th { padding: 18px 12px; line-height: 1.5; }
  .lp-table tbody td { font-size: 15px; }
  .lp-table .lp-table__group td { font-size: 17px; }
  .lp-footnote { padding: 0 20px; font-size: 15px; }
  .lp-faq { padding-top: 32px; }
  .lp-faq__list { margin-top: 30px; padding: 0 20px; }
}
@media (max-width: 575.98px) {
  .lp-title__gap { height: 96px; }
}
