/* FlexiCare v107 — Fix “Top επιλογές” cards + 1 click more Apple-ish (lighter, less saturation)
   Scope: styling only.
*/

:root{
  /* Softer petrol gradient for CTAs (more white, less saturation) */
  --fc-primary-top: rgba(238, 254, 255, 1);
  --fc-primary-bot: rgba(168, 236, 244, 1);
  --fc-ring: rgba(47,143,158,.26);
}

/* Primary CTA hover — keep it subtle */
@media (hover:hover) and (pointer:fine){
  .btn.primary:hover{
    background: linear-gradient(180deg, rgba(245, 255, 255, 1), rgba(182, 242, 248, 1)) !important;
  }
}

/* Make active states slightly more “airy” (reduce tint a touch) */
.fc-seg.is-active{
  background: linear-gradient(135deg, rgba(10,120,144,0.14), rgba(10,120,144,0.06)) !important;
  box-shadow: inset 0 0 0 1px rgba(10,120,144,0.16) !important;
}

.fc-program-nav-item.is-active,
.fc-program-toc-side a.is-active{
  background: linear-gradient(135deg, rgba(10,120,144,0.20), rgba(10,120,144,0.08)) !important;
  border-color: rgba(10,120,144,0.32) !important;
}

.fc-program-nav-item.is-active .fc-program-nav-dot{
  box-shadow: 0 0 0 6px rgba(10,120,144,0.10) !important;
}

.fc-program-toc-links a.is-active{
  background: linear-gradient(135deg, rgba(10,120,144,0.18), rgba(10,120,144,0.08)) !important;
  border-color: rgba(10,120,144,0.28) !important;
}

/* =====================================
   FIX: Top επιλογές (hub) cards
   ===================================== */

.fc-picks{
  margin-top: 16px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.70), rgba(255,255,255,0.46));
  border: 1px solid rgba(9, 60, 74, 0.08);
  box-shadow: 0 18px 44px rgba(9,60,74,0.06);
}

.fc-picks-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
}

@media (max-width: 760px){
  .fc-picks-head{ align-items:flex-start; flex-direction:column; }
}

.fc-picks-title{
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(7, 53, 64, 0.96);
}

.fc-picks-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 980px){
  .fc-picks-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px){
  .fc-picks-grid{ grid-template-columns: 1fr; }
}

.fc-pick-card{
  position: relative;
  display:block;
  text-decoration:none;
  color: inherit;
  padding: 14px;
  border-radius: var(--fc-radius-lg, 18px);
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(9, 60, 74, 0.10);
  box-shadow: 0 14px 34px rgba(9, 60, 74, 0.06);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  overflow:hidden;
}

.fc-pick-card::after{
  content:"";
  position:absolute;
  right: 12px;
  bottom: 12px;
  width: 54px;
  height: 54px;
  background-image: var(--thumb);
  background-repeat:no-repeat;
  background-size:contain;
  opacity: .12;
  filter: saturate(.92);
  pointer-events:none;
}

@media (hover:hover) and (pointer:fine){
  .fc-pick-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(9, 60, 74, 0.10);
    border-color: rgba(10,120,144,0.18);
  }
}

.fc-pick-card:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(10,120,144,0.18), 0 18px 40px rgba(9,60,74,0.10);
}

.fc-pick-card-body{
  position: relative;
  z-index: 1;
  display:grid;
  grid-template-columns: 40px 1fr;
  column-gap: 10px;
  row-gap: 4px;
  align-items:start;
}

.fc-pick-card-ico{
  width: 38px;
  height: 38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(10,120,144,0.12), rgba(10,120,144,0.05));
  border: 1px solid rgba(10,120,144,0.16);
}

.fc-pick-card-title{
  grid-column: 2;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: rgba(7, 53, 64, 0.96);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fc-pick-card-sub{
  grid-column: 2;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(9,60,74,0.70);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================
   V149 — Hub cards polish (no nav changes)
   - uniform scan
   - benefit line
   - tighter, cleaner grid for “all cards”
============================ */

.fc-picks--all .fc-picks-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 1200px){
  .fc-picks--all .fc-picks-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.fc-pick-card-body{ row-gap: 3px; }

.fc-pick-card-ico{
  color: rgba(10, 120, 144, 0.96);
}
.fc-pick-card-ico svg{
  width: 20px;
  height: 20px;
}

/* Keep tiles visually aligned even when intro is missing */
.fc-pick-card-sub{ min-height: 34px; }
.fc-pick-card-sub.is-empty{ opacity: 0; }

.fc-pick-card-benefit{
  grid-column: 2;
  font-size: 12px;
  line-height: 1.25;
  color: rgba(9, 60, 74, 0.62);
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Subtle affordance (keeps it premium, not loud) */
.fc-pick-card--all{
  padding-right: 40px;
}
.fc-pick-card--all::before{
  content: "";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(10, 120, 144, 0.35);
  border-right: 2px solid rgba(10, 120, 144, 0.35);
  transform: rotate(45deg);
  opacity: .9;
}
