@charset "utf-8";

/* ==========================================================
   01. KÖZÖS VÁLTOZÓK
========================================================== */

:root {
  --bg: #f7f5f2;
  --surface: #ffffff;

  --text: #171717;
  --muted: #6d6870;

  --purple: #7551c9;
  --purple-dark: #5e3eae;
  --purple-light: #eee9f8;

  --green: #15251e;
  --green-dark: #101d17;
  --green-light: #20372c;

  --gold: #b89a55;
  --gold-light: #dcc889;

  --border: rgba(23, 23, 23, 0.10);

  --shadow:
    0 25px 70px rgba(25, 20, 31, 0.10);

  --radius: 26px;
  --radius-small: 20px;

  --max-width: 1240px;

  --header-height: 82px;
}


/* ==========================================================
   02. RESET / ALAP
========================================================== */

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


* {
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  color: var(--text);

  background:
    radial-gradient(
      circle at 8% 2%,
      rgba(117, 81, 201, 0.08),
      transparent 28%
    ),
    var(--bg);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  font-size: 1rem;
  line-height: 1.6;

  overflow-x: hidden;
}


body.menu-open,
body.global-menu-open {
  overflow: hidden;
}


img,
video,
iframe,
audio {
  max-width: 100%;
}


img,
video {
  display: block;
}


button,
input,
textarea,
select {
  font: inherit;
}


a {
  color: inherit;
  text-decoration: none;
}


button {
  border: 0;
}


/* ==========================================================
   0b. TANAKODÓ — MEZŐ-STÍLUS (közös, a teljes honlapot érinti)
   Az eredeti uj_alkotmany stílusban nem volt saját beviteli
   mező-stílus (mert nem volt űrlapos tartalma) — ez pótolja azt,
   a honlap többi eleméhez (gombok, kártyák) illő, márkázott
   megjelenéssel, mindenhol, ahol beviteli mező van.
========================================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="datetime-local"],
textarea,
select {
  width: 100%;
  max-width: 460px;

  padding: 11px 15px;

  background: var(--surface);
  color: var(--text);

  border: 1px solid var(--border);
  border-radius: 12px;

  font-size: 0.95rem;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


textarea {
  max-width: 100%;
}


input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
textarea:focus,
select:focus {
  outline: none;

  border-color: var(--purple);

  box-shadow:
    0 0 0 3px rgba(117, 81, 201, 0.15);
}


.container {
  width:
    min(
      calc(100% - 40px),
      var(--max-width)
    );

  margin-inline: auto;
}


section {
  scroll-margin-top: 100px;
}


/* ==========================================================
   03. KÖZÖS FEJLÉC
========================================================== */

.site-header {
  position: sticky;
  top: 0;

  z-index: 1000;

  border-bottom:
    1px solid rgba(23, 23, 23, 0.07);

  background:
    rgba(247, 245, 242, 0.92);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}


.header-inner {
  position: relative;

  min-height: var(--header-height);

  display: flex;
  align-items: center;

  gap: 20px;
}


.header-inner > :first-child {
  min-width: 0;
}


.brand-area {
  display: flex;
  align-items: center;

  gap: 14px;

  flex: 1 1 auto;
  min-width: 90px;
}


.brand-emblem {
  flex: 0 0 auto;
}


.brand-emblem img,
.header-inner > :first-child img {
  width: 50px;
  height: 50px;

  object-fit: contain;

  border-radius: 50%;
}


.brand,
.logo {
  color: var(--purple);

  font-size: 1rem;
  font-weight: 900;

  line-height: 1.15;

  letter-spacing: 0.10em;

  text-transform: uppercase;
}


.nav {
  grid-column: 3;

  justify-self: end;

  display: flex;
  align-items: center;

  gap: 26px;
}


.nav a {
  position: relative;

  color: #383438;

  font-size: 0.92rem;
  font-weight: 650;

  white-space: nowrap;

  transition:
    color 0.2s ease;
}


.nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;
  height: 2px;

  border-radius: 999px;

  background: var(--purple);

  transition:
    width 0.22s ease;
}


.nav a:hover {
  color: var(--purple);
}


.nav a:hover::after {
  width: 100%;
}


.nav-support {
  padding: 10px 17px;

  color: #ffffff !important;

  border-radius: 999px;

  background: var(--purple);
}


.nav-support::after {
  display: none;
}


/* ==========================================================
   04. HELYI HAMBURGER
========================================================== */

.menu-button {
  grid-column: 3;

  justify-self: end;

  position: relative;

  z-index: 1100;

  width: 48px;
  height: 48px;

  display: none;
  align-items: center;
  justify-content: center;

  border:
    1px solid var(--border);

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.80);

  box-shadow:
    0 8px 24px rgba(23, 23, 23, 0.05);

  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  width: 22px;
  height: 2px;

  display: block;

  border-radius: 999px;

  background: var(--text);

  transition:
    transform 0.25s ease,
    opacity 0.2s ease,
    top 0.25s ease;
}


.menu-lines {
  position: relative;
}


.menu-lines::before,
.menu-lines::after {
  content: "";

  position: absolute;

  left: 0;
}


.menu-lines::before {
  top: -7px;
}


.menu-lines::after {
  top: 7px;
}


.menu-button.active .menu-lines {
  background: transparent;
}


.menu-button.active .menu-lines::before {
  top: 0;

  transform: rotate(45deg);
}


.menu-button.active .menu-lines::after {
  top: 0;

  transform: rotate(-45deg);
}


/* ==========================================================
   05. KÖZÖS GLOBÁLIS FŐMENÜ
========================================================== */

.global-menu-shell {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 10000;

  pointer-events: none;
}


.global-menu-button {
  position: relative;

  flex: 0 0 auto;

  z-index: 10002;

  min-width: 142px;
  height: 62px;

  margin: 0;

  padding:
    0 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 13px;

  color: #ffffff;

  border:
    1px solid
    rgba(117, 81, 201, 0.30);

  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      var(--purple),
      var(--purple-dark)
    );

  box-shadow:
    0 14px 35px
    rgba(57, 39, 105, 0.27);

  cursor: pointer;

  pointer-events: auto;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}


.global-menu-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 18px 42px
    rgba(57, 39, 105, 0.34);
}


.global-menu-button.active {
  background: var(--green);
}


.global-menu-icon {
  width: 27px;
  height: 20px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  flex: 0 0 auto;
}


.global-menu-icon span {
  width: 100%;
  height: 2px;

  display: block;

  border-radius: 999px;

  background: #ffffff;

  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}


.global-menu-button.active
.global-menu-icon span:nth-child(1) {
  transform:
    translateY(9px)
    rotate(45deg);
}


.global-menu-button.active
.global-menu-icon span:nth-child(2) {
  opacity: 0;
}


.global-menu-button.active
.global-menu-icon span:nth-child(3) {
  transform:
    translateY(-9px)
    rotate(-45deg);
}


.global-menu-label {
  font-size: 0.75rem;
  font-weight: 850;

  letter-spacing: 0.12em;
}


.global-menu-panel {
  position: fixed;

  inset: 0;

  z-index: 10001;

  width: 100vw;
  height: 100dvh;

  padding:
    105px 28px 50px;

  overflow-y: auto;

  color: var(--text);

  background:
    rgba(247, 245, 242, 0.988);

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transform:
    translateY(-10px);

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}


.global-menu-panel.open {
  opacity: 1;
  visibility: visible;

  pointer-events: auto;

  transform: translateY(0);
}


.global-menu-inner {
  width:
    min(
      calc(100% - 20px),
      1000px
    );

  margin: 0 auto;
}


.global-menu-heading {
  padding-bottom: 24px;
  margin-bottom: 10px;

  border-bottom:
    1px solid
    rgba(23, 23, 23, 0.11);
}


.global-menu-heading span {
  display: block;

  margin-bottom: 6px;

  color: var(--purple);

  font-size: 0.7rem;
  font-weight: 850;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}


.global-menu-heading strong {
  display: block;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2.3rem, 5vw, 4.2rem);

  font-weight: 500;

  line-height: 1.02;
}


.global-menu-links {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  column-gap: 56px;
}


.global-menu-links a {
  min-width: 0;

  padding:
    20px 0;

  display: grid;

  grid-template-columns:
    40px minmax(0, 1fr);

  align-items: center;

  gap: 12px;

  border-bottom:
    1px solid
    rgba(23, 23, 23, 0.09);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(1.3rem, 2vw, 1.8rem);

  line-height: 1.2;

  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}


.global-menu-links a > span {
  color: var(--gold);

  font-family:
    Inter,
    Arial,
    sans-serif;

  font-size: 0.7rem;
  font-weight: 850;

  letter-spacing: 0.10em;
}


.global-menu-links a:hover {
  padding-left: 7px;

  color: var(--purple);
}


/* ==========================================================
   06. KÖZÖS GOMBOK
========================================================== */

.btn {
  min-height: 56px;

  padding:
    0 27px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  border:
    1px solid transparent;

  border-radius: 999px;

  font-size: 0.95rem;
  font-weight: 750;

  text-align: center;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.btn:hover {
  transform: translateY(-3px);
}


.btn-primary {
  color: #ffffff;

  background: var(--purple);

  box-shadow:
    0 15px 35px
    rgba(117, 81, 201, 0.28);
}


.btn-primary:hover {
  color: #ffffff;

  background: var(--purple-dark);

  box-shadow:
    0 20px 45px
    rgba(117, 81, 201, 0.34);
}


.btn-secondary {
  color: var(--text);

  border-color: var(--border);

  background:
    rgba(255, 255, 255, 0.72);
}


.btn-secondary:hover {
  background: #ffffff;
}


.btn-outline {
  color: var(--purple);

  border-color:
    rgba(117, 81, 201, 0.30);

  background:
    rgba(255, 255, 255, 0.58);
}


.btn-outline:hover {
  color: #ffffff;

  border-color: var(--purple);

  background: var(--purple);
}


.btn-gold {
  color: var(--green-dark);

  background: var(--gold-light);

  box-shadow:
    0 14px 30px
    rgba(184, 154, 85, 0.20);
}


.btn-gold:hover {
  color: var(--green-dark);

  background: #ead896;
}


.btn-glass {
  color: #ffffff;

  border-color:
    rgba(255, 255, 255, 0.30);

  background:
    rgba(255, 255, 255, 0.09);

  backdrop-filter: blur(10px);
}


.btn-glass:hover {
  background:
    rgba(255, 255, 255, 0.16);
}


.btn-light {
  color: var(--text);

  background: #ffffff;
}


.btn-light:hover {
  background: var(--purple-light);
}


/* ==========================================================
   07. KÖZÖS TIPOGRÁFIA / SZEKCIÓ
========================================================== */

.section {
  padding:
    110px 0;
}


.section-heading {
  max-width: 800px;

  margin-bottom: 55px;
}


.eyebrow {
  margin-bottom: 18px;

  display: inline-flex;
  align-items: center;

  gap: 11px;

  color: var(--purple);

  font-size: 0.75rem;
  font-weight: 850;

  letter-spacing: 0.17em;

  text-transform: uppercase;
}


.eyebrow::before {
  content: "";

  width: 38px;
  height: 2px;

  flex: 0 0 38px;

  background: var(--gold);
}


.eyebrow.light {
  color: var(--gold-light);
}


.section-heading h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(1.8rem, 3vw, 2.6rem);

  font-weight: 600;

  line-height: 1.15;

  letter-spacing: -0.02em;
}


