/* Live Healthy · blog (μόνο στις σελίδες /blog/). Πάνω στο site.css και στα tokens. */

.bar__nav a[aria-current="page"] { color: var(--lh-text-primary); }
.bar__nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 1179px) { .bar__nav a[aria-current="page"] { background: var(--lh-surface-sunken); } }

/* διαδρομή (breadcrumbs) */
.crumbs { margin-bottom: var(--lh-space-5); font-size: var(--lh-font-size-sm); color: var(--lh-text-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--lh-border-strong); }
.crumbs a { color: var(--lh-text-secondary); text-decoration: none; padding: 6px 0; }
.crumbs a:hover { color: var(--lh-text-link); text-decoration: underline; }
.crumbs [aria-current] { color: var(--lh-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }

/* σήμα «Προσχέδιο» όσο το άρθρο δεν έχει εγκριθεί */
.draft-flag { display: block; width: fit-content; margin-bottom: var(--lh-space-4); font-size: var(--lh-font-size-sm); font-weight: var(--lh-font-weight-semibold); color: var(--lh-status-warning-text); background: var(--lh-status-warning-bg); border: 1px dashed var(--lh-status-warning-border); border-radius: var(--lh-radius-sm); padding: 6px 12px; }

/* λίστα άρθρων */
.blog-hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(8px, 2vw, 16px); overflow: hidden; }
.blog-hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -380px; border-radius: 50%; background: radial-gradient(closest-side, var(--lh-color-sage-100), transparent); pointer-events: none; }
.blog-hero .wrap { position: relative; }
.blog-hero__title { font-size: clamp(36px, 5.6vw, 60px); line-height: 1.08; max-width: 16ch; text-wrap: balance; }
.blog-hero__lead { margin-top: var(--lh-space-4); max-width: 60ch; font-size: clamp(17px, 1.6vw, 19px); color: var(--lh-text-secondary); }
.blog-list { padding-top: clamp(32px, 5vw, 56px); }

.bgrid { display: grid; gap: var(--lh-space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .bgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bgrid { grid-template-columns: repeat(3, 1fr); } }
.bcard { display: flex; }
.bcard__link { display: flex; flex-direction: column; width: 100%; background: var(--lh-surface-card); border: 1px solid var(--lh-border-default); border-radius: var(--lh-radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow var(--lh-motion-base), border-color var(--lh-motion-base), transform var(--lh-motion-base); }
.bcard__link:hover { box-shadow: var(--lh-shadow-md); border-color: var(--lh-border-strong); }
@media (prefers-reduced-motion: no-preference) { .bcard__link:hover { transform: translateY(-3px); } }
.bcard__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--lh-surface-sunken); }
.bcard__body { display: flex; flex-direction: column; gap: var(--lh-space-2); padding: var(--lh-space-5); flex: 1; }
.bcard__cat { font-size: var(--lh-font-size-xs); font-weight: var(--lh-font-weight-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--lh-text-link); }
.lh-root .bcard__title { font-family: var(--lh-font-family-serif); font-size: var(--lh-font-size-xl); font-weight: 500; line-height: 1.2; color: var(--lh-text-primary); text-wrap: balance; }
.bcard__link:hover .bcard__title { color: var(--lh-text-link); }
.bcard__lead { color: var(--lh-text-secondary); font-size: var(--lh-font-size-sm); line-height: var(--lh-font-line-height-normal); }
.bcard__meta { margin-top: auto; padding-top: var(--lh-space-2); font-size: var(--lh-font-size-xs); color: var(--lh-text-muted); }
.bcard__meta b { color: var(--lh-status-warning-text); font-weight: var(--lh-font-weight-semibold); }

/* άρθρο */
.post__head { max-width: 820px; padding-top: clamp(28px, 5vw, 56px); padding-bottom: var(--lh-space-6); }
.post__title { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; text-wrap: balance; }
.post__lead { margin-top: var(--lh-space-4); font-size: clamp(18px, 1.8vw, 21px); line-height: var(--lh-font-line-height-snug); color: var(--lh-text-secondary); max-width: 60ch; }
.post__meta { margin-top: var(--lh-space-5); display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: var(--lh-font-size-sm); color: var(--lh-text-muted); }
.post__wrap { max-width: 1160px; }

.post__cover { margin: 0 0 clamp(32px, 5vw, 56px); }
.post__cover img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: calc(var(--lh-radius-lg) * 1.5); background: var(--lh-surface-sunken); }
@media (min-width: 900px) { .post__cover img { aspect-ratio: 2 / 1; } }
.post__cover figcaption, .post__fig figcaption { margin-top: var(--lh-space-2); font-size: var(--lh-font-size-xs); color: var(--lh-text-muted); }
.post__cover figcaption a, .post__fig figcaption a { color: inherit; }

