/* MyFlyYatra pillar guides (2026-11-25). Loaded by article.php only when the post body contains .mfy-pillar.
   Layout: sticky table of contents on the left, guide on the right (fills the 1440px row on desktop). */
.mfy-pillar{
  --pg-ink:#0f1b2d; --pg-text:#374151; --pg-muted:#64748b; --pg-line:#e2e8f0; --pg-soft:#f4f8fc;
  --pg-accent:#0082b9; --pg-accent-2:#0b2548; --pg-gold:#f5b400; --pg-ok:#15803d; --pg-warn:#b45309;
  display:grid; grid-template-columns:minmax(0,1fr); gap:32px; align-items:start;
}
/* Wide screens: the guide menu sits in its own column OUTSIDE the article column (2026-11-25).
   The whole article (meta, body, FAQs) is shifted right by the menu width, and the menu is pulled back
   into that gutter, so the content keeps its full width. Needs :has(); older browsers keep the inline menu. */
@media (min-width:1100px){
  section.blog-article-page:has(.mfy-pillar){
    --pg-menu:250px; --pg-gap:40px; --pg-gutter:max(16px, calc((100% - 1180px - var(--pg-menu) - var(--pg-gap)) / 2));
    padding-left:calc(var(--pg-gutter) + var(--pg-menu) + var(--pg-gap)) !important;
    padding-right:var(--pg-gutter) !important;
  }
  .mfy-pillar{ grid-template-columns:var(--pg-menu,250px) minmax(0,1fr); gap:var(--pg-gap,40px);
    margin-left:calc(-1 * (var(--pg-menu,250px) + var(--pg-gap,40px))); }
}
@supports not selector(:has(*)){ @media (min-width:1100px){ .mfy-pillar{ margin-left:0; grid-template-columns:250px minmax(0,1fr); } } }

/* table of contents (v2, 2026-11-25): padded sticky card, numbered badges, active-section highlight, progress bar */
.mfy-pillar__toc{ background:#fff; border:1px solid var(--pg-line); border-radius:16px; padding:0; overflow:hidden;
  box-shadow:0 1px 2px rgba(15,27,45,.04), 0 10px 28px -18px rgba(11,37,72,.35); }
@media (min-width:1100px){ .mfy-pillar__toc{ position:sticky; top:96px; max-height:calc(100vh - 120px); display:flex; flex-direction:column; }
  .blog-article-page .cms-page-content .mfy-pillar__toc ol{ flex:1 1 auto; min-height:0; } }
.mfy-pillar__toc-head{ position:relative; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:18px 20px 14px; border-bottom:1px solid var(--pg-line); background:#f8fbfe; }
.blog-article-page .cms-page-content .mfy-pillar__toc-title{ margin:0; font-size:12px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--pg-accent-2); }
.mfy-pillar__toc-count{ font-size:12px; color:var(--pg-muted); }
.mfy-pillar__toc-toggle{ display:none; border:0; background:none; padding:4px; color:var(--pg-accent-2); cursor:pointer; font:inherit; font-size:13px; font-weight:600; }
.blog-article-page .cms-page-content .mfy-pillar__toc ol{ list-style:none; margin:0; padding:12px 12px 14px; counter-reset:pg; overflow:auto; scrollbar-width:thin; }
.blog-article-page .cms-page-content .mfy-pillar__toc li{ counter-increment:pg; margin:0 0 2px; }
.blog-article-page .cms-page-content .mfy-pillar__toc a{ position:relative; display:flex; align-items:flex-start; gap:12px; padding:9px 12px 9px 10px;
  border-radius:10px; font-size:14.5px; line-height:1.45; font-weight:500; color:var(--pg-text); text-decoration:none; transition:background .15s, color .15s; }
