/* ============================================================
   blog.css — shared styles for all blog pages
   Loaded after seo.css (which provides .seo-wrap, .seo-section,
   .seo-panel, .seo-footer, .seo-hero, .seo-breadcrumbs etc.)
   ============================================================ */

/* ---- CSS custom properties ---- */
:root {
  --tiki-navy: #071b33;
  --tiki-teal: #00d4c8;
  --tiki-slate: #53667d;
  --tiki-light-bg: #f8fafb;
  --tiki-border: #e5e7eb;
  --tiki-line: rgba(16, 36, 63, 0.10);
  --tiki-transition: 200ms ease-out;
  --tiki-orange: #ff6b35;
}

/* ---- Base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: "Montserrat", sans-serif;
  color: var(--tiki-navy);
}
.tiki-shell {
  min-height: 100vh; overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 212, 200, 0.13), transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfc 52%, #eefbfc 100%);
}

/* ---- Container ---- */
.tiki-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* ---- Navigation ---- */
.tiki-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(255,255,255,0.82); backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(16, 36, 63, 0.08);
  height: 76px; display: flex; align-items: center; padding: 0;
}
.tiki-nav__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.tiki-brand {
  display: inline-flex; align-items: center; gap: 13px;
  color: var(--tiki-navy); font-family: "Montserrat", "Century Gothic", sans-serif;
  font-weight: 400 !important; letter-spacing: 0.185em; font-size: 25px;
  text-transform: uppercase; white-space: nowrap; text-decoration: none;
}
.tiki-brand:hover { text-decoration: none; }
.tiki-brand__mark {
  width: 42px; height: 42px; border-radius: 12px; background: #1263ff;
  box-shadow: 0 14px 34px rgba(18, 99, 255, 0.28);
  display: grid; place-items: center; overflow: hidden;
}
.tiki-brand__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tiki-nav__links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.tiki-nav__links a { color: #28405a; font-size: 14px; font-weight: 750; padding: 11px 13px; border-radius: 999px; text-decoration: none; }
.tiki-nav__links a:hover, .tiki-nav__links a:focus { text-decoration: none; background: rgba(0, 212, 200, 0.10); color: #006d68; }
.tiki-nav__cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px;
  border-radius: 999px; background: var(--tiki-navy); color: #ffffff !important;
  font-size: 14px; font-weight: 800 !important; box-shadow: 0 16px 34px rgba(7, 27, 51, 0.18);
  text-decoration: none;
}
.tiki-nav__cta:hover { text-decoration: none; transform: translateY(-1px); background: #0e294b; }
.tiki-menu-button {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--tiki-line);
  border-radius: 14px; background: #ffffff; color: var(--tiki-navy);
}
.tiki-menu-button span { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor; border-radius: 99px; }

/* ---- Hero & Layout overrides for blog ---- */
.seo-hero { padding-top: 128px; padding-bottom: 40px; }

/* Blog article pages use a single-column centred layout */
.blog-article .seo-wrap { max-width: 860px; }

/* ---- Typography ---- */
h2 { font-size: 26px; font-weight: 700; color: var(--tiki-navy); margin-top: 0; margin-bottom: 20px; }
h3 { font-size: 20px; font-weight: 700; color: var(--tiki-navy); margin-top: 25px; margin-bottom: 12px; }
p  { line-height: 1.6; color: #334e68; font-size: 15px; }
ul { line-height: 1.6; color: #334e68; font-size: 15px; padding-left: 20px; }
li { margin-bottom: 8px; }
.seo-h1 { font-size: 40px; font-weight: 800; color: var(--tiki-navy); margin-top: 10px; line-height: 1.2; }
.seo-kicker { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; color: var(--tiki-teal); }
.seo-lead { font-size: 18px; color: var(--tiki-slate); line-height: 1.6; }

/* ---- Hero image background ---- */
.blog-hero-bg {
  position: relative;
  background: linear-gradient(135deg, #071b33 0%, #0d2850 50%, #071b33 100%);
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.blog-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 212, 200, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(18, 99, 255, 0.1) 0%, transparent 40%);
}
.blog-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}
.blog-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 50px;
  max-width: 700px;
}
.blog-hero-content .seo-kicker {
  color: var(--tiki-teal);
  margin-bottom: 12px;
}
.blog-hero-content .seo-h1 {
  color: #ffffff;
  font-size: 36px;
  margin-bottom: 16px;
}
.blog-hero-content .seo-lead {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 20px;
}
.blog-hero-plane {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-size: 140px;
  opacity: 0.08;
  filter: grayscale(1);
}

/* ---- Blog category navigation ---- */
.blog-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--tiki-line);
}
.blog-category-btn {
  appearance: none;
  border: 1px solid var(--tiki-line);
  border-radius: 999px;
  padding: 10px 18px 10px 14px;
  background: #ffffff;
  color: var(--tiki-slate);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-category-btn:hover {
  background: rgba(0, 212, 200, 0.08);
  color: var(--tiki-navy);
  border-color: var(--tiki-teal);
}
.blog-category-btn.is-active {
  background: var(--tiki-navy);
  color: #ffffff;
  border-color: var(--tiki-navy);
}
.blog-category-btn.is-active:hover {
  background: #0e294b;
}
.blog-category-btn .cat-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ---- Blog card covers ---- */
.seo-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.seo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(7, 27, 51, 0.08);
}
.blog-card-cover {
  height: 180px;
  border-radius: 16px 16px 0 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
}
.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.seo-card:hover .blog-card-cover img {
  transform: scale(1.05);
}

