/* Cikkek (a tulajdonos mockupja, 2026-11-23): a kezdőlap sávja, a /cikkek
   lista és a cikkoldal. Csak a style.css változói: világos és sötét témában
   is működik. */

/* Borítókép, vagy ha nincs, a logó a helyén. */
.art-cover-empty { display: flex; align-items: center; justify-content: center; background: var(--panel); color: var(--muted); font-family: var(--display); font-weight: 900; font-size: clamp(24px, 3vw, 40px); }

/* Kezdőlap: a legutóbbi három. */
.art-band { padding-top: var(--space-block); }
.art-band-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.art-band-lede { margin: 10px 0 0; color: var(--muted); font-size: 17px; max-width: 34em; }
.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.art-card { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 0; border-left: 1px solid var(--line); color: var(--text); text-decoration: none; min-width: 0; }
.art-card:first-child { padding-left: 0; border-left: 0; }
.art-card:last-child { padding-right: 0; }
.art-card:hover .art-card-title { text-decoration: underline; text-underline-offset: 4px; }
.art-card-cover { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.art-card-title { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.3; }
.art-when, .art-by { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .art-grid { grid-template-columns: minmax(0, 1fr); }
  .art-card, .art-card:first-child, .art-card:last-child { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .art-card:first-child { border-top: 0; }
}

/* /cikkek: keresés és lista. */
.art-search { display: flex; flex-direction: column; gap: 10px; padding-bottom: 28px; }
.art-search label { font-size: 14px; font-weight: 600; color: var(--muted); }
.art-search-row { display: flex; gap: 10px; max-width: 640px; }
.art-search input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--outline); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
.art-search input:focus { outline: 2px solid var(--dot); outline-offset: 1px; }
.art-count { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.rows > .art-row { display: flex; gap: 32px; padding: 28px 0; color: var(--text); }
.rows > .art-row:first-child { padding-top: 28px; border-top: 1px solid var(--line); }
.art-rows { border-bottom: 1px solid var(--line); }
.art-row-cover { width: 300px; flex-shrink: 0; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.art-row-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.art-excerpt { font-size: 16px; line-height: 1.55; color: var(--muted); }
.art-more { font-size: 15px; font-weight: 600; color: var(--link); }
.art-pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; }
.art-pager .pager-links { display: flex; gap: 20px; }
@media (max-width: 680px) {
  .rows > .art-row { flex-direction: column; gap: 16px; }
  .art-row-cover { width: 100%; }
}

/* Egy cikk. */
.art-page { max-width: 760px; padding-top: clamp(24px, 4vw, 48px); padding-bottom: var(--space-block); display: flex; flex-direction: column; gap: 22px; }
.art-title { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.art-lede { margin: 0; color: var(--text); }
.art-byline { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.art-byline > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.art-monogram { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--panel); font-weight: 700; font-size: 15px; }
.art-author-name { font-weight: 700; color: var(--text); }
a.art-author-name:hover { text-decoration: underline; }
.art-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* A cikk szövege: csak az engedett formázás (backend utils/articleHtml.ts). */
.article-body { font-size: 18px; line-height: 1.7; overflow-wrap: anywhere; }
.article-body > :first-child { margin-top: 0; }
.article-body h2 { margin: 36px 0 12px; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; }
.article-body h3 { margin: 28px 0 10px; font-weight: 800; font-size: 21px; line-height: 1.3; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 24px; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote { margin: 8px 0 22px; padding: 4px 0 4px 20px; border-left: 3px solid var(--dot); font-size: 21px; line-height: 1.5; font-weight: 600; }
.article-body a { color: var(--link); }
.article-body img { display: block; max-width: 100%; height: auto; margin: 8px 0 18px; }
