/*
Theme/global styles for Kárpátok Forrása landing page.
Load globally from the child theme or WordPress Customizer / Additional CSS.
*/

:root {
  --kf-red-dark:   #b3122f;
  --kf-red:        #e63946;
  --kf-white-soft: #fff5f5;
  --kf-white:      #f8faf8;
  --kf-green-soft: #7fb77e;
  --kf-green:      #1f7a4d;
  --kf-green-dark: #163a2f;
  --kf-graphite:   #2a2a2a;
  --kf-black:      #050505;
  --kf-surface:    #0d0d0d;
  --kf-surface-2:  #141414;
  --kf-border:     rgba(255, 255, 255, .08);
  --kf-text:       #cfcfcf;
  --kf-text-muted: #888;
}

body.page-template-template-fullwidth-kf-1 {
  background: transparent !important;
}

@media (min-width: 922px) {
  .ast-container {
    max-width: 1240px;
  }
}

.entry-content .wp-audio-shortcode,
.entry-content .wp-embedded-audio,
.entry-content .wp-embedded-video,
.entry-content .wp-video,
.entry-content p {
  margin-bottom: 0em;
}

.kf-page {
  background: transparent;
  color: var(--kf-white);
  font-family: Georgia, 'Times New Roman', serif;
  overflow: hidden;
}

.kf-page * {
  box-sizing: border-box;
}

.kf-section {
  padding: 110px 24px;
  position: relative;
}

.kf-container {
  width: min(1180px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.kf-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 10%, rgba(230, 57, 70, 0.22), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(31, 122, 77, 0.26), transparent 36%),
    linear-gradient(180deg, #000 0%, #101010 55%, #163a2f 140%);
}

.kf-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.kf-kicker {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.72);
  color: #d8d8d8;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.kf-title {
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 30px;
  color: var(--kf-white);
  font-weight: 700;
}

.kf-title span {
  color: var(--kf-red);
}

.kf-lead {
  max-width: 660px;
  color: #cfcfcf;
  font-size: 20px;
  line-height: 1.75;
  margin: 0 0 42px;
}

.kf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.kf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 18px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  transition: 0.25s ease;
}

.kf-btn-primary {
  background: var(--kf-red-dark);
  color: #fff;
}

.kf-btn-primary:hover {
  background: var(--kf-red);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.kf-btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.kf-btn-secondary:hover {
  border-color: var(--kf-green-soft);
  color: var(--kf-green-soft);
  transform: translateY(-2px);
  text-decoration: none;
}

.kf-btn-green {
  border-color: var(--kf-green-soft);
  color: var(--kf-green-soft);
  background: rgba(127, 183, 126, 0.08);
}

.kf-btn-green:hover {
  background: var(--kf-green-soft);
  border-color: var(--kf-green-soft);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.kf-logo-card {
  width: min(315px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 auto;
  background: radial-gradient(circle at center, #1b1b1b 0%, #080808 72%);
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.kf-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.kf-logo-placeholder {
  text-align: center;
  color: #fff;
}

.kf-cross {
  color: var(--kf-red);
  font-size: 58px;
  margin-bottom: 20px;
}

.kf-logo-text-main {
  font-size: 28px;
  letter-spacing: 0.32em;
  margin-bottom: 12px;
}

.kf-logo-text-sub {
  color: var(--kf-green-soft);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  font-size: 13px;
}

.kf-dark {
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kf-center {
  text-align: center;
}

.kf-section-title {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  margin: 0 0 22px;
  color: #fff;
  font-weight: 700;
}

.kf-section-text {
  max-width: 800px;
  margin: 0 auto;
  color: #bdbdbd;
  font-size: 18px;
  line-height: 1.75;
}

.kf-cards {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kf-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  padding: 34px;
  min-height: 260px;
  transition: 0.25s ease;
  text-align: left;
}

.kf-card:hover {
  transform: translateY(-5px);
  border-color: rgba(127, 183, 126, 0.42);
}

.kf-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)), rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.kf-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}

.kf-icon svg {
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 2;
}

.kf-card h3 {
  font-size: 28px;
  margin: 0 0 14px;
  color: #fff;
}

.kf-card p {
  margin: 0;
  color: #b9b9b9;
  line-height: 1.7;
  font-size: 16px;
}

.kf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.kf-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.kf-list li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 18px;
  padding: 16px 18px;
  color: #d0d0d0;
  line-height: 1.55;
}

.kf-list strong {
  color: #fff;
}

.kf-palette {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.kf-color {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.kf-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.kf-product {
  min-height: 430px;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.kf-product:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.kf-product::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.16) 28%, rgba(0, 0, 0, 0.82) 100%);
}

.kf-product-content {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 3;
}

.kf-product-label {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.kf-product-title {
  color: #fff;
  font-size: clamp(14px, 3vw, 22px);
  line-height: 1.1;
  font-weight: 700;
}

.kf-product.black {
  background-image: url('/wp-content/uploads/2026/05/63519315-0f71-4ae8-95b6-ae67a5ec3e67.png');
}

.kf-product.red {
  background-image: url('/wp-content/uploads/2026/05/ChatGPT-Image-2026.-maj.-21.-10_26_37.png');
}

.kf-product.green {
  background-image: url('/wp-content/uploads/2026/05/a94fe4e3-82c2-4164-92f2-fbcb616928f6.png');
}

.kf-product.light {
  background-image: url('/wp-content/uploads/2026/05/d71ca602-4a77-4bde-9501-ac4ab7d1ea07.png');
}

.kf-product.light::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.18) 32%, rgba(0, 0, 0, 0.72) 100%);
}

