/* Turinio valdymas */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/manrope-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/manrope-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/manrope-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/manrope-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--color-canvas); color: var(--color-ink); font: 400 15px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--color-ink); text-underline-offset: 3px; }
h1 { font-size: 28px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 6px; }
h2 { font-size: 19px; font-weight: 600; margin: 40px 0 10px; }
h3 { font-size: 15px; font-weight: 600; margin: 0 0 12px; }
code { background: var(--color-surface-blue); padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.bar { display: flex; align-items: center; gap: 28px; padding: 0 24px; min-height: 60px; background: var(--color-ink-deep); color: #EDF3F2; flex-wrap: wrap; }
.bar a { color: #C9D8DB; text-decoration: none; font-weight: 600; font-size: 14px; }
.bar a:hover, .bar a[aria-current] { color: #fff; }
.bar nav { display: flex; gap: 22px; flex-wrap: wrap; }
.bar nav a { padding: 19px 0; border-bottom: 2px solid transparent; }
.bar nav a[aria-current] { border-bottom-color: var(--color-champagne); }
.bar-brand { color: #fff !important; font-size: 15px !important; }
.bar-brand span { font-weight: 400; color: #A8C3CA; margin-left: 6px; }
.bar-right { margin-left: auto; display: flex; gap: 20px; align-items: center; }
.linklike { background: none; border: 0; color: #C9D8DB; font: 600 14px var(--font-body); cursor: pointer; padding: 0; }
.linklike:hover { color: #fff; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 36px 24px 90px; }
.bare .wrap { max-width: 460px; padding-top: 12vh; }
.head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.head h1 { margin: 0; }
.head-side { display: flex; gap: 18px; align-items: center; font-size: 14px; }
.muted { color: var(--color-muted); } .small { font-size: 13px; } .lead { max-width: 70ch; margin: 0 0 20px; }
.hint { display: block; font-size: 13px; line-height: 1.5; color: var(--color-muted); font-weight: 400; margin: 6px 0 0; }
.note { padding: 13px 16px; border-radius: 8px; margin: 0 0 22px; font-weight: 600; font-size: 14px; background: #E3F1E8; color: #1E5A3A; border: 1px solid #BFDFCC; }
.note.err { background: #FBECEA; color: #8C2A1F; border-color: #EFC7C1; }
.card, .panel { background: var(--color-paper); border: 1px solid var(--color-line); border-radius: 10px; padding: 26px; }
.card.narrow { max-width: 460px; margin: 0 auto; } .card.left { margin: 30px 0 0; } .card.narrow.left { margin-top: 20px; }
.card h1 { margin-bottom: 8px; } .card h2 { margin-top: 28px; } .card.left > h2:first-child { margin-top: 0; }
.panel { padding: 18px; margin-bottom: 14px; }
label, .label { display: block; font-size: 13px; font-weight: 600; margin: 16px 0 0; }
.panel > .label:first-child, .panel > label:first-child { margin-top: 0; }
input:not([type=checkbox]):not([type=file]), select, textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: 400 15px var(--font-body); color: var(--color-ink); background: #fff; border: 1px solid #C5D3D6; border-radius: 6px; }
input:disabled, select:disabled { background: var(--color-surface-blue); color: var(--color-muted); }
input[type=file] { display: block; margin-top: 8px; font: 400 13px var(--font-body); max-width: 100%; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
label.big { font-size: 13px; margin-top: 0; }
label.big input { font-size: 24px; font-weight: 600; letter-spacing: -.01em; padding: 12px 14px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; margin-top: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; margin-top: 18px; border: 1px solid var(--color-ink); border-radius: 6px; background: #fff; color: var(--color-ink); font: 600 14px var(--font-body); text-decoration: none; cursor: pointer; transition: background .2s, box-shadow .2s; }
.btn:hover { background: var(--color-surface-blue); }
.btn.primary { background: var(--color-ink); color: #fff; }
.btn.primary:hover { background: var(--color-ink-deep); box-shadow: var(--shadow-sm); }
.btn.danger { border-color: #C9867D; color: #8C2A1F; } .btn.danger:hover { background: #FBECEA; }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; margin-top: 0; }
.head .btn { margin-top: 0; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 18px; }
.list { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--color-line); border-radius: 10px; overflow: hidden; }
.list th { text-align: left; font-size: 12px; font-weight: 600; color: var(--color-muted); padding: 12px 14px; border-bottom: 1px solid var(--color-line); background: #FAFBFA; }
.list td { padding: 12px 14px; border-bottom: 1px solid var(--color-line); vertical-align: middle; font-size: 14px; }
.list tr:last-child td { border-bottom: 0; }
.list td input, .list td select { margin-top: 0 !important; padding: 7px 9px !important; font-size: 14px !important; min-width: 130px; }
.list .check { margin-top: 0; }
.strong { font-weight: 600; } .right { text-align: right; white-space: nowrap; }
.inline { display: inline-flex; gap: 8px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--color-surface-blue); color: var(--color-muted); }
.tag.on { background: #E3F1E8; color: #1E5A3A; }
.empty { text-align: center; padding: 70px 20px; background: #fff; border: 1px dashed #C5D3D6; border-radius: 10px; }
.empty h2 { margin-top: 0; } .empty p { max-width: 48ch; margin: 0 auto; color: var(--color-muted); }
.post-form { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.post-side { position: sticky; top: 16px; }
.field { margin-top: 20px; }
.actions { display: grid; gap: 8px; } .actions .btn { margin-top: 0; width: 100%; }
.cover-prev { display: block; width: 100%; border-radius: 6px; margin-top: 8px; }
.att { padding: 10px 0; border-bottom: 1px solid var(--color-line); }
.att-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-top: 6px; } .att-meta .check { margin: 0; font-size: 13px; }
.danger-zone { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--color-line); } .danger-zone .btn { margin-top: 0; }
.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 16px; }
.slot { margin: 0; }
.slot-prev { aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--color-sky); display: grid; place-items: center; color: var(--color-muted); font-size: 13px; }
.slot-prev video, .slot-prev img { width: 100%; height: 100%; object-fit: cover; }
.upload-line { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; } .upload-line .btn, .upload-line input { margin-top: 0; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.thumb { background: #fff; border: 1px solid var(--color-line); border-radius: 8px; padding: 10px; }
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; }
.thumb-actions { display: flex; gap: 8px; margin-top: 8px; }
.tox-tinymce { border-radius: 8px !important; border-color: #C5D3D6 !important; margin-top: 8px; }
@media (max-width: 900px) { .post-form { grid-template-columns: 1fr; } .post-side { position: static; } .list { display: block; overflow-x: auto; } .bar-right { margin-left: 0; } }

.bar-brand { display: inline-flex; align-items: center; gap: 10px; }
.bar-brand img { width: 40px; height: 40px; }
.bare-logo { display: block; width: 120px; height: 120px; margin: 0 auto 24px; }
.bare .wrap { padding-top: 7vh; }
