/*
Theme Name: TravelMoveKit Child
Theme URI: https://travelmovekit.com
Template: twentytwentyfive
Version: 1.2.0
Description: TravelMoveKit editorial redesign + comparison-table block + conversion CSS
Author: TravelMoveKit
*/

/* ═══ Affiliate Comparison Table (tmk/comparison-table block) ═══════════ */
.tmk-compare { max-width: 1080px; margin: 48px auto; padding: 0 24px; font-family: 'DM Sans', sans-serif; }
.tmk-compare-title { font-family: 'Fraunces', serif; font-size: clamp(28px, 3.5vw, 40px); font-weight: 400; letter-spacing: -0.02em; color: #1a1814; margin: 0 0 12px; line-height: 1.15; }
.tmk-compare-intro { font-size: 16px; color: #5a5448; line-height: 1.6; margin: 0 0 28px; max-width: 640px; }
.tmk-compare-table { border: 1px solid rgba(26,24,20,0.12); border-radius: 6px; overflow: hidden; background: #fff; }
.tmk-compare-head { display: grid; grid-template-columns: 1.2fr 2fr 0.8fr 0.9fr 1.1fr; gap: 20px; padding: 16px 22px; background: #f4efe6; border-bottom: 1px solid rgba(26,24,20,0.12); font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: #5a5448; }
.tmk-compare-row { display: grid; grid-template-columns: 1.2fr 2fr 0.8fr 0.9fr 1.1fr; gap: 20px; padding: 22px; border-bottom: 1px solid rgba(26,24,20,0.08); align-items: center; position: relative; transition: background 0.2s; }
.tmk-compare-row:last-child { border-bottom: 0; }
.tmk-compare-row:nth-child(even) { background: #fbf9f5; }
.tmk-compare-row.is-top-pick { background: #fdf6f3; border-left: 3px solid #c8462c; }
.tmk-top-pick-badge { position: absolute; top: -10px; left: 16px; background: #c8462c; color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; padding: 4px 10px; border-radius: 3px; font-weight: 500; }
.tmk-cell-service { display: flex; flex-direction: column; gap: 6px; }
.tmk-service-logo { max-width: 90px; max-height: 32px; object-fit: contain; margin-bottom: 4px; }
.tmk-service-name { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 500; color: #1a1814; }
.tmk-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.tmk-rating-stars { color: #b08838; letter-spacing: 1px; font-size: 14px; }
.tmk-rating-num { color: #5a5448; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.tmk-cell-features ul { list-style: none; padding: 0; margin: 0; font-size: 14px; color: #2a2520; line-height: 1.55; }
.tmk-cell-features li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.tmk-cell-features li:before { content: '\2713'; position: absolute; left: 0; top: 0; color: #c8462c; font-weight: 700; }
.tmk-cell-fees, .tmk-cell-speed { font-size: 14px; color: #2a2520; }
.tmk-cell-cta { display: flex; justify-content: flex-end; }
.tmk-cta-btn { display: inline-flex; align-items: center; gap: 6px; background: #c8462c; color: #fff !important; text-decoration: none !important; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; padding: 11px 18px; border-radius: 4px; transition: background 0.2s, transform 0.15s; white-space: nowrap; }
.tmk-cta-btn:hover { background: #9c2f1c; transform: translateY(-1px); }
@media (max-width: 768px) {
  .tmk-compare-head { display: none; }
  .tmk-compare-row { grid-template-columns: 1fr; gap: 12px; padding: 22px 18px 24px; }
  .tmk-compare-row.is-top-pick { padding-top: 28px; }
  .tmk-cell { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: baseline; }
  .tmk-cell:before { content: attr(data-label); font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: #5a5448; }
  .tmk-cell-service { display: flex; }
  .tmk-cell-service:before { display: none; }
  .tmk-cell-cta { justify-content: flex-start; }
  .tmk-cell-cta:before { display: none; }
  .tmk-cta-btn { width: 100%; justify-content: center; }
}
.tmk-compare-empty { border: 2px dashed #c8462c; background: #fdf6f3; padding: 16px 20px; border-radius: 6px; font-size: 14px; color: #5a5448; line-height: 1.5; }
.tmk-compare-empty code { display: block; margin-top: 8px; background: #1a1814; color: #f4efe6; padding: 10px 12px; border-radius: 3px; font-size: 12px; white-space: pre-wrap; word-break: break-all; }

/* ═══ Phase 3 — Sticky mobile CTA ═══════════════════════════════════════ */
.tmk-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  display: flex; align-items: stretch;
  background: #1a1814;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  font-family: 'DM Sans', sans-serif;
}
.tmk-sticky-link {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 14px;
  background: #c8462c; color: #fff !important;
  text-decoration: none !important; font-weight: 600; font-size: 15px;
}
.tmk-sticky-link:active { background: #9c2f1c; }
.tmk-sticky-arrow { font-size: 18px; }
.tmk-sticky-dismiss {
  flex: 0 0 48px;
  background: #1a1814; color: #8a8278;
  border: 0; font-size: 24px; line-height: 1; cursor: pointer;
}
.tmk-sticky-dismiss:active { color: #fff; }
@media (min-width: 769px) { .tmk-sticky-cta { display: none; } }

/* ═══ Phase 3 — Pros / Cons box (.tmk-proscons on a Group block) ════════ */
.tmk-proscons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid rgba(26,24,20,0.12); border-radius: 6px; overflow: hidden;
  margin: 32px 0; font-family: 'DM Sans', sans-serif;
}
.tmk-proscons .tmk-pros, .tmk-proscons .tmk-cons { padding: 22px 24px; }
.tmk-proscons .tmk-pros { background: #f1f7f1; border-right: 1px solid rgba(26,24,20,0.12); }
.tmk-proscons .tmk-cons { background: #fbf1f0; }
.tmk-proscons h4 {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.14em; margin: 0 0 14px;
}
.tmk-proscons .tmk-pros h4 { color: #2f7d32; }
.tmk-proscons .tmk-cons h4 { color: #c0392b; }
.tmk-proscons ul { list-style: none; padding: 0; margin: 0; }
.tmk-proscons li { position: relative; padding-left: 24px; margin-bottom: 9px; font-size: 15px; line-height: 1.5; color: #2a2520; }
.tmk-proscons .tmk-pros li:before { content: '\2713'; position: absolute; left: 0; color: #2f7d32; font-weight: 700; }
.tmk-proscons .tmk-cons li:before { content: '\2715'; position: absolute; left: 0; color: #c0392b; font-weight: 700; }
@media (max-width: 600px) {
  .tmk-proscons { grid-template-columns: 1fr; }
  .tmk-proscons .tmk-pros { border-right: 0; border-bottom: 1px solid rgba(26,24,20,0.12); }
}

/* ═══ Phase 3 — At-a-glance callout (.tmk-glance) ═══════════════════════ */
.tmk-glance {
  background: #f4efe6; border-left: 4px solid #b08838; border-radius: 0 6px 6px 0;
  padding: 22px 26px; margin: 32px 0; font-family: 'DM Sans', sans-serif;
}
.tmk-glance > strong, .tmk-glance .tmk-glance-title {
  display: block; font-family: 'JetBrains Mono', monospace; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em; color: #b08838; margin-bottom: 12px;
}
.tmk-glance ul { margin: 0; padding-left: 20px; }
.tmk-glance li { font-size: 15px; line-height: 1.6; color: #2a2520; margin-bottom: 6px; }
.tmk-glance p { font-size: 15px; line-height: 1.65; color: #2a2520; margin: 0; }

/* ═══ Phase 3 — Affiliate disclosure box (.tmk-disclosure) ══════════════ */
.tmk-disclosure {
  background: #faf7f1; border: 1px solid rgba(26,24,20,0.12); border-radius: 5px;
  padding: 12px 16px; margin: 24px 0;
  font-family: 'DM Sans', sans-serif; font-size: 13px; line-height: 1.55; color: #5a5448;
}
.tmk-disclosure strong { color: #2a2520; }
.tmk-disclosure:before { content: 'ⓘ'; margin-right: 7px; color: #b08838; font-weight: 700; }
