/* ============================================================
   meditatiiscoala.ro — tablă neagră, cretă, „ești la școală”
   ============================================================ */
:root {
  --board: #121413;          /* tabla */
  --board-2: #181b19;        /* tabla, puțin mai deschisă */
  --card: #1c1f1d;           /* cartonaș */
  --card-2: #232724;
  --line: rgba(244, 241, 232, .10);
  --line-2: rgba(244, 241, 232, .18);
  --chalk: #f4f1e8;          /* cretă albă */
  --chalk-2: #c9c6bc;
  --muted: #8f9089;
  --yellow: #f5d76e;         /* cretă galbenă */
  --pink: #f4a6b8;           /* cretă roz */
  --blue: #9fd3f0;           /* cretă albastră */
  --green: #a9dca0;          /* cretă verde */
  --wood: #6b4a2f;
  --wood-2: #4a3220;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-chalk: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .055 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--chalk);
  background-color: var(--board);
  background-image:
    var(--noise),
    radial-gradient(ellipse 60% 40% at 15% 10%, rgba(255,255,255,.035), transparent 70%),
    radial-gradient(ellipse 50% 35% at 85% 60%, rgba(255,255,255,.025), transparent 70%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px dashed var(--yellow); outline-offset: 3px; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); margin-top: 6px; }

/* Text scris cu creta */
.chalk {
  font-family: var(--font-chalk);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--chalk);
  text-shadow: 0 0 1px rgba(244,241,232,.55), 0 0 8px rgba(244,241,232,.08);
  filter: url(#chalk);
}

/* Butoane — cretă */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font);
  padding: 11px 18px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: #1b1a14; }
