/* ============================================================
   KD TOUR & TRAVELS — APPROVED LIGHT TRAVEL CARD + EDITORIAL FAQ
   Based on the user's selected mockups:
   - Travel Themed with Images service cards
   - White Editorial Split FAQ layout
   Scoped to the new components only; does not change hero, header,
   footer, pricing tables, cab cards or existing typography globally.
   ============================================================ */

:root {
  --kd-editorial-navy: #10244a;
  --kd-editorial-orange: #f58216;
  --kd-editorial-copy: #26364b;
  --kd-editorial-muted: #526176;
  --kd-editorial-line: #dce6ef;
  --kd-editorial-pale: #f5f9fd;
}

/* Travel Themed with Images — homepage Extensive Services */
html.kd-redesign-active .service-section-five.kd-travel-services-section {
  position: relative;
  padding: 76px 0 82px !important;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%) !important;
}
html.kd-redesign-active .service-section-five.kd-travel-services-section > .bg,
html.kd-redesign-active .service-section-five.kd-travel-services-section .bg.bg-image {
  display: none !important;
}
html.kd-redesign-active .service-section-five.kd-travel-services-section .sec-title {
  margin-bottom: 32px !important;
}
html.kd-redesign-active .service-section-five.kd-travel-services-section .sec-title .sub-title {
  color: var(--kd-editorial-orange) !important;
}
html.kd-redesign-active .service-section-five.kd-travel-services-section .sec-title h2 {
  color: var(--kd-editorial-navy) !important;
}

.kd-travel-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  align-items: stretch;
}
.kd-travel-image-grid__item,
.kd-travel-image-card-column {
  min-width: 0;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.kd-travel-image-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 1px solid #dce6ef;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(17, 43, 70, .105);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.kd-travel-image-card:hover {
  transform: translateY(-4px);
  border-color: #cbdbe9;
  box-shadow: 0 12px 26px rgba(17, 43, 70, .14);
}
.kd-travel-image-card__media {
  position: relative;
  display: block;
  width: 100%;
  height: 164px;
  flex: 0 0 164px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #e9f0f6;
}
.kd-travel-image-card__media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform .45s ease;
}
.kd-travel-image-card:hover .kd-travel-image-card__media img {
  transform: scale(1.035);
}
.kd-travel-image-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  min-height: 139px;
  margin-top: -18px;
  padding: 31px 22px 22px;
  border-radius: 19px 19px 15px 15px;
  background: #fff;
  box-shadow: 0 -5px 15px rgba(14, 39, 65, .035);
}
.kd-travel-image-card__icon {
  position: absolute;
  top: -21px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border: 4px solid #fff;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  box-shadow: 0 2px 7px rgba(13, 42, 70, .08);
}
.kd-travel-image-card__icon--blue { background: #e2f1ff; color: #1478c3; }
.kd-travel-image-card__icon--green { background: #e1f7ed; color: #159653; }
.kd-travel-image-card__icon--orange { background: #fff0df; color: #e77d12; }
.kd-travel-image-card__title {
  width: 100%;
  margin: 0 45px 5px 0 !important;
  color: var(--kd-editorial-navy) !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
  letter-spacing: -.02em !important;
  text-transform: none !important;
}
.kd-travel-image-card__title a {
  color: inherit !important;
  text-decoration: none !important;
}
.kd-travel-image-card__description {
  width: 100%;
  margin: 0 0 23px !important;
  padding: 0 8px 0 0;
  color: var(--kd-editorial-copy) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.48 !important;
  text-align: left !important;
}
.kd-travel-image-card__action {
  position: absolute;
  right: 18px;
  bottom: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--kd-editorial-orange);
  color: #fff !important;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 3px 8px rgba(245, 130, 22, .22);
  transition: transform .2s ease, background .2s ease;
}
.kd-travel-image-card__action:hover,
.kd-travel-image-card__action:focus-visible {
  background: #e8720c;
  color: #fff !important;
  transform: translateX(2px);
}

/* Sightseeing page card grids: retain every original destination/route card and copy. */
.kd-travel-image-grid--sightseeing {
  margin: 7px 0 22px;
  gap: 20px;
}
.kd-travel-image-grid--sightseeing .kd-travel-image-card__media {
  height: 178px;
  flex-basis: 178px;
}
.kd-travel-image-grid--sightseeing .kd-travel-image-card__body {
  min-height: 145px;
  padding-left: 20px;
  padding-right: 20px;
}
.kd-travel-image-grid--sightseeing .kd-travel-image-card__description {
  font-size: 13.5px !important;
  line-height: 1.5 !important;
}
.kd-travel-image-grid--sightseeing .kd-travel-image-card__title {
  font-size: 17px !important;
}

/* Editorial Split FAQ — exact light palette and split composition from selected mockup. */
.kd-editorial-faq-section {
  position: relative;
  width: 100%;
  padding: 66px 0 72px;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7fc 100%);
}
.kd-editorial-faq-section > .container {
  width: 100%;
}
.kd-editorial-faq {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr);
  gap: 22px;
  width: 100%;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #dce7f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(17, 43, 70, .075);
}
.kd-editorial-faq__intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 310px;
  padding: 34px 30px 46px;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff 8%, #f8fbff 62%, #edf6fd 100%);
}
.kd-editorial-faq__intro::before {
  position: absolute;
  right: -38px;
  bottom: -72px;
  width: 240px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(180, 218, 245, .42) 0%, rgba(213, 234, 249, .22) 46%, rgba(255,255,255,0) 73%);
  content: "";
  pointer-events: none;
}
.kd-editorial-faq__intro::after {
  position: absolute;
  left: 9%;
  bottom: -25px;
  width: 82%;
  height: 46px;
  border-bottom: 4px solid var(--kd-editorial-orange);
  border-radius: 0 0 50% 50%;
  content: "";
  transform: rotate(-2deg);
  pointer-events: none;
}
.kd-editorial-faq__eyebrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 7px;
  color: #e86f0d;
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}
.kd-editorial-faq__title {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 0 0 13px !important;
  color: var(--kd-editorial-navy) !important;
  font-family: inherit !important;
  font-size: clamp(27px, 3vw, 36px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -.035em !important;
  text-transform: none !important;
}
.kd-editorial-faq__intro-text {
  position: relative;
  z-index: 1;
  max-width: 340px;
  margin: 0 !important;
  color: #26364b !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.62 !important;
  text-align: left !important;
}
.kd-editorial-faq__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  padding: 7px 3px 7px 0;
}
.kd-editorial-faq__item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8e3ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(15, 40, 66, .075);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.kd-editorial-faq__item.is-open {
  border-color: #f0c38e;
  box-shadow: 0 4px 11px rgba(15, 40, 66, .09);
}
.kd-editorial-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 47px;
  padding: 12px 18px;
  border: 0;
  background: #fff;
  color: #14294b;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.42;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.kd-editorial-faq__question:hover,
