/* FlexiCare V1169 — Service Detail Pages Desktop Balance Pass
   Scoped only to body.fc-service-detail. Desktop/tablet rhythm and right-rail balance without content changes. */

@media (min-width: 980px) {
  body.fc-service-detail .fc-program-detail,
  body.fc-service-detail .fc-service-detail {
    padding-top: clamp(1.35rem, 2.1vw, 2.2rem);
    padding-bottom: clamp(2.6rem, 4.2vw, 4.8rem);
  }

  body.fc-service-detail .container {
    width: min(100% - 2.5rem, 1180px);
  }

  body.fc-service-detail .fc-service-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 356px);
    align-items: stretch;
    gap: clamp(1.4rem, 2.4vw, 2.35rem);
  }

  body.fc-service-detail .fc-service-top-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
  }

  body.fc-service-detail .fc-service-top-right,
  body.fc-service-detail .fc-service-cta-panel {
    min-width: 0;
  }

  body.fc-service-detail .fc-service-cta-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1.25rem, 1.7vw, 1.65rem);
  }

  body.fc-service-detail .fc-service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(292px, 336px);
    gap: clamp(1.55rem, 2.6vw, 2.55rem);
    align-items: start;
  }

  body.fc-service-detail .fc-service-content {
    max-width: 100%;
  }

  body.fc-service-detail .fc-service-body-flow {
    gap: clamp(1.25rem, 2vw, 1.75rem);
  }

  body.fc-service-detail .fc-service-block {
    scroll-margin-top: 116px;
  }

  body.fc-service-detail .fc-service-block__head {
    max-width: 820px;
  }

  body.fc-service-detail .fc-service-copy-card,
  body.fc-service-detail .fc-service-list-card,
  body.fc-service-detail .fc-service-summary-card,
  body.fc-service-detail .fc-service-note-box {
    padding: clamp(1.18rem, 1.8vw, 1.55rem);
  }

  body.fc-service-detail .fc-service-grid,
  body.fc-service-detail .fc-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(.9rem, 1.35vw, 1.15rem);
  }

  body.fc-service-detail .fc-service-grid--wide,
  body.fc-service-detail .fc-program-grid--wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.fc-service-detail .fc-service-tile,
  body.fc-service-detail .fc-program-tile {
    min-height: 100%;
  }

  body.fc-service-detail .fc-service-aside {
    position: sticky;
    top: 104px;
    max-width: 336px;
    width: 100%;
    justify-self: end;
    max-height: calc(100vh - 124px);
    overflow: auto;
    overscroll-behavior: contain;
  }

  body.fc-service-detail .fc-service-aside > * + * {
    margin-top: .95rem;
  }

  body.fc-service-detail .fc-service-toc-card,
  body.fc-service-detail .fc-service-segment-card,
  body.fc-service-detail .fc-service-support-card {
    border-radius: 20px;
  }

  body.fc-service-detail .fc-service-toc-card a {
    display: block;
    padding: .55rem .6rem;
    line-height: 1.35;
  }

  body.fc-service-detail .fc-service-aside .fc-segment {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  body.fc-service-detail .fc-service-aside .fc-seg {
    min-height: 42px;
    justify-content: center;
  }

  body.fc-service-detail .fc-service-actions,
  body.fc-service-detail .fc-program-cta-row,
  body.fc-service-detail .fc-program-next-step__actions,
  body.fc-service-detail .fc-service-related-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  body.fc-service-detail .fc-service-actions .btn,
  body.fc-service-detail .fc-program-cta-row .btn,
  body.fc-service-detail .fc-program-next-step__actions .btn,
  body.fc-service-detail .fc-service-related-actions .btn {
    width: auto;
    min-width: 168px;
  }
}

@media (min-width: 1200px) {
  body.fc-service-detail .container {
    width: min(100% - 3rem, 1220px);
  }

  body.fc-service-detail .fc-service-layout {
    grid-template-columns: minmax(0, 1fr) minmax(312px, 352px);
  }

  body.fc-service-detail .fc-service-top {
    grid-template-columns: minmax(0, 1fr) minmax(318px, 372px);
  }
}

@media (min-width: 1500px) {
  body.fc-service-detail .container {
    width: min(100% - 4rem, 1260px);
  }
}

@media (min-width: 980px) and (max-width: 1120px) {
  body.fc-service-detail .fc-service-top {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  }

  body.fc-service-detail .fc-service-layout {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 300px);
    gap: 1.35rem;
  }

  body.fc-service-detail .fc-service-grid,
  body.fc-service-detail .fc-program-grid,
  body.fc-service-detail .fc-service-grid--wide,
  body.fc-service-detail .fc-program-grid--wide {
    grid-template-columns: 1fr;
  }
}

/* FlexiCare V1361 — Service Detail Pages Desktop Visual Alignment */
@media (min-width: 980px) {
  body.fc-service-detail .container {
    width: min(100% - 3rem, 1200px);
  }

  body.fc-service-detail .fc-service-top {
    grid-template-columns: minmax(0, 1fr) minmax(312px, 372px);
    gap: clamp(1.5rem, 2.5vw, 2.55rem);
    margin-bottom: clamp(1.7rem, 3vw, 2.7rem);
  }

  body.fc-service-detail .fc-service-top-left {
    padding: clamp(1.65rem, 2.7vw, 2.45rem);
  }

  body.fc-service-detail .fc-service-cta-panel {
    padding: clamp(1.35rem, 1.8vw, 1.72rem);
  }

  body.fc-service-detail .fc-service-layout {
    grid-template-columns: minmax(0, 1fr) minmax(304px, 344px);
    gap: clamp(1.65rem, 2.75vw, 2.7rem);
  }

  body.fc-service-detail .fc-service-content {
    max-width: 840px;
  }

  body.fc-service-detail .fc-service-body-flow {
    gap: clamp(1.45rem, 2.15vw, 1.95rem);
  }

  body.fc-service-detail .fc-service-block {
    scroll-margin-top: calc(124px + var(--fc-cookie-offset, 0px));
  }

  body.fc-service-detail .fc-service-aside {
    position: relative;
    top: auto;
    max-width: 344px;
    max-height: none;
    overflow: visible;
    justify-self: end;
  }

  body.fc-service-detail .fc-service-rail-sticky {
    position: sticky;
    top: calc(104px + var(--fc-cookie-offset, 0px));
    display: grid;
    gap: .85rem;
    max-height: calc(100vh - 124px - var(--fc-cookie-offset, 0px));
    overflow: auto;
    overscroll-behavior: contain;
    padding: .15rem .15rem .5rem;
  }

  body.fc-service-detail .fc-service-aside > * + * {
    margin-top: 0;
  }

  body.fc-service-detail .fc-service-toc-card,
  body.fc-service-detail .fc-service-segment-card,
  body.fc-service-detail .fc-service-support-card,
  body.fc-service-detail .fc-service-aside-head {
    border-radius: 22px;
  }

  body.fc-service-detail .fc-service-toc-card a {
    padding: .62rem .68rem;
  }

  body.fc-service-detail .fc-service-actions .btn,
  body.fc-service-detail .fc-program-cta-row .btn,
  body.fc-service-detail .fc-program-next-step__actions .btn,
  body.fc-service-detail .fc-service-related-actions .btn {
    min-width: 176px;
  }

  body.fc-service-detail .fc-service-related-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  body.fc-service-detail .fc-service-content {
    max-width: 860px;
  }

  body.fc-service-detail .fc-service-grid,
  body.fc-service-detail .fc-program-grid {
    gap: clamp(1rem, 1.25vw, 1.25rem);
  }
}

