/* ==========================================================
   IslandTravelAtlas Comparison V12 SAFE
   Readability + visible search layer
   ========================================================== */


/* ==========================================================
   READABILITY

   V11 stays visually intact.
   Only type sizes and line heights are increased.
   ========================================================== */

body.ita-comparison-v11 {
  font-size: 16px !important;
}


/* ----------------------------------------------------------
   MAIN WORKSPACE INTRO
   ---------------------------------------------------------- */

.ita-v11-breadcrumb {
  font-size: 11px !important;
}


.ita-v11-console-copy p {
  font-size: 17px !important;
  line-height: 1.58 !important;
}


/* model */

.ita-v11-model-head
> div > span {
  font-size: 10px !important;
}


.ita-v11-model-head
> div > strong {
  font-size: 19px !important;
}


.ita-v11-model-status {
  font-size: 10px !important;
}


.ita-v11-model-signals span {
  font-size: 12px !important;
}


.ita-v11-model-evidence span {
  font-size: 11px !important;
}


/* ----------------------------------------------------------
   TRIP CONTEXT
   ---------------------------------------------------------- */

body.ita-comparison-v11
.ita-v9-context-heading > span {
  font-size: 11px !important;
}


body.ita-comparison-v11
#ita-v9-context-summary {
  font-size: 15px !important;
}


body.ita-comparison-v11
.ita-v9-context-toggle {
  font-size: 14px !important;
}


body.ita-comparison-v11
.ita-v9-context-fields
label > span {
  font-size: 12px !important;
}


body.ita-comparison-v11
.ita-v9-context-fields input,

body.ita-comparison-v11
.ita-v9-context-fields select {
  font-size: 15px !important;
}


body.ita-comparison-v11
.ita-v9-priority-row > span {
  font-size: 12px !important;
}


body.ita-comparison-v11
.ita-v9-preference {
  font-size: 12px !important;
}


body.ita-comparison-v11
#ita-v9-update {
  font-size: 14px !important;
}


/* ----------------------------------------------------------
   RESULTS HEADER
   ---------------------------------------------------------- */

body.ita-comparison-v11
.ita-v9-section-kicker {
  font-size: 11px !important;
}


body.ita-comparison-v11
.ita-v9-results-header p {
  font-size: 15px !important;
  line-height: 1.55 !important;
}


body.ita-comparison-v11
.ita-v9-method-key span {
  font-size: 12px !important;
}


/* ----------------------------------------------------------
   TOP MATCH
   ---------------------------------------------------------- */

.ita-v11-verdict-label span {
  font-size: 9px !important;
}


.ita-v11-verdict-main > span {
  font-size: 11px !important;
}


.ita-v11-verdict-main p {
  font-size: 14px !important;
  line-height: 1.55 !important;
}


.ita-v11-verdict-score span,

.ita-v11-verdict-cost span {
  font-size: 11px !important;
}


.ita-v11-verdict-evidence span {
  font-size: 10px !important;
}


/* ----------------------------------------------------------
   MATRIX
   ---------------------------------------------------------- */

body.ita-comparison-v11
.ita-v10-matrix-heading span {
  font-size: 10px !important;
}


body.ita-comparison-v11
.ita-v10-matrix-heading strong {
  font-size: 20px !important;
}


body.ita-comparison-v11
.ita-v10-matrix-heading small {
  font-size: 12px !important;
}


body.ita-comparison-v11
.ita-v10-matrix thead
th:first-child {
  font-size: 12px !important;
}


body.ita-comparison-v11
.ita-v10-matrix thead
th:not(:first-child) span {
  font-size: 10px !important;
}


body.ita-comparison-v11
.ita-v10-matrix thead
th:not(:first-child) strong {
  font-size: 18px !important;
}


body.ita-comparison-v11
.ita-v10-matrix thead
th:not(:first-child) small {
  font-size: 11px !important;
}


body.ita-comparison-v11
.ita-v10-matrix tbody th {
  font-size: 13px !important;
}


body.ita-comparison-v11
.ita-v10-matrix tbody td {
  font-size: 14px !important;
}


/* ----------------------------------------------------------
   DOSSIERS
   ---------------------------------------------------------- */