.seo-card .card-content {
  padding: 20px 24px 24px;
}
.seo-card .seo-kicker {
  margin-bottom: 8px;
  display: inline-block;
}
.seo-card h3 {
  font-size: 17px;
  margin: 0 0 10px 0;
  line-height: 1.35;
}
.seo-card p {
  font-size: 13px;
  color: var(--tiki-slate);
  margin: 0;
  line-height: 1.5;
}

/* ---- Blog-specific panel overrides ---- */
.seo-panel {
  background: #ffffff;
  border: 1px solid var(--tiki-line);
  border-radius: 24px;
  padding: 35px;
  margin-bottom: 30px;
  box-shadow: 0 12px 40px rgba(7, 27, 51, 0.02);
}

/* ---- Timeline component for layover guides ---- */
.tiki-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0 20px;
  padding: 0 10px;
}
.tiki-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--tiki-border);
  z-index: 1;
}
.tiki-timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 30%;
}
.tiki-timeline-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--tiki-border);
  margin: 0 auto 15px;
  transition: var(--tiki-transition);
}
.tiki-timeline-step.active .tiki-timeline-dot {
  border-color: var(--tiki-teal);
  background: var(--tiki-navy);
}
.tiki-timeline-step.danger .tiki-timeline-dot {
  border-color: var(--tiki-orange);
  background: #ffffff;
}
.tiki-timeline-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 5px;
}
.tiki-timeline-desc {
  font-size: 12px;
  color: var(--tiki-slate);
}

/* ---- Price table for quick facts ---- */
.tiki-price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.tiki-price-table th {
  background: var(--tiki-navy);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
}
.tiki-price-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--tiki-border);
  color: #334e68;
}
.tiki-price-table tr:last-child td {
  border-bottom: none;
}
.tiki-price-table tr:nth-child(even) td {
  background: #f8fafb;
}

/* ---- Responsive adjustments ---- */
@media (max-width: 700px) {
  .tiki-timeline {
    flex-direction: column;
    gap: 30px;
  }
  .tiki-timeline::before {
    display: none;
  }
  .tiki-timeline-step {
    width: 100%;
    text-align: left;
    display: flex;
    gap: 15px;
    align-items: center;
  }
  .tiki-timeline-dot {
    margin: 0;
    flex-shrink: 0;
  }
}