@media (min-width: 980px) and (max-width: 1120px) {
  body.fc-service-detail .fc-service-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 308px);
  }

  body.fc-service-detail .fc-service-content {
    max-width: 100%;
  }

  body.fc-service-detail .fc-service-rail-sticky {
    top: calc(96px + var(--fc-cookie-offset, 0px));
  }
}


/* FlexiCare V1362 — Service Detail Pages Desktop Rail & CTA Control */
@media (min-width: 980px) {
  body.fc-service-detail .fc-service-top {
    align-items: stretch;
  }

  body.fc-service-detail .fc-service-top-left {
    min-height: clamp(330px, 31vw, 430px);
  }

  body.fc-service-detail .fc-service-cta-panel {
    min-height: 100%;
  }

  body.fc-service-detail .fc-service-cta-panel .fc-program-cta-desc {
    margin-bottom: .95rem;
  }

  body.fc-service-detail .fc-service-cta-panel .fc-program-cta-row {
    margin-top: .75rem;
  }

  body.fc-service-detail .fc-service-layout {
    align-items: start;
  }

  body.fc-service-detail .fc-service-toc-main {
    margin-bottom: clamp(1.35rem, 2vw, 1.75rem);
  }

  body.fc-service-detail .fc-service-toc-main [data-fc-toc-links] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.fc-service-detail .fc-service-block__head {
    max-width: 780px;
  }

  body.fc-service-detail .fc-service-grid,
  body.fc-service-detail .fc-program-grid {
    align-items: stretch;
  }

  body.fc-service-detail .fc-program-tile-body {
    min-height: 100%;
  }

  body.fc-service-detail .fc-service-rail-sticky {
    padding-right: .35rem;
  }

  body.fc-service-detail .fc-service-rail-sticky::-webkit-scrollbar {
    width: 7px;
  }

  body.fc-service-detail .fc-service-rail-sticky::-webkit-scrollbar-thumb {
    background: rgba(31,95,99,.20);
    border-radius: 999px;
  }

  body.fc-service-detail .fc-service-aside .fc-segment {
    grid-template-columns: 1fr;
  }

  body.fc-service-detail .fc-service-support-card .fc-service-list {
    gap: .55rem;
  }

  body.fc-service-detail .fc-program-next-step__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .55rem;
  }

  body.fc-service-detail .fc-program-next-step__actions .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  body.fc-service-detail .fc-service-actions {
    align-items: center;
    justify-content: flex-start;
  }
}

@media (min-width: 1200px) {
  body.fc-service-detail .fc-service-top {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 386px);
  }

  body.fc-service-detail .fc-service-layout {
    grid-template-columns: minmax(0, 1fr) minmax(318px, 356px);
  }

  body.fc-service-detail .fc-service-content {
    max-width: 872px;
  }
}

@media (min-width: 980px) and (max-width: 1120px) {
  body.fc-service-detail .fc-service-top-left {
    min-height: auto;
  }

  body.fc-service-detail .fc-service-toc-main [data-fc-toc-links] {
    grid-template-columns: 1fr;
  }

  body.fc-service-detail .fc-service-cta-panel .fc-program-cta-row .btn {
    min-width: 0;
  }
}


/*
  FlexiCare Insurance — V1364 Service Rail Cleanup Guard
  Scope: service detail pages only.
  Purpose: remove the obsolete explanatory helper panel from the right rail,
  keeping only useful category, content and support actions.
*/
body.fc-service-detail .fc-service-rail-intro,
body.fc-service-detail .fc-program-nav-head.fc-service-aside-head{
  display:none !important;
}

body.fc-service-detail .fc-service-rail-sticky{
  gap:clamp(.82rem, 1.4vw, 1.1rem) !important;
}

body.fc-service-detail .fc-service-segment-card{
  margin-top:0 !important;
}