.section-heading p {
  max-width: 680px;

  margin-top: 20px;

  color: var(--muted);

  font-size: 1.06rem;

  line-height: 1.75;
}


.back-link {
  width: fit-content;

  margin-bottom: 34px;

  display: inline-flex;
  align-items: center;

  color: var(--purple);

  font-size: 0.92rem;
  font-weight: 800;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}


.back-link:hover {
  color: var(--purple-dark);

  transform: translateX(-4px);
}


/* ==========================================================
   08. FŐOLDAL – index.html
========================================================== */

.page-home .hero {
  position: relative;

  min-height:
    calc(100vh - var(--header-height));

  display: flex;
  align-items: center;

  overflow: hidden;

  color: #ffffff;

  background-image:
    url("../images/parlament_ejjel.jpg");

  background-size: cover;
  background-position: center;

  isolation: isolate;
}


.page-home .hero-overlay {
  position: absolute;

  inset: 0;

  z-index: -1;

  background:
    linear-gradient(
      90deg,
      rgba(8, 14, 17, 0.88) 0%,
      rgba(8, 14, 17, 0.74) 45%,
      rgba(8, 14, 17, 0.36) 100%
    );
}


.page-home .hero-content {
  padding:
    100px 0 125px;
}


.page-home .hero-label {
  margin-bottom: 24px;

  display: inline-flex;
  align-items: center;

  gap: 12px;

  color: var(--gold-light);

  font-size: 0.8rem;
  font-weight: 850;

  letter-spacing: 0.17em;

  text-transform: uppercase;
}


.page-home .hero-label::before {
  content: "";

  width: 38px;
  height: 2px;

  background: var(--gold);
}


.page-home .hero h1 {
  max-width: 1000px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(4rem, 7.2vw, 7.8rem);

  font-weight: 500;

  line-height: 1.02;

  letter-spacing: -0.045em;
}

.page-home .hero h1 span {
  display: block;

  color: #d4b96d;
}


.page-home .hero p {
  max-width: 680px;

  margin-top: 32px;

  color:
    rgba(255, 255, 255, 0.82);

  font-size: 1.15rem;

  line-height: 1.75;
}


.page-home .hero-actions {
  margin-top: 38px;

  display: flex;
  flex-wrap: wrap;

  gap: 14px;
}


.page-home .hero-scroll {
  position: absolute;

  bottom: 25px;
  left: 50%;

  transform: translateX(-50%);

  color:
    rgba(255, 255, 255, 0.76);

  font-size: 1.5rem;
}


.audience-section {
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(184, 154, 85, 0.10),
      transparent 30%
    ),
    var(--bg);
}


.video-section {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(117, 81, 201, 0.08),
      transparent 28%
    ),
    var(--bg);
}


.video-card {
  padding: 24px;

  border:
    1px solid var(--border);

  border-radius: 28px;

  background: #ffffff;

  box-shadow: var(--shadow);
}


.isten_ha_video {
  width: min(900px, 100%);

  max-height: 520px;

  margin: 0 auto;

  border-radius: 18px;

  background: #000000;
}


.constitution-section {
  padding-top: 25px;
}


.constitution-box {
  padding: 68px;

  display: grid;

  grid-template-columns:
    1fr auto;

  align-items: center;

  gap: 45px;

  color: #ffffff;

  border-radius: 30px;

  background:
    radial-gradient(
      circle at top right,
      rgba(184, 154, 85, 0.15),
      transparent 28%
    ),
    var(--green);
}


.constitution-content {
  min-width: 0;
}


.constitution-box h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(1.9rem, 3.2vw, 2.8rem);

  font-weight: 600;

  line-height: 1.15;

  letter-spacing: -0.02em;
}


.constitution-box p {
  max-width: 640px;

  margin-top: 20px;

  color:
    rgba(255, 255, 255, 0.68);
}


/* ==========================================================
   09. ALKOTMÁNYOZZUNK – index_tartalom.html
========================================================== */

.page-hub .header-inner {
  position: relative;
}


.page-hub .menu-button {
  display: flex;
}


.page-hub .nav {
  position: absolute;

  top: calc(100% + 14px);
  right: 0;

  z-index: 1050;

  width: min(320px, calc(100vw - 40px));

  padding: 18px;

  display: flex;
  flex-direction: column;
  align-items: stretch;

  gap: 4px;

  border:
    1px solid var(--border);

  border-radius: 22px;

  background:
    rgba(255, 255, 255, 0.97);

  box-shadow:
    0 22px 55px rgba(23, 23, 23, 0.14);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transform: translateY(-8px);

  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}


.page-hub .nav.open {
  opacity: 1;
  visibility: visible;

  pointer-events: auto;

  transform: translateY(0);
}


.page-hub .nav a {
  width: 100%;

  padding: 13px 15px;

  border-radius: 13px;

  font-size: 0.95rem;
  font-weight: 700;
}


.page-hub .nav a::after {
  display: none;
}


.page-hub .nav a:hover {
  color: var(--purple);

  background: var(--purple-light);
}
.page-hub .hero {
  min-height:
    calc(100vh - var(--header-height));

  display: flex;
  align-items: center;

  padding:
    80px 0 105px;

  overflow: hidden;
}


.page-hub .hero-grid {
  display: grid;

  grid-template-columns:
    1.05fr 0.95fr;

  align-items: center;

  gap: 72px;
}


.page-hub .hero h1 {
  max-width: 760px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(3.7rem, 6vw, 6.4rem);

  font-weight: 500;

  line-height: 1;

  letter-spacing: -0.04em;
}


.page-hub .hero h1 span {
  display: block;

  color: var(--purple);
}


.page-hub .hero-description {
  max-width: 650px;

  margin-top: 30px;

  color: var(--muted);

  font-size: 1.1rem;

  line-height: 1.75;
}


.page-hub .hero-actions {
  margin-top: 36px;

  display: flex;
  flex-wrap: wrap;

  gap: 14px;
}


.hero-image-card {
  position: relative;

  width: min(100%, 520px);

  margin-left: auto;

  overflow: hidden;

  border-radius: 28px;

  box-shadow:
    0 30px 80px
    rgba(20, 25, 22, 0.18);
}


.hero-image-card img {
  width: 100%;
  height: 600px;

  object-fit: contain;

  background: #dfe7f5;
}


.hero-image-overlay {
  position: absolute;

  inset:
    auto 0 0 0;

  padding:
    90px 24px 24px;

  color: #ffffff;

  background:
    linear-gradient(
      to top,
      rgba(8, 14, 17, 0.92),
      rgba(8, 14, 17, 0)
    );
}


.page-hub .feature-card {
  display: grid;

  grid-template-columns:
    0.95fr 1.05fr;

  min-height: 480px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: 30px;

  background: #ffffff;

  box-shadow: var(--shadow);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.topic-card {
  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: var(--radius);

  background: #ffffff;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.feature-card:hover,
.topic-card:hover {
  transform: translateY(-6px);

  box-shadow: var(--shadow);
}


.feature-image,
.topic-image {
  overflow: hidden;
}


.page-hub .feature-image {
  height: 360px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
}


.page-hub .feature-image img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.topic-image {
  height: 330px;
}


.feature-image img,
.topic-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


.feature-content,
.topic-content {
  padding: 32px;
}


.feature-content h3,
.topic-content h3 {
  margin-top: 12px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 2.1rem;

  font-weight: 500;
}


.feature-content p,
.topic-content p {
  margin-top: 14px;

  color: var(--muted);
}


.card-number {
  color: var(--purple);

  font-size: 0.75rem;
  font-weight: 850;

  letter-spacing: 0.14em;
}


.card-icon {
  margin-top: 10px;

  color: var(--gold);

  font-size: 1.375rem;
  line-height: 1;
}


.card-link {
  display: inline-block;

  margin-top: 24px;

  color: var(--purple);

  font-weight: 800;
}


.card-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 24px;
}

.page-home .topic-card {
  padding: 32px;

  display: flex;
  flex-direction: column;

  min-height: 360px;
}

.page-home .topic-card h3 {
  margin-top: 12px;
}

.page-home .topic-card p {
  margin-top: 14px;

  color: var(--muted);
}

.page-home .topic-card .card-link {
  margin-top: auto;
  padding-top: 28px;
}

.page-home .closing-section {
  padding-top: 20px;
}

.page-home .closing-box {
  padding: 58px;

  display: grid;

  grid-template-columns:
    auto minmax(0, 1fr) auto;

  align-items: center;

  gap: 40px;

  color: #ffffff;

  border-radius: 30px;

  background: var(--green);
}

.page-home .closing-box img {
  width: 100px;
  height: 100px;

  object-fit: contain;

  border-radius: 50%;
}

.page-hub .participation-section {
  padding-top: 40px;
}


.page-hub .participation-box {
  display: grid;

  grid-template-columns:
    0.9fr 1.1fr;

  overflow: hidden;

  color: #ffffff;

  border-radius: 32px;

  background: var(--green);
}


.page-hub .participation-image {
  min-height: 520px;
}


.page-hub .participation-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


.page-hub .participation-content {
  padding: 70px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}


.page-hub .participation-content h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2.8rem, 4.3vw, 4.6rem);

  font-weight: 500;

  line-height: 1.03;

  letter-spacing: -0.04em;
}


.page-hub .participation-content p {
  max-width: 620px;

  margin:
    24px 0 34px;

  color:
    rgba(255, 255, 255, 0.67);
}

.page-home .closing-box h2 {
  max-width: 650px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2rem, 3vw, 3.4rem);

  font-weight: 500;

  line-height: 1.04;

  letter-spacing: -0.035em;
}

/* ==========================================================
   ALKOTMÁNYOZZUNK – VISSZA A FŐOLDALRA
========================================================== */

.page-hub .back-section {
  padding-top: 30px;
}


.page-hub .back-box {
  padding:
    50px 55px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  border:
    1px solid var(--border);

  border-radius: 28px;

  background:
    rgba(255, 255, 255, 0.70);
}


.page-hub .back-box h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2rem, 3.3vw, 3.4rem);

  font-weight: 500;

  line-height: 1.05;

  letter-spacing: -0.04em;
}


@media (max-width: 650px) {

  .page-hub .back-box {
    padding:
      38px 24px;

    flex-direction: column;
    align-items: flex-start;

    border-radius: 22px;
  }

}

/* ==========================================================
   10. MAGYAR ALKOTMÁNY – index_alkotmany_lapozo.html
========================================================== */

