/*
 * Foxy News — main stylesheet
 * Reproduces the DigitalPerformance look with clean, framework-free CSS.
 * Sections are appended per build phase: BASE (T1), HEADER/FOOTER (T2),
 * HOME (T3), CONTENT (T4).
 */

/* ═══════════════════════════════════════════════════════════════════════
 * BASE
 * ═══════════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--fg);
  background: var(--bg);
}

img,
picture,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--link-hover);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

/* Layout container — DigitalPerformance caps at 1097px. */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 40px;
}

.text-center {
  text-align: center;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* Shared button. */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 0;
  cursor: pointer;
  background: var(--cta);
  color: var(--cta-fg);
  transition: filter var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.btn:hover {
  color: var(--cta-fg);
  filter: brightness(0.95);
}

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════
 * HEADER
 * ═══════════════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--header-bg);
  position: relative;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding-block: 6px;
}
.site-header__brand {
  flex: 0 0 auto;
  margin-right: auto;
}
.site-header__brand img,
.site-header__brand .custom-logo {
  max-height: 50px;
  width: auto;
}
.site-header__brand .site-title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-header__rule {
  height: 3px;
  background: var(--header-rule);
}

/* Primary nav (desktop). */
.primary-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.primary-nav__list a {
  display: block;
  color: var(--menu-fg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 13px;
  padding: 11px 12px;
}
.primary-nav__list a:hover {
  color: var(--menu-fg-hover);
}

/* Search. */
.site-search {
  position: relative;
  flex: 0 0 auto;
}
.site-search__toggle {
  background: transparent;
  border: 0;
  color: var(--menu-fg);
  padding: 8px;
  cursor: pointer;
  display: inline-flex;
}
.site-search__form {
  position: absolute;
  top: 130%;
  right: 0;
  display: none;
  gap: 6px;
  background: #fff;
  padding: 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 300px;
  z-index: 50;
}
.site-search.is-open .site-search__form {
  display: flex;
}
.site-search__form input[type="search"] {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font: inherit;
}
.site-search__submit {
  background: var(--header-bg);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Hamburger (mobile only). */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--menu-fg);
  transition: transform var(--duration) var(--ease);
}

@media (max-width: 991px) {
  .nav-toggle {
    display: inline-flex;
    order: 3;
  }
  .site-search {
    order: 2;
  }
  .primary-nav {
    order: 4;
    flex-basis: 100%;
    display: none;
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 8px;
  }
  .primary-nav__list a {
    padding: 12px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
}

/* ═══════════════════════════════════════════════════════════════════════
 * FOOTER
 * ═══════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-fg);
}
.site-footer a {
  color: inherit;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer__columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-block: 60px;
}
.site-footer__brand {
  flex: 1 1 25%;
}
.site-footer__brand img,
.site-footer__brand .custom-logo {
  max-height: 56px;
  width: auto;
}
.site-footer__brand .site-title {
  color: var(--footer-fg);
  font-size: 20px;
  font-weight: 700;
}
.site-footer__tagline {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.75;
}
.site-footer__menus {
  flex: 1 1 40%;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}
.site-footer__transparency {
  flex: 1 1 25%;
}
.site-footer__transparency p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.85;
}
.site-footer__title {
  font-size: var(--text-footer-title);
  font-weight: 700;
  margin-bottom: 10px;
}
.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__list li {
  margin-bottom: 6px;
}
.site-footer__rule {
  border-top: 1px solid var(--footer-border);
}
.site-footer__copyright {
  background: var(--footer-copy-bg);
  color: var(--footer-copy-fg);
  padding-block: 12px;
  text-align: center;
}
.site-footer__copyright p {
  margin: 0;
  font-size: var(--text-copyright);
}

@media (max-width: 767px) {
  .site-footer__columns {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .site-footer__menus {
    justify-content: space-around;
    gap: 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
 * HOME
 * ═══════════════════════════════════════════════════════════════════════ */

/* Hero */
.hero {
  padding-block: 48px 32px;
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero__text {
  flex: 1 1 50%;
}
.hero__media {
  flex: 0 0 auto;
}
.hero__img,
.hero__placeholder {
  display: block;
  width: 420px;
  max-width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 0; /* spec §3: straight corners */
}
.hero__placeholder {
  background: #e0e0e0; /* spec §3: neutral placeholder box until an image is set */
}
.hero__title {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.12;
  color: var(--hero-title);
  margin-bottom: 16px;
}
.hero__title b {
  color: var(--hero-accent);
}
.hero__lead {
  font-size: 18px;
  color: var(--hero-text);
  max-width: 640px;
}
@media (min-width: 768px) {
  .hero__title {
    font-size: var(--text-hero-lg);
  }
}
@media (max-width: 767px) {
  .hero__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__img {
    width: 100%;
    height: auto;
  }
  .hero__placeholder {
    display: none; /* no tall empty box on phones */
  }
}

/* Benefits band — full-width blue divider (spec §4). Always visible on the
 * home; renders as a clean ~330px band when no cards are configured. */
.benefits {
  background: var(--benefits-bg);
  color: var(--benefits-title);
  padding-block: 60px;
  min-height: 330px;
  display: flex;
  align-items: center;
}
.benefits > .container {
  width: 100%;
}
.benefits__title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 32px;
}
.benefits__title strong {
  color: var(--benefits-accent);
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.benefit-card {
  background: var(--card-bg);
  color: var(--card-text-fg);
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.benefit-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-card-hover);
}
.benefit-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-benefit-title);
  font-weight: 700;
  color: var(--card-title-fg);
  margin-bottom: 8px;
}
.benefit-card__icon {
  color: var(--card-icon);
}
.benefit-card__text {
  font-size: var(--text-benefit-text);
  margin: 0;
}
@media (max-width: 991px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .benefits__grid {
    grid-template-columns: 1fr;
  }
}

