/*
  FlexiCare Insurance — V1177 Editorial Detail Pages Visual Baseline
  Scope: /odigoi/<slug> and /nea/<slug> only, via body classes:
  .fc-guide-detail, .fc-news-detail, .fc-content-detail
  No content, route, slug, form or editorial-engine changes.
*/

body.fc-guide-detail,
body.fc-news-detail{
  --fc-ed-petrol: #123f49;
  --fc-ed-petrol-2: #1f6f78;
  --fc-ed-ink: #17303a;
  --fc-ed-muted: rgba(23, 48, 58, .72);
  --fc-ed-line: rgba(31, 111, 120, .16);
  --fc-ed-surface: rgba(255, 255, 255, .88);
  --fc-ed-soft: rgba(31, 111, 120, .055);
  --fc-ed-shadow: 0 20px 48px rgba(9, 43, 51, .08);
}

body.fc-guide-detail .section,
body.fc-news-detail .section{
  background:
    radial-gradient(circle at 12% 0%, rgba(31,111,120,.075), transparent 34%),
    linear-gradient(180deg, rgba(248,253,252,.96), rgba(255,255,255,1) 34%);
}

body.fc-guide-detail .fc-shell.fc-article,
body.fc-news-detail .fc-shell.fc-article,
body.fc-guide-detail .fc-editorial-article,
body.fc-news-detail .fc-editorial-article{
  max-width: 1160px;
  margin-inline: auto;
}

body.fc-guide-detail .fc-article-top,
body.fc-news-detail .fc-article-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}

body.fc-guide-detail .fc-back,
body.fc-news-detail .fc-back,
body.fc-guide-detail .fc-article-path a,
body.fc-news-detail .fc-article-path a{
  color: var(--fc-ed-petrol-2);
  text-decoration: none;
  font-weight: 700;
}

body.fc-guide-detail .fc-back:hover,
body.fc-news-detail .fc-back:hover,
body.fc-guide-detail .fc-article-path a:hover,
body.fc-news-detail .fc-article-path a:hover{
  color: var(--fc-ed-petrol);
  text-decoration: none;
}

body.fc-guide-detail .fc-article-page,
body.fc-news-detail .fc-article-page{
  border: 1px solid var(--fc-ed-line);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,254,253,.94));
  box-shadow: var(--fc-ed-shadow);
  border-radius: 30px;
  padding: clamp(20px, 2.4vw, 34px);
}

body.fc-guide-detail .fc-article-head,
body.fc-news-detail .fc-article-head{
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid rgba(31,111,120,.13);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(239,250,248,.72));
}

body.fc-guide-detail .fc-article-meta,
body.fc-news-detail .fc-article-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--fc-ed-muted);
  font-size: .92rem;
  line-height: 1.45;
}

body.fc-guide-detail .fc-article-chip,
body.fc-news-detail .fc-article-chip{
  border-color: rgba(31,111,120,.22);
  background: rgba(31,111,120,.08);
  color: var(--fc-ed-petrol);
  letter-spacing: .01em;
}

body.fc-guide-detail .fc-article-title,
body.fc-news-detail .fc-article-title{
  max-width: 920px;
  margin-top: 14px;
  margin-bottom: 10px;
  color: var(--fc-ed-ink);
  letter-spacing: -.035em;
  line-height: 1.08;
}

body.fc-guide-detail .fc-article-lead,
body.fc-news-detail .fc-article-lead{
  max-width: 860px;
  color: var(--fc-ed-muted);
  font-size: clamp(1.02rem, 1.1vw, 1.12rem);
  line-height: 1.72;
}

