/* Blog & article surfaces — brand-aligned */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav a.is-on {
  color: var(--gold);
}

.kicker--on-dark {
  color: var(--gold-soft);
}

/* —— Home teaser —— */
.blog-teaser {
  padding: var(--section) 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

.blog-teaser__more {
  margin-top: 2rem;
  text-align: center;
}

/* —— Archive page —— */
.blog-page {
  padding-bottom: 0;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(212, 175, 95, 0.06), transparent 60%),
    var(--paper);
}

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: calc(5.5rem + var(--section) * 0.35) 0 2.75rem;
  background: linear-gradient(155deg, #060d17 0%, var(--navy) 45%, #12233a 100%);
  color: var(--white);
}

.blog-hero__glow {
  position: absolute;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 95, 0.22), transparent 68%);
  top: -12%;
  left: -8%;
  pointer-events: none;
}

.blog-hero__glow--2 {
  top: auto;
  bottom: -30%;
  left: auto;
  right: -10%;
  background: radial-gradient(circle, rgba(80, 140, 220, 0.14), transparent 70%);
}

.blog-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.blog-hero__copy {
  max-width: 40rem;
}

.blog-hero h1 {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.blog-hero__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  max-width: 34rem;
}

.blog-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1.1rem 1.35rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  min-width: 8.5rem;
}

.blog-hero__stat strong {
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 700;
}

.blog-hero__stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.blog-search {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
}

.blog-search__field {
  flex: 1 1 16rem;
  min-width: 0;
}

