/*
Theme Name: Solaro
Description: Solaro.gr: νέα για φωτοβολταϊκά, inverters, μπαταρίες και αντλίες θερμότητας. Ελαφρύ, χωρίς jQuery.
Version: 0.6.3
Text Domain: solaro
*/

/* ---------- fonts (self-hosted Manrope, Greek + Latin) ---------- */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(assets/fonts/manrope-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(assets/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- tokens ---------- */
:root {
  --ink: #0b1726; --ink-2: #13253a; --ink-3: #1d3550;
  --text: #16202c; --muted: #5b6676; --line: #e4e7ec; --line-2: #eef0f3;
  --bg: #f6f7f9; --card: #ffffff;
  --sun: #f59e0b; --sun-2: #fbbf24; --flame: #f97316; --amber-d: #b45309;
  --link: #0b5f86;
  --radius: 14px; --radius-s: 10px;
  --shadow: 0 1px 2px rgba(11,23,38,.05), 0 4px 14px -6px rgba(11,23,38,.10);
  --shadow-h: 0 2px 4px rgba(11,23,38,.06), 0 16px 34px -14px rgba(11,23,38,.22);
  --wrap: 1240px; --narrow: 740px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg); font-feature-settings: 'ss01'; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0; font-weight: 800; color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.ico { flex: none; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
::selection { background: #fde68a; }

/* ---------- header (white, editorial) ---------- */
.site-head { background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); color: var(--ink); position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 20px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 25px; letter-spacing: -.035em; color: var(--ink); }
.logo-tld { color: var(--flame); font-weight: 600; }
.head-tag { font-size: 13px; font-weight: 600; color: var(--muted); padding-left: 18px; border-left: 1px solid var(--line); white-space: nowrap; }
.head-search { flex: 1; max-width: 440px; margin-left: auto; display: flex; background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden; transition: border-color .2s, background .2s, box-shadow .2s; }
.head-search:focus-within { border-color: var(--sun); background: #fff; box-shadow: 0 0 0 4px rgba(245,158,11,.15); }
.head-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; font-size: 14.5px; padding: 9px 18px; outline: 0; }
.head-search input::placeholder { color: #8a94a3; }
.head-search button { background: transparent; border: 0; color: var(--muted); padding: 0 14px; cursor: pointer; }
.head-icon { display: none; }
.head-cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  color: #fff; background: var(--ink); white-space: nowrap; transition: background .15s, transform .15s; }
.head-cta .ico { color: var(--sun-2); }
.head-cta:hover { background: var(--ink-3); transform: translateY(-1px); }
.site-nav { border-top: 1px solid var(--line-2); }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a { display: block; padding: 11px 12px; font-size: 14.5px; font-weight: 650; color: #3a4554; white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s; }
.nav-list a:hover { color: var(--ink); }
.nav-list a[aria-current], .nav-list .current-menu-item a { color: var(--ink); border-bottom-color: var(--flame); }
.nav-page:first-of-type { margin-left: auto; }
.nav-page a { color: var(--ink); font-weight: 750; }
.nav-page:first-of-type { padding-left: 10px; border-left: 1px solid var(--line); }

/* ---------- front page: top ---------- */
.front-top { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 40px; }
.dateline { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.dateline h1 { font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.dateline time { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.dateline time::first-letter { text-transform: uppercase; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; color: var(--amber-d); margin: 0 0 10px; }
.top-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; }
.side-h { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); margin: 0 0 6px;
  display: flex; align-items: center; gap: 10px; }
.side-h::before { content: ''; width: 18px; height: 3px; border-radius: 2px; background: var(--flame); }
.side-list { display: flex; flex-direction: column; }

/* ---------- story cards ---------- */
.story { position: relative; color: var(--text); background: var(--card); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.story:hover { transform: translateY(-2px); box-shadow: var(--shadow-h); border-color: transparent; }
.thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e9edf2; position: relative; }
.thumb-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.story:hover .thumb-img, .story:hover .ph-mark { transform: scale(1.04); }
/* cover art: topic colour, solar-cell grid, warm light; no text (the title is right below) */
.thumb-ph { position: relative; width: 100%; height: 100%; overflow: hidden; color: #fff;
  background:
    radial-gradient(50% 70% at var(--gx, 80%) var(--gy, 15%), rgba(255,236,190,.30), rgba(255,236,190,0) 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 44px),
    linear-gradient(var(--a, 135deg), color-mix(in srgb, var(--c) 78%, #0b1726), color-mix(in srgb, var(--c) 28%, #0b1726)); }
.thumb-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,23,38,.35)); }
.ph-mark { position: absolute; right: -6%; bottom: -14%; width: 52%; aspect-ratio: 1; opacity: .16; transition: transform .5s; }
.ph-mark .ico { width: 100%; height: 100%; stroke-width: 1.3; }
.ph-chip { position: absolute; left: 16px; bottom: 16px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(4px); }
.story-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.story-title { font-size: 18.5px; font-weight: 780; line-height: 1.28; }
.story-title a::after { content: ''; position: absolute; inset: 0; }   /* whole card clickable */
.story-title a:hover { color: color-mix(in srgb, var(--c, #0b5f86) 85%, #000); }
.story-ex { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.story-meta { margin-top: auto; padding-top: 4px; font-size: 13px; color: #7a8494; }
/* category label: small caps text in the topic colour */
.badge { position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 88%, #000); }
.badge .ico { width: 14px; height: 14px; }
.badge:hover { text-decoration: underline; text-underline-offset: 3px; }

.story--hero { height: 100%; border: 0; border-radius: 0; background: transparent; }
.story--hero:hover { transform: none; box-shadow: none; }
.story--hero .thumb { border-radius: 16px; aspect-ratio: 16 / 9; }
.story--hero .ph-chip { width: 52px; height: 52px; left: 24px; bottom: 24px; border-radius: 15px; }
.story--hero .ph-chip .ico { width: 26px; height: 26px; }
.story--hero .story-body { padding: 20px 0 0; gap: 10px; }
.story--hero .story-meta { margin-top: 0; }
.story--hero .story-title { font-size: clamp(25px, 2.6vw, 36px); line-height: 1.16; letter-spacing: -.025em; }
.story--hero .story-ex { font-size: 17px; color: #4a5565; max-width: 60ch; }

.story--row { flex-direction: row-reverse; align-items: flex-start; gap: 16px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 16px 0; }
.story--row:last-child { border-bottom: 0; }
.story--row:hover { transform: none; box-shadow: none; border-color: var(--line); }
.story--row .thumb { flex: 0 0 104px; aspect-ratio: 1; border-radius: 12px; }
.story--row .ph-mark { width: 90%; right: -20%; bottom: -20%; opacity: .2; }
.story--row .ph-chip { width: 30px; height: 30px; left: 10px; bottom: 10px; border-radius: 9px; }
.story--row .ph-chip .ico { width: 16px; height: 16px; }
.story--row .story-body { padding: 0; gap: 5px; }
.story--row .story-title { font-size: 16px; font-weight: 750; line-height: 1.3; }
.story--row .story-meta { padding-top: 0; }

.story--mini { border: 0; border-radius: 0; background: transparent; border-bottom: 1px solid var(--line); }
.story--mini:last-child { border-bottom: 0; }
.story--mini:hover { transform: none; box-shadow: none; }
.story--mini .story-body { padding: 13px 0; gap: 4px 14px; flex-direction: row; flex-wrap: wrap; align-items: baseline; }
.story--mini .badge { display: none; }
.story--mini .story-title { font-size: 16px; font-weight: 720; flex: 1 1 70%; }
.story--mini .story-meta { margin: 0; padding: 0; }

/* ---------- tools band ---------- */
.tools { background: var(--ink); background-image: radial-gradient(900px 300px at 100% 0%, rgba(249,115,22,.22), transparent 70%),
  radial-gradient(700px 260px at 0% 100%, rgba(251,191,36,.10), transparent 70%); padding: 36px 0; }
.tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tool { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 4px; align-content: start; padding: 20px 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); color: #c9d4e2; transition: background .2s, border-color .2s, transform .2s; }
.tool:hover { background: rgba(255,255,255,.08); border-color: rgba(251,191,36,.45); transform: translateY(-2px); }
.tool-ico { grid-row: span 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink);
  background: linear-gradient(135deg, var(--sun-2), var(--flame)); }
.tool-t { font-weight: 800; font-size: 17.5px; color: #fff; letter-spacing: -.01em; }
.tool-x { font-size: 14.5px; line-height: 1.5; }
.tool-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 750; color: var(--sun-2); }

/* ---------- sections ---------- */
.topic-sec { margin-top: 52px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line); position: relative; }
.sec-head::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; border-radius: 2px; background: var(--c, var(--sun)); }
.sec-head h2 { display: flex; align-items: center; gap: 12px; font-size: 23px; }
.sec-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; color: var(--c); background: color-mix(in srgb, var(--c) 11%, #fff); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; }
.more:hover { color: var(--c, var(--text)); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 52px; }
.panel { background: #fff; border-radius: var(--radius); padding: 22px 26px 8px; border: 1px solid var(--line); }
.panel .sec-head { margin-bottom: 2px; }
.panel .sec-head h2 { font-size: 20px; }
.empty { color: var(--muted); }
.topics-all { margin-top: 52px; margin-bottom: 72px; }
.topics-all .side-h { margin-bottom: 16px; }
.topics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topic-tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.topic-tile:hover { border-color: color-mix(in srgb, var(--c) 45%, #fff); box-shadow: var(--shadow); }
.topic-tile b { display: block; font-size: 15.5px; color: var(--ink); }
.topic-tile small { font-size: 13px; color: var(--muted); }

/* ---------- archive ---------- */
.arch-head { background: #fff; border-bottom: 1px solid var(--line); padding: 40px 0 34px; position: relative; overflow: hidden; }
.arch-head::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.arch-head h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; }
.arch-head p { margin: 8px 0 0; max-width: 680px; color: var(--muted); font-size: 18px; }
.arch-head .arch-count { font-size: 14px; font-weight: 700; color: color-mix(in srgb, var(--c) 85%, #000); }
.arch-ico { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 11%, #fff); margin-bottom: 14px; }
.arch-body { padding-top: 36px; padding-bottom: 72px; }
.pager { margin-top: 40px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pager .page-numbers { padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.pager .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty-box { background: #fff; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); }

/* ---------- article ---------- */
.art { background: #fff; }
.art-head { padding-top: 34px; padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.art-head .badge { font-size: 12.5px; }
.art-head h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; letter-spacing: -.03em; margin: 12px 0 16px; }
.art-lede { font-size: 20.5px; line-height: 1.5; color: #3d4858; margin: 0 0 18px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--muted); font-size: 14px; }
.art-fig { margin: 0 auto 36px; max-width: 1040px; }
.art-fig .thumb-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.art-body { padding-bottom: 56px; }
.entry { font-size: 18.5px; line-height: 1.75; color: #1c2633; }
.entry > * { margin: 0 0 1.15em; }
.entry h2 { font-size: 27px; margin-top: 1.7em; letter-spacing: -.02em; }
.entry h3 { font-size: 21px; margin-top: 1.4em; }
.entry a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--link) 40%, transparent); }
.entry a:hover { text-decoration-color: currentColor; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin-bottom: .4em; }
.entry li::marker { color: var(--c, var(--sun)); }
.entry strong { color: var(--ink); }
.entry blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--c, var(--sun)); color: #3b4859; font-style: italic; }
.entry table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; line-height: 1.5; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.entry th, .entry td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.entry th { background: var(--bg); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #4a5565; }
.entry tr:last-child td { border-bottom: 0; }
.entry tbody tr:hover td { background: #fafbfc; }
.entry .keybox, .entry .wp-block-group.is-style-keybox { background: color-mix(in srgb, var(--c, var(--sun)) 6%, #fff); border: 1px solid color-mix(in srgb, var(--c, var(--sun)) 22%, #fff);
  border-radius: 14px; padding: 18px 22px; }
.entry .factcheck { font-size: 14px; color: var(--muted); padding-top: 12px; border-top: 1px dashed var(--line); }
.source { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--bg); border-radius: 12px; border: 1px solid var(--line); font-size: 15px; }
.source-k { font-weight: 800; text-transform: uppercase; font-size: 11.5px; letter-spacing: .12em; color: var(--muted); }
.entry .source a { font-weight: 700; color: var(--link); text-decoration: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.entry .tags a { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: #3b4859; }
.entry .tags a:hover { border-color: var(--c, var(--sun)); }
.related { background: var(--bg); padding: 44px 0 72px; border-top: 1px solid var(--line); }
.related .side-h { margin-bottom: 18px; }
.single .related { margin: 0; max-width: none; }
.notfound { padding: 80px 24px; text-align: center; }
.notfound h1 { font-size: 40px; margin-bottom: 12px; }
.search-box { display: flex; gap: 8px; max-width: 520px; margin: 20px auto 0; }
.search-box input { flex: 1; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); font: inherit; }
.search-box button { padding: 12px 18px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #9fb0c5; padding: 56px 0 26px; font-size: 15px; }
.site-foot .logo { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 48px; }
.foot-about p { max-width: 420px; margin: 14px 0 0; line-height: 1.65; }
.foot-h { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.foot-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.foot-list li { margin-bottom: 9px; break-inside: avoid; }
.foot-list a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--ink-3); font-size: 13px; color: #7f91a8; }
.foot-bottom a { color: #c9d4e2; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .head-tag { display: none; }
  .nav-page:first-of-type { margin-left: 0; }
}
@media (max-width: 1024px) {
  .top-grid { grid-template-columns: 1fr; gap: 24px; }
  .side-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .side-list .side-h { grid-column: 1 / -1; }
  .story--row:nth-last-child(2) { border-bottom: 0; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow { padding: 0 16px; }
  .head-row { height: 58px; gap: 10px; }
  .head-search { display: none; }
  .head-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; border-radius: 50%; color: var(--ink); background: var(--bg); }
  .head-cta { padding: 8px 13px; font-size: 13.5px; }
  .logo { font-size: 22px; }
  .logo-mark { width: 28px; height: 28px; }
  .nav-list a { padding: 10px 10px; font-size: 14px; }
  .front-top { padding: 18px 0 28px; }
  .dateline { flex-direction: column; gap: 2px; padding-bottom: 14px; margin-bottom: 18px; }
  .dateline h1 { font-size: 14px; }
  .dateline time { font-size: 13px; }
  .story--hero .thumb { border-radius: 12px; }
  .story--hero .story-title { font-size: 25px; }
  .story--hero .story-ex { font-size: 16px; }
  .side-list, .grid3, .duo, .foot-grid { grid-template-columns: 1fr; }
  .story--row:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .story--row .thumb { flex-basis: 88px; }
  .tools { padding: 24px 0; }
  .tool { padding: 16px; }
  .topics-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .topic-tile { padding: 12px; gap: 10px; }
  .panel { padding: 18px 18px 6px; }
  .art-head { padding-top: 22px; margin-bottom: 26px; }
  .art-lede { font-size: 18px; }
  .entry { font-size: 17.5px; }
  .entry h2 { font-size: 23px; }
  .entry table { font-size: 14px; }
  .entry th, .entry td { padding: 8px 9px; overflow-wrap: anywhere; hyphens: auto; }
  .entry th { font-size: 11.5px; letter-spacing: .02em; }
  .foot-grid { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- v0.2: disclaimers, guide, calculator, guide figures ---------- */
.disclaimer { margin: 2em 0 1em; padding: 16px 20px; border-radius: 14px; background: #eef2f7; border: 1px solid #dde4ee; font-size: 14.5px; line-height: 1.6; color: #3b4859; }
.disclaimer p { margin: .4em 0 0; }
.disclaimer a { color: #0e6a8a; }
.disclaimer--strong { background: #fff7ed; border-color: #fed7aa; }
.disclaimer--strong > strong { color: #c2410c; font-size: 15.5px; }
.guide-list { list-style: none; counter-reset: g; padding: 0; display: grid; gap: 12px; }
.guide-list li { counter-increment: g; }
.guide-list a { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start; padding: 16px 20px; background: #fff; border-radius: 14px;
  border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.guide-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-h); }
.guide-list a::before { content: counter(g); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-weight: 800;
  color: #fff; background: linear-gradient(135deg, var(--sun-2), var(--flame)); }
.guide-list strong { font-size: 18px; }
.guide-list span { color: var(--muted); font-size: 15px; }
.entry figure { margin: 1.6em 0; background: #fff; border-radius: 14px; padding: 12px; border: 1px solid var(--line); }
.entry figure img { width: 100%; height: auto; }
.entry figure.wide { margin-left: calc(50% - min(48vw, 620px)); margin-right: calc(50% - min(48vw, 620px)); overflow-x: auto; }
.entry figure.wide img { min-width: 860px; }
.entry figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry .tw { overflow-x: auto; margin: 0 0 1.15em; }
.entry .tw table { min-width: 560px; }
.entry nav.toc { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; font-size: 16px; }
.entry nav.toc b { display: block; margin-bottom: 6px; }
.entry nav.toc ol { margin: 0; columns: 2; column-gap: 28px; }
.entry code { font-size: .88em; background: #eef2f7; padding: .1em .35em; border-radius: 5px; }
@media (max-width: 760px) { .entry nav.toc ol { columns: 1; } }

/* ---------- live price tables ([solaro_prices]) ---------- */
.prices-wrap { overflow-x: auto; margin: 0 0 1em; }
.entry table.prices { font-size: 15px; min-width: 640px; }
.entry .prices td.num { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
.entry .prices td.shops { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.entry .prices td.shops a { color: #0e6a8a; }
.entry .prices tr.prices-tier th { background: color-mix(in srgb, var(--sun) 12%, #fff); color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 14px; }
.prices-note { font-size: 14px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
@media (max-width: 640px) {
  .entry table.prices { min-width: 0; }
  .entry .prices thead { display: none; }
  .entry .prices tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .entry .prices td { display: flex; gap: 10px; justify-content: space-between; border: 0; padding: 4px 12px; }
  .entry .prices td::before { content: attr(data-l); font-weight: 700; color: var(--muted); font-size: 13px; }
  .entry .prices tr.prices-tier th { display: block; }
}

/* ---------- calculator (/ypologistis/) ---------- */
.calc-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 40px 0 34px; position: relative; }
.calc-hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--sun-2), var(--flame)); }
.calc-hero h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; margin: 0 0 12px; }
.calc-lede { max-width: 820px; color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0; }
.calc-lede a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.calc-lede strong { color: var(--ink); }
.calc-body { padding-top: 24px; padding-bottom: 56px; }
.calc-loading { color: var(--muted); }
.calc-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.calc .btn, .cat-more .btn { font: inherit; font-size: 15px; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.calc .btn:hover { border-color: var(--sun); }
.calc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 24px; align-items: start; }
.calc-fs { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 18px 20px 20px; margin: 0 0 18px; min-width: 0; }
.calc-fs legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; margin: 0 0 14px; padding: 0; }
.calc-fs legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #fff; font-size: 15px; background: linear-gradient(135deg, var(--sun-2), var(--flame)); }
.calc-fs legend + * { clear: both; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 16px; }
.calc label { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.calc label.wide { grid-column: span 2; }
.calc label.calc-pre { margin: 0 0 14px; color: var(--text); font-size: 14.5px; }
.calc .in { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg); overflow: hidden; transition: border-color .15s; }
.calc .in:focus-within, .calc select:focus { border-color: var(--sun); outline: none; }
.calc input, .calc select { font: inherit; font-size: 16px; font-weight: 600; color: var(--text); background: transparent; border: 0; padding: 8px 10px; min-width: 0; width: 100%; }
.calc select { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg); }
.calc .in i { font-style: normal; font-size: 13px; color: var(--muted); padding: 0 10px; white-space: nowrap; }
.calc small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.calc-live a { color: #0e6a8a; font-weight: 700; }
.calc-res { position: sticky; top: 16px; transition: opacity .2s; }
.calc-res.busy { opacity: .55; }
.calc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 18px; }
.calc-card h2 { font-size: 19px; margin: 0 0 12px; }
.calc-card h2 small { font-size: 13px; color: var(--muted); font-weight: 600; }
.calc .kpi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.calc .k { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.calc .k span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.calc .k b { display: block; font-size: 24px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.calc .k b small { font-size: 12.5px; }
.calc .k em { display: block; font-style: normal; font-size: 12px; font-weight: 700; }
.calc .k em.up { color: #15803d; }
.calc .k em.down { color: #b91c1c; }
.calc .k.big { grid-column: span 2; background: linear-gradient(135deg, rgba(251,191,36,.18), rgba(249,115,22,.14)); }
.calc .k.big b { font-size: 30px; }
.calc ul.chk { list-style: none; padding: 0; margin: 0; }
.calc ul.chk li { position: relative; padding: 7px 0 7px 30px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.calc ul.chk li:last-child { border: 0; }
.calc ul.chk li::before { position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.calc li.ok::before { content: "\2713"; background: #16a34a; }
.calc li.warn::before { content: "!"; background: #d97706; }
.calc li.bad::before { content: "\2717"; background: #dc2626; }
.calc li.bad { color: #b91c1c; font-weight: 700; }
.calc svg text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.calc svg .gl { stroke: var(--line); }
.calc svg .own { fill: #16a34a; }
.calc svg .grd { fill: #dc2626; }
.calc svg .pvl { fill: none; stroke: var(--flame); stroke-width: 2.5; }
.calc-legend { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin: 4px 0 10px; }
.calc-legend .lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.calc-legend .lg.own { background: #16a34a; }
.calc-legend .lg.grd { background: #dc2626; }
.calc-legend .lg.pvl { height: 3px; background: var(--flame); }
.calc-tw { overflow-x: auto; }
.calc-card table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.calc-card th, .calc-card td { padding: 5px 6px; text-align: right; border-bottom: 1px solid var(--line); }
.calc-card th:first-child, .calc-card td:first-child { text-align: left; }
.calc-card th { font-size: 12px; color: var(--muted); }
.calc-card tr.tot td { font-weight: 800; border-bottom: 0; }
.calc-small { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.calc-notes { padding-top: 24px; }
@media (max-width: 980px) { .calc-cols { grid-template-columns: 1fr; } .calc-res { position: static; } }
@media (max-width: 520px) { .calc label.wide { grid-column: auto; } .calc-grid { grid-template-columns: 1fr 1fr; } .calc-fs { padding: 16px 14px; } }

/* ---------- automatic catalog ([solaro_catalog]) ---------- */
.cat-bar { position: sticky; top: 108px; z-index: 5; background: color-mix(in srgb, #f4f6f9 92%, transparent); backdrop-filter: blur(6px); padding: 10px 0; margin-bottom: 6px; }
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.cat-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 700; cursor: pointer; color: var(--text); }
.cat-tabs button span { color: var(--muted); font-weight: 600; font-size: .85em; }
.cat-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-tabs button[aria-selected="true"] span { color: var(--sun-2); }
.cat-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cat-filters input[type=search], .cat-filters select { font: inherit; font-size: 15px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; }
.cat-filters input[type=search] { flex: 1 1 260px; }
.cat-multi { font-size: 14px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.cat-count { color: var(--muted); font-size: 14px; margin: 4px 0 10px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.pc { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.pc:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }
.pc[hidden] { display: none; }
.pc-img { aspect-ratio: 4/3; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); padding: 10px; overflow: hidden; }
.pc-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pc-img span { font-size: 44px; opacity: .35; }
.pc-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc-brand { margin: 0; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--flame); }
.pc-brand span { color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.entry .pc h3, .pc h3 { margin: 0; font-size: 16.5px; line-height: 1.3; word-break: break-word; }
.pc-sub { margin: 0; font-size: 13.5px; color: var(--muted); }
.pc-price { margin: 6px 0 0; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pc-price small { font-size: 13px; color: var(--muted); font-weight: 600; }
.entry .pc-price a, .pc-price a { color: var(--ink); text-decoration: none; }
.pc-price a:hover { color: var(--flame); }
.pc-per { font-size: 13px; font-weight: 700; color: #0e6a8a; background: #e7f4f9; border-radius: 6px; padding: 2px 6px; vertical-align: middle; white-space: nowrap; }
.pc-shop { margin: 0; font-size: 13px; color: var(--muted); }
.pc-offers { margin-top: auto; padding-top: 6px; font-size: 13.5px; }
.pc-offers summary { cursor: pointer; color: #0e6a8a; font-weight: 700; }
.entry .pc-offers ul, .pc-offers ul { list-style: none; margin: 6px 0 0; padding: 0; }
.entry .pc-offers li, .pc-offers li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.pc-offers li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cat-more { text-align: center; margin: 18px 0; }
.cat-more[hidden] { display: none; }
.prices-thumb { width: 44px; height: 44px; object-fit: contain; vertical-align: middle; margin-right: 8px; background: #fff; border-radius: 6px; float: left; }
@media (max-width: 600px) {
  .cat-bar { top: 98px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc-price { font-size: 18px; }
  .entry .pc h3, .pc h3 { font-size: 14.5px; }
  .pc-body { padding: 10px; }
  .pc-offers li { flex-direction: column; gap: 0; }
}

.times-body > :not(.cat) { max-width: 860px; }
.times-body .art-lede { font-size: 1.1em; }

/* click-to-load YouTube videos ([solaro_video]) */
.vid { margin: 24px 0; }
.vid-play, .vid iframe { display: flex; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 14px; }
.vid-play { flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; cursor: pointer; text-align: center;
  background: linear-gradient(135deg, #0f172a, #1e3a5f); color: #fff; font: inherit; }
.vid-play:hover .vid-ico, .vid-play:focus-visible .vid-ico { transform: scale(1.08); }
.vid-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #ef4444; font-size: 26px; padding-left: 4px; transition: transform .15s; }
.vid-t { font-weight: 700; font-size: 18px; max-width: 36em; }
.vid-n { font-size: 13px; opacity: .75; }
.vid-play { position: relative; overflow: hidden; isolation: isolate; }
.vid-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vid-play.has-thumb::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,23,42,.15) 0%, rgba(15,23,42,.35) 45%, rgba(15,23,42,.85) 100%); }
.vid-play.has-thumb { justify-content: flex-end; padding: 22px; }
.vid-play.has-thumb .vid-ico { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.vid-play.has-thumb:hover .vid-ico, .vid-play.has-thumb:focus-visible .vid-ico { transform: translate(-50%, -50%) scale(1.08); }
.vid-play.has-thumb .vid-t, .vid-play.has-thumb .vid-n { text-shadow: 0 1px 3px rgba(0,0,0,.6); }
@media (max-width: 600px) { .vid-play.has-thumb { padding: 12px; gap: 4px; } .vid-play.has-thumb .vid-t { font-size: 15px; } .vid-play.has-thumb .vid-n { display: none; } .vid-play.has-thumb .vid-ico { width: 52px; height: 52px; } }
.vid figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
