/* Kecóleső – közös kinézet (fejléc, űrlapok, üzenetek) */
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Roboto, Arial, sans-serif; color: #1f2933; background: #f5f7fa; }
a { color: #c0392b; }

/* Fejléc */
.fejlec { display: flex; align-items: center; gap: 16px; padding: 10px 20px; background: #fff; border-bottom: 1px solid #e4e7eb; }
.logo { font-size: 22px; font-weight: 700; color: #c0392b; text-decoration: none; }
.alcim { color: #616e7c; font-size: 14px; }
.feladas-gomb { margin-left: auto; }
.fiok-menu { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.menu-gomb { display: none; }
.fejlec > *, .fiok-menu > * { white-space: nowrap; }   /* a fejléc mindig egy sorban marad */
@media (max-width: 980px) { .alcim { display: none; } }
.fiok-menu a { text-decoration: none; color: #1f2933; }
.fiok-menu form { margin: 0; }
.link-gomb { background: none; border: none; padding: 0; font: inherit; color: #1f2933; cursor: pointer; }
.link-gomb:hover, .fiok-menu a:hover { text-decoration: underline; }

/* Oldal és doboz */
.oldal { max-width: 520px; margin: 32px auto; padding: 0 16px; }
.kartya-doboz { background: #fff; border: 1px solid #e4e7eb; border-radius: 10px; padding: 24px 28px; }
.kartya-doboz h1 { font-size: 22px; margin: 0 0 12px; }
.kartya-doboz h2 { font-size: 17px; margin: 24px 0 8px; }
.halvany { color: #616e7c; }

/* Űrlapok (a fiókkezelő oldalak űrlapjai is) */
form p, form > div { margin: 0 0 14px; }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #cbd2d9; border-radius: 6px; font: inherit; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid #f0b4ad; border-color: #c0392b; }
input[type=checkbox] { margin-right: 6px; }
.helptext, form .help { display: block; color: #7b8794; font-size: 12px; margin-top: 4px; }
.errorlist { color: #b42318; margin: 4px 0; padding-left: 18px; font-size: 13px; }
button, .gomb { display: inline-block; background: #c0392b; color: #fff; border: none; border-radius: 6px;
  padding: 9px 18px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.fejlec .gomb { color: #fff; padding: 6px 12px; font-size: 14px; }
button:hover, .gomb:hover { background: #a93226; }
.link-lista { padding-left: 18px; }

/* Üzenetek */
.uzenetek { list-style: none; padding: 0; margin: 0 0 16px; }
.uzenet { background: #e6f4ea; border: 1px solid #b7dfc2; color: #1e4620; padding: 10px 14px; border-radius: 6px; margin-bottom: 8px; }
.uzenet.error, .uzenet.warning { background: #fdecea; border-color: #f5c2bd; color: #7a1c13; }

/* Szélesebb oldal (pl. hirdetésfeladás) */
.oldal.szeles { max-width: 820px; }
.gomb.masodlagos, button.masodlagos { background: #fff; color: #1f2933; border: 1px solid #cbd2d9; }
.gomb.masodlagos:hover, button.masodlagos:hover { background: #f0f2f5; }

/* Lépésjelző */
.lepesjelzo { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; flex-wrap: wrap; }
.lepesjelzo li { flex: 1; min-width: 110px; }
.lepesjelzo a { display: block; padding: 8px 10px; border-radius: 6px; background: #f0f2f5; color: #52606d;
  text-decoration: none; font-size: 13px; }
.lepesjelzo span { display: inline-block; width: 20px; height: 20px; line-height: 20px; text-align: center;
  border-radius: 50%; background: #cbd2d9; color: #fff; font-weight: 700; margin-right: 4px; }
.lepesjelzo .kesz a { background: #e6f4ea; color: #1e4620; }
.lepesjelzo .kesz span { background: #2f9e44; }
.lepesjelzo .aktiv a { background: #fdecea; color: #7a1c13; font-weight: 600; }
.lepesjelzo .aktiv span { background: #c0392b; }

/* Űrlap */
.urlap-racs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.mezo { margin-bottom: 14px; }
.mezo.rejtett { display: none; }
.hely-terkep { height: 340px; border: 1px solid #cbd2d9; border-radius: 6px; }
.mezo.hibas .hely-terkep { border-color: #b42318; }
.kepek-resz { margin-bottom: 18px; }
#kep-feltolto { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.kep-valaszto { position: relative; cursor: pointer; }
.kep-valaszto input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.kep-racs { list-style: none; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.kep-racs li { position: relative; border: 1px solid #d0d5dd; border-radius: 6px; overflow: hidden; background: #f2f4f7; cursor: grab; aspect-ratio: 4 / 3; }
.kep-racs li.huzott { opacity: .4; }
.kep-racs img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.kep-racs .boritokep { display: none; position: absolute; left: 6px; top: 6px; background: #c0392b; color: #fff; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
.kep-racs li:first-child .boritokep { display: block; }
.kep-racs li:first-child .kep-elore { display: none; }
.kep-racs .kep-torles { position: absolute; padding: 0; margin: 0; font-weight: 400; min-width: 0; right: 6px; top: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 17px; line-height: 1; cursor: pointer; }
.kep-racs .kep-elore { position: absolute; margin: 0; min-width: 0; color: #1d2939; font-weight: 600; line-height: 1.3; left: 6px; bottom: 6px; border: 0; border-radius: 4px; background: rgba(255,255,255,.9); font-size: 11px; padding: 3px 6px; cursor: pointer; }
.osszegzes-kep { height: 48px; border-radius: 4px; vertical-align: middle; margin-right: 6px; }
#hely-allapot.hely-figyelmeztetes { color: #b54708; font-weight: 600; font-size: 13px; }
.hely-jelolo { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: #c0392b;
  transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.45); cursor: grab; }
.karakterszamlalo { display: block; font-size: 12px; margin-top: 4px; color: #b42318; }
.karakterszamlalo.eleg { color: #2f7d32; }
.mezo.kotelezo > label::after { content: " *"; color: #c0392b; }
.mezo.hibas input, .mezo.hibas select, .mezo.hibas textarea { border-color: #b42318; }
.urlap-gombok { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.urlap-gombok .elvetes { margin-right: auto; }
.gomb.veszelyes { background: #fff; color: #b42318; border: 1px solid #f1b5ae; }
.gomb.veszelyes:hover { background: #fef3f2; }
.osszegzes { width: 100%; border-collapse: collapse; font-size: 14px; }
.osszegzes th { text-align: left; color: #52606d; font-weight: 600; width: 30%; }
.osszegzes th, .osszegzes td { padding: 6px 4px; border-bottom: 1px solid #e4e7eb; vertical-align: top; }
.hiany { color: #b42318; font-weight: 600; }
.vazlat-lista { list-style: none; padding: 0; }
.vazlat-lista li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid #e4e7eb; flex-wrap: wrap; }
.vazlat-gombok { display: flex; gap: 8px; }
.vazlat-gombok form { margin: 0; }
@media (max-width: 640px) { .urlap-racs { grid-template-columns: 1fr; } }

/* Irányítószám → település javaslat */
.irsz-sugo { font-size: 13px; color: #52606d; margin-top: 6px; }
.irsz-sugo:empty { display: none; }
.irsz-valaszto { background: #fff; color: #c0392b; border: 1px solid #c0392b; padding: 2px 10px; margin: 4px 6px 0 0;
  border-radius: 12px; font-size: 13px; font-weight: 600; }
.irsz-valaszto:hover { background: #fdecea; }

/* Saját hirdetéseim */
.sajat-fej { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sajat-fej h1 { margin: 0; }
.sajat-hirdetes { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid #e4e7eb; }
.sajat-kep { flex: 0 0 120px; width: 120px; height: 90px; object-fit: cover; border-radius: 6px; background: #e4e7eb; }
.sajat-kep.nincs-kep { display: flex; align-items: center; justify-content: center; color: #7b8794; font-size: 12px; }
.sajat-adatok { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sajat-sor1 { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.allapot { flex: 0 0 auto; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: #e4e7eb; color: #3e4c59; }
.allapot-aktiv { background: #dcfce7; color: #166534; }
.allapot-jovahagyasra_var { background: #fef3c7; color: #92400e; }
.allapot-szuneteltetve, .allapot-lejart { background: #e5e7eb; color: #374151; }
.allapot-eladva { background: #dbeafe; color: #1e40af; }
.allapot-elutasitva { background: #fee2e2; color: #991b1b; }
.sajat-gombok { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: flex-start; }
.sajat-gombok form { margin: 0; }
.sajat-gombok .gomb { padding: 6px 12px; font-size: 14px; }
.modositas-sav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px;
  background: #fffbeb; border: 1px solid #fcd34d; border-radius: 6px; padding: 8px 10px; margin: 6px 0; font-size: 14px; }
.modositas-sav .sajat-gombok { margin-top: 0; }
.hamarosan-lejar { color: #b54708; font-weight: 600; }
.robotvedelem { margin: 14px 0 4px; }

/* ---- Hirdetés oldala ---- */
.oldal.hirdetes-oldal { max-width: 1120px; }
.allapot-sav { padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; font-weight: 600; background: #f2f4f7; }
.allapot-sav.allapot-eladva { background: #dbeafe; color: #1e40af; }
.allapot-sav.allapot-jovahagyasra_var, .allapot-sav.allapot-vazlat { background: #fef3c7; color: #92400e; }
.allapot-sav.allapot-elutasitva { background: #fee2e2; color: #991b1b; }
.sajat-sav { background: #ecfdf3; border: 1px solid #abefc6; border-radius: 6px; padding: 8px 12px; margin-bottom: 14px; font-size: 14px; }
.hirdetes-fej { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.hirdetes-fej h1 { margin-bottom: 4px; }
.hirdetes-ar { text-align: right; }
.nagy-ar { font-size: 26px; font-weight: 700; color: #1d2939; white-space: nowrap; }
.cimkek { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 18px; }
.cimke { background: #f2f4f7; border-radius: 12px; padding: 3px 10px; font-size: 13px; font-weight: 600; color: #344054; }
.cimke.halvany-cimke { font-weight: 400; color: #667085; }
.csokkenes-cimke { background: #dcfce7; color: #166534; }
.emelkedes-cimke { background: #fee2e2; color: #991b1b; }
.csokkenes { color: #166534; font-weight: 600; }
.emelkedes { color: #b42318; font-weight: 600; }
.hirdetes-racs { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 860px) { .hirdetes-racs { grid-template-columns: minmax(0, 1fr); } .kartya-doboz { padding: 18px 16px; } .hirdetes-ar { text-align: left; } }
.hirdetes-fo section { margin-bottom: 26px; }
.hirdetes-fo h2 { margin-top: 0; }
.galeria-fo { position: relative; background: #101828; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.galeria-fo img { width: 100%; height: 100%; object-fit: contain; display: block; cursor: zoom-in; }
.galeria-fo.nincs-kep { display: flex; align-items: center; justify-content: center; color: #98a2b3; background: #f2f4f7; aspect-ratio: 16 / 7; }
.galeria-nyil { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 56px; border: 0; border-radius: 6px;
  background: rgba(0,0,0,.45); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; padding: 0; }
.galeria-nyil.bal { left: 8px; } .galeria-nyil.jobb { right: 8px; }
.galeria-nyil:hover { background: rgba(0,0,0,.7); }
.galeria-szamlalo { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 10px; }
.galeria-kicsik { display: flex; gap: 6px; overflow-x: auto; margin-top: 8px; padding-bottom: 4px; }
.galeria-kicsik img { width: 88px; height: 66px; object-fit: cover; border-radius: 4px; cursor: pointer; opacity: .65; border: 2px solid transparent; flex: 0 0 auto; }
.galeria-kicsik img.aktiv, .galeria-kicsik img:hover { opacity: 1; border-color: #c0392b; }
.nagykep { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 2000; display: flex; align-items: center; justify-content: center; }
.nagykep[hidden] { display: none; }
.nagykep img { max-width: 92vw; max-height: 90vh; object-fit: contain; }
.nagykep button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; padding: 10px 16px; }
.nagykep button:hover { background: rgba(255,255,255,.1); }
.nagykep-bezar { top: 8px; right: 12px; }
.nagykep-nyil.bal { left: 8px; } .nagykep-nyil.jobb { right: 8px; }
.adat-tabla { width: 100%; border-collapse: collapse; }
.adat-tabla th, .adat-tabla td { text-align: left; padding: 7px 4px; border-bottom: 1px solid #eaecf0; font-size: 15px; }
.adat-tabla th { width: 45%; color: #667085; font-weight: 400; }
.leiras { line-height: 1.55; }
.hirdetes-terkep { height: 320px; border-radius: 8px; border: 1px solid #e4e7eb; }
.artortenet { border-collapse: collapse; }
.artortenet td { padding: 5px 16px 5px 0; border-bottom: 1px solid #eaecf0; }
.osszevetes { display: flex; gap: 12px; flex-wrap: wrap; }
.osszevetes > div { flex: 1 1 140px; background: #f9fafb; border: 1px solid #eaecf0; border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.hirdetes-oldalsav { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.doboz { border: 1px solid #e4e7eb; border-radius: 8px; padding: 14px 16px; }
.doboz h2 { margin: 0 0 10px; font-size: 16px; }
.elerhetoseg { font-size: 18px; font-weight: 600; letter-spacing: .5px; margin: 6px 0 10px; }
.kis-urlap .mezo { margin-bottom: 10px; }
.kis-urlap input, .kis-urlap textarea, .kis-urlap select { width: 100%; box-sizing: border-box; }
.kis-urlap .cf-turnstile { margin: 6px 0 10px; }
.gombsor { display: flex; flex-wrap: wrap; gap: 6px; }
.gombsor .gomb { padding: 6px 10px; font-size: 14px; }
.bejelentes summary { cursor: pointer; color: #475467; font-size: 14px; }
.bejelentes[open] summary { margin-bottom: 10px; }

@media print {
  header, .hirdetes-oldalsav, .galeria-kicsik, .galeria-nyil, .uzenetek, .sajat-sav, .terkep-resz, .nagykep { display: none !important; }
  body { background: #fff; }
  .kartya-doboz { border: 0; padding: 0; }
  .hirdetes-racs { display: block; }
  .galeria-fo { background: none; aspect-ratio: auto; }
  .galeria-fo img { max-height: 9cm; width: auto; }
  .oldal.hirdetes-oldal { max-width: none; margin: 0; }
}

/* ---- Moderálás ---- */
.mod-sor { display: flex; gap: 12px; padding: 12px 8px; border-top: 1px solid #eaecf0; color: inherit; text-decoration: none; border-radius: 6px; }
.mod-sor:hover { background: #f9fafb; }
.mod-sor img, .mod-kep { flex: 0 0 96px; width: 96px; height: 72px; object-fit: cover; border-radius: 6px; background: #e4e7eb; }
.mod-kep.nincs-kep { display: flex; align-items: center; justify-content: center; font-size: 11px; color: #7b8794; }
.mod-adatok { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mod-sor1 { display: flex; gap: 8px; align-items: center; }
.mod-jelzes { color: #b54708; font-size: 13px; font-weight: 600; }
.mod-bejelentes { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #eaecf0; flex-wrap: wrap; }
.mod-bejelentes form { margin: 0; }
.mod-figyelmeztetes { background: #fffbeb; border: 1px solid #fcd34d; border-radius: 6px; padding: 10px 14px; margin: 14px 0; }
.mod-figyelmeztetes ul { margin: 6px 0 0; padding-left: 20px; }
.mod-rendben { background: #ecfdf3; border: 1px solid #abefc6; border-radius: 6px; padding: 10px 14px; margin: 14px 0; }
.mod-osszevetes { width: 100%; border-collapse: collapse; }
.mod-osszevetes th, .mod-osszevetes td { text-align: left; vertical-align: top; padding: 7px 8px; border-bottom: 1px solid #eaecf0; font-size: 14px; }
.mod-osszevetes td.regi { background: #fef3f2; text-decoration: line-through; text-decoration-color: rgba(180,35,24,.5); }
.mod-osszevetes td.uj { background: #ecfdf3; }
.mod-kepsor { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 6px 0; }
.mod-kepsor img { width: 88px; height: 66px; object-fit: cover; border-radius: 4px; }
.mod-kepsor .halvany { width: 120px; }
.mod-dontes { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin: 20px 0; padding: 14px; background: #f9fafb; border: 1px solid #eaecf0; border-radius: 8px; }
.mod-dontes form { margin: 0; }
.nagy-gomb { font-size: 16px; padding: 10px 22px; }
.mod-elutasitas { flex: 1 1 380px; }
.mod-elutasitas summary { list-style: none; display: inline-block; cursor: pointer; }
.mod-elutasitas summary::-webkit-details-marker { display: none; }
.mod-elutasitas form { margin-top: 10px; }
.jelolo { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin-bottom: 6px; font-weight: 400; }
.jelolo input { width: auto; margin-top: 3px; }
.mod-kovetkezo { align-self: center; margin-left: auto; font-size: 14px; }
.mod-elonezet { border: 1px dashed #d0d5dd; border-radius: 8px; padding: 16px; }
.elutasitas-ok { background: #fef3f2; border: 1px solid #fecdca; border-radius: 6px; padding: 6px 10px; font-size: 14px; margin: 4px 0; }
.mentett-kereses { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #eaecf0; flex-wrap: wrap; }
.mentett-kereses form { margin: 0; }
.kedvenc-gomb-nagy { margin-top: 6px; padding: 6px 12px; font-size: 14px; }
.kedvenc-gomb-nagy.aktiv { color: #c0392b; border-color: #f1b5ae; }
.mentett-kereses .gombsor { align-items: flex-start; }

/* Jogi oldalak, lábléc, süti-tájékoztatás (9. munkacsomag) */
.lablec { text-align: center; margin: -16px 0 32px; font-size: 13px; color: #7b8794; }
.jogi-linkek a { color: #616e7c; }
.lista-lablec { margin: 24px 0 8px; text-align: center; font-size: 12px; }
.suti-sav { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2000; max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; background: #1f2933; color: #fff; padding: 12px 16px;
  border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.25); font-size: 14px; }
.suti-sav[hidden] { display: none; }
.suti-sav a { color: #ffd6d1; }
.suti-sav .gomb { flex: 0 0 auto; }
@media (max-width: 600px) { .suti-sav { flex-direction: column; align-items: stretch; } }
.jogi-szoveg { line-height: 1.55; }
.jogi-szoveg h2 { margin-top: 28px; }
.jogi-szoveg table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 8px 0 16px; }
.jogi-szoveg th, .jogi-szoveg td { border: 1px solid #e4e7eb; padding: 6px 8px; text-align: left; vertical-align: top; }
.jogi-szoveg th { background: #f5f7fa; }
.tervezet-jelzes { background: #fff8e1; border: 1px solid #f3d27a; color: #6b4e00; padding: 10px 14px; border-radius: 6px; font-size: 14px; }
mark.kitoltendo { background: #fff1a8; padding: 0 3px; border-radius: 3px; }
.jelolo-sor { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; margin-bottom: 14px; }
.jelolo-sor input { margin-top: 3px; }
.veszely-doboz { background: #fef3f2; border: 1px solid #f1b5ae; padding: 12px 16px; border-radius: 6px; margin: 12px 0 16px; }
input[type=checkbox] + label { display: inline; font-weight: 400; }
/* Jelölőnégyzet a felirata előtt, egy sorban (pl. a feltételek elfogadása a regisztrációnál) */
form p:has(> input[type=checkbox]) { display: flex; gap: 8px; align-items: flex-start; }
form p:has(> input[type=checkbox]) > input[type=checkbox] { order: -1; margin: 3px 0 0; flex: 0 0 auto; }
form p:has(> input[type=checkbox]) > label { font-weight: 400; margin: 0; }
.lablec { padding-bottom: var(--suti-magassag, 0px); }

/* ---- Mobil nézet (10. munkacsomag) ---- */
.lepesjelzo a { height: 100%; }
@media (max-width: 700px) {
  .fejlec { flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
  .fejlec .gomb { padding: 9px 12px; }
  .menu-gomb { display: flex; align-items: center; justify-content: center; width: 44px; height: 40px; padding: 0;
    background: #fff; color: #1f2933; border: 1px solid #cbd2d9; font-size: 20px; font-weight: 400; }
  .menu-gomb:hover { background: #f0f2f5; }
  .fiok-menu { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .fejlec.nyitva .fiok-menu { display: flex; }
  .fiok-menu > a, .fiok-menu .link-gomb { display: block; width: 100%; padding: 12px 4px; border-top: 1px solid #e4e7eb;
    font-size: 16px; text-align: left; }
  .oldal { margin: 12px auto 24px; padding: 0 10px; }
  .kartya-doboz { padding: 16px; }
  .lablec { margin-top: -8px; }
  .jogi-linkek a { display: inline-block; padding: 8px 2px; }
  .link-lista { padding-left: 0; list-style: none; }
  .link-lista li { padding: 4px 0; }
  .link-lista a { display: inline-block; padding: 8px 0; }
  .sajat-kep { flex-basis: 88px; width: 88px; height: 66px; }
  .sajat-gombok .gomb { padding: 9px 14px; }
}
@media (max-width: 600px) {
  .lepesjelzo { flex-wrap: nowrap; }
  .lepesjelzo li { flex: 0 0 auto; min-width: 0; }
  .lepesjelzo li.aktiv { flex: 1 1 auto; }
  .lepesjelzo li:not(.aktiv) a { font-size: 0; padding: 10px; }
  .lepesjelzo span { font-size: 13px; margin-right: 0; }
  .lepesjelzo .aktiv span { margin-right: 4px; }
}
@media (max-width: 640px) {
  .adatkezeles-tablazat, .adatkezeles-tablazat tbody, .adatkezeles-tablazat tr, .adatkezeles-tablazat td { display: block; }
  .adatkezeles-tablazat tr:first-child { display: none; }
  .adatkezeles-tablazat tr { border: 1px solid #e4e7eb; border-radius: 6px; padding: 8px 10px; margin-bottom: 10px; }
  .jogi-szoveg .adatkezeles-tablazat td { border: none; padding: 2px 0; }
  .adatkezeles-tablazat td:first-child { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
  .adatkezeles-tablazat td:nth-child(2)::before { content: "Milyen adatok: "; }
  .adatkezeles-tablazat td:nth-child(3)::before { content: "Mire: "; }
  .adatkezeles-tablazat td:nth-child(4)::before { content: "Jogalap: "; }
  .adatkezeles-tablazat td:nth-child(5)::before { content: "Meddig: "; }
  .adatkezeles-tablazat td::before { font-weight: 600; color: #52606d; }
}
.mod-szamlalo { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: #c0392b; color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.forras-jelzes { display: block; margin-top: 4px; font-size: 11px; color: #7b8794; }
.forras-jelzes a { color: inherit; }

/* ---- Nyilvános hirdetésoldal: a főoldallal egységes kártyás arculat (A, B) ---- */
body.hirdetes-nyilvanos-body { background: #f8f7f4; }
.oldal.hirdetes-nyilvanos { max-width: 1160px; }
.hirdetes-nyilvanos .kartya-doboz { background: none; border: 0; padding: 0; border-radius: 0; }
.hirdetes-nyilvanos .hirdetes-fej, .hirdetes-nyilvanos .cimkek,
.hirdetes-nyilvanos .hirdetes-fo section, .hirdetes-nyilvanos .doboz {
  background: #fff; border: 1px solid #e7e5e0; border-radius: 16px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
}
.hirdetes-nyilvanos .hirdetes-fej { padding: 18px 22px 10px; border-bottom: 0; border-radius: 16px 16px 0 0; margin-top: 12px; }
.hirdetes-nyilvanos .cimkek { margin: 0 0 18px; padding: 0 22px 16px; border-top: 0; border-radius: 0 0 16px 16px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); }
.hirdetes-nyilvanos .hirdetes-fo section { padding: 18px 22px; margin-bottom: 18px; }
.hirdetes-nyilvanos .hirdetes-fo section.galeria { padding: 0; background: none; border: 0; box-shadow: none; }
.hirdetes-nyilvanos .doboz { padding: 16px 18px; }
.hirdetes-nyilvanos .hirdetes-racs { gap: 20px; grid-template-columns: minmax(0, 1fr) 340px; }
.hirdetes-nyilvanos .hirdetes-oldalsav { top: 20px; }
.hirdetes-nyilvanos .bejelentes { background: none; border: 0; box-shadow: none; padding: 4px 6px; }

.felso-sav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.felso-bal, .felso-jobb { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vissza-gomb { font-weight: 600; color: #1f2933; text-decoration: none; background: #fff; border: 1px solid #e7e5e0;
  border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.vissza-gomb:hover { background: #f2f0eb; }
.morzsa { font-size: 14px; color: #667085; display: flex; gap: 6px; align-items: center; }
.morzsa a { color: #667085; text-decoration: none; }
.morzsa a:hover { text-decoration: underline; }
.felso-jobb .gomb { padding: 6px 14px; font-size: 14px; }
.megosztas-menu { position: relative; }
.megosztas-menu summary { list-style: none; cursor: pointer; }
.megosztas-menu summary::-webkit-details-marker { display: none; }
.megosztas-lista { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; background: #fff; border: 1px solid #e7e5e0;
  border-radius: 12px; box-shadow: 0 8px 24px rgba(16, 24, 40, .14); padding: 6px; min-width: 190px; display: flex; flex-direction: column; }
.megosztas-lista a, .megosztas-lista button { text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 8px;
  font: inherit; font-size: 14px; color: #1f2933; cursor: pointer; text-decoration: none; }
.megosztas-lista a:hover, .megosztas-lista button:hover { background: #f2f0eb; }
.megosztas-lista .helptext { padding: 0 10px 4px; }
@media (max-width: 860px) {
  .hirdetes-nyilvanos .hirdetes-racs { grid-template-columns: minmax(0, 1fr); }
  .hirdetes-nyilvanos .hirdetes-fej { padding: 14px 16px 8px; }
  .hirdetes-nyilvanos .cimkek { padding: 0 16px 14px; }
  .hirdetes-nyilvanos .hirdetes-fo section { padding: 14px 16px; }
  .morzsa { display: none; }
}
@media print { .felso-sav { display: none !important; } body.hirdetes-nyilvanos-body { background: #fff; } }
.felso-jobb { align-items: center; }
.felso-jobb .megosztas-menu { display: flex; align-items: center; }
.felso-jobb .gomb, .felso-jobb summary.gomb, .felso-jobb button.gomb {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  height: 36px; margin: 0; padding: 0 14px; line-height: 1; font-size: 14px; font-weight: 600; font-family: inherit; }

/* ---- C: fotómozaik ---- */
.mozaik { position: relative; display: grid; gap: 8px; height: 370px; border-radius: 16px; overflow: hidden; background: #e7e5e0; margin: 12px 0 18px; }
.mozaik-cella { position: relative; overflow: hidden; cursor: zoom-in; min-width: 0; min-height: 0; }
.mozaik-cella img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.mozaik-cella:hover img { transform: scale(1.03); }
.mozaik.m-1 { grid-template-columns: 1fr; height: 420px; }
.mozaik.m-2 { grid-template-columns: 1fr 1fr; }
.mozaik.m-3 { grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr; }
.mozaik.m-3 .cella-0 { grid-row: 1 / 3; }
.mozaik.m-4 { grid-template-columns: 7fr 2.5fr 2.5fr; grid-template-rows: 1fr 1fr; }
.mozaik.m-4 .cella-0 { grid-row: 1 / 3; }
.mozaik.m-4 .cella-1 { grid-column: 2; grid-row: 1; }
.mozaik.m-4 .cella-2 { grid-column: 3; grid-row: 1; }
.mozaik.m-4 .cella-3 { grid-column: 2 / 4; grid-row: 2; }
.mozaik-jelveny { position: absolute; top: 12px; left: 12px; background: #dcfce7; color: #166534; font-size: 13px; font-weight: 600;
  padding: 4px 11px; border-radius: 999px; box-shadow: 0 1px 3px rgba(16, 24, 40, .2); }
.mozaik .mozaik-osszes { position: absolute; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); color: #1f2933;
  border: 1px solid #d0d5dd; border-radius: 8px; padding: 6px 12px; font-size: 13px; font-weight: 600; box-shadow: 0 2px 6px rgba(16, 24, 40, .2); }
.mozaik .mozaik-osszes:hover { background: #fff; }
.mozaik .galeria-nyil, .mozaik .galeria-szamlalo { display: none; }
.mozaik-ures { background: #fff; border: 1px dashed #d0d5dd; border-radius: 16px; color: #98a2b3; text-align: center; padding: 28px; margin: 12px 0 18px; }
@media (max-width: 860px) {
  .mozaik, .mozaik.m-1, .mozaik.m-2, .mozaik.m-3, .mozaik.m-4 { display: block; height: 260px; }
  .mozaik .mozaik-cella:not(.cella-0) { display: none; }
  .mozaik .cella-0 { width: 100%; height: 100%; }
  .mozaik .mozaik-osszes { display: none; }
  .mozaik .galeria-nyil { display: block; }
  .mozaik .galeria-szamlalo { display: block; }
}
@media print {
  .mozaik, .mozaik.m-1, .mozaik.m-2, .mozaik.m-3, .mozaik.m-4 { display: block; height: auto; border-radius: 0; margin: 0 0 12px; }
  .mozaik .mozaik-cella:not(.cella-0), .mozaik .mozaik-osszes, .mozaik-jelveny { display: none !important; }
  .mozaik .cella-0 img { max-height: 9cm; width: auto; }
}

/* ---- D: Ár-tükör ---- */
.ar-tukor-cim { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #616e7c; margin-bottom: 8px; }
.ar-tukor-sor { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: #344054; }
.nm-pill { display: inline-block; color: #fff; font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; }
.elteres-jelveny { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.elteres-jelveny.jo { background: #dcfce7; color: #166534; }
.elteres-jelveny.draga { background: #fef3c7; color: #92400e; }
.ar-skala { margin-top: 14px; }
.ar-skala-sav { position: relative; height: 10px; border-radius: 999px;
  background: linear-gradient(to right, hsl(120, 75%, 40%), hsl(60, 75%, 40%), hsl(0, 75%, 40%)); }
.ar-jelzo { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.ar-jelzo.atlag { width: 2px; height: 16px; background: #1f2933; opacity: .6; }
.ar-jelzo.sajat { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid #1f2933; box-shadow: 0 1px 3px rgba(16, 24, 40, .3); }
.ar-skala-cimkek { display: flex; justify-content: space-between; font-size: 12px; color: #616e7c; margin-top: 6px; }
.ar-tukor-minta { font-size: 12px; margin-top: 6px; }
.ar-tukor-tort { margin-top: 14px; padding-top: 12px; border-top: 1px solid #f0eee9; font-size: 14px; }
.ar-tort-sor { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.athuzott { text-decoration: line-through; color: #98a2b3; }
.teljes-artortenet { margin-top: 8px; }
.teljes-artortenet summary { cursor: pointer; font-size: 13px; color: #475467; }
.teljes-artortenet table { margin-top: 6px; }
@media print { .ar-skala { display: none; } }

/* ---- D (javítás): feliratos skála ---- */
.ar-skala { position: relative; margin-top: 10px; padding-top: 44px; }
.ar-skala .ar-felirat { position: absolute; left: clamp(140px, var(--x, 50%), calc(100% - 140px)); transform: translateX(-50%);
  text-align: center; font-size: 12px; line-height: 1.3; color: #344054; white-space: nowrap; }
.ar-skala .ar-felirat.felul { top: 0; }
.ar-skala .ar-felirat.also { top: 62px; }
.ar-skala-sav { margin-bottom: 58px; }
.ar-skala-veg { position: absolute; top: 62px; left: 0; right: 0; display: flex; justify-content: space-between; font-size: 12px; line-height: 1.3; color: #344054; }
.ar-skala-veg .bal { text-align: left; } .ar-skala-veg .jobb { text-align: right; }

/* ---- E: adatcsempék és tömör lista ---- */
.csempek { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.csempe { background: #faf9f6; border: 1px solid #eeece7; border-radius: 12px; padding: 12px 14px; }
.csempe.kiemelt { background: #f6faf3; border-color: #cfe0c8; }
.csempe-cimke { font-size: 12px; color: #616e7c; }
.csempe-ertek { font-size: 16px; font-weight: 700; color: #101828; margin-top: 2px; }
.adat-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 16px 0 0; padding-top: 12px; border-top: 1px solid #f0eee9; font-size: 14px; }
.adat-lista > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #f4f3ef; }
.adat-lista dt { color: #616e7c; }
.adat-lista dd { margin: 0; font-weight: 600; color: #101828; text-align: right; }
@media (max-width: 860px) {
  .csempek { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adat-lista { grid-template-columns: 1fr; }
}

/* ---- F: cím a bal oszlopban, kompakt kapcsolati kártya, mobil alsó sáv ---- */
.hirdetes-nyilvanos .hirdetes-cim { background: #fff; border: 1px solid #e7e5e0; border-radius: 16px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
  padding: 18px 22px; margin-bottom: 18px; }
.hirdetes-nyilvanos .hirdetes-cim .hirdetes-fej, .hirdetes-nyilvanos .hirdetes-cim .cimkek {
  background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; margin: 0; }
.hirdetes-nyilvanos .hirdetes-cim .cimkek { margin-top: 12px; }
.hirdetes-nyilvanos .hirdetes-fo section.hirdetes-cim { padding: 18px 22px; }
.hirdetes-nyilvanos .hirdetes-oldalsav { max-height: calc(100vh - 40px); overflow-y: auto; }
.kapcsolat-kartya { box-shadow: 0 6px 24px rgba(16, 24, 40, .08); }
.kk-ar .nagy-ar { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.kk-jelvenyek { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.kk-hirdeto { display: flex; align-items: center; gap: 12px; padding: 12px 0; margin: 14px 0 6px; border-top: 1px solid #f0eee9; border-bottom: 1px solid #f0eee9; }
.kk-avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff1ef; color: #c0392b; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.kapcsolat-kartya .elerhetoseg { font-size: 15px; margin: 8px 0; color: #475467; }
.kapcsolat-kartya .gomb.teljes { display: block; width: 100%; box-sizing: border-box; text-align: center; margin-top: 10px; padding: 11px 16px; }
.uzenet-fiok { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0eee9; }
.uzenet-fiok[hidden] { display: none; }
.mobil-sav { display: none; }
@media (max-width: 860px) {
  .hirdetes-nyilvanos .hirdetes-oldalsav { position: static; max-height: none; overflow: visible; }
  .hirdetes-nyilvanos .hirdetes-cim, .hirdetes-nyilvanos .hirdetes-fo section.hirdetes-cim { padding: 14px 16px; }
  .mobil-sav { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: fixed; left: 0; right: 0;
    bottom: var(--suti-magassag, 0px); z-index: 900; background: #fff; border-top: 1px solid #e7e5e0; padding: 10px 14px;
    box-shadow: 0 -4px 16px rgba(16, 24, 40, .08); }
  .ms-ar { font-size: 16px; font-weight: 800; color: #101828; line-height: 1.2; }
  .ms-nm { font-size: 12px; font-weight: 600; color: #b45309; }
  .ms-gombok { display: flex; gap: 8px; }
  .ms-gombok .gomb { padding: 9px 16px; font-size: 14px; }
  body.hirdetes-nyilvanos-body .lablec { padding-bottom: calc(84px + var(--suti-magassag, 0px)); }
}
@media print { .mobil-sav { display: none !important; } }

/* ---- G: színes árcímkék a kis térképen ---- */
.ar-cimke { display: inline-block; white-space: nowrap; color: #fff; font-size: 12px; font-weight: 700; line-height: 1;
  padding: 5px 8px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(16, 24, 40, .35); cursor: pointer; }
.ar-cimke.sajat { font-size: 14px; padding: 7px 11px; border: 3px solid #101828; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 2px 8px rgba(16, 24, 40, .5); cursor: default; }
.terkep-nagy-link { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; }

/* ---- H: nyomtatás ---- */
.nyomtatasi-ar { display: none; }
@media print {
  footer, .lablec, .uzenetek, .mozaik-osszes, .galeria-nyil, .galeria-szamlalo, .terkep-nagy-link, .bejelentes { display: none !important; }
  body.hirdetes-nyilvanos-body { background: #fff !important; }
  .hirdetes-nyilvanos .hirdetes-cim, .hirdetes-nyilvanos .hirdetes-fo section, .hirdetes-nyilvanos .doboz { box-shadow: none !important; border-radius: 0 !important; break-inside: avoid; }
  .hirdetes-nyilvanos .hirdetes-cim { border: 0 !important; padding: 0 0 8px !important; }
  .nyomtatasi-ar { display: block; font-size: 20px; font-weight: 800; margin-top: 6px; }
  .hirdetes-racs { display: block !important; max-width: none !important; }
  .csempek { grid-template-columns: repeat(3, 1fr); }
  .csempe, .csempe.kiemelt { background: #fff !important; border: 1px solid #999; }
  .adat-lista { grid-template-columns: 1fr 1fr; }
  a { color: #000; text-decoration: none; }
}

/* ---- Javítások: árcímke-ikon, keskeny képernyős skálafeliratok ---- */
.ar-cimke-ikon { background: transparent; border: 0; }
.ar-cimke-ikon .ar-cimke { transform: translate(-50%, -50%); }
@media (max-width: 860px) {
  .ar-skala .ar-felirat { left: clamp(68px, var(--x, 50%), calc(100% - 68px)); }
}
