*{
  box-sizing:border-box;
}

html{
  overflow-y:scroll;
  scrollbar-gutter:stable;
  scrollbar-color:#0498CF transparent;
}



/* Chromium / Safari */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #0498CF;
  border-radius: 999px;
  border: 1px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  opacity: .85;
}




body{
  margin:0;
  background:#ececec;
  color:#111;
  font-family:system-ui,sans-serif;
}



.AllTopbar{
  width:min(1200px, calc(100% - 40px));
  margin:15px auto -6px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.AllTopbarLogo{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.AllTopbarLogo img{
  height:45px;
  width:auto;
  display:block;
  margin-left: 10px;
}

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

.AllTopbarActions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 16px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  color:#333;
  text-decoration:none;
  font-size:.92rem;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  backdrop-filter:blur(10px);
}

.AllTopbarActions a:hover{
  background:#fff;
}




main{
  width:min(1200px,92vw);
  margin:auto;
  padding:20px 0;
}

h1{
  font-size:clamp(2.5rem,7vw,5rem);
  line-height:.9;
  margin:0 0 40px;
  letter-spacing:-.06em;
}


.FilterWrap{
  margin:0 0 28px;
}

#CardFilter{
  width:100%;
  padding:14px 18px;
  border:0;
  border-radius:999px;
  background:#fff;
  font:inherit;
  box-shadow:0 8px 30px rgba(0,0,0,.08);
}



.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:20px;
}

.card{
  width:100%;
  min-width:0;
  display:block;
  overflow:hidden;
  border-radius:24px;
  background:#fff;
  color:inherit;
  text-decoration:none;
  box-shadow:0 10px 40px rgba(0,0,0,.08);
  transition:.2s;
}

/* Mobile: 1 card */
@media (max-width:700px){
  .grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

/* Tablet: max 3 */
@media (min-width:701px) and (max-width:1199px){
  .grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

/* Desktop: max 6 */
@media (min-width:1200px){
  .grid{
    grid-template-columns:repeat(5, minmax(0, 1fr));
  }
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 60px rgba(0,0,0,.14);
}



.cover{
  aspect-ratio:16/9;
  background:#ddd;
}

.cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.content{
  padding:20px;
}


.author{
  font-size:.78rem;
  color:#777;
  word-break:break-word;
  margin-bottom:6px;
}


.title{
  font-size:.95rem;
  font-weight:700;
  line-height:1.15;
  letter-spacing:-.03em;
}


.slug{
  font-size:.68rem;
  color:#777;
  word-break:break-word;
  margin-top:6px;
}


.empty{
  padding:40px;
  background:#fff;
  border-radius:24px;
  color:#777;
}


#PageLoader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.92);
  transition: opacity .25s ease, visibility .25s ease;
}

#PageLoader.Hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.PageSpinner {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 3px solid rgba(0,0,0,.08);
  border-top-color: #111;
  animation: NootoSpin .7s linear infinite;
}




@keyframes NootoSpin{
  to{ transform:rotate(360deg); }
}