/*
Theme Name: Helyi Civil
Theme URI: https://helyicivil.hu
Author: Digital Footprint
Description: Helyi Civil – egyedi WordPress blog téma, elegáns beige/nude stílusban
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: helyicivil
*/

/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
  --blanc:         #FFFFFF;
  --blanc-casse:   #FAF8F6;
  --beige-pale:    #F5F0EB;
  --beige-moyen:   #EDE6DE;
  --beige-fonce:   #DED4C7;
  --noir:          #1C1C1C;
  --gris-titre:    #2E2A27;
  --gris-corps:    #5A5350;
  --gris-light:    #8F8A87;
  --primary:       #EF5241;
  --primary-light: #F47B6E;
  --primary-pale:  #FBC8C3;
  --primary-ultra: #FEF2F1;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'Nunito Sans', 'Helvetica Neue', sans-serif;
  --ease:  cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1280px;
  --radius: 0px;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--blanc);
  color: var(--gris-corps);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* =============================================
   Scroll Reveal
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* =============================================
   Shared Components
   ============================================= */

/* Eyebrow */
.hc-eyebrow {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.67rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}
.hc-eyebrow a { color: inherit; }
.hc-eyebrow--light { color: var(--primary-light); }
.hc-eyebrow__line {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--primary-light);
  flex-shrink: 0;
}
.hc-eyebrow__line--light { background: var(--primary); }

/* Section H2 */
.hc-section-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.18;
  color: var(--noir);
  margin-bottom: 1.8rem;
}
.hc-section-h2 em {
  font-style: italic;
  color: var(--primary);
}
.hc-section-h2--light { color: var(--blanc); }
.hc-section-h2--light em { color: var(--primary-light); }

/* Cat badge */
.hc-cat-badge {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--primary-pale);
  padding: 0.28rem 0.75rem;
  margin-right: 0.4rem;
  margin-bottom: 0.5rem;
  transition: background 0.3s, color 0.3s;
}
.hc-cat-badge:hover { background: var(--primary-ultra); }

/* Buttons */
.hc-btn-fill {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.73rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blanc);
  background: var(--primary);
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--primary);
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.hc-btn-fill:hover { background: transparent; color: var(--primary); }

.hc-btn-line {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.73rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gris-titre);
  border-bottom: 1px solid var(--beige-fonce);
  padding-bottom: 2px;
  display: inline-block;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.hc-btn-line:hover { color: var(--primary); border-color: var(--primary-light); }

.hc-btn-dark {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.73rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blanc);
  background: var(--noir);
  padding: 0.75rem 1.8rem;
  border: 1px solid var(--noir);
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.hc-btn-dark:hover { background: transparent; color: var(--noir); }

/* Card image container */
.card-img {
  overflow: hidden;
  background: var(--beige-pale);
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.card-img:hover img { transform: scale(1.04); }
.card-img--280 { height: 280px; }
.card-img--240 { height: 240px; }
.card-img--200 { height: 200px; }

/* =============================================
   Header / Nav (fixed, blur backdrop)
   ============================================= */
.hc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--beige-moyen);
  transition: box-shadow 0.3s var(--ease);
}
.hc-header.scrolled {
  box-shadow: 0 1px 18px rgba(28,28,28,0.07);
}
.hc-nav {
  max-width: var(--container);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}
.hc-header.scrolled .hc-nav { height: 58px; }

/* Logo */
.hc-logo { display: flex; align-items: center; }
.hc-logo__img { height: 52px; width: auto; }
.hc-logo__text {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--noir);
  letter-spacing: 0.04em;
}

/* Center nav */
.hc-nav-center {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hc-nav-link {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gris-titre);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s;
}
.hc-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--primary);
  transition: width 0.3s var(--ease);
}
.hc-nav-link:hover,
.hc-nav-link[aria-current="page"] { color: var(--primary); }
.hc-nav-link:hover::after,
.hc-nav-link[aria-current="page"]::after { width: 100%; }

/* Burger */
.hc-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hc-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--noir);
  transition: 0.3s;
}

/* =============================================
   Mobile Overlay Nav
   ============================================= */
.hc-mob-nav {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--blanc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.hc-mob-nav.open { opacity: 1; pointer-events: all; }
.hc-mob-nav a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--noir);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}
.hc-mob-nav a:hover { color: var(--primary); }
.hc-mob-close {
  position: absolute;
  top: 1.4rem; right: 1.8rem;
  font-size: 1.4rem;
  color: var(--gris-light);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}
.hc-mob-close:hover { color: var(--primary); }

/* =============================================
   Hero — split 52% / 48%
   ============================================= */