/*
  FlexiCare V1373 — Program Detail Visual Consistency & CTA Rhythm
  Scope: program detail pages only. Excludes the rebuilt service-detail shell by using :not(.fc-service-detail).
*/
body.fc-service-detail .fc-program-detail:not(.fc-service-detail){
  padding-top:clamp(1.25rem,2.1vw,2.15rem);
  padding-bottom:clamp(2.6rem,4.2vw,4.8rem);
  background:
    radial-gradient(circle at 12% 3%, rgba(67,148,150,.105), transparent 30rem),
    linear-gradient(180deg, rgba(246,252,251,.88), rgba(255,255,255,1) 28rem);
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .container{
  width:min(100% - 2.5rem, 1180px);
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-top{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(306px,372px);
  align-items:stretch;
  gap:clamp(1.35rem,2.45vw,2.45rem);
  margin-bottom:clamp(1.55rem,2.8vw,2.45rem);
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-top-left,
body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-cta-panel{
  border:1px solid rgba(31,95,99,.16);
  border-radius:26px;
  box-shadow:0 18px 52px rgba(21,78,82,.10);
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-top-left{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:clamp(1.55rem,2.7vw,2.4rem);
  background:linear-gradient(135deg, rgba(255,255,255,.97), rgba(239,249,248,.84));
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-top-right{min-width:0;}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-breadcrumb{
  margin-bottom:1rem;
  color:rgba(95,116,119,.96);
  font-size:.94rem;
  line-height:1.45;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-breadcrumb a{
  color:#174a4e;
  text-decoration:none;
  font-weight:650;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-h1{
  max-width:920px;
  margin:0;
  color:#18383b;
  letter-spacing:-.03em;
  line-height:1.08;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-lead{
  max-width:850px;
  margin-top:clamp(.9rem,1.4vw,1.15rem);
  color:#5f7477;
  font-size:clamp(1rem,1.18vw,1.1rem);
  line-height:1.72;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-cta-panel{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:.85rem;
  padding:clamp(1.25rem,1.8vw,1.68rem);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(242,250,249,.94));
  overflow:hidden;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-cta-eyebrow{
  color:#174a4e;
  letter-spacing:.045em;
  text-transform:uppercase;
  font-weight:750;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-cta-title{
  color:#18383b;
  font-weight:750;
  line-height:1.25;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-cta-desc,
body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-note{
  color:#5f7477;
  line-height:1.65;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-cta-primary{
  width:100%;
  justify-content:center;
  min-height:46px;
  box-shadow:0 12px 28px rgba(31,95,99,.18);
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-cta-row{
  display:grid;
  grid-template-columns:1fr;
  gap:.62rem;
  margin-top:.2rem;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-cta-row .btn{
  width:100%;
  min-width:0;
  min-height:44px;
  justify-content:center;
  white-space:normal;
  text-align:center;
  line-height:1.28;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(296px,344px);
  gap:clamp(1.55rem,2.6vw,2.55rem);
  align-items:start;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-content{
  max-width:872px;
  min-width:0;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body{
  padding:clamp(1.25rem,2vw,1.65rem);
  border:1px solid rgba(31,95,99,.14);
  border-radius:26px;
  background:rgba(255,255,255,.96);
  box-shadow:0 14px 38px rgba(18,70,74,.07);
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body > *:first-child{margin-top:0;}
body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body > *:last-child{margin-bottom:0;}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body .lead{
  margin:0 0 clamp(1.25rem,2vw,1.7rem);
  padding:clamp(1rem,1.7vw,1.35rem);
  border:1px solid rgba(31,95,99,.13);
  border-radius:22px;
  background:linear-gradient(135deg, rgba(239,249,248,.96), rgba(255,255,255,.98));
  color:#365f65;
  line-height:1.72;
  font-size:clamp(1rem,1.12vw,1.08rem);
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body h2{
  margin:clamp(1.55rem,2.4vw,2.05rem) 0 .72rem;
  padding-top:clamp(1.05rem,1.7vw,1.35rem);
  border-top:1px solid rgba(31,95,99,.12);
  color:#18383b;
  letter-spacing:-.018em;
  scroll-margin-top:calc(118px + var(--fc-cookie-offset, 0px));
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body .lead + h2,
body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body h2:first-child{
  margin-top:0;
  padding-top:0;
  border-top:0;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body h3{
  margin:1.05rem 0 .35rem;
  color:#18383b;
  line-height:1.35;
  font-weight:730;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body p,
body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body li,
body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body details p{
  color:#5f7477;
  line-height:1.72;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body ul,
body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body ol{
  margin:.75rem 0 1.15rem;
  padding-left:1.25rem;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body li + li{margin-top:.48rem;}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body .note,
body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body div.note{
  margin:1.05rem 0 1.3rem;
  padding:1rem 1.1rem;
  border:1px solid rgba(31,95,99,.14);
  border-radius:20px;
  background:linear-gradient(135deg, rgba(239,249,248,.96), rgba(255,255,255,.98));
  color:#5f7477;
  line-height:1.68;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body details{
  margin:.75rem 0;
  border:1px solid rgba(31,95,99,.13);
  border-radius:18px;
  background:rgba(255,255,255,.94);
  overflow:hidden;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body details summary{
  cursor:pointer;
  padding:.95rem 1rem;
  color:#18383b;
  font-weight:700;
  line-height:1.35;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body details p{
  margin:0;
  padding:0 1rem 1rem;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-info-box,
body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-service-guides{
  margin-top:clamp(1.1rem,2vw,1.55rem);
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-info-box{
  padding:clamp(1.05rem,1.75vw,1.35rem);
  border:1px solid rgba(31,95,99,.14);
  border-radius:22px;
  background:linear-gradient(135deg, rgba(239,249,248,.94), rgba(255,255,255,.98));
  box-shadow:0 12px 32px rgba(18,70,74,.06);
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.72rem;
  margin-top:clamp(1.15rem,2vw,1.6rem);
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-actions .btn{
  min-width:176px;
  min-height:44px;
  justify-content:center;
  white-space:normal;
  text-align:center;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-nav{
  position:relative;
  top:auto;
  max-width:344px;
  width:100%;
  justify-self:end;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-nav > *{
  border-color:rgba(31,95,99,.14);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:0 12px 32px rgba(18,70,74,.055);
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-nav-head,
body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-group{margin:0;}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-group{
  margin-top:.85rem;
  overflow:hidden;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-group summary{
  color:#18383b;
  font-weight:740;
  line-height:1.35;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-nav-item{border-radius:15px;}

@media (min-width:980px){
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-nav{
    position:sticky;
    top:calc(104px + var(--fc-cookie-offset, 0px));
    max-height:calc(100vh - 124px - var(--fc-cookie-offset, 0px));
    overflow:auto;
    overscroll-behavior:contain;
    padding:.15rem .15rem .5rem;
  }
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-nav::-webkit-scrollbar{width:7px;}
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-nav::-webkit-scrollbar-thumb{background:rgba(31,95,99,.20);border-radius:999px;}
}

@media (min-width:1200px){
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .container{width:min(100% - 3rem, 1220px);}
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-layout{grid-template-columns:minmax(0,1fr) minmax(312px,356px);}
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-top{grid-template-columns:minmax(0,1fr) minmax(340px,386px);}
}

@media (max-width:1120px){
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-top,
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-layout{grid-template-columns:1fr;}
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-nav{max-width:none;justify-self:stretch;}
}

@media (max-width:760px){
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail){padding-top:1rem;}
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .container{width:min(100% - 1.25rem, 1180px);}
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-top-left,
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-cta-panel,
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body,
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-info-box,
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-nav > *{border-radius:20px;}
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-top-left,
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-cta-panel,
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body{padding:1rem;}
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-h1{font-size:clamp(1.72rem,8.6vw,2.12rem);line-height:1.09;}
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body .lead{padding:.95rem;border-radius:18px;}
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-actions{display:grid;grid-template-columns:1fr;}
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-actions .btn{width:100%;min-width:0;}
}

/* ===== V1413 — Insurance program sticky Περιεχόμενο guard =====
   Scoped to program detail pages. Keeps the generated Περιεχόμενο block calm,
   readable and inside the existing sticky program sidebar. No JS dependency. */
body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-toc-group {
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(241,248,248,.88));
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-toc-list {
  display:grid;
  gap:8px;
  padding:.1rem .1rem .25rem;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-toc-item {
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  width:100%;
  padding:10px 12px;
  border:1px solid rgba(31,95,99,.11);
  border-radius:15px;
  background:rgba(255,255,255,.80);
  color:#1f5f63;
  font-weight:650;
  line-height:1.30;
  text-decoration:none;
  white-space:normal;
  overflow-wrap:anywhere;
  box-shadow:none;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-toc-item:hover,
body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-toc-item:focus-visible {
  background:rgba(235,246,248,.92);
  border-color:rgba(31,95,99,.18);
  color:#18383b;
  outline:none;
}

body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-body h2[id] {
  scroll-margin-top:calc(112px + var(--fc-cookie-offset, 0px));
}

@media (min-width:980px){
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-nav {
    position:sticky;
    top:calc(104px + var(--fc-cookie-offset, 0px));
    align-self:start;
  }
}

@media (max-width:900px){
  body.fc-service-detail .fc-program-detail:not(.fc-service-detail) .fc-program-toc-group {
    display:none;
  }
}


/*
  FlexiCare V1421 — Service Detail Sidebar Stability & TOC Visibility Polish
  Scope: service detail pages only.
  Purpose:
  1) Keep the "Περιεχόμενο" block visible and stable while reading.
  2) Prevent the right rail from clipping lower support cards inside the viewport.
*/
@media (min-width: 980px) {
  body.fc-service-detail .fc-service-rail-sticky {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
    padding: .15rem 0 .5rem !important;
  }

  body.fc-service-detail .fc-service-toc-card {
    position: sticky;
    top: calc(104px + var(--fc-cookie-offset, 0px));
    z-index: 4;
    box-shadow: 0 16px 38px rgba(18, 70, 74, .10);
  }

  body.fc-service-detail .fc-service-toc-card [data-fc-toc-side] {
    max-height: calc(100vh - 180px - var(--fc-cookie-offset, 0px));
    overflow: auto;
    padding-right: .18rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(31,95,99,.18) transparent;
  }

  body.fc-service-detail .fc-service-toc-card [data-fc-toc-side]::-webkit-scrollbar {
    width: 7px;
  }

  body.fc-service-detail .fc-service-toc-card [data-fc-toc-side]::-webkit-scrollbar-thumb {
    background: rgba(31,95,99,.18);
    border-radius: 999px;
  }

  body.fc-service-detail .fc-service-segment-card,
  body.fc-service-detail .fc-service-support-card {
    scroll-margin-top: calc(120px + var(--fc-cookie-offset, 0px));
  }

  body.fc-service-detail .fc-service-support-card {
    overflow: visible;
  }
}


/*
  FlexiCare V1422 — Service Detail Summary Card Visual Polish
  Scope: service detail pages only.
  Purpose: improve the first content block "Τι αφορά η ασφάλιση"
  without changing markup, text, routing or JS.
*/
body.fc-service-detail #service-summary .fc-service-summary-card {
  position: relative;
  padding: clamp(1.18rem, 2.2vw, 1.55rem) clamp(1.18rem, 2.35vw, 1.7rem);
  border-color: rgba(31,95,99,.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,252,252,.94)),
    radial-gradient(circle at 0% 0%, rgba(90,190,195,.08), transparent 22rem);
  box-shadow: 0 16px 42px rgba(18,70,74,.075);
  overflow: hidden;
}

body.fc-service-detail #service-summary .fc-service-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(31,95,99,.34), rgba(101,201,211,.14));
  opacity: .85;
}

body.fc-service-detail #service-summary .fc-service-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: .72rem;
}

body.fc-service-detail #service-summary .fc-service-list li {
  position: relative;
  padding: 0 0 0 1.22rem;
  border-top: 0;
  color: rgba(42,91,98,.92);
  line-height: 1.68;
}

body.fc-service-detail #service-summary .fc-service-list li + li {
  border-top: 1px solid rgba(31,95,99,.075);
  padding-top: .72rem;
}

body.fc-service-detail #service-summary .fc-service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  background: rgba(31,95,99,.42);
  box-shadow: 0 0 0 4px rgba(118,210,218,.12);
}

@media (max-width: 640px) {
  body.fc-service-detail #service-summary .fc-service-summary-card {
    padding: 1rem 1rem 1.05rem;
    border-radius: 20px;
  }

  body.fc-service-detail #service-summary .fc-service-list li {
    padding-left: 1.05rem;
    line-height: 1.62;
  }
}

/*
  FlexiCare V1423 — Service Detail Checkpoints Bullets Polish
  Scope: service detail pages only.
  Purpose: fix the bullet presentation in “Τι να εξετάζετε πριν την επιλογή”.
*/
body.fc-service-detail #service-checkpoints .fc-service-list-card{
  position:relative;
  padding:clamp(1.12rem,2.15vw,1.45rem) clamp(1.12rem,2.25vw,1.6rem);
  border-color:rgba(31,95,99,.15);
  background:linear-gradient(180deg, rgba(255,255,255,.985), rgba(247,252,252,.95));
  box-shadow:0 15px 38px rgba(18,70,74,.07);
}

body.fc-service-detail #service-checkpoints .fc-service-list{
  list-style:none;
  padding-left:0;
  margin:0;
  display:grid;
  gap:.7rem;
}

body.fc-service-detail #service-checkpoints .fc-service-list li{
  position:relative;
  padding:0 0 0 1.28rem;
  color:rgba(42,91,98,.92);
  line-height:1.68;
  border-top:0;
}

body.fc-service-detail #service-checkpoints .fc-service-list li + li{
  border-top:1px solid rgba(31,95,99,.075);
  padding-top:.72rem;
}

body.fc-service-detail #service-checkpoints .fc-service-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.68em;
  width:.42rem;
  height:.42rem;
  border-radius:999px;
  background:rgba(31,95,99,.42);
  box-shadow:0 0 0 4px rgba(118,210,218,.11);
}

@media (max-width:640px){
  body.fc-service-detail #service-checkpoints .fc-service-list-card{
    padding:1rem 1rem 1.05rem;
    border-radius:20px;
  }

  body.fc-service-detail #service-checkpoints .fc-service-list li{
    padding-left:1.08rem;
    line-height:1.62;
  }
}

/*
  FlexiCare V1424 — Service Detail Checkpoints Balance Polish
  Scope: service detail pages only.
  Purpose: make bullets and overall block presentation more balanced.
*/
body.fc-service-detail #service-checkpoints .fc-service-list-card{
  padding: clamp(1.18rem, 2.15vw, 1.52rem) clamp(1.22rem, 2.3vw, 1.68rem);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,252,252,.955));
}

body.fc-service-detail #service-checkpoints .fc-service-list{
  gap: .62rem;
}

body.fc-service-detail #service-checkpoints .fc-service-list li{
  padding-left: 1.18rem;
  line-height: 1.64;
}

body.fc-service-detail #service-checkpoints .fc-service-list li + li{
  padding-top: .66rem;
  border-top-color: rgba(31,95,99,.06);
}

body.fc-service-detail #service-checkpoints .fc-service-list li::before{
  top: .72em;
  width: .36rem;
  height: .36rem;
  background: rgba(31,95,99,.34);
  box-shadow: 0 0 0 3px rgba(118,210,218,.10);
}

@media (max-width:640px){
  body.fc-service-detail #service-checkpoints .fc-service-list-card{
    padding: 1rem 1rem 1.02rem;
    border-radius: 20px;
  }

  body.fc-service-detail #service-checkpoints .fc-service-list li{
    padding-left: 1rem;
    line-height: 1.6;
  }
}


/*
  FlexiCare V1425 — Service Detail Summary Bullets Balance Polish
  Scope: service detail pages only.
  Purpose: balance the bullets and presentation in “Τι αφορά η ασφάλιση”.
*/
body.fc-service-detail #service-summary .fc-service-summary-card {
  padding: clamp(1.18rem, 2.15vw, 1.52rem) clamp(1.22rem, 2.3vw, 1.68rem);
  border-radius: 24px;
  border-color: rgba(31,95,99,.145);
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,252,252,.955));
  box-shadow: 0 15px 38px rgba(18,70,74,.065);
}

body.fc-service-detail #service-summary .fc-service-summary-card::before {
  width: 3px;
  opacity: .58;
  background: linear-gradient(180deg, rgba(31,95,99,.25), rgba(101,201,211,.10));
}

body.fc-service-detail #service-summary .fc-service-list {
  gap: .62rem;
}

body.fc-service-detail #service-summary .fc-service-list li {
  padding-left: 1.18rem;
  line-height: 1.64;
}

body.fc-service-detail #service-summary .fc-service-list li + li {
  padding-top: .66rem;
  border-top-color: rgba(31,95,99,.06);
}

body.fc-service-detail #service-summary .fc-service-list li::before {
  top: .72em;
  width: .36rem;
  height: .36rem;
  background: rgba(31,95,99,.34);
  box-shadow: 0 0 0 3px rgba(118,210,218,.10);
}

@media (max-width: 640px) {
  body.fc-service-detail #service-summary .fc-service-summary-card {
    padding: 1rem 1rem 1.02rem;
    border-radius: 20px;
  }

  body.fc-service-detail #service-summary .fc-service-list li {
    padding-left: 1rem;
    line-height: 1.6;
  }
}