.page-constitution .hero {
  min-height:
    calc(100vh - var(--header-height));

  display: flex;
  align-items: center;

  padding:
    65px 0 100px;

  overflow: hidden;
}


.page-constitution .hero-grid {
  display: grid;

  grid-template-columns:
    1.05fr 0.95fr;

  align-items: center;

  gap: 72px;
}


.page-constitution .hero h1 {
  max-width: 760px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(3.6rem, 6vw, 6.4rem);

  font-weight: 500;

  line-height: 1.02;

  letter-spacing: -0.035em;
}


.page-constitution .hero h1 span {
  display: inline-block;

  color: var(--purple);
}


.page-constitution .hero-description {
  max-width: 640px;

  margin-top: 30px;

  color: var(--muted);

  font-size: 1.1rem;

  line-height: 1.75;
}


.page-constitution .hero-actions {
  margin-top: 36px;

  display: flex;
  flex-wrap: wrap;

  gap: 14px;
}


.hero-visual {
  position: relative;

  min-height: 540px;

  display: grid;
  place-items: center;
}


.document-shadow {
  position: absolute;

  bottom: 35px;

  width: 350px;
  height: 48px;

  border-radius: 50%;

  background:
    rgba(20, 20, 20, 0.16);

  filter: blur(25px);
}


.document-cover {
  position: relative;

  z-index: 2;

  width: min(385px, 80%);

  aspect-ratio: 0.72;

  padding: 38px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  color: #d5bd78;

  border:
    1px solid rgba(184, 154, 85, 0.48);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.06),
      transparent 42%
    ),
    #14231c;

  box-shadow:
    35px 42px 80px
    rgba(21, 24, 22, 0.24);

  transform:
    perspective(1000px)
    rotateY(-5deg)
    rotateZ(1.5deg);

  transition:
    transform 0.4s ease;
}


.document-cover:hover {
  transform:
    perspective(1000px)
    rotateY(0)
    rotateZ(0)
    translateY(-5px);
}


.document-small {
  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}


.document-title {
  text-align: center;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2rem, 3vw, 3rem);

  line-height: 1.05;
}


.document-line {
  width: 70px;
  height: 1px;

  margin:
    25px auto;

  background: var(--gold);
}


.document-year {
  text-align: center;

  font-size: 0.77rem;

  letter-spacing: 0.2em;
}


.principles,
.action-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;
}


.principle,
.action-card {
  padding: 34px;

  border-radius: 24px;
}


.principle {
  min-height: 300px;

  display: flex;
  flex-direction: column;

  border:
    1px solid var(--border);

  background:
    rgba(255, 255, 255, 0.65);
}


.principle-number {
  color: var(--purple);

  font-size: 0.75rem;
  font-weight: 850;
}


.principle h3 {
  margin-top: auto;

  padding-top: 48px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.65rem;

  font-weight: 500;
}


.principle p {
  margin-top: 12px;

  color: var(--muted);
}


.principles-section {
  padding-top: 20px;
}


.principle-list {
  margin-top: 44px;
}
.principle-item {
  display: flex;
  align-items: baseline;

  gap: 28px;

  padding: 26px 0;

  border-bottom:
    1px solid var(--border);
}


.principle-item:first-child {
  padding-top: 0;
}


.principle-item:last-child {
  border-bottom: 0;
}


.principle-item .principle-number {
  flex: 0 0 auto;

  width: 40px;
}


.principle-item p {
  color: var(--text);
}


.next-section {
  padding-top: 25px;
}


.next-box {
  padding: 68px;

  display: grid;

  grid-template-columns:
    1fr auto;

  align-items: center;

  gap: 45px;

  color: #ffffff;

  border-radius: 30px;

  background:
    radial-gradient(
      circle at top right,
      rgba(184, 154, 85, 0.15),
      transparent 28%
    ),
    var(--green);
}


.next-box h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2.4rem, 4vw, 3.6rem);

  font-weight: 500;

  line-height: 1.05;
}


.next-box p {
  max-width: 560px;

  margin-top: 20px;

  color:
    rgba(255, 255, 255, 0.68);
}


.proposal-wrapper {
  padding: 72px;

  border:
    1px solid var(--border);

  border-radius: 30px;

  background: #ffffff;

  box-shadow: var(--shadow);
}


.proposal-top {
  display: grid;

  grid-template-columns:
    1fr auto;

  gap: 40px;

  align-items: end;

  margin-bottom: 45px;
}


.proposal-preview {
  min-height: 420px;

  padding: 45px;

  display: grid;
  place-items: center;

  border-radius: 22px;

  background:
    radial-gradient(
      circle at 75% 15%,
      rgba(117, 81, 201, 0.14),
      transparent 30%
    ),
    #ebe8e4;
}


.mini-document {
  width: 230px;

  aspect-ratio: 0.72;

  padding: 28px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  text-align: center;

  color: var(--gold);

  background: var(--green);
}


.dark-section {
  color: #ffffff;

  background: var(--green);
}


.action-card {
  min-height: 350px;

  display: flex;
  flex-direction: column;

  border:
    1px solid
    rgba(255, 255, 255, 0.11);

  background:
    rgba(255, 255, 255, 0.055);
}


.action-icon {
  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--green);

  background: var(--gold);

  font-weight: 900;
}


.action-card h3 {
  margin-top: auto;

  padding-top: 45px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 2rem;

  font-weight: 500;
}


.action-card p {
  margin-top: 12px;

  color:
    rgba(255, 255, 255, 0.68);
}


.action-link {
  margin-top: 22px;

  font-weight: 800;
}


.poll-box {
  padding: 60px;

  border-radius: 30px;

  background:
    linear-gradient(
      135deg,
      #eee9f8,
      #f8f5fc
    );
}


.poll-box h2 {
  margin-top: 14px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2rem, 3.3vw, 3.4rem);

  font-weight: 500;

  line-height: 1.05;

  letter-spacing: -0.04em;
}


.poll-intro {
  margin-top: 18px;

  max-width: 560px;

  color: var(--muted);
}


.poll-question {
  margin-top: 34px;

  font-weight: 750;
}


.poll-label {
  color: var(--purple);

  font-size: 0.75rem;
  font-weight: 850;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


.poll-options {
  margin-top: 25px;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 14px;
}


.poll-option {
  padding:
    20px 22px;

  color: var(--text);

  border:
    1px solid transparent;

  border-radius: 15px;

  background: #ffffff;

  text-align: left;

  cursor: pointer;
}


.poll-option.selected {
  color: #ffffff;

  background: var(--purple);
}


.poll-result {
  min-height: 30px;

  margin-top: 20px;

  color: var(--purple);

  font-weight: 750;
}


.poll-real-vote {
  margin-top: 34px;
  padding-top: 34px;

  border-top:
    1px solid rgba(23, 23, 23, 0.10);

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;

  gap: 18px;
}


.poll-real-vote p {
  max-width: 460px;

  color: var(--muted);
}


.support {
  text-align: center;
}


.support-inner {
  max-width: 900px;

  margin: 0 auto;

  padding:
    85px 55px;

  color: #ffffff;

  border-radius: 30px;

  background: var(--green);
}


/* ==========================================================
   11. ALAPGONDOLATOK
========================================================== */

.article-hero {
  padding:
    75px 0 100px;
}


.article-hero-grid {
  display: grid;

  grid-template-columns:
    1.05fr 0.95fr;

  align-items: center;

  gap: 72px;
}


.article-hero-content h1 {
  max-width: 720px;

  padding-left: 22px;

  border-left: 4px solid var(--gold);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2.1rem, 3.6vw, 3.1rem);

  font-weight: 600;

  line-height: 1.18;

  letter-spacing: -0.02em;
}


.article-hero-content h1 span {
  display: block;

  color: var(--purple);
}


.article-hero-content > p {
  max-width: 650px;

  margin-top: 28px;

  color: var(--muted);

  font-size: 1.08rem;

  line-height: 1.75;
}


.article-hero-image {
  overflow: hidden;

  border-radius: 28px;

  box-shadow: var(--shadow);
}


.article-hero-image img {
  width: 100%;
  height: 560px;

  object-fit: cover;
}


/* ==========================================================
   12. ALKOTMÁNYKÖZPONT
========================================================== */

.learn-hero {
  padding:
    70px 0 100px;
}


.learn-hero-grid {
  display: grid;

  grid-template-columns:
    1.05fr 0.95fr;

  align-items: center;

  gap: 70px;
}


.learn-hero-content h1 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(3.2rem, 5vw, 5.3rem);

  font-weight: 500;

  line-height: 1.03;

  letter-spacing: -0.035em;
}


.learn-hero-content h1 span {
  display: block;

  color: var(--purple);
}


.learn-hero-lead {
  max-width: 650px;

  margin-top: 28px;

  color: var(--muted);

  font-size: 1.08rem;

  line-height: 1.78;
}


.learn-hero-actions {
  margin-top: 36px;

  display: flex;
  flex-wrap: wrap;

  gap: 14px;
}


.learn-hero-card {
  padding: 35px;

  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      var(--purple-light)
    );

  box-shadow: var(--shadow);
}


.learn-document {
  min-height: 460px;

  padding: 36px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  color: var(--gold-light);

  background: var(--green);

  border-radius: 8px;
}


.learn-document-label {
  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.16em;
}


.learn-document-title {
  text-align: center;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 2.3rem;

  line-height: 1.08;
}


.learn-document-line {
  width: 40px;
  height: 2px;

  margin: 18px auto;

  background:
    rgba(220, 200, 137, 0.45);
}


.learn-document-section {
  padding-top: 20px;
}


.learn-video-section {
  padding-top: 20px;
}


.learn-action-section {
  padding-top: 20px;
}


.learn-summary-section {
  padding-top: 20px;
}


.learn-section-grid {
  display: grid;

  grid-template-columns:
    0.85fr 1.15fr;

  gap: 60px;
}


.learn-section-title {
  margin-top: 14px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2rem, 3.2vw, 2.8rem);

  font-weight: 500;

  line-height: 1.15;
}


.learn-section-copy p {
  color: var(--muted);
}


.learn-section-copy p + p {
  margin-top: 16px;
}


.learn-section-copy .btn {
  margin-top: 28px;
}


.learn-video-frame {
  position: relative;

  width: min(100%, calc(72vh * 16 / 9));

  margin-inline: auto;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: 28px;

  background: #000000;

  box-shadow: var(--shadow);
}


.learn-video-frame iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}


.learn-video-link {
  margin-top: 22px;

  text-align: center;
}


.chapter-list-wrap {
  margin-top: 40px;

  padding: 34px;

  border:
    1px solid var(--border);

  border-radius: 24px;

  background: #ffffff;
}


