/* fdw-nav-b.css — «Ουρανός και φως» (κατεύθυνση Β, εγκρίθηκε 29/11/2026).
   One light sky system for the top menu, the left column (Offlajn 363 + cloned
   «Οι σελίδες μας» + module 444) and the right column (module 442).
   Loaded LAST (after fdw-type.css) and only re-styles existing markup: no HTML
   changes, so removing the <link> restores the old waves exactly.
   Colours: sky + white only (publisher's rule); dark ink is used ONLY for text. */
:root{
  --nb-title:#0c3250; --nb-link:#1d5a8f; --nb-white:#fff;
  --nb-50:#eef7fd; --nb-100:#e2f1fb; --nb-200:#cfe7f8; --nb-300:#b5d9f3;
  --nb-line:#d9eaf6; --nb-focus:#1d5a8f;
  --nb-shadow:0 1px 2px rgba(12,50,80,.06),0 6px 18px rgba(12,50,80,.07);
  --nb-r-lg:18px; --nb-r-md:12px; --nb-r-sm:8px;
  --nb-sans:"Alegreya Sans","Segoe UI",system-ui,sans-serif;
  --nb-serif:"Alegreya",Georgia,serif;
  /* icons: stroke coloured like --nb-link */
  --nb-i-book:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5a8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h7a3 3 0 0 1 3 3v13a2 2 0 0 0-2-2H2z'/%3E%3Cpath d='M22 4h-7a3 3 0 0 0-3 3v13a2 2 0 0 1 2-2h8z'/%3E%3C/svg%3E");
  --nb-i-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5a8f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
  --nb-i-star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5a8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v4M12 17v4M3 12h4M17 12h4M6 6l2.5 2.5M15.5 15.5 18 18M6 18l2.5-2.5M15.5 8.5 18 6'/%3E%3C/svg%3E");
  --nb-i-redo:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5a8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E");
  --nb-i-tag:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5a8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E");
  --nb-i-help:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5a8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
  --nb-i-mag:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5a8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cpath d='M9 7h6M9 11h6M9 15h4'/%3E%3C/svg%3E");
  --nb-i-page:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5a8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E");
}

/* ══ 1. Top menu: white bar, sky pill on hover and on the current page ══ */
html body .fdw-nav{background:var(--nb-white)!important;border-top:1px solid var(--nb-line);border-bottom:1px solid var(--nb-line);
  box-shadow:0 2px 10px rgba(12,50,80,.05)}
html body .fdw-nav ul{justify-content:center;gap:4px;padding:8px 12px;scrollbar-width:none}
html body .fdw-nav ul::-webkit-scrollbar{display:none}
html body .fdw-nav li{flex:0 0 auto!important}
html body .fdw-nav a{aspect-ratio:auto!important;height:auto!important;background:none!important;overflow:visible;container-type:normal;
  display:flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;filter:none!important;
  transition:background-color .15s ease}
html body .fdw-nav a>span{position:static;height:auto;padding:0;white-space:nowrap;
  font-family:var(--nb-sans)!important;font-weight:500!important;font-size:17px!important;text-shadow:none!important;line-height:1;color:var(--nb-title)!important;text-decoration:none!important}
html body .fdw-nav a:hover,html body .fdw-nav a:focus-visible{background:var(--nb-50)!important}
html body .fdw-nav a:focus-visible{outline:3px solid var(--nb-focus);outline-offset:2px}
html body .fdw-nav li.active a,html body .fdw-nav a[aria-current=page]{background:var(--nb-200)!important;box-shadow:inset 0 0 0 1px var(--nb-300)}
html body .fdw-nav li.active a>span,html body .fdw-nav a[aria-current=page]>span{font-weight:700}
@media (max-width:1200px){html body .fdw-nav ul{justify-content:flex-start}}

/* ══ 2. Side panels: one shell for every column block ══ */
html body #sp-left .sm-menu,html body .fdw-side{background:var(--nb-white)!important;border:1px solid var(--nb-line)!important;
  border-radius:var(--nb-r-lg)!important;box-shadow:var(--nb-shadow)!important;padding:12px 10px 10px!important;box-sizing:border-box}
html body .fdw-side ul{display:grid;gap:2px;margin:0;padding:0;list-style:none}

