/* Zkušenosti klientů (Members/Recenze.cs). Sekci vkládá server do hlavní stránky a /mentoring;
   barvy a písmo z nzm-page.css, karty stejné jako dřívější reference na hlavní stránce. */
.rec-sekce .rec-videa{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(14px,2vw,22px); margin:0 0 clamp(18px,2.6vw,26px);}
.rec-sekce .rec-videa.jedno{grid-template-columns:minmax(0,1fr); max-width:820px; margin-inline:auto;}
@media(max-width:760px){ .rec-sekce .rec-videa{grid-template-columns:minmax(0,1fr);} }
.rec-video{margin:0; background:var(--soft); border:1px solid var(--line); border-radius:18px; overflow:hidden; display:flex; flex-direction:column;}
.rec-video video{display:block; width:100%; aspect-ratio:16/9; height:auto; background:#000; object-fit:contain;}
.rec-video figcaption{padding:16px 22px 20px;}
.rec-vtext{margin:10px 0 0; color:var(--muted); font-size:15px; line-height:1.65;}

.rec-sekce .rec-texty{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(14px,2vw,20px);}
@media(max-width:760px){ .rec-sekce .rec-texty{grid-template-columns:minmax(0,1fr);} }
.rec-card{background:var(--soft); border:1px solid var(--line); border-radius:18px; padding:24px; display:flex; flex-direction:column; min-width:0;}
.rec-quote{position:relative; overflow:hidden; max-height:96px; transition:max-height .45s var(--ease, ease); color:var(--muted); font-size:15px; line-height:1.65; white-space:pre-line;}
.rec-card.dlouhe:not(.open) .rec-quote::after{content:""; position:absolute; left:0; right:0; bottom:0; height:46px; background:linear-gradient(to bottom, rgba(24,36,55,0), var(--soft)); pointer-events:none;}
.rec-card:not(.dlouhe) .rec-quote{max-height:none;}
.rec-name{margin-top:14px; font-weight:800; color:var(--ink); display:flex; align-items:center; gap:8px; font-size:16px;}
.rec-video .rec-name{margin-top:0;}
.rec-name::before{content:""; width:22px; height:2px; background:var(--accent); display:inline-block;}
.rec-meta{margin:4px 0 0 30px; color:var(--muted); font-size:13.5px;}
.rec-spol{color:var(--accent); font-weight:700;}
.rec-more{align-self:flex-start; margin-top:14px; background:none; border:1.5px solid var(--line); border-radius:10px; padding:8px 16px; color:var(--accent); font:inherit; font-weight:700; font-size:13.5px; cursor:pointer; transition:background .2s, color .2s;}
.rec-more:hover{background:var(--accent); color:#07131c; border-color:var(--accent);}
.rec-card:not(.dlouhe) .rec-more{display:none;}
.rec-overeni{margin:clamp(16px,2.4vw,22px) auto 0; max-width:720px; text-align:center; color:var(--muted); font-size:12.5px; line-height:1.55;}
html.nzm-dark .rec-card, html.nzm-dark .rec-video{background:var(--soft);}
html.nzm-dark .rec-card.dlouhe:not(.open) .rec-quote::after{background:linear-gradient(to bottom, rgba(28,31,36,0), var(--soft));}

/* Videa na výšku (z telefonu): na počítači v řadě vedle sebe, na mobilu vodorovný posuvník. */
.rec-sekce .rec-vysoka{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(12px,1.6vw,18px); margin:0 0 clamp(18px,2.6vw,26px);}
.rec-sekce .rec-vysoka.malo{grid-template-columns:repeat(2,minmax(0,280px)); justify-content:center;}
.rec-video.na-vysku video{aspect-ratio:9/16;}
.rec-video.na-vysku figcaption{padding:12px 14px 14px;}
.rec-video.na-vysku .rec-vtext{font-size:14px;}
@media(max-width:900px){ .rec-sekce .rec-vysoka:not(.malo){grid-template-columns:repeat(3,minmax(0,1fr));} }
@media(max-width:760px){
  .rec-sekce .rec-vysoka, .rec-sekce .rec-vysoka.malo{display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:12px; padding-bottom:6px; -webkit-overflow-scrolling:touch;}
  .rec-sekce .rec-vysoka > .rec-video{flex:0 0 72%; max-width:300px; scroll-snap-align:center;}
}
