:root {
  --kino-primary: #121316;
  --kino-secondary: #2a2d34;
  --kino-accent: #d4af37;
  --kino-surface: #faf9f5;
  --kino-ink: #101114;

  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--kino-surface);
  color: var(--kino-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.kino-banner {
  background-color: var(--kino-primary);
  color: var(--kino-surface);
  position: relative;
  width: 100%;
  padding: 4.5rem 2rem 3.5rem 2rem;
  box-sizing: border-box;
}

.kino-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.kino-brand-block {
  margin-bottom: 2.5rem;
}

.kino-title-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.kino-brand-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--kino-surface);
}

.kino-descriptor {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 249, 245, 0.7);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.kino-bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 2rem;
}

.kino-nav-container {
  max-width: 1200px;
  margin: 0 auto;
}

.kino-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.kino-nav-item {
  margin: 0;
}

.kino-nav-link {
  color: var(--kino-surface);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  border-bottom: 2px solid transparent;
  display: inline-block;
  opacity: 0.85;
}

.kino-nav-link:hover {
  opacity: 1;
  border-bottom-color: var(--kino-accent);
}

.tekercs-fejlec-megosztott {
  display: flex;
  width: 100%;
  min-height: 70vh;
  box-sizing: border-box;
}

.tekercs-fel-szines {
  flex: 1;
  width: 50%;
  background-color: var(--kino-primary);
  color: var(--kino-surface);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.tekercs-fel-bevezeto {
  flex: 1;
  width: 50%;
  background-color: var(--kino-surface);
  color: var(--kino-ink);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(18, 19, 22, 0.1);
}

/* A <pre> never wraps, so an over-wide diagram would set the width of the
   whole layout. Contain it here. */
.kino-cikk-test pre,
.tekercs-cikk-tartalom pre {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #f0efe9;
  background-color: color-mix(in srgb, var(--kino-primary) 5%, #ffffff);
  border-left: 3px dashed var(--kino-accent);
  padding: 0.95rem 1.2rem;
  margin: 1.65rem 0;
  color: var(--kino-ink);
  font-size: 0.95rem;
  line-height: 1.7;
}

.kino-cikk-test pre code,
.tekercs-cikk-tartalom pre code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

/* inline code stays inline, and never widens the column */
.kino-cikk-test :not(pre) > code,
.tekercs-cikk-tartalom :not(pre) > code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background-color: #f0efe9;
  border: 1px solid #cfd0d3;
  border-radius: 2px;
  padding: 0.1em 0.35em;
}

/* long unbroken strings (URLs, references) must not stretch the column */
.kino-cikk-test,
.tekercs-cikk-tartalom {
  overflow-wrap: break-word;
}

@media (max-width: 850px) {
  .tekercs-fejlec-megosztott {
    flex-direction: column;
    min-height: auto;
  }
  .tekercs-fel-szines,
  .tekercs-fel-bevezeto {
    width: 100%;
    padding: 3.5rem 1.5rem;
  }
}

.tekercs-focim {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--kino-surface);
  margin: 0;
}

.tekercs-kategoriapitch {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--kino-accent);
  margin-bottom: 1.5rem;
  display: block;
}

.tekercs-leiras-kiemelt {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--kino-secondary);
  margin: 0;
}

.tekercs-olvasosav {
  max-width: 820px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.tekercs-cikk-tartalom {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--kino-ink);
}

.tekercs-cikk-tartalom p {
  margin-bottom: 1.75rem;
}

.tekercs-cikk-tartalom h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.tekercs-cikk-tartalom h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.tekercs-cikk-tartalom blockquote {
  border-left: 3px solid var(--kino-accent);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--kino-secondary);
}

.tekercs-temak-szekcio {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(18, 19, 22, 0.15);
}

.tekercs-szekcio-alcim {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--kino-ink);
}

.tekercs-temak-lista {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.tekercs-tema-elem {
  border-left: 2px solid var(--kino-accent);
  padding-left: 1.25rem;
}

.tekercs-tema-nev {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.35rem 0;
  color: var(--kino-ink);
}

.tekercs-tema-leiras {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(16, 17, 20, 0.8);
  margin: 0;
}

.filmlista-szekcio {
  max-width: 1100px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.filmlista-fejlec {
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--kino-ink);
  padding-bottom: 0.75rem;
}

.filmlista-focim {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--kino-ink);
  letter-spacing: -0.01em;
}

