
.story-wrap{max-width:1120px;margin:0 auto;padding:64px 22px 110px;min-height:65vh}.story-head{text-align:center;margin:0 0 35px}.story-head h1{font-size:clamp(32px,4vw,52px);margin:12px 0}.story-head p{color:#718082}.story-toolbar{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:28px}.story-tabs{display:flex;flex-wrap:wrap;gap:8px}.story-tabs button{border:1px solid #dfe9e6;background:white;padding:10px 15px;border-radius:30px;color:#617271;font-size:13px}.story-tabs button.active{background:#21b8aa;color:white;border-color:#21b8aa}.story-button{background:#21b8aa;color:white;border:0;padding:12px 19px;border-radius:6px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.story-button.secondary{background:#f1f7f5;color:#2d5551}.story-button.danger{background:#fff0ef;color:#a32f2f}.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.story-card{border:1px solid #e3eae8;border-radius:10px;overflow:hidden;display:block;background:white}.story-card img{width:100%;height:220px;object-fit:cover;background:#f2f7f6}.story-card .card-content{padding:19px}.story-card .tag{font-size:11px;color:#169e92;font-weight:700}.story-card h2{font-size:18px;line-height:1.5;margin:10px 0}.story-card time{color:#84928f;font-size:12px}.story-empty{padding:80px 20px;background:#f8fbfa;border:1px solid #e3eae8;border-radius:12px;text-align:center;color:#718082}.story-form{max-width:860px;margin:0 auto}.story-field{margin-bottom:20px}.story-field label{display:block;margin-bottom:9px;font-weight:700;font-size:14px}.story-field input,.story-field select,.story-field textarea{width:100%;border:1px solid #dbe6e3;padding:13px;border-radius:6px;font:inherit;background:#fff}.story-field input:focus,.story-field select:focus{outline:2px solid #a2e8de}.story-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.story-help{font-size:12px;color:#778b88;line-height:1.8}.story-alert{padding:13px 16px;border-radius:7px;background:#f1f7f5;color:#23685e;margin:15px 0}.story-alert.error{background:#fff1f0;color:#9a3030}.story-article{max-width:830px;margin:auto}.story-article h1{font-size:clamp(30px,4vw,44px);line-height:1.4}.story-article .meta{color:#718082;font-size:13px;margin:14px 0 25px}.story-article .cover{width:100%;max-height:540px;object-fit:cover;border-radius:9px;margin:10px 0 25px}.story-body{font-size:16px;line-height:1.95;overflow-wrap:anywhere}.story-body img{max-width:100%;height:auto;border-radius:7px}.story-body iframe{max-width:100%;width:100%;aspect-ratio:16/9;border:0}.story-body p{margin:12px 0}.story-body a{color:#149c91;text-decoration:underline}.story-article .cta{display:inline-block;background:#21b8aa;color:white;border-radius:6px;padding:15px 22px;margin-top:40px}.story-login{max-width:440px;margin:40px auto;border:1px solid #e3eae8;padding:30px;border-radius:12px}.ql-container{min-height:340px;font-size:15px!important}.ql-editor{min-height:340px;line-height:1.9}.ql-editor img{max-width:100%}.story-upload{border:1px dashed #9dc9c0;padding:14px;border-radius:7px;background:#f7fcfa}.story-draft{font-size:12px;color:#b27c22}.story-pagination{display:flex;gap:10px;justify-content:center;margin-top:32px}.story-pagination button{border:1px solid #dce8e5;border-radius:6px;background:white;padding:10px 18px}.story-pagination button:disabled{opacity:.4}@media(max-width:850px){.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.story-grid{grid-template-columns:1fr}.story-wrap{padding-top:45px}.story-card img{height:240px}.story-toolbar{align-items:flex-start}.story-login{padding:20px}}
/* Portrait 4:5 listing, uncropped detail images */
.story-card img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.story-article .cover{display:block;width:auto;max-width:100%;height:auto;max-height:none;object-fit:contain;margin:18px auto 30px}
.story-body img{display:block;max-width:100%;height:auto;object-fit:contain;margin:18px auto}
@media(max-width:580px){.story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.story-card img{height:auto;aspect-ratio:4/5}.story-card .card-content{padding:12px}.story-card h2{font-size:14px}}

/* Story navigation: compact admin link and three evenly spaced mint-outline filters */
.story-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}
.story-title-row h1{font-size:clamp(26px,3.3vw,36px);margin:0;font-weight:800}
.story-admin-link{font-size:12px;font-weight:500;color:#768986;text-decoration:none;white-space:nowrap;padding:5px 2px}
.story-admin-link:hover{color:#159d91;text-decoration:underline}
.story-toolbar{display:block;margin-bottom:26px}
.story-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:510px}
.story-tabs button{width:100%;min-height:43px;border:1.5px solid #21b8aa;background:#fff;color:#344b4a;font-size:15px;font-weight:600;border-radius:999px;white-space:nowrap;padding:8px 5px}
.story-tabs button.active{background:#21b8aa;color:#fff;border-color:#21b8aa}
.story-page .story-wrap{padding-top:42px}
.story-page .story-head{text-align:left;margin:0 0 12px}
.story-page .story-head p{margin:7px 0 0}
@media(max-width:580px){
 .story-page .story-wrap{padding:25px 17px 80px}
 .story-page .story-head{margin-bottom:10px}
 .story-page .story-title-row{margin-bottom:16px}
 .story-page .story-title-row h1{font-size:25px}
 .story-page .story-admin-link{font-size:12px}
 .story-page .story-tabs{max-width:none;gap:7px}
 .story-page .story-tabs button{font-size:14px;min-height:43px;padding:7px 3px}
}