.hc-hero {
  min-height: 100vh;
  padding-top: 68px;
  display: grid;
  grid-template-columns: 52% 48%;
}
.hc-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7vw 5vw 7vw 6vw;
}
.hc-hero__h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  line-height: 1.1;
  color: var(--noir);
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
.hc-hero__h1 em { font-style: italic; color: var(--primary); }
.hc-hero__p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--gris-corps);
  max-width: 430px;
  margin-bottom: 2.8rem;
}
.hc-hero__btns { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 0; }
.hc-hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--beige-moyen);
}
.hc-stat__num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--noir);
  line-height: 1;
}
.hc-stat__label {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris-light);
  margin-top: 0.25rem;
}

/* Hero right — mosaic */
.hc-hero__right {
  position: relative;
  overflow: hidden;
  background: var(--beige-pale);
}
.hc-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
  gap: 3px;
}
.hc-mosaic__cell {
  overflow: hidden;
  position: relative;
  background: var(--beige-moyen);
}
.hc-mc1 { background: linear-gradient(150deg, #E8D5C8 0%, #D4B4A0 100%); }
.hc-mc2 { background: linear-gradient(150deg, #DEC9B8 0%, #C9A68E 100%); }
.hc-mc3 { background: linear-gradient(150deg, #CDBBA8 0%, #B89A84 100%); }
.hc-mc4 { background: linear-gradient(150deg, #E2CEC0 0%, #D0B09A 100%); }
.hc-mosaic__cell a { display: block; width: 100%; height: 100%; position: relative; }
.hc-mosaic__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 6s var(--ease);
}
.hc-mosaic__cell:hover img { transform: scale(1.04); }
.hc-mosaic__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 4rem 1.2rem 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hc-mosaic__title {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(0.9rem, 1.3vw, 1.15rem);
  font-weight: 500;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hc-mosaic__btn {
  display: inline-block;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.6);
  padding-bottom: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.hc-mosaic__cell:hover .hc-mosaic__btn {
  opacity: 1;
  transform: translateY(0);
}

/* Floating card */
.hc-hero__float {
  position: absolute;
  bottom: 2rem; right: 2rem;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(8px);
  padding: 1.1rem 1.5rem;
  border-left: 2px solid var(--primary);
  z-index: 2;
}
.hc-float__tag {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gris-light);
  margin-bottom: 0.3rem;
}
.hc-float__text {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--noir);
  line-height: 1.3;
}

/* =============================================
   Ticker Bar
   ============================================= */
.hc-ticker-bar {
  background: var(--beige-pale);
  border-top: 1px solid var(--beige-moyen);
  border-bottom: 1px solid var(--beige-moyen);
  padding: 1rem 0;
  overflow: hidden;
}
.hc-ticker-track {
  display: flex;
  gap: 3.5rem;
  animation: hc-scroll-ticker 60s linear infinite;
  width: max-content;
}
.hc-ticker-track:hover { animation-play-state: paused; }
@keyframes hc-scroll-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hc-ticker__item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  color: var(--gris-light);
  white-space: nowrap;
  transition: color 0.3s;
  cursor: pointer;
}
.hc-ticker__item:hover { color: var(--primary); }
.hc-ticker__dot {
  display: inline-block;
  width: 3px; height: 3px;
  background: var(--primary-pale);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 1rem;
}

/* =============================================
   Intro Split — 1fr / 1fr
   ============================================= */
.hc-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 82vh;
}
.hc-intro__img {
  position: relative;
  overflow: hidden;
  background: var(--beige-pale);
}
.hc-intro__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hc-intro__tag {
  position: absolute;
  bottom: 2.5rem;
  right: -1px;
  background: var(--blanc);
  padding: 1.2rem 1.8rem;
  border-left: 2px solid var(--primary);
  max-width: 320px;
}
.hc-intro__tag p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--noir);
  line-height: 1.5;
}
.hc-intro__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6vw 6vw 6vw 5vw;
  background: var(--blanc);
}
.hc-intro__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--gris-titre);
  padding-left: 1.4rem;
  border-left: 2px solid var(--primary-pale);
  margin-bottom: 1.8rem;
}

/* =============================================
   Experience Cards — 3-col, numbered
   ============================================= */
.hc-experience {
  background: var(--beige-pale);
  padding: 8vw 6vw;
}
.hc-exp__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 5vw;
}
.hc-exp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.hc-exp__card {
  background: var(--blanc);
  padding: 2.6rem 2.2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}