/* Posts grid */
.section-posts {
  padding-block: 48px 40px;
}
.section-posts__head {
  margin-bottom: 32px;
}
.section-posts__tag {
  font-size: var(--text-posts-tag);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--posts-tag-fg);
  margin-bottom: 6px;
}
.section-posts__title {
  font-size: var(--text-posts-title);
  font-weight: 700;
  color: var(--posts-title-fg);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}
.card {
  display: flex;
  flex-direction: column;
}
.card__media {
  display: block;
  aspect-ratio: 2 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-sunken);
  margin-bottom: 18px;
}
.card__pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__title {
  font-size: var(--text-card-title);
  font-weight: 700;
  line-height: 1.23;
  margin-bottom: 12px;
}
.card__title a {
  color: var(--post-title); /* spec §5b: post titles in navy/indigo */
}
.card__title a:hover {
  color: var(--brand-accent);
}
.card__text {
  font-size: var(--text-card-text);
  opacity: 0.7;
  margin: 0;
}
@media (max-width: 991px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Pagination */
.pagination {
  margin-top: 48px;
  text-align: center;
}
.pagination .page-numbers {
  display: inline-block;
  padding: 10px 16px;
  margin: 0 3px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--fg);
}
.pagination .page-numbers.current {
  background: var(--bg-sunken);
  border-color: #ccc;
}
.pagination a.page-numbers:hover {
  background: #f3f3f3;
}

/* Institutional teaser */
.institutional {
  padding-block: 60px;
  background: var(--institutional-bg);
}
.institutional__inner {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.institutional__text,
.institutional__media {
  flex: 1 1 48%;
}
.institutional__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--institutional-title);
  margin-bottom: 16px;
}
.institutional__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--institutional-text);
}
.institutional__media img {
  border-radius: var(--radius-lg); /* spec §5c: ~12–16px rounded corners */
}
@media (max-width: 767px) {
  .institutional__inner {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
 * CONTENT — single article, page, archive header, search, 404
 * ═══════════════════════════════════════════════════════════════════════ */

/* Article shell. Body is capped to a readable measure inside the 1097px
 * container; the related band below is free to use the full grid width. */
.section-article {
  padding-block: 40px 24px;
}
.article {
  max-width: 760px;
  margin-inline: auto;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 18px;
}
.breadcrumbs__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--fg-muted);
}
.breadcrumbs__list li {
  display: inline-flex;
  align-items: center;
}
.breadcrumbs__list li + li::before {
  content: "\203A"; /* › */
  margin: 0 8px;
  opacity: 0.5;
}
.breadcrumbs__list a {
  color: var(--brand-accent);
  font-weight: 600;
}
.breadcrumbs__list a:hover {
  text-decoration: underline;
}
.breadcrumbs__list [aria-current="page"] {
  color: var(--fg-muted);
}

