/* ===== MASTER CSS KEZDETE — pampampam.hu ===== */
/* Készült: 2026.04 — ezt az egy blokkot illeszd a Kadence Customizer → Additional CSS mezőbe */

/* ---------- DESIGN TOKENEK ---------- */
:root {
  --white: #FFFFFF;
  --grey: #F7FAFC;
  --dark: #1A1A2E;
  --accent: #2D6A8E;
  --accent-light: #E8F4F8;
  --text: #1A1A2E;
  --text-mid: #4A5568;
  --text-light: #718096;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(26,26,46,.06);
  --shadow-md: 0 4px 12px rgba(26,26,46,.08);
  --shadow-lg: 0 8px 24px rgba(26,26,46,.12);
  --radius: 8px;
  --radius-lg: 12px;
}

/* ---------- ÁLTALÁNOS LAYOUT ---------- */
.inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }
.grey { background: var(--grey); }
.dark { background: var(--dark); color: var(--white); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark .section-num { color: #63B3ED; }
.dark .subtitle, .dark .text-mid { color: rgba(255,255,255,.75); }
.dark hr.sep { border-color: rgba(255,255,255,.15); }
.dark .btn-primary { background: var(--white); color: var(--dark); border-color: var(--white); }
.dark .btn-primary:hover { background: transparent; color: var(--white); border-color: var(--white); }
.dark .btn-outline { border-color: var(--white); color: var(--white); }
.dark .btn-outline:hover { background: var(--white); color: var(--dark); }

/* Oszloprendszer — Kadence Row Layouthoz kiegészítés */
.cols { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-2-45 { grid-template-columns: 45% 55%; }
.cols-2-55 { grid-template-columns: 55% 45%; }
.cols-2-60 { grid-template-columns: 60% 40%; }

/* Szekcióelválasztó */
.sep { border: 0; border-top: 1px solid var(--border); margin: 48px 0; }

/* ---------- TIPOGRÁFIA ---------- */
.section-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-label {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 16px;
}
.subtitle {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 24px;
}
.author {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
}

/* ---------- INFO-BOX ---------- */
.info-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.info-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.info-box.tall { padding: 40px 32px; }
.info-box .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius);
  color: var(--accent);
  margin-bottom: 16px;
}
.info-box h3 { margin: 0 0 12px; font-size: 20px; }
.info-box p { margin: 0; color: var(--text-mid); line-height: 1.6; }

/* ---------- CHANNEL-BOX (Háromcsatornás Kódolás) ---------- */
.channel-box {
  background: var(--white);
  border: 2px solid var(--accent-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.channel-box:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.channel-box .channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 16px;
}
.channel-box .channel-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.channel-box h3 { margin: 0 0 12px; font-size: 22px; }
.channel-box p { margin: 0; color: var(--text-mid); line-height: 1.6; }

/* ---------- METRIC-BOX (sötét, nagy szám) ---------- */
.metric-box {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
}
.metric-box .metric {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.metric-box .metric-label {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin: 0;
}

/* ---------- PHASE-ITEM (Játékszabály 6 fázis) ---------- */
.phase-item {
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.phase-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(2px);
}
.phase-item .num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.phase-item h3 { margin: 0 0 8px; font-size: 18px; }
.phase-item p { margin: 0; color: var(--text-mid); font-size: 15px; line-height: 1.6; }
.phase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ---------- ACCORDION (Kézikönyv, Rendszer GYIK) ---------- */
.accordion { border-top: 1px solid var(--border); }
.accordion-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.accordion-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--text);
  cursor: pointer;
}
.accordion-item p { margin: 0; color: var(--text-mid); line-height: 1.6; }

/* ---------- TESTIMONIAL ---------- */
.testimonial {
  background: var(--grey);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.testimonial::before {
  content: "\201E";
  position: absolute;
  top: 8px;
  left: 20px;
  font-size: 72px;
  color: var(--accent-light);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial .quote {
  font-size: 17px;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}
.testimonial .author {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
}

/* ---------- HIGHLIGHT-BOX (kiemelt pedagógiai idézet) ---------- */
.highlight-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 24px 0;
  font-size: 17px;
  color: var(--text);
  line-height: 1.7;
}
.highlight-box strong { color: var(--accent); }

/* ---------- ICON-LIST (Lucide) ---------- */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--text);
  line-height: 1.6;
}
.icon-list .li-ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent-light);
  border-radius: 50%;
  color: var(--accent);
  margin-top: 2px;
}

