/* /assets/css/main.css — CLEAN (duplikációmentes, egységes) */

/* =========================
   Alap változók / reset
========================= */
:root{
  --accent:#111;
  --bg:#fff;
  --text:#111;
  --muted:#666;
  --border:#e6e6e6;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
[hidden]{display:none !important;}

a{color:inherit}
a:hover{color:var(--accent)}

.wrap{max-width:1100px;margin:0 auto;padding:24px}

.breadcrumbs{font-size:14px;margin:8px 0 16px;opacity:.8}
.page-hero h1{margin:0 0 8px;letter-spacing:-0.02em}
.page-hero p{margin:0;color:var(--muted);line-height:1.6}

/* =========================
   Gombok
========================= */
.btn{
  display:inline-block;
  padding:10px 14px;
  border:1px solid var(--border);
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
  background:transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease, filter .15s ease;
}
.btn--primary{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}
.btn--primary:hover{filter:brightness(1.05)}

/* =========================
   Header / navigáció
========================= */
.site-header{
  position:sticky;
  top:0;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--border);
  z-index:50;
  overflow: visible; /* mobil overlayt ne vágja */
}
.site-header.is-compact{
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  background: rgba(255,255,255,.96);
}
.site-header__inner{
  max-width:1100px;
  margin:0 auto;
  padding:12px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  transition: padding .2s ease;
}
.site-header.is-compact .site-header__inner{
  padding-top:8px;
  padding-bottom:8px;
}

.site-logo img{display:block;height:auto}

.site-nav{display:flex;gap:14px;align-items:center}
.site-nav a{
  text-decoration:none;
  color:var(--text);
  opacity:.9;
  padding:10px 12px;
  border-radius:12px;
  transition: background .15s ease, transform .15s ease, color .15s ease, opacity .15s ease;
}
.site-nav a:hover{
  background: rgba(0,0,0,.06);
  transform: translateY(-1px);
  opacity:1;
  color: var(--accent);
}

.site-actions{display:flex;gap:10px;align-items:center}

.burger{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:10px;
  cursor:pointer;
}
.burger span{display:block;width:18px;height:2px;background:#111;margin:3px 0}

@media (max-width: 900px){
  .site-nav{display:none}
  .burger{display:inline-block}
}

/* Aktív menüpont jelölés */
.site-nav a.is-active,
.mobile-nav a.is-active{
  color: var(--accent);
  font-weight: 700;
  opacity: 1;
}
.site-nav a.is-active{
  position: relative;
}
.site-nav a.is-active::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-10px;
  height:2px;
  background: var(--accent);
  border-radius: 2px;
}