.hc-exp__card:hover { background: var(--blanc-casse); }
.hc-exp__card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--primary);
  transition: width 0.5s var(--ease);
}
.hc-exp__card:hover::before { width: 100%; }
.hc-exp__n {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--beige-moyen);
  line-height: 1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.hc-exp__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 1.4rem;
}
.hc-exp__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.hc-exp__card:hover .hc-exp__thumb img { transform: scale(1.04); }
.hc-exp__title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--noir);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.hc-exp__title a { color: inherit; transition: color 0.3s; }
.hc-exp__title a:hover { color: var(--primary); }
.hc-exp__text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--gris-corps);
}

/* =============================================
   Feature Split — dark 45% / light 55%
   ============================================= */
.hc-feature {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 62vh;
}
.hc-feature__left {
  background: var(--noir);
  padding: 6vw 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hc-feature__left::before {
  content: '◆';
  position: absolute;
  top: -3rem; right: -2rem;
  font-size: 16rem;
  font-weight: 300;
  color: rgba(255,255,255,0.025);
  line-height: 1;
}
.hc-feature__text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.93rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
}
.hc-feature__left .hc-btn-fill { align-self: flex-start; }
.hc-feature__right {
  background: var(--blanc-casse);
  padding: 6vw 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border-left: 1px solid var(--beige-moyen);
}
.hc-fstep {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--beige-moyen);
}
.hc-fstep:last-child { border-bottom: none; }
.hc-fstep__cat {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 80px;
  margin-top: 0.2rem;
}
.hc-fstep__body { flex: 1; }
.hc-fstep__title {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--noir);
  line-height: 1.3;
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}
.hc-fstep__title:hover { color: var(--primary); }
.hc-fstep__body p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--gris-corps);
}

/* =============================================
   Services Grid — 4-col, beige bg
   ============================================= */
.hc-services {
  background: var(--blanc);
  padding: 8vw 6vw;
}
.hc-svc__head {
  text-align: center;
  margin-bottom: 5vw;
}
.hc-svc__head .hc-eyebrow { justify-content: center; }
.hc-svc__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.hc-svc__card {
  background: var(--beige-pale);
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}
.hc-svc__card:hover { background: var(--beige-moyen); }
.hc-svc__card::after {
  content: '→';
  position: absolute;
  bottom: 1.4rem; right: 1.4rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--primary-pale);
  transition: color 0.3s, transform 0.3s;
}
.hc-svc__card:hover::after { color: var(--primary); transform: translateX(3px); }
.hc-svc__name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--noir);
  margin-bottom: 0.6rem;
  line-height: 1.3;
  transition: color 0.3s;
}
.hc-svc__card:hover .hc-svc__name { color: var(--primary); }
.hc-svc__desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--gris-corps);
}

/* =============================================
   Details / Category Tiles — 4-col
   ============================================= */
.hc-details {
  background: var(--beige-pale);
  padding: 6vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.hc-detail__tile {
  background: var(--blanc);
  padding: 2.6rem 2rem;
  text-align: center;
  display: block;
  transition: background 0.3s;
  cursor: pointer;
}
.hc-detail__tile:hover { background: var(--blanc-casse); }
.hc-detail__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--noir);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.hc-detail__text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gris-light);
}

/* =============================================
   Footer (dark)
   ============================================= */
.hc-footer {
  background: var(--noir);
  padding: 5vw 6vw 3vw;
}
.hc-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4vw;
  padding-bottom: 4vw;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2.5vw;
}
.hc-ft-brand__logo { height: 52px; width: auto; margin-bottom: 1.2rem; }
.hc-ft-brand__name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--blanc);
  display: block;
  margin-bottom: 1.2rem;
}
.hc-ft-brand__desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.83rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.35);
  max-width: 260px;
}
.hc-ft-col__title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.63rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 1.3rem;
}
.hc-ft-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.hc-ft-nav a {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.38);
  transition: color 0.3s;
}
.hc-ft-nav a:hover { color: var(--primary-pale); }
.hc-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hc-ft-copy {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.18);
}

/* =============================================
   Single Post — Layout B (hero 560px)
   ============================================= */