/* ---------- DATA-TABLE (Paklik) ---------- */
.data-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: var(--radius-lg);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.data-table th {
  background: var(--accent);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
}
.data-table tr:nth-child(even) td { background: var(--grey); }
.data-table tr:last-child td { border-bottom: 0; }

/* ---------- GOMBOK ---------- */
.btn, .btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all .2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}
.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- STEP-BLOCK (Tanulási útvonal, Blog) ---------- */
.step-block {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: box-shadow .2s, border-color .2s;
}
.step-block:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}
.step-block .step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
}
.step-block h3 { margin: 0 0 8px; font-size: 18px; }
.step-block p { margin: 0; color: var(--text-mid); font-size: 15px; line-height: 1.6; }

/* ---------- IMG-PLACEHOLDER ---------- */
.img-placeholder {
  background: linear-gradient(135deg, var(--grey) 0%, var(--accent-light) 100%);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
  min-height: 240px;
  padding: 24px;
  text-align: center;
}

/* ---------- FORM-FIELD (Kapcsolat) ---------- */
.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color .2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
}

/* ---------- NYELVVÁLASZTÓ — FEJLÉC ---------- */
.menu-item-language-switcher select,
.trp-language-switcher select {
  background: transparent;
  border: none;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 8px;
  cursor: pointer;
}
.trp-language-switcher select:hover { color: var(--accent); }
.trp-language-switcher { display: inline-flex; align-items: center; }

/* ---------- NYELVVÁLASZTÓ — LÁBLÉC ---------- */
.footer-language-switcher {
  text-align: center;
  padding: 16px 0;
  font-size: 14px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.footer-ls-label { margin-right: 8px; }
.footer-language-switcher .trp-language-switcher { display: inline-block; }
.footer-language-switcher .trp-language-switcher a {
  color: var(--text-light);
  text-decoration: none;
  padding: 0 8px;
}
.footer-language-switcher .trp-language-switcher a:hover { color: var(--accent); }
.footer-language-switcher .trp-language-switcher a.trp-ls-active {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- RESPONSIVE — TABLET (≤ 1024px) ---------- */
@media (max-width: 1024px) {
  .cols-3, .cols-4, .phase-grid { grid-template-columns: repeat(2, 1fr); }
  .inner { padding: 0 20px; }
}

/* ---------- RESPONSIVE — MOBIL (≤ 768px) ---------- */
@media (max-width: 768px) {
  .cols-2, .cols-3, .cols-4,
  .cols-2-45, .cols-2-55, .cols-2-60,
  .phase-grid {
    grid-template-columns: 1fr;
  }
  .info-box, .channel-box { padding: 24px 20px; }
  .info-box.tall { padding: 32px 24px; }
  .metric-box { padding: 32px 20px; }
  .metric-box .metric { font-size: 38px; }
  .testimonial { padding: 24px 20px; }
  .step-block { padding: 20px; gap: 16px; }
  .step-block .step-num { width: 36px; height: 36px; font-size: 16px; }
  .data-table th, .data-table td { padding: 10px 12px; font-size: 14px; }
  .btn, .btn-primary, .btn-outline { padding: 14px 24px; font-size: 15px; min-height: 48px; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn, .btn-group .btn-primary, .btn-group .btn-outline { width: 100%; }
  .sep { margin: 32px 0; }
}

/* ===== MASTER CSS VÉGE ===== */

.site-header-upper-inner-wrap {
  transition: box-shadow 0.3s ease;
}

.site-header-upper-inner-wrap.item-is-stuck,
.site-header-upper-inner-wrap.item-is-fixed,
.kadence-sticky-header.item-is-stuck {
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.12) !important;
}
