/* Blog index */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.post-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; transition: border-color .25s, transform .3s var(--ease-out), box-shadow .3s;
}
.post-card:hover { border-color: var(--slate-900); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.post-thumb { display: block; background: var(--slate-100); }
.post-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.post-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 24px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .85rem; font-weight: 650; color: var(--text-muted); }
.post-kind { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: var(--slate-100); color: var(--slate-800); font-size: .78rem; font-weight: 750; }
.post-card h2 { font-size: 1.16rem; font-stretch: 106%; line-height: 1.28; }
.post-card h2 a { color: var(--slate-900); text-decoration: none; }
.post-card h2 a:hover { color: var(--ember); }
.post-excerpt { font-size: .96rem; color: var(--slate-700); flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .text-link { align-self: flex-start; font-size: .95rem; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(40px, 6vw, 64px); }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: var(--r-sm);
  font-weight: 750; text-decoration: none; color: var(--slate-900); border: 1.5px solid var(--slate-200);
}
.pagination a:hover { border-color: var(--slate-900); }
.pagination .current { background: var(--slate-900); color: var(--white); border-color: var(--slate-900); }
.pagination .disabled { opacity: .35; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: minmax(0, 1fr); } }

/* Guides by area (page 1) */
.area-guides { padding-bottom: 0; }
.area-guides-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-bottom: 22px; }
.area-guides-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; }
.area-hub {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 240px;
  padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg); background: var(--slate-900); color: var(--slate-300); text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.area-hub::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 190px; height: 190px; background: var(--orange);
  clip-path: polygon(100% 0, 100% 100%, 0 100%); opacity: .95; transition: transform .4s var(--ease-out);
}
.area-hub:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.area-hub:hover::after { transform: translate(-8px, -8px); }
.area-hub-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.area-hub-name { font-weight: 900; font-stretch: 125%; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; color: var(--white); }
.area-hub-desc { position: relative; z-index: 1; max-width: 34ch; padding-right: 48px; }
.area-hub-cta { position: relative; z-index: 1; margin-top: auto; display: inline-flex; gap: 8px; align-items: center; font-weight: 750; color: var(--white); }
.area-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.area-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; height: 100%;
  padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--slate-900);
  transition: border-color .25s, transform .3s var(--ease-out), box-shadow .3s;
}
.area-card:hover { border-color: var(--slate-900); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.area-card-pin { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--ember); transition: background-color .25s, color .25s; }
.area-card:hover .area-card-pin { background: var(--orange); color: var(--slate-950); }
.area-card-name { font-weight: 800; font-stretch: 110%; font-size: 1.15rem; line-height: 1.2; }
.area-card-sub { font-size: .88rem; font-weight: 650; color: var(--text-muted); }
.area-card-sub i { font-size: .75rem; margin-left: 4px; transition: transform .2s var(--ease-out); }
.area-card:hover .area-card-sub i { transform: translateX(4px); }
@media (max-width: 860px) { .area-guides-grid { grid-template-columns: minmax(0, 1fr); } .area-hub { min-height: 0; } }
@media (max-width: 600px) {
  .area-hub::after { width: 120px; height: 120px; right: -24px; bottom: -24px; }
  .area-card { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding: 16px; }
  .area-card-pin { grid-row: auto; width: 38px; height: 38px; }
}
@media (max-width: 340px) { .area-cards { grid-template-columns: minmax(0, 1fr); } }