/* =========================
   Desktop dropdown (nav-dd)
========================= */
.nav-dd{position:relative;display:inline-block}
.nav-dd__panel{
  position:absolute;
  top: calc(100% + 10px);
  left:0;
  min-width:270px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:8px;
  box-shadow:0 18px 45px rgba(0,0,0,.12);
  display:none;
  z-index:999;
}
.nav-dd__panel a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
}
.nav-dd__panel a:hover{background:#f6f6f6}
.nav-dd:hover .nav-dd__panel,
.nav-dd:focus-within .nav-dd__panel{display:block}
@media (max-width:900px){.nav-dd{display:none}}

/* =========================
   Mobil menü overlay + accordion
========================= */
.mobile-menu{
  position:fixed;
  inset:0;
  z-index:9999;
  background: rgba(0,0,0,.60);
  height:100vh;
  width:100vw;
  display:flex;
  justify-content:flex-end;
  align-items:stretch;
}
.mobile-menu[hidden]{display:none !important;}

.mobile-menu__panel{
  width:min(420px, 92vw);
  height:100%;
  background:#fff;
  padding:16px;
  box-shadow:-20px 0 60px rgba(0,0,0,.25);
  display:flex;
  flex-direction:column;
  overflow-y:auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.mobile-close{
  border:1px solid var(--border);
  background:#fff;
  border-radius:10px;
  padding:8px 10px;
  cursor:pointer;
}

.mobile-nav{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:10px;
}
.mobile-nav a,
.mobile-nav summary{
  display:block;
  width:100%;
  padding:12px 10px;
  border-radius:12px;
  text-decoration:none;
  color:#111;
  background:#f6f6f6;
}
.mobile-nav a:hover,
.mobile-nav summary:hover{background:#ededed}

/* Mobil accordion */
.m-acc{border:0}
.m-acc__sum{
  list-style:none;
  cursor:pointer;
  padding:12px 10px;
  border-radius:12px;
}
.m-acc__sum::-webkit-details-marker{display:none}
.m-acc[open] .m-acc__sum{background:#ededed}
.m-acc__body{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:6px 0 0 10px;
}
.m-acc__body a{background:#f6f6f6}

.mobile-menu__cta{
  margin-top:auto;
  padding-top:12px;
}
.mobile-menu__cta .btn{
  width:100%;
  text-align:center;
}

/* =========================
   Hero (főoldal)
========================= */
.hero{
  display:grid;
  gap:22px;
  align-items:center;
  margin-top:10px;
}
@media (min-width: 900px){
  .hero{grid-template-columns:1.05fr .95fr}
}
.hero h1{margin:0 0 8px;font-size:42px;line-height:1.05}
.hero p{margin:0;color:var(--muted);font-size:16px;line-height:1.6}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.hero-media img{width:100%;height:auto;border-radius:16px;display:block}

/* =========================
   Kártyák / grid
========================= */
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
  margin-top:18px;
}
.card{
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
}
.card-img{
  display:block;
  width:100%;
  aspect-ratio: 3 / 2;
  overflow:hidden;
  background:#f3f4f6;
}
.card-img img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.card-body{padding:14px;flex:1}
.card-meta{font-size:13px;opacity:.7}
.card-title{margin:6px 0 8px;font-size:18px}
.card-title a{text-decoration:none}
.card-text{
  margin:0;
  color:var(--muted);
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.card-link{display:inline-block;margin-top:10px;text-decoration:none}

/* =========================
   Hírek / cikk (view)
========================= */
.article h1{margin:0 0 8px}
.article-meta{color:var(--muted);margin:6px 0 12px}
.article-cover img{width:100%;height:auto;display:block;border-radius:16px;border:1px solid var(--border)}
.article-body{line-height:1.7;font-size:16px}
.pagination{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:center;
  margin:24px 0;
}
.page-indicator{color:var(--muted)}

/* =========================
   Home timeline (Újdonságok blokk)
========================= */
.home-timeline__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.home-timeline__card{border:1px solid var(--border);border-radius:16px;overflow:hidden;background:#fff}
.home-timeline__img img{width:100%;height:auto;display:block}
.home-timeline__body{padding:14px}
.home-timeline__meta{font-size:13px;opacity:.7}
.home-timeline__title{margin:6px 0 8px;font-size:18px}
.home-timeline__text{margin:0;color:var(--muted)}
.home-timeline__link{text-decoration:none;display:inline-block;margin-top:10px}
.home-timeline__footer{margin-top:16px}

/* =========================
   Kapcsolat oldal + formok
========================= */
.contact-form{max-width:760px}
.field{margin:12px 0}
.field label{display:block;font-weight:700;margin-bottom:6px}
.field input,.field textarea,.field select{
  width:100%;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  font:inherit;
  background:#fff;
}
.notice{
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:12px;
  margin:12px 0;
}
.notice--error{border-color:#f2b8b5}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
  margin-top:18px;
}
@media (min-width: 900px){
  .contact-grid{ grid-template-columns: 1fr 1fr; }
}
.contact-card{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:18px;
}
.contact-row{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid var(--border);
}
.contact-row:last-child{border-bottom:0}
.contact-label{color:var(--muted);font-weight:700}
.contact-revealed{margin-left:10px;font-weight:700}
.contact-note{margin-top:14px;color:var(--muted);font-size:14px;line-height:1.5}

/* =========================
   Admin login (középre igazított)
========================= */
.admin-auth{
  min-height: calc(100vh - 140px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:32px;
  padding-bottom:32px;
}
.admin-auth__card{
  width:min(440px, 100%);
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
  text-align:center; /* kért középre igazítás */
}
.admin-auth__head h1{margin:0 0 6px}
.admin-auth__head p{margin:0 0 14px;color:var(--muted)}
.admin-auth__form{
  text-align:left;   /* label-ek balra (profi), inputban közép */
  margin-top:10px;
}
.admin-auth__form input{ text-align:center; }
.admin-auth__foot{margin:14px 0 0;color:var(--muted);font-size:14px}
.admin-auth__foot a{text-decoration:none}

/* =========================
   Cookie sáv (fix alul)
========================= */
.cookiebar{
  position: fixed !important;
  left: 16px !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 10000 !important;

  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  padding: 14px !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.12) !important;

  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.cookiebar p{margin:0;color:var(--muted);line-height:1.4}
.cookiebar .cookie-actions{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width: 600px){
  .cookiebar{
    flex-direction: column;
    align-items: stretch;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
  }
  .cookiebar .cookie-actions .btn{width:100%;text-align:center}
}

/* =========================
   Footer
========================= */
.site-footer{border-top:1px solid var(--border);margin-top:32px;padding:24px 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}
.footer-brand{font-weight:800}
.footer-text{color:var(--muted);margin:8px 0 0}
@media (max-width: 900px){.footer-grid{grid-template-columns:1fr}}

/* =========================
   Szekció-accentek
========================= */
body[data-section="home"],
body[data-section="news"],
body[data-section="contact"]{ --accent:#111111; }

body[data-section="it"]{ --accent:#1d4ed8; }
body[data-section="emost"]{ --accent:#c81e2a; }
body[data-section="services"]{ --accent:#0f766e; }
body[data-section="art"]{ --accent:#a21caf; }

/* ===== Admin editor (2 oszlop + sticky) ===== */
.admin-editor{
  margin-top: 14px;
}

.admin-editor__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
}

@media (min-width: 980px){
  .admin-editor__grid{
    grid-template-columns: 1.35fr .65fr;
    align-items:start;
  }
}

.admin-editor__main,
.admin-editor__side{
  min-width:0;
}

.admin-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
}

.admin-card h2{
  margin:0 0 8px;
  font-size:16px;
  letter-spacing:-0.01em;
}

.admin-card--sticky{
  position: sticky;
  bottom: 16px;
}

.admin-upload{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:10px;
}

.admin-help{
  margin-top:10px;
  color: var(--muted);
  font-size:14px;
  line-height:1.45;
}
.admin-help--err{ color:#b91c1c; }

.admin-preview{
  margin-top:10px;
}
.admin-preview img{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  border:1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* content textarea: “editor” érzet */
.admin-editor textarea[name="content"]{
  min-height: 420px;
  line-height:1.65;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:14px;
}

.mini-tools{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  padding:10px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  margin-bottom:10px;
}
.mini-tools button{
  border:1px solid var(--border);
  background:#fff;
  border-radius:10px;
  padding:8px 10px;
  cursor:pointer;
  font:inherit;
}
.mini-tools button:hover{
  background:#f6f6f6;
}

/* Admin listában kis bélyegkép oszlop */
.admin-thumb{
  width:56px;height:40px;object-fit:cover;
  border-radius:10px;border:1px solid var(--border);display:block;
}

/* Hír borítókép: visszafogott méret */
.article-cover{
  margin: 14px 0 18px;
}

.article-cover__link{
  display:block;
  text-decoration:none;
}

.article-cover img{
  width:100%;
  max-height:25vh;      /* kb. a képernyő magasságának 1/4-e */
  object-fit:cover;
  display:block;
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  cursor: zoom-in;
}

/* mobilon egy picit engedékenyebb lehet */
@media (max-width: 600px){
  .article-cover img{
    max-height:28vh;
  }
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(0,0,0,.82);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.lightbox[hidden]{
  display:none !important;
}

.lightbox__inner{
  position:relative;
  max-width:min(1200px, 96vw);
  max-height:90vh;
}

.lightbox__img{
  display:block;
  max-width:100%;
  max-height:90vh;
  width:auto;
  height:auto;
  border-radius:14px;
  box-shadow:0 18px 45px rgba(0,0,0,.35);
  background:#111;
}

.lightbox__close{
  position:absolute;
  top:-14px;
  right:-14px;
  width:40px;
  height:40px;
  border:0;
  border-radius:999px;
  background:#fff;
  color:#111;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
}

.section-head h2{margin:0 0 6px}
.section-head p{margin:0;color:var(--muted)}

.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
  margin-top:14px;
}

.portfolio-card{
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}

.portfolio-card__media{
  aspect-ratio: 4 / 3;
  overflow:hidden;
  background:#f3f4f6;
}

.portfolio-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.portfolio-card__body{
  padding:14px;
}

.portfolio-card__body h3{
  margin:0 0 6px;
  font-size:18px;
}

.portfolio-meta{
  margin:0 0 8px;
  color:var(--muted);
  font-size:14px;
}

.cv-list{
  display:grid;
  gap:14px;
}

.cv-item p{
  margin:6px 0;
  color:var(--muted);
}

.events-list{
  display:grid;
  gap:16px;
  margin-top:14px;
}

.event-card{
  display:grid;
  grid-template-columns: 100px 1fr;
  gap:16px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:16px;
}

.event-card__date{
  font-weight:800;
  font-size:22px;
  line-height:1;
  color:var(--accent);
  align-self:start;
}

.event-card__body h3{
  margin:0 0 6px;
  font-size:20px;
}

.event-meta{
  margin:0 0 10px;
  color:var(--muted);
  font-size:14px;
}

@media (max-width: 700px){
  .event-card{
    grid-template-columns:1fr;
    gap:10px;
  }

  .event-card__date{
    font-size:18px;
  }
}

/* ===== Alkotások galéria ===== */
.art-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
  margin-top:14px;
}

.art-card{
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
}

.art-card__media{
  display:block;
  aspect-ratio: 4 / 3;
  overflow:hidden;
  background:#f3f4f6;
}

.art-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .25s ease;
}

.art-card:hover .art-card__media img{
  transform:scale(1.03);
}

.art-card__body{
  padding:14px;
}

.art-card__title{
  margin:0 0 6px;
  font-size:18px;
}

.art-card__title a{
  text-decoration:none;
}

.art-card__subtitle{
  margin:0 0 10px;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.art-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 10px;
  color:var(--muted);
  font-size:14px;
}

.art-card__meta span{
  display:inline-block;
  padding:4px 8px;
  border:1px solid var(--border);
  border-radius:999px;
}

.art-card__sale{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 12px;
}

.art-badge{
  display:inline-block;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}

.art-badge--sale{
  background:#eafff1;
  border-color:#b7f0c5;
  color:#0f5132;
}

.art-price{
  font-weight:700;
  color:var(--text);
}

.art-card__actions{
  margin:0;
}

/* ===== Egyedi alkotásoldal ===== */
.artwork-view__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  align-items:start;
}

@media (min-width: 980px){
  .artwork-view__grid{
    grid-template-columns: 1.05fr .95fr;
  }
}

.artwork-view__image-link{
  display:block;
  text-decoration:none;
}

.artwork-view__image{
  width:100%;
  max-height:70vh;
  object-fit:contain;
  display:block;
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  background:#fff;
  cursor:zoom-in;
}

.artwork-view__info h1{
  margin:0 0 8px;
  letter-spacing:-0.02em;
}

.artwork-view__subtitle{
  margin:0 0 16px;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
}

.artwork-meta-list{
  display:grid;
  gap:10px;
}

.artwork-meta-row{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid var(--border);
}

.artwork-meta-label{
  color:var(--muted);
  font-weight:700;
}

.artwork-meta-value{
  font-weight:500;
}

.artwork-view__price{
  font-weight:800;
  font-size:18px;
}

/* ===== Admin vezérlőpult ===== */
.admin-hub{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
  margin-top:22px;
}

.admin-hub__card{
  display:block;
  text-decoration:none;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.admin-hub__card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(0,0,0,.10);
  border-color:#d8d8d8;
}

.admin-hub__card h2{
  margin:0 0 8px;
  font-size:20px;
  letter-spacing:-0.02em;
}

.admin-hub__card p{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}

.admin-hub__card--danger h2{
  color:#991b1b;
}

/* ===== Kiállítások lista finomhangolás ===== */
.event-card{
  display:grid;
  grid-template-columns: 140px 1fr 120px;
  gap:16px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:16px;
  align-items:start;
}

.event-card__date{
  white-space:nowrap;
  font-weight:800;
  font-size:18px;
  line-height:1.2;
  color:var(--accent);
  align-self:start;
}

.event-card__thumb{
  align-self:start;
  justify-self:end;
}

.event-card__thumb img{
  width:100%;
  max-width:104px;
  height:74px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid var(--border);
  display:block;
}

@media (max-width: 700px){
  .event-card{
    grid-template-columns:1fr;
    gap:10px;
  }

  .event-card__date{
    white-space:normal;
    font-size:16px;
  }

  .event-card__thumb{
    justify-self:start;
  }

  .event-card__thumb img{
    max-width:140px;
    height:auto;
  }
}

#art-timeline .home-timeline__meta{
  font-size:13px;
  opacity:.8;
}

#art-timeline .home-timeline__title{
  min-height: 44px;
}

/* ===== Alkotóműhely idővonal finomhangolás ===== */
#art-timeline .home-timeline__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
}

#art-timeline .home-timeline__card{
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
}

#art-timeline .home-timeline__img{
  display:block;
  width:100%;
  aspect-ratio: 4 / 2.6; /* kisebb, laposabb indexkép */
  overflow:hidden;
  background:#f3f4f6;
}

#art-timeline .home-timeline__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .25s ease;
}

#art-timeline .home-timeline__card:hover .home-timeline__img img{
  transform:scale(1.03);
}

#art-timeline .home-timeline__body{
  padding:14px;
}

#art-timeline .home-timeline__meta{
  font-size:13px;
  opacity:.9;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
  margin-bottom:8px;
}