.ita-v10-detail-heading span {
  font-size: 10px !important;
}


.ita-v10-detail-heading strong {
  font-size: 26px !important;
}


.ita-v10-detail-heading p {
  font-size: 14px !important;
}


.ita-v11-dossier-rank span {
  font-size: 10px !important;
}


.ita-v11-dossier-title p {
  font-size: 13px !important;
}


.ita-v11-dossier-overall span {
  font-size: 10px !important;
}


.ita-v11-label {
  font-size: 10px !important;
}


.ita-v11-route strong {
  font-size: 14px !important;
}


.ita-v11-route-fact span {
  font-size: 12px !important;
}


.ita-v11-route-fact strong {
  font-size: 13px !important;
}


.ita-v11-meter span {
  font-size: 13px !important;
}


.ita-v11-meter strong {
  font-size: 14px !important;
}


.ita-v11-cost > p {
  font-size: 12px !important;
}


.ita-v11-cost-evidence span {
  font-size: 10px !important;
}


.ita-v11-why p {
  font-size: 14px !important;
  line-height: 1.58 !important;
}


.ita-v11-tags span {
  font-size: 10px !important;
}


.ita-v11-details > summary {
  font-size: 14px !important;
}


/* ----------------------------------------------------------
   METHODOLOGY
   ---------------------------------------------------------- */

body.ita-comparison-v11
.ita-v9-method-copy > span {
  font-size: 10px !important;
}


body.ita-comparison-v11
.ita-v9-method-copy p {
  font-size: 14px !important;
}


body.ita-comparison-v11
.ita-v9-method-grid strong {
  font-size: 11px !important;
}


body.ita-comparison-v11
.ita-v9-method-grid span {
  font-size: 13px !important;
}


/* ==========================================================
   LIVE SEARCH SECTION
   ========================================================== */

.ita-v12-safe-search {
  padding:
    72px 28px;

  border-top:
    1px solid
    #dde4e0;

  background:
    linear-gradient(
      180deg,
      #f6f8f6 0%,
      #ffffff 100%
    );
}


.ita-v12-safe-shell {
  width:
    min(
      1120px,
      100%
    );

  margin: auto;
}


.ita-v12-safe-head {
  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    auto;

  align-items: end;

  gap: 50px;

  margin-bottom: 28px;
}


.ita-v12-safe-kicker {
  display: block;

  color: #08766c;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: .13em;
}


.ita-v12-safe-head h2 {
  margin:
    8px 0 0;

  color: #092f35;

  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    Georgia,
    serif;

  font-size:
    clamp(
      2.25rem,
      3.2vw,
      3rem
    );

  font-weight: 500;

  line-height: 1.03;

  letter-spacing: -.04em;
}


.ita-v12-safe-head p {
  max-width: 700px;

  margin:
    11px 0 0;

  color: #40575c;

  font-size: 15px;

  line-height: 1.6;
}


.ita-v12-safe-live-status {
  padding-bottom: 5px;
}


.ita-v12-safe-live-status {
  display: flex;

  align-items: center;

  gap: 8px;

  color: #08665e;

  font-size: 12px;

  font-weight: 700;

  white-space: nowrap;
}


.ita-v12-safe-live-status i {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #2d9d84;

  box-shadow:
    0 0 0 4px
    rgba(45,157,132,.11);
}


/* cards */

.ita-v12-safe-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap: 18px;
}


.ita-v12-safe-card {
  position: relative;

  min-height: 260px;

  display: flex;

  flex-direction: column;

  padding: 27px;

  overflow: hidden;

  border:
    1px solid
    #d4ded9;

  border-radius: 16px;

  background: #ffffff;

  box-shadow:
    0 15px 40px
    rgba(5,48,53,.065);
}


.ita-v12-safe-card::before {
  content: "";

  position: absolute;

  width: 220px;
  height: 220px;

  right: -120px;
  top: -110px;

  border:
    1px solid
    rgba(8,118,108,.08);

  border-radius: 50%;

  box-shadow:
    0 0 0 55px
    rgba(8,118,108,.025);
}


.ita-v12-safe-card-top {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    55px 1fr;

  align-items: center;

  gap: 16px;
}