/* Header */
.article__header {
  margin-bottom: 28px;
}
.article__cats {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.article__cats a {
  color: var(--brand-accent);
}
.article__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--hero-title);
  margin-bottom: 16px;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--fg-muted);
}
.article__meta a {
  color: var(--fg-muted);
  font-weight: 700;
}
.article__meta a:hover {
  color: var(--brand-accent);
}
.article__reading::before {
  content: "•";
  margin-right: 18px;
  color: var(--border);
}
@media (min-width: 768px) {
  .article__title {
    font-size: 42px;
  }
}

/* Featured image */
.article__hero {
  margin: 0 0 32px;
}
.article__hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
}
.article__hero-cap {
  margin-top: 8px;
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
}

/* Article body typography — the readable core. */
.content {
  font-size: var(--text-article);
  line-height: var(--leading-article);
  color: var(--fg);
}
.content > * + * {
  margin-top: 1.15em;
}
.content p {
  margin: 0 0 1.15em;
}
.content h2,
.content h3,
.content h4 {
  color: var(--hero-title);
  line-height: 1.25;
  margin: 1.8em 0 0.6em;
  scroll-margin-top: 24px; /* anchor lands with breathing room, not flush */
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.content h2 {
  font-size: 28px;
}
.content h3 {
  font-size: 23px;
}
.content h4 {
  font-size: 19px;
}
.content a {
  color: var(--content-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.content a:hover {
  color: var(--link-hover);
}
.content ul,
.content ol {
  margin: 0 0 1.15em;
  padding-left: 1.4em;
}
.content li + li {
  margin-top: 0.4em;
}
.content img,
.content figure {
  margin: 1.6em 0;
}
.content img {
  border-radius: var(--radius-md);
}
.content figure img {
  margin: 0;
}
.content figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
}
.content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--brand-accent);
  color: var(--fg-muted);
  font-style: italic;
}
.content blockquote p:last-child {
  margin-bottom: 0;
}
.content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-sunken);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.content pre {
  margin: 1.6em 0;
  padding: 16px 18px;
  background: var(--bg-sunken);
  border-radius: var(--radius-md);
  overflow-x: auto;
}
.content pre code {
  background: none;
  padding: 0;
}
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 15px;
}
.content th,
.content td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}
.content th {
  background: var(--bg-sunken);
}
/* Gutenberg wraps tables in figure.wp-block-table — let wide ones scroll. */
.content figure.wp-block-table {
  margin: 1.6em 0;
  overflow-x: auto;
}
.content figure.wp-block-table table {
  margin: 0;
}
/* Color-coded cells (add class on th/td): guide/status tables. */
.content .is-good {
  background: #dcfce7;
  color: #166534;
}
.content .is-warn {
  background: #fef9c3;
  color: #854d0e;
}
.content .is-bad {
  background: #fee2e2;
  color: #991b1b;
}
.content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.2em 0;
}

/* Embeds — YouTube / Vimeo etc. stay 16:9 and never overflow the column.
 * Covers Gutenberg embed blocks (iframe inside .wp-block-embed) and bare
 * iframes pasted into the editor. */
.content figure.wp-block-embed {
  margin: 1.6em 0;
}
.content .wp-block-embed__wrapper {
  line-height: 0;
}
.content .wp-block-embed iframe,
.content > iframe,
.content p > iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: var(--radius-md);
}
.content .wp-block-embed.wp-embed-aspect-4-3 iframe {
  aspect-ratio: 4 / 3;
}
.content .wp-block-embed.wp-embed-aspect-1-1 iframe {
  aspect-ratio: 1 / 1;
}

/* Callout — highlighted note / warning / tip. Authored via the [callout]
 * shortcode (see functions.php) or a <div class="callout callout--warning">.
 * Default (no modifier) uses the brand accent. */