.btn-primary:hover { background: #ffe58c; }
.btn-ghost { color: var(--chalk); border: 1.5px dashed var(--line-2); background: transparent; }
.btn-ghost:hover { border-color: var(--chalk); }
.btn-outline { border: 1.5px dashed var(--chalk); color: var(--chalk); background: transparent; }
.btn-outline:hover { background: var(--chalk); color: var(--board); }
.btn-light { background: var(--yellow); color: #1b1a14; }
.btn-light:hover { background: var(--chalk); }

/* ============ HEADER: tablă cu cretă ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background-color: #151816;
  background-image:
    var(--noise),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 60%),
    radial-gradient(ellipse 30% 90% at 30% 50%, rgba(255,255,255,.04), transparent 70%),
    radial-gradient(ellipse 25% 80% at 75% 40%, rgba(255,255,255,.03), transparent 70%);
  border-top: 6px solid var(--wood);
  box-shadow: inset 0 6px 10px -6px rgba(0,0,0,.7);
}
.board-doodles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.board-doodles span {
  position: absolute; white-space: nowrap; pointer-events: none;
  font: 600 22px/1 var(--font-chalk); color: rgba(244,241,232,.075);
  filter: url(#chalk);
}
.header-inner { position: relative; display: flex; align-items: center; gap: 20px; height: 72px; }

/* Căutare compactă în header — „scrisă” pe tablă */
.hsearch {
  flex: 1 1 340px; max-width: 440px; min-width: 0; display: flex; align-items: center;
  border: 1.5px dashed rgba(244,241,232,.32); border-radius: 12px; padding: 3px 3px 3px 4px;
  background: rgba(255,255,255,.025); transition: border-color .15s, background .15s;
}
.hsearch:focus-within { border-color: var(--chalk); background: rgba(255,255,255,.04); }
.hs-field { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; padding: 0 10px; color: var(--muted); }
.hs-field + .hs-field { border-left: 1.5px dashed rgba(244,241,232,.2); }
.hs-field svg { flex: none; }
.hs-field:focus-within { color: var(--yellow); }
.hs-field input {
  width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; padding: 6px 0;
  font: 600 21px/1.1 var(--font-chalk); color: var(--chalk); letter-spacing: .01em;
}
.hs-field input::placeholder { color: rgba(244,241,232,.42); }
.hs-field input::-webkit-calendar-picker-indicator { display: none !important; }
.hs-btn {
  flex: none; border: 0; cursor: pointer; border-radius: 9px; padding: 8px 14px;
  font: 700 20px/1 var(--font-chalk); color: #1b1a14; background: var(--chalk);
  transition: background .15s;
}
.hs-btn:hover { background: var(--yellow); }

/* Pe desktop căutarea stă sub titlul primei pagini; în header rămâne doar pe mobil (≤760px). */
@media (min-width: 761px) {
  .site-header .hsearch { display: none; }
  .main-nav { margin-left: 8px; }
}
.hsearch-board {
  max-width: 720px; margin: 14px 0 6px; padding: 5px 5px 5px 6px; border-radius: 14px;
  border-color: rgba(244,241,232,.4); background: rgba(255,255,255,.035);
}
.hsearch-board .hs-field { padding: 0 14px; gap: 10px; }
.hsearch-board .hs-field input { font-size: 27px; padding: 9px 0; }
.hsearch-board .hs-btn { font-size: 25px; padding: 11px 24px; border-radius: 10px; }
.hsearch-board + .shelf { border-top: 0; }
@media (max-width: 760px) { .hsearch-board { display: none; } }

/* Sugestii de căutare */
.ac-list {
  position: absolute; z-index: 70; top: calc(100% + 10px); left: 0; right: -6px; min-width: 210px;
  list-style: none; margin: 0; padding: 6px; border-radius: 12px;
  background-color: #171a18; background-image: var(--noise);
  border: 1.5px dashed var(--line-2); box-shadow: 0 18px 40px rgba(0,0,0,.6);
}
.ac-list li {
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
  font: 500 15px/1.2 var(--font); color: var(--chalk-2);
}
.ac-list li:hover, .ac-list li[aria-selected="true"] { background: rgba(255,255,255,.06); color: var(--yellow); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { display: block; flex: none; filter: url(#chalk); }
.logo-text {
  font: 700 27px/1 var(--font-chalk); color: var(--chalk-2);
  text-shadow: 0 0 1px rgba(244,241,232,.5); filter: url(#chalk);
}
.logo-text strong { color: var(--yellow); font-weight: 700; }
.main-nav { display: flex; gap: 18px; margin-right: auto; white-space: nowrap; }
.main-nav a {
  font: 600 21px/1 var(--font-chalk); color: var(--chalk-2); padding: 6px 0; position: relative;
  filter: url(#chalk);
}
.main-nav a:hover { color: var(--chalk); }
.main-nav a::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 0; height: 2px;
  background: var(--yellow); border-radius: 2px; transform: scaleX(0) rotate(-1deg); transform-origin: left;
  transition: transform .2s;
}
.main-nav a:hover::after { transform: scaleX(1) rotate(-1deg); }
.header-actions { display: flex; gap: 8px; }
.nav-login { display: none; }

/* Hamburger — trei linii de cretă */
.nav-toggle {
  display: none; flex: none; width: 44px; height: 42px; padding: 0; cursor: pointer;
  border: 1.5px dashed var(--line-2); border-radius: 10px; background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: border-color .15s;
}
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { border-color: var(--chalk); }
.nav-toggle span {
  display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--chalk);
  transition: transform .2s, opacity .2s;
}
.nav-toggle span:nth-child(2) { width: 16px; transform: translateX(-2px) rotate(-2deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.chalk-tray {
  position: relative; height: 9px;
  background: linear-gradient(180deg, var(--wood) 0 55%, var(--wood-2));
  box-shadow: 0 3px 8px rgba(0,0,0,.5);
}
.chalk-tray i {
  position: absolute; bottom: 6px; height: 5px; border-radius: 3px; background: var(--chalk);
  width: 34px; left: 12%; opacity: .85;
}
.chalk-tray i:nth-child(2) { width: 22px; left: 14.6%; background: var(--yellow); }
.chalk-tray i:nth-child(3) { width: 26px; left: 81%; background: var(--pink); transform: rotate(-4deg); }

/* ============ TABLA CU ANUNȚURI ============ */
.board { padding: 34px 0 40px; }
.board-title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-bottom: 6px;
}
.board-title h1 { font-size: clamp(40px, 5vw, 56px); }

.shelf { padding: 26px 0 18px; border-top: 1px dashed var(--line); }
.board-title + .shelf { border-top: 0; }
.shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.shelf-head h2 {
  font-size: clamp(32px, 3.4vw, 40px); display: inline-block; position: relative;
}
.shelf-head h2::after {
  content: ""; position: absolute; left: 0; right: -6px; bottom: -2px; height: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'><path d='M2 5 C40 2 80 7 120 4 S180 3 198 5' fill='none' stroke='%23f5d76e' stroke-width='2.4' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
  opacity: .9;
}
.shelf:nth-of-type(3n+2) .shelf-head h2::after { filter: hue-rotate(290deg) saturate(.9); }
.shelf:nth-of-type(3n+3) .shelf-head h2::after { filter: hue-rotate(160deg); }
.shelf-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.shelf-nav { display: flex; gap: 8px; }
.arrow {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1.5px dashed var(--line-2); background: transparent; color: var(--chalk);
  font: 400 26px/1 var(--font); display: grid; place-items: center; padding-bottom: 4px;
  transition: border-color .15s, background .15s, opacity .15s;
}
.arrow:hover:not(:disabled) { border-color: var(--chalk); background: rgba(255,255,255,.05); }
.arrow:disabled { opacity: .25; cursor: default; }

.track {
  --gap: 16px;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--gap)) / 4.25);
  gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 2px;
  padding: 6px 2px 16px;
  scrollbar-width: thin; scrollbar-color: rgba(244,241,232,.18) transparent;
}
.track::-webkit-scrollbar { height: 6px; }
.track::-webkit-scrollbar-thumb { background: rgba(244,241,232,.16); border-radius: 3px; }
.track > * { scroll-snap-align: start; }

/* Cartonașul de anunț */
.ad {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s, border-color .18s, box-shadow .18s;
}
.ad:hover { transform: translateY(-3px); border-color: rgba(244,241,232,.32); box-shadow: 0 14px 30px rgba(0,0,0,.45); }
.ad-promo { border-color: rgba(245,215,110,.55); }
.ad-promo:hover { border-color: var(--yellow); }
.ad-photo { position: relative; aspect-ratio: 4 / 3; background: var(--card-2); }
.ad-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.ad-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(transparent, rgba(18,20,19,.75)); pointer-events: none;
}
.ad-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font: 700 12px/1 var(--font); letter-spacing: .02em; padding: 6px 9px; border-radius: 6px;
}
.ad-badge-new { background: var(--green); color: #14200f; }
.ad-badge-promo { background: var(--yellow); color: #1b1a14; }
.ad-badge-promo::before { content: "★ "; }
/* Etichetele „Nou” / „Promovat” sunt ascunse temporar — markup-ul rămâne în pagină.
   Ca să le reactivezi, șterge blocul de mai jos. */
.ad-badge { display: none; }
.ad-promo { border-color: var(--line); }
.ad-promo:hover { border-color: rgba(244,241,232,.32); }
.ad-photo-none img { object-position: 50% 50%; }
.ad-photo-none::after { display: none; }
.ad-subject {
  position: absolute; left: 12px; bottom: 8px; z-index: 1;
  font: 700 24px/1 var(--font-chalk); color: var(--chalk); text-shadow: 0 1px 6px rgba(0,0,0,.7);
}
.ad-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.ad-title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.ad-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; } /* tot cartonașul e clickabil */
.ad:hover .ad-title a { color: var(--yellow); }
.ad-who { font-size: 13px; color: var(--chalk-2); }
.ad-who strong { color: var(--chalk); font-weight: 600; }
.ad-desc {
  font-size: 13.5px; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ad-tags { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ad-tags li {
  font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px;
  border: 1px dashed var(--line-2); color: var(--chalk-2);
}
.ad-loc { font-size: 13px; color: var(--chalk-2); }
.ad-foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2);
}
.ad-price { font-size: 13px; color: var(--muted); }
.ad-price strong { font: 700 30px/1 var(--font-chalk); color: var(--yellow); margin-right: 2px; }
.ad-phone {
  font: 600 14px/1 var(--font); letter-spacing: .03em; color: var(--chalk);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ad-phone span { color: var(--green); margin-right: 3px; user-select: none; }

/* „Vezi mai mult” la capătul rândului */
.ad-more {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 24px;
  color: var(--chalk-2); transition: border-color .18s, background .18s;
}
.ad-more strong { font-size: 34px; }
.ad-more span:last-child { font-size: 14px; color: var(--muted); }
.ad-more-arrow {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--yellow); color: var(--yellow); font-size: 28px; margin-bottom: 6px;
  transition: transform .18s, background .18s, color .18s;
}
.ad-more:hover { border-color: var(--yellow); background: rgba(245,215,110,.04); }
.ad-more:hover .ad-more-arrow { transform: translateX(4px); background: var(--yellow); color: #1b1a14; }

/* ============ PAGINA DE LISTARE (cauta.html) ============ */
.listing .board-title h1 { font-size: clamp(34px, 4.2vw, 50px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.crumbs a:hover { color: var(--chalk); }
.listing-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 18px; }

.filters {
  position: sticky; top: 104px; max-height: calc(100vh - 120px); overflow-y: auto;
  background: var(--card); border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 16px 18px 6px;
  scrollbar-width: thin;
}
.f-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.f-head h2 { font-size: 32px; }
.f-reset {
  border: 0; background: none; cursor: pointer; padding: 0; font: 500 13px var(--font);
  color: var(--muted); text-decoration: underline dashed; text-underline-offset: 3px;
}
.f-reset:hover { color: var(--yellow); }
.f-group { display: block; border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.f-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 0; margin-bottom: 6px;
  font: 700 21px/1.1 var(--font-chalk); color: var(--chalk-2);
}
.f-price { font: 700 20px/1 var(--font-chalk); color: var(--yellow); }
.f-group select, .sort select, .app select {
  width: 100%; appearance: none; cursor: pointer;
  background: var(--board-2) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23c9c6bc' stroke-width='1.8' stroke-linecap='round'/></svg>") no-repeat right 12px center;
  border: 1.5px dashed var(--line-2); border-radius: 10px; color: var(--chalk);
  font: 500 14px var(--font); padding: 9px 34px 9px 12px;
}
.f-group select:hover, .sort select:hover, .app select:hover { border-color: rgba(244,241,232,.4); }
.f-group select:focus-visible, .sort select:focus-visible { border-color: var(--yellow); outline: none; }
.f-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.f-pill { position: relative; }
.f-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.f-pill span {
  display: inline-block; padding: 6px 11px; border-radius: 999px; cursor: pointer;
  border: 1px dashed var(--line-2); color: var(--chalk-2); font-size: 13px; font-weight: 500;
  transition: background .15s, color .15s, border-color .15s;
}
.f-pill span:hover { border-color: var(--chalk); color: var(--chalk); }
.f-pill input:checked + span { background: var(--chalk); color: #1b1a14; border-style: solid; border-color: var(--chalk); }
.f-pill input:focus-visible + span { outline: 2px dashed var(--yellow); outline-offset: 2px; }
.f-group input[type="range"] { width: 100%; accent-color: var(--yellow); cursor: pointer; }

.results-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 42px; margin-bottom: 16px; }
.f-toggle { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(245,215,110,.45);
  background: rgba(245,215,110,.07); color: var(--chalk); font: 500 13px var(--font);
}
.chip span { color: var(--yellow); font-size: 15px; line-height: 1; }
.chip:hover { border-color: var(--yellow); }
.chip-clear { border-style: dashed; border-color: var(--line-2); background: none; color: var(--muted); }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.sort select { width: auto; }

.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.empty {
  grid-column: 1 / -1; text-align: center; padding: 56px 24px; color: var(--muted);
  border: 2px dashed var(--line-2); border-radius: var(--radius);
}
.empty .chalk { font-size: 40px; margin-bottom: 8px; }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.pager a, .pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px;
  border: 1.5px dashed var(--line-2); background: transparent; color: var(--chalk);
  font: 700 22px/1 var(--font-chalk); text-decoration: none;
}
.pager a:hover { border-color: var(--chalk); }
.pager [aria-current="page"] { background: var(--chalk); color: #1b1a14; border-style: solid; }
.pager .disabled { opacity: .25; }
.js .f-apply { display: none; }
.f-apply { margin-top: 6px; }
.listing + .section { padding-top: 24px; }

@media (max-width: 1100px) {
  .listing-layout { grid-template-columns: 236px minmax(0, 1fr); gap: 20px; }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .listing-layout { display: flex; flex-direction: column; gap: 0; }
  .results { display: contents; }           /* bara → filtre → rezultate → pagini */
  .results-bar { order: 0; }
  .filters { display: none; position: static; max-height: none; order: 1; margin-bottom: 16px; }
  .results-grid { order: 2; }
  .pager { order: 3; }
  .filters.open { display: block; }
  .f-toggle { display: inline-flex; }
  .f-toggle[aria-expanded="true"] { border-color: var(--chalk); border-style: solid; }
  .chips { order: 3; flex: 1 1 100%; }
  .chips:empty { display: none; }
}
@media (max-width: 560px) {
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sort span { display: none; }
}

/* ============ PAGINA DE DETALIU (anunt.html) ============ */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; margin-top: 14px; }
.detail-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; }
.detail-photo {
  aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--card-2);
  border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(0,0,0,.45); transform: rotate(-1.2deg);
}
.detail-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.detail-photo-none img { object-position: 50% 50%; }
.detail-subject { font-size: 30px; color: var(--yellow); margin-bottom: 4px; }
.detail-title { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.detail-who { margin-top: 12px; color: var(--chalk-2); font-size: 15px; }
.detail-who strong { color: var(--chalk); }
.detail-intro .ad-tags { margin-top: 14px; }
.detail-intro .ad-tags li { font-size: 13px; padding: 4px 11px; }

.detail-block { margin-top: 36px; padding-top: 26px; border-top: 1px dashed var(--line-2); }
.detail-block h2 { font-size: 36px; margin-bottom: 12px; }
.detail-block p { color: var(--chalk-2); font-size: 16px; max-width: 70ch; }
.detail-block p + p { margin-top: 12px; }
.detail-lead { font-size: 18px !important; color: var(--chalk) !important; }
.chalk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: pas; }
.chalk-list li { position: relative; padding-left: 30px; color: var(--chalk-2); font-size: 16px; }
.chalk-list li::before {
  content: "✓"; position: absolute; left: 2px; top: -5px;
  font: 700 26px/1 var(--font-chalk); color: var(--green);
}
.chalk-list-num li { counter-increment: pas; }
.chalk-list-num li::before { content: counter(pas) "."; color: var(--yellow); top: -3px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.facts div { padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 12px; background: rgba(255,255,255,.015); }
.facts dt { font: 700 21px/1.1 var(--font-chalk); color: var(--yellow); margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--chalk-2); font-size: 15px; }

.detail-side { position: sticky; top: 104px; display: grid; gap: 16px; }
.contact-card {
  background: var(--card); border: 1.5px solid rgba(245,215,110,.35); border-radius: var(--radius);
  padding: 22px; display: grid; gap: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.contact-price { color: var(--muted); font-size: 14px; }
.contact-price strong { font: 700 40px/1 var(--font-chalk); color: var(--chalk); margin-right: 4px; }
.contact-label { font: 700 24px/1 var(--font-chalk); color: var(--chalk-2); margin-top: 4px; }
/* Butonul de telefon — cel mai vizibil element de contact */
.btn-phone {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  border: 0; border-radius: 14px; cursor: pointer; background: var(--yellow); color: #1b1a14;
  font: 800 24px/1 var(--font); letter-spacing: .03em; font-variant-numeric: tabular-nums;
  padding: 18px 16px; box-shadow: 0 0 0 4px rgba(245,215,110,.16), 0 10px 26px rgba(245,215,110,.18);
  transition: background .15s, transform .15s;
}
.btn-phone:hover { background: #ffe58c; }
.btn-phone:active { transform: translateY(1px); }
.btn-phone svg { flex: none; }
.btn-phone-bar { width: auto; flex: 1; max-width: 300px; padding: 14px 16px; font-size: 20px; box-shadow: none; }
/* Înainte de click: începutul numărului + „Arată numărul”. După: numărul întreg (link de apel). */
.btn-phone .tel-cta { font: 700 14px/1.1 var(--font); letter-spacing: 0; padding: 5px 9px; border-radius: 8px; background: rgba(27,26,20,.1); white-space: nowrap; }
.btn-phone .tel-nr { white-space: nowrap; }
.btn-phone[aria-busy="true"] { opacity: .65; cursor: progress; }
a.btn-phone { text-decoration: none; }
.tel-toast {
  position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(460px, calc(100% - 32px));
  background: var(--card); color: var(--chalk); border: 1.5px solid var(--yellow); border-radius: 14px;
  padding: 14px 16px; font-size: 14.5px; line-height: 1.45; box-shadow: 0 16px 40px rgba(0,0,0,.6);
}
@media (max-width: 1000px) { body:has(.contact-bar) .tel-toast { bottom: 96px; } }
@media (max-width: 420px) { .btn-phone-bar .tel-nr { display: none; } }
.price-extra { list-style: none; margin: 0; padding: 0 0 4px; display: grid; gap: 4px; font-size: 14px; color: var(--chalk-2); }
.price-extra li::before { content: "– "; color: var(--muted); }
.price-extra strong { color: var(--chalk); }
.btn-block { width: 100%; padding-block: 13px; }
.msg summary { list-style: none; cursor: pointer; }
.msg summary::-webkit-details-marker { display: none; }
.msg[open] summary { border-color: var(--chalk); margin-bottom: 12px; }
.msg-form { display: grid; gap: 10px; }
.msg-form label { display: grid; gap: 4px; }
.msg-form label span { font: 700 19px/1 var(--font-chalk); color: var(--chalk-2); }
.msg-form input, .msg-form textarea {
  width: 100%; background: var(--board-2); color: var(--chalk); font: 400 14px/1.45 var(--font);
  border: 1.5px dashed var(--line-2); border-radius: 10px; padding: 9px 11px; resize: vertical;
}
.msg-form input:focus, .msg-form textarea:focus { outline: none; border-color: var(--yellow); }
.msg-done { font-size: 14px; color: var(--chalk-2); padding: 12px 14px; border: 1px dashed var(--green); border-radius: 12px; }
.msg-done strong { display: block; font-size: 26px; color: var(--green); margin-bottom: 2px; }
.share {
  justify-self: center; border: 0; background: none; cursor: pointer; padding: 2px;
  font: 500 13px var(--font); color: var(--muted); text-decoration: underline dashed; text-underline-offset: 3px;
}
.share:hover { color: var(--chalk); }
.tips { padding: 18px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); }
.tips h2 { font-size: 28px; margin-bottom: 8px; }
.tips ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.detail-similar { margin-top: 56px; }
.detail-missing { margin-top: 24px; }

.contact-bar { display: none; }
@media (max-width: 1000px) {
  .detail-layout { grid-template-columns: 1fr; }
  #contact { scroll-margin-top: 150px; }
  .contact-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    background-color: #151816; background-image: var(--noise);
    border-top: 6px solid var(--wood); box-shadow: 0 -8px 24px rgba(0,0,0,.5);
  }
  .contact-bar p { color: var(--muted); font-size: 14px; }
  .contact-bar p { white-space: nowrap; }
  .contact-bar strong { font: 700 34px/1 var(--font-chalk); color: var(--chalk); margin-right: 3px; }
  body:has(.contact-bar) .site-footer { padding-bottom: 100px; }
  .detail-side { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 680px) {
  .detail-head { grid-template-columns: 1fr; gap: 20px; }
  .detail-photo { width: min(240px, 70%); }
  .detail-photo-none { width: 130px; }
  .detail-side { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
}

/* ============ SECȚIUNI SUB ANUNȚURI ============ */
.section { padding: 72px 0; }
.section-alt { background: rgba(255,255,255,.018); border-block: 1px dashed var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2, .seo-intro h2 {
  font: 700 clamp(34px, 3.6vw, 44px)/1.1 var(--font-chalk);
  text-shadow: 0 0 1px rgba(244,241,232,.55); filter: url(#chalk);
}
.link-more { color: var(--yellow); font-weight: 600; }

.eyebrow {
  display: inline-block; font: 700 20px/1 var(--font-chalk); color: var(--yellow);
  margin-bottom: 14px; transform: rotate(-2deg);
}

/* CTA profesori — o tablă înrămată */
.cta {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  background-color: #1a2a20; background-image: var(--noise), radial-gradient(circle at 100% 0%, rgba(245,215,110,.10), transparent 45%);
  border: 12px solid var(--wood); border-radius: 10px; padding: 52px;
  box-shadow: inset 0 0 0 2px var(--wood-2), inset 0 0 40px rgba(0,0,0,.45), 0 20px 50px rgba(0,0,0,.5);
}
.cta h2 {
  font: 700 clamp(38px, 4.2vw, 54px)/1.05 var(--font-chalk);
  text-shadow: 0 0 1px rgba(244,241,232,.55); filter: url(#chalk);
}
.checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.checks li { padding-left: 32px; position: relative; color: var(--chalk-2); }
.checks li::before {
  content: "✓"; position: absolute; left: 2px; top: -6px;
  font: 700 28px/1 var(--font-chalk); color: var(--green);
}
.cta-quote { border: 2px dashed rgba(244,241,232,.25); border-radius: 14px; padding: 28px; transform: rotate(.6deg); }
.cta-quote p { font: 600 27px/1.25 var(--font-chalk); color: var(--chalk); }
.quote-who { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.quote-who strong { display: block; }
.quote-who span { font-size: 14px; color: var(--muted); }
.avatar {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  background: var(--yellow); color: #1b1a14;
}

/* Orașe */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cities a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-weight: 600;
  transition: border-color .15s, color .15s;
}
.cities a:hover { border-color: var(--yellow); color: var(--yellow); }

/* Text SEO */
.seo-intro { max-width: 820px; }
.seo-intro h2 { margin-bottom: 16px; }
.seo-intro p { font-size: 17px; color: var(--chalk-2); }
.seo-intro strong { color: var(--chalk); }
.seo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 32px; margin-top: 44px; }
.seo-grid article { padding-top: 16px; border-top: 2px dashed var(--yellow); }
.seo-grid article:nth-child(3n+2) { border-top-color: var(--pink); }
.seo-grid article:nth-child(3n+3) { border-top-color: var(--blue); }
.seo-grid h3 { font: 700 26px/1.1 var(--font-chalk); margin-bottom: 8px; }
.seo-grid p { color: var(--muted); font-size: 15px; }
.seo-links { margin-top: 48px; }
.seo-links h3 { font: 700 26px/1 var(--font-chalk); margin-bottom: 14px; }
.link-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.link-cloud a {
  font-size: 14px; padding: 6px 13px; border-radius: 999px;
  border: 1px dashed var(--line-2); color: var(--chalk-2);
}
.link-cloud a:hover { border-color: var(--yellow); color: var(--yellow); }

/* Footer */
.site-footer { background: #0b0c0b; color: var(--muted); padding: 60px 0 28px; border-top: 8px solid var(--wood); }
.footer-inner, .footer-seo { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col h4 { color: var(--chalk); font: 700 22px/1 var(--font-chalk); margin-bottom: 4px; }
.footer-col a:hover { color: var(--chalk); }
.footer-bottom {
  display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px;
  border-top: 1px dashed var(--line); font-size: 13px; color: #6d6e68;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .logo { margin-right: auto; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; z-index: 60; top: calc(100% + 14px); right: 0;
    flex-direction: column; gap: 2px; min-width: 230px; margin: 0; padding: 10px;
    background-color: #171a18; background-image: var(--noise);
    border: 1.5px dashed var(--line-2); border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.6);
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 25px; padding: 9px 12px; border-radius: 8px; }
  .main-nav a::after { display: none; }
  .main-nav a:hover { background: rgba(255,255,255,.05); color: var(--yellow); }
}
@media (max-width: 1100px) {
  .track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3.25); }
}
@media (max-width: 1000px) {
  .cta { grid-template-columns: 1fr; }
  .cities { grid-template-columns: repeat(3, 1fr); }
  .seo-grid { grid-template-columns: repeat(2, 1fr); }
  .header-actions .btn-ghost { display: none; }
  .main-nav .nav-login { display: block; border-top: 1px dashed var(--line-2); margin-top: 4px; padding-top: 12px; }
}
@media (max-width: 760px) {
  .track { grid-auto-columns: calc((100% - var(--gap)) / 2.2); }
  .shelf-nav { display: none; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0 12px; row-gap: 10px; justify-content: space-between; }
  .logo { margin-right: auto; }
  .hsearch { order: 3; flex: 1 1 calc(100% - 64px); max-width: none; margin-right: 0; }
  .nav-toggle { order: 4; height: 44px; }
}
@media (max-width: 680px) {
  .header-inner { column-gap: 10px; }
  .logo { gap: 8px; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-text { font-size: 21px; }
  .header-actions .btn { padding: 9px 11px; font-size: 13px; }
  .board { padding-top: 22px; }
  .track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 2.3); --gap: 10px; }
  .cities { grid-template-columns: 1fr 1fr; }
  .seo-grid { grid-template-columns: 1fr; }
  .cta { padding: 30px 22px; border-width: 9px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .section { padding: 52px 0; }
}
@media (max-width: 400px) {
  .logo { gap: 6px; }
  .logo-mark { width: 26px; height: 26px; }
  .logo-text { font-size: 19px; }
  .header-actions .btn { padding: 8px 9px; font-size: 12.5px; }
}
/* ---------- Materii / orașe: liste compacte pe coloane ---------- */
.hub-groups { columns: 3 280px; column-gap: 40px; margin-top: 10px; }
.hub-group { break-inside: avoid; margin-bottom: 30px; }
.hub-group h2 { font-size: 28px; margin-bottom: 8px; color: var(--yellow); }
.hub-list { list-style: none; padding: 0; margin: 0; }
.hub-list li { break-inside: avoid; }
.hub-list a { display: inline-block; padding: 4px 0; color: var(--chalk-2); font-size: 15px; border-bottom: 1px dashed transparent; }
.hub-list a:hover { color: var(--yellow); border-bottom-color: currentColor; }
.hub-list-wide { columns: 4 190px; column-gap: 32px; margin: 10px 0 40px; }
.section-link { color: var(--yellow); font-weight: 600; white-space: nowrap; }
.section-link:hover { text-decoration: underline; }

/* Textul unic de sub H1 (paginile de listare și hub-uri) */
.list-intro { max-width: 820px; margin: 4px 0 22px; color: var(--chalk-2); font-size: 15.5px; line-height: 1.6; }
.crumbs [aria-current="page"] { color: var(--chalk-2); }
.hub-gol { display: inline-block; padding: 4px 0; color: rgba(244,241,232,.32); font-size: 15px; }
.hub-group h2 a { color: inherit; }
.hub-group h2 a:hover { text-decoration: underline; }

/* „Caută și în”: legături interne sub rezultate */
.hub-links { margin-top: 44px; padding-top: 28px; border-top: 1px dashed var(--line); display: grid; gap: 22px; }
.hub-links-group h2 { font: 700 24px/1.1 var(--font-chalk); color: var(--yellow); margin-bottom: 10px; }

/* Footer: grupuri de linkuri spre cele mai importante pagini */
.footer-seo { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px dashed rgba(255,255,255,.08); }
.footer-seo .footer-col { gap: 8px; font-size: 13.5px; }
@media (max-width: 1000px) { .footer-inner, .footer-seo { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner, .footer-seo { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Pagini legale ---------- */
.prose { max-width: 760px; padding-bottom: 40px; color: var(--chalk-2, #d9d6cc); line-height: 1.65; }
.prose h1 { font-size: 46px; margin-bottom: 4px; }
.prose h2 { font: 700 19px var(--font); margin: 30px 0 8px; color: var(--chalk); }
.prose ul { padding-left: 20px; margin: 8px 0; }
.prose li { margin: 4px 0; }
.prose p { margin: 8px 0; }
.prose a { color: var(--yellow); }

/* ---------- Cont și formular de anunț ---------- */
.app { max-width: 980px; margin: 0 auto; padding-bottom: 40px; }
.app-loading { font-size: 34px; text-align: center; padding: 60px 0; }
.app h1 { font-size: 46px; margin-bottom: 6px; }
.app-sub { color: var(--muted); margin-bottom: 26px; }
.panel {
  border: 1.5px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025);
  padding: 26px; margin-bottom: 20px;
}
.panel h2 { font-size: 30px; margin-bottom: 14px; }
.login { max-width: 460px; margin: 10px auto; }
.login .btn { width: 100%; justify-content: center; }
.login-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.login-or::before, .login-or::after { content: ""; flex: 1; border-top: 1px dashed var(--line-2); }
.btn-google { background: #fff; color: #1f1f1f; border: 0; gap: 10px; }
.btn-google:hover { background: #f1f1f1; }
.fld { display: block; margin-bottom: 16px; }
.fld > span, .fld > legend { display: block; font-size: 13px; font-weight: 600; color: var(--chalk); margin-bottom: 6px; }
.fld small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.fld input[type=text], .fld input[type=email], .fld input[type=tel], .fld input[type=number], .fld textarea, .fld select { width: 100%; }
.fld textarea { min-height: 110px; resize: vertical; font: inherit; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld-row-3 { grid-template-columns: 1fr 1fr 1fr; }
fieldset.fld { border: 0; padding: 0; margin: 0 0 16px; }
.fld-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--chalk); margin-bottom: 12px; }
.fld-check input { margin-top: 3px; accent-color: var(--yellow); }
.app input[type=text], .app input[type=email], .app input[type=tel], .app input[type=number], .app textarea {
  background: rgba(0,0,0,.25); border: 1.5px solid var(--line-2); border-radius: 10px; color: var(--chalk);
  padding: 10px 12px; font: 15px var(--font);
}
.app input:focus, .app textarea:focus, .app select:focus { outline: none; border-color: var(--yellow); }
.app .err { color: #ff9b8a; font-size: 13px; margin-top: 5px; }
.app .invalid { border-color: #ff9b8a !important; }
.note { border-left: 3px solid var(--yellow); padding: 10px 14px; background: rgba(245,215,110,.06); border-radius: 0 10px 10px 0; font-size: 14px; margin-bottom: 18px; }
.note-err { border-color: #ff9b8a; background: rgba(255,155,138,.07); }
.photo-pick { display: flex; gap: 16px; align-items: center; }
.photo-pick img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 2px solid var(--line-2); background: #1b1d1c; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.form-preview { position: sticky; top: 110px; }
.form-preview > p { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.form-preview .ad { width: 100%; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.my-ads { display: grid; gap: 14px; }
.my-ad { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; }
.my-ad img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; background: #1b1d1c; }
.my-ad h3 { font-size: 16px; margin-bottom: 4px; }
.my-ad h3 a { color: var(--chalk); }
.my-ad .meta { color: var(--muted); font-size: 13px; }
.my-ad-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.btn-sm { padding: 7px 11px; font-size: 13px; }
.status { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; margin-left: 6px; border: 1px solid var(--line-2); vertical-align: 2px; }
.status-ok { border-color: rgba(140,214,150,.6); color: #9fe0a8; }
.status-off { border-color: rgba(255,155,138,.6); color: #ff9b8a; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--chalk); color: #1b1a14; padding: 10px 18px; border-radius: 10px; font-weight: 600; z-index: 50; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.link-btn:hover { color: var(--chalk); }
.danger { color: #ff9b8a; }
@media (max-width: 860px) {
  .form-layout { grid-template-columns: 1fr; }
  .form-preview { position: static; max-width: 300px; }
  .my-ad { grid-template-columns: 64px 1fr; }
  .my-ad img { width: 64px; height: 64px; }
  .my-ad-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .fld-row, .fld-row-3 { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ad, .ad-more-arrow { transition: none; }
}

[hidden] { display: none !important; }

/* Mobil: cartonașe mici (2 pe rând, plus începutul celui de-al treilea în rândurile care derulează) */
@media (max-width: 680px) {
  .ad { border-radius: 12px; }
  .ad:hover { transform: none; }
  .ad-subject { font-size: 18px; left: 9px; right: 9px; bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ad-body { padding: 9px 10px 11px; gap: 5px; }
  .ad-title { font-size: 13.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .ad-who { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ad-desc, .ad-tags { display: none; }
  .ad-loc { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ad-foot { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 8px; }
  .ad-price { font-size: 12px; }
  .ad-price strong { font-size: 24px; }
  .ad-phone { font-size: 12.5px; }
  .ad-more { padding: 14px; font-size: 13px; }
}
