/*
Theme Name: Sozialia
Theme URI: https://www.sozialia.com
Author: Sozialia
Description: Modern, fast theme for Sozialia — inbound marketing agency. Includes a custom homepage (hero, services, process, testimonial, contact form), blog templates and Customizer options for accent color, contact email and hero copy.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sozialia
*/

:root {
  --ink: #0B1220;
  --ink-2: #121C2E;
  --line-dark: #22314A;
  --ground: #F5F7FA;
  --white: #FFFFFF;
  --line: #E2E8F0;
  --text: #0B1220;
  --muted: #4A5A70;
  --muted-dark: #9FB0C5;
  --soft-dark: #B4C2D6;
  --nav-link: #C9D4E3;
  --sky: #4FB0F0;
  --sky-pale: #9FD3F7;
  --tint: #E7F1FB;
  --accent: #1668C0;
  --accent-hover: #0E4A8C;
  --radius: 20px;
  --max: 1200px;
  --display: "Manrope", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--ground);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 1000;
  background: var(--white); color: var(--ink); padding: 12px 16px; top: 8px; left: 8px;
}
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 16px; border: 1px solid transparent;
  cursor: pointer; font-family: var(--body); transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-ghost { color: var(--white); border-color: #33455F; }
.btn-ghost:hover { color: var(--white); border-color: var(--sky); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header { background: var(--ink); border-bottom: 1px solid #1C2738; position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.site-header .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.5px; }
.brand img { max-height: 44px; width: auto; }
.nav-toggle {
  display: none; background: none; border: 1px solid #33455F; color: var(--white);
  border-radius: 12px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center;
}
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.primary-nav a { color: var(--nav-link); font-size: 15px; font-weight: 500; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--white); }
.primary-nav .sub-menu { display: none; }
.nav-cta { min-height: 44px; padding: 10px 20px; font-size: 15px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding: 8px 0 12px; }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 14px; }
  .admin-bar .site-header { top: 0; }
}