.chapter-list-title {
  margin-bottom: 18px;

  color: var(--purple);

  font-size: 0.75rem;
  font-weight: 850;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


.chapter-list {
  max-height: 420px;
  overflow-y: auto;

  list-style: none;

  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 0 24px;
}


.chapter-item {
  width: 100%;

  padding: 11px 10px;

  display: flex;
  align-items: baseline;

  gap: 14px;

  border: 0;
  border-bottom:
    1px solid var(--border);

  background: none;

  cursor: pointer;

  text-align: left;

  font-family: inherit;

  transition: background 0.15s ease;
}


.chapter-item:hover,
.chapter-item.active {
  background: var(--purple-light);

  border-radius: 10px;
}


.chapter-time {
  flex: 0 0 auto;

  min-width: 44px;

  color: var(--purple);

  font-size: 0.85rem;
  font-weight: 750;

  font-variant-numeric: tabular-nums;
}


.chapter-label {
  color: var(--text);

  font-size: 0.92rem;

  line-height: 1.4;
}


.learn-video-link a {
  color: var(--purple);

  font-weight: 750;
}


.learn-action-card {
  padding: 60px;

  display: grid;

  grid-template-columns:
    auto 1fr auto;

  align-items: center;

  gap: 40px;

  color: #ffffff;

  border-radius: 30px;
}


.learn-action-purple {
  background:
    linear-gradient(
      135deg,
      var(--purple),
      var(--purple-dark)
    );
}


.learn-action-green {
  background: var(--green);
}


.learn-action-number {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 2.6rem;
  font-weight: 500;

  opacity: 0.45;
}


.learn-action-content h2 {
  margin-top: 10px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(1.6rem, 2.6vw, 2.2rem);

  font-weight: 500;

  line-height: 1.15;
}


.learn-action-content p {
  margin-top: 14px;

  max-width: 480px;

  color:
    rgba(255, 255, 255, 0.75);
}


.learn-summary-grid {
  margin-top: 40px;

  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 20px;
}


.learn-summary-card {
  padding: 30px;

  border:
    1px solid var(--border);

  border-radius: 20px;

  background: #ffffff;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.learn-summary-card:hover {
  transform: translateY(-6px);

  box-shadow: var(--shadow);
}


.learn-summary-card span {
  color: var(--purple);

  font-size: 0.75rem;
  font-weight: 850;

  letter-spacing: 0.14em;
}


.learn-summary-card strong {
  margin-top: 14px;

  display: block;

  font-size: 1.1rem;
}


.learn-summary-card p {
  margin-top: 8px;

  color: var(--muted);
}


.learn-back-section {
  padding-top: 30px;
}


.learn-back-box {
  padding:
    50px 55px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  border:
    1px solid var(--border);

  border-radius: 28px;

  background:
    rgba(255, 255, 255, 0.70);
}


.learn-back-box h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2rem, 3.3vw, 3.4rem);

  font-weight: 500;

  line-height: 1.05;

  letter-spacing: -0.04em;
}


/* ==========================================================
   13. FIATALOK
========================================================== */

.youth-hero,
.senior-hero,
.path-hero {
  padding:
    70px 0 105px;

  overflow: hidden;
}


.youth-hero-grid,
.senior-hero-grid,
.path-hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(340px, 0.95fr);

  align-items: center;

  gap: 68px;
}


.youth-hero-content h1,
.senior-hero h1,
.path-hero h1 {
  max-width: 760px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(3.2rem, 5vw, 5.3rem);

  font-weight: 500;

  line-height: 1.04;

  letter-spacing: -0.03em;
}


.youth-hero-content h1 span,
.senior-hero h1 span,
.path-hero h1 span {
  display: block;

  color: var(--purple);
}


.youth-hero-lead,
.senior-hero-lead,
.path-hero-lead {
  max-width: 670px;

  margin-top: 30px;

  color: var(--muted);

  font-size: 1.07rem;

  line-height: 1.8;
}


.youth-hero-actions,
.senior-hero-actions,
.path-hero-actions {
  margin-top: 38px;

  display: flex;
  flex-wrap: wrap;

  gap: 14px;
}


.youth-hero-image,
.senior-hero-image,
.path-hero-image {
  overflow: hidden;

  border-radius: 28px;

  box-shadow: var(--shadow);

  background: #ffffff;
}


.youth-hero-image img,
.senior-hero-image img {
  width: 100%;
  height: 540px;

  object-fit: cover;
}


.path-hero-image {
  padding: 36px;
}


.path-hero-image img {
  width: 100%;
  max-height: 500px;

  object-fit: contain;
}


.youth-reading-layout,
.senior-reading-layout,
.path-reading-layout {
  display: grid;

  grid-template-columns:
    minmax(240px, 0.35fr)
    minmax(0, 0.65fr);

  align-items: start;

  gap: 60px;
}


.youth-reading-side,
.senior-reading-side,
.path-reading-side {
  position: sticky;

  top: 115px;
}


.youth-reading-side h2,
.senior-reading-side h2,
.path-reading-side h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2rem, 3vw, 3rem);

  font-weight: 500;

  line-height: 1.1;
}


.youth-reading-content,
.senior-reading-content,
.path-reading-content {
  min-width: 0;
}


.youth-reading-content p,
.senior-reading-content p,
.path-reading-content p {
  margin-bottom: 24px;

  color: #484248;

  font-size: 1.04rem;

  line-height: 1.85;
}


.youth-callout {
  color: var(--purple) !important;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 2rem !important;

  font-weight: 500;
}


.youth-quote-box,
.senior-quote-box,
.path-quote-box {
  padding:
    48px;

  border-radius: 26px;

  background: var(--green);

  color: #ffffff;
}


.youth-panel,
.senior-panel,
.path-panel {
  padding:
    50px;

  border-radius: 26px;

  background:
    var(--purple-light);
}


.youth-chapter,
.senior-chapter,
.path-chapter {
  padding:
    32px;

  display: grid;

  grid-template-columns:
    55px minmax(0, 1fr);

  gap: 22px;

  border:
    1px solid var(--border);

  border-radius: 22px;

  background: #ffffff;
}


.youth-chapter + .youth-chapter,
.senior-chapter + .senior-chapter,
.path-chapter + .path-chapter {
  margin-top: 18px;
}


.youth-chapter-number,
.senior-chapter-number,
.path-chapter-number {
  color: var(--purple);

  font-weight: 850;
}


.youth-chapter h3,
.senior-chapter h3,
.path-chapter h3 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.8rem;

  font-weight: 500;
}


.youth-task,
.senior-task,
.path-task {
  padding:
    30px;

  display: grid;

  grid-template-columns:
    55px minmax(0, 1fr);

  gap: 20px;

  border-radius: 22px;

  background: #ffffff;

  border:
    1px solid var(--border);
}


.youth-final-box,
.senior-final-box,
.path-final-box {
  padding:
    52px;

  display: grid;

  grid-template-columns:
    1fr auto;

  align-items: center;

  gap: 45px;

  border-radius: 28px;

  color: #ffffff;

  background: var(--green);
}


.youth-final-box h2,
.senior-final-box h2,
.path-final-box h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(1.7rem, 2.6vw, 2.3rem);

  font-weight: 500;

  line-height: 1.2;
}


.youth-final-box p,
.senior-final-box p,
.path-final-box p {
  margin-top: 14px;

  color:
    rgba(255, 255, 255, 0.72);
}


/* ---------- HINNI, ÉRTENI, TENNI – EGYEDI RÉSZEK ---------- */

.path-hero-content {
  min-width: 0;
}


.path-reading-section,
.path-quote-section,
.path-understanding-section,
.path-panel-section,
.path-video-section,
.path-tasks-section,
.path-constitution-section,
.path-back-section {
  padding-top: 20px;
}


.path-chapter-list,
.path-task-list {
  margin-top: 44px;
}


.path-task + .path-task {
  margin-top: 18px;
}


.path-chapter-content {
  min-width: 0;
}


.path-chapter-content p {
  margin-top: 12px;

  color: var(--muted);
}


.path-task > span {
  color: var(--purple);
  font-weight: 850;
}


.path-task h3 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.3rem;
  font-weight: 500;
}


.path-task p {
  margin-top: 10px;

  color: var(--muted);
}


.path-panel-label {
  color: var(--purple);

  font-size: 0.75rem;
  font-weight: 850;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


.path-panel-grid {
  margin-top: 22px;

  display: grid;

  grid-template-columns:
    0.9fr 1.1fr;

  align-items: start;

  gap: 50px;
}


.path-panel-grid h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(1.8rem, 2.8vw, 2.4rem);

  font-weight: 500;

  line-height: 1.2;
}


.path-panel-text p {
  color: var(--muted);
}


.path-panel-text p + p {
  margin-top: 16px;
}


.path-video-grid {
  margin-top: 40px;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;
}


.path-video-card {
  padding: 34px;

  display: flex;
  flex-direction: column;

  border:
    1px solid var(--border);

  border-radius: 24px;

  background: #ffffff;
}


.path-video-number {
  color: var(--purple);

  font-size: 0.75rem;
  font-weight: 850;

  letter-spacing: 0.14em;
}


.path-video-card h3 {
  margin-top: 14px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.3rem;
  font-weight: 500;

  line-height: 1.25;
}


.path-video-card p {
  flex: 1;

  margin-top: 10px;

  color: var(--muted);
}


.path-video-card .btn {
  margin-top: 20px;

  align-self: flex-start;
}


.path-history-note,
.path-video-note {
  margin-top: 30px;

  padding:
    20px 26px;

  border-radius: 16px;

  background: var(--purple-light);

  color: var(--text);

  font-size: 0.92rem;

  line-height: 1.6;
}


.path-history-note strong,
.path-video-note strong {
  color: var(--purple);
}


.back-section {
  padding-top: 30px;
}


.back-box {
  padding:
    50px 55px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  border:
    1px solid var(--border);

  border-radius: 28px;

  background:
    rgba(255, 255, 255, 0.70);
}


.back-box h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2rem, 3.3vw, 3.4rem);

  font-weight: 500;

  line-height: 1.05;

  letter-spacing: -0.04em;
}


/* ---------- SZÉPKORÚAK, IDŐSEK – EGYEDI RÉSZEK ---------- */

.senior-hero-content {
  min-width: 0;
}


.senior-reading-section,
.senior-intro-section,
.senior-constitution-section,
.senior-tasks-section,
.senior-final-section,
.senior-back-section {
  padding-top: 20px;
}


.senior-chapter-list,
.senior-task-list {
  margin-top: 44px;
}


.senior-chapter-content {
  min-width: 0;
}


.senior-chapter-content p {
  margin-top: 12px;

  color: var(--muted);
}


.senior-task > span {
  color: var(--purple);
  font-weight: 850;
}


.senior-task h3 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.3rem;
  font-weight: 500;
}


.senior-task p {
  margin-top: 10px;

  color: var(--muted);
}


.senior-task p + p {
  margin-top: 10px;
}


.senior-panel-label {
  color: var(--purple);

  font-size: 0.75rem;
  font-weight: 850;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


.senior-panel-grid {
  margin-top: 22px;

  display: grid;

  grid-template-columns:
    0.9fr 1.1fr;

  align-items: start;

  gap: 50px;
}


.senior-panel-grid h2 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(1.8rem, 2.8vw, 2.4rem);

  font-weight: 500;

  line-height: 1.2;
}


