/* =========================================================
   Meteon – Allergének + Pollennaptár modern, világos dizájn
   Csak ezen az oldalakon hat: minden szabály body.allergen alatt.
   ========================================================= */
body.allergen{
  /* Azonos háttér a MA-oldallal (ma_modern.css) – egységes az egész site. */
  background:linear-gradient(180deg,#a5d3f2 0%,#c2e2f7 42%,#e8f4fd 100%) no-repeat;
  background-color:#dceefb;
  color:#1b2c44;
}
body.allergen .page{ max-width:1000px; margin:0 auto; padding:6px 18px 20px; }
body.allergen .allergen-page{ text-align:left; }

/* Breadcrumbs a világos háttérhez */
body.allergen .breadcrumbs{ color:#3f5572; }
body.allergen .breadcrumbs a{ color:#1d73eb; }
body.allergen .breadcrumbs-sep{ color:rgba(63,85,114,.45); }

/* Cím + bevezető */
body.allergen .allergen-title{
  font-size:clamp(25px,4vw,36px); font-weight:800; letter-spacing:-.02em;
  color:#0e2138; margin:14px 0 8px; line-height:1.15;
}
body.allergen .allergen-intro{
  font-size:15px; color:#46586e; line-height:1.55; margin:0 0 18px; max-width:680px;
}

/* Szekció-címek */
body.allergen .allergen-h2{
  font-size:17px; font-weight:800; color:#10233b; letter-spacing:-.01em;
  margin:26px 0 12px; display:flex; align-items:center; gap:9px;
}
body.allergen .allergen-h2::before{
  content:""; width:5px; height:18px; border-radius:3px;
  background:linear-gradient(180deg,#4aa3ff,#1d73eb);
}

/* Élő pollen-hero (a domináns szín a háttér, inline-ból) */
body.allergen .allergen-hero{
  position:relative; overflow:hidden; border:0; border-radius:22px;
  padding:24px 26px; color:#fff; margin:0 0 18px; text-align:left;
  box-shadow:0 16px 40px rgba(20,50,110,.20); text-shadow:0 1px 2px rgba(0,0,0,.12);
}
body.allergen .allergen-hero::after{
  content:""; position:absolute; width:240px; height:240px; border-radius:50%;
  right:-70px; top:-90px; background:rgba(255,255,255,.16);
}
body.allergen .allergen-hero::before{
  content:""; position:absolute; width:120px; height:120px; border-radius:50%;
  left:-40px; bottom:-55px; background:rgba(255,255,255,.12);
}
body.allergen .allergen-hero-top{
  position:relative; z-index:2; font-size:12.5px; font-weight:700; opacity:.92;
  text-transform:uppercase; letter-spacing:.06em;
}
body.allergen .allergen-hero-level{ position:relative; z-index:2; font-size:29px; font-weight:800; letter-spacing:-.02em; margin:7px 0 4px; }
body.allergen .allergen-hero-sub{ position:relative; z-index:2; font-size:14.5px; opacity:.96; }

/* Fehér kártya alap (felülírja a style.css-t a modern kinézethez) */
body.allergen .side-card{
  background:#fff; border:1px solid #e7eef7; border-radius:18px;
  box-shadow:0 8px 24px rgba(30,64,128,.09); padding:18px 20px; text-align:left;
}

/* Mai tanács doboz */
body.allergen .side-card[style*="border-left"]{ border-radius:14px; font-size:14.5px; color:#324155; line-height:1.55; }

/* Város-kontextus szöveg */
body.allergen .pollen-city-context{ margin:0 0 6px; }
body.allergen .pollen-context-text{ font-size:14.5px; line-height:1.7; color:#3f4c5f; margin:0 0 10px; }

/* ---------- Jelenlegi pollenszintek (sávok) ---------- */
body.allergen .level-list{ padding:6px 20px; }
body.allergen .level-row{
  display:grid; grid-template-columns:130px 1fr auto auto; gap:14px; align-items:center;
  padding:13px 0; border-top:1px solid #eef2f7;
}
body.allergen .level-row:first-child{ border-top:0; }
body.allergen .level-row-name{ font-size:14px; font-weight:700; color:#1b2c44; }
body.allergen .level-bar{ height:9px; border-radius:999px; background:#eef2f7; overflow:hidden; }
body.allergen .level-bar span{ display:block; height:100%; border-radius:999px; }
body.allergen .level-pill{
  display:inline-block; padding:4px 11px; border-radius:999px; color:#fff;
  font-size:11.5px; font-weight:800; white-space:nowrap; letter-spacing:.02em;
}
body.allergen .level-row-val{ font-size:14px; font-weight:800; color:#10233b; white-space:nowrap; }
body.allergen .level-row-val span{ font-size:11px; font-weight:600; color:#8a99ab; }

/* ---------- Következő napok (chipek) ---------- */
body.allergen .forecast-row{ display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:14px; }
body.allergen .forecast-chip{ text-align:center; padding:16px 14px; }
body.allergen .fc-day{ font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:#64748b; }
body.allergen .fc-name{ font-size:16px; font-weight:800; color:#10233b; margin:7px 0 9px; }
body.allergen .forecast-chip .level-pill{ margin-bottom:8px; }
body.allergen .fc-val{ font-size:12.5px; color:#64748b; font-weight:600; }

/* ---------- Két oszlop (tippek + jelmagyarázat / szezon) ---------- */
body.allergen .allergen-two-col{ display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:start; }

/* Tippek lista – pipa-pöttyökkel */
body.allergen .allergen-tips{ list-style:none; margin:0; padding:0; }
body.allergen .allergen-tips li{
  position:relative; padding:8px 0 8px 28px; font-size:14px; line-height:1.55; color:#3f4c5f;
  border-top:1px solid #eef2f7;
}
body.allergen .allergen-tips li:first-child{ border-top:0; }
body.allergen .allergen-tips li::before{
  content:""; position:absolute; left:0; top:11px; width:16px; height:16px; border-radius:50%;
  background:rgba(29,115,235,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d73eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* Jelmagyarázat */
body.allergen .legend-card .legend-row{ display:flex; align-items:center; gap:10px; padding:7px 0; font-size:14px; color:#3f4c5f; font-weight:600; }
body.allergen .legend-dot{ width:14px; height:14px; border-radius:50%; flex:0 0 auto; }

/* ---------- Allergén-leírások rács ---------- */
body.allergen .allergen-info-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:16px; }
body.allergen .allergen-info-card h3{ font-size:16px; font-weight:800; color:#10233b; margin:0 0 6px; }
body.allergen .allergen-info-card .mini-meta{ font-size:12.5px; color:#64748b; }

/* ---------- Belső linkek ---------- */
body.allergen .city-seo-links{ list-style:none; display:flex; flex-wrap:wrap; gap:9px; padding:0; margin:0; }
body.allergen .city-seo-links a{
  display:inline-block; padding:8px 14px; border-radius:999px; background:#f0f6ff; border:1px solid #dbe9fb;
  color:#1d73eb; font-size:13.5px; font-weight:600; text-decoration:none; transition:.15s;
}
body.allergen .city-seo-links a:hover{ background:#e2eeff; }

/* ====================================================================
   POLLENNAPTÁR – havi mátrix
   ==================================================================== */
body.allergen .pollen-cal-card{ padding:16px 16px 14px; overflow-x:auto; }
body.allergen .pollen-cal{ display:flex; flex-direction:column; gap:5px; min-width:620px; }
body.allergen .pollen-cal-row{
  display:grid; grid-template-columns:118px repeat(12,1fr); gap:4px; align-items:center;
}
body.allergen .pollen-cal-head .pollen-cal-cell{
  font-size:11px; font-weight:700; color:#64748b; text-align:center; text-transform:capitalize; padding:2px 0;
}
body.allergen .pollen-cal-name{
  font-size:13px; font-weight:700; color:#1b2c44; display:flex; align-items:center; gap:6px; padding-right:6px;
}
body.allergen .pollen-cal-head .pollen-cal-name{ color:#64748b; font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
body.allergen .pollen-cal-cell{ position:relative; }
body.allergen .pollen-cal-cell.is-current{ outline:2px solid #1d73eb; outline-offset:1px; border-radius:7px; }
body.allergen .pollen-cal-fill{ display:block; height:24px; border-radius:6px; background:#eceff3; }
body.allergen .pollen-now-dot{ width:8px; height:8px; border-radius:50%; background:#ea580c; box-shadow:0 0 0 3px rgba(234,88,12,.18); }
body.allergen .pollen-cal-row.active-now .pollen-cal-name{ color:#c2410c; }

/* Naptár jelmagyarázat */
body.allergen .pollen-cal-legend{ display:flex; flex-wrap:wrap; gap:14px; margin-top:14px; padding-top:12px; border-top:1px solid #eef2f7; font-size:12.5px; color:#64748b; font-weight:600; }
body.allergen .pollen-cal-legend span{ display:inline-flex; align-items:center; gap:6px; }
body.allergen .pollen-cal-legend i{ width:14px; height:14px; border-radius:4px; display:inline-block; }

/* Szezon-lista */
body.allergen .pollen-season-list{ list-style:none; margin:0; padding:0; }
body.allergen .pollen-season-list li{
  display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:11px 0; font-size:14px; color:#3f4c5f;
  border-top:1px solid #eef2f7;
}
body.allergen .pollen-season-list li:first-child{ border-top:0; }
body.allergen .pollen-season-list strong{ color:#10233b; min-width:84px; }
body.allergen .pollen-season-when{ color:#64748b; font-size:13px; }
body.allergen .pollen-season-tag{ margin-left:auto; color:#fff; font-size:11px; font-weight:800; padding:3px 9px; border-radius:999px; }

/* SEO záró szöveg */
body.allergen .seo-text-small{ max-width:820px; color:#7a8aa0 !important; line-height:1.6; }

/* ---------- MOBIL ---------- */
@media (max-width:740px){
  body.allergen .page{ padding:6px 13px 18px; }
  body.allergen .allergen-two-col{ grid-template-columns:1fr; gap:8px; }
  body.allergen .level-row{ grid-template-columns:1fr auto; row-gap:8px; column-gap:10px; }
  body.allergen .level-row .level-bar{ grid-column:1 / -1; order:5; }
  body.allergen .allergen-hero-level{ font-size:25px; }
}

/* ====================================================================
   ALLERGEN / POLLEN V3 – Health dashboard
   ==================================================================== */
body.allergen .page{max-width:1080px;padding:8px 20px 28px}
body.allergen .allergen-page{position:relative}

body.allergen .allergen-page-head{
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin:10px 0 16px;
  padding:24px 26px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.84);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(239,249,255,.9));
  box-shadow:0 16px 38px rgba(28,79,131,.12),inset 0 1px 0 #fff;
}
body.allergen .allergen-page-head::after{
  content:"";
  position:absolute;
  z-index:-1;
  top:-95px;
  right:15%;
  width:220px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(54,207,165,.17),transparent 68%);
}
body.allergen .allergen-page-heading{min-width:0}
body.allergen .allergen-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-bottom:9px;
  color:#087a65;
  font-size:10px;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}
body.allergen .allergen-kicker i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#16b995;
  box-shadow:0 0 0 4px rgba(22,185,149,.13);
}
body.allergen .allergen-title{margin:0 0 7px;font-size:clamp(27px,4vw,38px)}
body.allergen .allergen-intro{max-width:710px;margin:0;font-size:14px}
body.allergen .allergen-view-switch{
  flex:0 0 auto;
  display:flex;
  gap:4px;
  padding:4px;
  border:1px solid #dbe9f6;
  border-radius:13px;
  background:#edf5fc;
}
body.allergen .allergen-view-switch a{
  min-width:88px;
  padding:9px 13px;
  border-radius:9px;
  color:#567089;
  font-size:12.5px;
  font-weight:750;
  text-align:center;
  text-decoration:none;
  transition:background .18s ease,color .18s ease,box-shadow .18s ease;
}
body.allergen .allergen-view-switch a:hover{color:#1265d5;background:rgba(255,255,255,.65)}
body.allergen .allergen-view-switch a.active{
  color:#fff;
  background:linear-gradient(135deg,#1d73eb,#2495df);
  box-shadow:0 5px 13px rgba(29,115,235,.24);
}

body.allergen .allergen-hero{
  min-height:170px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  margin:0 0 16px;
  padding:26px 30px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:24px;
  background-image:linear-gradient(110deg,rgba(5,43,76,.34),rgba(5,43,76,.04));
  box-shadow:0 18px 42px rgba(20,70,105,.2),inset 0 1px 0 rgba(255,255,255,.2);
}
body.allergen .allergen-hero::before{
  left:auto;
  right:105px;
  bottom:-72px;
  width:175px;
  height:175px;
  border:1px solid rgba(255,255,255,.18);
  background:transparent;
  box-shadow:0 0 0 25px rgba(255,255,255,.055),0 0 0 50px rgba(255,255,255,.035);
}
body.allergen .allergen-hero::after{
  right:-45px;
  top:-100px;
  width:270px;
  height:270px;
  background:radial-gradient(circle at 35% 65%,rgba(255,255,255,.22) 0 5px,transparent 6px),rgba(255,255,255,.08);
}
body.allergen .allergen-hero-top{
  align-self:flex-start;
  padding:5px 10px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  background:rgba(255,255,255,.13);
  backdrop-filter:blur(5px);
}
body.allergen .allergen-hero-level{font-size:clamp(28px,4vw,40px);margin:10px 0 5px}
body.allergen .allergen-hero-sub{font-size:15px}

body.allergen .allergen-advice{
  --status-color:#1d73eb;
  display:flex;
  align-items:flex-start;
  gap:13px;
  margin:0 0 16px;
  padding:15px 17px;
  border:1px solid color-mix(in srgb,var(--status-color) 24%,#e7eef7);
  border-left:4px solid var(--status-color);
  border-radius:15px;
  background:linear-gradient(100deg,color-mix(in srgb,var(--status-color) 7%,#fff),#fff 55%);
}
body.allergen .allergen-advice-icon{
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:9px;
  background:var(--status-color);
  color:#fff;
  font-size:15px;
  font-weight:850;
  font-family:Georgia,serif;
}
body.allergen .allergen-advice strong{display:block;margin-bottom:2px;color:#1c3149;font-size:13px}
body.allergen .allergen-advice div>span{display:block;color:#53677c;font-size:13.5px;line-height:1.5}

body.allergen .pollen-city-context{
  margin:0 0 10px;
  padding:18px 20px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:18px;
  background:rgba(255,255,255,.52);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
body.allergen .pollen-city-context .allergen-h2{margin-top:0}
body.allergen .pollen-context-text:last-child{margin-bottom:0}

body.allergen .allergen-h2{margin:28px 0 12px;font-size:18px}
body.allergen .allergen-h2::before{
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:8px;
  background:linear-gradient(145deg,#2d8bf1,#22bfa3);
  box-shadow:0 5px 12px rgba(29,115,235,.18);
}
body.allergen .side-card{
  border-color:rgba(190,211,234,.55);
  border-radius:20px;
  box-shadow:0 10px 28px rgba(30,64,128,.09),inset 0 1px 0 #fff;
}

body.allergen .level-list{display:grid;gap:8px;padding:12px}
body.allergen .level-row{
  grid-template-columns:125px minmax(120px,1fr) auto auto;
  gap:13px;
  margin:0;
  padding:13px 14px;
  border:1px solid #edf2f8;
  border-radius:14px;
  background:linear-gradient(90deg,#fbfdff,#f7faff);
  transition:transform .16s ease,border-color .16s ease;
}
body.allergen .level-row:first-child{border-top:1px solid #edf2f8}
body.allergen .level-row:hover{transform:translateX(2px);border-color:#d8e7f6}
body.allergen .level-bar{height:10px;box-shadow:inset 0 1px 2px rgba(26,56,90,.06)}
body.allergen .level-bar span{position:relative;min-width:5px}
body.allergen .level-pill{box-shadow:0 3px 8px rgba(20,55,90,.15)}

body.allergen .forecast-row{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}
body.allergen .forecast-chip{
  position:relative;
  overflow:hidden;
  padding:18px 15px;
  background:linear-gradient(150deg,#fff,#f5faff);
  transition:transform .2s ease,box-shadow .2s ease;
}
body.allergen .forecast-chip::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  left:0;
  height:4px;
  background:linear-gradient(90deg,#2b87ef,#2fc7a9);
}
body.allergen .forecast-chip:hover{transform:translateY(-3px);box-shadow:0 15px 30px rgba(30,64,128,.14)}

body.allergen .allergen-two-col{gap:16px}
body.allergen .allergen-panel{
  align-self:stretch;
  padding:20px;
  border:1px solid rgba(190,211,234,.55);
  border-radius:20px;
  background:rgba(255,255,255,.9);
  box-shadow:0 10px 28px rgba(30,64,128,.08);
}
body.allergen .allergen-panel>.allergen-h2{margin:0 0 14px}
body.allergen .allergen-panel>.side-card{padding:4px 12px;border:0;background:#f8fbfe;box-shadow:none}
body.allergen .allergen-tips li{padding:10px 0 10px 29px}
body.allergen .allergen-tips li::before{top:13px}

body.allergen .allergen-info-grid{gap:13px}
body.allergen .allergen-info-card{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,#fff,#f7fbff);
  transition:transform .18s ease,border-color .18s ease;
}
body.allergen .allergen-info-card::after{
  content:"";
  position:absolute;
  top:-30px;
  right:-30px;
  width:85px;
  height:85px;
  border-radius:50%;
  background:rgba(38,174,144,.07);
}
body.allergen .allergen-info-card:hover{transform:translateY(-2px);border-color:#cfe1f3}

body.allergen .pollen-cal-card{padding:20px;box-shadow:0 14px 36px rgba(30,64,128,.12)}
body.allergen .pollen-cal-scroll-hint{display:none}
body.allergen .pollen-cal{gap:7px}
body.allergen .pollen-cal-row{gap:6px}
body.allergen .pollen-cal-head{padding-bottom:7px;border-bottom:1px solid #edf2f7}
body.allergen .pollen-cal-fill{height:30px;border-radius:8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.24)}
body.allergen .pollen-cal-cell.is-current{
  outline:2px solid #2279e8;
  outline-offset:2px;
  border-radius:8px;
  background:rgba(34,121,232,.05);
  box-shadow:0 0 0 5px rgba(34,121,232,.05);
}
body.allergen .pollen-cal-head .pollen-cal-cell.is-current{
  padding:4px 0;
  color:#1766d1;
  background:#eaf3ff;
}
body.allergen .pollen-cal-row.active-now{
  margin:0 -7px;
  padding:4px 7px;
  border-radius:10px;
  background:#fff8f3;
}
body.allergen .pollen-cal-legend{justify-content:flex-end}
body.allergen .pollen-season-list li{padding:13px 3px}

@media (max-width:740px){
  body.allergen .page{padding:6px 12px 22px}
  body.allergen .allergen-page-head{align-items:stretch;flex-direction:column;padding:20px 17px;border-radius:20px}
  body.allergen .allergen-view-switch{width:100%}
  body.allergen .allergen-view-switch a{flex:1}
  body.allergen .allergen-hero{min-height:150px;padding:22px 19px;border-radius:20px}
  body.allergen .allergen-hero-level{font-size:27px}
  body.allergen .allergen-panel{padding:17px 14px}
  body.allergen .level-list{padding:9px}
  body.allergen .level-row{grid-template-columns:1fr auto;padding:12px}
  body.allergen .level-row .level-bar{grid-column:1/-1}
  body.allergen .pollen-cal-card{padding:14px 12px}
  body.allergen .pollen-cal-scroll-hint{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:6px;
    position:sticky;
    left:0;
    width:100%;
    margin:0 0 10px;
    color:#55718e;
    font-size:11px;
    font-weight:750;
  }
  body.allergen .pollen-cal-scroll-hint span{color:#1d73eb;font-size:16px;line-height:1}
  body.allergen .pollen-cal-name{
    position:sticky;
    z-index:3;
    left:0;
    padding:8px 7px;
    border-radius:7px;
    background:#fff;
    box-shadow:8px 0 12px rgba(255,255,255,.92);
  }
  body.allergen .pollen-cal-head .pollen-cal-name{z-index:4;background:#fff}
  body.allergen .pollen-cal-row.active-now .pollen-cal-name{background:#fff8f3}
}
@media (prefers-reduced-motion:reduce){
  body.allergen .allergen-view-switch a,
  body.allergen .level-row,
  body.allergen .forecast-chip,
  body.allergen .allergen-info-card{transition:none}
}
