.posts-admin{max-width:860px;margin:0 auto;padding:1.25rem 0 3rem}@media(min-width:768px){.posts-admin{padding:1.25rem 1rem 3rem}}.posts-admin__header{display:flex;align-items:center;justify-content:flex-end;gap:1rem;margin-bottom:1.25rem;flex-wrap:wrap}.posts-admin__title{display:none;font-size:1.5rem;font-weight:700;color:#2c3e50;margin:0}@media(min-width:768px){.posts-admin__title{display:block}.posts-admin__header{justify-content:flex-end}}.posts-admin__add-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.6rem 1.1rem;background:linear-gradient(135deg,#ff6b35,#ff3d00);color:#fff;font-size:.9rem;font-weight:600;border:none;border-radius:6px;cursor:pointer;transition:opacity .15s}.posts-admin__add-btn:hover{opacity:.9}.posts-admin__add-icon{width:16px;height:16px}.posts-admin__filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem}.posts-admin__filter{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .8rem;border:1px solid #e0e4e8;border-radius:20px;background:#fff;color:#7f8c8d;font-size:.82rem;font-weight:500;cursor:pointer;transition:border-color .15s,color .15s,background .15s}.posts-admin__filter.is-active,.posts-admin__filter:hover{border-color:#667eea;color:#667eea;background:#f0f2ff}.posts-admin__filter-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.posts-admin__list{display:flex;flex-direction:column;gap:1rem}.posts-admin__empty{text-align:center;padding:2.5rem 1rem;color:#7f8c8d;font-size:.95rem}.posts-admin__item{display:grid;grid-template-columns:1fr;gap:0;background:#fff;border:1px solid #e8ecf0;border-radius:10px;overflow:hidden;transition:box-shadow .15s}.posts-admin__item:hover{box-shadow:0 4px 12px #00000012}.posts-admin__item-img{width:100%;height:180px;object-fit:cover;display:block}.posts-admin__item-body{padding:1rem;flex:1}.posts-admin__item-meta{display:flex;align-items:center;gap:.6rem;margin-bottom:.5rem;flex-wrap:wrap}.posts-admin__item-badge{display:inline-block;padding:.18rem .6rem;border-radius:20px;font-size:.75rem;font-weight:600;color:#fff}.posts-admin__item-date{font-size:.8rem;color:#7f8c8d}.posts-admin__item-title{font-size:1rem;font-weight:700;color:#2c3e50;margin:0 0 .35rem}.posts-admin__item-text{font-size:.88rem;color:#7f8c8d;margin:0;line-height:1.5}.posts-admin__item-actions{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border-top:1px solid #f0f2f5;background:#fafbfc;justify-content:flex-end}.posts-admin__item-action{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #e0e4e8;border-radius:6px;background:#fff;color:#7f8c8d;cursor:pointer;transition:border-color .15s,color .15s}.posts-admin__item-action:hover{border-color:#667eea;color:#667eea}.posts-admin__item-action--danger:hover{border-color:#e74c3c;color:#e74c3c}.posts-admin__item-action-icon{width:15px;height:15px}@media(min-width:600px){.posts-admin__item{grid-template-columns:160px 1fr auto;align-items:stretch}.posts-admin__item--no-img{grid-template-columns:1fr auto}.posts-admin__item-img{height:100%;min-height:130px}.posts-admin__item-actions{border-top:none;border-left:1px solid #f0f2f5;background:none;flex-direction:column;justify-content:center;align-items:center}}@media(min-width:1024px){.posts-admin{padding:2rem 1.5rem 3rem}}.posts-admin__form{background:#fff;border:1px solid #e0e4e8;border-radius:12px;padding:1.25rem 1rem;margin-bottom:1.5rem}.posts-admin__form-heading{font-size:1.15rem;font-weight:700;color:#2c3e50;margin:0 0 1.1rem}.posts-admin__form-field{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1rem}.posts-admin__form-label{font-size:.83rem;font-weight:600;color:#2c3e50}.posts-admin__form-label--required:after{content:" *";color:#e74c3c}.posts-admin__form-input{width:100%;padding:.6rem .8rem;border:1px solid #e0e4e8;border-radius:6px;font-size:.93rem;color:#2c3e50;background:#fff;transition:border-color .15s,box-shadow .15s}.posts-admin__form-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1f}.posts-admin__form-textarea{width:100%;padding:.6rem .8rem;border:1px solid #e0e4e8;border-radius:6px;font-size:.93rem;color:#2c3e50;background:#fff;resize:vertical;line-height:1.55;transition:border-color .15s,box-shadow .15s}.posts-admin__form-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1f}.posts-admin__form-error{font-size:.78rem;color:#e74c3c}.posts-admin__form-hint{display:flex;align-items:center;gap:.4rem;font-size:.8rem;color:#7f8c8d;margin-top:.25rem}.posts-admin__form-categories{display:flex;flex-wrap:wrap;gap:.5rem}.posts-admin__form-cat-tag{cursor:pointer}.posts-admin__form-cat-radio{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.posts-admin__form-cat-label{display:inline-block;padding:.3rem .8rem;border:2px solid transparent;border-radius:20px;font-size:.82rem;font-weight:600;background:color-mix(in srgb,var(--cat-color) 15%,#fff);color:var(--cat-color);transition:border-color .15s,background .15s}.posts-admin__form-cat-tag:hover .posts-admin__form-cat-label,.posts-admin__form-cat-tag:focus-within .posts-admin__form-cat-label{border-color:var(--cat-color)}.posts-admin__form-cat-radio:checked+.posts-admin__form-cat-label,.posts-admin__form-cat-tag.is-selected .posts-admin__form-cat-label{border-color:var(--cat-color);background:color-mix(in srgb,var(--cat-color) 18%,#fff)}.posts-admin__form-photos{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem}.posts-admin__form-photo{position:relative;width:72px;height:72px;border-radius:6px;overflow:hidden;flex-shrink:0}.posts-admin__form-photo-img{width:100%;height:100%;object-fit:cover;display:block}.posts-admin__form-photo-remove{position:absolute;top:3px;right:3px;width:18px;height:18px;display:flex;align-items:center;justify-content:center;border:none;border-radius:50%;background:#0000008c;color:#fff;cursor:pointer}.posts-admin__form-upload-input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.posts-admin__form-upload-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .9rem;border:1px dashed #bdc3c7;border-radius:6px;color:#7f8c8d;font-size:.83rem;cursor:pointer;transition:border-color .15s,color .15s;width:fit-content}.posts-admin__form-upload-btn:hover{border-color:#667eea;color:#667eea}.posts-admin__form-hint-spinner{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.posts-admin__form-youtube-row{display:flex;gap:.5rem;align-items:flex-start}.posts-admin__form-youtube-row .posts-admin__form-input{flex:1}.posts-admin__form-youtube-add{flex-shrink:0;padding:.6rem 1rem;border:1px solid #667eea;border-radius:6px;background:#fff;color:#667eea;font-size:.88rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}.posts-admin__form-youtube-add:hover{background:#667eea;color:#fff}.posts-admin__form-youtube-list{list-style:none;margin:.4rem 0 0;padding:0;display:flex;flex-direction:column;gap:.35rem}.posts-admin__form-youtube-item{display:flex;align-items:center;gap:.4rem;padding:.3rem .5rem;background:#fafbfc;border:1px solid #eef0f3;border-radius:6px;font-size:.82rem}.posts-admin__form-youtube-link{flex:1;color:#667eea;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}.posts-admin__form-youtube-link:hover{text-decoration:underline}.posts-admin__form-youtube-remove{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:none;border-radius:4px;background:transparent;color:#bdc3c7;cursor:pointer}.posts-admin__form-youtube-remove:hover{background:#fde8e8;color:#e74c3c}.posts-admin__form-footer{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;margin-top:1.25rem;padding-top:1rem;border-top:1px solid #f0f2f5}.posts-admin__form-cancel{padding:.6rem 1.2rem;border:1px solid #e0e4e8;border-radius:6px;background:#fff;color:#7f8c8d;font-size:.9rem;font-weight:500;cursor:pointer;transition:border-color .15s,color .15s}.posts-admin__form-cancel:hover{border-color:#bdc3c7;color:#2c3e50}.posts-admin__form-publish{padding:.6rem 1.4rem;border:none;border-radius:6px;background:linear-gradient(135deg,#ff6b35,#ff3d00);color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;transition:opacity .15s}.posts-admin__form-publish:hover{opacity:.9}.posts-admin__form-publish:disabled{opacity:.55;cursor:not-allowed}@media(min-width:768px){.posts-admin__form{padding:1.5rem}}