.ita-v12-safe-icon {
  width: 54px;
  height: 54px;

  display: grid;

  place-items: center;

  border-radius: 13px;

  background:
    #e8f3ef;
}


.ita-v12-safe-icon svg {
  width: 28px;
  height: 28px;
}


.ita-v12-safe-icon.flight svg {
  fill: #08766c;
}


.ita-v12-safe-icon.stay svg {
  fill: none;

  stroke: #08766c;

  stroke-width: 1.8;

  stroke-linecap: round;

  stroke-linejoin: round;
}


.ita-v12-safe-card-top
> div:last-child > span {
  color: #08766c;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: .11em;
}


.ita-v12-safe-card-top h3 {
  margin:
    4px 0 0;

  color: #092f35;

  font-family: Georgia, serif;

  font-size: 24px;

  font-weight: 500;
}


.ita-v12-safe-card-copy {
  position: relative;

  z-index: 2;

  margin:
    18px 0 22px;

  color: #50666b;

  font-size: 14px;

  line-height: 1.55;
}


.ita-v12-safe-action {
  position: relative;

  z-index: 3;

  width: 100%;

  min-height: 50px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: auto;

  padding:
    0 17px;

  border: 0;

  border-radius: 9px;

  background:
    linear-gradient(
      90deg,
      #06383e,
      #07564f
    );

  color: #ffffff;

  font-family: inherit;

  font-size: 15px;

  font-weight: 700;

  text-decoration: none;

  cursor: pointer;
}


.ita-v12-safe-action:hover {
  background:
    #075f58;
}


.ita-v12-safe-action strong {
  color: #ffffff;

  font-size: 20px;

  font-weight: 400;
}


.ita-v12-safe-card > small {
  position: relative;

  z-index: 2;

  margin-top: 11px;

  color: #6a7d81;

  font-size: 11px;
}


/* ==========================================================
   EXPEDIA PANEL
   ========================================================== */

.ita-v12-safe-expedia-panel {
  margin-top: 18px;

  overflow: hidden;

  border:
    1px solid
    #d4ded9;

  border-radius: 16px;

  background: #ffffff;

  box-shadow:
    0 14px 38px
    rgba(5,48,53,.06);
}


.ita-v12-safe-expedia-panel[hidden] {
  display: none !important;
}


.ita-v12-safe-expedia-panel
> header {
  min-height: 72px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;

  padding:
    14px 19px;

  border-bottom:
    1px solid
    #dde4e0;

  background: #f8faf8;
}


.ita-v12-safe-expedia-panel
> header span {
  display: block;

  color: #08766c;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: .11em;
}


.ita-v12-safe-expedia-panel
> header strong {
  display: block;

  margin-top: 4px;

  color: #16383e;

  font-size: 15px;

  font-weight: 650;
}


.ita-v12-safe-expedia-panel
> header button {
  min-height: 38px;

  padding:
    0 13px;

  border:
    1px solid
    #9cafaa;

  border-radius: 7px;

  background: #ffffff;

  color: #08655e;

  font-size: 13px;

  font-weight: 700;

  cursor: pointer;
}


.ita-v12-safe-expedia-host {
  padding: 22px;
}


.ita-v12-safe-expedia-host
#ita-expedia-stays {
  width: 100% !important;

  max-width: none !important;

  margin: 0 !important;
}


/* unavailable fallback */

.ita-v12-safe-unavailable {
  padding: 30px;

  border:
    1px dashed
    #b8c6c1;

  border-radius: 10px;

  background: #fafbf9;

  color: #53696d;

  font-size: 14px;

  line-height: 1.55;

  text-align: center;
}


/* ==========================================================
   FLOATING LEGACY CTA
   ========================================================== */

.ita-v12-safe-hide-floating {
  display: none !important;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 800px) {

  .ita-v12-safe-head {
    grid-template-columns: 1fr;

    gap: 15px;
  }


  .ita-v12-safe-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 620px) {

  .ita-v12-safe-search {
    padding:
      55px 14px;
  }


  .ita-v12-safe-card {
    min-height: 235px;

    padding: 21px;
  }

}
