/* Mount Kilimanjaro Guide - content components.
   Short key/value data renders as icon boxes; sentence-length values render as
   a definition list. Boxes flex-grow, so the final row always fills the width
   and you never get one orphan box sitting alone under a full row.
   Genuine three-column-plus comparisons stay as tables. */
:root{
--c-ink:#151C17;--c-muted:#57625B;--c-label:#57625B;
--c-accent:#00860B;--c-accent-dk:#006608;
--c-line:#E3E8E3;--c-surface:#F6F8F5;--c-bg:#FFFFFF;
--c-r:14px;
}

/* ---- rhythm ---- */
.mkg-h2{margin:38px 0 14px}
.mkg-h2:first-child{margin-top:0}
.mkg-h2 .elementor-heading-title{
  color:var(--c-ink);font-weight:700;line-height:1.16;letter-spacing:-.02em;
  font-size:clamp(24px,2.7vw,34px);
}
.mkg-prose{margin:0 0 6px;color:var(--c-ink);font-size:16.5px;line-height:1.62}
.mkg-prose > *:last-child{margin-bottom:0}
.mkg-prose p{margin:0 0 .85em;max-width:74ch}
.mkg-prose h3{
  font-size:clamp(18px,1.9vw,22px);font-weight:700;line-height:1.28;color:var(--c-ink);
  margin:30px 0 10px;padding-top:24px;border-top:1px solid var(--c-line);
}
.mkg-prose h3:first-child{margin-top:4px;padding-top:0;border-top:0}
.mkg-prose ul,.mkg-prose ol{margin:0 0 1em;padding-left:1.1em;max-width:74ch}
.mkg-prose li{margin:0 0 .38em;line-height:1.55}
.mkg-prose ul li::marker{color:var(--c-accent)}
.mkg-prose a{color:var(--c-accent-dk);text-decoration:underline;text-underline-offset:2px}
.mkg-prose a:hover{color:var(--c-accent)}
.mkg-prose strong{font-weight:700;color:var(--c-ink)}
.mkg-prose hr{display:none}

.mkg-prose blockquote{
  margin:16px 0 20px;padding:15px 18px;background:var(--c-surface);
  border:0;border-left:3px solid var(--c-accent);border-radius:0 var(--c-r) var(--c-r) 0;
  font-style:normal;color:var(--c-ink);
}
.mkg-prose blockquote p{margin:0;font-size:15.5px;line-height:1.55}

/* ---- icon boxes: short key/value data ---- */
.mkg-specs{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 22px;padding:0;list-style:none}
.mkg-spec{
  flex:1 1 208px;min-width:0;
  background:var(--c-surface);border:1px solid var(--c-line);border-radius:var(--c-r);
  padding:16px 17px 17px;display:flex;flex-direction:column;
  transition:border-color .2s cubic-bezier(.16,1,.3,1),background-color .2s cubic-bezier(.16,1,.3,1);
}
.mkg-spec:hover{background:var(--c-bg)}
.mkg-spec-i{
  width:32px;height:32px;border-radius:9px;flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(0,134,11,.1);color:var(--c-accent);margin-bottom:12px;
}
.mkg-spec-i svg{width:16px;height:16px;display:block}
.mkg-spec-k{
  font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.085em;
  color:var(--c-label);line-height:1.3;margin-bottom:5px;
}
.mkg-spec-v{font-size:17px;font-weight:600;line-height:1.34;color:var(--c-ink);letter-spacing:-.01em}
.mkg-spec-v strong{font-weight:700}
.mkg-spec-v em{font-style:normal;color:var(--c-muted)}

/* ---- definition list: sentence-length values ---- */
.mkg-deflist{
  margin:16px 0 24px;padding:0;
  border:1px solid var(--c-line);border-radius:var(--c-r);
  background:var(--c-bg);overflow:hidden;
}
.mkg-def{
  display:grid;grid-template-columns:168px minmax(0,1fr);gap:20px;
  padding:15px 19px;border-bottom:1px solid var(--c-line);
}
.mkg-deflist .mkg-def:last-child{border-bottom:0}
.mkg-def dt{
  margin:0;padding-top:3px;
  font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.085em;
  color:var(--c-label);line-height:1.5;
}
.mkg-def dd{margin:0;font-size:15.5px;line-height:1.56;color:var(--c-ink)}
.mkg-def dd strong{font-weight:700}

