.news-list{align-items:stretch;gap:24px}.news-list .news-card{display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid #ffffff1f;background:#08243a;border-radius:10px;min-width:0}.news-cover,.news-cover-placeholder{width:100%;aspect-ratio:16/9;display:block;object-fit:cover}.news-cover-placeholder{display:grid;place-items:center;background:radial-gradient(ellipse at 80% 0%,#1c5c85,transparent 70%),#0d2f4a;color:#f4a12c;font-weight:800;font-size:44px}.news-card-content{padding:24px;display:flex;flex:1;flex-direction:column}.news-card .news-category{color:#f4a12c;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.news-card time{font-size:12px;color:#a9c0cf;margin:10px 0 18px}.news-card h2{font-size:23px;line-height:1.3;margin:0 0 14px;overflow-wrap:anywhere}.news-card h2 a{color:white}.news-card p{color:#c1d2de;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.news-card .news-read-link{align-self:flex-start;color:#f4a12c;font-size:13px;font-weight:700;margin-top:auto;padding-top:18px}.news-status{max-width:720px;color:#b8cedd;font-size:14px;line-height:1.8;margin-top:28px}.news-empty{grid-column:1/-1;padding:40px;border:1px solid #ffffff20;border-radius:10px;color:#c1d2de;font-size:16px;line-height:1.8}.news-more{display:inline-flex;margin-top:30px;padding:13px 22px;background:#0070b8;color:white;border:0;border-radius:6px;font:inherit;font-weight:700;cursor:pointer}.news-more:disabled{opacity:.6;cursor:wait}.news-admin-entry{margin-top:44px;padding-top:20px;border-top:1px solid #ffffff20;font-size:12px}.news-admin-entry a{color:#afc5d5}.news-detail{max-width:850px}.news-detail .news-detail-summary{font-size:21px;line-height:1.7;color:#bfd2df}.news-detail .news-detail-cover{display:block;width:100%;max-height:540px;object-fit:contain;background:#08243a;border-radius:10px;margin:30px 0}.news-detail .news-detail-body{padding-top:14px}.news-detail .news-detail-body p{white-space:pre-wrap;color:#d5e2eb;line-height:1.9;font-size:17px;overflow-wrap:anywhere}.news-detail time{display:block;color:#9fb9cb;font-size:13px;margin:22px 0}.news-detail h1{overflow-wrap:anywhere}.news-more[hidden]{display:none}
@media(max-width:1040px) and (min-width:641px){.article-grid.news-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.news-card-content{padding:22px}.news-card h2{font-size:21px}.news-detail .news-detail-summary{font-size:18px}.news-detail .news-detail-body p{font-size:16px}.news-empty{padding:26px}}

.article-grid.news-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;align-items:stretch}.article-grid.news-list .news-card--wide{grid-column:span 2}.article-grid.news-list .news-card--full{grid-column:1/-1}.article-grid.news-list .news-cover,.article-grid.news-list .news-cover-placeholder{height:210px;aspect-ratio:auto}.article-grid.news-list .news-category{margin-bottom:0}.article-grid.news-list .news-card-content p{margin-bottom:0}.newsroom-page,.news-article-page{background:linear-gradient(90deg,#041421f2,#041421c7),url('../images/retail-insights-hero.webp') center right/cover no-repeat}.news-detail .news-detail h1{font-size:clamp(36px,5vw,68px)}

/* A saved canvas is used only at desktop widths. Each value is constrained by
   the database and renderer to a 12-column, 10px-row workspace. */
.article-grid.news-free-canvas{display:block;position:relative;min-height:var(--news-canvas-height,460px)}.article-grid.news-free-canvas .news-card--positioned{position:absolute;left:calc((var(--news-x) / 12) * 100% + 10px);top:calc(var(--news-y) * 10px + 10px);width:calc((var(--news-width) / 12) * 100% - 20px);height:calc(var(--news-height) * 10px - 20px);min-width:0;margin:0}.article-grid.news-free-canvas .news-card--positioned .news-cover,.article-grid.news-free-canvas .news-card--positioned .news-cover-placeholder{height:min(210px,43%);aspect-ratio:auto;flex-shrink:0}.article-grid.news-free-canvas .news-card--positioned .news-card-content{min-height:0;overflow:auto}
.article-grid.news-free-canvas .news-card--image-only .news-cover,.article-grid.news-free-canvas .news-card--image-only .news-cover-placeholder{height:100%;flex:1}
@media(max-width:1040px){.article-grid.news-list{grid-template-columns:repeat(2,minmax(0,1fr))}.article-grid.news-free-canvas{display:grid;position:static;min-height:0}.article-grid.news-free-canvas .news-card--positioned{position:static;width:auto;height:auto;min-height:0;margin:0}.article-grid.news-free-canvas .news-card--positioned .news-cover,.article-grid.news-free-canvas .news-card--positioned .news-cover-placeholder{height:210px;aspect-ratio:auto}.article-grid.news-free-canvas .news-card--positioned .news-card-content{overflow:visible}}@media(max-width:640px){.article-grid.news-list{grid-template-columns:minmax(0,1fr)}.article-grid.news-list .news-card--wide,.article-grid.news-list .news-card--full{grid-column:1/-1}.article-grid.news-list .news-cover,.article-grid.news-list .news-cover-placeholder{height:auto;aspect-ratio:16/9}.article-grid.news-free-canvas .news-card--positioned .news-cover,.article-grid.news-free-canvas .news-card--positioned .news-cover-placeholder{height:auto;aspect-ratio:16/9}}

/* Preserve the full cover image on a phone. A fixed 16:9 thumbnail crops
   portrait assets such as press clippings, which is especially misleading in
   the admin's mobile preview. */
@media(max-width:640px){.article-grid.news-list .news-card img.news-cover{width:100%;height:auto!important;max-height:none;aspect-ratio:auto!important;object-fit:contain!important;background:#08243a}}

/* News cards always preserve the whole cover image. Fixed canvas cards may
   show a background margin, rather than cutting any part of the image off. */
.news-card .news-cover{object-fit:contain;background:#08243a}

/* Reading a story stays on the newsroom page, in an accessible modal. */
.news-story-dialog{width:min(900px,calc(100% - 32px));max-height:90dvh;overflow:auto;padding:48px 32px 32px;color:#d5e2eb;background:#041421;border:1px solid #4f7b98;border-radius:12px;box-shadow:0 24px 96px #0008}.news-story-dialog::backdrop{background:#041421b8;backdrop-filter:blur(4px)}.news-story-dialog .dialog-close{position:absolute;top:10px;right:12px;border:0;background:transparent;color:#d5e2eb;font-size:30px;line-height:1;cursor:pointer}.news-story-dialog .news-detail{max-width:850px}.news-story-dialog .news-detail-cover,.news-detail .news-detail-cover{background:transparent}@media(max-width:640px){.news-story-dialog{width:calc(100% - 20px);padding:44px 18px 24px}.news-story-dialog .news-detail .news-detail-summary{font-size:18px}}

/* Visual layout tools exist only inside the admin preview. */
.article-grid.news-layout-editing{padding:5px}.article-grid.news-layout-editing .news-card{position:relative;outline:1px dashed #62b5ef;outline-offset:2px}.article-grid.news-layout-editing .news-card:hover{transform:none}.article-grid.news-layout-editing .layout-selected{outline:2px solid #f4a12c;outline-offset:2px}.layout-card-toolbar{position:absolute;top:8px;left:8px;right:8px;z-index:4;display:flex;gap:6px;align-items:center;padding:5px;border:1px solid #91c7ea66;border-radius:7px;background:#041421ed;color:white;box-shadow:0 3px 12px #0003}.layout-card-toolbar button,.layout-card-toolbar select{font:600 12px Inter,Arial,sans-serif;min-height:32px;border:1px solid #afd4eb55;border-radius:4px;background:#113b58;color:white;padding:5px 8px;max-width:100%;margin:0}.layout-card-toolbar select{flex:1;min-width:0;width:90px}.layout-card-toolbar button{flex-shrink:0;cursor:pointer}.layout-card-toolbar .layout-move-grip{cursor:grab;touch-action:none;user-select:none}.layout-card-toolbar button:focus-visible,.layout-card-toolbar select:focus-visible,.layout-resize-handle:focus-visible{outline:3px solid #ffb74d;outline-offset:2px}.layout-resize-handle{position:absolute;right:0;top:50%;z-index:5;transform:translateY(-50%);width:30px;min-height:64px;border:1px solid #7ac6f6;border-radius:8px 0 0 8px;background:#0879c5;color:white;font:700 20px Arial;cursor:ew-resize;touch-action:none;user-select:none;box-shadow:0 2px 8px #0005}.news-card.layout-dragging{opacity:.45}.news-card.layout-resizing{outline:3px solid #38b9ff}.news-card.layout-drop-before{box-shadow:inset 6px 0 #ffb542}.news-card.layout-drop-after{box-shadow:inset -6px 0 #ffb542}.news-card.layout-drop-before::after,.news-card.layout-drop-after::after{position:absolute;bottom:10px;left:10px;z-index:7;padding:7px 10px;border-radius:5px;background:#ffb542;color:#041421;font:700 12px Inter,Arial}.news-card.layout-drop-before::after{content:'Drop before'}.news-card.layout-drop-after::after{content:'Drop after'}.layout-drag-ghost{position:fixed;z-index:2000;pointer-events:none;max-width:260px;padding:12px 16px;border-radius:8px;background:#ffb542;color:#041421;box-shadow:0 6px 24px #0005;font:700 13px Inter,Arial;overflow-wrap:anywhere}.layout-drag-ghost[hidden]{display:none}@media(max-width:640px){.layout-resize-handle{display:none}.layout-card-toolbar{gap:4px}.layout-card-toolbar button,.layout-card-toolbar select{font-size:12px}}

.layout-card-toolbar button,.layout-card-toolbar select{min-height:38px;font-size:14px}.layout-card-toolbar{gap:5px}@media(max-width:640px){.layout-card-toolbar button,.layout-card-toolbar select{font-size:13px;min-height:38px}}

/* Freeform editor controls. Earlier grid-only controls remain for old cached previews. */
.layout-card-toolbar{justify-content:space-between}.layout-card-toolbar button{font-size:13px}.layout-drag-hint{font:700 12px Inter,Arial,sans-serif;letter-spacing:.02em;cursor:grab;user-select:none;padding:4px 6px}.layout-resize-handle{right:7px;top:auto;bottom:7px;transform:none;width:38px;min-height:38px;height:38px;border-radius:7px;cursor:nwse-resize}.news-card.layout-dragging{opacity:.78;box-shadow:0 8px 22px #0008}@media(max-width:1040px){.layout-drag-hint::after{content:' · desktop only'}.layout-resize-handle{display:none}}

/* The freehand editor exists only in the local desktop admin preview. The
   stored coordinates never leave the browser. */
.article-grid.news-list .news-card.news-card--freehand-parts{display:block;position:relative;min-height:500px}.article-grid.news-list .news-card--freehand-parts .news-cover,.article-grid.news-list .news-card--freehand-parts .news-cover-placeholder,.article-grid.news-list .news-card--freehand-parts .news-card-content{position:absolute;box-sizing:border-box;left:var(--news-part-x);top:var(--news-part-y);width:var(--news-part-width);height:var(--news-part-height)}.article-grid.news-list .news-card--freehand-parts .news-cover,.article-grid.news-list .news-card--freehand-parts .news-cover-placeholder{object-fit:contain;background:#08243a;padding:0}.article-grid.news-list .news-card--freehand-parts .news-card-content{overflow:auto;z-index:1}.freehand-part-editor{position:absolute;z-index:7;border:2px solid #38b9ff;border-radius:4px;box-sizing:border-box;cursor:move;touch-action:none;user-select:none}.freehand-part-editor[data-part="text"]{border-color:#f4a12c}.freehand-part-label{position:absolute;top:-27px;left:-2px;padding:4px 7px;border-radius:4px 4px 0 0;background:#0879c5;color:#fff;font:700 11px Inter,Arial,sans-serif;letter-spacing:.03em}.freehand-part-editor[data-part="text"] .freehand-part-label{background:#b96900}.freehand-part-resize{position:absolute;right:-10px;bottom:-10px;width:20px;height:20px;padding:0;border:2px solid #fff;border-radius:50%;background:#0879c5;color:transparent;cursor:nwse-resize;touch-action:none}.freehand-part-editor[data-part="text"] .freehand-part-resize{background:#b96900}.layout-card-toolbar .freehand-edit-button{background:#0879c5}.layout-card-toolbar .freehand-edit-button[aria-pressed="true"]{background:#b96900}@media(max-width:1040px){.article-grid.news-list .news-card.news-card--freehand-parts{display:flex;min-height:0}.article-grid.news-list .news-card--freehand-parts .news-cover,.article-grid.news-list .news-card--freehand-parts .news-cover-placeholder,.article-grid.news-list .news-card--freehand-parts .news-card-content{position:static;width:100%;height:auto}.article-grid.news-list .news-card--freehand-parts .news-card-content{overflow:visible}}
