/* The blog (blog.py): loaded on the blog pages only, so oldal.css (and its ?v= hash on every page) is untouched.
 * The site's look (blogterv 4., Andor 2026-11-19 13:55: "professzionális, kreatív, minőségi"): the dark contour-line
 * bands with an orange rule, Montserrat, cards with an orange top stripe, white and dark bands, the article on the light
 * paper with large type, generous leading and at most ~70 characters a line. */

/* ------------------------------------------------ the dark opening band (lists) */
.blog-fejsav { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.4rem, 5vw, 3.6rem); border-bottom: 4px solid var(--narancs); }
.blog-fejsav .blokkcimke a { color: inherit; text-decoration: none; }
.blog-fejsav .blokkcimke a:hover { text-decoration: underline; }
.blog-fejsav h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); margin: .5rem 0 1rem; }
.blog-fejsav .lead { color: var(--vilagosszurke); max-width: 52ch; margin: 0 0 2rem; }
.blog-katnav ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.blog-katnav a { display: block; padding: .55rem .95rem; border: 1px solid var(--hidegszurke); color: #fff; font-size: .74rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: border-color .15s, background-color .15s; }
.blog-katnav a:hover { border-color: var(--narancs); }
.blog-katnav a[aria-current] { background: var(--narancs); border-color: var(--narancs); }

/* ------------------------------------------------ the grid and the cards */
.blog-lista { padding-top: clamp(2.4rem, 5vw, 4rem); }
.blog-lista h2 { max-width: none; margin-top: 0; }
.blog-racs { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.blog-kartya { position: relative; display: flex; flex-direction: column; color: var(--fekete); background: #fff; border-top: 4px solid var(--narancs);
  box-shadow: 0 1px 2px rgba(10, 20, 24, .06), 0 6px 18px rgba(10, 20, 24, .06); transition: transform .2s, box-shadow .2s; }
.blog-kartya:hover, .blog-kartya:focus-within { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(10, 20, 24, .08), 0 14px 32px rgba(10, 20, 24, .13); }
.blog-kartya-kep { overflow: hidden; position: relative; }
.blog-nyito .mag { position: relative; }
.blog-mi { position: absolute; z-index: 2; top: .6rem; right: .6rem; padding: .15rem .5rem; font-size: .68rem; font-weight: 600; line-height: 1.3; color: #fff; background: rgba(10, 20, 24, .78); border-radius: 3px; }
.blog-nyito .blog-mi { right: calc(var(--keret, 1rem) + .6rem); }
.blog-kartya-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.blog-kartya:hover .blog-kartya-img { transform: scale(1.03); }
.blog-kartya-szoveg { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.35rem 1.4rem; }
.blog-kartya .blokkcimke { margin: 0 0 .5rem; }
.blog-kartya h2, .blog-kartya h3 { font-size: 1.16rem; line-height: 1.25; font-weight: 800; text-transform: none; letter-spacing: -.005em;
  margin: 0 0 .6rem; padding: 0; border: 0; max-width: none; }
.blog-kartya-link { text-decoration: none; }
.blog-kartya-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* the whole card is the link */
.blog-kartya-link:focus-visible { outline: none; }
.blog-kartya:has(.blog-kartya-link:focus-visible) { outline: 3px solid var(--narancs); outline-offset: 3px; }
.blog-kivonat { font-size: .94rem; line-height: 1.55; color: #2a3236; margin: 0 0 1rem; }
.blog-kartya .blog-meta { margin-top: auto; font-size: .76rem; }
.blog-tovabb { margin-top: 1.1rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--narancs); }
.blog-tovabb span { display: inline-block; transition: transform .2s; }
.blog-kartya:hover .blog-tovabb span { transform: translateX(4px); }
/* the featured (newest) article: across the grid, the image beside the text */
.blog-kiemelt { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .blog-kiemelt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .blog-kiemelt .blog-kartya-img { height: 100%; aspect-ratio: auto; min-height: 22rem; }
  .blog-kiemelt .blog-kartya-szoveg { padding: clamp(1.8rem, 3vw, 2.8rem); justify-content: center; }
  .blog-kiemelt .blog-kartya-szoveg .blog-meta { margin-top: 0; }
}
.blog-kiemelt h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; }
.blog-kiemelt .blog-kivonat { font-size: 1.02rem; }

/* ------------------------------------------------ the designed cover until the photo comes */
.blog-kep-helyorzo { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
  width: 100%; aspect-ratio: 16 / 9; color: #fff;
  background: linear-gradient(var(--hk-arnyalat, transparent), var(--hk-arnyalat, transparent)),
    radial-gradient(ellipse at 50% 45%, rgba(10, 20, 24, 0) 0%, rgba(10, 20, 24, .55) 70%, rgba(10, 20, 24, .85) 100%),
    url("../img/topo/topo_csempe_narancs_feketen_v1.svg") 0 0 / 520px repeat, var(--fekete); }
/* each category its own shade, the brand orange at different strengths (no new colour; Alfred/uzletifejleszto 19515) */
.hk-drive { --hk-arnyalat: rgba(10, 20, 24, .25); }
.hk-explore { --hk-arnyalat: rgba(245, 92, 10, .07); }
.hk-travel { --hk-arnyalat: rgba(245, 92, 10, .13); }
.hk-camp { --hk-arnyalat: rgba(92, 96, 99, .22); }
.hk-meet { --hk-arnyalat: rgba(245, 92, 10, .2); }
.blog-kep-helyorzo .hk-jel { width: 34%; max-width: 15rem; height: auto; opacity: .95; }
.blog-kep-helyorzo .hk-kat { position: absolute; left: 1rem; bottom: .85rem; display: flex; align-items: center; gap: .5rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.blog-kep-helyorzo .hk-kat img { width: 1.15rem; height: 1.15rem; filter: brightness(0) invert(1); }
.blog-nyitokep.blog-kep-helyorzo .hk-kat { left: 1.4rem; bottom: 1.2rem; font-size: .76rem; }
.blog-nyitokep.blog-kep-helyorzo, .blog-kartya-img.blog-kep-helyorzo { display: flex; }
.blog-nyitokep.blog-kep-helyorzo .hk-jel { width: 26%; }
.blog-meta .egyben { white-space: nowrap; }
.blog-kartya:not(.blog-kiemelt) .hk-nev { display: none; }   /* a small card names its category under the cover (Alfred 19535) */

/* ------------------------------------------------ the article */
.blog-keskeny { max-width: 42rem; }
.blog-szeles { max-width: 66rem; }
.blog-fej { padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(7rem, 14vw, 10rem); }
.blog-fej h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; text-transform: none; letter-spacing: -.015em; margin: 0 0 1.2rem; }
.blog-morzsa { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.4rem; }
.blog-morzsa a { color: var(--narancs); text-decoration: none; }
.blog-morzsa a:hover { text-decoration: underline; }
.blog-morzsa span { color: var(--hidegszurke); margin: 0 .4rem; }
.blog-meta { font-size: .86rem; color: var(--hidegszurke); margin: 0; }
.blog-fej .blog-meta { color: var(--vilagosszurke); }
.blog-meta a { color: inherit; font-weight: 700; text-decoration: none; }
.blog-fej .blog-meta a { color: #fff; }
.blog-meta a:hover { box-shadow: inset 0 -2px var(--narancs); }
.blog-nyito { margin-top: clamp(-8.5rem, -12vw, -5.5rem); position: relative; }
.blog-nyitokep { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: 0 18px 40px rgba(10, 20, 24, .22); }
.blog-torzs { padding-top: clamp(2.2rem, 5vw, 3.6rem); }
.blog-torzs p, .blog-torzs li { font-size: 1.125rem; line-height: 1.75; max-width: none; }
.blog-torzs p { margin: 0 0 1.25rem; }
.blog-torzs .blog-bevezeto { font-size: clamp(1.2rem, 1.9vw, 1.36rem); line-height: 1.6; font-weight: 500; margin-bottom: 2rem; }
.blog-torzs h2 { max-width: none; margin: 3rem 0 1.1rem; scroll-margin-top: 5.5rem; font-size: clamp(1.3rem, 2.3vw, 1.7rem); }
.blog-torzs h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.3; margin: 2.2rem 0 .7rem; }
.blog-torzs ul, .blog-torzs ol { padding-left: 1.4rem; margin: 0 0 1.5rem; }
.blog-torzs li { margin-bottom: .55rem; padding-left: .2rem; }
.blog-torzs li::marker { color: var(--narancs); font-weight: 800; }
.blog-torzs a { color: var(--fekete); font-weight: 600; text-decoration-color: var(--narancs); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.blog-torzs a:hover { color: var(--narancs); }
.blog-torzs blockquote { margin: 2.2rem 0; padding: 1.2rem 1.4rem 1.2rem 1.5rem; background: #fff; border-left: 5px solid var(--narancs); }
.blog-torzs blockquote p { margin: 0; font-size: 1.1rem; font-style: italic; }
/* contents (4 or more sections) */
.blog-tartalom { margin: 0 0 2.6rem; padding: 1.3rem 1.5rem 1.2rem; background: #fff; border-top: 4px solid var(--fekete); }
.blog-tartalom .blokkcimke { margin: 0 0 .6rem; }
.blog-tartalom ol { margin: 0; padding: 0; list-style: none; columns: 2 17rem; column-gap: 2rem; }
.blog-tartalom li { break-inside: avoid; margin: 0; padding: .3rem 0; font-size: .95rem; line-height: 1.4; }
.blog-tartalom a { display: grid; grid-template-columns: 2rem 1fr; font-weight: 600; text-decoration: none; }
.blog-tartalom .tt-szam { font-size: .75rem; font-weight: 800; color: var(--narancs); padding-top: .12rem; }
.blog-tartalom .tt-szam:empty::before { content: ""; display: inline-block; width: .45rem; height: .45rem; background: var(--narancs); vertical-align: .1rem; }
.blog-tartalom a:hover { color: var(--narancs); }
/* tables */
.blog-tabla { overflow-x: auto; margin: 1.8rem 0 2.2rem; background: #fff; box-shadow: 0 1px 2px rgba(10, 20, 24, .06); }
.blog-tabla table { border-collapse: collapse; width: 100%; font-size: .95rem; line-height: 1.45; }
.blog-tabla th { text-align: left; background: var(--fekete); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .75rem .9rem; border-bottom: 3px solid var(--narancs); white-space: nowrap; }
.blog-tabla td { padding: .7rem .9rem; border-bottom: 1px solid var(--vonal); vertical-align: top; }
.blog-tabla tbody tr:nth-child(even) td { background: #faf9f6; }
.blog-tabla td:first-child { font-weight: 700; }
/* the author box */
.blog-szerzo-doboz { display: grid; grid-template-columns: 5rem 1fr; gap: 1.3rem; align-items: start; margin: 3.4rem 0 0; padding: 1.6rem 1.6rem 1.4rem;
  background: #fff; border-top: 4px solid var(--narancs); }
.blog-szerzo-doboz img { width: 5rem; height: auto; margin-top: .4rem; }
.blog-szerzo-doboz .blokkcimke { margin: 0; }
.blog-szerzo-doboz .blog-szerzo-nev { font-size: 1.2rem; font-weight: 800; margin: .1rem 0 .4rem; }
.blog-szerzo-doboz .blog-szerzo-nev a { text-decoration: none; }
.blog-szerzo-doboz p { font-size: .98rem; line-height: 1.6; margin: 0; }
@media (max-width: 560px) { .blog-szerzo-doboz { grid-template-columns: 1fr; } .blog-szerzo-doboz img { width: 4rem; } }
/* related articles: a dark band, the white cards on it */
.blog-kapcsolodo h2 { color: #fff; margin-top: 0; max-width: none; }
@media (prefers-reduced-motion: reduce) {
  .blog-kartya, .blog-kartya-img, .blog-tovabb span, .blog-katnav a { transition: none; }
  .blog-kartya:hover, .blog-kartya:focus-within { transform: none; }
  .blog-kartya:hover .blog-kartya-img { transform: none; }
}
@media (max-width: 600px) {   /* the phone: the category row scrolls sideways instead of five stacked rows */
  .blog-katnav { margin: 0 calc(-1 * var(--keret)); }
  .blog-katnav ul { flex-wrap: nowrap; overflow-x: auto; padding: 0 var(--keret) .3rem; scrollbar-width: none; }
  .blog-katnav ul::-webkit-scrollbar { display: none; }
  .blog-katnav li { flex: 0 0 auto; }
}
@media (min-width: 1000px) {   /* a wide table (4+ columns) steps out of the text column to the image's width */
  .blog-tabla.szeles { width: min(66rem, calc(100vw - 2 * var(--keret))); position: relative; left: 50%; transform: translateX(-50%); }
}
/* titles: a hyphenated word stays on one line ("2027-ben", Andor 2026-11-19 18:31) */
.blog-fej h1 .egyben, .blog-kartya .egyben { white-space: nowrap; }
/* the phone (Andor 18:31 "not optimised for mobile"): the list's opening band no taller than needed, so the first card
   shows on the first screen; tap targets at least 44 px (breadcrumb, contents, category chips) */
@media (max-width: 600px) {
  .blog-fejsav { padding: 1.6rem 0 1.4rem; }
  .blog-fejsav h1 { font-size: 2.1rem; margin: .3rem 0 .6rem; }
  .blog-fejsav .lead { font-size: 1rem; line-height: 1.5; margin-bottom: 1.1rem; }
  .blog-fejsav .blokkcimke { margin: 0; }
  .blog-lista { padding-top: 1.6rem; }
  .blog-racs { gap: 1.4rem; }
  .blog-katnav a { padding: .75rem .9rem; min-height: 44px; display: flex; align-items: center; }
  .blog-fej { padding-top: 1.6rem; }
  .blog-fej h1 { font-size: 1.75rem; }
  .blog-morzsa a { display: inline-block; padding: .8rem 0; }
  .blog-morzsa { margin-bottom: .4rem; }
  .blog-tartalom li { padding: 0; }
  .blog-tartalom a { min-height: 44px; align-items: center; padding: .5rem 0; }
  .blog-tartalom .tt-szam { padding-top: 0; }
  .blog-szerzo-doboz .blog-szerzo-nev a, .blog-meta a { display: inline-block; padding: .55rem 0; }
}