.single-hero {
  position: relative;
  height: 62vh;
  min-height: 460px;
  overflow: hidden;
  background: var(--noir);
}
.single-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.82;
}
.single-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.08) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
}
.single-hero__caption {
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
  padding: 3.5rem 2rem;
}
.single-hero .hc-cat-badge {
  color: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.32);
}
.single-hero .hc-cat-badge:hover { background: rgba(255,255,255,0.1); }
.single-header-dark {
  background: var(--noir);
  padding: 5rem 2rem 3.5rem;
}
.single-header-dark .single-hero__caption { padding: 0; }
.single-cats { margin-bottom: 1.2rem; }
.single-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.single-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--gris-corps);
}
.single-content h2, .single-content h3, .single-content h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--noir);
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}
.single-content h2 { font-size: 1.7rem; }
.single-content h3 { font-size: 1.35rem; }
.single-content p { margin-bottom: 1.4rem; }
.single-content a { color: var(--primary); border-bottom: 1px solid var(--primary-pale); transition: border-color 0.3s; }
.single-content a:hover { border-color: var(--primary); }
.single-content img { border-radius: var(--radius); }
.single-content blockquote {
  border-left: 3px solid var(--primary-pale);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gris-titre);
  background: var(--primary-ultra);
}
.single-content ul, .single-content ol {
  padding-left: 1.6rem;
  margin-bottom: 1.4rem;
}
.single-content ul { list-style: disc; }
.single-content ol { list-style: decimal; }
.single-content li { margin-bottom: 0.5rem; }

/* Video embed — responsive 16:9 */
.single-content .wp-block-embed,
.single-content .wp-block-embed__wrapper {
  width: 100% !important;
  max-width: 100% !important;
}
.single-content .wp-block-embed__wrapper {
  position: relative !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden;
}
.single-content .wp-block-embed__wrapper::before { display: none !important; }
.single-content .wp-block-embed__wrapper iframe {
  position: absolute !important;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* Related posts — style D (fehér, borderes) */
.related-section {
  background: var(--blanc);
  padding: 5rem 2rem;
  border-top: 1px solid var(--beige-moyen);
}
.related-inner { max-width: var(--container); margin: 0 auto; }
.related-eyebrow { margin-bottom: 2.5rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.related-card {
  border: 1px solid var(--beige-moyen);
  background: var(--blanc);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.related-card:hover {
  border-color: var(--primary-pale);
  box-shadow: 0 4px 20px rgba(200,146,122,0.1);
}
.related-card__img-wrap { display: block; }
.related-card__body { padding: 1.2rem 1.4rem 1.4rem; }
.related-card__title {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--noir);
  line-height: 1.3;
  margin: 0.5rem 0 0.6rem;
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card__title:hover { color: var(--primary); }
.related-card__excerpt {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--gris-light);
}

/* =============================================
   Archive
   ============================================= */
.archive-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 2rem 2rem;
}
.archive-header .hc-section-h2 { margin-bottom: 0; }
.archive-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gris-corps);
  margin-top: 1rem;
  max-width: 560px;
}
.archive-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.archive-card {
  background: var(--blanc);
  border: 1px solid var(--beige-moyen);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.archive-card:hover {
  border-color: var(--primary-pale);
  box-shadow: 0 4px 20px rgba(200,146,122,0.08);
}
.archive-card__img-wrap { display: block; }
.archive-card__body { padding: 1.3rem 1.5rem 1.6rem; }
.archive-card__title {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--noir);
  line-height: 1.28;
  margin: 0.5rem 0 0.7rem;
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.archive-card__title:hover { color: var(--primary); }
.archive-card__excerpt {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--gris-corps);
}
.archive-empty {
  text-align: center;
  padding: 5rem 2rem;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--gris-light);
}
.archive-empty p { font-size: 1rem; margin-bottom: 2rem; }

/* =============================================
   Pagination
   ============================================= */
.pagination-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid var(--beige-moyen);
}

/* =============================================
   Page / Statikus oldal
   ============================================= */
.page-header {
  max-width: 840px;
  margin: 0 auto;
  padding: 5rem 2rem 2rem;
}
.page-featured-img {
  max-width: var(--container);
  margin: 0 auto 0;
  padding: 0 2rem;
  height: 400px;
  overflow: hidden;
}
.page-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.page-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--gris-corps);
}
.page-content h2, .page-content h3, .page-content h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--noir);
  margin: 2.5rem 0 1rem;
}
.page-content h2 { font-size: 1.7rem; }
.page-content h3 { font-size: 1.35rem; }
.page-content p  { margin-bottom: 1.4rem; }
.page-content a  { color: var(--primary); }
.page-content ul, .page-content ol { padding-left: 1.6rem; margin-bottom: 1.4rem; }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 0.5rem; }
.page-content img { border-radius: var(--radius); }

/* =============================================
   404
   ============================================= */
.page-404 {
  max-width: 600px;
  margin: 0 auto;
  padding: 10rem 2rem 6rem;
  text-align: center;
}
.page-404 .hc-eyebrow { justify-content: center; }
.page-404 .hc-section-h2 { margin-bottom: 1.5rem; }
.page-404__text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--gris-corps);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* =============================================
   Body padding (fixed header)
   ============================================= */