#art-timeline .home-timeline__meta::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--accent);
  display:inline-block;
}

#art-timeline .home-timeline__title{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.35;
  min-height:48px;
}

#art-timeline .home-timeline__title a{
  text-decoration:none;
}

#art-timeline .home-timeline__text{
  margin:0;
  color:var(--muted);
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

#art-timeline .home-timeline__link{
  display:inline-block;
  margin-top:10px;
  text-decoration:none;
  font-weight:600;
}

#art-timeline .home-timeline__footer{
  margin-top:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* mobil */
@media (max-width: 640px){
  #art-timeline .home-timeline__img{
    aspect-ratio: 4 / 2.8;
  }

  #art-timeline .home-timeline__title{
    min-height:auto;
    font-size:17px;
  }
}

/* ===== Alkotóműhely idővonal badge színek ===== */
#art-timeline .home-timeline__meta{
  font-size:13px;
  opacity:1;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:8px;
}

#art-timeline .home-timeline__meta::before{
  display:none;
}

#art-timeline .home-timeline__date{
  color:var(--muted);
  font-size:13px;
}

#art-timeline .timeline-badge{
  display:inline-block;
  padding:5px 9px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  line-height:1;
  border:1px solid var(--border);
}

#art-timeline .badge--art{
  background:#eef4ff;
  border-color:#c7d7ff;
  color:#2144a6;
}

#art-timeline .badge--graphic{
  background:#f5ecff;
  border-color:#dcc8ff;
  color:#6f2dbd;
}

#art-timeline .badge--event{
  background:#ecfff1;
  border-color:#bfe8cb;
  color:#146c43;
}

/* ===== Egységes badge rendszer ===== */
.ui-badge,
.timeline-badge,
.art-badge,
.status-badge{
  display:inline-block;
  padding:5px 9px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  line-height:1;
  border:1px solid var(--border);
}

.badge--art{
  background:#eef4ff;
  border-color:#c7d7ff;
  color:#2144a6;
}

.badge--graphic{
  background:#f5ecff;
  border-color:#dcc8ff;
  color:#6f2dbd;
}

.badge--event{
  background:#ecfff1;
  border-color:#bfe8cb;
  color:#146c43;
}

.badge--sale{
  background:#fff4e8;
  border-color:#ffd5a8;
  color:#9a4d00;
}

.badge--muted{
  background:#f6f6f6;
  border-color:#dddddd;
  color:#666666;
}

.badge--draft{
  background:#fff6e5;
  border-color:#ffd89b;
  color:#7a4a00;
}

.badge--published{
  background:#eafff1;
  border-color:#b7f0c5;
  color:#0f5132;
}

/* ===== Főoldali idővonal finomhangolás ===== */
#home-timeline .home-timeline__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
}

#home-timeline .home-timeline__card{
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
}

#home-timeline .home-timeline__img{
  display:block;
  width:100%;
  aspect-ratio: 4 / 2.5; /* kisebb, laposabb indexkép */
  overflow:hidden;
  background:#f3f4f6;
}

#home-timeline .home-timeline__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .25s ease;
}

#home-timeline .home-timeline__card:hover .home-timeline__img img{
  transform:scale(1.03);
}

#home-timeline .home-timeline__body{
  padding:14px;
}

#home-timeline .home-timeline__meta{
  font-size:13px;
  color:var(--muted);
  margin-bottom:8px;
}

#home-timeline .home-timeline__title{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.35;
  min-height:48px;
}

#home-timeline .home-timeline__title a{
  text-decoration:none;
}

#home-timeline .home-timeline__text{
  margin:0;
  color:var(--muted);
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

#home-timeline .home-timeline__link{
  display:inline-block;
  margin-top:10px;
  text-decoration:none;
  font-weight:600;
}

#home-timeline .home-timeline__footer{
  margin-top:16px;
}

@media (max-width: 640px){
  #home-timeline .home-timeline__img{
    aspect-ratio: 4 / 2.8;
  }

  #home-timeline .home-timeline__title{
    min-height:auto;
    font-size:17px;
  }
}

