
:root{--paper:#fff1e5;--ink:#242424;--line:#b9afa6;--accent:#9e2b2b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Georgia,'Noto Serif Georgian',serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}.wrap{max-width:1240px;margin:auto;padding:0 24px}.utility{border-bottom:1px solid #cbbfb5;font:12px Arial,sans-serif}.utility .wrap{display:flex;justify-content:space-between;padding-top:11px;padding-bottom:11px}.mast{position:relative;text-align:center;padding:29px 0 21px}.mast h1{font-family:Georgia,serif;font-size:clamp(46px,7vw,84px);letter-spacing:-5px;line-height:1;margin:0;font-weight:700}.mast .strap{font:12px Arial,sans-serif;letter-spacing:2.6px;margin-top:12px}.mast .date{position:absolute;left:0;bottom:25px;font:12px Arial,sans-serif}.mast .edition{position:absolute;right:0;bottom:25px;font:12px Arial,sans-serif}.nav{border-top:1px solid #242424;border-bottom:4px double #242424}.nav .wrap{display:flex;gap:30px;justify-content:center;align-items:center;flex-wrap:wrap;padding-top:13px;padding-bottom:13px;font:700 13px Arial,sans-serif}.ticker{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:17px 0;font:13px Arial,sans-serif}.ticker strong{color:var(--accent);text-transform:uppercase;letter-spacing:1px}.ticker span{color:#5a524b}.section{margin:28px 0 15px;border-top:3px solid var(--ink);padding-top:9px;display:flex;justify-content:space-between;align-items:center}.section h2{margin:0;font:700 18px Arial,sans-serif}.section small{font:12px Arial,sans-serif;color:#666}.topgrid{display:grid;grid-template-columns:1fr 1.75fr 1fr;gap:0;border-bottom:1px solid var(--line)}.column{padding:0 20px}.column:first-child{padding-left:0}.column:last-child{padding-right:0}.column+.column{border-left:1px solid var(--line)}.story{padding:0 0 22px;margin-bottom:21px;border-bottom:1px solid var(--line)}.story:last-child{border-bottom:0}.label{font:700 11px Arial,sans-serif;color:var(--accent);letter-spacing:.6px;text-transform:uppercase;margin-bottom:8px}.story h3{font-size:22px;line-height:1.22;margin:0 0 10px}.story p{font-size:14px;line-height:1.55;color:#555;margin:0 0 11px}.meta{font:11px Arial,sans-serif;color:#746d67}.feature h2{font-size:37px;line-height:1.13;margin:12px 0}.feature p{font-size:16px;line-height:1.55;color:#4b4541}.photo{height:295px;background:#b8b6aa;position:relative;overflow:hidden}.photo svg{width:100%;height:100%;display:block}.caption{font:11px Arial,sans-serif;color:#726c66;padding:8px 0}.bottomgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-bottom:35px}.bottomgrid .story{padding:0 18px;border-bottom:0;border-right:1px solid var(--line)}.bottomgrid .story:first-child{padding-left:0}.bottomgrid .story:last-child{border-right:0;padding-right:0}.mini-photo{height:128px;margin-bottom:13px;background:#d4c7b8;display:flex;align-items:center;justify-content:center;color:#625e59;font:12px Arial,sans-serif;letter-spacing:2px}.opinion{background:#f8e4d6;padding:24px;border-top:3px solid var(--ink);margin-bottom:38px}.opinion h2{font:700 18px Arial,sans-serif;margin:0 0 15px}.opiniongrid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.opinion h3{font-size:20px;line-height:1.3;margin:0 0 8px}.footer{border-top:4px double var(--ink);padding:25px 0 40px;font:12px Arial,sans-serif;display:flex;justify-content:space-between;gap:16px;color:#625a55}.pill{background:#242424;color:#fff;padding:6px 9px;font:11px Arial,sans-serif}.preview{position:fixed;right:15px;bottom:15px;background:#242424;color:white;padding:10px 13px;border-radius:4px;font:12px Arial,sans-serif;box-shadow:0 2px 14px #0003;z-index:10}@media(max-width:850px){.mast .date,.mast .edition{display:none}.topgrid{grid-template-columns:1fr 1fr}.feature{grid-column:1/-1;grid-row:1;border-bottom:1px solid var(--line);padding:0 0 18px}.column:nth-child(1){padding:20px 20px 0 0}.column:nth-child(3){padding:20px 0 0 20px}.column:nth-child(3){border-left:1px solid var(--line)}.feature h2{font-size:30px}.bottomgrid{grid-template-columns:1fr 1fr;row-gap:20px}.opiniongrid{grid-template-columns:1fr}}@media(max-width:520px){.wrap{padding:0 15px}.mast h1{letter-spacing:-2px;font-size:48px}.nav .wrap{gap:14px;font-size:11px}.topgrid{display:block}.column,.column:first-child,.column:last-child{padding:0;border:0}.feature{padding-bottom:20px}.column:nth-child(1),.column:nth-child(3){padding:18px 0 0;border:0}.photo{height:220px}.bottomgrid{display:block}.bottomgrid .story{padding:0 0 16px;border-right:0;border-bottom:1px solid var(--line);margin-bottom:16px}.footer{display:block}.footer span{display:block;margin-top:9px}}

/* Lower news carousel only; the upper lead section remains static. */
.carousel-controls{display:flex;gap:8px}.carousel-controls button{width:40px;height:36px;border:1px solid var(--ink);background:transparent;color:var(--ink);font-size:21px;cursor:pointer}.carousel-controls button:hover{background:var(--ink);color:var(--paper)}.carousel-controls button:disabled{opacity:.3;cursor:default;background:transparent;color:var(--ink)}.carousel-viewport{overflow:hidden}.carousel-viewport .bottomgrid{display:flex;gap:0;margin-bottom:35px;transition:transform .35s ease;will-change:transform}.carousel-viewport .bottomgrid .story{flex:0 0 25%;min-width:0;padding:0 18px;border-right:1px solid var(--line);border-bottom:0;margin-bottom:0}.carousel-viewport .bottomgrid .story:first-child{padding-left:0}.carousel-viewport .bottomgrid .story:last-child{border-right:0}@media(max-width:850px){.carousel-viewport .bottomgrid{display:flex}.carousel-viewport .bottomgrid .story{flex-basis:50%;padding:0 14px}}@media(max-width:520px){.carousel-viewport .bottomgrid{display:flex}.carousel-viewport .bottomgrid .story{flex-basis:100%;padding:0 8px;border-bottom:0;margin-bottom:0}.carousel-viewport .bottomgrid .story:first-child{padding-left:0}}@media(prefers-reduced-motion:reduce){.carousel-viewport .bottomgrid{transition:none}}

/* Photos for every story in the upper news block. Center lead remains largest. */
.topgrid .column:not(.feature) .story .story-photo{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;margin:0 0 11px;background:#d5c7b7}
.topgrid .feature .photo{height:auto;aspect-ratio:16/10}
.topgrid .feature .photo img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:520px){.topgrid .column:not(.feature) .story .story-photo{aspect-ratio:16/9}}
.two-georgia .georgia-feature{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.two-georgia .georgia-feature:last-child{border-bottom:0;margin-bottom:0}
.two-georgia .georgia-feature .photo{width:100%;aspect-ratio:16/9;height:auto;margin-bottom:12px}
.two-georgia .georgia-feature .photo img{width:100%;height:100%;object-fit:cover}
.two-georgia .georgia-feature h2{font-size:clamp(22px,2.3vw,29px);line-height:1.2;margin:8px 0}
.two-georgia .georgia-feature p{font-size:14px;line-height:1.5;margin:0 0 10px}

/* Gentle lifted-paper quick read. No other layout changes. */
.quick-read{display:inline-flex;align-items:center;margin-top:13px;padding:8px 0;border:0;border-bottom:1px solid #786c62;background:transparent;color:#403831;font:600 12px Arial,sans-serif;letter-spacing:.15px;cursor:pointer}
.quick-read:hover{color:#9e2b2b;border-color:#9e2b2b}
.quick-read:focus-visible,.sheet-close:focus-visible{outline:2px solid #9e2b2b;outline-offset:4px}
.sheet-layer{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:clamp(12px,4vw,42px);visibility:hidden;pointer-events:none;transition:visibility 0s linear .5s}
.sheet-layer.is-open{visibility:visible;pointer-events:auto;transition-delay:0s}
.sheet-shade{position:absolute;inset:0;background:rgba(25,20,16,.38);opacity:0;transition:opacity .48s cubic-bezier(.2,.7,.2,1)}
.sheet-layer.is-open .sheet-shade{opacity:1}
.sheet-paper{position:relative;width:min(760px,100%);max-height:min(86vh,900px);overflow:auto;overscroll-behavior:contain;background:#fff9f2;border:1px solid #c7b7a7;box-shadow:0 18px 65px rgba(30,20,12,.18),0 3px 12px rgba(30,20,12,.1);padding:clamp(24px,5vw,54px);opacity:0;transform:translateY(54px) scale(.965) rotateX(2deg);transform-origin:center bottom;transition:opacity .45s cubic-bezier(.22,1,.36,1),transform .55s cubic-bezier(.22,1,.36,1);-webkit-overflow-scrolling:touch}
.sheet-layer.is-open .sheet-paper{opacity:1;transform:translateY(0) scale(1) rotateX(0)}
.sheet-paper h2{font:700 clamp(25px,4vw,38px)/1.2 Georgia,serif;margin:12px 0 18px}
.sheet-paper .sheet-label{font:700 12px Arial,sans-serif;color:#9e2b2b}
.sheet-paper .sheet-image{width:100%;max-height:340px;object-fit:cover;display:block;margin:0 0 20px}
.sheet-paper .sheet-text{font:17px/1.8 Georgia,'Noto Serif Georgian',serif;white-space:pre-wrap;color:#39322d}
.sheet-paper .sheet-text p{margin:0 0 18px}
.sheet-paper .sheet-top{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid #c9bcb0;padding-bottom:13px;margin-bottom:22px}
.sheet-paper .sheet-brand{font:700 18px Georgia,serif;letter-spacing:-.5px}
.sheet-close{background:transparent;border:1px solid #b6a99e;width:40px;height:40px;font:25px Arial,sans-serif;cursor:pointer;color:#403831}
body.sheet-lock{overflow:hidden}
@media(prefers-reduced-motion:reduce){.sheet-layer,.sheet-shade,.sheet-paper{transition-duration:.01ms!important;transition-delay:0ms!important}}

/* Quick-read paper refinement: only the popup, not the news layout. */
.sheet-paper {
  background: rgba(255, 249, 242, .97);
  border-radius: 14px;
  border: 1px solid rgba(199, 183, 167, .72);
  box-shadow: 0 24px 75px rgba(30,20,12,.17), 0 5px 18px rgba(30,20,12,.08);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.sheet-close { border-radius: 9px; }

/* Live site additions */
.story,.georgia-feature{min-width:0}.carousel-viewport .story{display:flex;flex-direction:column;align-items:stretch}.carousel-viewport .story .quick-read{align-self:flex-start;margin-top:auto}.carousel-viewport .story p{margin-bottom:18px}.carousel-viewport .bottomgrid{align-items:stretch}.story-photo,.mini-photo img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.mini-photo{overflow:hidden}.mini-photo img{height:100%;object-fit:cover}.story h3 a:hover,.georgia-feature h2 a:hover{text-decoration:underline}.sheet-paper .sheet-text{white-space:normal}.sheet-paper .sheet-text p{white-space:pre-wrap}.sheet-paper .sheet-source{margin-top:20px;font:12px Arial,sans-serif;overflow-wrap:anywhere}.sheet-paper .sheet-source a{text-decoration:underline}.sheet-paper .sheet-close{border-radius:8px}.carousel-shell{position:relative}.carousel-shell .carousel-controls{pointer-events:none}.carousel-shell .carousel-controls button{pointer-events:auto}.empty-news{font:15px Arial,sans-serif;color:#655d56;padding:22px 0}.nav a.active{border-bottom:2px solid currentColor}.mast .date{position:absolute;left:0;bottom:25px}.sheet-paper{max-height:86vh}@media(max-width:520px){.sheet-paper{max-height:85vh}.mast .strap{font-size:10px}}

/* Admin / editor styles retained from original site */
/* ავტორიზაცია */
.authbox {
  max-width: 470px;
  margin: 65px auto;
  padding: 35px;
  background: var(--white);
  border: 1px solid var(--line);
}

.authbox h1,
.dashboard h1 {
  font-family: 'Noto Serif Georgian', serif;
}

.authbox p,
.dashboard p {
  color: var(--muted);
}

.dashboard label, .authbox label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 18px 0;
}

.dashboard input:not([type=checkbox]):not([type=file]),
.dashboard textarea,
.dashboard select,
.authbox input:not([type=checkbox]):not([type=file]) {
  display: block;
  width: 100%;
  border: 1px solid #c9c5ba;
  background: white;
  font: inherit;
  font-size: 14px;
  padding: 13px;
  margin-top: 8px;
  border-radius: 0;
}

.dashboard textarea {
  resize: vertical;
  line-height: 1.8;
}

.dashboard button, .authbox button {
  cursor: pointer;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 12px 20px;
  background: var(--red);
  color: #fff;
}

.err {
  font-size: 12px;
  color: var(--red);
  margin-top: 10px;
}

/* ადმინისტრატორის პანელი */
.dashboard {
  padding: 36px 0;
  min-height: 55vh;
}

.dashhead {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}

.dashhead h1 {
  font-size: 32px;
}

.dashboard .secondary {
  background: #ded9cf;
  color: var(--ink);
}

.dashboard .tablewrap {
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
}

.dashboard table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.dashboard td,
.dashboard th {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.dashboard td small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}

.dashboard .status {
  padding: 6px 9px;
  white-space: nowrap;
}

.dashboard .live {
  background: #e0ede2;
  color: #27613b;
}

.dashboard .draft {
  background: #f1e4cd;
  color: #865c1b;
}

/* სტატიის რედაქტორი */
.dashboard .editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
}

.dashboard .formmain,
.dashboard .formside {
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
}

.dashboard .formside {
  align-self: start;
}

.dashboard .preview {
  min-height: 140px;
  background: #eeeae1;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}

.dashboard .preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.dashboard .check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard .delete {
  background: #f0e1e1;
  color: #91262c;
  margin-top: 15px;
}

.dashboard .empty {
  padding: 70px 20px;
  text-align: center;
}

.dashboard .empty h1 {
  font-family: 'Noto Serif Georgian', serif;
}


/* Admin isolation and responsive editor */
.dashboard .preview {position:static;inset:auto;z-index:auto;box-shadow:none;padding:0;min-height:140px;max-height:260px;overflow:hidden;border-radius:0;}
.dashboard .preview img {display:block;width:100%;max-height:260px;object-fit:contain;}
.dashboard .editor .formmain,.dashboard .editor .formside{min-width:0;}
.dashboard .editor input,.dashboard .editor textarea,.dashboard .editor select{max-width:100%;min-width:0;}
.dashboard .dashhead>div:last-child{display:flex;flex-wrap:wrap;align-items:center;gap:10px;}
.dashboard .dashhead .primary{background:#242424;color:white;padding:12px 17px;font:700 12px Arial,sans-serif;}
.dashboard .tablewrap a{color:#9e2b2b;}
.authbox{color:#242424;}
@media(max-width:780px){.dashboard .editor{grid-template-columns:1fr}.dashboard .dashhead{flex-direction:column;align-items:flex-start}.dashboard .formmain,.dashboard .formside{padding:18px}}

/* UNOPRESS: minimal edge carousel arrows */
.carousel-shell{position:relative}
.carousel-shell .carousel-controls{position:absolute;inset:0;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;z-index:5}
.carousel-shell .carousel-controls button{position:absolute;top:68px;transform:translateY(0);display:grid;place-items:center;width:46px;height:100px;padding:0;border:0;border-radius:0;background:linear-gradient(90deg,rgba(255,241,229,.93),rgba(255,241,229,.15));color:#242424;font:300 54px/1 Georgia,serif;cursor:pointer;pointer-events:auto;transition:color .2s ease,background .2s ease,translate .2s ease}
.carousel-shell #news-prev{left:0}
.carousel-shell #news-next{right:0;background:linear-gradient(270deg,rgba(255,241,229,.93),rgba(255,241,229,.15))}
.carousel-shell #news-prev:hover:not(:disabled){translate:-3px 0;color:#9e2b2b}
.carousel-shell #news-next:hover:not(:disabled){translate:3px 0;color:#9e2b2b}
.carousel-shell .carousel-controls button:disabled{opacity:.12;cursor:default}
.carousel-shell .carousel-controls button:focus-visible{outline:2px solid #9e2b2b;outline-offset:-3px}
@media(max-width:520px){.carousel-shell .carousel-controls button{top:60px;width:38px;height:85px;font-size:46px}}
/* UNOPRESS: mailbox-style administration */
.dashboard .admin-head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.dashboard .bulk-toolbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:13px 16px;border:1px solid var(--line);border-bottom:0;background:#fff9f2;font:13px Arial,sans-serif}
.dashboard .select-all{display:inline-flex;align-items:center;gap:9px;margin:0;font:600 13px Arial,sans-serif;cursor:pointer}
.dashboard .select-all input,.dashboard .post-select{width:17px;height:17px;accent-color:#242424;cursor:pointer}
.dashboard .selection-count{color:#625a55}
.dashboard .bulk-actions{display:flex;gap:8px;margin-left:auto}
.dashboard .bulk-actions button{padding:9px 14px;border:1px solid var(--line);background:transparent;color:#242424;border-radius:4px;font:600 13px Arial,sans-serif;cursor:pointer}
.dashboard .bulk-actions .bulk-publish{color:#28764a}
.dashboard .bulk-actions .bulk-delete{color:#a02e30}
.dashboard .bulk-actions button:disabled{opacity:.35;cursor:not-allowed}
.dashboard .admin-message{font:13px Arial,sans-serif;color:#9e2b2b;margin:0 0 8px}
.dashboard .admin-post-table{width:100%;border-collapse:collapse;font:13px Arial,sans-serif}
.dashboard .admin-post-table th,.dashboard .admin-post-table td{padding:14px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.dashboard .admin-post-table th{font-weight:700;background:#fff9f2}
.dashboard .admin-post-table .check-cell{width:45px;text-align:center}
.dashboard .admin-post-table .post-title{min-width:200px;max-width:650px;overflow-wrap:anywhere}
.dashboard .admin-post-table .post-title small{display:block;margin-top:7px;color:#766d65}
.dashboard .admin-post-table .row-actions{white-space:nowrap;min-width:142px}
.dashboard .admin-post-table .icon-action{display:inline-grid;place-items:center;width:34px;height:34px;padding:0;margin-right:3px;border:1px solid transparent;border-radius:4px;background:transparent;color:#242424;font:700 24px/1 Arial,sans-serif;cursor:pointer;vertical-align:middle;text-decoration:none}
.dashboard .admin-post-table .edit-action:hover{background:#eae0d6}
.dashboard .admin-post-table .publish-action{color:#28764a}
.dashboard .admin-post-table .publish-action:hover:not(:disabled){background:#e0eee5}
.dashboard .admin-post-table .delete-action{color:#a02e30}
.dashboard .admin-post-table .delete-action:hover{background:#f7e3e0}
.dashboard .admin-post-table .icon-action:disabled{opacity:.2;cursor:default}
@media(max-width:680px){.dashboard .bulk-toolbar{gap:10px}.dashboard .bulk-actions{margin-left:0}.dashboard .admin-post-table{min-width:650px}}


/* Homepage-only layout repair: equal-height columns, no overlapping cards. */
@media (min-width: 851px) {
  .topgrid { align-items: stretch; }
  .topgrid > .column { min-width: 0; height: 1110px; display: grid; gap: 0; align-content: stretch; }
  .topgrid > .column:not(.feature) { grid-template-rows: repeat(3, minmax(0, 1fr)); }
  .topgrid > .column.feature.two-georgia { grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .topgrid .story, .topgrid .georgia-feature {
    display: flex; flex-direction: column; min-width: 0; min-height: 0;
    overflow: hidden; margin: 0; padding: 0 0 12px; border-bottom: 1px solid var(--line);
  }
  .topgrid .story + .story, .topgrid .georgia-feature + .georgia-feature { padding-top: 12px; }
  .topgrid .story:last-child, .topgrid .georgia-feature:last-child { border-bottom: 0; }
  .topgrid .story .story-photo { width: 100%; height: 148px; max-height: none; aspect-ratio: auto; object-fit: cover; }
  .topgrid .georgia-feature .photo { width: 100%; height: 245px; min-height: 245px; aspect-ratio: auto; overflow: hidden; }
  .topgrid .georgia-feature .photo a, .topgrid .georgia-feature .photo img { display: block; width: 100%; height: 100%; }
  .topgrid .georgia-feature .photo img { object-fit: cover; }
  .topgrid .story h3, .topgrid .georgia-feature h2 {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    overflow: hidden; flex: 0 0 auto; margin-top: 6px; margin-bottom: 7px;
  }
  .topgrid .story p, .topgrid .georgia-feature p {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden; flex: 0 0 auto; margin: 0 0 8px;
  }
  .topgrid .quick-read { margin-top: auto; align-self: flex-start; flex-shrink: 0; }
}
/* Compact carousel without modifying the page structure or arrow controls. */
.carousel-viewport .bottomgrid .story .story-photo { height: 145px; max-height: none; aspect-ratio: auto; object-fit: cover; }
.carousel-viewport .bottomgrid .story .mini-photo { height: 145px; }
.carousel-viewport .bottomgrid .story h3 { font-size: 18px; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.carousel-viewport .bottomgrid .story p { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-bottom: 10px; }
@media (max-width: 850px) {
  .topgrid > .column { height: auto; }
  .topgrid .story p, .topgrid .georgia-feature p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
}

/* Photo framing: retain full-bleed cover and favor upper subjects without changing card widths. */
.topgrid .story .story-photo,
.topgrid .georgia-feature .photo img,
.carousel-viewport .bottomgrid .story .story-photo,
.carousel-viewport .bottomgrid .story .mini-photo img { object-fit: cover; object-position: center 30%; }

/* Category pages only: no impact on homepage layout */
.category-page .category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px;margin:22px 0 34px}
.category-page .category-card{min-width:0;display:flex;flex-direction:column;border-bottom:1px solid var(--line);padding:0 0 18px;margin:0}
.category-page .category-card .category-image{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:center 30%;background:#d4c7b8;margin-bottom:14px}
.category-page .category-card .mini-photo{aspect-ratio:16/10;height:auto;margin-bottom:14px}
.category-page .category-card h3{font-size:21px;line-height:1.28;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 0 10px}
.category-page .category-card p{font-size:14px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 0 12px}
.category-page .category-card .quick-read{margin-top:auto;align-self:flex-start}
.category-page .category-pages{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:16px 0 42px;font:14px Arial,sans-serif}
.category-page .category-pages a,.category-page .category-pages span{padding:9px 13px;border:1px solid var(--line)}
.category-page .category-pages .current{background:var(--ink);color:var(--paper);border-color:var(--ink)}
@media(max-width:850px){.category-page .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.category-page .category-grid{grid-template-columns:1fr;gap:22px}}