body.fc-guide-detail .fc-article-brief,
body.fc-news-detail .fc-article-brief{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

body.fc-guide-detail .fc-article-brief__item,
body.fc-news-detail .fc-article-brief__item{
  min-width: 0;
  padding: 12px 13px;
  border-radius: 18px;
  border: 1px solid rgba(31,111,120,.13);
  background: rgba(255,255,255,.78);
}

body.fc-guide-detail .fc-article-brief__label,
body.fc-news-detail .fc-article-brief__label{
  display: block;
  margin-bottom: 4px;
  color: rgba(23,48,58,.58);
  font-size: .77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .055em;
}

body.fc-guide-detail .fc-article-brief__value,
body.fc-news-detail .fc-article-brief__value{
  display: block;
  color: var(--fc-ed-ink);
  font-size: .95rem;
  line-height: 1.35;
}

body.fc-guide-detail .fc-article-layout,
body.fc-news-detail .fc-article-layout{
  margin-top: clamp(18px, 2vw, 26px);
}

@media (min-width: 1060px){
  body.fc-guide-detail .fc-article-layout,
  body.fc-news-detail .fc-article-layout{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 306px;
    gap: 26px;
    align-items: start;
  }
}

body.fc-guide-detail .fc-article-main,
body.fc-news-detail .fc-article-main{
  min-width: 0;
}

body.fc-guide-detail .fc-article-body,
body.fc-news-detail .fc-article-body{
  max-width: 760px;
  color: rgba(23,48,58,.88);
  font-size: 1rem;
  line-height: 1.82;
}

body.fc-guide-detail .fc-article-body h2,
body.fc-news-detail .fc-article-body h2{
  margin-top: 1.9em;
  margin-bottom: .55em;
  color: var(--fc-ed-petrol);
  font-size: clamp(1.28rem, 1.6vw, 1.55rem);
  line-height: 1.22;
  letter-spacing: -.025em;
}

body.fc-guide-detail .fc-article-body h3,
body.fc-news-detail .fc-article-body h3{
  margin-top: 1.45em;
  margin-bottom: .45em;
  color: var(--fc-ed-petrol);
  font-size: 1.08rem;
  line-height: 1.35;
}

body.fc-guide-detail .fc-article-body p,
body.fc-news-detail .fc-article-body p{
  margin-block: .85em;
}

body.fc-guide-detail .fc-article-body ul,
body.fc-news-detail .fc-article-body ul,
body.fc-guide-detail .fc-article-body ol,
body.fc-news-detail .fc-article-body ol{
  padding-left: 1.35rem;
}

body.fc-guide-detail .fc-article-body li,
body.fc-news-detail .fc-article-body li{
  margin: .52em 0;
}

body.fc-guide-detail .fc-article-summary,
body.fc-news-detail .fc-article-summary,
body.fc-guide-detail .fc-article-callout,
body.fc-news-detail .fc-article-callout,
body.fc-guide-detail .fc-cta-banner,
body.fc-news-detail .fc-cta-banner,
body.fc-guide-detail .fc-article-section-nav,
body.fc-news-detail .fc-article-section-nav,
body.fc-guide-detail .fc-sticky-cta,
body.fc-news-detail .fc-sticky-cta{
  border-color: var(--fc-ed-line);
  background: var(--fc-ed-soft);
  border-radius: 22px;
}

body.fc-guide-detail .fc-article-callout,
body.fc-news-detail .fc-article-callout{
  padding: 16px 18px;
}

body.fc-guide-detail .fc-article-callout h3,
body.fc-news-detail .fc-article-callout h3{
  color: var(--fc-ed-petrol);
  margin-bottom: 6px;
}

body.fc-guide-detail .fc-cta-banner,
body.fc-news-detail .fc-cta-banner{
  align-items: center;
  gap: 16px;
  padding: 18px;
}

body.fc-guide-detail .fc-cta-banner__title,
body.fc-news-detail .fc-cta-banner__title{
  color: var(--fc-ed-petrol);
}

body.fc-guide-detail .fc-cta-banner__sub,
body.fc-news-detail .fc-cta-banner__sub{
  color: var(--fc-ed-muted);
  line-height: 1.62;
}

body.fc-guide-detail .fc-toc,
body.fc-news-detail .fc-toc{
  border-color: var(--fc-ed-line);
  background: rgba(255,255,255,.88);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(9,43,51,.055);
}

body.fc-guide-detail .fc-toc--side,
body.fc-news-detail .fc-toc--side{
  top: 104px;
}

body.fc-guide-detail .fc-toc__title,
body.fc-news-detail .fc-toc__title{
  color: var(--fc-ed-petrol);
}

body.fc-guide-detail .fc-toc a,
body.fc-news-detail .fc-toc a{
  color: var(--fc-ed-petrol-2);
  text-decoration: none;
  line-height: 1.42;
}

body.fc-guide-detail .fc-toc a:hover,
body.fc-news-detail .fc-toc a:hover{
  color: var(--fc-ed-petrol);
  text-decoration: none;
}

body.fc-guide-detail .fc-article-bottom,
body.fc-news-detail .fc-article-bottom{
  gap: 10px;
  border-top-color: rgba(31,111,120,.13);
}

body.fc-guide-detail .fc-article-related,
body.fc-news-detail .fc-article-related{
  margin-top: 28px;
}

body.fc-guide-detail .fc-post-card,
body.fc-news-detail .fc-post-card{
  border-color: var(--fc-ed-line);
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 34px rgba(9,43,51,.055);
}

body.fc-guide-detail .fc-post-card__title,
body.fc-news-detail .fc-post-card__title{
  color: var(--fc-ed-ink);
  line-height: 1.28;
}

body.fc-guide-detail .fc-editorial-side-rail,
body.fc-news-detail .fc-editorial-side-rail{
  display: grid;
  gap: 12px;
}

body.fc-guide-detail .fc-editorial-side-rail__item,
body.fc-news-detail .fc-editorial-side-rail__item{
  border: 1px solid var(--fc-ed-line);
  background: rgba(255,255,255,.84);
  border-radius: 20px;
  padding: 14px;
}

body.fc-guide-detail .fc-editorial-side-rail__title,
body.fc-news-detail .fc-editorial-side-rail__title{
  color: var(--fc-ed-petrol);
}

body.fc-guide-detail :is(a, button, summary, .btn):focus-visible,
body.fc-news-detail :is(a, button, summary, .btn):focus-visible{
  outline: 3px solid rgba(31,111,120,.28);
  outline-offset: 3px;
  border-radius: 12px;
}

@media (max-width: 1059px){
  body.fc-guide-detail .fc-article-brief,
  body.fc-news-detail .fc-article-brief{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.fc-guide-detail .fc-article-body,
  body.fc-news-detail .fc-article-body{
    max-width: none;
  }
}

@media (max-width: 720px){
  body.fc-guide-detail .section,
  body.fc-news-detail .section{
    padding-top: 22px;
  }

  body.fc-guide-detail .fc-article-page,
  body.fc-news-detail .fc-article-page{
    border-radius: 24px;
    padding: 16px;
  }

  body.fc-guide-detail .fc-article-head,
  body.fc-news-detail .fc-article-head{
    border-radius: 20px;
    padding: 16px;
  }

  body.fc-guide-detail .fc-article-title,
  body.fc-news-detail .fc-article-title{
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  body.fc-guide-detail .fc-article-brief,
  body.fc-news-detail .fc-article-brief{
    grid-template-columns: 1fr;
  }

  body.fc-guide-detail .fc-cta-banner__actions,
  body.fc-news-detail .fc-cta-banner__actions,
  body.fc-guide-detail .fc-article-bottom,
  body.fc-news-detail .fc-article-bottom,
  body.fc-guide-detail .fc-sticky-cta,
  body.fc-news-detail .fc-sticky-cta{
    display: grid;
    grid-template-columns: 1fr;
  }

  body.fc-guide-detail .fc-cta-banner__actions .btn,
  body.fc-news-detail .fc-cta-banner__actions .btn,
  body.fc-guide-detail .fc-article-bottom .btn,
  body.fc-news-detail .fc-article-bottom .btn,
  body.fc-guide-detail .fc-sticky-cta .btn,
  body.fc-news-detail .fc-sticky-cta .btn{
    width: 100%;
    justify-content: center;
  }
}

/*
  V1247 — Editorial Detail Pages Reading Flow & Side Rail Premium Refinement
  Scope: /odigoi/<slug> and /nea/<slug> detail pages only.
  No content, routing, form, cookie, legal text or editorial-engine changes.
*/
body.fc-guide-detail .fc-article-page,
body.fc-news-detail .fc-article-page{
  box-shadow: 0 18px 46px rgba(9,43,51,.065);
}

body.fc-guide-detail .fc-article-head,
body.fc-news-detail .fc-article-head{
  border-color: rgba(31,111,120,.115);
  box-shadow: 0 10px 26px rgba(9,43,51,.035);
}

body.fc-guide-detail .fc-article-title,
body.fc-news-detail .fc-article-title{
  max-width: 960px;
  text-wrap: balance;
}

body.fc-guide-detail .fc-article-lead,
body.fc-news-detail .fc-article-lead{
  max-width: 900px;
}

body.fc-guide-detail .fc-article-body,
body.fc-news-detail .fc-article-body{
  max-width: 780px;
  font-size: clamp(1rem, .98rem + .08vw, 1.045rem);
  line-height: 1.86;
}

body.fc-guide-detail .fc-article-body > :first-child,
body.fc-news-detail .fc-article-body > :first-child{
  margin-top: 0;
}

body.fc-guide-detail .fc-article-body h2,
body.fc-news-detail .fc-article-body h2{
  max-width: 720px;
  scroll-margin-top: 118px;
}

body.fc-guide-detail .fc-article-body h3,
body.fc-news-detail .fc-article-body h3{
  max-width: 720px;
  scroll-margin-top: 118px;
}

body.fc-guide-detail .fc-article-body :is(ul,ol),
body.fc-news-detail .fc-article-body :is(ul,ol){
  margin-block: 1em;
  padding-left: 1.25rem;
}

body.fc-guide-detail .fc-article-body li::marker,
body.fc-news-detail .fc-article-body li::marker{
  color: var(--fc-ed-petrol-2);
}

body.fc-guide-detail .fc-article-callout,
body.fc-news-detail .fc-article-callout,
body.fc-guide-detail .fc-cta-banner,
body.fc-news-detail .fc-cta-banner,
body.fc-guide-detail .fc-article-section-nav,
body.fc-news-detail .fc-article-section-nav,
body.fc-guide-detail .fc-sticky-cta,
body.fc-news-detail .fc-sticky-cta{
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(243,250,249,.82));
  box-shadow: 0 10px 26px rgba(9,43,51,.04);
}

body.fc-guide-detail .fc-toc--side,
body.fc-news-detail .fc-toc--side,
body.fc-guide-detail .fc-guides-toc,
body.fc-news-detail .fc-newsroom-toc{
  top: 96px;
  max-height: calc(100vh - 118px);
  overflow: auto;
  scrollbar-width: thin;
  box-shadow: 0 12px 30px rgba(9,43,51,.045);
}

body.fc-guide-detail .fc-guides-toc,
body.fc-news-detail .fc-newsroom-toc{
  border: 1px solid var(--fc-ed-line);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,252,252,.92));
}