/*
  FlexiCare V1426 — Service Detail Summary Bullet Removal & Row Clarity Fix
  Scope: service detail pages only.
  Purpose: the summary block must not visually read as a bullet list.
  It becomes a calm set of institutional information rows.
*/
body.fc-service-detail #service-summary .fc-service-summary-card {
  padding: clamp(1.18rem, 2.1vw, 1.48rem) clamp(1.18rem, 2.25vw, 1.62rem) !important;
  border-radius: 24px !important;
  border-color: rgba(31,95,99,.145) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,252,252,.96)) !important;
  box-shadow: 0 14px 34px rgba(18,70,74,.06) !important;
}

body.fc-service-detail #service-summary .fc-service-summary-card::before {
  width: 3px !important;
  opacity: .42 !important;
  background: linear-gradient(180deg, rgba(31,95,99,.22), rgba(101,201,211,.08)) !important;
}

body.fc-service-detail #service-summary .fc-service-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  gap: 0 !important;
}

body.fc-service-detail #service-summary .fc-service-list li {
  position: relative !important;
  display: block !important;
  padding: .68rem 0 .68rem 0 !important;
  margin: 0 !important;
  border-top: 1px solid rgba(31,95,99,.065) !important;
  color: rgba(42,91,98,.92) !important;
  line-height: 1.66 !important;
  list-style: none !important;
}

