
 
.wrap{max-width:1100px;margin:20px auto;padding:0 12px}
.toprow{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}

.admin-links{margin-left:auto;display:flex;gap:8px;justify-content:flex-end}
.h1{font-size:22px;margin:0 0 14px}  
.small{opacity:.75;font-size:12px;margin:0}

.list{display:flex;flex-direction:column;gap:10px}
.card{
  display:block;
  text-decoration:none;color:inherit;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:#121212;
  overflow:hidden;
}
.row{
  display:flex;
  gap:12px;
  padding:10px;
  align-items:stretch;
}

.thumb{
  position:relative;
  width:173.33px;
  height:130px;
  flex:0 0 173.33px;
  align-self:center;
  border-radius:8px;
  overflow:hidden;
  background:#0f0f0f;
  border:1px solid rgba(255,255,255,.10);
}

@media(max-width:720px){
   
  .row{--thumb:130px;}
  .thumb{width:var(--thumb);height:var(--thumb);flex:0 0 var(--thumb);}

}

@media(max-width:520px){
  .row{--thumb:110px}

   
  .badge.badge-photo-count{display:none}
}
.thumb .ph{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  color:rgba(255,255,255,.35);
}
.thumb img{
  width:100%;height:100%;
  object-fit:cover;
  image-orientation:from-image;
  transform:scale(1);
  transition:transform .18s ease;
}
@media (hover:hover) and (pointer:fine){
  .card:hover{border-color:rgba(255,255,255,.22)}
  .card:hover .thumb img{transform:scale(1.06)}
}

.body{display:flex;flex-direction:column;min-width:0;padding-top:2px;flex:1 1 auto;}
.title{
  font-size:14px;line-height:1.35;
  color:rgba(255,255,255,.92);
  margin:0 0 6px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:12px;color:rgba(255,255,255,.6);margin-bottom:6px}
.badge{
  display:inline-flex;
  font-size:12px;opacity:.55;
  border:1px solid rgba(255,255,255,0.32);
  background:rgba(255,255,255,.02);
  padding:4px 8px;border-radius:999px;
  white-space:nowrap;
  word-break:keep-all;
}

.meta .pm-date-short{display:none;}


 
@media(max-width:720px){
  .card .meta{align-items:center;}
  .card .meta .badge:first-child{
    border:none;
    background:transparent;
    padding:0;
    border-radius:0;
  }
}
.excerpt{
  font-size:13px;
  color:rgba(255,255,255,.78);
  line-height:1.45;
  overflow:hidden;
  white-space:pre-line;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
}

@media(max-width:520px){
  .excerpt{ -webkit-line-clamp:2; }
}

 
.pager{
  margin-top:12px;
  display:flex;
  justify-content:center;
  gap:6px;
  flex-wrap:wrap;
}
.pager a, .pager span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  
  line-height:1;padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.75);
  font-size:12px;
  text-decoration:none;
}
@media (hover:hover) and (pointer:fine){
.pager a:hover{
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.20);
  color:rgba(255,255,255,.92);
}
}
.pager .on{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.22);
  color:rgba(255,255,255,.92);
}

 
.bottombar{margin-top:12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.write-btn{display:inline-block;padding:10px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);font-size:13px;text-decoration:none;color:rgba(255,255,255,.90);}

 
@media (hover:hover) and (pointer:fine){
  .write-btn:hover{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.22);color:rgba(255,255,255,.95);text-decoration:none;}
}

 
@media (max-width: 720px){
  .write-btn{white-space:nowrap;word-break:keep-all;}
}

 
.catbar{
  margin:8px 0 12px;
  text-align:center;
  font-size:12px;
  color:rgba(255,255,255,.70);
  line-height:1.6;
}
.catbar a{
  display:inline-block;
  color:rgba(255,255,255,.80);
  text-decoration:none;
  padding:2px 6px;
  border:1px solid transparent;
  border-radius:4px;
}
@media (hover:hover) and (pointer:fine){
  .catbar a:hover{
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.18);
    color:rgba(255,255,255,.92);
    text-decoration:none;
  }
}
.catbar .on{
  display:inline-block;
  padding:2px 6px;
  border-radius:4px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:rgba(255,255,255,.95);
  font-weight:600;
}
.catbar .sep{
  margin:0 6px;
  color:rgba(255,255,255,.35);
}

 
@media (max-width: 720px){
  .catbar{
    text-align:left;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    -webkit-overflow-scrolling:touch;
    padding:3px 6px 10px;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.12) transparent;
  }
  .catbar::-webkit-scrollbar{height:3px}
  .catbar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:999px}
  .catbar::-webkit-scrollbar-track{background:transparent}
}


 
.admin-links a{font-size:12px;color:rgba(255,255,255,.85);}
.pager[data-pm="daily-pager"]{flex:1;justify-content:center;margin-top:0;}
.bottombar .pm-flex-spacer{flex:1;}

@media(max-width:520px){
  .card .meta{flex-wrap:nowrap;min-width:0;}
  .card .meta .pm-meta-date{flex:0 0 auto;}
  .card .meta .pm-meta-cat{flex:0 1 auto;min-width:0;max-width:100%;}
  .card .meta .pm-meta-cat .pm-cat-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .card .meta .pm-date-full{display:none;}
  .card .meta .pm-date-short{display:inline;}
}