.senior-panel-text p {
  color: var(--muted);
}


.senior-panel-text p + p {
  margin-top: 16px;
}


.senior-quote-header {
  margin-bottom: 26px;
}


.senior-quote-header span {
  display: block;

  font-size: 0.75rem;
  font-weight: 850;

  letter-spacing: 0.14em;

  color:
    rgba(255, 255, 255, 0.65);
}


.senior-quote-header h2 {
  margin-top: 10px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(1.8rem, 2.6vw, 2.3rem);

  font-weight: 500;
}


.senior-quote-box blockquote p {
  margin-top: 14px;

  color:
    rgba(255, 255, 255, 0.80);

  font-size: 1.06rem;

  line-height: 1.7;
}


.senior-quote-box blockquote p:first-child {
  margin-top: 0;
}


.senior-quote-box .btn {
  margin-top: 30px;
}


.senior-date-note {
  margin-top: 30px;

  padding:
    20px 26px;

  border-radius: 16px;

  background: var(--purple-light);

  color: var(--text);

  font-size: 0.92rem;

  line-height: 1.6;
}


.senior-date-note strong {
  color: var(--purple);
}


/* ---------- FIATALOK, IFJAK – EGYEDI RÉSZEK ---------- */

.youth-reading-section,
.youth-quote-section,
.youth-panel-section,
.youth-chapters-section,
.youth-tasks-section,
.youth-note-section,
.youth-final-section,
.youth-back-section {
  padding-top: 20px;
}


.youth-chapters,
.youth-task-list {
  margin-top: 44px;
}


.youth-panel h2 {
  margin-top: 14px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(2rem, 3.2vw, 2.8rem);

  font-weight: 500;

  line-height: 1.15;
}


.youth-panel-text {
  margin-top: 24px;

  max-width: 720px;
}


.youth-panel-text p {
  color: var(--muted);
}


.youth-panel-text p + p {
  margin-top: 14px;
}


.youth-chapter > h3,
.youth-chapter > p {
  grid-column: 2;
}


.youth-chapter > p {
  margin-top: 12px;

  color: var(--muted);
}


.youth-quote-box blockquote {
  margin-top: 22px;

  color:
    rgba(255, 255, 255, 0.85);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.5rem;

  font-weight: 500;

  line-height: 1.4;
}


.youth-quote-box .btn {
  margin-top: 30px;
}


.youth-task > span {
  color: var(--purple);
  font-weight: 850;
}


.youth-task p {
  color: var(--muted);
}


.youth-task p + p {
  margin-top: 10px;
}


/* ==========================================================
   14. FOOTER
========================================================== */

footer {
  padding:
    50px 0;

  border-top:
    1px solid var(--border);

  color: var(--muted);

  font-size: 0.88rem;
}


.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;
}


.footer-brand,
.footer-logo {
  color: var(--purple);

  font-weight: 850;

  letter-spacing: 0.09em;
}


/* ==========================================================
   15. SCROLL ANIMÁCIÓ
========================================================== */

.reveal {
  opacity: 0;

  transform:
    translateY(30px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}


.reveal.visible {
  opacity: 1;

  transform: none;
}


/* ==========================================================
   16. LAP TETEJÉRE
========================================================== */

.to-top {
  position: fixed;

  right: 26px;
  bottom: 26px;

  z-index: 900;

  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;

  border:
    1px solid
    rgba(255, 255, 255, 0.20);

  border-radius: 50%;

  background: var(--purple);

  box-shadow:
    0 16px 35px
    rgba(117, 81, 201, 0.28);

  font-size: 1.2rem;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}


.to-top:hover {
  transform: translateY(-4px);

  background: var(--purple-dark);

  box-shadow:
    0 20px 42px
    rgba(117, 81, 201, 0.34);
}


/* ==========================================================
   17. TABLET
========================================================== */

@media (max-width: 950px) {

  .page-hub .feature-card {
  grid-template-columns: 1fr;
}

.page-hub .feature-image {
  height: 430px;
}

  .menu-button {
    display: flex;
  }


  .nav {
    position: absolute;

    top: calc(100% + 14px);
    right: 0;

    z-index: 1050;

    width: min(320px, calc(100vw - 40px));

    padding: 18px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 4px;

    border:
      1px solid var(--border);

    border-radius: 22px;

    background:
      rgba(255, 255, 255, 0.97);

    box-shadow:
      0 22px 55px rgba(23, 23, 23, 0.14);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform: translateY(-8px);

    transition:
      opacity 0.22s ease,
      visibility 0.22s ease,
      transform 0.22s ease;
  }


  .nav.open {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);
  }


  .nav a {
    width: 100%;

    padding: 13px 15px;

    border-radius: 13px;

    font-family: inherit;
    font-size: 0.95rem;
  }

  .nav a:hover {
    color: var(--purple);
    background: var(--purple-light);
  }


  .global-menu-button {
    min-width: 64px;

    height: 54px;

    padding: 0 10px;
  }


  .global-menu-links {
    grid-template-columns: 1fr;
  }


  .page-hub .hero-grid,
  .page-constitution .hero-grid,
  .article-hero-grid,
  .learn-hero-grid,
  .youth-hero-grid,
  .senior-hero-grid,
  .path-hero-grid {
    grid-template-columns: 1fr;

    gap: 48px;
  }


  .hero-image-card,
  .article-hero-image,
  .learn-hero-card,
  .youth-hero-image,
  .senior-hero-image,
  .path-hero-image {
    width: min(100%, 650px);

    margin-inline: auto;
  }


  .principles,
  .action-grid {
    grid-template-columns: 1fr;
  }


  .proposal-top,
  .constitution-box,
  .next-box,
  .youth-final-box,
  .senior-final-box,
  .path-final-box,
  .back-box {
    grid-template-columns: 1fr;
  }


  .next-box {
    padding: 38px 26px;

    border-radius: 22px;
  }


  .back-box {
    padding: 38px 24px;

    flex-direction: column;
    align-items: flex-start;

    border-radius: 22px;
  }


  .path-panel-grid,
  .senior-panel-grid {
    grid-template-columns: 1fr;

    gap: 22px;
  }


  .path-video-grid {
    grid-template-columns: 1fr;
  }


  .youth-reading-layout,
  .senior-reading-layout,
  .path-reading-layout {
    grid-template-columns: 1fr;

    gap: 35px;
  }


  .youth-reading-side,
  .senior-reading-side,
  .path-reading-side {
    position: static;
  }

}


/* ==========================================================
   18. MOBIL
========================================================== */

@media (max-width: 650px) {

  :root {
    --header-height: 82px;
  }


  .container {
    width:
      min(
        calc(100% - 28px),
        var(--max-width)
      );
  }


  .header-inner {
  min-height: 82px;

  display: flex;
  align-items: center;

  gap: 10px;
}

  .header-inner > :first-child {
    min-width: 0;
  }


  .tanakodo-header-jobb-oldal {
    gap: 6px;
  }


  .tanakodo-kereses-terulet {
    margin-left: 10px;
  }


  .brand-area {
    gap: 7px;
    min-width: 56px;
    overflow: hidden;
  }


  .brand-emblem img,
  .header-inner > :first-child img {
    width: 42px !important;
    height: 42px !important;

    flex: 0 0 42px;
  }


  /*
    Minden oldalon (nemcsak a kezdőlapon) megjelenik a rövid
    oldalcím mobilon is — hogy a látogató lássa, melyik oldalon jár.
    Ha nem fér ki teljesen, "…"-tal rövidül, DE a logó (fentebb,
    flex: 0 0 42px) soha nem tűnik el emiatt.
  */
  .brand-area .brand {
    display: block;

    min-width: 0;
    max-width: 130px;

    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 0.72rem;

    line-height: 1.15;

    letter-spacing: 0.06em;

    white-space: nowrap;
  }


  .page-home .brand {
  display: flex;
  align-items: center;

  gap: 7px;

  min-width: 0;

  justify-self: start;

  font-size: 0.72rem;

  line-height: 1.15;

  letter-spacing: 0.06em;

  white-space: nowrap;
}

  .logo {
    max-width: 100px;

    font-size: 0.62rem;

    line-height: 1.15;

    letter-spacing: 0.06em;
  }


  .menu-button {
    grid-column: 3;

    justify-self: end;

    width: 40px;
    height: 40px;
  }


  .tanakodo-kereses-gomb {
    width: 40px;
    height: 40px;
  }


  .global-menu-button {
    min-width: 0;

    width: 64px;
    height: 64px;

    padding: 0;

    border-radius: 50%;
  }


  .global-menu-icon {
    width: 29px;
    height: 21px;
  }


  .global-menu-label {
    display: none;
  }


  .global-menu-panel {
    padding:
      88px 18px 24px;
  }


  .global-menu-inner {
    width: 100%;
  }


  .global-menu-heading {
    padding-bottom: 13px;

    margin-bottom: 6px;
  }


  .global-menu-heading span {
    margin-bottom: 3px;

    font-size: 0.64rem;
  }


  .global-menu-heading strong {
    font-size: 1.85rem;
  }


  .global-menu-links a {
    grid-template-columns:
      30px minmax(0, 1fr);

    gap: 9px;

    padding:
      11px 0;

    font-size: 1.1rem;
  }


  .section {
    padding:
      75px 0;
  }


  .section-heading {
    margin-bottom: 38px;
  }


 .page-home .section-heading h2 {
  font-size:
    clamp(2rem, 8.5vw, 2.8rem);

  line-height: 1.08;
}


  .btn {
    width: 100%;
  }


  /* ---------- FŐOLDAL ---------- */

  .page-home .hero {
    min-height:
      calc(100svh - 82px);

    align-items: flex-start;

    background-position:
      62% center;
  }


  .page-home .hero-content {
    padding:
      70px 0 95px;
  }


  .page-home .hero-label {
    font-size: 0.72rem;
  }


  .page-home .hero h1 {
  font-size:
    clamp(3rem, 13vw, 4.5rem);

  line-height: 1.08;

  letter-spacing: -0.03em;
}


  /*
    A színes rész nem kap kötelező sortörést.
    Így az online és offline tördelés kevésbé tér el.
  */

  .page-home .hero h1 span {
    display: inline;
  }


  .page-home .hero p {
    margin-top: 26px;

    font-size: 1rem;
  }


  .page-home .hero-actions {
    flex-direction: column;
  }

  

.page-home .card-grid,
.page-hub .card-grid {
  grid-template-columns: 1fr;
}

.page-home .closing-box {
  grid-template-columns: 1fr;

  padding: 42px 24px;

  gap: 28px;

  text-align: center;

  border-radius: 24px;
}

.page-home .closing-box img {
  margin-inline: auto;
}


  /* ---------- HUB / ALKOTMÁNY ---------- */

  .page-hub .feature-image {
  height: 290px;
}

  .page-hub .participation-box {
  grid-template-columns: 1fr;

  border-radius: 24px;
}


.page-hub .participation-image {
  min-height: 300px;
}


.page-hub .participation-content {
  padding: 44px 24px;
}


.page-hub .participation-content h2 {
  font-size:
    clamp(2.4rem, 11vw, 3.5rem);
}

  .page-hub .nav {
  position: absolute;

  top: calc(100% + 10px);
  right: 0;
  bottom: auto;
  left: auto;

  width: min(280px, calc(100vw - 28px));
  height: auto;
  max-height: calc(100dvh - 110px);

  padding: 10px;

  gap: 2px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.98);

  box-shadow:
    0 18px 45px rgba(23, 23, 23, 0.16);

  overflow-y: auto;
}