.filmlista-sorok {
  display: flex;
  flex-direction: column;
}

.filmlista-sor {
  display: flex;
  padding: 2.25rem 0;
  border-bottom: 1px solid rgba(18, 19, 22, 0.15);
  align-items: baseline;
}

.filmlista-datum-oszlop {
  width: 150px;
  flex-shrink: 0;
  padding-right: 2rem;
}

.filmlista-datum {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--kino-secondary);
  opacity: 0.75;
}

.filmlista-tartalom-oszlop {
  flex-grow: 1;
}

.filmlista-cikk-cim {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  line-height: 1.25;
}

.filmlista-link {
  color: var(--kino-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.filmlista-link:hover {
  color: var(--kino-accent);
}

.filmlista-cikk-leiras {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(16, 17, 20, 0.8);
  margin: 0;
  max-width: 820px;
}

@media (max-width: 650px) {
  .filmlista-sor {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.75rem 0;
  }
  
  .filmlista-datum-oszlop {
    width: 100%;
    padding-right: 0;
  }

  /* diagrams: step down so a wide line needs little or no scrolling */
  .kino-cikk-test pre,
  .tekercs-cikk-tartalom pre {
    font-size: 0.8rem;
    padding: 0.8rem 0.85rem;
    line-height: 1.6;
  }

  /* the masthead wordmark: 2.75rem of black-weight caps is wider than a phone */
  .kino-brand-title {
    font-size: clamp(1.75rem, 8.5vw, 2.75rem);
  }

  /* comparison tables scroll sideways inside themselves, the page stays put */
  .kino-cikk-test table,
  .tekercs-cikk-tartalom table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    font-size: 0.9rem;
  }

  .kino-cikk-test th,
  .kino-cikk-test td,
  .tekercs-cikk-tartalom th,
  .tekercs-cikk-tartalom td {
    padding: 0.5rem 0.65rem;
    min-width: 7rem;
    vertical-align: top;
  }
}

.filmlista-oldal {
  max-width: 1100px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.filmlista-oldal-fejlec {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--kino-ink);
}

.filmlista-oldal-cim {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  margin: 0 0 1rem 0;
  color: var(--kino-ink);
  letter-spacing: -0.02em;
}

.filmlista-oldal-leiras {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--kino-secondary);
  margin: 0;
  max-width: 800px;
}

.kino-cikk-oldal {
  max-width: 820px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.kino-cikk-fejlec {
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(18, 19, 22, 0.15);
}

.kino-cikk-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.kino-cikk-datum {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--kino-secondary);
  text-transform: uppercase;
}

.kino-cikk-szekcio-jelzo {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background-color: var(--kino-primary);
  color: var(--kino-surface);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.kino-cikk-focim {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--kino-ink);
  margin: 0 0 1.25rem 0;
}

.kino-cikk-alcim {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--kino-secondary);
  margin: 0;
}

.kino-cikk-test {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--kino-ink);
}

.kino-cikk-test p {
  margin-bottom: 1.75rem;
}

.kino-cikk-test h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.kino-cikk-test h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.kino-cikk-test blockquote {
  border-left: 3px solid var(--kino-accent);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--kino-secondary);
}

.kino-cikk-test ul,
.kino-cikk-test ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.kino-cikk-test li {
  margin-bottom: 0.5rem;
}

.kino-footer {
  background-color: var(--kino-primary);
  color: var(--kino-surface);
  padding: 4rem 2rem;
  margin-top: 8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.kino-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.kino-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kino-footer-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--kino-surface);
}

.kino-footer-copy {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(250, 249, 245, 0.6);
  margin: 0;
}

.kino-footer-nav {
  display: flex;
  gap: 1.5rem;
}

.kino-footer-link {
  color: var(--kino-surface);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.kino-footer-link:hover {
  opacity: 1;
  color: var(--kino-accent);
}

.kino-cikk-borito {
  margin: 18px 0 28px;
  padding: 0;
}

.kino-cikk-borito img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 37/20;
  object-fit: cover;
  border-radius: 4px;
}

.lista_kep {
  flex: 0 0 152px;
  width: 152px;
  max-width: 40%;
  align-self: flex-start;
  margin: 0 16px 0 0;
}

.lista_kep img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  aspect-ratio: 3/2;
}
