/* =========================================================
   Meteon – ÓRÁS / HOLNAP / HETI modern dizájn
   Közös a három előrejelzés-oldalon (azonos .slot szerkezet).
   Minden szabály body.fc-modern alatt → más oldalt nem érint.
   A MA-oldal (ma_modern.css) esztétikájához igazítva.
   ========================================================= */
body.fc-modern{
  background:linear-gradient(180deg,#a5d3f2 0%,#c2e2f7 42%,#e8f4fd 100%) no-repeat;
  background-color:#dceefb;
  color:#1b2c44;
}
body.fc-modern .wrap{ max-width:1000px; margin:0 auto; padding:0 16px; }

/* Fejléc */
body.fc-modern .header{ text-align:left; max-width:1000px; margin:16px auto 12px; padding:0 16px; }
body.fc-modern .header h1{ font-size:clamp(24px,4vw,34px); font-weight:800; color:#0e2138; letter-spacing:-.02em; margin:0 0 6px; line-height:1.15; }
body.fc-modern .header h2{ font-size:16px; font-weight:800; color:#10233b; margin:0; }
body.fc-modern .sub{ color:#46586e; font-size:14px; display:flex; align-items:center; gap:8px; }
body.fc-modern .badge{
  display:inline-block; background:rgba(255,255,255,.72); color:#1d73eb; border:1px solid #d9e6f6;
  padding:4px 12px; border-radius:999px; font-size:12.5px; font-weight:700;
}

/* Breadcrumbs */
body.fc-modern .breadcrumbs{ color:#3f5572; }
body.fc-modern .breadcrumbs a{ color:#1d73eb; }
body.fc-modern .breadcrumbs-sep{ color:rgba(63,85,114,.45); }

/* Trend-grafikon kártya */
body.fc-modern .forecast-chart-wrap{ margin-top:8px; }
body.fc-modern .forecast-chart-box{
  background:#fff; border:1px solid #e7eef7; border-radius:18px;
  box-shadow:0 8px 24px rgba(30,64,128,.09); padding:14px 16px; max-width:1000px; margin:0 auto;
}

/* ---------- Idő-szelet kártyák ---------- */
body.fc-modern .slot{
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  background:#fff; border:1px solid #e7eef7; border-radius:16px;
  box-shadow:0 6px 18px rgba(30,64,128,.07); padding:14px 18px; margin:0 auto 12px; max-width:1000px;
  text-align:left;
}
body.fc-modern .slot-left{ display:flex; flex-direction:column; gap:7px; min-width:0; }
body.fc-modern .time{ font-size:14px; font-weight:800; color:#1d73eb; letter-spacing:.02em; }
body.fc-modern .bottom-left{ display:flex; align-items:center; gap:13px; }
body.fc-modern .slot .temp{ font-size:25px; font-weight:800; color:#10233b; letter-spacing:-.01em; }
body.fc-modern .slot .emoji{ font-size:28px; line-height:1; }
body.fc-modern .slot .desc{ font-size:13px; color:#64748b; max-width:160px; }

body.fc-modern .slot-right{ display:flex; flex-wrap:wrap; gap:11px 18px; justify-content:flex-end; }
body.fc-modern .metric{ display:flex; flex-direction:column; min-width:62px; }
body.fc-modern .metric .label{ font-size:10px; text-transform:uppercase; letter-spacing:.04em; color:#8a99ab; font-weight:700; }
body.fc-modern .metric .value{ font-size:14px; font-weight:700; color:#1b2c44; margin-top:2px; white-space:nowrap; }

/* SEO szövegblokkok */
body.fc-modern .seo-text-block{
  max-width:1000px; margin:8px auto 4px; padding:14px 18px; font-size:14px; line-height:1.6; color:#3f4c5f;
  background:rgba(255,255,255,.55); border:1px solid rgba(255,255,255,.7); border-radius:14px; text-align:left;
}
body.fc-modern .seo-text-small{ color:#3f5572; line-height:1.6; }

/* ---------- MOBIL ---------- */
@media (max-width:620px){
  body.fc-modern .slot{ flex-direction:column; align-items:stretch; gap:12px; padding:14px 16px; }
  body.fc-modern .slot-right{ justify-content:space-between; gap:10px 12px; }
  body.fc-modern .metric{ min-width:54px; flex:1 0 28%; }
  body.fc-modern .slot .desc{ max-width:none; }
}

/* =========================================================
   FORECAST CARDS V2
   Kompakt, ketoszlopos elorejelzes-rendszer a hosszu sorok helyett.
   ========================================================= */
body.fc-modern .forecast-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  max-width:1000px;
  margin:0 auto 20px;
  padding:18px;
  border:1px solid rgba(255,255,255,.82);
  border-radius:26px;
  background:rgba(239,247,254,.62);
  box-shadow:0 20px 50px rgba(29,78,130,.13),inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
body.fc-modern .forecast-grid > .header{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:100%;
  max-width:none;
  margin:0 0 3px;
  padding:0 3px 12px;
  border-bottom:1px solid rgba(118,154,195,.24);
}
body.fc-modern .forecast-grid > .header h1{
  margin:0;
  font-size:clamp(24px,3vw,32px);
}
body.fc-modern .forecast-grid > .header .sub{flex:0 0 auto}
body.fc-modern .forecast-grid > .header .badge{
  padding:6px 12px;
  border-color:rgba(29,115,235,.16);
  background:rgba(255,255,255,.82);
  box-shadow:0 3px 10px rgba(30,80,140,.07);
}

body.fc-modern .forecast-grid .slot{
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:space-between;
  gap:15px;
  min-height:214px;
  max-width:none;
  margin:0;
  padding:19px;
  overflow:hidden;
  border:1px solid rgba(180,204,232,.5);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,251,255,.95));
  box-shadow:0 8px 22px rgba(30,77,128,.08),inset 0 1px 0 #fff;
  transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease,border-color .22s ease;
}
body.fc-modern .forecast-grid .slot::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  right:0;
  left:0;
  height:4px;
  background:linear-gradient(90deg,#2379ee,#35b9f1 52%,#45d2bd);
}
body.fc-modern .forecast-grid .slot::after{
  content:"";
  position:absolute;
  z-index:-1;
  top:-65px;
  right:-58px;
  width:150px;
  height:150px;
  border:1px solid rgba(40,127,231,.09);
  border-radius:50%;
  box-shadow:0 0 0 22px rgba(40,127,231,.035),0 0 0 44px rgba(40,127,231,.02);
}
body.fc-modern .forecast-grid .slot:hover{
  z-index:2;
  transform:translateY(-3px);
  border-color:rgba(94,157,229,.42);
  box-shadow:0 15px 30px rgba(30,77,128,.14),inset 0 1px 0 #fff;
}
body.fc-modern .forecast-grid .slot-left{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
}
body.fc-modern .forecast-grid .time{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:5px 10px;
  border:1px solid rgba(29,115,235,.13);
  border-radius:999px;
  background:#edf6ff;
  color:#1769df;
  font-size:12px;
  font-weight:850;
  letter-spacing:.02em;
}
body.fc-modern .forecast-grid .bottom-left{
  align-self:flex-start;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  width:100%;
  min-width:0;
}
body.fc-modern .forecast-grid .slot .temp{
  flex:0 0 auto;
  color:#10233b;
  font-size:34px;
  font-weight:850;
  line-height:1;
  letter-spacing:-.045em;
}
body.fc-modern .forecast-grid .slot .emoji{
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border:1px solid rgba(179,204,233,.5);
  border-radius:15px;
  background:linear-gradient(145deg,#f6fbff,#eaf4ff);
  font-size:29px;
  filter:drop-shadow(0 5px 7px rgba(30,75,125,.12));
}
body.fc-modern .forecast-grid .slot .desc{
  min-width:0;
  max-width:none;
  overflow:hidden;
  color:#556b84;
  font-size:13px;
  font-weight:650;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.fc-modern .forecast-grid .slot-right{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  width:100%;
  padding-top:13px;
  border-top:1px solid rgba(140,171,207,.2);
}
body.fc-modern .forecast-grid .metric{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  min-height:54px;
  padding:8px 9px 8px 12px;
  overflow:hidden;
  border:1px solid rgba(188,207,229,.43);
  border-radius:11px;
  background:rgba(241,247,253,.72);
}
body.fc-modern .forecast-grid .metric::before{
  content:"";
  position:absolute;
  top:10px;
  bottom:10px;
  left:0;
  width:3px;
  border-radius:0 3px 3px 0;
  background:#54a3f5;
}
body.fc-modern .forecast-grid .metric-2::before{background:#42b5c7}
body.fc-modern .forecast-grid .metric-3::before{background:#54a5ed}
body.fc-modern .forecast-grid .metric-4::before{background:#f0a43b}
body.fc-modern .forecast-grid .metric-5::before{background:#8b9db5}
body.fc-modern .forecast-grid .metric .label{
  overflow:hidden;
  color:#7b8ea5;
  font-size:8.5px;
  font-weight:800;
  letter-spacing:.045em;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.fc-modern .forecast-grid .metric .value{
  overflow:hidden;
  color:#172b44;
  font-size:12.5px;
  font-weight:800;
  line-height:1.25;
  text-overflow:ellipsis;
}
body.fc-modern .forecast-grid-weekly .slot-right{grid-template-columns:repeat(2,minmax(0,1fr))}
body.fc-modern .forecast-grid-weekly .metric-1::before{background:#42b5c7}
body.fc-modern .forecast-grid-weekly .metric-2::before{background:#54a5ed}
body.fc-modern .forecast-grid-weekly .metric-3::before{background:#f0a43b}
body.fc-modern .forecast-grid-weekly .metric-4::before{background:#8b9db5}

@media (max-width:760px){
  body.fc-modern .forecast-grid{
    grid-template-columns:1fr;
    gap:11px;
    width:calc(100% - 24px);
    padding:13px;
    border-radius:22px;
  }
  body.fc-modern .forecast-grid > .header{grid-column:1;align-items:flex-start}
  body.fc-modern .forecast-grid .slot{min-height:0;padding:17px}
}
@media (max-width:460px){
  body.fc-modern .forecast-grid > .header{flex-direction:column;gap:8px}
  body.fc-modern .forecast-grid .slot-right{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.fc-modern .forecast-grid .slot .temp{font-size:31px}
  body.fc-modern .forecast-grid .slot .emoji{width:44px;height:44px;font-size:27px}
}
@media (prefers-reduced-motion:reduce){
  body.fc-modern .forecast-grid .slot{transition:none}
}

/* =========================================================
   KOZOS VAROS/SEO BLOKK – azonos megjelenes a MA oldallal
   ========================================================= */
body.fc-modern .seo-text-wide.city-seo-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  width:calc(100% - 32px);
  max-width:1000px;
  margin:22px auto 0;
  text-align:center;
}
body.fc-modern .city-seo-card{
  padding:20px 22px;
  border:1px solid #e7eef7;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(30,64,128,.09);
  text-align:center;
}
body.fc-modern .city-seo-card-title{
  margin:0 0 10px;
  color:#1b2c44;
  font-size:17px;
  font-weight:700;
}
body.fc-modern .city-seo-card-text{
  margin:0 0 9px;
  color:#3f4c5f;
  font-size:14px;
  line-height:1.62;
  text-align:center;
}
body.fc-modern .city-seo-card-text:last-child{margin-bottom:0}
body.fc-modern .city-seo-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:9px;
  margin:0;
  padding:0;
  list-style:none;
  text-align:center;
}
body.fc-modern .city-seo-links li{margin:0}
body.fc-modern .city-seo-links a{
  display:inline-block;
  padding:8px 14px;
  border:1px solid #dbe9fb;
  border-radius:999px;
  background:#f0f6ff;
  color:#1d73eb;
  font-size:13.5px;
  font-weight:600;
  text-decoration:none;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
body.fc-modern .city-seo-links a:hover{
  border-color:#c8ddf8;
  background:#e2eeff;
  text-decoration:none;
  transform:translateY(-1px);
}
body.fc-modern .city-seo-faq-item{
  margin:0;
  padding:12px 0;
  border:0;
  border-top:1px solid #eef2f7;
  border-radius:0;
  background:transparent;
  text-align:left;
}
body.fc-modern .city-seo-faq-item:first-of-type{border-top:0}
body.fc-modern .city-seo-faq-item summary{
  cursor:pointer;
  color:#1b2c44;
  font-size:14.5px;
  font-weight:600;
  list-style:none;
}
body.fc-modern .city-seo-faq-item summary::-webkit-details-marker{display:none}
body.fc-modern .city-seo-faq-item summary::after{
  content:"+";
  float:right;
  margin-left:12px;
  color:#64748b;
  font-size:18px;
  font-weight:500;
  line-height:1;
}
body.fc-modern .city-seo-faq-item[open] summary::after{content:"–"}
body.fc-modern .city-seo-faq-item p{
  margin:8px 0 0;
  color:#4f5d6e;
  font-size:13.5px;
  line-height:1.6;
}
body.fc-modern .city-seo-cards > .city-seo-card:last-child{grid-column:1/-1}

@media (max-width:740px){
  body.fc-modern .seo-text-wide.city-seo-cards{
    grid-template-columns:1fr;
    gap:12px;
    width:calc(100% - 24px);
    margin-top:16px;
  }
  body.fc-modern .city-seo-card{padding:18px 16px;border-radius:16px}
  body.fc-modern .city-seo-cards > .city-seo-card:last-child{grid-column:1}
}

/* =========================================================
   15 NAPOS ELOREJELZES (/15-napos)
   ========================================================= */
body.fc-modern .lr-grid > .lr-summary,
body.fc-modern .lr-grid > .lr-note,
body.fc-modern .lr-grid > .lr-chart,
body.fc-modern .lr-grid > .lr-week{grid-column:1/-1}
body.fc-modern .lr-summary{
  margin:0; padding:14px 16px; font-size:15px; line-height:1.6; color:#233a56; text-align:left;
  background:rgba(255,255,255,.8); border:1px solid rgba(180,204,232,.5); border-radius:16px;
}
body.fc-modern .lr-note{
  margin:0; padding:10px 14px; font-size:14px; color:#7c4a03;
  background:#fff7e6; border:1px solid #f5d9a6; border-radius:12px;
}
body.fc-modern .lr-chart{margin:0}
body.fc-modern .lr-chart .forecast-chart-box{height:280px;max-width:none}
body.fc-modern .lr-week{
  margin:8px 3px 0; font-size:16px; font-weight:800; color:#10233b;
}
body.fc-modern .lr-week--trend{
  margin-top:14px; padding-top:14px; border-top:1px solid rgba(118,154,195,.24);
}
body.fc-modern .forecast-grid .lr-day{min-height:0}
body.fc-modern .forecast-grid .lr-day--low{background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(243,247,252,.9))}
body.fc-modern .lr-rel{
  display:inline-block; padding:1px 8px; border-radius:999px; font-size:11.5px;
}
body.fc-modern .lr-rel--high{background:#e3f6ec;color:#146c43}
body.fc-modern .lr-rel--medium{background:#fff4dc;color:#8a5a00}
body.fc-modern .lr-rel--low{background:#eef2f7;color:#4a5b70}
body.fc-modern .lr-link{
  max-width:1000px; margin:0 auto 14px; padding:0 16px; font-size:15px; font-weight:700;
}
body.fc-modern .lr-link a{color:#1d73eb;text-decoration:none}
body.fc-modern .lr-link a:hover{text-decoration:underline}
@media (max-width:760px){
  body.fc-modern .lr-chart .forecast-chart-box{height:230px}
}