body { padding-top: 0; }
.hc-hero { /* already has padding-top: 68px */ }

/* Archive/single/page top padding */
.archive-header,
.single-hero,
.single-header-dark,
.page-header,
.page-404 { margin-top: 68px; }

/* =============================================
   Responsive — Tablet (≤1100px)
   ============================================= */
@media (max-width: 1100px) {
  .hc-hero { grid-template-columns: 1fr 1fr; }
  .hc-exp__grid { grid-template-columns: 1fr 1fr; }
  .hc-svc__grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-footer__grid { grid-template-columns: 1fr 1fr; }
  .hc-details { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   Responsive — Mobile (≤768px)
   ============================================= */
@media (max-width: 768px) {
  .hc-nav-center { display: none; }
  .hc-burger { display: flex; }

  .hc-hero {
    grid-template-columns: 1fr;
    min-height: unset;
    padding-top: 68px;
  }
  .hc-hero__left { padding: 3.5rem 1.5rem 2.5rem; }
  .hc-hero__right { min-height: unset; }
  .hc-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 350px);
    height: auto;
  }
  .hc-mc1, .hc-mc2, .hc-mc3, .hc-mc4 { background: none; }

  .hc-intro { grid-template-columns: 1fr; }
  .hc-intro__img { min-height: 55vw; }
  .hc-intro__content { padding: 3rem 1.5rem; }

  .hc-feature { grid-template-columns: 1fr; }
  .hc-feature__left { padding: 4rem 1.5rem; }
  .hc-feature__right { padding: 3rem 1.5rem; }

  .hc-exp__head { grid-template-columns: 1fr; }
  .hc-exp__grid { grid-template-columns: 1fr; }

  .hc-svc__grid { grid-template-columns: 1fr 1fr; }

  .hc-details { grid-template-columns: 1fr 1fr; padding: 3rem 1.5rem; }

  .hc-footer__grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hc-footer__grid a, .hc-footer__grid p, .hc-footer__grid ul { text-align: center; }
  .hc-footer__grid ul { padding-left: 0; list-style: none; }
  .hc-ft-brand__logo { display: block; margin-left: auto; margin-right: auto; }
  .hc-footer__bottom { justify-content: center; text-align: center; }

  .related-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }

  .single-hero { height: 55vw; min-height: 280px; }
  .single-hero__caption { padding: 2rem 1.5rem; }
  .single-content { padding: 1.5rem 1.5rem 3rem; }

  .hc-ticker__item { font-size: 14px; }

  .page-404 { padding: 7rem 1.5rem 4rem; }
}

/* =============================================
   Responsive — Small Mobile (≤480px)
   ============================================= */
@media (max-width: 480px) {
  .hc-svc__grid { grid-template-columns: 1fr; }
  .hc-details { grid-template-columns: 1fr; }
  .hc-hero__btns { flex-direction: column; align-items: flex-start; }
  .related-grid { grid-template-columns: 1fr; }
}

/* =============================================
   GDPR Override
   ============================================= */
#cookie-notice-accept-button,
.cn-button,
.cli-plugin-button,
.moove-gdpr-infobar-allow-btn,
.cmplz-btn,
.cc-btn {
  border-radius: 0px !important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
  background: #EF5241 !important;
  border-color: #EF5241 !important;
  color: #fff !important;
  border-radius: 0px !important;
}
/* Accept gomb szöveg → Elfogadom */
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.moove-gdpr-infobar-allow-btn,
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.moove-gdpr-infobar-allow-btn {
  background: #EF5241 !important;
  border-color: #EF5241 !important;
  color: #fff !important;
  border-radius: 0px !important;
  font-size: 0 !important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.moove-gdpr-infobar-allow-btn::after,
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.moove-gdpr-infobar-allow-btn::after {
  content: 'Elfogadom';
  font-size: 0.78rem !important;
}
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton {
  background: #EF5241 !important;
  border-color: #EF5241 !important;
  color: #fff !important;
  border-radius: 0px !important;
}
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button {
  color: #EF5241 !important;
  border-radius: 0px !important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-close-btn.moovegdpr-arrow-close:after,
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-close-btn.moovegdpr-arrow-close:before,
.gdpr-icon.moovegdpr-arrow-close:after,
.gdpr-icon.moovegdpr-arrow-close:before,
i.moovegdpr-arrow-close.moovegdpr-arrow-close:after,
i.moovegdpr-arrow-close.moovegdpr-arrow-close:before {
  color: #EF5241 !important;
}