/* Panel headings: «Οι εκδόσεις μας» (.sm-logo), «Τα περιοδικά μας» / «Οι σελίδες μας» (.fdw-head) */
html body #sp-left .sm-logo,html body .fdw-side p.fdw-head{
  background:none!important;aspect-ratio:auto!important;height:auto!important;min-height:0!important;
  margin:0 0 6px!important;padding:4px 8px 10px!important;border:0!important;border-bottom:1px solid var(--nb-line)!important;border-radius:0!important;
  box-shadow:none!important;display:flex!important;align-items:center;gap:8px;justify-content:flex-start!important;text-align:left!important;
  font:700 19px/1.2 var(--nb-serif)!important;letter-spacing:0!important;text-transform:none!important;color:var(--nb-title)!important;text-shadow:none!important}
html body #sp-left .sm-logo img{display:none!important}
html body #sp-left .sm-logo::after{content:"Οι εκδόσεις μας"!important;position:static!important;inset:auto!important;transform:none!important;
  background:none!important;font:inherit!important;color:inherit!important;letter-spacing:0!important;text-transform:none!important;
  width:auto!important;height:auto!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important}
html body #sp-left .sm-logo::before,html body .fdw-side p.fdw-head::before{content:"";flex:none;width:20px;height:20px;background:var(--nb-i-book) center/contain no-repeat}
html body .fdw-side p.fdw-head::after{display:none!important}
html body .fdw-side.fdw-mainnav p.fdw-head::before{background-image:var(--nb-i-page)}

/* ══ 3. List items (left categories, «Οι σελίδες μας», right tiles) ══ */
html body #sp-left .sm-menu dt{margin:0 0 2px!important}
html body #sp-left .sm-menu .link a,html body .fdw-side .fdw-wave,html body .fdw-side .fdw-tile,html body .fdw-side a.fdw-head{
  aspect-ratio:auto!important;background:none!important;border:0!important;border-radius:var(--nb-r-md)!important;box-shadow:none!important;
  display:flex!important;align-items:center;justify-content:flex-start!important;gap:12px;text-align:left!important;
  min-height:44px;height:auto!important;padding:6px 8px!important;container-type:normal;filter:none!important;
  font:500 17px/1.25 var(--nb-sans)!important;font-style:normal!important;text-shadow:none!important;letter-spacing:0!important;color:var(--nb-title)!important;text-decoration:none!important;
  transition:background-color .15s ease}
/* the sky «well» with an icon: the motif that ties all items together */
html body #sp-left .sm-menu .link a::before,html body .fdw-side .fdw-wave::before,html body .fdw-side .fdw-tile:not(:has(svg))::before,html body .fdw-side a.fdw-head::before{
  content:"";flex:none;width:32px;height:32px;border-radius:var(--nb-r-sm);
  background:var(--nb-i-book) center/18px 18px no-repeat,var(--nb-50);position:static;transition:background-color .15s ease}
html body #sp-left .sm-menu .link a:hover::before,html body .fdw-side .fdw-wave:hover::before,html body .fdw-side .fdw-tile:hover::before,html body .fdw-side a.fdw-head:hover::before{background-color:var(--nb-200)}
html body #sp-left .sm-menu .link a::after,html body .fdw-side .fdw-wave::after,html body .fdw-side .fdw-tile::after,html body .fdw-side a.fdw-head::after,html body .fdw-side .fdw-wave-mag::after{
  content:""!important;flex:none;width:16px;height:16px;margin-left:auto;background:var(--nb-i-chev) center/contain no-repeat!important;
  position:static!important;inset:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;opacity:1!important}
html body #sp-left .sm-menu .link a:hover,html body #sp-left .sm-menu .link a:focus-visible,html body .fdw-side .fdw-wave:hover,html body .fdw-side .fdw-wave:focus-visible,html body .fdw-side .fdw-tile:hover,html body .fdw-side .fdw-tile:focus-visible,html body .fdw-side a.fdw-head:hover,html body .fdw-side a.fdw-head:focus-visible{background:var(--nb-50)!important}
html body #sp-left .sm-menu .link a:focus-visible,html body .fdw-side a:focus-visible{outline:3px solid var(--nb-focus)!important;outline-offset:1px!important}
html body .fdw-side [aria-current=page]{background:var(--nb-100)!important;font-weight:700!important;filter:none!important}
/* existing inline icons in the right tiles (Viber, Facebook, Instagram) sit in the same well */
html body .fdw-side .fdw-tile svg{flex:none;width:32px!important;height:32px!important;padding:7px;box-sizing:border-box;
  border-radius:var(--nb-r-sm);background:var(--nb-50);color:var(--nb-link)!important;fill:currentColor;position:static!important;margin:0!important}
