/* Postmark Travel — "Fixed Trips" header button + itinerary cards grid.
 * Added 2026-07 per client request. Self-contained; safe to link on all pages.
 */

/* ============================================================
 * 1. Header "FIXED TRIPS" button
 * ============================================================
 * The button reuses the teal Elementor button styling by keeping the
 * original widget id class (3916de9 desktop / 08c7d63 mobile) plus this
 * marker class. We only add spacing + a light size trim so the two CTAs
 * sit side-by-side without overflowing the mobile header.
 */
.pm-fixed-trips {
  margin-right: 10px;
}

/* Desktop header CTA container (1a1233e) defaults to flex-column in Elementor,
 * which stacked "Fixed Trips" ABOVE "Let's Talk Journeys". Force a row so the
 * two teal buttons sit side by side (Fixed Trips left of Let's Talk), as asked.
 * The mobile header (2934f83) is already a row, so it is unaffected. */
.elementor-element-1a1233e {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  /* Container was sized for one button; let it grow so both fit without the
   * text wrapping / overflowing the viewport edge. */
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}
/* Keep each header CTA at its natural single-piece width (Let's Talk keeps its
 * designed 2-line wrap; Fixed Trips stays on one line). */
.elementor-element-1a1233e > .elementor-widget-button {
  flex: 0 0 auto !important;
  width: auto !important;
}
.pm-fixed-trips .elementor-button-text { white-space: nowrap; }

/* Keep the two header CTAs from touching / overflowing on small screens.
 * Only affects the header buttons (both carry an .elementor-align-center
 * .elementor-widget-button ancestry). */
@media (max-width: 767px) {
  .pm-fixed-trips {
    margin-right: 6px;
  }
  .pm-fixed-trips .elementor-button,
  .pm-fixed-trips + .elementor-widget-button .elementor-button {
    font-size: 11px !important;
    padding: 8px 12px !important;
    letter-spacing: 0.3px !important;
  }
}

@media (max-width: 400px) {
  .pm-fixed-trips .elementor-button,
  .pm-fixed-trips + .elementor-widget-button .elementor-button {
    font-size: 10px !important;
    padding: 7px 9px !important;
    letter-spacing: 0 !important;
  }
}

/* ============================================================
 * 2. Fixed Trips itinerary card grid (immerse.html)
 * ============================================================ */
.pm-fixed-trips-grid {
  --pm-teal: #3D8A86;
  --pm-ink: #132430;
  --pm-body: #333333;
  box-sizing: border-box;
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch; /* both cards stretch to equal height */
}
.pm-fixed-trips-grid *,
.pm-fixed-trips-grid *::before,
.pm-fixed-trips-grid *::after { box-sizing: border-box; }

/* anchor lands below the sticky header */
#fixed-trips { scroll-margin-top: 120px; }

@media (max-width: 1200px) {
  .pm-fixed-trips-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 767px) {
  .pm-fixed-trips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 16px 32px;
  }
}

.pm-ft-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(19, 36, 48, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pm-ft-card__img {
  width: 100%;
  /* fixed proportion so both card images are identical regardless of the
   * source photo's aspect ratio (landscape boat race vs portrait beach) */
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pm-ft-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pm-ft-card__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--pm-ink);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0;
}

.pm-ft-card__body p {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--pm-body);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.pm-ft-highlights-label {
  font-family: "Outfit", sans-serif;
  color: var(--pm-teal);
  font-weight: 700;
  font-size: 15px;
  margin: 4px 0 0;
}

.pm-ft-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pm-ft-highlights li {
  position: relative;
  padding-left: 22px;
  font-family: "Outfit", sans-serif;
  color: var(--pm-body);
  font-size: 14.5px;
  line-height: 1.5;
}
.pm-ft-highlights li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pm-teal);
}

.pm-ft-departure {
  font-family: "Outfit", sans-serif;
  color: var(--pm-ink);
  font-weight: 700;
  font-size: 15px;
  margin: 2px 0 0;
}

.pm-ft-note {
  font-style: italic;
  color: #6b6b6b !important;
  font-size: 13.5px !important;
}

.pm-ft-contact {
  border-top: 1px solid #eee;
  padding-top: 12px;
  margin-top: 2px;
}
.pm-ft-contact a {
  color: var(--pm-teal);
  font-weight: 600;
  text-decoration: none;
}
.pm-ft-contact a:hover { text-decoration: underline; }

/* Rebuilt Kashmir destination tile (short card kept from original row) */
.pm-ft-tile {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(19, 36, 48, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.pm-ft-tile img {
  width: 100%;
  height: auto;
  display: block;
}
.pm-ft-tile__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.pm-ft-tile__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--pm-ink);
  font-size: 26px;
  font-weight: 600;
  margin: 0;
}
.pm-ft-tile__body p {
  font-family: "Outfit", sans-serif;
  color: var(--pm-body);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.pm-ft-tile__btn {
  display: inline-block;
  background: var(--pm-teal);
  color: #ffffff !important;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 24px;
  border-radius: 6px;
  transition: opacity 0.2s ease;
}
.pm-ft-tile__btn:hover { opacity: 0.88; }

/* ============================================================
 * 3. Footer email — clickable mailto, styled to match the heading
 *    (inherit colour, no blue link look; subtle hover underline).
 * ============================================================ */
.pm-mail-link {
  color: inherit;
  text-decoration: none;
}
.pm-mail-link:hover,
.pm-mail-link:focus {
  text-decoration: underline;
}