body.fc-service-detail #service-summary .fc-service-list li:first-child {
  border-top: 0 !important;
  padding-top: 0 !important;
}

body.fc-service-detail #service-summary .fc-service-list li:last-child {
  padding-bottom: 0 !important;
}

body.fc-service-detail #service-summary .fc-service-list li::before,
body.fc-service-detail #service-summary .fc-service-list li::marker {
  content: none !important;
  display: none !important;
}

@media (max-width: 640px) {
  body.fc-service-detail #service-summary .fc-service-summary-card {
    padding: 1rem 1rem 1.02rem !important;
    border-radius: 20px !important;
  }

  body.fc-service-detail #service-summary .fc-service-list li {
    padding-top: .62rem !important;
    padding-bottom: .62rem !important;
    line-height: 1.6 !important;
  }
}


/*
  FlexiCare V1427 — Insurance Program Analysis Bullet System Audit & Selector Correction
  Scope: insurance service/program detail analysis pages only.
  Purpose: correct the real selectors used by the service template list blocks.
  The previous summary bullet attempts targeted #service-summary, while the actual template
  renders the first analysis block as #service-overview.
*/

/* 1) "Τι αφορά η ασφάλιση" — remove bullet/list feeling completely. */
body.fc-service-detail #service-overview .fc-service-summary-card,
body.fc-service-detail .fc-service-block--summary .fc-service-summary-card,
body.fc-service-detail section[id="service-overview"] .fc-service-summary-card {
  position: relative;
  padding: clamp(1.18rem, 2.1vw, 1.5rem) clamp(1.18rem, 2.25vw, 1.62rem) !important;
  border-radius: 24px !important;
  border-color: rgba(31,95,99,.145) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,252,252,.96)) !important;
  box-shadow: 0 14px 34px rgba(18,70,74,.06) !important;
  overflow: hidden;
}

body.fc-service-detail #service-overview .fc-service-summary-card::before,
body.fc-service-detail .fc-service-block--summary .fc-service-summary-card::before,
body.fc-service-detail section[id="service-overview"] .fc-service-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(31,95,99,.22), rgba(101,201,211,.08));
  opacity: .42;
}

body.fc-service-detail #service-overview .fc-service-list,
body.fc-service-detail .fc-service-block--summary .fc-service-list,
body.fc-service-detail section[id="service-overview"] .fc-service-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  gap: 0 !important;
}