/* ---- tables that stay tables ---- */
.mkg-tablewrap{
  overflow-x:auto;-webkit-overflow-scrolling:touch;margin:18px 0 22px;
  border:1px solid var(--c-line);border-radius:var(--c-r);background:var(--c-bg);
}
table.mkg-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.45;min-width:560px;margin:0}
.mkg-tablewrap>table{border:0!important;border-radius:0!important;margin:0!important}
table.mkg-table th,table.mkg-table td{padding:12px 15px;text-align:left;vertical-align:top;border-bottom:1px solid var(--c-line)}
table.mkg-table thead th{
  background:var(--c-surface);color:var(--c-ink);
  font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.075em;white-space:nowrap;
}
table.mkg-table tbody tr:last-child td{border-bottom:0}
table.mkg-table tbody tr:hover{background:#FAFCF9}
table.mkg-table td:first-child{font-weight:600;color:var(--c-ink)}

/* ---- key facts row ---- */
#mkg-statrow,.mkg-statrow{
  display:flex!important;flex-wrap:wrap;gap:12px;align-items:stretch;margin:4px 0 8px;
}
#mkg-statrow>.elementor-element{flex:1 1 208px!important;width:auto!important;max-width:none!important}
.mkg-stat{
  background:var(--c-surface);border:1px solid var(--c-line);border-radius:var(--c-r);
  padding:17px 17px 18px;height:100%;
}
.mkg-stat .elementor-icon-box-icon{margin-bottom:11px}
.mkg-stat .elementor-icon{
  color:var(--c-accent);font-size:16px;
  width:32px;height:32px;border-radius:9px;background:rgba(0,134,11,.1);
  display:inline-flex;align-items:center;justify-content:center;
}
.mkg-stat .elementor-icon svg{fill:var(--c-accent);width:16px;height:16px}
.mkg-stat .elementor-icon-box-title{margin:0 0 4px}
.mkg-stat .elementor-icon-box-title,.mkg-stat .elementor-icon-box-title a{
  color:var(--c-ink);font-size:21px;font-weight:700;line-height:1.15;letter-spacing:-.015em;
}
.mkg-stat .elementor-icon-box-description{color:var(--c-muted);font-size:13.5px;line-height:1.45;margin:0}

/* ---- KAYAK partner badge ----
   The badge artwork is dark, so it always sits on a white plate: that reads as
   a framed credential on the light contact section and stays visible on the
   near-black footer. */
.mkg-kayak-wrap{display:flex;margin:14px 0 4px}
.mkg-kayak-wrap.is-left{justify-content:flex-start}
.mkg-kayak-wrap.is-center{justify-content:center}
.mkg-kayak-wrap.is-right{justify-content:flex-end}
.mkg-kayak{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px;line-height:0;
  background:var(--c-bg);border:1px solid var(--c-line);border-radius:var(--c-r);
  transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s cubic-bezier(.16,1,.3,1);
}
.mkg-kayak img{height:auto;display:block;border-radius:9px}
.mkg-kayak:hover{transform:translateY(-2px);box-shadow:0 12px 24px -14px rgba(21,28,23,.45)}
.mkg-kayak:focus-visible{outline:2px solid var(--c-accent);outline-offset:3px}

/* ---- images ---- */
.mkg-figure{margin:22px 0 26px}
.mkg-figure img{border-radius:18px;display:block}

@media (max-width:900px){
  .mkg-def{grid-template-columns:140px minmax(0,1fr);gap:16px}
}
@media (max-width:620px){
  .mkg-specs{gap:10px}
  .mkg-spec{flex:1 1 100%}
  #mkg-statrow>.elementor-element{flex:1 1 100%!important}
  .mkg-def{grid-template-columns:1fr;gap:6px;padding:14px 16px}
  .mkg-def dt{padding-top:0}
  .mkg-prose{font-size:16px}
  .mkg-h2{margin:30px 0 12px}
  table.mkg-table{font-size:14.5px;min-width:480px}
  table.mkg-table th,table.mkg-table td{padding:10px 12px}
}

/* ---- site wide: unstyled content tables elsewhere ---- */
.elementor-widget-text-editor table:not(.mkg-table),
.elementor-widget-theme-post-content table:not(.mkg-table){
  width:100%;border-collapse:collapse;font-size:15px;line-height:1.45;
  margin:16px 0 20px;border:1px solid var(--c-line);border-radius:var(--c-r);overflow:hidden;
}
.elementor-widget-text-editor table:not(.mkg-table) th,
.elementor-widget-text-editor table:not(.mkg-table) td,
.elementor-widget-theme-post-content table:not(.mkg-table) th,
.elementor-widget-theme-post-content table:not(.mkg-table) td{
  padding:12px 15px;text-align:left;vertical-align:top;border-bottom:1px solid var(--c-line);
}
.elementor-widget-text-editor table:not(.mkg-table) thead th,
.elementor-widget-theme-post-content table:not(.mkg-table) thead th{
  background:var(--c-surface);font-weight:700;font-size:11px;
  text-transform:uppercase;letter-spacing:.075em;color:var(--c-ink);
}
.elementor-widget-text-editor table:not(.mkg-table) tbody tr:last-child td,
.elementor-widget-theme-post-content table:not(.mkg-table) tbody tr:last-child td{border-bottom:0}