.content .callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 1.6em 0;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-accent);
  background: color-mix(in srgb, var(--brand-accent) 8%, #fff);
}
.content .callout__icon {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1.3;
}
.content .callout__body {
  flex: 1 1 auto;
  font-size: 16px;
}
.content .callout__body > :last-child {
  margin-bottom: 0;
}
.content .callout__title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--hero-title);
}
.content .callout--info {
  border-left-color: #2563eb;
  background: color-mix(in srgb, #2563eb 8%, #fff);
}
.content .callout--tip {
  border-left-color: #16a34a;
  background: color-mix(in srgb, #16a34a 8%, #fff);
}
.content .callout--warning {
  border-left-color: #d97706;
  background: color-mix(in srgb, #d97706 10%, #fff);
}
.content .callout--danger {
  border-left-color: #dc2626;
  background: color-mix(in srgb, #dc2626 8%, #fff);
}

/* Table of contents (from the [toc] shortcode) */
.content .toc {
  margin: 1.8em 0;
  padding: 18px 20px;
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
}
.content .toc__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}
.content .toc__list {
  margin: 0;
  padding-left: 20px;
}
.content .toc__list li {
  margin: 4px 0;
}
.content .toc__list a {
  color: var(--content-link);
  text-decoration: none;
}
.content .toc__list a:hover {
  text-decoration: underline;
}
.content .toc__sub {
  margin-left: 16px;
  list-style: circle;
  font-size: 14px;
}

/* FAQ accordion (from the [faq]/[qa] shortcodes) — native <details>, no JS */
.content .faq {
  margin: 2em 0;
}
.content .faq__title {
  margin-bottom: 16px;
}
.content .faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  padding: 0 18px;
  background: #fff;
}
.content .faq__q {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 15px 32px 15px 0;
  font-weight: 700;
  color: var(--hero-title);
}
.content .faq__q::-webkit-details-marker {
  display: none;
}
.content .faq__q::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
  color: var(--brand-accent);
}
.content details[open] > .faq__q::after {
  content: "\2212"; /* − */
}
.content .faq__a {
  padding: 0 0 16px;
  color: var(--fg);
}
.content .faq__a > :last-child {
  margin-bottom: 0;
}

/* Paged posts (wp_link_pages) */
.article__pages {
  margin-top: 2em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.article__pages .page-numbers {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-weight: 600;
}

/* Tags */
.article__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
}
.article__tags-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--fg-muted);
}
.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.tag-list a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-sunken);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.tag-list a:hover {
  background: var(--brand-accent);
  color: #fff;
}

/* Share row — direct-link buttons (no third-party scripts). */
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}
.share__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--fg-muted);
}
.share__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  transition: filter var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.share__btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.share__btn:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.share__btn--facebook {
  background: #1877f2;
}
.share__btn--x {
  background: #000000;
}
.share__btn--whatsapp {
  background: #25d366;
}
.share__btn--email {
  background: var(--fg-muted);
}

/* Author box */
.author-box {
  display: flex;
  gap: 18px;
  margin-top: 40px;
  padding: 24px;
  background: var(--bg-sunken);
  border-radius: var(--radius-lg);
}
.author-box__avatar img {
  border-radius: 50%;
}
.author-box__name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}
.author-box__name a {
  color: var(--hero-title);
}
.author-box__name a:hover {
  color: var(--brand-accent);
}
.author-box__bio {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
}

/* Related band */
.related {
  padding-block: 48px;
  background: var(--bg-sunken);
}
.related__title {
  font-size: var(--text-posts-title);
  font-weight: 700;
  color: var(--posts-title-fg);
  margin-bottom: 28px;
}

/* Archive / search header */
.page-head {
  margin-bottom: 32px;
}
.page-head__title {
  font-size: var(--text-posts-title);
  font-weight: 700;
  color: var(--posts-title-fg);
}
.page-head__desc {
  margin-top: 8px;
  font-size: 15px;
  color: var(--fg-muted);
}

/* 404 */
.error-404 {
  text-align: center;
  max-width: 560px;
  padding-block: 40px;
}
.error-404__code {
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-accent);
  margin: 0 0 8px;
}
.error-404__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.error-404__msg {
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.error-404__search {
  max-width: 380px;
  margin: 0 auto 24px;
}