body.fc-service-detail #service-overview .fc-service-list li,
body.fc-service-detail .fc-service-block--summary .fc-service-list li,
body.fc-service-detail section[id="service-overview"] .fc-service-list li {
  position: relative !important;
  display: block !important;
  padding: .68rem 0 !important;
  margin: 0 !important;
  border-top: 1px solid rgba(31,95,99,.065) !important;
  color: rgba(42,91,98,.92) !important;
  line-height: 1.66 !important;
  list-style: none !important;
}

body.fc-service-detail #service-overview .fc-service-list li:first-child,
body.fc-service-detail .fc-service-block--summary .fc-service-list li:first-child,
body.fc-service-detail section[id="service-overview"] .fc-service-list li:first-child {
  border-top: 0 !important;
  padding-top: 0 !important;
}

body.fc-service-detail #service-overview .fc-service-list li:last-child,
body.fc-service-detail .fc-service-block--summary .fc-service-list li:last-child,
body.fc-service-detail section[id="service-overview"] .fc-service-list li:last-child {
  padding-bottom: 0 !important;
}

body.fc-service-detail #service-overview .fc-service-list li::before,
body.fc-service-detail #service-overview .fc-service-list li::marker,
body.fc-service-detail .fc-service-block--summary .fc-service-list li::before,
body.fc-service-detail .fc-service-block--summary .fc-service-list li::marker,
body.fc-service-detail section[id="service-overview"] .fc-service-list li::before,
body.fc-service-detail section[id="service-overview"] .fc-service-list li::marker {
  content: none !important;
  display: none !important;
}

/* 2) Checklist block — keep bullets, but as balanced checklist dots only. */
body.fc-service-detail #service-checkpoints .fc-service-list li::before {
  top: .72em !important;
  width: .34rem !important;
  height: .34rem !important;
  background: rgba(31,95,99,.34) !important;
  box-shadow: 0 0 0 3px rgba(118,210,218,.10) !important;
}

body.fc-service-detail #service-checkpoints .fc-service-list li {
  padding-left: 1.08rem !important;
}

/* 3) Right rail required-offer data — keep compact practical bullets. */
body.fc-service-detail .fc-service-support-card .fc-service-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
  display: grid !important;
  gap: 0 !important;
}

body.fc-service-detail .fc-service-support-card .fc-service-list li {
  position: relative !important;
  padding-left: 1rem !important;
  line-height: 1.55 !important;
}

body.fc-service-detail .fc-service-support-card .fc-service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: .28rem;
  height: .28rem;
  border-radius: 999px;
  background: rgba(31,95,99,.30);
  box-shadow: 0 0 0 3px rgba(118,210,218,.08);
}

@media (max-width: 640px) {
  body.fc-service-detail #service-overview .fc-service-summary-card,
  body.fc-service-detail .fc-service-block--summary .fc-service-summary-card,
  body.fc-service-detail section[id="service-overview"] .fc-service-summary-card {
    padding: 1rem 1rem 1.02rem !important;
    border-radius: 20px !important;
  }

  body.fc-service-detail #service-overview .fc-service-list li,
  body.fc-service-detail .fc-service-block--summary .fc-service-list li,
  body.fc-service-detail section[id="service-overview"] .fc-service-list li {
    padding-top: .62rem !important;
    padding-bottom: .62rem !important;
    line-height: 1.6 !important;
  }
}


/*
  FlexiCare V1428 — Insurance Program Analysis No-Bullets Row System
  Scope: service/program detail analysis pages only.
  Purpose: remove bullets from:
  - “Τι να εξετάζετε πριν την επιλογή”
  - “Απαραίτητα στοιχεία για προσφορά”
  and render them as calm institutional information rows.
*/

/* 1) “Τι να εξετάζετε πριν την επιλογή” — rows, not checklist bullets. */
body.fc-service-detail #service-checkpoints .fc-service-list-card {
  padding: clamp(1.18rem, 2.1vw, 1.5rem) clamp(1.18rem, 2.25vw, 1.62rem) !important;
  border-radius: 24px !important;
  border-color: rgba(31,95,99,.145) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,252,252,.96)) !important;
  box-shadow: 0 14px 34px rgba(18,70,74,.06) !important;
}

body.fc-service-detail #service-checkpoints .fc-service-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  gap: 0 !important;
}

body.fc-service-detail #service-checkpoints .fc-service-list li {
  position: relative !important;
  display: block !important;
  padding: .68rem 0 !important;
  margin: 0 !important;
  border-top: 1px solid rgba(31,95,99,.065) !important;
  color: rgba(42,91,98,.92) !important;
  line-height: 1.66 !important;
  list-style: none !important;
}

body.fc-service-detail #service-checkpoints .fc-service-list li:first-child {
  border-top: 0 !important;
  padding-top: 0 !important;
}

body.fc-service-detail #service-checkpoints .fc-service-list li:last-child {
  padding-bottom: 0 !important;
}

body.fc-service-detail #service-checkpoints .fc-service-list li::before,
body.fc-service-detail #service-checkpoints .fc-service-list li::marker {
  content: none !important;
  display: none !important;
}

/* 2) “Απαραίτητα στοιχεία για προσφορά” — compact rows, not bullets. */
body.fc-service-detail .fc-service-need-card.fc-service-support-card {
  padding: clamp(1rem, 1.65vw, 1.18rem) clamp(1rem, 1.75vw, 1.22rem) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,252,252,.955)) !important;
  border-color: rgba(31,95,99,.14) !important;
  box-shadow: 0 12px 30px rgba(18,70,74,.055) !important;
}

body.fc-service-detail .fc-service-need-card.fc-service-support-card .fc-service-list {
  list-style: none !important;
  padding: 0 !important;
  margin: .2rem 0 0 !important;
  display: grid !important;
  gap: 0 !important;
}

body.fc-service-detail .fc-service-need-card.fc-service-support-card .fc-service-list li {
  position: relative !important;
  display: block !important;
  padding: .58rem 0 !important;
  margin: 0 !important;
  border-top: 1px solid rgba(31,95,99,.06) !important;
  color: rgba(42,91,98,.90) !important;
  line-height: 1.55 !important;
  list-style: none !important;
}

body.fc-service-detail .fc-service-need-card.fc-service-support-card .fc-service-list li:first-child {
  border-top: 0 !important;
  padding-top: .15rem !important;
}

body.fc-service-detail .fc-service-need-card.fc-service-support-card .fc-service-list li:last-child {
  padding-bottom: 0 !important;
}

body.fc-service-detail .fc-service-need-card.fc-service-support-card .fc-service-list li::before,
body.fc-service-detail .fc-service-need-card.fc-service-support-card .fc-service-list li::marker {
  content: none !important;
  display: none !important;
}