.prose, .post__pro, .post__sources, .post__cta { max-width: 720px; margin-left: auto; margin-right: auto; }
.prose { font-size: 18px; line-height: 1.7; color: var(--lh-text-primary); }
.prose > * + * { margin-top: 1.1em; }
.lh-root .prose h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.2; margin-top: 1.9em; text-wrap: balance; }
.lh-root .prose h3 { font-size: var(--lh-font-size-lg); margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; }
.prose ul > li::before { content: ""; position: absolute; left: -1.05em; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--lh-color-sage-500); }
.prose ol { list-style: decimal; }
.prose ol > li::marker { color: var(--lh-text-link); font-weight: var(--lh-font-weight-bold); }
.prose li + li { margin-top: .45em; }
.prose a { color: var(--lh-text-link); text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: var(--lh-font-weight-bold); }
.prose .tip { padding: var(--lh-space-5); border-radius: var(--lh-radius-lg); background: var(--lh-surface-brand); border: 1px solid var(--lh-color-sage-200); }
.prose .tip > * + * { margin-top: .6em; }
.prose .tip__h { font-family: var(--lh-font-family-sans); font-size: var(--lh-font-size-sm); font-weight: var(--lh-font-weight-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--lh-text-link); }
.prose .note { font-size: var(--lh-font-size-md); color: var(--lh-text-secondary); border-left: 3px solid var(--lh-color-gold-300); padding-left: var(--lh-space-4); }
.post__fig { margin: 1.8em 0; }
.post__fig img { width: 100%; border-radius: var(--lh-radius-lg); background: var(--lh-surface-sunken); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--lh-font-size-md); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--lh-border-default); vertical-align: top; }
.prose th { font-weight: var(--lh-font-weight-semibold); background: var(--lh-surface-sunken); }
.prose .table-wrap { overflow-x: auto; }

.post__faq { max-width: 720px; margin: clamp(40px, 5vw, 56px) auto 0; }
.lh-root .post__faq h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: var(--lh-space-4); }
.post__faq .faq summary { font-size: var(--lh-font-size-md); }
.post__pro { margin-top: clamp(40px, 5vw, 56px); padding: var(--lh-space-5); border-radius: var(--lh-radius-lg); background: var(--lh-color-gold-50); border: 1px solid var(--lh-color-gold-200); font-size: var(--lh-font-size-md); line-height: var(--lh-font-line-height-normal); color: var(--lh-text-primary); }
.post__sources { margin-top: var(--lh-space-6); font-size: var(--lh-font-size-sm); color: var(--lh-text-secondary); }
.lh-root .post__sources h2 { font-family: var(--lh-font-family-sans); font-size: var(--lh-font-size-sm); font-weight: var(--lh-font-weight-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--lh-text-muted); margin-bottom: var(--lh-space-3); }
.post__sources ol { list-style: decimal; padding-left: 1.4em; display: grid; gap: 6px; }
.post__sources a { color: var(--lh-text-secondary); overflow-wrap: anywhere; }
.post__sources a:hover { color: var(--lh-text-link); }

.post__cta { position: relative; overflow: hidden; margin-top: clamp(40px, 6vw, 64px); margin-bottom: clamp(56px, 8vw, 96px); padding: clamp(24px, 4vw, 40px); border-radius: calc(var(--lh-radius-lg) * 1.5); background: var(--lh-color-sage-900); color: var(--lh-text-inverse); }
.post__cta::before { content: ""; position: absolute; width: 300px; height: 300px; right: -90px; bottom: -110px; background: var(--lh-color-sage-800); -webkit-mask: url(../img/livehealthy-symbol.svg) center / contain no-repeat; mask: url(../img/livehealthy-symbol.svg) center / contain no-repeat; opacity: .7; pointer-events: none; }
.post__cta > * { position: relative; }
.lh-root .post__cta h2 { color: var(--lh-text-inverse); font-size: clamp(24px, 3vw, 32px); line-height: 1.15; max-width: 20ch; }
.post__cta p { margin-top: var(--lh-space-3); color: var(--lh-color-sage-100); max-width: 52ch; }
.post__cta .lh-btn { margin-top: var(--lh-space-5); white-space: normal; text-align: center; max-width: 100%; }
.blog-list__cta { max-width: none; margin-bottom: 0; }

.related h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: var(--lh-space-6); }
.related__all { margin-top: var(--lh-space-5); }

@media (max-width: 419px) {
  .prose { font-size: 17px; }
  .crumbs [aria-current] { max-width: 20ch; }
}

/* Αρχική: ενότητα «Blog» με τα πιο πρόσφατα άρθρα (assets/js/blog-latest.js) */
.hblog__lead { margin-top: var(--lh-space-4); max-width: 60ch; font-size: clamp(17px, 1.6vw, 19px); color: var(--lh-text-secondary); }
.bcard__more { padding-top: var(--lh-space-1); font-size: var(--lh-font-size-sm); font-weight: var(--lh-font-weight-semibold); color: var(--lh-text-link); }
.bcard__more span { display: inline-block; transition: transform var(--lh-motion-base); }
.bcard__link:hover .bcard__more span { transform: translateX(3px); }
.hblog__all { margin-top: clamp(28px, 4vw, 44px); }

/* banners από το design system (site/blog-src/banners.json): μέσα στο άρθρο και δίπλα στο «Κλείστε ραντεβού» της λίστας */
.post__banner { margin: 2em 0; }
.post__banner img, .blog-list__banner img { display: block; width: 100%; height: auto; border-radius: var(--lh-radius-lg); box-shadow: 0 0 0 1px var(--lh-border-default); }
.blog-list__banner { margin: var(--lh-space-6) 0 0; }
.blog-list__banner img { box-shadow: none; }
@media (min-width: 900px) {
  .blog-list__cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(24px, 4vw, 48px); align-items: center; }
  .blog-list__banner { margin: 0; }
}