/* per-item icons in the right column */
html body .fdw-side .fdw-tile[href*="neeskyklofories"]::before{background-image:var(--nb-i-star)}
html body .fdw-side .fdw-tile[href*="epanekdoseis"]::before{background-image:var(--nb-i-redo)}
html body .fdw-side .fdw-tile[href*="prosfores"]::before{background-image:var(--nb-i-tag)}
html body .fdw-side .fdw-tile[href*="sychnes"]::before{background-image:var(--nb-i-help)}
html body .fdw-side .fdw-tile[href*="periodika"]::before,html body .fdw-side .fdw-tile[href*="ta-krina"]::before,html body .fdw-side a.fdw-head[href*="ta-krina"]::before{background-image:var(--nb-i-mag)}

/* ══ 4. The two magazines: two soft cards, each with its own light tint ══ */
html body .fdw-side .fdw-wave-mag{aspect-ratio:auto!important;background:#f1edfb!important;border:1px solid #cdbff0!important;border-radius:var(--nb-r-md)!important;
  display:flex!important;align-items:center;justify-content:flex-start!important;gap:12px;min-height:64px;padding:8px 12px!important;margin:0 0 8px;
  text-align:left!important;font:700 19px/1.2 var(--nb-serif)!important;font-style:normal!important;color:var(--nb-title)!important;text-decoration:none!important;
  transition:box-shadow .15s ease,transform .15s ease}
html body .fdw-side .fdw-wave-mag[href*="fterougismata"]{background:#fdf1e6!important;border-color:#f2cfab!important}
html body .fdw-side .fdw-wave-mag::before{content:"";flex:none;width:34px;height:44px;border-radius:3px 6px 6px 3px;background:var(--nb-i-mag) center 60%/18px 18px no-repeat,var(--nb-white);box-shadow:inset 3px 0 0 rgba(12,50,80,.08),0 1px 3px rgba(12,50,80,.14);border-top:4px solid #cdbff0}
html body .fdw-side .fdw-wave-mag[href*="fterougismata"]::before{border-top-color:#f2cfab}
html body .fdw-side .fdw-wave-mag:hover{box-shadow:var(--nb-shadow);transform:translateY(-1px)}

/* ══ 5. Narrow desktops / tablets (992–1199px): the side columns are ~165px wide ══ */
@media (max-width:1199.98px){
  html body .fdw-nav ul{gap:2px;padding:8px 8px}
  html body .fdw-nav a{padding:0 9px}
  html body .fdw-nav a>span{font-size:15px!important}
  html body #sp-left .sm-menu .link a,html body .fdw-side .fdw-wave,html body .fdw-side .fdw-tile,html body .fdw-side a.fdw-head{gap:8px;padding:6px 4px!important;font-size:15px!important}
  html body #sp-left .sm-menu .link a::before,html body .fdw-side .fdw-wave::before,html body .fdw-side .fdw-tile:not(:has(svg))::before,html body .fdw-side a.fdw-head::before{width:26px;height:26px;background-size:15px 15px}
  html body .fdw-side .fdw-tile svg{width:26px!important;height:26px!important;padding:5px}
  html body #sp-left .sm-logo,html body .fdw-side p.fdw-head{font-size:17px!important}
  html body .fdw-side .fdw-wave-mag{font-size:16px!important;padding:8px!important;gap:8px}
  html body .fdw-side .fdw-wave-mag::before{display:none}
  html body #sp-left .sm-menu .link a::after,html body .fdw-side .fdw-wave::after,html body .fdw-side .fdw-tile::after,html body .fdw-side a.fdw-head::after,html body .fdw-side .fdw-wave-mag::after{display:none!important}
}
html body .fdw-side .fdw-wave-mag,html body .fdw-side .fdw-tile,html body #sp-left .sm-menu .link a{min-width:0;overflow-wrap:break-word;hyphens:manual;box-sizing:border-box;max-width:100%}

@media (prefers-reduced-motion:reduce){html body .fdw-nav a,html body .fdw-side a,html body #sp-left .sm-menu .link a{transition:none!important}html body .fdw-side .fdw-wave-mag:hover{transform:none}}