/* ===== Videók ===== */
.video-grid{
  display:grid;
  gap:22px;
  margin-top:14px;
}

.video-card{
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}

.video-card__embed{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  background:#000;
}

.video-card__embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}

.video-card__body{
  padding:16px;
}

.video-card__title{
  margin:0 0 8px;
  font-size:22px;
}

.video-card__subtitle{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.5;
}

.video-card__text{
  margin:0 0 12px;
  color:var(--muted);
  line-height:1.6;
}

.video-card__desc{
  line-height:1.7;
}

/* ===== Videók indexkártyás nézet ===== */
.video-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
  margin-top:14px;
}

.video-index-card{
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
}

.video-index-card__media{
  position:relative;
  display:block;
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:#000;
  text-decoration:none;
}

.video-index-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .25s ease;
}

.video-index-card:hover .video-index-card__media img{
  transform:scale(1.03);
}

.video-index-card__play{
  position:absolute;
  inset:auto auto 12px 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:999px;
  background:rgba(0,0,0,.70);
  color:#fff;
  font-size:18px;
  line-height:1;
}

.video-index-card__body{
  padding:14px;
}

.video-index-card__title{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.35;
}

.video-index-card__title a{
  text-decoration:none;
}

.video-index-card__subtitle{
  margin:0 0 8px;
  color:var(--muted);
  line-height:1.5;
  font-size:14px;
}