.mfy-pillar__toc a::before{ content:counter(pg); flex:0 0 24px; height:24px; margin-top:-1px; border-radius:50%; display:grid; place-items:center;
  font-size:11.5px; font-weight:700; color:var(--pg-accent); background:#e8f4fa; transition:background .15s, color .15s; }
.blog-article-page .cms-page-content .mfy-pillar__toc a:hover{ background:var(--pg-soft); color:var(--pg-ink); text-decoration:none; }
.blog-article-page .cms-page-content .mfy-pillar__toc a.is-active{ background:#eef6fb; color:var(--pg-ink); font-weight:700; }
.mfy-pillar__toc a.is-active::after{ content:""; position:absolute; left:0; top:8px; bottom:8px; width:3px; border-radius:3px; background:var(--pg-gold); }
.mfy-pillar__toc a.is-active::before{ background:var(--pg-accent-2); color:#fff; }
.mfy-pillar__toc a.is-done::before{ background:#dcfce7; color:var(--pg-ok); }
.mfy-pillar__toc-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px 20px 16px; border-top:1px solid var(--pg-line); background:#f8fbfe; }
.blog-article-page .cms-page-content .mfy-pillar__toc-foot button{ border:0; border-radius:999px; padding:9px 16px; background:var(--pg-gold); color:var(--pg-accent-2); font:inherit; font-size:13.5px; font-weight:700; cursor:pointer; }
.blog-article-page .cms-page-content .mfy-pillar__toc-foot a{ font-size:13px; font-weight:600; color:var(--pg-muted); }
/* phones/tablets: collapsible card at the top of the guide */
@media (max-width:1099px){
  .mfy-pillar__toc-toggle{ display:inline-flex; align-items:center; gap:6px; }
  .mfy-pillar__toc-count{ display:none; }
  .blog-article-page .cms-page-content .mfy-pillar__toc ol{ columns:2; column-gap:12px; padding:12px; }
  .blog-article-page .cms-page-content .mfy-pillar__toc li{ break-inside:avoid; }
  .mfy-pillar__toc.is-collapsed ol{ display:none; }
  .mfy-pillar__toc.is-collapsed .mfy-pillar__toc-head{ border-bottom:0; }
}
@media (max-width:600px){ .blog-article-page .cms-page-content .mfy-pillar__toc ol{ columns:1; } .mfy-pillar__toc-head{ padding:14px 16px; } }
@media (prefers-reduced-motion:reduce){ .mfy-pillar__toc a{ transition:none; } }

.mfy-pillar__main > section{ scroll-margin-top:96px; }
.mfy-pillar__main h2{ padding-top:6px; border-top:1px solid var(--pg-line); }
.mfy-pillar__main > section:first-of-type h2{ border-top:0; }

/* intro: lede + key takeaways */
.mfy-pillar__lede{ font-size:19px; line-height:1.7; color:var(--pg-ink); }
.mfy-pillar__updated{ font-size:13px; color:var(--pg-muted); margin:-6px 0 18px; }

/* card grids (verdicts, options) */
.mfy-pillar__cards{ display:grid; gap:16px; margin:18px 0 24px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.mfy-pillar__card{ background:#fff; border:1px solid var(--pg-line); border-radius:14px; padding:18px 18px 8px; box-shadow:0 1px 2px rgba(15,27,45,.04); }
.blog-article-page .cms-page-content .mfy-pillar__card h3,.blog-article-page .cms-page-content .mfy-pillar__card h4{ margin:0 0 8px; font-size:1.05rem; }
.blog-article-page .cms-page-content .mfy-pillar__card p{ font-size:15.5px; line-height:1.65; margin:0 0 10px; }
.mfy-pillar__tag{ display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--pg-accent); background:#e8f4fa; border-radius:999px; padding:3px 10px; margin-bottom:8px; }

/* tables */
.mfy-pillar__table{ overflow-x:auto; margin:16px 0 24px; border:1px solid var(--pg-line); border-radius:12px; }
.blog-article-page .cms-page-content .mfy-pillar__table table{ margin:0; min-width:640px; border:0; }
.blog-article-page .cms-page-content .mfy-pillar__table th{ background:#0b2548; color:#fff; border-color:#0b2548; font-size:14px; }
.blog-article-page .cms-page-content .mfy-pillar__table td{ font-size:15px; vertical-align:top; }
.blog-article-page .cms-page-content .mfy-pillar__table tr:nth-child(even) td{ background:#f8fafc; }
.mfy-pillar__table caption{ caption-side:bottom; text-align:left; font-size:13px; color:var(--pg-muted); padding:8px 12px; }

/* callouts */
.mfy-pillar__callout{ border-radius:12px; padding:16px 18px; margin:18px 0 22px; background:var(--pg-soft); border-left:4px solid var(--pg-accent); }
.mfy-pillar__callout--tip{ background:#f0fdf4; border-color:var(--pg-ok); }
.mfy-pillar__callout--warn{ background:#fffbeb; border-color:var(--pg-warn); }
.blog-article-page .cms-page-content .mfy-pillar__callout p:last-child{ margin-bottom:0; }
.mfy-pillar__callout strong:first-child{ display:block; margin-bottom:4px; color:var(--pg-ink); }

/* steps */
.blog-article-page .cms-page-content ol.mfy-pillar__steps{ list-style:none; padding:0; counter-reset:st; display:grid; gap:12px; }
.blog-article-page .cms-page-content ol.mfy-pillar__steps > li{ counter-increment:st; position:relative; padding:14px 16px 14px 58px; margin:0; background:#fff; border:1px solid var(--pg-line); border-radius:12px; }
.mfy-pillar__steps > li::before{ content:counter(st); position:absolute; left:14px; top:14px; width:30px; height:30px; border-radius:50%; background:var(--pg-accent); color:#fff; font-weight:700; display:grid; place-items:center; font-size:14px; }

/* topic cluster + route link grids */
.mfy-pillar__links{ background:var(--pg-soft); border:1px solid var(--pg-line); border-radius:16px; padding:20px 20px 10px; margin:22px 0 28px; }
.blog-article-page .cms-page-content .mfy-pillar__links h3{ margin:0 0 12px; font-size:1.1rem; }
.mfy-pillar__linkgrid{ display:grid; gap:10px; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); margin-bottom:10px; }
.blog-article-page .cms-page-content a.mfy-pillar__link{ display:flex; flex-direction:column; gap:2px; background:#fff; border:1px solid var(--pg-line); border-radius:10px; padding:11px 14px; color:var(--pg-ink); font-weight:600; font-size:15px; line-height:1.4; transition:border-color .15s, box-shadow .15s; }
.blog-article-page .cms-page-content a.mfy-pillar__link:hover{ border-color:var(--pg-accent); box-shadow:0 6px 16px -8px rgba(0,130,185,.45); text-decoration:none; }
.mfy-pillar__link span{ font-size:13px; font-weight:400; color:var(--pg-muted); }

/* call-to-action band */
.mfy-pillar__cta{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; background:linear-gradient(135deg,#0b2548 0%,#0f4c81 100%); color:#fff; border-radius:16px; padding:22px 26px; margin:28px 0; }
.blog-article-page .cms-page-content .mfy-pillar__cta p{ margin:0; color:rgba(255,255,255,.9); }
.blog-article-page .cms-page-content .mfy-pillar__cta strong{ color:#fff; font-size:1.15rem; display:block; }
.mfy-pillar__cta-actions{ display:flex; flex-wrap:wrap; gap:10px; }
.blog-article-page .cms-page-content .mfy-pillar__btn{ display:inline-flex; align-items:center; gap:8px; padding:11px 20px; border-radius:999px; font-weight:700; font-size:15px; background:var(--pg-gold); color:#0b2548; }
.blog-article-page .cms-page-content .mfy-pillar__btn--ghost{ background:transparent; color:#fff; box-shadow:inset 0 0 0 2px rgba(255,255,255,.7); }
.blog-article-page .cms-page-content .mfy-pillar__btn:hover{ text-decoration:none; filter:brightness(1.05); }

/* sources */
.mfy-pillar__sources{ font-size:14px; color:var(--pg-muted); border-top:1px solid var(--pg-line); padding-top:14px; margin-top:28px; }
.blog-article-page .cms-page-content .mfy-pillar__sources li{ margin-bottom:4px; }
.blog-article-page .cms-page-content .mfy-pillar__sources a{ font-weight:500; }

/* "part of a guide" box injected into older cluster posts and route pages */
.mfy-guide-box{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; background:#f4f8fc; border:1px solid #dbe7f3; border-left:4px solid #0082b9; border-radius:12px; padding:14px 18px; margin:22px 0; }
.mfy-guide-box__label{ font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#0082b9; }
.mfy-guide-box a{ font-weight:700; }

/* Guides: no red blog-theme decorations (2026-11-25). The base blog CSS draws a red bar beside every H2
   (.inner-blog-left h2::before) and a red open-FAQ state; on guides they clashed with the section dividers. */
section.blog-article-page:has(.mfy-pillar) .inner-blog-left h2::before{ display:none !important; content:none !important; }
section.blog-article-page:has(.mfy-pillar) .inner-blog-left h2{ padding-left:0 !important; }
.mfy-pillar__main h2{ border-top:0; padding-top:0; }
.mfy-pillar__main > section + section{ border-top:1px solid #e2e8f0; margin-top:8px; padding-top:4px; }
section.blog-article-page:has(.mfy-pillar) .mfy-faq__q.is-open{ background:#eef6fb !important; color:#0b2548 !important; }
section.blog-article-page:has(.mfy-pillar) .mfy-faq__item.is-open{ border-color:#cfe3f1; }

/* Guides: neutralise the base blog link/list styling (2026-11-25).
   inner-blog.css draws a red 1.5px underline under EVERY link (background-image gradient, animated on hover)
   and forces red disc markers on every <li>; that produced the red lines in the "In this guide" menu. */
.mfy-pillar a{ background-image:none !important; }
.mfy-pillar a:hover{ opacity:1 !important; }
.mfy-pillar__toc li, .mfy-pillar__takeaways li, ol.mfy-pillar__steps > li, .mfy-pillar__linkgrid li{
  list-style:none !important; padding-left:0 !important; font-size:inherit; }
.mfy-pillar__toc li::marker, .mfy-pillar__takeaways li::marker, ol.mfy-pillar__steps > li::marker{ content:none; }
ol.mfy-pillar__steps > li{ padding:14px 16px 14px 58px !important; margin:0 !important; }
.blog-article-page .cms-page-content .mfy-pillar__toc li{ margin:0 0 2px !important; line-height:1.45; }
.blog-article-page .cms-page-content .mfy-pillar__toc a,
.blog-article-page .cms-page-content .mfy-pillar__toc a:hover{ color:var(--pg-text) !important; }
.blog-article-page .cms-page-content .mfy-pillar__toc a.is-active{ color:var(--pg-ink) !important; }
/* ordinary in-text links in guides: brand blue with a quiet underline, no red */
.mfy-pillar__main p a, .mfy-pillar__main li a, .mfy-pillar__main td a{ color:#0082b9 !important; text-decoration:underline; text-decoration-color:rgba(0,130,185,.35); text-underline-offset:3px; }
.mfy-pillar__main p a:hover, .mfy-pillar__main li a:hover, .mfy-pillar__main td a:hover{ color:#0b2548 !important; text-decoration-color:currentColor; }
/* ordinary bullet lists in guide text: blue markers instead of red */
.mfy-pillar__main ul:not([class]) li::marker, .mfy-pillar__main ol:not([class]) li::marker{ color:#0082b9; }

/* ---- Key takeaways v2 (2026-11-25): light panel, numbered cards with bold lead ---- */
.mfy-pillar .mfy-pillar__takeaways{ background:linear-gradient(180deg,#f6f9fd 0%,#ffffff 100%); border:1px solid #dbe7f3; border-radius:18px;
  padding:22px 24px 24px; margin:22px 0 30px; color:var(--pg-text); position:relative; overflow:hidden; }
.mfy-pillar .mfy-pillar__takeaways::before{ content:""; position:absolute; left:0; top:0; right:0; height:4px; background:linear-gradient(90deg,#0b2548,#0082b9 60%,#f5b400); }
.blog-article-page .cms-page-content .mfy-pillar__takeaways h3{ display:flex; align-items:center; gap:10px; margin:0 0 16px !important; padding:0 !important;
  font-size:1.15rem !important; color:#0b2548 !important; letter-spacing:0; }
.mfy-pillar__takeaways h3::before{ content:"\2605"; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#0b2548; color:#f5b400; font-size:14px; }
.blog-article-page .cms-page-content .mfy-pillar__takeaways ul{ list-style:none; margin:0 !important; padding:0 !important; display:grid; grid-template-columns:1fr; gap:12px; counter-reset:tk; max-width:none !important; }
@media (min-width:760px){ .blog-article-page .cms-page-content .mfy-pillar__takeaways ul{ grid-template-columns:1fr 1fr; } }
.blog-article-page .cms-page-content .mfy-pillar__takeaways li{ counter-increment:tk; position:relative; margin:0 !important; padding:14px 16px 14px 56px !important;
  background:#fff; border:1px solid #e2e8f0; border-radius:12px; font-size:15px !important; line-height:1.6 !important; color:#475569 !important; list-style:none !important;
  box-shadow:0 1px 2px rgba(15,27,45,.04); }
.mfy-pillar__takeaways li::before{ content:counter(tk); position:absolute; left:14px; top:14px; width:28px; height:28px; border-radius:50%;
  display:grid; place-items:center; background:#e8f4fa; color:#0082b9; font-weight:700; font-size:13px; }
.blog-article-page .cms-page-content .mfy-pillar__takeaways li .mfy-tk__lead{ display:block; margin-bottom:3px; color:#0b2548 !important; font-size:15.5px; font-weight:700; }

/* ---- dark panels: always light text (base blog CSS forces dark headings/text with !important) ---- */
.blog-article-page .cms-page-content .mfy-pillar__cta,
.blog-article-page .cms-page-content .mfy-pillar__cta p,
.blog-article-page .cms-page-content .mfy-pillar__cta strong,
.blog-article-page .cms-page-content .mfy-pillar__cta h2,
.blog-article-page .cms-page-content .mfy-pillar__cta h3{ color:#fff !important; }
.blog-article-page .cms-page-content .mfy-pillar__cta p{ color:rgba(255,255,255,.9) !important; margin:0 !important; max-width:none !important; }
.blog-article-page .cms-page-content .mfy-pillar__cta a.mfy-pillar__btn{ color:#0b2548 !important; }
.blog-article-page .cms-page-content .mfy-pillar__cta a.mfy-pillar__btn--ghost{ color:#fff !important; }
.blog-article-page .cms-page-content .mfy-pillar__table th,
.blog-article-page .cms-page-content .mfy-pillar__table th *{ color:#fff !important; }
.blog-article-page .cms-page-content .mfy-pillar__table td a{ color:#0082b9 !important; }

/* ---- menu header alignment: base CSS gives every <p> a 22px bottom margin and 1.1rem font ---- */
.blog-article-page .cms-page-content .mfy-pillar__toc-head .mfy-pillar__toc-title{ margin:0 !important; font-size:12px !important; line-height:1.2 !important; max-width:none !important; }
.mfy-pillar__toc-head{ align-items:center; min-height:52px; }
.mfy-pillar__toc-count{ line-height:1.2; white-space:nowrap; }