/* ---- Callout / Alert Boxes ---- */
.blog-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: 16px;
  margin: 20px 0;
  border-left: 4px solid;
}
.blog-callout .callout-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}
.blog-callout .callout-content {
  flex: 1;
}
.blog-callout .callout-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.blog-callout.info {
  background: linear-gradient(135deg, #e8f4fd 0%, #f0f9ff 100%);
  border-color: #3b82f6;
}
.blog-callout.info .callout-icon { color: #3b82f6; }
.blog-callout.warning {
  background: linear-gradient(135deg, #fef3e8 0%, #fff7ed 100%);
  border-color: #f97316;
}
.blog-callout.warning .callout-icon { color: #f97316; }
.blog-callout.tip {
  background: linear-gradient(135deg, #e8fdf4 0%, #f0fdf7 100%);
  border-color: #22c55e;
}
.blog-callout.tip .callout-icon { color: #22c55e; }

/* ---- Season Grid Component ---- */
.tiki-season-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 25px 0; }
.tiki-season-card { border-radius: 16px; padding: 20px; text-align: center; border: 1px solid var(--tiki-border); }
.tiki-season-card.low { background: #f5fcf9; border-color: rgba(0, 212, 200, 0.2); }
.tiki-season-card.mid { background: #fcfbfa; border-color: rgba(83, 102, 125, 0.15); }
.tiki-season-card.high { background: #fffaf7; border-color: rgba(255, 107, 53, 0.15); }
.tiki-badge { display: inline-block; padding: 4px 12px; border-radius: 99px; font-size: 11px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.low  .tiki-badge { background: #d3f9f4; color: #006d68; }
.mid  .tiki-badge { background: #e5e7eb; color: var(--tiki-navy); }
.high .tiki-badge { background: #ffece5; color: var(--tiki-orange); }

/* ---- Multi-Airport Components ---- */
.tiki-airport-box  { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.tiki-airport-card { border: 1px solid var(--tiki-border); border-radius: 16px; padding: 22px; background: #ffffff; }
.tiki-airport-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 700; color: var(--tiki-navy); }
.tiki-airport-icon { background: rgba(18, 99, 255, 0.08); padding: 8px; border-radius: 10px; color: #1263ff; display: flex; }

/* ---- Blog index card grid ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.blog-card {
  background: #ffffff; border: 1px solid var(--tiki-border); border-radius: 20px;
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 4px 16px rgba(7,27,51,0.05); transition: all var(--tiki-transition);
  text-decoration: none; color: inherit;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(7,27,51,0.10); border-color: var(--tiki-teal); text-decoration: none; }
.blog-card__kicker { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--tiki-teal); }
.blog-card__title { font-size: 17px; font-weight: 700; color: var(--tiki-navy); line-height: 1.3; margin: 0; }
.blog-card__lead { font-size: 13px; color: var(--tiki-slate); line-height: 1.5; margin: 0; }
.blog-card__arrow { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--tiki-teal); }

/* ---- Table of Contents ---- */
.blog-toc {
  background: #ffffff;
  border: 1px solid var(--tiki-border);
  border-radius: 20px;
  padding: 22px 26px;
  margin: 0 0 28px;
  box-shadow: 0 4px 16px rgba(7, 27, 51, 0.05);
}
.blog-toc__title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tiki-teal);
  margin: 0 0 16px;
}
.blog-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-toc__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #28405a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 212, 200, 0.08);
  border: 1px solid rgba(0, 212, 200, 0.18);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.blog-toc__list a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tiki-teal);
  flex-shrink: 0;
}
.blog-toc__list a:hover {
  background: rgba(0, 212, 200, 0.16);
  border-color: var(--tiki-teal);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ---- Article meta (date, reading time) ---- */
.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--tiki-slate);
}
.blog-article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ---- Article inline images ---- */
.blog-article-img {
  width: 100%;
  border-radius: 16px;
  margin: 24px 0 8px;
  display: block;
  box-shadow: 0 8px 30px rgba(7, 27, 51, 0.08);
}
.blog-img-caption {
  text-align: center;
  font-size: 12px;
  color: var(--tiki-slate);
  margin-bottom: 24px;
  font-style: italic;
}

/* ---- Mobile breakpoints ---- */
@media (max-width: 1175px) {
  .tiki-container { width: min(100% - 32px, 920px); }
  .tiki-nav__links, .tiki-nav__cta { display: none; }
  .tiki-menu-button { display: inline-flex; }
  .tiki-nav.is-open .tiki-nav__links {
    position: absolute; left: 16px; right: 16px; top: 84px;
    display: grid; gap: 4px; padding: 14px;
    border: 1px solid rgba(16,36,63,0.10); border-radius: 24px;
    background: rgba(255,255,255,0.96); box-shadow: 0 24px 70px rgba(5,30,55,0.16);
  }
  .tiki-nav.is-open .tiki-nav__links a { padding: 13px 14px; }
  .tiki-nav { padding: 0 20px; }
  .tiki-brand { font-size: 18px; }
}

@media (max-width: 700px) {
  .seo-hero { padding-top: 100px; }
  .tiki-season-grid { grid-template-columns: 1fr; }
  .tiki-airport-box { grid-template-columns: 1fr; }
  .tiki-timeline { flex-direction: column; gap: 30px; }
  .tiki-timeline::before { display: none; }
  .tiki-timeline-step { width: 100%; text-align: left; display: flex; gap: 15px; align-items: center; }
  .tiki-timeline-dot { margin: 0; flex-shrink: 0; }
  .blog-grid { grid-template-columns: 1fr; }
}