.video-index-card__text{
  margin:0;
  color:var(--muted);
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.video-index-card__actions{
  margin:12px 0 0;
}

/* ===== EMOST overview ===== */
body[data-section="emost"]{
  --accent:#c81e2a;
}

.emost-hero-art{
  min-height: 280px;
  border-radius: 22px;
  border:1px solid var(--border);
  background:
    radial-gradient(circle at 20% 20%, rgba(200,30,42,.18), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(116,196,255,.24), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f4fbff 38%, #eef7ff 100%);
  position: relative;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.emost-hero-badge{
  position: relative;
  z-index: 2;
  padding:14px 22px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid #dbefff;
  color:#c81e2a;
  font-weight:800;
  letter-spacing:.08em;
  box-shadow:0 14px 34px rgba(0,0,0,.08);
}

.emost-hero-lines{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.emost-hero-lines span{
  position:absolute;
  border-radius:999px;
  border:2px solid rgba(116,196,255,.35);
}

.emost-hero-lines span:nth-child(1){
  width:140px;height:140px;
}
.emost-hero-lines span:nth-child(2){
  width:220px;height:220px;
}
.emost-hero-lines span:nth-child(3){
  width:300px;height:300px;
  border-color:rgba(200,30,42,.18);
}

.emost-card{
  background:linear-gradient(180deg,#ffffff 0%, #f9fcff 100%);
}

.emost-panel{
  padding:18px;
  background:linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
}

.emost-split{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

@media (min-width: 900px){
  .emost-split{
    grid-template-columns:1fr 1fr;
  }
}

.emost-list{
  margin:0;
  padding-left:18px;
  line-height:1.8;
}

.emost-list li::marker{
  color:#c81e2a;
}

body[data-section="emost"]{
  --accent:#c81e2a;
}

.emost-hero-art{
  min-height: 280px;
  border-radius: 22px;
  border:1px solid var(--border);
  background:
    radial-gradient(circle at 20% 20%, rgba(200,30,42,.18), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(116,196,255,.24), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f4fbff 38%, #eef7ff 100%);
  position: relative;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.emost-hero-badge{
  position: relative;
  z-index: 2;
  padding:14px 22px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid #dbefff;
  color:#c81e2a;
  font-weight:800;
  letter-spacing:.08em;
  box-shadow:0 14px 34px rgba(0,0,0,.08);
}

.emost-hero-lines{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.emost-hero-lines span{
  position:absolute;
  border-radius:999px;
  border:2px solid rgba(116,196,255,.35);
}

.emost-hero-lines span:nth-child(1){ width:140px;height:140px; }
.emost-hero-lines span:nth-child(2){ width:220px;height:220px; }
.emost-hero-lines span:nth-child(3){
  width:300px;height:300px;
  border-color:rgba(200,30,42,.18);
}

.emost-panel{
  padding:18px;
  background:linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
}

.emost-split{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

@media (min-width: 900px){
  .emost-split{
    grid-template-columns:1fr 1fr;
  }
}

/* ===== GYIK ===== */
.faq-list{
  display:grid;
  gap:14px;
}

.faq-item{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}

.faq-item__q{
  cursor:pointer;
  list-style:none;
  padding:16px 18px;
  font-weight:700;
  font-size:18px;
  line-height:1.4;
  position:relative;
}

.faq-item__q::-webkit-details-marker{
  display:none;
}

.faq-item__q::after{
  content:"+";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  color:var(--accent);
}

.faq-item[open] .faq-item__q::after{
  content:"–";
}

.faq-item__a{
  padding:0 18px 18px;
  line-height:1.7;
  color:var(--text);
}

.faq-item__a p:first-child{
  margin-top:0;
}

.mini-tools{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  padding:10px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  margin-bottom:10px;
}

.mini-tools button{
  border:1px solid var(--border);
  background:#fff;
  border-radius:10px;
  padding:8px 10px;
  cursor:pointer;
  font:inherit;
}

.mini-tools button:hover{
  background:#f6f6f6;
}

.faq-preview{
  margin-top:14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}

.faq-preview__head{
  padding:12px 14px;
  font-weight:700;
  border-bottom:1px solid var(--border);
  background:#f9fafb;
}

.faq-preview__body{
  padding:14px;
  line-height:1.7;
}

.faq-preview__body p:first-child{
  margin-top:0;
}

.faq-preview__body a{
  text-decoration:underline;
}

/* ===== EMOST galéria ===== */
.emost-gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
}

.emost-gallery-card{
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
}

.emost-gallery-card__img{
  display:block;
  aspect-ratio:4 / 3;
  overflow:hidden;
  background:#f3f4f6;
}

.emost-gallery-card__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .25s ease;
}

.emost-gallery-card:hover .emost-gallery-card__img img{
  transform:scale(1.03);
}

.emost-gallery-card__body{
  padding:14px;
}

.emost-gallery-card__title{
  margin:0 0 8px;
  font-size:20px;
}

.emost-gallery-card__subtitle{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.5;
}

.emost-gallery-card__text{
  line-height:1.7;
}

/* ===== EMOST terápiák ===== */
.emost-therapy-list{
  display:grid;
  gap:18px;
}

.emost-therapy-card{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}

@media (min-width: 900px){
  .emost-therapy-card{
    grid-template-columns:320px 1fr;
    align-items:start;
  }
}

.emost-therapy-card__img{
  background:#f3f4f6;
}

.emost-therapy-card__img img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.emost-therapy-card__body{
  padding:16px;
}

.emost-therapy-card__title{
  margin:0 0 8px;
  font-size:24px;
}

.emost-therapy-card__subtitle{
  margin:0 0 12px;
  color:var(--muted);
  line-height:1.6;
}

.emost-therapy-card__text{
  line-height:1.75;
}

/* ===== EMOST főoldal képes finomhangolás ===== */
.emost-feature-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

@media (min-width: 900px){
  .emost-feature-grid{
    grid-template-columns:1fr 1fr;
  }
}

.emost-inline-image{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  border-radius:14px;
  margin-bottom:14px;
  border:1px solid var(--border);
}

.emost-card .card-img{
  display:block;
  aspect-ratio: 4 / 2.6;
  overflow:hidden;
  background:#f3f4f6;
}

.emost-card .card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.emost-card .card-title a{
  text-decoration:none;
}

#emost-timeline .home-timeline__title a{
  text-decoration:none;
}

#emost-timeline .home-timeline__img{
  display:block;
  width:100%;
  aspect-ratio:4 / 2.6;
  overflow:hidden;
  background:#f3f4f6;
}

#emost-timeline .home-timeline__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.emost-feature-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

@media (min-width: 900px){
  .emost-feature-grid{
    grid-template-columns:1fr 1fr;
  }
}

.emost-inline-image{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  border-radius:14px;
  margin-bottom:14px;
  border:1px solid var(--border);
}

/* ===== EMOST terápiák kompakt nézet ===== */
.emost-therapy-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
  margin-top:14px;
}

.emost-therapy-tile{
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
}

.emost-therapy-tile__img{
  display:block;
  aspect-ratio:4 / 3;
  overflow:hidden;
  background:#f3f4f6;
}

.emost-therapy-tile__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .25s ease;
}

.emost-therapy-tile:hover .emost-therapy-tile__img img{
  transform:scale(1.03);
}

.emost-therapy-tile__body{
  padding:14px;
}

.emost-therapy-tile__title{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.35;
}

.emost-therapy-tile__title a{
  text-decoration:none;
}

.emost-therapy-tile__subtitle{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.55;
  font-size:14px;
}

.emost-therapy-tile__actions{
  margin:0;
}

/* ===== Informatika overview ===== */
body[data-section="it"]{
  --accent:#1d4ed8;
}

.it-hero-art{
  min-height: 280px;
  border-radius: 22px;
  border:1px solid var(--border);
  background:
    radial-gradient(circle at 20% 20%, rgba(29,78,216,.18), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(96,165,250,.24), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #eff6ff 38%, #dbeafe 100%);
  position: relative;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.it-hero-badge{
  position: relative;
  z-index: 2;
  padding:14px 22px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid #bfdbfe;
  color:#1d4ed8;
  font-weight:800;
  letter-spacing:.08em;
  box-shadow:0 14px 34px rgba(0,0,0,.08);
}

.it-hero-lines{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.it-hero-lines span{
  position:absolute;
  border-radius:999px;
  border:2px solid rgba(96,165,250,.35);
}

.it-hero-lines span:nth-child(1){ width:140px;height:140px; }
.it-hero-lines span:nth-child(2){ width:220px;height:220px; }
.it-hero-lines span:nth-child(3){
  width:300px;height:300px;
  border-color:rgba(29,78,216,.18);
}

.it-card{
  background:linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);
}

.it-panel{
  padding:18px;
  background:linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);
}

.it-feature-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

@media (min-width: 900px){
  .it-feature-grid{
    grid-template-columns:1fr 1fr;
  }
}

.it-inline-image{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  border-radius:14px;
  margin-bottom:14px;
  border:1px solid var(--border);
}

.it-card .card-img{
  display:block;
  aspect-ratio:4 / 2.6;
  overflow:hidden;
  background:#eff6ff;
}

.it-card .card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.it-card .card-title a{
  text-decoration:none;
}

.it-accordion-list{
  display:grid;
  gap:12px;
  margin-top:12px;
}

.it-accordion-item{
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
  background:#fff;
}

.it-accordion-item h3{
  margin:0 0 8px;
  color:var(--accent);
}

.it-accordion-item p{
  margin:0;
  line-height:1.7;
}

.it-list{
  margin:0;
  padding-left:18px;
  line-height:1.8;
}

.it-list li::marker{
  color:#1d4ed8;
}

.it-accordion-list{
  display:grid;
  gap:12px;
  margin-top:12px;
}

.it-accordion-item{
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}

.it-accordion-item summary{
  list-style:none;
  cursor:pointer;
  padding:16px 18px;
  font-weight:700;
  color:var(--accent);
  position:relative;
}

.it-accordion-item summary::-webkit-details-marker{
  display:none;
}

.it-accordion-item summary::after{
  content:"+";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  line-height:1;
  color:var(--accent);
}

.it-accordion-item[open] summary::after{
  content:"–";
}

.it-accordion-item__body{
  padding:0 18px 18px;
}

.it-accordion-item__body p{
  margin:0;
  line-height:1.7;
}

/* ===== Informatika referenciablokk ===== */
.it-reference-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:14px;
}

@media (min-width: 800px){
  .it-reference-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

.it-reference-card{
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  padding:16px;
  box-shadow:0 8px 24px rgba(29,78,216,.06);
}

.it-reference-card h3{
  margin:0 0 8px;
  color:var(--accent);
  font-size:18px;
}

.it-reference-card p{
  margin:0;
  line-height:1.7;
  color:var(--text);
}

.it-reference-card__img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
  border-radius:10px;
  margin-bottom:12px;
  border:1px solid var(--border);
}

.it-reference-card__subtitle{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.5;
}

.it-reference-card__text{
  line-height:1.7;
}

/* ===== Informatika kapcsolódó szolgáltatások navigáció ===== */
.it-services-nav{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:14px;
}

@media (min-width: 900px){
  .it-services-nav{
    grid-template-columns:repeat(2,1fr);
  }
}

.it-services-nav__item{
  display:block;
  padding:16px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  text-decoration:none;
  color:inherit;
  box-shadow:0 8px 24px rgba(29,78,216,.05);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.it-services-nav__item:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(29,78,216,.10);
  border-color:#bfdbfe;
}

.it-services-nav__item strong{
  display:block;
  color:var(--accent);
  margin-bottom:6px;
  font-size:17px;
}

.it-services-nav__item span{
  display:block;
  color:var(--muted);
  line-height:1.6;
}

/* ===== Szolgáltatások overview ===== */
body[data-section="services"]{
  --accent:#0f766e;
}

.services-hero-art{
  min-height:280px;
  border-radius:22px;
  border:1px solid var(--border);
  background:
    radial-gradient(circle at 20% 20%, rgba(15,118,110,.18), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(125,211,252,.20), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f0fdfa 38%, #ecfeff 100%);
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.services-hero-badge{
  position:relative;
  z-index:2;
  padding:14px 22px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid #ccfbf1;
  color:#0f766e;
  font-weight:800;
  letter-spacing:.08em;
  box-shadow:0 14px 34px rgba(0,0,0,.08);
}

.services-hero-lines{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.services-hero-lines span{
  position:absolute;
  border-radius:999px;
  border:2px solid rgba(45,212,191,.28);
}

.services-hero-lines span:nth-child(1){ width:140px; height:140px; }
.services-hero-lines span:nth-child(2){ width:220px; height:220px; }
.services-hero-lines span:nth-child(3){
  width:300px; height:300px;
  border-color:rgba(15,118,110,.16);
}

.services-card{
  background:linear-gradient(180deg,#ffffff 0%, #f7fffd 100%);
}

.services-panel{
  padding:18px;
  background:linear-gradient(180deg,#ffffff 0%, #f9fffe 100%);
}

.services-feature-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

@media (min-width: 900px){
  .services-feature-grid{
    grid-template-columns:1fr 1fr;
  }
}

.services-inline-image{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  border-radius:14px;
  margin-bottom:14px;
  border:1px solid var(--border);
}

.services-card .card-img{
  display:block;
  aspect-ratio:4 / 2.6;
  overflow:hidden;
  background:#f0fdfa;
}

.services-card .card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.services-card .card-title a{
  text-decoration:none;
}

.services-accordion-list{
  display:grid;
  gap:12px;
  margin-top:12px;
}

.services-accordion-item{
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}

.services-accordion-item summary{
  list-style:none;
  cursor:pointer;
  padding:16px 18px;
  font-weight:700;
  color:var(--accent);
  position:relative;
}

.services-accordion-item summary::-webkit-details-marker{
  display:none;
}

.services-accordion-item summary::after{
  content:"+";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  line-height:1;
  color:var(--accent);
}

.services-accordion-item[open] summary::after{
  content:"–";
}

.services-accordion-item__body{
  padding:0 18px 18px;
}

.services-accordion-item__body p{
  margin:0;
  line-height:1.7;
}

.services-list{
  margin:0;
  padding-left:18px;
  line-height:1.8;
}

.services-list li::marker{
  color:#0f766e;
}

.services-nav{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:14px;
}

@media (min-width: 900px){
  .services-nav{
    grid-template-columns:repeat(3,1fr);
  }
}

.services-nav__item{
  display:block;
  padding:16px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.services-nav__item:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(15,118,110,.10);
  border-color:#99f6e4;
}

.services-nav__item strong{
  display:block;
  color:var(--accent);
  margin-bottom:6px;
  font-size:17px;
}

.services-nav__item span{
  display:block;
  color:var(--muted);
  line-height:1.6;
}

/* ===== 404 oldal ===== */
.error-page{
  min-height:60vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px 0;
}

.error-page__card{
  max-width:720px;
  width:100%;
  text-align:center;
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:36px 24px;
  box-shadow:0 18px 40px rgba(0,0,0,.08);
}

.error-page__code{
  font-size:72px;
  font-weight:800;
  line-height:1;
  color:var(--accent);
  margin-bottom:12px;
}

.error-page__card h1{
  margin:0 0 12px;
  font-size:32px;
}

.error-page__card p{
  margin:0 auto;
  max-width:560px;
  color:var(--muted);
  line-height:1.7;
}

.contact-business-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:22px;
}

@media (min-width:900px){
  .contact-business-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

.contact-business-card{
  border:1px solid var(--border);
  border-radius:18px;
  background:#fff;
  padding:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
}

.contact-business-card h2{
  margin-top:0;
}

.contact-business-card p{
  color:var(--muted);
  line-height:1.6;
}

/* ===== Kapcsolat új névjegykártyás felület ===== */
.contact-tile-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:22px;
}

@media (min-width:900px){
  .contact-tile-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

.contact-tile{
  border:1px solid var(--border);
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  padding:0;
  text-align:left;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.contact-tile:hover,
.contact-tile.is-active{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,.10);
  border-color:var(--accent);
}

.contact-tile img{
  width:100%;
  aspect-ratio:4 / 2.5;
  object-fit:cover;
  display:block;
  background:#f3f4f6;
}

.contact-tile span{
  display:block;
  padding:14px 14px 4px;
  font-weight:800;
  font-size:18px;
}

.contact-tile small{
  display:block;
  padding:0 14px 14px;
  color:var(--muted);
  line-height:1.5;
}

.contact-details-wrap{
  margin-top:18px;
}

.contact-details{
  display:none;
  border:1px solid var(--border);
  border-radius:20px;
  background:#fff;
  padding:20px;
  box-shadow:0 12px 30px rgba(0,0,0,.07);
}

.contact-details.is-active{
  display:block;
}

.contact-details h2{
  margin-top:0;
}

.contact-details p{
  color:var(--muted);
  line-height:1.7;
}

.contact-details dl{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:10px 14px;
  margin:16px 0;
}

.contact-details dt{
  font-weight:700;
  color:var(--text);
}

.contact-details dd{
  margin:0;
  color:var(--muted);
}

@media (max-width:640px){
  .contact-details dl{
    grid-template-columns:1fr;
    gap:4px;
  }

  .contact-details dt{
    margin-top:8px;
  }
}

/* ===== Kereső ===== */
.site-search-card{
  padding:18px;
}

.site-search-form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
}

.site-search-form input[type="search"]{
  width:100%;
  min-width:0;
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px 16px;
  font:inherit;
  background:#fff;
}

@media (max-width: 640px){
  .site-search-form{
    grid-template-columns:1fr;
  }
}

.search-results{
  display:grid;
  gap:14px;
}

.search-result-card{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.05);
}

.search-result-card__type{
  display:inline-block;
  margin-bottom:8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--accent);
}

.search-result-card__title{
  margin:0 0 8px;
  font-size:22px;
}

.search-result-card__title a{
  text-decoration:none;
}

.search-result-card__text{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.7;
}

.search-result-card__link{
  font-weight:700;
  text-decoration:none;
}

/* ===== Főoldali kiemelt kereső ===== */
.site-search-hero{
  margin-top:22px;
  padding:20px;
  border:1px solid var(--border);
  border-radius:22px;
  background:
    radial-gradient(circle at top right, rgba(0,0,0,.03), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:0 14px 34px rgba(0,0,0,.05);
}

.site-search-hero__head{
  margin-bottom:14px;
}

.site-search-hero__head h2{
  margin:0 0 6px;
  font-size:26px;
}

.site-search-hero__head p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.site-search-form--hero{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
}

.site-search-form--hero input[type="search"]{
  width:100%;
  min-width:0;
  border:1px solid var(--border);
  border-radius:14px;
  padding:15px 16px;
  font:inherit;
  background:#fff;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.03);
}

.site-search-form--hero input[type="search"]:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 4px rgba(0,0,0,.04);
}

@media (max-width: 640px){
  .site-search-hero{
    padding:16px;
  }

  .site-search-form--hero{
    grid-template-columns:1fr;
  }

  .site-search-hero__head h2{
    font-size:22px;
  }
}

.timeline-badge.badge--creative{
  background:#f3e8ff;
  color:#7c3aed;
  border:1px solid #d8b4fe;
}

/* ===== SelfAnamnézis űrlapgombok ===== */
.self-btn{
  display:inline-block;
  min-width:170px;
  padding:14px 26px;
  border:0;
  border-radius:18px;
  background:#c62828;
  color:#fff !important;
  font:700 18px/1.2 Arial, Helvetica, sans-serif;
  text-align:center;
  text-decoration:none !important;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(198,40,40,.24);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.self-btn:hover{
  background:#b71c1c;
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(183,28,28,.28);
}

.self-btn:active{
  transform:translateY(0);
  box-shadow:0 8px 18px rgba(183,28,28,.22);
}

.self-btn--ghost{
  background:#d32f2f;
}

.self-btn--secondary{
  background:#ef5350;
}

.self-btn-wrap{
  margin-top:22px;
  text-align:center;
}

.self-btn-row{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:22px;
}

@media (max-width: 640px){
  .self-btn,
  .self-btn--ghost,
  .self-btn--secondary{
    width:100%;
    max-width:320px;
  }

  .self-btn-row{
    flex-direction:column;
  }
}

/* Árajánlatkérő űrlap – dinamikus, összecsukható tárgykörök
   A meglévő main.css osztályaira épít, csak a modul saját finomhangolását tartalmazza. */

.quote-request-wrap{padding-top:24px;padding-bottom:24px}
.quote-page-hero{margin-bottom:18px}
.quote-page-hero p{max-width:880px}

/* =========================
   QR Magic
========================= */
.qr-magic-page{
  --qr-ink:#111;
  --qr-soft:#f7f8f8;
  --qr-line:#dfe7e4;
  --qr-teal:#0f766e;
  --qr-amber:#b45309;
}
.qr-magic-hero{
  align-items:center;
}
.qr-magic-hero-art{
  min-height:320px;
  border:1px solid var(--qr-line);
  background:#f8fbfa;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.qr-magic-symbol{
  width:min(320px, 78vw);
  aspect-ratio:1;
  display:grid;
  grid-template-columns:repeat(7, 1fr);
  grid-template-rows:repeat(7, 1fr);
  gap:10px;
  padding:24px;
  background:#fff;
  border:1px solid var(--qr-line);
  box-shadow:0 22px 60px rgba(15,118,110,.13);
}
.qr-magic-symbol span,
.qr-magic-symbol i{
  display:block;
  background:var(--qr-ink);
}
.qr-magic-symbol span:nth-child(1){grid-column:1 / 3;grid-row:1 / 3}
.qr-magic-symbol span:nth-child(2){grid-column:6 / 8;grid-row:1 / 3}
.qr-magic-symbol span:nth-child(3){grid-column:1 / 3;grid-row:6 / 8}
.qr-magic-symbol span:nth-child(4){grid-column:4 / 5;grid-row:4 / 5;background:var(--qr-teal)}
.qr-magic-symbol i:nth-of-type(1){grid-column:4 / 5;grid-row:1 / 2}
.qr-magic-symbol i:nth-of-type(2){grid-column:5 / 6;grid-row:3 / 4}
.qr-magic-symbol i:nth-of-type(3){grid-column:3 / 4;grid-row:5 / 6}
.qr-magic-symbol i:nth-of-type(4){grid-column:5 / 7;grid-row:5 / 6;background:var(--qr-amber)}
.qr-magic-symbol i:nth-of-type(5){grid-column:4 / 5;grid-row:7 / 8}
.qr-magic-symbol i:nth-of-type(6){grid-column:7 / 8;grid-row:4 / 5}

.qr-magic-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(320px, .85fr);
  gap:22px;
  align-items:start;
  margin-top:22px;
}
.qr-magic-form,
.qr-magic-preview{
  margin:0;
}
.qr-magic-preview{
  position:sticky;
  top:96px;
}
.qr-magic-section-head{
  margin:0 0 16px;
}
.qr-magic-section-head h2{
  margin:0 0 4px;
  font-size:22px;
  line-height:1.2;
}
.qr-magic-section-head p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}
.qr-magic-field{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin:0 0 14px;
  font-weight:700;
}
.qr-magic-field span,
.qr-magic-check span{
  font-size:14px;
}
.qr-magic-field input,
.qr-magic-field select,
.qr-magic-field textarea{
  width:100%;
  border:1px solid var(--qr-line);
  border-radius:8px;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-weight:500;
  padding:11px 12px;
}
.qr-magic-field textarea{
  resize:vertical;
  min-height:96px;
}
.qr-magic-field input[type="color"]{
  min-height:44px;
  padding:4px;
}
.qr-magic-field input[type="range"]{
  padding:0;
  accent-color:var(--qr-teal);
}
.qr-magic-field output{
  color:var(--muted);
  font-weight:600;
}
.qr-magic-field small{
  color:var(--muted);
  font-weight:500;
  line-height:1.45;
}
.qr-magic-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:0 14px;
}
.qr-magic-span{
  grid-column:1 / -1;
}
.qr-magic-check{
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 14px;
  font-weight:700;
}
.qr-magic-check input{
  width:18px;
  height:18px;
  accent-color:var(--qr-teal);
}
.qr-magic-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}
.qr-magic-actions .btn{
  cursor:pointer;
}
.qr-magic-presets{
  margin:0 0 14px;
  padding:0;
  border:0;
  min-width:0;
}
.qr-magic-presets legend{
  display:block;
  width:100%;
  margin:0 0 8px;
  font-size:14px;
  font-weight:700;
}
.qr-magic-preset-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:10px;
}
.qr-magic-preset-grid label{
  position:relative;
  display:grid;
  grid-template-rows:42px minmax(16px, auto);
  place-items:center;
  align-content:center;
  gap:6px;
  min-height:86px;
  padding:10px 8px;
  border:1px solid var(--qr-line);
  border-radius:8px;
  background:#fff;
  cursor:pointer;
  text-align:center;
  min-width:0;
  overflow:hidden;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.qr-magic-preset-grid label:hover{
  transform:translateY(-1px);
  border-color:#b7cbc6;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}
.qr-magic-preset-grid input{
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  opacity:0;
  pointer-events:none;
}
.qr-magic-preset-grid label:has(input:checked),
.qr-magic-preset-grid label.is-selected{
  border-color:var(--qr-teal);
  box-shadow:0 0 0 2px rgba(15,118,110,.14);
}
.qr-preset-icon{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-weight:900;
  font-size:17px;
  line-height:1;
}
.qr-preset-icon--none{
  background:#f1f3f3;
  color:#777;
}
.qr-preset-icon--facebook{
  font-family:Arial,sans-serif;
  font-size:24px;
}
.qr-preset-icon--phone,
.qr-preset-icon--wifi,
.qr-preset-icon--location{
  font-size:20px;
}
.qr-preset-icon--mail{
  font-size:19px;
}
.qr-preset-icon--web{
  font-size:11px;
  letter-spacing:0;
}
.qr-preset-thumb{
  width:38px;
  max-width:38px;
  height:38px;
  max-height:38px;
  display:block;
  object-fit:contain;
  flex:0 0 38px;
}
.qr-magic-preset-grid img.qr-preset-thumb{
  width:38px !important;
  max-width:38px !important;
  height:38px !important;
  max-height:38px !important;
}
.qr-magic-preset-grid em{
  font-style:normal;
  font-size:12px;
  font-weight:700;
  color:#333;
  line-height:1.2;
  max-width:100%;
  overflow-wrap:anywhere;
}
.qr-magic-frame{
  border:1px solid var(--qr-line);
  background:var(--qr-soft);
  aspect-ratio:1;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.qr-magic-frame iframe{
  width:100%;
  height:100%;
  border:0;
  background:#fff;
  display:block;
}
.qr-magic-note{
  margin-top:14px;
  padding:12px;
  border:1px solid #f0d8b8;
  background:#fff8ed;
  color:#5f3b08;
  border-radius:8px;
  line-height:1.5;
}

@media (max-width: 900px){
  .qr-magic-layout{
    grid-template-columns:1fr;
  }
  .qr-magic-preview{
    position:static;
  }
}

@media (max-width: 640px){
  .qr-magic-grid{
    grid-template-columns:1fr;
  }
  .qr-magic-preset-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .qr-magic-actions .btn{
    width:100%;
    text-align:center;
  }
  .qr-magic-hero-art{
    min-height:240px;
  }
  .qr-magic-symbol{
    gap:7px;
    padding:18px;
  }
}
.req{color:#b91c1c;font-weight:800}

.quote-form-card{margin:18px 0;border-radius:18px}
.quote-form-grid{display:grid;grid-template-columns:1fr;gap:12px 16px;margin-top:14px}
.quote-form-grid__full{grid-column:1 / -1}
@media (min-width:800px){.quote-form-grid{grid-template-columns:1fr 1fr}}

.quote-section-intro{margin:24px 0 12px}
.quote-section-intro h2{margin:0 0 6px}
.quote-section-intro p{margin:0;color:var(--muted);line-height:1.6}

.quote-accordion-list{display:grid;gap:14px;margin:14px 0 22px}
.quote-subject-panel{border:1px solid var(--border);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 26px rgba(0,0,0,.05)}
.quote-subject-summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding:16px 18px;color:#fff;position:relative}
.quote-subject-summary::-webkit-details-marker{display:none}
.quote-subject-summary::after{content:"+";display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:rgba(255,255,255,.22);font-size:22px;font-weight:700;line-height:1;margin-left:8px;grid-column:3}
.quote-subject-panel[open] .quote-subject-summary::after{content:"–"}
.quote-subject-summary__main{display:grid;gap:4px;min-width:0}
.quote-subject-summary__title{font-size:19px;font-weight:800;letter-spacing:-.02em}
.quote-subject-summary__hint{font-size:14px;line-height:1.45;opacity:.92}
.quote-subject-summary__meta{white-space:nowrap;font-size:13px;font-weight:700;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.20);border:1px solid rgba(255,255,255,.28)}
.quote-subject-body{padding:14px;background:linear-gradient(180deg,#fff 0%,#fafafa 100%)}

.quote-subject--blue .quote-subject-summary{background:linear-gradient(135deg,#1d4ed8,#60a5fa)}
.quote-subject--green .quote-subject-summary{background:linear-gradient(135deg,#0f766e,#2dd4bf)}
.quote-subject--purple .quote-subject-summary{background:linear-gradient(135deg,#6d28d9,#a78bfa)}
.quote-subject--pink .quote-subject-summary{background:linear-gradient(135deg,#a21caf,#f472b6)}
.quote-subject--amber .quote-subject-summary{background:linear-gradient(135deg,#b45309,#f59e0b)}
.quote-subject--red .quote-subject-summary{background:linear-gradient(135deg,#b91c1c,#f87171)}
.quote-subject--slate .quote-subject-summary{background:linear-gradient(135deg,#334155,#64748b)}

.quote-item-card{display:grid;grid-template-columns:1fr;gap:14px;border:1px solid var(--border);border-radius:16px;background:#fff;padding:14px;margin:0 0 12px}
.quote-item-card:last-child{margin-bottom:0}
.quote-item-card__text h3{margin:0 0 8px;font-size:18px;line-height:1.3}
.quote-item-card__text p{margin:0 0 10px;color:var(--muted);line-height:1.55}
.quote-item-card__controls{display:grid;grid-template-columns:1fr;gap:10px}
.quote-item-card__controls .field{margin:0}
.quote-item-card__controls input[type="number"]{max-width:140px}
@media (min-width:860px){
  .quote-item-card{grid-template-columns:1.2fr .8fr;align-items:start}
  .quote-item-card__controls{grid-template-columns:140px 1fr;align-items:start}
}

.quote-notice--ok{border-color:#b7f0c5;background:#f0fff4;color:#0f5132}
.quote-submit-card{margin-top:20px}

@media (max-width:640px){
  .quote-subject-summary{grid-template-columns:1fr;gap:10px}
  .quote-subject-summary::after{position:absolute;right:14px;top:14px;grid-column:auto}
  .quote-subject-summary__meta{justify-self:start}
  .quote-subject-summary__title{padding-right:42px}
}

/* ZsoZsoSoft - árajánlat PDF/nyomtatási nézet */
.quote-offer-print-page{
  background:#f4f5f7;
  color:#111;
}
.print-actions{
  max-width:960px;
  margin:18px auto;
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.offer-sheet{
  width:min(960px, calc(100% - 32px));
  margin:0 auto 32px;
  background:#fff;
  border:1px solid var(--border, #e6e6e6);
  border-radius:18px;
  padding:34px;
  box-shadow:0 18px 45px rgba(0,0,0,.10);
}
.offer-head{
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:start;
  padding-bottom:22px;
  border-bottom:3px solid var(--accent, #111);
}
.offer-brand{
  font-size:30px;
  font-weight:900;
  letter-spacing:-.03em;
}
.offer-muted{
  color:var(--muted, #666);
  margin-top:5px;
}
.offer-docbox{
  border:1px solid var(--border, #e6e6e6);
  border-radius:14px;
  padding:12px 14px;
  font-size:14px;
  line-height:1.65;
  min-width:260px;
  background:#fafafa;
}
.offer-parties{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin:22px 0;
}
.offer-box,
.offer-section{
  border:1px solid var(--border, #e6e6e6);
  border-radius:16px;
  padding:16px;
  background:#fff;
}
.offer-box h2,
.offer-section h2{
  margin:0 0 10px;
  font-size:18px;
}
.offer-box p,
.offer-section p{
  margin:5px 0;
  line-height:1.6;
}
.offer-section{
  margin-top:16px;
}
.offer-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
.offer-table th,
.offer-table td{
  border:1px solid #ddd;
  padding:9px;
  vertical-align:top;
}
.offer-table th{
  background:#f7f7f7;
  text-align:left;
}
.offer-table small{
  color:#555;
  line-height:1.5;
}
.offer-table .num{
  text-align:right;
  white-space:nowrap;
}
.offer-table tfoot td{
  background:#fafafa;
  font-size:15px;
}
.offer-terms{
  background:#fbfbfb;
}
.offer-footer{
  margin-top:28px;
  display:flex;
  justify-content:space-between;
  gap:18px;
  color:#333;
  border-top:1px solid var(--border, #e6e6e6);
  padding-top:16px;
}
@media (max-width:760px){
  .offer-sheet{padding:18px;width:calc(100% - 20px)}
  .offer-head,.offer-parties{grid-template-columns:1fr}
  .offer-docbox{min-width:0}
  .offer-table{font-size:13px}
}
@media print{
  @page{size:A4;margin:14mm}
  body.quote-offer-print-page{background:#fff}
  .no-print{display:none !important}
  .offer-sheet{
    width:auto;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    box-shadow:none;
  }
  .offer-head{break-inside:avoid}
  .offer-box,.offer-section{break-inside:avoid}
  .offer-table tr{break-inside:avoid}
  a{text-decoration:none;color:inherit}
}

/* Árajánlat nyomtatási logó - kiegészítés */
/* Ezt a fájlt vagy külön töltsd be a print_offer.php-ben,
   vagy másold a meglévő /assets/css/quote-offer-print.css végére. */

.offer-print-header,
.offer-header,
.print-offer-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}

.offer-print-logo{
  flex:0 0 auto;
  text-align:right;
  margin-left:auto;
}

.offer-print-logo img{
  display:block;
  width:130px;
  max-width:28vw;
  height:auto;
  object-fit:contain;
  border-radius:10px;
}

/* Ha a korábbi nyomtatási fejléc nem flexes, ez a külön osztály önmagában is működik */
.offer-logo-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:22px;
}

.offer-logo-left{
  min-width:0;
  flex:1 1 auto;
}

@media print{
  .offer-print-logo img{
    width:115px;
    max-width:115px;
  }
}

@media (max-width:700px){
  .offer-print-header,
  .offer-header,
  .print-offer-header,
  .offer-logo-row{
    display:block;
  }

  .offer-print-logo{
    text-align:left;
    margin:12px 0 0;
  }

  .offer-print-logo img{
    width:110px;
    max-width:45vw;
  }
}
