/* Mentori: catalogul cu portrete și pagina unui mentor.
   Aceleași reguli ca prima pagină (vault: 02 Arhitectura/Reguli de design): Codru, Vin, Calcar, Hârtie; Schibsted Grotesk.
   Fotografia conduce; textul stă dedesubt, fără cutii și umbre. O singură mișcare: portretele alunecă la filtrare. */

.mt-page, .mp-page { padding-top: 48px; padding-bottom: 72px; }

/* ---------- antet ---------- */
.mt-head { max-width: 760px; margin-bottom: 32px; }
.mt-head h1 { font-size: 49px; line-height: 1.04; letter-spacing: -.03em; margin-bottom: 16px; }
.mt-head p { font-size: 18px; color: var(--muted); max-width: 58ch; margin: 0; }

/* ---------- filtre ---------- */
.mt-filters { border-top: 2px solid var(--codru-2); border-bottom: 1px solid var(--border); padding: 20px 0 8px; margin-bottom: 18px; }
.mt-search { position: relative; max-width: 560px; margin-bottom: 18px; }
.mt-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.mt-search input[type=search] { padding: 13px 14px 13px 42px; font-size: 16px; border: 1.5px solid var(--border-strong); border-radius: 6px; background: #fff; }
.mt-search input[type=search]:focus { border-color: var(--codru); }
.mt-group { border: 0; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; align-items: start; }
.mt-group legend { float: left; padding: 7px 0 0; font-size: 14px; font-weight: 700; color: var(--codru-2); }
.mt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff;
  color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.mt-chip span { color: var(--faint); font-size: 12px; font-feature-settings: 'tnum' 1; }
.mt-chip:hover { border-color: var(--codru); color: var(--codru-2); text-decoration: none; }
.mt-chip.on { background: var(--codru); border-color: var(--codru); color: #fff; }
.mt-chip.on span { color: #b9cdc1; }
.mt-count { display: flex; gap: 18px; align-items: baseline; font-size: 15px; color: var(--muted); margin: 0 0 24px; }
.mt-count #mt-n { font-weight: 700; color: var(--wine); font-feature-settings: 'tnum' 1; }
.mt-count a { color: var(--codru); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand-line); text-underline-offset: 4px; }
.mt-count a:hover { color: var(--wine); }

/* ---------- grila de portrete ---------- */
.mt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.mt-grid [hidden] { display: none; }
.mc a { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.mc-photo { display: block; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--stone-2); margin-bottom: 14px; }
.mc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.mc-photo-empty { background: var(--codru); display: flex; align-items: flex-end; }
.mc-ini { color: #e8eee9; font-weight: 800; letter-spacing: -.04em; line-height: .8; font-size: clamp(64px, 7vw, 104px); padding: 0 0 18px 18px; opacity: .9; }
.mc-name { font-size: 18px; font-weight: 700; color: var(--codru-2); line-height: 1.25; }
.mc a:hover .mc-name { color: var(--wine); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.mc a:focus-visible { outline: none; }
.mc a:focus-visible .mc-photo { outline: 3px solid var(--wine); outline-offset: 3px; }
.mc-role { font-size: 14.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-place { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; font-weight: 600; }
.mc-exp { font-size: 13.5px; color: var(--faint); margin-top: 2px; line-height: 1.4; }

.mt-empty { padding: 48px 0; max-width: 52ch; }
.mt-empty p { font-size: 17px; }

.mt-join { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.mt-join h2 { margin-bottom: 6px; }
.mt-join p { margin: 0; color: var(--muted); max-width: 56ch; }

/* ---------- pagina unui mentor ---------- */
.mp-crumbs { font-size: 14px; color: var(--faint); margin-bottom: 24px; }
.mp-crumbs a { color: var(--muted); }
.mp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.mp-portrait { margin: 0; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--stone-2); position: sticky; top: calc(var(--topbar-h) + 24px); }
.mp-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.mp-portrait.mc-photo-empty .mc-ini { font-size: 160px; padding: 0 0 28px 28px; }
.mp-main h1 { font-size: 49px; line-height: 1.04; letter-spacing: -.03em; margin: 4px 0 12px; }
.mp-role { font-size: 20px; color: var(--ink-2); max-width: 46ch; margin-bottom: 14px; line-height: 1.4; }
.mp-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.mp-meta span, .mp-meta a { display: inline-flex; align-items: center; gap: 6px; }
.mp-meta a { color: var(--codru); font-weight: 600; }
.mp-block { margin-top: 40px; }
.mp-block h2, .mp-session h2 { font-size: 20px; margin-bottom: 14px; }
.mp-exp { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mp-exp a { display: inline-block; padding: 7px 14px; border: 1px solid var(--brand-line); border-radius: 999px; background: var(--brand-soft); color: var(--codru-2); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.mp-exp a:hover { border-color: var(--codru); background: #fff; }
.mp-raw { font-size: 14px; color: var(--faint); margin: 14px 0 0; max-width: 65ch; }
.mp-bio p { font-size: 17px; line-height: 1.7; max-width: 65ch; color: var(--ink-2); margin: 0 0 14px; }
.mp-session { margin-top: 44px; padding: 28px; border-radius: 8px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--codru); }
.mp-session .btn-block { width: auto; display: inline-flex; }
.mp-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.mp-steps { margin: 0 0 20px; padding-left: 20px; color: var(--ink-2); }
.mp-steps li { margin-bottom: 6px; padding-left: 4px; }
.mp-slots { border: 0; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.mp-slots legend { font-weight: 700; margin-bottom: 8px; }
.mp-slot { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; font-size: 14px; }
.mp-slot:has(input:checked) { border-color: var(--codru); background: var(--brand-soft); }
.mp-slot-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.mp-related { margin-top: 88px; padding-top: 32px; border-top: 1px solid var(--border); }
.mp-related h2 { margin-bottom: 24px; }

@media (max-width: 1100px) { .mt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .mp-grid { grid-template-columns: 1fr; gap: 28px; }
  .mp-portrait { position: static; max-width: 420px; }
  .mt-group { grid-template-columns: 1fr; gap: 6px; }
  .mt-group legend { padding: 0; }
}
@media (max-width: 620px) {
  .mt-page, .mp-page { padding-top: 28px; }
  .mt-head h1, .mp-main h1 { font-size: 34px; }
  .mt-head p { font-size: 16px; }
  .mt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .mc-name { font-size: 16px; }
  .mc-role { font-size: 13.5px; }
  .mc-exp { display: none; }
  .mt-chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; padding-bottom: 4px; scrollbar-width: none; }
  .mt-chips::-webkit-scrollbar { display: none; }
  .mt-chip { flex: none; }
  .mp-session { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .mt-chip { transition: none; } }
.mt-other { width: auto; padding: 6px 30px 6px 12px; border-radius: 999px; font-size: 14px; border: 1px solid var(--border); background-color: #fff; color: var(--ink-2); }
.mt-other.on { background-color: var(--codru); border-color: var(--codru); color: #fff; }
.mt-count > span:first-child { white-space: nowrap; }
.mp-portrait.mc-photo-empty { background: var(--codru); display: flex; align-items: flex-end; }

/* Bara de filtre (v2): căutare + două liste derulante, etichete pentru filtrele active.
   Fără fieldset/legend (Firefox și Safari le așezau greșit în grilă). */
.mt-bar { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; position: relative; z-index: 5; padding: 20px 0; }
.mt-bar .mt-search { flex: 1 1 320px; margin: 0; }
.mt-dd { position: relative; flex: 0 0 auto; }
.mt-dd > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; height: 100%; min-height: 48px; padding: 0 40px 0 16px; border: 1px solid var(--border-strong); border-radius: 6px; background: #fff; position: relative; white-space: nowrap; user-select: none; }
.mt-dd > summary::-webkit-details-marker { display: none; }
.mt-dd > summary::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--codru-2); border-bottom: 2px solid var(--codru-2); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.mt-dd[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.mt-dd > summary:hover, .mt-dd[open] > summary { border-color: var(--codru); }
.mt-dd.set > summary { border-color: var(--codru); box-shadow: inset 0 0 0 1px var(--codru); }
.mt-dd-l { color: var(--muted); font-size: 14px; }
.mt-dd-v { color: var(--codru-2); font-weight: 700; max-width: 22ch; overflow: hidden; text-overflow: ellipsis; }
.mt-panel { position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; max-height: 380px; overflow-y: auto; background: #fff; border: 1px solid var(--border-strong); border-radius: 6px; box-shadow: 0 16px 40px rgba(24, 58, 43, .16); padding: 6px; display: flex; flex-direction: column; gap: 0; }
.mt-dd[data-k="tara"] .mt-panel { left: auto; right: 0; }
.mt-panel .mt-chip { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; border-radius: 4px; background: transparent; padding: 10px 12px; font-size: 15px; color: var(--ink); white-space: normal; }
.mt-panel .mt-chip:hover { background: var(--stone-2); color: var(--codru-2); }
.mt-panel .mt-chip.on { background: var(--brand-soft); color: var(--codru-2); font-weight: 700; }
.mt-panel .mt-chip.on span { color: var(--codru); }
.mt-active { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 6px; }
.mt-active:empty { display: none; }
.mt-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 12px; border: 0; border-radius: 4px; background: var(--codru); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.mt-tag::after { content: '×'; font-size: 18px; line-height: 1; opacity: .8; }
.mt-tag:hover { background: var(--codru-2); }
@media (max-width: 620px) {
  .mt-bar .mt-search { flex-basis: 100%; }
  .mt-dd { flex: 1 1 0; min-width: 0; }
  .mt-dd > summary { padding-right: 32px; }
  .mt-dd-v { max-width: 12ch; }
  .mt-panel, .mt-dd[data-k="tara"] .mt-panel { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; min-width: 0; max-height: 60vh; }
  .mt-panel .mt-chips, .mt-panel { flex-wrap: nowrap; }
}

/* ---------- portretul care se întoarce (v3) ----------
   Se întoarce doar portretul (aceeași mărime pe ambele fețe), textul de dedesubt rămâne pe loc.
   Desktop: hover cu o mică întârziere. Telefon/tastatură: butonul rotund din colț. */
.mc .mc-text { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; margin-top: 14px; }
.mc .mc-text:hover .mc-name { color: var(--wine); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.mc-flip { position: relative; perspective: 1400px; }
.mc-card { position: relative; aspect-ratio: 4 / 5; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .75, .15, 1); }
.mc-face { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mc-front { display: block; background: var(--stone-2); }
.mc-front img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; transition: transform .7s cubic-bezier(.2, .75, .15, 1); }
.mc-front.mc-photo-empty { background: var(--codru); display: flex; align-items: flex-end; }
.mc-back { transform: rotateY(180deg); background: var(--codru-2); color: #dfe8e2; padding: 20px 18px 16px; display: flex; flex-direction: column; gap: 12px;
  background-image: radial-gradient(120% 80% at 100% 0%, rgba(155, 35, 53, .35), transparent 60%); }
.mc-bio { margin: 0; font-size: 14.5px; line-height: 1.5; color: #e8eee9; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.mc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.mc-tag { font: inherit; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 3px; padding: 4px 8px; cursor: pointer; text-align: left; }
.mc-tag:hover { background: #fff; color: var(--codru-2); }
.mc-acts { display: flex; gap: 8px; align-items: center; }
.mc-go { flex: 1; text-align: center; background: #fff; color: var(--codru-2); font-weight: 700; font-size: 14px; padding: 9px 12px; border-radius: 4px; text-decoration: none; }
.mc-go:hover { background: var(--stone); color: var(--codru-2); text-decoration: none; }
.mc-ic { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 4px; color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; }
.mc-ic:hover { background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
/* butonul de întoarcere: cerc de sticlă cu o săgeată circulară (SVG).
   Hover: se lungește spre stânga într-o pastilă cu eticheta (flip + redimensionare, ca peste tot).
   Clic: săgeata se întoarce odată cu portretul și butonul devine vișiniu; eticheta devine „Înapoi”. */
.mc-turn { --sz: 38px; position: absolute; z-index: 3; right: 10px; bottom: 10px; height: var(--sz); min-width: var(--sz); padding: 0; border-radius: 999px; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: flex-end; color: var(--codru-2); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(15, 42, 30, .06), 0 6px 18px -6px rgba(15, 42, 30, .45); transition: background .35s, color .35s, box-shadow .35s, transform .5s cubic-bezier(.32, .72, 0, 1); }
.mc-turn-i { width: var(--sz); height: var(--sz); padding: 10px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .7s cubic-bezier(.32, .72, 0, 1); }
.mc-turn-l { display: grid; max-width: 0; overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: -.005em; transition: max-width .5s cubic-bezier(.32, .72, 0, 1), padding .5s cubic-bezier(.32, .72, 0, 1); }
.mc-turn-l b { grid-area: 1 / 1; font-weight: inherit; transition: opacity .25s, transform .45s cubic-bezier(.32, .72, 0, 1); }
.mc-turn-l b + b { opacity: 0; transform: translateY(8px); }
.mc-turn:active { transform: scale(.92); }
.mc-turn:focus-visible { outline: 3px solid var(--wine); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .mc-flip:hover .mc-turn, .mc-turn:focus-visible { box-shadow: 0 0 0 1px rgba(15, 42, 30, .08), 0 10px 26px -8px rgba(15, 42, 30, .55); }
  .mc:not(.is-flipped) .mc-flip:hover .mc-turn-l, .mc:not(.is-flipped) .mc-turn:focus-visible .mc-turn-l { max-width: 90px; padding-left: 14px; }
  .mc:not(.is-flipped) .mc-flip:hover .mc-turn-i { transform: rotate(-38deg); }
}
/* starea întoarsă */
.mc.is-flipped .mc-card { transform: rotateY(180deg); }
.mc.is-flipped .mc-turn { background: var(--wine); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 26px -8px rgba(155, 35, 53, .7); }
.mc.is-flipped .mc-turn-i { transform: rotateY(180deg) rotate(-20deg); }
.mc.is-flipped .mc-turn-l b:first-child { opacity: 0; transform: translateY(-8px); }
.mc.is-flipped .mc-turn-l b + b { opacity: 1; transform: none; }
/* la intrarea paginii, săgeata face o singură dată semn că portretul se întoarce */
.mt-grid.mt-enter .mc-turn-i { animation: mc-nudge 1.1s cubic-bezier(.32, .72, 0, 1) both; animation-delay: calc(var(--i, 0) * 45ms + .55s); }
@keyframes mc-nudge { 0% { transform: rotate(0); } 35% { transform: rotate(-70deg); } 70% { transform: rotate(12deg); } 100% { transform: rotate(0); } }
.mt-grid.mt-enter .mc-turn { animation: mc-turn-in .6s cubic-bezier(.32, .72, 0, 1) both; animation-delay: calc(var(--i, 0) * 45ms + .35s); }
@keyframes mc-turn-in { from { opacity: 0; transform: scale(.4) rotate(-90deg); } }
/* pe spate, conținutul intră pe rând după ce cardul a trecut de jumătate */
.mc-back > * { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s cubic-bezier(.2, .75, .15, 1); }
.mc.is-flipped .mc-back > * { opacity: 1; transform: none; }
.mc.is-flipped .mc-back > :nth-child(1) { transition-delay: .28s; }
.mc.is-flipped .mc-back > :nth-child(2) { transition-delay: .36s; }
.mc.is-flipped .mc-back > :nth-child(3) { transition-delay: .44s; }
.mc.is-flipped .mc-card { box-shadow: none; }
.mc.is-flipped .mc-card::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .mc-flip:hover .mc-front img { transform: scale(1.03); }
}
/* intrarea paginii: o singură secvență, portretele apar pe rând */
.mt-grid.mt-enter .mc { animation: mc-in .6s cubic-bezier(.2, .75, .15, 1) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes mc-in { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) {
  .mc-card, .mc-turn, .mc-turn-i, .mc-turn-l, .mc-front img, .mc-back > * { transition: none !important; animation: none !important; }
  .mt-grid.mt-enter .mc { animation: none; }
  .mc-card { transform: none !important; }
  .mc-back { transform: none; opacity: 0; visibility: hidden; }
  .mc.is-flipped .mc-back { opacity: 1; visibility: visible; }
}
/* fața ascunsă nu primește clicuri (Chrome lovește și fețele întoarse) */
.mc-back { pointer-events: none; }
.mc.is-flipped .mc-back { pointer-events: auto; }
.mc.is-flipped .mc-front { pointer-events: none; }
.mc-acts { padding-right: 46px; }

/* ---------- profilul rapid: placa verde crește din card până la fereastră ---------- */
html.mq-lock { overflow: hidden; }
.mc.is-lifted .mc-card { visibility: hidden; }
.mq-plate { position: fixed; z-index: 81; background: var(--codru-2); background-image: radial-gradient(120% 80% at 100% 0%, rgba(155, 35, 53, .35), transparent 60%); box-shadow: 0 30px 80px rgba(15, 42, 30, .35); pointer-events: none; }
.mq { position: fixed; inset: 0; z-index: 80; }
.mq[hidden] { display: none; }
.mq-scrim { position: absolute; inset: 0; background: rgba(15, 42, 30, .55); opacity: 0; transition: opacity .4s; backdrop-filter: blur(2px); }
.mq.on .mq-scrim { opacity: 1; }
.mq-box { position: fixed; z-index: 82; background: var(--paper); border-radius: 10px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); box-shadow: 0 30px 80px rgba(15, 42, 30, .35); outline: none; opacity: 0; }
.mq.ready .mq-box { opacity: 1; }
.mq-photo { margin: 0; position: relative; background: var(--stone-2); overflow: hidden; }
.mq-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.mq-photo.empty { background: var(--codru); display: flex; align-items: flex-end; }
.mq-ini { color: #e8eee9; font-weight: 800; font-size: 120px; line-height: .8; letter-spacing: -.04em; padding: 0 0 24px 24px; }
.mq-body { padding: 44px 44px 32px; overflow-y: auto; display: flex; flex-direction: column; }
.mq-place { font-size: 14px; font-weight: 600; color: var(--wine); margin: 0 0 8px; }
.mq-body h2 { font-size: 34px; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 8px; }
.mq-role { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.mq-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.mq-tags span { font-size: 13px; font-weight: 600; color: var(--codru-2); background: var(--brand-soft); border-radius: 3px; padding: 4px 9px; }
.mq-bio { font-size: 16px; line-height: 1.6; max-width: 60ch; color: var(--ink-2); margin: 0 0 24px; }
.mq-acts { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 8px; }
.mq-li { font-weight: 700; color: var(--codru); margin-left: 6px; }
.mq-x { position: absolute; z-index: 2; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); font-size: 24px; line-height: 1; cursor: pointer; color: var(--codru-2); box-shadow: 0 2px 10px rgba(15, 42, 30, .2); }
.mq-x:hover { background: #fff; color: var(--wine); }
/* conținutul intră pe rând, după ce placa a ajuns la mărimea ferestrei */
.mq-photo img, .mq-body > * { opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.mq-photo img { transform: scale(1.06); }
.mq.ready .mq-photo img, .mq.ready .mq-body > * { opacity: 1; transform: none; }
.mq.ready .mq-body > :nth-child(1) { transition-delay: .05s; } .mq.ready .mq-body > :nth-child(2) { transition-delay: .1s; }
.mq.ready .mq-body > :nth-child(3) { transition-delay: .15s; } .mq.ready .mq-body > :nth-child(4) { transition-delay: .2s; }
.mq.ready .mq-body > :nth-child(5) { transition-delay: .25s; } .mq.ready .mq-body > :nth-child(6) { transition-delay: .3s; }
@media (max-width: 719px) {
  .mq-box { grid-template-columns: 1fr; grid-template-rows: 42vh 1fr; border-radius: 0; }
  .mq-body { padding: 24px 20px 28px; }
  .mq-body h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-scrim, .mq-photo img, .mq-body > * { transition: none; }
}
.mc.is-lifted .mc-turn { visibility: hidden; }
/* „Pagina completă”: fereastra rămâne vizibilă (hârtie goală) cât crește până la marginile ecranului */
.mq.grow .mq-box { opacity: 1; box-shadow: none; }
.mq.grow .mq-photo, .mq.grow .mq-body, .mq.grow .mq-x { visibility: hidden; }