.blog-search input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border-radius: var(--r-md);
  padding: 0.8rem 1.05rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.blog-search input:focus {
  outline: none;
  border-color: rgba(212, 175, 95, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.blog-search input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.blog-search .btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.blog-search .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Category chips */
.blog-filters {
  position: sticky;
  top: 4.25rem;
  z-index: 20;
  background: rgba(244, 246, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.blog-chips {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.blog-chips::-webkit-scrollbar {
  height: 4px;
}

.blog-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.blog-chip b {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-ink);
  background: rgba(212, 175, 95, 0.14);
  padding: 0.1rem 0.45rem;
  border-radius: var(--r-pill);
  min-width: 1.4rem;
  text-align: center;
}

.blog-chip:hover {
  border-color: rgba(212, 175, 95, 0.45);
  color: var(--navy);
  transform: translateY(-1px);
}

.blog-chip.is-on {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.blog-chip.is-on b {
  background: rgba(212, 175, 95, 0.25);
  color: var(--gold-soft);
}

/* Main list */
.blog-main {
  padding: 2rem 0 3.5rem;
}

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-toolbar p {
  margin: 0;
}

.blog-toolbar strong {
  color: var(--navy);
}

.blog-toolbar__hint {
  color: var(--gold-ink);
}

/* Featured */
.blog-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  margin-bottom: 1.75rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.blog-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(7, 16, 28, 0.28);
}

.blog-feature__media {
  min-height: 280px;
  background: var(--navy-soft);
}

.blog-feature__media img,
.blog-feature__media .blog-card__ph {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  aspect-ratio: auto;
}

.blog-feature__body {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}

.blog-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.blog-feature__meta .blog-card__cat {
  color: var(--gold);
}

.blog-feature h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.5;
}

.blog-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
  line-height: 1.85;
}

.blog-feature__cta {
  margin-top: 0.5rem;
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.blog-card:hover {
  transform: var(--lift);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 95, 0.35);
}

.blog-card__media {
  overflow: hidden;
  background: var(--navy-soft);
}

.blog-card img,
.blog-card__ph {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  display: block;
  background:
    linear-gradient(145deg, rgba(212, 175, 95, 0.18), transparent 50%),
    linear-gradient(160deg, var(--navy-soft), var(--navy));
  transition: transform 0.55s var(--ease);
}

.blog-card:hover img {
  transform: scale(1.04);
}

.blog-card__ph--lg {
  aspect-ratio: auto;
  min-height: 280px;
}

.blog-card__body {
  padding: 1.05rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.blog-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.blog-card__top time {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.85;
  white-space: nowrap;
}

.blog-card__cat {
  color: var(--gold-ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.blog-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__more {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gold-ink);
}

.blog-card:hover .blog-card__more {
  color: var(--navy);
}

/* Empty */
.blog-empty {
  text-align: center;
  padding: 4rem 1rem;
  background: var(--white);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-xl);
}

.blog-empty h2 {
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.blog-empty p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.blog-empty-page {
  padding: 4rem 0;
  color: var(--muted);
}

/* Pager */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.pager__nums {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

.pager__nums a,
.pager__nav {
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.88rem;
  color: var(--muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.pager__nav {
  font-weight: 600;
  color: var(--navy);
}

.pager__nav.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.pager__nums a.is-on,
.pager__nums a:hover,
.pager__nav:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.pager__dots {
  display: inline-flex;
  align-items: center;
  padding: 0 0.25rem;
  color: var(--muted);
}

/* Bottom CTA */
.blog-cta {
  padding-bottom: var(--section);
}

.blog-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(212, 175, 95, 0.2), transparent 55%),
    linear-gradient(120deg, var(--navy), var(--navy-mid));
  color: var(--white);
}

.blog-cta__inner h2 {
  margin: 0.25rem 0 0.4rem;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.blog-cta__inner p:last-of-type {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.blog-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.blog-cta .btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.blog-cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* —— Single article (readability-first) —— */
.article-page {
  padding: calc(4.5rem + 1.25rem) 0 0;
  background:
    radial-gradient(ellipse 55% 35% at 0% 0%, rgba(212, 175, 95, 0.07), transparent 55%),
    var(--paper);
}

.article-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  z-index: 60;
  background: transparent;
  pointer-events: none;
}

.article-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 0.05s linear;
}

.article-shell {
  padding-bottom: 3rem;
}

.article-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.article-crumb a:hover {
  color: var(--navy);
}

.article-hero {
  max-width: 46rem;
  margin-bottom: 1.75rem;
}

.article-hero__cat {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(212, 175, 95, 0.14);
  color: var(--gold-ink);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.article-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3.8vw, 2.45rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.article-hero__dek {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
  max-width: 40rem;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-hero__meta span,
.article-hero__meta time {
  position: relative;
}

.article-hero__meta span:not(:last-child)::after,
.article-hero__meta time:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -0.65rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(102, 115, 133, 0.55);
  transform: translateY(-50%);
}

.article-cover {
  margin: 0 0 2rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy-soft);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.article-layout {
  display: block;
}

.article-layout.has-toc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 2.5rem;
  align-items: start;
}

.article-toc {
  order: 2;
  position: sticky;
  top: 5.5rem;
  padding: 1rem 1.05rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
}

.article-toc__title {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.article-toc li {
  counter-increment: toc;
}

.article-toc a {
  display: block;
  padding: 0.35rem 0.45rem;
  border-radius: 0.45rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.article-toc a::before {
  content: counter(toc) ". ";
  color: var(--gold-ink);
  font-weight: 700;
  font-size: 0.78rem;
}

.article-toc a:hover {
  background: rgba(212, 175, 95, 0.1);
  color: var(--navy);
}

.article-body {
  order: 1;
  max-width: 42rem;
  min-width: 0;
}

.article-layout:not(.has-toc) .article-body {
  margin-inline: auto;
}

/* Core reading styles */
.article__content {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.125rem);
  line-height: 2;
  color: #1a2330;
  letter-spacing: -0.005em;
}

.article__content > *:first-child {
  margin-top: 0;
}

.article__content p {
  margin: 0 0 1.15rem;
  text-align: justify;
  text-justify: inter-word;
}

.article__content p:empty {
  display: none;
}

.article__content h2,
.article__content h3,
.article__content h4 {
  color: var(--navy);
  line-height: 1.45;
  scroll-margin-top: 6rem;
  font-weight: 700;
}

.article__content h2 {
  margin: 2.4rem 0 1rem;
  padding-top: 0.35rem;
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  border-top: 1px solid var(--line);
}

.article__content h2:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.article__content h3 {
  margin: 1.8rem 0 0.75rem;
  font-size: 1.15rem;
}

.article__content h4 {
  margin: 1.4rem 0 0.6rem;
  font-size: 1.05rem;
}

.article__content a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(143, 110, 40, 0.35);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.article__content a:hover {
  color: var(--navy);
  text-decoration-color: rgba(7, 16, 28, 0.35);
}

.article__content strong,
.article__content b {
  color: var(--navy);
  font-weight: 700;
}

.article__content ul,
.article__content ol {
  margin: 0 0 1.25rem;
  padding-right: 1.25rem;
  padding-left: 0;
}

.article__content li {
  margin-bottom: 0.45rem;
  padding-right: 0.25rem;
}

.article__content li::marker {
  color: var(--gold-ink);
}

.article__content img,
.article__content .article-img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  margin: 1.5rem auto;
  box-shadow: var(--shadow-sm);
  background: var(--paper-2);
}

.article__content img.emoji,
.article__content .emoji {
  display: inline;
  width: 1.05em;
  height: 1.05em;
  max-width: 1.05em;
  margin: 0 0.15em;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  vertical-align: -0.15em;
}

.article__content .article-emoji {
  display: inline;
  margin-inline-end: 0.35rem;
  color: var(--gold-ink);
  font-weight: 700;
}

.article__content blockquote,
.article__content .article-note {
  margin: 1.6rem 0;
  padding: 1rem 1.15rem 1.05rem;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(212, 175, 95, 0.1), rgba(244, 246, 248, 0.9));
  border: 1px solid rgba(212, 175, 95, 0.28);
  border-right: 3px solid var(--gold);
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.85;
}

.article__content blockquote p {
  margin-bottom: 0.5rem;
  text-align: right;
}

.article__content blockquote p:last-child {
  margin-bottom: 0;
}

.article-note__label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold-ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.article__content hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2rem 0;
}

.article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  overflow-x: auto;
  display: block;
}

.article__content th,
.article__content td {
  border: 1px solid var(--line-strong);
  padding: 0.55rem 0.7rem;
  text-align: right;
}

.article__content th {
  background: var(--paper-2);
  color: var(--navy);
}

.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.article__tags span {
  padding: 0.32rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.article-consult {
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 45% 80% at 100% 0%, rgba(212, 175, 95, 0.18), transparent 55%),
    linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.article-consult h2 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.25rem;
}

.article-consult p:last-of-type {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.article-consult__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.article-consult .btn--line {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.article-consult .btn--line:hover {
  background: rgba(255, 255, 255, 0.1);
}

.related-band {
  padding: 2.75rem 0 var(--section);
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border-top: 1px solid var(--line);
}

.related-band .section-head {
  margin-bottom: 1.5rem;
}

.related-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Service / WP page template */
.service-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.service-page__cta {
  margin-top: 2.5rem;
  padding: 1.5rem 1.4rem;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 175, 95, 0.16), transparent 45%),
    linear-gradient(145deg, var(--navy-soft), var(--navy));
  color: #fff;
}

.service-page__cta h2 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 1.25rem;
}

.service-page__cta p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.service-page__cta .btn--line {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.service-page__siblings {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.service-page__siblings h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: var(--navy);
}

.service-page__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.service-page__chips a {
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.service-page__chips a:hover {
  border-color: rgba(212, 175, 95, 0.55);
  background: rgba(212, 175, 95, 0.1);
  color: var(--gold-ink);
}

.service-page .related {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.service-page .related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.service-page .related__head h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--navy);
}

.service-page .related__head a {
  color: var(--gold-ink);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}

.service-page .related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .service-page .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .service-page .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .blog-hero__inner {
    grid-template-columns: 1fr;
  }

  .blog-hero__stat {
    display: none;
  }

  .blog-feature {
    grid-template-columns: 1fr;
  }

  .blog-feature__media img,
  .blog-feature__media .blog-card__ph {
    min-height: 200px;
    aspect-ratio: 16 / 9;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout.has-toc {
    grid-template-columns: 1fr;
  }

  .article-toc {
    order: 0;
    position: static;
    margin-bottom: 1.25rem;
  }

  .article-toc ol {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .article-toc a {
    background: var(--paper-2);
  }

  .article-cover img {
    aspect-ratio: 16 / 9;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-filters {
    top: 3.75rem;
  }

  .blog-search {
    flex-direction: column;
  }

  .blog-search .btn,
  .blog-search .btn--ghost {
    width: 100%;
  }

  .blog-chips {
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
    scroll-snap-type: x proximity;
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }

  .blog-chip {
    scroll-snap-align: start;
    font-size: 0.82rem;
    padding: 0.4rem 0.75rem;
  }

  .related-grid,
  .service-page .related-grid {
    grid-template-columns: 1fr;
  }

  .article-hero h1 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  .article-crumb {
    font-size: 0.78rem;
    flex-wrap: wrap;
  }

  .article__content {
    font-size: 1.02rem;
    line-height: 1.95;
  }

  .article__content p {
    margin-bottom: 1.05rem;
  }

  .article-consult {
    padding: 1.25rem 1.1rem;
  }

  .article-consult__actions {
    flex-direction: column;
  }

  .article-consult__actions .btn,
  .article-consult__actions .btn--line {
    width: 100%;
  }

  .article-hero__meta span:not(:last-child)::after,
  .article-hero__meta time:not(:last-child)::after {
    display: none;
  }
}

/* Legacy aliases kept for page.php */
.article {
  max-width: 42rem;
  margin-inline: auto;
}

.article__head h1 {
  margin: 0.4rem 0 0.8rem;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  line-height: 1.45;
  color: var(--navy);
}

.article__meta {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.article__cover {
  width: 100%;
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article__cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.article__cta h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.article__cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.related {
  margin-top: 3rem;
}

.related h2 {
  margin-bottom: 1.25rem;
  color: var(--navy);
}