.page-hub .nav a {
  padding: 12px 14px;

  border-radius: 11px;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  font-size: 0.95rem;
  font-weight: 750;

  line-height: 1.25;
}

  .page-hub .hero,
  .page-constitution .hero {
    min-height: auto;

    padding:
      45px 0 75px;

    align-items: flex-start;
  }


  .page-hub .hero h1,
  .page-constitution .hero h1 {
    font-size:
      clamp(2.7rem, 12vw, 4rem);

    line-height: 1.02;

    letter-spacing: -0.03em;
  }


  .page-hub .hero-description,
  .page-constitution .hero-description {
    font-size: 1rem;
  }


  .page-hub .hero-actions,
  .page-constitution .hero-actions {
    flex-direction: column;
  }


  .hero-image-card {
    border-radius: 22px;
  }


  .hero-image-card img {
    height: 430px;
  }


  .hero-visual {
    min-height: 420px;
  }


  .document-cover {
    width: 76%;
  }


  .proposal-wrapper {
    padding:
      38px 21px;

    border-radius: 22px;
  }


  .proposal-preview {
    min-height: 340px;

    padding:
      28px 18px;
  }


  .mini-document {
    width: 185px;
  }


  .poll-box {
    padding:
      38px 21px;

    border-radius: 22px;
  }


  .poll-options {
    grid-template-columns: 1fr;
  }


  .support-inner {
    padding:
      58px 23px;

    border-radius: 23px;
  }


  /* ---------- ALAPGONDOLATOK ---------- */

  .article-hero {
    padding:
      50px 0 75px;
  }


  .article-hero-content h1 {
    font-size:
      clamp(1.8rem, 7vw, 2.5rem);

    overflow-wrap: anywhere;
  }


  .article-hero-image {
    border-radius: 22px;
  }


  .article-hero-image img {
    height: 390px;
  }


  /* ---------- ALKOTMÁNYKÖZPONT ---------- */

  .learn-hero {
    padding:
      50px 0 75px;
  }


  .learn-hero-content h1 {
    font-size:
      clamp(2.7rem, 12vw, 4rem);
  }


  .learn-hero-lead {
    font-size: 1rem;
  }


  .learn-hero-actions {
    flex-direction: column;
  }


  .learn-hero-card {
    padding: 22px;

    border-radius: 22px;
  }


  .learn-document {
    min-height: 390px;

    padding: 28px;
  }


  .learn-section-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }


  .learn-action-card {
    padding: 34px 26px;

    grid-template-columns: 1fr;

    text-align: left;

    border-radius: 24px;
  }


  .learn-action-button {
    margin-top: 6px;
  }


  .learn-summary-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 14px;
  }


  .chapter-list-wrap {
    padding: 24px 20px;
  }


  .chapter-list {
    grid-template-columns: 1fr;

    max-height: 360px;
  }


  .learn-back-box {
    padding: 38px 24px;

    flex-direction: column;
    align-items: flex-start;

    border-radius: 22px;
  }


  /* ---------- FIATALOK / IDŐSEK / PATH ---------- */

  .youth-hero,
  .senior-hero,
  .path-hero {
    padding:
      50px 0 75px;
  }


  .youth-hero-content h1,
  .senior-hero h1,
  .path-hero h1 {
    font-size:
      clamp(2.7rem, 12vw, 4rem);

    overflow-wrap: anywhere;
  }


  .youth-hero-lead,
  .senior-hero-lead,
  .path-hero-lead {
    font-size: 1rem;
  }


  .youth-hero-actions,
  .senior-hero-actions,
  .path-hero-actions {
    flex-direction: column;
  }


  .youth-hero-image,
  .senior-hero-image,
  .path-hero-image {
    border-radius: 22px;
  }


  .youth-hero-image img,
  .senior-hero-image img {
    height: 340px;
  }


  .path-hero-image {
    padding: 24px;
  }


  .youth-reading-content p,
  .senior-reading-content p,
  .path-reading-content p {
    font-size: 1rem;

    line-height: 1.8;
  }


  .youth-quote-box,
  .senior-quote-box,
  .path-quote-box,
  .youth-panel,
  .senior-panel,
  .path-panel {
    padding:
      38px 24px;

    border-radius: 23px;
  }


  .youth-chapter,
  .senior-chapter,
  .path-chapter,
  .youth-task,
  .senior-task,
  .path-task {
    grid-template-columns: 1fr;

    gap: 16px;

    padding:
      27px 22px;

    border-radius: 21px;
  }


  .youth-final-box,
  .senior-final-box,
  .path-final-box {
    padding:
      40px 24px;

    gap: 32px;

    border-radius: 23px;
  }


  /* ---------- FOOTER ---------- */

  .footer-inner {
    flex-direction: column;

    align-items: flex-start;
  }


  /*
    Mobilon feljebb tartjuk,
    hogy ne üljön rá az alsó CTA-gombokra.
  */

  .to-top {
    right: 16px;
    bottom: 88px;

    width: 44px;
    height: 44px;

    font-size: 1rem;
  }

}


/* ==========================================================
   19. NAGYON KESKENY MOBIL
========================================================== */

@media (max-width: 390px) {

  .brand-emblem img,
  .header-inner > :first-child img {
    width: 38px !important;
    height: 38px !important;

    flex: 0 0 38px;
  }


  .brand-area .brand {
    max-width: 80px;
  }


  .page-home .brand {
    font-size: 0.66rem;
  }


  .global-menu-button {
    min-width: 48px;
    width: 48px;
    height: 48px;

    padding: 0;
  }


  .menu-button {
    width: 36px;
    height: 36px;
  }


  .tanakodo-kereses-gomb {
    width: 36px;
    height: 36px;
  }


  .tanakodo-fiok-gomb {
    width: 36px;
    height: 36px;
  }


  .tanakodo-header-jobb-oldal {
    gap: 4px;
  }


  .global-menu-links a {
    font-size: 1.03rem;
  }

}


/* ==========================================================
   20. CSÖKKENTETT ANIMÁCIÓ
========================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;
  }


  .reveal {
    opacity: 1;

    transform: none;
  }

}

/* ==========================================================
   21. TANAKODÓ — KÉP-HELYKITÖLTŐ
   (saját kiegészítés — amíg egy adott szakaszhoz még nincs
   feltöltve valódi kép, ez jelenik meg a keretben)
========================================================== */

.tanakodo-kep-helyorzo {
  width: 100%;
  height: 560px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 10px;

  background:
    repeating-linear-gradient(
      45deg,
      var(--bg-alt, #f3f1ec),
      var(--bg-alt, #f3f1ec) 18px,
      rgba(23, 23, 23, 0.035) 18px,
      rgba(23, 23, 23, 0.035) 36px
    );

  border: 2px dashed rgba(23, 23, 23, 0.18);

  color: rgba(23, 23, 23, 0.45);

  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;

  padding: 20px;
}


.tanakodo-kep-helyorzo span {
  font-size: 2.2rem;
}


@media (max-width: 950px) {
  .tanakodo-kep-helyorzo {
    height: 280px;
  }
}


/* ==========================================================
   22. TANAKODÓ — "VÁLASZTÁSAIM" EGYEDI STÍLUSA
   (csak ezen az oldalon használt, elszigetelt osztályok — nem
   érinti a többi oldal kártyás/szekciós megjelenését)
========================================================== */

.tanakodo-valasztas-sor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 20px 24px;
  margin-bottom: 14px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
}


.tanakodo-valasztas-fo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}


.tanakodo-valasztas-cim {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--text);
}


.tanakodo-valasztas-cim a {
  color: inherit;
}


.tanakodo-valasztas-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;

  font-size: 0.86rem;
  color: var(--muted);
}


.tanakodo-allapot-jelveny {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}


.tanakodo-allapot-tervezet {
  background: var(--purple-light);
  color: var(--purple-dark);
}


.tanakodo-allapot-folyamatban {
  background: var(--gold-light);
  color: #6b5620;
}


.tanakodo-allapot-lezart {
  background: rgba(21, 37, 30, 0.10);
  color: var(--green);
}


.tanakodo-allapot-archivalt {
  background: rgba(23, 23, 23, 0.08);
  color: var(--muted);
}


.tanakodo-valasztas-muveletek {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


.tanakodo-valasztas-muveletek a {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}


.tanakodo-valasztas-muveletek a:hover {
  border-color: var(--purple);
  color: var(--purple);
}


.tanakodo-valasztas-muveletek a.tanakodo-veszelyes {
  color: #a33;
  border-color: rgba(170, 51, 51, 0.3);
}


.tanakodo-valasztas-muveletek a.tanakodo-veszelyes:hover {
  background: rgba(170, 51, 51, 0.08);
  border-color: #a33;
}


.tanakodo-ures-allapot {
  padding: 30px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-small);
}


/* ==========================================================
   23. TANAKODÓ — "KREDIT-EGYENLEG" EGYEDI STÍLUSA
   (csak ezen az oldalon használt, elszigetelt osztályok)
========================================================== */

.tanakodo-egyenleg-doboz {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  padding: 44px 30px;
  margin-bottom: 10px;

  background: var(--green);
  color: #fff;

  border-radius: var(--radius);
  box-shadow: var(--shadow);

  text-align: center;
}


.tanakodo-feltoltes-gomb {
  margin-top: 18px;
}


.tanakodo-egyenleg-szam {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  font-variant-numeric: lining-nums;
}


.tanakodo-egyenleg-cimke {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}


.tanakodo-status-kartya {
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
}


.tanakodo-status-kartya label {
  display: block;

  margin-bottom: 6px;

  color: var(--muted);

  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


.tanakodo-status-kartya dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 18px;
  margin: 16px 0 0;
}


.tanakodo-status-kartya dt {
  color: var(--muted);
  font-size: 0.88rem;
}


.tanakodo-status-kartya dd {
  margin: 0;
  font-weight: 650;
}


.tanakodo-tranzakcio-tabla {
  width: 100%;
  border-collapse: collapse;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  overflow: hidden;

  box-shadow: var(--shadow);
}


.tanakodo-tranzakcio-tabla th {
  background: var(--purple-light);
  color: var(--purple-dark);

  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  padding: 12px 16px;
}


