/* CARVE — Видео-уроци */
.ur-geroi .uvod { margin-top: 20px; }
.ur-spisak { padding: clamp(20px, 3vw, 40px) 0 clamp(80px, 10vw, 140px); }
.ur { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px) 0; border-top: 1.5px solid var(--mastilo); }
.ur-obr .ur-plejar { order: 2; }
.ur-plejar { position: relative; aspect-ratio: 16 / 9; background: var(--mastilo); overflow: hidden; }
.ur-plejar img, .ur-plejar iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.ur-plejar img { transition: transform 1.2s var(--ease); }
.ur-plejar:hover img { transform: scale(1.03); }
.ur-pusni { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; color: #fff; background: linear-gradient(to top, rgba(8,13,18,.45), rgba(8,13,18,0) 60%); }
.ur-pusni i { width: 84px; height: 84px; border-radius: 50%; background: var(--oranzh); position: relative; transition: transform .4s var(--ease); box-shadow: 0 10px 40px -10px rgba(0,0,0,.5); }
.ur-pusni i::after { content: ''; position: absolute; left: 34px; top: 27px; border-left: 22px solid var(--mastilo); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.ur-pusni:hover i { transform: scale(1.08); }
.ur-pusni span { position: absolute; right: 14px; bottom: 12px; font: 500 13px var(--f-mono); background: rgba(8,13,18,.7); padding: 4px 8px; }
.ur-n { color: var(--oranzh-2); }
.ur-t h2 { margin-top: 8px; }
.ur-t > p:not(.mono) { margin-top: 14px; color: var(--mastilo-2); max-width: 48ch; }
.ur-gled { margin-top: 16px; color: var(--sivo); }
.ur-bel { margin-top: 18px; font-size: 14px; color: var(--sivo); }
@media (max-width: 900px) { .ur { grid-template-columns: minmax(0, 1fr); } .ur-obr .ur-plejar { order: 0; } }

.ot-pistata { padding: clamp(80px, 10vw, 150px) 0; }
.otp-mreja { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); }
.otp .kadar { aspect-ratio: 4 / 3; }
.otp p { margin-top: 10px; color: var(--nosht-sivo); font-size: 15px; }
.otp:nth-child(1) { grid-column: span 2; }
.otp:nth-child(1) .kadar { aspect-ratio: auto; height: 100%; min-height: 100%; }
.otp:nth-child(1) { display: flex; flex-direction: column; }
.otp:nth-child(1) .kadar { flex: 1; }
.otp-dolu { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
/* под 860 px първият клип е обикновена кутия 16:9; с height: 100% Safari смяташе широчината от височината и тя излизаше от екрана */
@media (max-width: 860px) { .otp-mreja { grid-template-columns: repeat(2, minmax(0, 1fr)); } .otp:nth-child(1) .kadar { aspect-ratio: 16 / 9; height: auto; min-height: 0; flex: none; } }
@media (max-width: 520px) { .otp-mreja { grid-template-columns: minmax(0, 1fr); } .otp:nth-child(1) { grid-column: auto; } }