/* Hero */
.hero { background: var(--ink); color: var(--white); padding: 96px 0 112px; }
.hero .container { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hero-copy { flex: 999 1 520px; min-width: 0; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px;
  font-size: 14px; font-weight: 600; color: var(--sky-pale);
  border: 1px solid #24344B; padding: 6px 14px; border-radius: 999px;
}
.eyebrow-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.hero h1 {
  font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.04;
  letter-spacing: -2px; margin: 0 0 24px;
}
.hero-lead { font-size: 19px; color: var(--soft-dark); margin: 0 0 36px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.promises { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; color: #DCE5F0; margin: 0; padding: 0; list-style: none; }
.promises li { display: inline-flex; align-items: center; gap: 8px; }
.promises svg { width: 18px; height: 18px; stroke: var(--sky); }

.pipeline {
  flex: 1 1 380px; min-width: 0; background: var(--ink-2);
  border: 1px solid var(--line-dark); border-radius: 24px; padding: 32px;
}
.pipeline-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.pipeline-title { font-family: var(--display); font-weight: 700; font-size: 18px; }
.pipeline-sub { font-size: 13px; color: var(--muted-dark); }
.pipeline ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pipeline li { display: flex; align-items: center; gap: 14px; }
.pipeline .num { width: 22px; font-size: 13px; color: #6F829C; font-weight: 600; }
.pipeline .track { flex: 1; background: var(--ink); border-radius: 10px; height: 40px; position: relative; overflow: hidden; }
.pipeline .bar { position: absolute; inset: 0 auto 0 0; background: var(--accent); opacity: .45; border-radius: 10px; }
.pipeline li:last-child .bar { background: var(--sky); opacity: .55; }
.pipeline .label { position: absolute; left: 14px; top: 0; line-height: 40px; font-size: 14px; font-weight: 600; }
.pipeline-foot { margin: 24px 0 0; font-size: 14px; color: var(--muted-dark); }

/* Sections */
.section { padding: 112px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.section-title { font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -1px; margin: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-head > div { max-width: 620px; }
.section-head p.intro { margin: 0; max-width: 400px; color: var(--muted); font-size: 17px; }
.section-head-center { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head-center .section-title { margin-bottom: 16px; }
.section-head-center p { margin: 0; color: var(--muted); font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(11,18,32,.08); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.card-icon svg { width: 26px; height: 26px; stroke: var(--accent); }
.card h3 { font-weight: 700; font-size: 22px; margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .more { margin-top: auto; font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.step { background: var(--ground); border-radius: 18px; padding: 28px 22px; display: flex; flex-direction: column; gap: 10px; }
.step .num { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--accent); }
.step h3 { font-weight: 700; font-size: 20px; margin: 0; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }

.why {
  background: var(--ink); color: var(--white); border-radius: 32px;
  padding: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.why-quote { flex: 999 1 520px; min-width: 0; }
.why-quote svg { width: 44px; height: 44px; fill: var(--sky); }
.why-quote blockquote {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25; letter-spacing: -.5px; margin: 20px 0 24px;
}
.why-quote p { margin: 0; color: var(--soft-dark); font-size: 17px; max-width: 620px; }
.why-points { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.why-point { border: 1px solid #24344B; border-radius: 16px; padding: 20px 22px; }
.why-point strong { display: block; margin-bottom: 4px; font-weight: 600; }
.why-point span { font-size: 15px; color: var(--muted-dark); }

/* Contact */
.contact { padding-top: 0; }
.contact .container { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-copy { flex: 1 1 340px; min-width: 0; }
.contact-copy .section-title { margin-bottom: 20px; }
.contact-copy > p { margin: 0 0 32px; color: var(--muted); font-size: 17px; }
.contact-line { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }
.contact-line svg { width: 20px; height: 20px; stroke: var(--accent); }
.contact-form {
  flex: 999 1 520px; min-width: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: 24px; padding: 40px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;
}
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: 16px; padding: 14px 16px;
  border: 1px solid #C9D3E0; border-radius: 12px; background: #FAFBFC; min-height: 50px; color: var(--text);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--tint); }
.contact-form .btn { justify-content: center; border: 0; }
.hp-field { position: absolute; left: -9999px; }
.form-notice { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-notice.success { background: #E6F6EC; color: #14532D; }
.form-notice.error { background: #FDECEC; color: #7F1D1D; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 56px 0; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: center; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .brand-name { color: var(--white); font-size: 22px; }
.footer-brand span:last-child { font-size: 14px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a { color: var(--nav-link); font-size: 15px; }
.footer-nav a:hover { color: var(--white); }
.copyright { font-size: 14px; }

/* Blog & pages */
.page-hero { background: var(--ink); color: var(--white); padding: 72px 0 64px; }
.page-hero h1 { font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -1.5px; margin: 0; line-height: 1.08; }
.page-hero .meta { color: var(--muted-dark); margin-top: 16px; font-size: 15px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16 / 9; background: var(--tint); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card .date { font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }
.post-card h2 { font-size: 22px; margin: 0; letter-spacing: -.3px; }
.post-card h2 a { color: var(--text); }
.post-card h2 a:hover { color: var(--accent); }
.post-card p { margin: 0; color: var(--muted); }
.post-card .more { margin-top: auto; font-weight: 600; }

.entry { max-width: 760px; margin: 0 auto; font-size: 18px; }
.entry > * + * { margin-top: 1.2em; }
.entry h2 { font-size: 30px; margin-top: 2em; letter-spacing: -.5px; }
.entry h3 { font-size: 23px; margin-top: 1.6em; }
.entry a { text-decoration: underline; text-underline-offset: 3px; }
.entry blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--accent); font-size: 20px; color: var(--muted); }
.entry pre { background: var(--ink); color: #E8EEF6; padding: 20px; border-radius: 14px; overflow-x: auto; font-size: 15px; }
.entry .featured { border-radius: var(--radius); overflow: hidden; margin-bottom: 2em; }
.entry .alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }

.pagination { margin-top: 56px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text); padding: 0 14px;
}
.pagination .current { background: var(--accent); border-color: var(--accent); color: var(--white); }

.comments-area { max-width: 760px; margin: 64px auto 0; }
.comment-list { list-style: none; padding: 0; }
.comment-body { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 16px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #C9D3E0; border-radius: 12px;
}
.comment-form .submit { background: var(--accent); color: var(--white); border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 600; cursor: pointer; }

.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input[type=search] { flex: 1; font: inherit; padding: 12px 16px; border: 1px solid #C9D3E0; border-radius: 999px; min-height: 48px; }
.search-form button { background: var(--accent); color: var(--white); border: 0; border-radius: 999px; padding: 0 22px; font-weight: 600; cursor: pointer; }

/* WP core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }

/* Service pages */
.hero-service { padding: 88px 0 96px; }
.hero-service .hero-actions { margin-bottom: 36px; }
.service-badge {
  flex: 0 1 280px; aspect-ratio: 1; max-width: 280px; min-width: 160px; margin-left: auto;
  border-radius: 40px; background: var(--ink-2); border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
}
.service-badge svg { width: 45%; height: 45%; stroke: var(--sky); stroke-width: 1.5; }
@media (max-width: 760px) { .service-badge { display: none; } }
.step-num { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--accent); }
.includes-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.includes-copy { flex: 1 1 340px; min-width: 0; }
.includes {
  flex: 999 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px;
}
.includes li {
  display: flex; align-items: center; gap: 12px; background: var(--ground);
  border-radius: 14px; padding: 18px 20px; font-weight: 600;
}
.includes svg { width: 20px; height: 20px; stroke: var(--accent); flex-shrink: 0; }
.cta-band { justify-content: space-between; }
.cta-band .why-quote { flex: 999 1 420px; }
.cta-title { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -1px; margin: 0 0 14px; }
.other-services { margin-top: 64px; text-align: center; }
.other-services ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.other-services a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; color: var(--text);
}
.other-services a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- v1.2: What we do, Contact, Blog, Single post ---------- */
.btn-outline { color: var(--text); border-color: var(--line); background: var(--white); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.hero-compact { padding: 80px 0 72px; }

/* What we do */
a.card-link { color: var(--text); }
a.card-link:hover { color: var(--text); border-color: var(--accent); }
a.card-link .more { color: var(--accent); }
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.diff { display: flex; gap: 18px; background: var(--ground); border-radius: var(--radius); padding: 28px; }
.diff-check {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.diff-check svg { width: 22px; height: 22px; stroke: var(--white); stroke-width: 2.6; }
.diff h3 { margin: 0 0 6px; font-size: 20px; }
.diff p { margin: 0; color: var(--muted); }
.steps-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step-white { background: var(--white); border: 1px solid var(--line); }

/* Contact page */
.contact-page { padding-top: 80px; }
.next-steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.next-steps li::before {
  content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%;
  background: var(--tint); color: var(--accent); font-family: var(--display); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.next-steps strong { font-size: 17px; }
.next-steps span { color: var(--muted); }

/* Blog list */
.blog-hero { padding: 80px 0 72px; }
.blog-hero .hero-lead { color: var(--soft-dark); font-size: 19px; max-width: 560px; }
.blog-hero .search-form input[type=search] { background: var(--ink-2); border-color: #33455F; color: var(--white); }
.blog-hero .search-form input[type=search]::placeholder { color: var(--muted-dark); }
.post-card { transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(11,18,32,.08); }
.post-card .thumb { display: block; }
.post-card .date { margin: 0; font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .8px; }
.post-card-featured { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
.post-card-featured .thumb { flex: 1 1 420px; aspect-ratio: auto; min-height: 280px; }
.post-card-featured .body { flex: 1 1 380px; padding: 40px; justify-content: center; }
.post-card-featured h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; }
.thumb-placeholder {
  width: 100%; height: 100%; min-height: 180px; display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: center; background-color: var(--ink);
  background-image: linear-gradient(#1C2738 1px, transparent 1px), linear-gradient(90deg, #1C2738 1px, transparent 1px);
  background-size: 28px 28px; color: var(--sky-pale); font-family: var(--display); font-weight: 700; font-size: 15px;
}
.thumb-placeholder svg { width: 48px; height: 48px; }

/* Single post */
.post-hero { padding: 64px 0 72px; }
.post-hero-inner { max-width: 820px; margin: 0 auto; }
.back-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--sky-pale); font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.back-link:hover { color: var(--white); }
.post-hero .meta { display: flex; gap: 10px; flex-wrap: wrap; }
.post-body { padding-top: 64px; }
.entry { color: #1E293B; }
.entry p, .entry li { line-height: 1.75; }
.entry h3 { font-size: 24px; letter-spacing: -.3px; color: var(--text); }
.entry img { border-radius: 14px; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .5em; }
.entry strong { color: var(--text); }
.post-footer { margin-top: 48px !important; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--tint); text-decoration: none; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; }
.share span { color: var(--muted); font-weight: 600; }
.share a {
  text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--white); font-weight: 600;
}
.share a:hover { border-color: var(--accent); color: var(--accent); }
.post-cta {
  max-width: 760px; margin: 56px auto 0; background: var(--ink); color: var(--white); border-radius: 24px;
  padding: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.post-cta > div { flex: 1 1 320px; }
.post-cta h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.3px; }
.post-cta p { margin: 0; color: var(--soft-dark); }
.post-nav { max-width: 760px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.post-nav a {
  display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line); color: var(--text); font-family: var(--display); font-weight: 700; font-size: 17px;
}
.post-nav a:hover { border-color: var(--accent); }
.post-nav a span { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .8px; }
.post-nav .next { text-align: right; grid-column: -2; }
.related { padding: 88px 0; }