.kd-editorial-faq__question:focus-visible {
  color: #c85d06;
  outline: none;
  background: #fffaf4;
}
.kd-editorial-faq__item.is-open .kd-editorial-faq__question {
  background: #fff0df;
  color: #b84e05;
}
.kd-editorial-faq__indicator {
  position: relative;
  display: inline-flex;
  flex: 0 0 19px;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  color: #12264a;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.kd-editorial-faq__indicator::before { content: "+"; }
.kd-editorial-faq__item.is-open .kd-editorial-faq__indicator { color: #d9690a; }
.kd-editorial-faq__item.is-open .kd-editorial-faq__indicator::before { content: "−"; }
.kd-editorial-faq__answer {
  padding: 0 18px 15px;
  background: #fff;
  color: #293a50;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.62;
}
.kd-editorial-faq__answer[hidden] { display: none !important; }
.kd-editorial-faq__answer-inner,
.kd-editorial-faq__answer-inner .text {
  margin: 0 !important;
  color: #293a50 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.62 !important;
  text-align: left !important;
}
.kd-editorial-faq__answer-inner p:last-child { margin-bottom: 0; }
.kd-editorial-faq__question:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(245, 130, 22, .55);
}

@media (max-width: 991.98px) {
  .kd-travel-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .kd-editorial-faq { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 15px; }
  .kd-editorial-faq__intro { padding: 28px 22px 42px; }
}
@media (max-width: 767.98px) {
  html.kd-redesign-active .service-section-five.kd-travel-services-section { padding: 54px 0 58px !important; }
  .kd-travel-image-grid,
  .kd-travel-image-grid--sightseeing { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .kd-travel-image-card__media { height: 185px; flex-basis: 185px; }
  .kd-travel-image-grid--sightseeing .kd-travel-image-card__media { height: 190px; flex-basis: 190px; }
  .kd-editorial-faq-section { padding: 44px 0 50px; }
  .kd-editorial-faq { grid-template-columns: minmax(0, 1fr); gap: 15px; padding: 12px; border-radius: 17px; }
  .kd-editorial-faq__intro { min-height: 0; padding: 26px 22px 34px; }
  .kd-editorial-faq__title { max-width: none; font-size: 29px !important; }
  .kd-editorial-faq__intro-text { max-width: none; font-size: 14px !important; }
  .kd-editorial-faq__list { padding: 0 1px 3px; }
  .kd-editorial-faq__question { min-height: 48px; padding: 12px 14px; font-size: 14px; }
  .kd-editorial-faq__answer { padding: 0 14px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .kd-travel-image-card,
  .kd-travel-image-card__media img,
  .kd-travel-image-card__action,
  .kd-editorial-faq__item,
  .kd-editorial-faq__question { transition: none !important; }
}


/* ============================================================
   Targeted visual corrections — card icons and FAQ separation
   ============================================================ */
/* These card icons already exist in the HTML. Their glyph names were missing
   from the compact Font Awesome subset, leaving the icon medallions blank. */
.kd-travel-image-card__icon i.fa {
  display: inline-block !important;
  font-family: "Font Awesome 6 Pro" !important;
  font-style: normal !important;
  font-weight: 900 !important;
  font-size: 17px !important;
  line-height: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.kd-travel-image-card__icon .fa-map-marker::before { content: "\f3c5" !important; }
.kd-travel-image-card__icon .fa-plane::before { content: "\f072" !important; }
.kd-travel-image-card__icon .fa-car::before { content: "\f1b9" !important; }

/* Remove the thin white/edge lines around FAQ panels and rely on the soft
   elevation of the section and individual FAQ cards for separation. */
.kd-editorial-faq {
  border: 0 !important;
  box-shadow: 0 6px 20px rgba(17, 43, 70, .085) !important;
}
.kd-editorial-faq__item {
  border: 0 !important;
  box-shadow: 0 4px 12px rgba(15, 40, 66, .105) !important;
}
.kd-editorial-faq__item.is-open {
  box-shadow: 0 6px 15px rgba(15, 40, 66, .13) !important;
}