.tanakodo-tranzakcio-tabla td {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}


.tanakodo-tranzakcio-tabla tr:hover td {
  background: rgba(117, 81, 201, 0.04);
}


.tanakodo-osszeg-pozitiv {
  color: #1a7a1a;
  font-weight: 700;
}


.tanakodo-osszeg-negativ {
  color: #a33;
  font-weight: 700;
}


/* ==========================================================
   24. TANAKODÓ — "SÚGÓ" EGYEDI STÍLUSA
   (csak a sugo/ mappa oldalain használt, elszigetelt osztályok)
========================================================== */

.tanakodo-sugo-kereso {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;

  margin-bottom: 8px;
}


.tanakodo-sugo-kereso input[type="text"] {
  flex: 1 1 320px;
  max-width: none;
}


.tanakodo-sugo-cikk {
  margin-bottom: 12px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);

  overflow: hidden;
}


.tanakodo-sugo-cikk summary {
  cursor: pointer;
  list-style: none;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 16px 20px;

  font-weight: 650;
}


.tanakodo-sugo-cikk summary::-webkit-details-marker {
  display: none;
}


.tanakodo-sugo-cikk summary::after {
  content: "+";

  flex: 0 0 auto;

  color: var(--purple);
  font-size: 1.3rem;
  font-weight: 700;
}


.tanakodo-sugo-cikk[open] summary::after {
  content: "–";
}


.tanakodo-sugo-cikk-tartalom {
  padding: 0 20px 20px;

  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ==========================================================
   24b. TANAKODÓ — "GYAKORI KÉRDÉSEK" (kezdőlap, #gyik)
   A Súgó-cikkekhez hasonló lenyíló minta, de a kérdés (summary)
   szándékosan JÓL ELKÜLÖNÜLŐ, színes hátteret kap, hogy azonnal
   látszódjon: ez a kérdés, a válasz pedig lent, sima háttéren jön.
========================================================== */

.tanakodo-gyik-csoport-cim {
  margin: 46px 0 18px;

  padding-bottom: 10px;

  border-bottom: 2px solid var(--gold);

  color: var(--purple-dark);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
}


.tanakodo-gyik-csoport-cim:first-of-type {
  margin-top: 8px;
}


.tanakodo-gyik-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.tanakodo-gyik-cikk {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-small);

  background: var(--surface);
  box-shadow: var(--shadow);
}


.tanakodo-gyik-cikk summary {
  cursor: pointer;
  list-style: none;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;

  padding: 18px 22px;

  background: var(--purple-light);
  color: var(--purple-dark);

  font-weight: 700;
  line-height: 1.4;

  transition: background 0.2s ease;
}


.tanakodo-gyik-cikk summary:hover {
  background: #e4dcf5;
}


.tanakodo-gyik-cikk summary::-webkit-details-marker {
  display: none;
}


.tanakodo-gyik-cikk summary::after {
  content: "+";

  flex: 0 0 auto;

  color: var(--purple);
  font-size: 1.3rem;
  font-weight: 700;
}


.tanakodo-gyik-cikk[open] summary {
  border-bottom: 1px solid var(--border);
}


.tanakodo-gyik-cikk[open] summary::after {
  content: "–";
}


.tanakodo-gyik-valasz {
  padding: 20px 22px;

  background: var(--surface);
  color: var(--text);

  font-size: 0.97rem;
  line-height: 1.75;
}


.tanakodo-gyik-valasz p + p {
  margin-top: 14px;
}


.tanakodo-gyik-bezar {
  margin-top: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-left: auto;

  width: 34px;
  height: 34px;

  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--purple-light);
  color: var(--purple-dark);

  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}


.tanakodo-gyik-bezar:hover {
  background: var(--purple);
  color: #ffffff;
}


@media (max-width: 650px) {
  .tanakodo-gyik-cikk summary {
    padding: 15px 18px;

    font-size: 0.95rem;
  }

  .tanakodo-gyik-valasz {
    padding: 16px 18px;

    font-size: 0.93rem;
  }
}


/* --- Súgó-asszisztens: beszélgetés-buborékok --- */

.tanakodo-beszelgetes {
  display: flex;
  flex-direction: column;
  gap: 18px;

  margin-bottom: 30px;
}


.tanakodo-buborek-sor {
  display: flex;
}


.tanakodo-buborek-sor.tanakodo-en {
  justify-content: flex-end;
}


.tanakodo-buborek {
  max-width: min(560px, 88%);

  padding: 14px 18px;

  border-radius: 18px;

  line-height: 1.6;
  font-size: 0.95rem;
}


.tanakodo-en .tanakodo-buborek {
  background: var(--purple);
  color: #fff;

  border-bottom-right-radius: 4px;
}


.tanakodo-asszisztens .tanakodo-buborek {
  background: var(--surface);
  border: 1px solid var(--border);

  border-bottom-left-radius: 4px;

  box-shadow: var(--shadow);
}


.tanakodo-asszisztens .tanakodo-buborek strong {
  display: block;
  margin-bottom: 4px;
  color: var(--purple-dark);
}


.tanakodo-asszisztens .tanakodo-buborek + .tanakodo-buborek {
  margin-top: 8px;
}


/* ==========================================================
   25. TANAKODÓ — FEJLÉC-KERESŐ (nagyító + kereső-panel)
   Minden oldalon megjelenik (includes/fejlec.php). A jobb oldali
   csoportot (kereső + helyi menü + hamburger) egy közös flex-
   konténerbe tettük, hogy biztonságosan, egymást nem takarva
   férjenek el a header-inner rács 3. oszlopában.
========================================================== */

.tanakodo-header-jobb-oldal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;

  flex: 1 1 auto;
  min-width: 90px;
}


/* ==========================================================
   25a. TANAKODÓ — FEJLÉC FIÓK-GOMB
   Bejelentkezés / a bejelentkezett felhasználó neve + legördülő
   (Saját adataim, Kredit-egyenleg, Admin-irányítópult, Kijelentkezés).
========================================================== */


.tanakodo-kereses-terulet {
  position: relative;
}


.tanakodo-fiok-terulet {
  position: relative;
}


.tanakodo-fiok-gomb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  height: 44px;
  padding: 0 20px;

  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);

  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: 0 2px 10px rgba(23, 23, 23, 0.05);

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}


.tanakodo-fiok-ikon {
  flex-shrink: 0;
  opacity: 0.75;
}


.tanakodo-fiok-gomb:hover,
.tanakodo-fiok-gomb[aria-expanded="true"] {
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: 0 6px 18px rgba(23, 23, 23, 0.09);
}


.tanakodo-fiok-gomb-link {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}


.tanakodo-fiok-gomb-link:hover {
  color: #fff;
  opacity: 0.9;
}


.tanakodo-fiok-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;

  display: flex;
  flex-direction: column;

  min-width: 220px;

  padding: 10px;

  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 16px;

  box-shadow: 0 22px 55px rgba(23, 23, 23, 0.14);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;

  z-index: 1200;
}


.tanakodo-fiok-panel.tanakodo-nyitva {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}


.tanakodo-fiok-panel a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}


.tanakodo-fiok-panel a:hover {
  background: var(--bg-soft, rgba(0,0,0,0.04));
  color: var(--purple);
}


/* ==========================================================
   25b. TANAKODÓ — EGYSZERŰ ŰRLAPOS OLDALKÁRTYA
   Bejelentkezés, jelszó-visszaállítás és hasonló, egy-oszlopos
   űrlapos oldalak jobb hasábjához — az article-hero-grid második
   oszlopában, a szöveges baloldal mellett.
========================================================== */

.tanakodo-belepo-kartya {
  padding: 32px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;

  box-shadow: 0 22px 55px rgba(23, 23, 23, 0.08);
}


.tanakodo-form-stack p {
  margin-bottom: 18px;
}


.tanakodo-form-stack label {
  display: block;
  margin-bottom: 6px;

  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
}


.tanakodo-form-stack input {
  max-width: 100%;
}


.tanakodo-jelszo-mezo {
  position: relative;

  display: block;
}


.tanakodo-jelszo-mezo input {
  padding-right: 46px;
}


.tanakodo-jelszo-szem {
  position: absolute;
  top: 50%;
  right: 12px;

  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  color: var(--muted);

  cursor: pointer;
}


.tanakodo-jelszo-szem:hover {
  color: var(--purple);
}


/* A böngésző saját, beépített szem-ikonjának elrejtése (pl. Edge),
   hogy ne kerüljön két ikon egymás mellé — csak a saját, működő
   ikonunk maradjon látható. */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}


.tanakodo-btn-block {
  width: 100%;
}


.tanakodo-hibauzenet {
  margin-bottom: 18px;
  padding: 12px 16px;

  background: rgba(200, 0, 0, 0.08);
  border: 1px solid rgba(200, 0, 0, 0.25);
  border-radius: 12px;

  color: #c00;
  font-size: 0.9rem;
}


.tanakodo-hibauzenet li {
  margin-left: 18px;
}


.tanakodo-sikeruzenet {
  padding: 14px 18px;

  background: rgba(52, 168, 83, 0.1);
  border: 1px solid rgba(52, 168, 83, 0.3);
  border-radius: 12px;

  color: #1e7e34;
  font-weight: 600;
}


.tanakodo-radio-sor {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}


.tanakodo-radio-sor label {
  display: flex;
  align-items: center;
  gap: 6px;

  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
}


.tanakodo-radio-sor input {
  width: auto;
}


.tanakodo-mellek-link {
  display: inline-block;
  margin-top: 18px;

  color: var(--purple);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}


.tanakodo-mellek-link:hover {
  text-decoration: underline;
}


@media (max-width: 900px) {
  .tanakodo-belepo-kartya {
    padding: 24px;
  }
}


/* ==========================================================
   25c. TANAKODÓ — "ÚJ VÁLASZTÁS INDÍTÁSA" VARÁZSLÓ
   A lépésenkénti varázsló (uj_valasztas.php) tartalmát változtatás
   nélkül, egy stílusos kártyába csomagoltuk — a mezők/gombok/logika
   érintetlen, csak a MEGJELENÉS lett szépítve, kizárólag ezen az
   oldalon (más oldalt nem érint).
========================================================== */

.tanakodo-varazslo-kartya {
  max-width: 760px;
  margin: 28px auto 0;

  padding: 40px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;

  box-shadow: 0 22px 55px rgba(23, 23, 23, 0.08);
}


.tanakodo-varazslo-kartya h1 {
  padding-left: 18px;

  border-left: 4px solid var(--gold);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
}


.tanakodo-varazslo-kartya h2 {
  margin-top: 34px;
  margin-bottom: 6px;

  color: var(--purple-dark);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 600;
}


.tanakodo-varazslo-kartya > form,
.tanakodo-varazslo-kartya > ul {
  margin-top: 22px;
}


.tanakodo-varazslo-kartya p {
  margin-bottom: 14px;
}


.tanakodo-varazslo-kartya label {
  font-weight: 600;
  font-size: 0.92rem;
}