.kf-program-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kf-program {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 26px;
  padding: 28px;
  min-height: 230px;
}

.kf-program-number {
  color: var(--kf-red);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 22px;
}

.kf-program h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 24px;
}

.kf-program p {
  margin: 0;
  color: #b9b9b9;
  line-height: 1.65;
  font-size: 15px;
}

.kf-cta {
  background:
    radial-gradient(circle at 50% 30%, rgba(230, 57, 70, 0.25), transparent 38%),
    linear-gradient(180deg, var(--kf-green-dark), #000);
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.kf-cta .kf-section-title {
  margin-bottom: 18px;
}

.kf-cta .kf-section-text {
  margin-bottom: 30px;
}

.kf-cta .kf-btn-secondary {
  border-color: var(--kf-green-soft);
  color: var(--kf-green-soft);
  background: rgba(127, 183, 126, 0.08);
}

.kf-cta .kf-btn-secondary:hover {
  border-color: var(--kf-green-soft);
  color: #fff;
  background: var(--kf-green-soft);
  transform: translateY(-2px);
}

/* ─── Főoldal preview grid (blog + termék) ───────────────────── */

.kf-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  text-align: left;
}

@media (max-width: 1024px) {
  .kf-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .kf-preview-grid {
    grid-template-columns: 1fr;
  }
}

.kf-preview-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--kf-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, transform .25s ease;
}

.kf-preview-card:hover {
  border-color: rgba(127, 183, 126, .38);
  transform: translateY(-4px);
}

.kf-preview-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.kf-preview-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.kf-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.kf-preview-card:hover .kf-preview-thumb img {
  transform: scale(1.04);
}

.kf-preview-content {
  padding: 22px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kf-preview-title {
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 10px;
}

.kf-preview-title a {
  color: var(--kf-white) !important;
  text-decoration: none;
}

.kf-preview-title a:hover {
  color: var(--kf-red) !important;
}

.kf-preview-excerpt {
  color: var(--kf-text-muted);
  font-size: 13px;
  line-height: 1.65;
  flex: 1;
  margin: 0 0 18px;
}

.kf-preview-price {
  color: var(--kf-green-soft);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.kf-preview-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ─── Kis gomb variant (blog kártyákhoz) ─────────────────────── */

.kf-btn-sm {
  min-height: 40px;
  padding: 0 22px;
  font-size: 12px;
  border-radius: 14px;
}

.kf-blog-readmore {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ─── Info card (támogatás szekció) ──────────────────────────── */

.kf-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--kf-border);
  border-radius: 32px;
  padding: 42px;
  margin-top: 60px;
  text-align: left;
}

.kf-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-bottom: 36px;
}

.kf-info-label {
  color: var(--kf-green-soft);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.kf-info-value {
  color: var(--kf-text);
  font-size: 20px;
  line-height: 1.6;
}

.kf-info-value.primary {
  color: var(--kf-white);
  font-size: 22px;
  line-height: 1.5;
}

.kf-info-value.large {
  font-size: 17px;
  font-weight: 700;
}

.kf-info-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}

.kf-section-text--left {
  margin-left: 0;
}

.kf-section-more {
  margin-top: 44px;
}

@media (max-width: 620px) {
  .kf-info-grid {
    grid-template-columns: 1fr;
  }

  .kf-info-card {
    padding: 28px 22px;
  }
}

@media (max-width: 1000px) {
  .kf-program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .kf-hero-grid,
  .kf-split {
    grid-template-columns: 1fr;
  }

  .kf-cards {
    grid-template-columns: 1fr;
  }

  .kf-logo-card {
    max-width: 360px;
  }

  .kf-palette {
    grid-template-columns: repeat(4, 1fr);
  }

  .kf-product-grid {
    grid-template-columns: 1fr;
  }

  .kf-product {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .kf-palette {
    grid-template-columns: repeat(2, 1fr);
  }

  .kf-section {
    padding: 78px 18px;
  }

  .kf-program-grid {
    grid-template-columns: 1fr;
  }

  .kf-product {
    min-height: 320px;
  }

  .kf-btn {
    width: 100%;
  }
}

.ast-single-post.ast-page-builder-template .site-main > article,
.ast-page-builder-template .post-navigation {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}