@media (max-width: 640px) {
  body.fc-service-detail #service-checkpoints .fc-service-list-card {
    padding: 1rem 1rem 1.02rem !important;
    border-radius: 20px !important;
  }

  body.fc-service-detail #service-checkpoints .fc-service-list li {
    padding-top: .62rem !important;
    padding-bottom: .62rem !important;
    line-height: 1.6 !important;
  }

  body.fc-service-detail .fc-service-need-card.fc-service-support-card .fc-service-list li {
    padding-top: .54rem !important;
    padding-bottom: .54rem !important;
  }
}


/*
  FlexiCare V1429 — Service Detail Core Sidebar Sticky Group
  Scope: service/program detail pages only.
  Purpose: keep the three core right-rail blocks together and stable:
  - Περιεχόμενο
  - Κατηγορία υπηρεσίας
  - Απαραίτητα στοιχεία για προσφορά
  without making the entire sidebar heavy or clipping lower helper panels.
*/
@media (min-width: 980px) {
  body.fc-service-detail .fc-service-rail-sticky {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: grid !important;
    gap: clamp(.9rem, 1.35vw, 1.08rem) !important;
    padding: .15rem 0 .5rem !important;
  }

  body.fc-service-detail .fc-service-rail-core-sticky {
    position: sticky;
    top: calc(104px + var(--fc-cookie-offset, 0px));
    z-index: 5;
    display: grid;
    gap: clamp(.78rem, 1.15vw, .95rem);
    max-height: calc(100vh - 124px - var(--fc-cookie-offset, 0px));
    overflow: auto;
    overscroll-behavior: contain;
    padding: .15rem .18rem .35rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(31,95,99,.18) transparent;
  }

  body.fc-service-detail .fc-service-rail-core-sticky::-webkit-scrollbar {
    width: 7px;
  }

  body.fc-service-detail .fc-service-rail-core-sticky::-webkit-scrollbar-track {
    background: transparent;
  }

  body.fc-service-detail .fc-service-rail-core-sticky::-webkit-scrollbar-thumb {
    background: rgba(31,95,99,.18);
    border-radius: 999px;
  }

  body.fc-service-detail .fc-service-rail-core-sticky::-webkit-scrollbar-thumb:hover {
    background: rgba(31,95,99,.26);
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-toc-card {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
    box-shadow: 0 13px 30px rgba(18,70,74,.07) !important;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-toc-card [data-fc-toc-side] {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-segment-card,
  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-need-card.fc-service-support-card {
    box-shadow: 0 12px 28px rgba(18,70,74,.055) !important;
  }

  body.fc-service-detail .fc-service-rail-sticky > .fc-service-next-step {
    margin-top: .18rem;
  }
}

@media (min-width: 980px) and (max-height: 760px) {
  body.fc-service-detail .fc-service-rail-core-sticky {
    max-height: calc(100vh - 108px - var(--fc-cookie-offset, 0px));
    gap: .66rem;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-toc-card a {
    padding-top: .5rem;
    padding-bottom: .5rem;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-need-card.fc-service-support-card .fc-service-list li {
    padding-top: .48rem !important;
    padding-bottom: .48rem !important;
    line-height: 1.48 !important;
  }
}

@media (max-width: 979px) {
  body.fc-service-detail .fc-service-rail-core-sticky {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
}


/*
  FlexiCare V1430 — Service Detail Related Content & CTA Rhythm Polish
  Scope: service/program detail pages only.
  Purpose: make the lower page ending feel unified, premium and conversion-ready
  without changing markup, routing or JavaScript.
*/

/* Related content block: calmer institutional ending, not loose buttons. */
body.fc-service-detail #service-related.fc-service-block {
  margin-top: clamp(1.65rem, 2.55vw, 2.25rem);
}

body.fc-service-detail #service-related .fc-service-block__head {
  margin-bottom: clamp(.9rem, 1.45vw, 1.15rem);
}

body.fc-service-detail #service-related .fc-service-related-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .72rem;
  padding: clamp(.95rem, 1.55vw, 1.2rem);
  border: 1px solid rgba(31,95,99,.13);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.985), rgba(248,252,252,.955)),
    radial-gradient(circle at 0% 0%, rgba(88,190,198,.08), transparent 22rem);
  box-shadow: 0 14px 34px rgba(18,70,74,.055);
}

body.fc-service-detail #service-related .fc-service-related-btn {
  min-width: 0 !important;
  border-radius: 16px;
  padding: .72rem 1rem;
  border-color: rgba(31,95,99,.16);
  background: rgba(255,255,255,.86);
  color: rgba(9,60,74,.92);
  font-weight: 700;
  box-shadow: none;
}

body.fc-service-detail #service-related .fc-service-related-btn:hover,
body.fc-service-detail #service-related .fc-service-related-btn:focus-visible {
  background: rgba(238,249,250,.94);
  border-color: rgba(31,95,99,.24);
  color: rgba(8,50,61,.98);
}

/* Bottom CTA row: unified conversion rhythm. */
body.fc-service-detail .fc-service-actions {
  margin-top: clamp(1.05rem, 1.75vw, 1.45rem);
  padding: clamp(.9rem, 1.45vw, 1.12rem);
  border: 1px solid rgba(31,95,99,.13);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,251,251,.95));
  box-shadow: 0 14px 34px rgba(18,70,74,.055);
  gap: .72rem;
}

body.fc-service-detail .fc-service-actions .btn {
  min-width: 0 !important;
  flex: 1 1 190px;
  border-radius: 16px;
  min-height: 44px;
}

body.fc-service-detail .fc-service-actions .btn.primary {
  flex-basis: 220px;
}

/* Legal note: visually tied to CTA, but still restrained. */
body.fc-service-detail .fc-service-legal-note {
  margin-top: .75rem;
  padding: .82rem .95rem;
  border: 1px solid rgba(31,95,99,.10);
  border-radius: 18px;
  background: rgba(246,252,252,.72);
  color: rgba(72,105,109,.92);
  line-height: 1.58;
}