.tanakodo-varazslo-kartya ul {
  padding-left: 20px;
  color: var(--muted);
}


.tanakodo-varazslo-kartya li {
  margin-bottom: 6px;
}


.tanakodo-varazslo-kartya textarea,
.tanakodo-varazslo-kartya select,
.tanakodo-varazslo-kartya input {
  margin-top: 6px;
}


.tanakodo-varazslo-kartya button[type="submit"] {
  padding: 13px 26px;

  color: #ffffff;

  border-radius: 999px;

  background: var(--purple);

  font-weight: 700;

  cursor: pointer;

  box-shadow: 0 12px 28px rgba(117, 81, 201, 0.25);

  transition: background 0.2s ease, transform 0.2s ease;
}


.tanakodo-varazslo-kartya button[type="submit"]:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}


.tanakodo-varazslo-kartya a {
  color: var(--purple);
  font-weight: 600;
}


.tanakodo-varazslo-kartya a:hover {
  text-decoration: underline;
}


.tanakodo-dij-jelzes {
  margin-bottom: 20px;

  color: var(--muted);
  font-size: 0.85rem;
}


.tanakodo-dij-jelzes strong {
  color: var(--purple-dark);
}


/* ---- Info-gomb (ⓘ), minden mezőnél — <details>-alapú, JS nélkül ---- */

.tanakodo-info {
  display: inline-block;

  margin-left: 6px;

  vertical-align: middle;
}


.tanakodo-info summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  border-radius: 50%;

  background: var(--purple-light);
  color: var(--purple-dark);

  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;

  cursor: pointer;
  list-style: none;

  transition: background 0.2s ease, color 0.2s ease;
}


.tanakodo-info summary::-webkit-details-marker {
  display: none;
}


.tanakodo-info summary:hover,
.tanakodo-info[open] summary {
  background: var(--purple);
  color: #ffffff;
}


.tanakodo-info-panel {
  margin: 10px 0 6px;
  padding: 14px 16px;

  background: var(--purple-light);
  border-radius: 14px;

  color: var(--text);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.6;
}


.tanakodo-info-panel p + p {
  margin-top: 10px;
}


/* ---- Kredit-sáv a varázsló tetején ---- */

.tanakodo-kredit-sav {
  width: 100%;
  max-width: 760px;
  margin: 18px auto 0;

  padding: 14px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);

  font-size: 0.92rem;

  cursor: pointer;

  box-shadow: 0 2px 10px rgba(23, 23, 23, 0.05);

  transition: border-color 0.2s ease;
}


.tanakodo-kredit-sav:hover {
  border-color: var(--purple);
}


.tanakodo-kredit-sav strong {
  color: var(--purple-dark);
}


.tanakodo-kredit-sav-gomb {
  padding: 6px 16px;

  border-radius: 999px;

  background: var(--purple);
  color: #ffffff;

  font-weight: 700;
  font-size: 0.82rem;
}


/* ---- Kredit-feltöltés felugró ablak (natív <dialog>) ---- */

.tanakodo-kredit-dialog {
  width: min(420px, calc(100vw - 48px));

  padding: 32px;

  border: none;
  border-radius: 24px;

  box-shadow: 0 30px 70px rgba(23, 23, 23, 0.25);
}


.tanakodo-kredit-dialog::backdrop {
  background: rgba(23, 23, 23, 0.45);
}


.tanakodo-kredit-dialog h2 {
  margin-bottom: 14px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--purple-dark);
}


.tanakodo-kredit-dialog p {
  margin-bottom: 16px;

  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}


.tanakodo-kredit-dialog .btn {
  width: 100%;
  margin-bottom: 10px;
}


.tanakodo-dialog-bezar {
  width: 100%;

  padding: 10px;

  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;

  color: var(--muted);
  font-weight: 600;

  cursor: pointer;
}


.tanakodo-dialog-bezar:hover {
  border-color: var(--purple);
  color: var(--purple);
}


/* ---- Egyedi mezők szerkesztője (uj_valasztas.php, 2. lépés) ---- */

.tanakodo-egyedi-mezo-szerkeszto {
  margin-top: 6px;
  margin-bottom: 28px;
}


.tanakodo-egyedi-mezo-lista {
  display: flex;
  flex-direction: column;
  gap: 8px;

  margin-bottom: 10px;
}


.tanakodo-egyedi-mezo-sor {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;

  padding: 10px 14px;

  background: var(--purple-light);
  border-radius: 12px;
}


.tanakodo-egyedi-mezo-nev {
  color: var(--purple-dark);
  font-weight: 600;
}


.tanakodo-egyedi-mezo-gombok {
  display: flex;
  align-items: center;
  gap: 4px;

  flex: 0 0 auto;
}


.tanakodo-egyedi-mezo-nyil,
.tanakodo-egyedi-mezo-torol {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 26px;
  height: 26px;

  border: none;
  border-radius: 50%;

  background: #ffffff;
  color: var(--purple-dark);

  font-size: 0.8rem;

  cursor: pointer;

  transition: background 0.2s ease, color 0.2s ease;
}


.tanakodo-egyedi-mezo-nyil:hover:not(:disabled) {
  background: var(--purple);
  color: #ffffff;
}


.tanakodo-egyedi-mezo-nyil:disabled {
  opacity: 0.3;
  cursor: default;
}


.tanakodo-egyedi-mezo-torol {
  color: #b3261e;
  font-size: 1rem;
  font-weight: 700;
}


.tanakodo-egyedi-mezo-torol:hover {
  background: #b3261e;
  color: #ffffff;
}


.tanakodo-egyedi-mezo-ures {
  padding: 10px 14px;

  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
}


.tanakodo-egyedi-mezo-uj-sor {
  display: flex;
  gap: 8px;
}


.tanakodo-egyedi-mezo-uj-sor input {
  flex: 1 1 auto;
}


.tanakodo-egyedi-mezo-uj-sor button {
  flex: 0 0 auto;

  padding: 0 20px;

  border-radius: 999px;

  background: var(--purple);
  color: #ffffff;

  font-weight: 700;
  font-size: 0.88rem;

  cursor: pointer;
}


.tanakodo-egyedi-mezo-uj-sor button:hover {
  background: var(--purple-dark);
}


/* ---- Admin: Rendszerbeállítások áttekintő (admin/rendszerbeallitasok.php) ---- */

.tanakodo-admin-csoport {
  margin-bottom: 40px;
}


.tanakodo-admin-csoport h2 {
  margin-bottom: 14px;
  padding-bottom: 8px;

  border-bottom: 2px solid var(--gold);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--purple-dark);
}


.tanakodo-admin-lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.tanakodo-admin-sor {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 14px;

  padding: 16px 20px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}


.tanakodo-admin-cimke {
  flex: 1 1 260px;

  display: flex;
  flex-direction: column;
  gap: 4px;

  font-weight: 600;
}


.tanakodo-admin-leiras {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 400;
}


.tanakodo-admin-ingyenes-jelzo {
  display: inline-block;
  width: fit-content;

  padding: 3px 10px;

  border-radius: 999px;

  background: var(--purple-light);
  color: var(--purple-dark);

  font-size: 0.78rem;
  font-weight: 700;
}


.tanakodo-admin-sor input[type="text"] {
  flex: 0 1 220px;
}


.tanakodo-admin-csomag-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}


.tanakodo-admin-csomag {
  padding: 20px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}


.tanakodo-admin-csomag p {
  margin-bottom: 10px;
}


@media (max-width: 650px) {
  .tanakodo-admin-sor {
    flex-direction: column;
    align-items: stretch;
  }

  .tanakodo-admin-sor input[type="text"] {
    flex: 1 1 auto;
  }
}


@media (max-width: 650px) {
  .tanakodo-varazslo-kartya {
    padding: 24px;
  }
}


/* Keskeny (mobil) nézetben a fiók-gomb szövege eltűnik, csak az
   ikon marad, kör alakban — hogy a fejléc jobb oldalán elférjen a
   keresés-ikon és a helyi hamburger mellett. Szándékosan EZUTÁN a
   szabály után van, hogy a fenti, feltétel nélküli méretezést
   felülírhassa. */
@media (max-width: 650px) {

  .tanakodo-fiok-gomb {
    width: 40px;
    height: 40px;
    padding: 0;
    gap: 0;
  }


  .tanakodo-fiok-szoveg {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

}


.tanakodo-kereses-gomb {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}


.tanakodo-kereses-gomb:hover,
.tanakodo-kereses-gomb[aria-expanded="true"] {
  border-color: var(--purple);
  color: var(--purple);
}


.tanakodo-kereses-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;

  width: min(380px, calc(100vw - 40px));

  padding: 18px;

  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 20px;

  box-shadow: 0 22px 55px rgba(23, 23, 23, 0.14);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;

  z-index: 1200;
}


.tanakodo-kereses-panel.tanakodo-nyitva {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}


.tanakodo-kereses-modvalaszto {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;

  margin-bottom: 12px;

  font-size: 0.82rem;
}


.tanakodo-kereses-modvalaszto label {
  display: flex;
  align-items: center;
  gap: 6px;

  color: var(--muted);

  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
}


.tanakodo-kereses-modvalaszto input {
  width: auto;
}


.tanakodo-kereses-panel input[type="text"] {
  width: 100%;
  max-width: 100%;
}


.tanakodo-kereses-allapot-sor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  margin-top: 10px;
}


.tanakodo-kereses-allapot {
  color: var(--muted);
  font-size: 0.8rem;
}


.tanakodo-kereses-nyilak {
  display: flex;
  gap: 4px;

  flex: 0 0 auto;
}


.tanakodo-nyil-gomb {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--purple);

  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
}


.tanakodo-nyil-gomb:hover {
  background: var(--purple-light);
  border-color: var(--purple);
}


.tanakodo-nyil-gomb[hidden] {
  display: none;
}


.tanakodo-kereses-eredmenyek {
  margin-top: 8px;

  max-height: 360px;
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  gap: 6px;
}


.tanakodo-talalat-sor {
  display: block;

  padding: 10px 12px;

  border-radius: 12px;

  color: var(--text);
}


.tanakodo-talalat-sor strong {
  display: block;

  font-size: 0.92rem;
  font-weight: 700;
}


.tanakodo-talalat-sor span {
  display: block;

  margin-top: 3px;

  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}


.tanakodo-talalat-sor:hover,
.tanakodo-talalat-sor.tanakodo-kijelolve {
  background: var(--purple-light);
}


mark.tanakodo-kiemeles {
  background: #fff3b0;
  color: inherit;
  border-radius: 3px;
}


mark.tanakodo-kiemeles-aktiv {
  background: var(--gold);
  color: #1a1a1a;
}


@media (max-width: 950px) {
  .tanakodo-kereses-panel {
    position: fixed;

    top: var(--header-height);
    left: 12px;
    right: 12px;

    width: auto;
    max-width: none;
  }
}


.tanakodo-kereses-gomb:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}
