.inspiration-news{margin:2rem 0}.inspiration-card{max-width:650px;margin:1rem auto;padding:1.2rem;border:1px solid #d4dfd3;border-radius:12px;background:white}.inspiration-thumbnail{display:block;width:100%;position:relative;background:#16372b;color:white;border:0;border-radius:8px;overflow:hidden}.inspiration-thumbnail img{width:100%;max-height:320px;object-fit:contain}.inspiration-thumbnail span{display:block;padding:.5rem}.inspiration-dialog{width:min(680px,94vw);max-height:90vh;overflow:auto;padding:1.5rem}.inspiration-dialog label{display:block;margin:1rem 0}.inspiration-dialog input:not([type=checkbox]),.inspiration-dialog textarea{width:100%}.inspiration-dialog iframe,.inspiration-card iframe{max-width:100%}.x-post{margin:1rem auto;max-width:550px}.x-post iframe{max-width:100%!important}#inspiration-video{width:100%;aspect-ratio:9/16;max-height:65vh}
.draft-toolbar{padding:10px 20px;background:#e6f3f5;text-align:center;font:13px Arial;color:#214957}.draft-toolbar a{margin-left:18px}.news-grid .inspiration-card{max-width:none;padding:1rem;min-width:0}.news-grid .inspiration-card h2{font-size:1.25rem;line-height:1.3;overflow-wrap:anywhere}.news-grid .inspiration-card .news-reaction-row{flex-wrap:wrap}.news-grid .inspiration-card textarea{max-width:100%;box-sizing:border-box}.news-grid .inspiration-card .inspiration-thumbnail{padding:0}.news-grid .inspiration-card .inspiration-thumbnail img{display:block;width:100%}.inspiration-thumbnail img{object-fit:contain}.news-week [data-insp-new]{margin-top:12px}

.edition-order-toolbar{padding:1rem;border:1px solid #b8cbc5;border-radius:10px;background:#edf5f2;margin:1rem 0}.edition-order-toolbar p{margin:.4rem 0}.edition-position{border-bottom:1px solid #d5dfd5;padding:.7rem;background:#f4f8f6;font-size:.85rem}.edition-position .position-actions{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center;margin-top:.4rem}.edition-position input{width:4.5rem;min-width:0;padding:.3rem}.edition-position button{font-size:.8rem;padding:.3rem .4rem}.edition-position strong{display:block}.edition-order-toolbar .button{margin:.4rem .3rem .2rem 0}

/* Compact administrative layout; published parent cards retain their layout. */
.news-week-heading.is-admin{display:flex;align-items:center;gap:2rem;margin-bottom:1.1rem}
.news-week-heading.is-admin h2{flex:0 0 280px;margin:0}
.news-week-heading.is-admin .news-gallery-title{flex:1;display:grid;gap:.4rem;font-size:.85rem;min-width:0}
.news-gallery-title input{width:100%;box-sizing:border-box}
.news-gallery-save-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:.8rem}
.news-gallery-save-row .news-gallery-status{margin:0;flex:1;min-width:180px;font-size:.85rem}
.news-gallery-save-row .button{flex-shrink:0}
.news-gallery-actions{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;margin:1.2rem 0}
.news-gallery-actions .button{padding:.6rem .75rem;font-size:.8rem;min-height:40px;white-space:nowrap}
.edition-position .position-actions{display:grid;grid-template-columns:auto auto minmax(48px,1fr) auto;gap:.35rem;align-items:end}
.edition-position .position-actions label{display:grid;gap:.25rem;font-size:.75rem;min-width:0;margin:0}
.edition-position .position-actions input,.edition-position .position-actions button{height:36px;min-height:36px;box-sizing:border-box;margin:0;border-radius:6px}
.edition-position .position-actions input{width:100%;padding:.3rem .4rem}
.edition-position .position-actions button{padding:.3rem .45rem;font-size:.75rem;white-space:nowrap}
.news-grid .inspiration-card .edition-position{margin:-1rem -1rem .8rem}
@media(max-width:600px){.news-week-heading.is-admin{display:block}.news-week-heading.is-admin h2{margin-bottom:1rem}.news-gallery-actions .button{flex:1 1 auto;min-height:44px}.news-gallery-save-row{align-items:flex-start}.edition-position .position-actions input,.edition-position .position-actions button{height:40px;min-height:40px}}

/* Show controls for the task selected by the administrator. */
.news-upload summary{cursor:pointer;font-weight:600;color:#08778c}.news-upload:not([open]){padding:.9rem 1.1rem;margin:1rem 0}.news-upload[open] summary{margin-bottom:1rem}
.news-manage-modes{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin:.8rem 0 1.3rem}
.news-manage-modes .button{padding:.65rem .9rem;font-size:.85rem}
.news-manage-modes [aria-pressed=true]{background:#d9eff3;border-color:#39a9bc}
.news-admin-week:not(.manage-edit) .news-gallery-title,.news-admin-week:not(.manage-edit) .news-gallery-fields{display:none}
.news-admin-week:not(.manage-arrange) .edition-position,.news-admin-week:not(.manage-arrange) .edition-order-toolbar{display:none}
.news-admin-week .news-gallery-actions{display:none}
.news-admin-week.manage-select .news-gallery-actions,.news-admin-week.manage-arrange .news-gallery-actions{display:flex}
.news-admin-week.manage-select [data-news-action^="sort-"],.news-admin-week.manage-arrange .news-gallery-actions [data-news-action]:not([data-news-action^="sort-"]){display:none}
.news-admin-week:not(.manage-select) .news-pick{display:none}
.news-admin-week.manage-arrange .news-card-state,.news-admin-week.manage-arrange .news-card-actions,.news-admin-week.manage-select .news-card-actions{display:none}
.news-admin-week:not(.manage-select) .news-card-state:has(.tag:not(.gold)){display:none}
.news-admin-week .news-card-actions [data-news-action="unpublish"]{display:none}
.news-admin-week:not(.manage-arrange) .inspiration-card .edition-position{margin:0}
.news-admin-week .news-card-actions{margin-top:.6rem}
@media(max-width:600px){.news-manage-modes .button{flex:1 1 auto;min-height:44px}}

/* Shorts keep their card width and portrait shape when playback starts. */
#inspiration-video{position:relative;width:100%;height:auto;aspect-ratio:9/16;max-height:none;background:#000;overflow:hidden;border-radius:8px}
#inspiration-video iframe{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;border:0}