/* Avoid oversized bottom controls in narrow desktop/tablet widths. */
@media (min-width: 980px) and (max-width: 1120px) {
  body.fc-service-detail .fc-service-actions {
    align-items: stretch;
  }

  body.fc-service-detail .fc-service-actions .btn {
    flex-basis: 100%;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  body.fc-service-detail #service-related .fc-service-related-actions,
  body.fc-service-detail .fc-service-actions {
    padding: .85rem;
    border-radius: 20px;
  }

  body.fc-service-detail #service-related .fc-service-related-btn,
  body.fc-service-detail .fc-service-actions .btn {
    width: 100%;
    justify-content: center;
  }

  body.fc-service-detail .fc-service-legal-note {
    border-radius: 16px;
    padding: .78rem .85rem;
  }
}


/*
  FlexiCare V1432 — Desktop Duplicate TOC Cleanup
  Scope: service/program detail pages only.
  Purpose: avoid duplicate “Περιεχόμενο” blocks on desktop.
  Desktop keeps the right sticky TOC; mobile/tablet keeps the inline TOC.
*/
@media (min-width: 980px) {
  body.fc-service-detail .fc-service-toc-main {
    display: none !important;
  }

  body.fc-service-detail .fc-service-body-flow {
    padding-top: 0 !important;
  }

  body.fc-service-detail .fc-service-layout {
    margin-top: clamp(1.45rem, 2.35vw, 2rem);
  }
}

@media (max-width: 979px) {
  body.fc-service-detail .fc-service-toc-main {
    display: block;
  }
}


/*
  FlexiCare V1433 — Core Sidebar Visual Unification Polish
  Scope: service/program detail pages only.
  Purpose: make the right core rail feel like one premium information unit
  without changing its sticky behavior or markup.
*/
@media (min-width: 980px) {
  body.fc-service-detail .fc-service-rail-core-sticky {
    gap: .72rem !important;
    padding: .72rem !important;
    border: 1px solid rgba(31,95,99,.12);
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,252,252,.88)),
      radial-gradient(circle at 0% 0%, rgba(90,190,195,.075), transparent 18rem);
    box-shadow: 0 16px 42px rgba(18,70,74,.07);
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-toc-card,
  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-segment-card,
  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-need-card.fc-service-support-card {
    border-radius: 18px !important;
    border-color: rgba(31,95,99,.105) !important;
    background: rgba(255,255,255,.74) !important;
    box-shadow: none !important;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-toc-card {
    padding: .82rem .82rem .9rem !important;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-segment-card,
  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-need-card.fc-service-support-card {
    padding: .86rem .86rem .92rem !important;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-program-nav-title,
  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-need-card__title {
    color: rgba(9,60,74,.94);
    font-weight: 800;
    letter-spacing: .005em;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-segment {
    gap: .46rem;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-seg {
    min-height: 40px;
    border-radius: 14px;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-toc-card a {
    border-radius: 14px;
    min-height: 40px;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-need-card.fc-service-support-card .fc-service-list li {
    padding-top: .54rem !important;
    padding-bottom: .54rem !important;
    border-top-color: rgba(31,95,99,.055) !important;
  }
}

@media (min-width: 980px) and (max-height: 760px) {
  body.fc-service-detail .fc-service-rail-core-sticky {
    padding: .58rem !important;
    gap: .58rem !important;
    border-radius: 22px;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-toc-card,
  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-segment-card,
  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-need-card.fc-service-support-card {
    border-radius: 16px !important;
  }
}

@media (max-width: 979px) {
  body.fc-service-detail .fc-service-rail-core-sticky {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}


/*
  FlexiCare V1434 — Core Sidebar Alternative Continuation Sticky Inclusion
  Scope: service/program detail pages only.
  Purpose: include “Εναλλακτική συνέχεια” in the same stable right core rail,
  while keeping the rail controlled on laptop-height screens.
*/
@media (min-width: 980px) {
  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-next-step {
    border-radius: 18px !important;
    border-color: rgba(31,95,99,.105) !important;
    background: rgba(255,255,255,.74) !important;
    box-shadow: none !important;
    padding: .86rem .86rem .92rem !important;
    margin-top: 0 !important;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-next-step__desc {
    margin: .28rem 0 .72rem;
    color: rgba(72,105,109,.92);
    line-height: 1.52;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-program-next-step__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .52rem;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-program-next-step__actions .btn {
    width: 100%;
    min-width: 0 !important;
    justify-content: center;
    border-radius: 14px;
    min-height: 40px;
  }

  body.fc-service-detail .fc-service-rail-sticky > .fc-service-next-step {
    margin-top: 0;
  }
}

@media (min-width: 980px) and (max-height: 760px) {
  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-next-step {
    padding: .72rem !important;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-next-step__desc {
    display: none;
  }

  body.fc-service-detail .fc-service-rail-core-sticky .fc-program-next-step__actions .btn {
    min-height: 38px;
  }
}

@media (max-width: 979px) {
  body.fc-service-detail .fc-service-rail-core-sticky .fc-service-next-step {
    margin-top: .85rem;
  }
}


/*
  FlexiCare V1435 — Service Detail Coverage Cards Last-Row Balance
  Scope: service/program detail pages only.
  Purpose: avoid a visually unfinished last row when a coverage/evaluation grid has
  an odd number of cards on desktop.
*/
@media (min-width: 980px) {
  body.fc-service-detail #service-coverage .fc-service-grid > .fc-service-tile:last-child:nth-child(odd),
  body.fc-service-detail #service-coverage .fc-program-grid > .fc-program-tile:last-child:nth-child(odd),
  body.fc-service-detail #service-evaluation .fc-service-grid > .fc-service-tile:last-child:nth-child(odd),
  body.fc-service-detail #service-evaluation .fc-program-grid > .fc-program-tile:last-child:nth-child(odd),
  body.fc-service-detail .fc-service-grid > .fc-service-tile:last-child:nth-child(odd),
  body.fc-service-detail .fc-program-grid > .fc-program-tile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  body.fc-service-detail #service-coverage .fc-service-grid > .fc-service-tile:last-child:nth-child(odd) .fc-service-tile-body,
  body.fc-service-detail #service-coverage .fc-program-grid > .fc-program-tile:last-child:nth-child(odd) .fc-program-tile-body,
  body.fc-service-detail #service-evaluation .fc-service-grid > .fc-service-tile:last-child:nth-child(odd) .fc-service-tile-body,
  body.fc-service-detail #service-evaluation .fc-program-grid > .fc-program-tile:last-child:nth-child(odd) .fc-program-tile-body,
  body.fc-service-detail .fc-service-grid > .fc-service-tile:last-child:nth-child(odd) .fc-service-tile-body,
  body.fc-service-detail .fc-program-grid > .fc-program-tile:last-child:nth-child(odd) .fc-program-tile-body {
    min-height: auto;
  }
}

@media (min-width: 980px) and (max-width: 1120px) {
  body.fc-service-detail .fc-service-grid > .fc-service-tile:last-child:nth-child(odd),
  body.fc-service-detail .fc-program-grid > .fc-program-tile:last-child:nth-child(odd) {
    grid-column: auto;
  }
}