body.fc-guide-detail .fc-guides-toc__link,
body.fc-news-detail .fc-newsroom-toc__link{
  box-shadow: none;
  background: rgba(255,255,255,.74);
  font-size: .94rem;
  line-height: 1.38;
}

body.fc-guide-detail .fc-guides-toc__link.is-active,
body.fc-guide-detail .fc-guides-toc__link[aria-current="page"],
body.fc-news-detail .fc-newsroom-toc__link.is-active,
body.fc-news-detail .fc-newsroom-toc__link[aria-current="page"]{
  box-shadow: none;
  background: linear-gradient(180deg, rgba(31,111,120,.105), rgba(31,111,120,.068));
}

body.fc-guide-detail .fc-guide-tocstatus,
body.fc-news-detail .fc-newsroom-tocstatus{
  background: rgba(31,111,120,.055);
  box-shadow: none;
}

body.fc-guide-detail .fc-guides-side-rail__item,
body.fc-news-detail .fc-newsroom-side-rail__item,
body.fc-guide-detail .fc-editorial-side-rail__item,
body.fc-news-detail .fc-editorial-side-rail__item{
  box-shadow: none;
  background: rgba(255,255,255,.8);
}

body.fc-guide-detail .fc-article-related .fc-post-card,
body.fc-news-detail .fc-article-related .fc-post-card{
  box-shadow: 0 10px 28px rgba(9,43,51,.045);
}

@media (max-width: 1059px){
  body.fc-guide-detail .fc-article-body,
  body.fc-news-detail .fc-article-body{
    max-width: none;
  }
}

@media (max-width: 720px){
  body.fc-guide-detail .fc-article-body,
  body.fc-news-detail .fc-article-body{
    font-size: 1rem;
    line-height: 1.78;
  }

  body.fc-guide-detail .fc-article-body h2,
  body.fc-news-detail .fc-article-body h2,
  body.fc-guide-detail .fc-article-body h3,
  body.fc-news-detail .fc-article-body h3{
    max-width: none;
    scroll-margin-top: 88px;
  }

  body.fc-guide-detail .fc-article-callout,
  body.fc-news-detail .fc-article-callout,
  body.fc-guide-detail .fc-cta-banner,
  body.fc-news-detail .fc-cta-banner,
  body.fc-guide-detail .fc-article-section-nav,
  body.fc-news-detail .fc-article-section-nav,
  body.fc-guide-detail .fc-sticky-cta,
  body.fc-news-detail .fc-sticky-cta{
    border-radius: 18px;
  }
}
