/* ── News: listing & articles ────────────────────────────── */
.news-page-hero {
  position: relative;
  padding: 56px 0 28px;
  overflow: hidden;
  background: var(--footer-bg);
}
.news-page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.news-page-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.45;
}
.news-page-hero__blob--1 {
  width: 540px;
  height: 540px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle at center, rgba(198, 241, 53, 0.18) 0%, rgba(198, 241, 53, 0.06) 35%, rgba(198, 241, 53, 0) 70%);
  filter: blur(20px);
  opacity: 1;
}
.news-page-hero__blob--2 {
  width: 420px;
  height: 420px;
  left: -120px;
  bottom: -140px;
  background: radial-gradient(circle at center, rgba(198, 241, 53, 0.12) 0%, rgba(198, 241, 53, 0.04) 38%, rgba(198, 241, 53, 0) 72%);
  filter: blur(26px);
  opacity: 0.85;
}
.news-page-hero__inner {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 760px;
  margin: 0 auto;
}
.news-page-hero__inner .eyebrow {
  margin-bottom: 20px;
}
.news-page-hero__title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--white);
}
.news-page-hero__sub {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.65;
  max-width: 64ch;
  margin: 0;
  overflow-wrap: break-word;
}

.news-list-section {
  padding-top: 28px;
  padding-bottom: 88px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.news-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.news-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.news-card:hover .news-card__img {
  transform: scale(1.04);
}
.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
  gap: 10px;
}
.news-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.news-card__date {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Manrope', sans-serif;
}
.news-card__meta-sep {
  display: none;
}
.news-card__reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Manrope', sans-serif;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  line-height: 1;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.news-card__reading-time::before {
  content: '';
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><polyline points='12 7 12 12 15.5 14'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><polyline points='12 7 12 12 15.5 14'/></svg>") center/contain no-repeat;
}
.news-card:hover .news-card__reading-time {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: var(--accent-border);
}
.news-card__title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  margin: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.news-card__excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.news-card__more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .news-page-hero {
    padding: 46px 0 24px;
  }
  .news-page-hero__inner {
    max-width: 100%;
    padding-bottom: 0;
  }
  .news-page-hero__title {
    font-size: clamp(1.7rem, 9vw, 2.15rem);
    line-height: 1.18;
  }
  .news-page-hero__sub {
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 36ch;
    margin: 0;
  }
  .news-list-section {
    padding-top: 24px;
    padding-bottom: 72px;
  }
  .news-card__body {
    padding: 20px 18px 22px;
    gap: 12px;
  }
  .news-card__title {
    font-size: 1rem;
    line-height: 1.38;
  }
  .news-card__excerpt {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

/* Article (detail) */
.article-page {
  position: relative;
  padding: 56px 0 72px;
  background: var(--footer-bg);
  overflow: hidden;
}
.article-page::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 540px;
  height: 540px;
  max-width: 90vw;
  max-height: 90vw;
  background: radial-gradient(circle at center, rgba(198, 241, 53, 0.18) 0%, rgba(198, 241, 53, 0.06) 35%, rgba(198, 241, 53, 0) 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.article-page__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.article-breadcrumb a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition);
}
.article-breadcrumb a:hover {
  color: var(--white);
  text-decoration-color: var(--accent);
}
.article-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
}
.article-breadcrumb__current {
  color: rgba(255, 255, 255, 0.5);
  max-width: 100%;
}

.article-page__date {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.article-page__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.article-page__meta-sep {
  display: none;
}
.article-page__reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  line-height: 1;
}
.article-page__reading-time::before {
  content: '';
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><polyline points='12 7 12 12 15.5 14'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><polyline points='12 7 12 12 15.5 14'/></svg>") center/contain no-repeat;
}
.article-page__title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0 0 14px;
}
.article-page__lead {
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 100%;
  margin: 0 0 28px;
}

.article-page__hero-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.article-page__hero-img-wrap picture {
  display: block;
}
.article-page__hero-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

.article-page__content.rte {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(250, 250, 250, 0.9);
  max-width: 100%;
}
.article-page__content.rte h2,
.article-page__content.rte h3 {
  color: var(--white);
  letter-spacing: -0.02em;
}
.article-page__content.rte h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 2rem 0 0.9rem;
}
.article-page__content.rte h3 {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 1.4rem 0 0.65rem;
}
.article-page__content.rte p {
  margin: 0 0 1.1em;
}
.article-page__content.rte p:last-child {
  margin-bottom: 0;
}
.article-page__content.rte ul,
.article-page__content.rte ol {
  margin: 0 0 1.2em;
  padding-left: 1.25rem;
}
.article-page__content.rte ul {
  list-style: disc;
}
.article-page__content.rte ol {
  list-style: decimal;
}
.article-page__content.rte li {
  margin-bottom: 0.45em;
}
.article-page__content.rte li::marker {
  color: var(--accent);
}
.article-page__content.rte a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-border);
  text-underline-offset: 3px;
}
.article-page__content.rte a:hover {
  text-decoration-color: var(--accent);
}
.article-page__content.rte strong {
  color: var(--white);
  font-weight: 700;
}
.article-page__content.rte mark {
  color: var(--accent);
  background: rgba(198, 241, 53, 0.12);
  border: 1px solid rgba(198, 241, 53, 0.34);
  border-radius: 0.28em;
  padding: 0.03em 0.24em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.article-page__content.rte blockquote {
  margin: 1.3rem 0 1.5rem;
  padding: 0.95rem 1rem 1rem;
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(198, 241, 53, 0.09), rgba(198, 241, 53, 0.03) 26%, rgba(255, 255, 255, 0.01) 100%);
}
.article-page__content.rte blockquote p:last-child {
  margin-bottom: 0;
}
.article-page__content.rte hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0 1.3rem;
}

.article-page__back {
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* ── Documents page ───────────────────────────────────────── */
.documents-page {
  background: var(--footer-bg);
}

.documents-page__hero {
  padding: 56px 0 28px;
  background: var(--footer-bg);
}

.documents-page__hero-inner {
  max-width: 760px;
}

.documents-page__hero .eyebrow {
  margin-bottom: 20px;
}

.documents-page__title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0 0 14px;
}

.documents-page__sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 62ch;
  margin: 0;
}

.documents-page__content {
  padding-top: 28px;
}

.documents-page__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
}

.document-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 0;
  transition: border-color var(--transition);
}

.document-card:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.document-card:hover,
.document-card:focus-within {
  border-color: rgba(255, 255, 255, 0.16);
}

.document-card__title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.06rem, 2.1vw, 1.85rem);
  line-height: 1.26;
  letter-spacing: -0.02em;
  margin: 0;
}

.document-card__link {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: clamp(22px, 2.8vw, 32px) 0;
  transition: color var(--transition);
}

.document-card__link::after {
  content: '→';
  color: #5c5c66;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1;
  margin-top: 0.08em;
  transition: color var(--transition), transform var(--transition);
}

.document-card__link:hover {
  color: #fff;
}

.document-card__link:hover::after {
  color: var(--accent);
  transform: translateX(3px);
}

.document-card__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .document-card__title {
    font-size: clamp(1rem, 5.2vw, 1.3rem);
  }

  .document-card__link {
    padding: 18px 0;
  }

  .document-card__link::after {
    font-size: 1.05rem;
  }
}

.document-card__text {
  color: rgba(250, 250, 250, 0.85);
  font-size: 1rem;
  line-height: 1.72;
}

.document-card__text p {
  margin: 0 0 12px;
}

.document-card__text p:last-child {
  margin-bottom: 0;
}

/* ── 404 page ─────────────────────────────────────────────── */
.not-found-page {
  background: var(--footer-bg);
}

.not-found {
  position: relative;
  padding: 56px 0 84px;
  overflow: hidden;
}

.not-found::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 241, 53, 0.22) 0%, transparent 72%);
  filter: blur(24px);
  pointer-events: none;
}

.not-found::after {
  content: '';
  position: absolute;
  bottom: -180px;
  left: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 241, 53, 0.12) 0%, transparent 72%);
  filter: blur(24px);
  pointer-events: none;
}

.not-found .container {
  position: relative;
  z-index: 1;
}

.not-found__panel {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 64px);
  border-radius: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(198, 241, 53, 0.08) 0%, rgba(255, 255, 255, 0.02) 35%, rgba(255, 255, 255, 0.015) 100%);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
  text-align: center;
}

.not-found__panel .eyebrow {
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

.not-found__code {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--accent);
  text-shadow: 0 0 34px rgba(198, 241, 53, 0.22);
  margin: 0 0 14px;
}

.not-found__title {
  position: relative;
  display: inline-block;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 16px;
}

.not-found__title--glitch {
  animation: glitchBase 0.9s steps(2, end) infinite;
}

.not-found__title--glitch::before,
.not-found__title--glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}

.not-found__title--glitch::before {
  color: rgba(198, 241, 53, 0.95);
  text-shadow: -2px 0 rgba(198, 241, 53, 0.75);
  transform: translate(0, 0);
  clip-path: polygon(0 10%, 100% 4%, 100% 28%, 0 34%);
  animation: glitchSliceA 1.15s steps(1, end) infinite;
}

.not-found__title--glitch::after {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 2px 0 rgba(198, 241, 53, 0.45);
  transform: translate(0, 0);
  clip-path: polygon(0 58%, 100% 52%, 100% 88%, 0 96%);
  animation: glitchSliceB 0.95s steps(1, end) infinite;
}

@keyframes glitchBase {
  0%, 100% {
    transform: translate(0, 0) skewX(0deg);
    text-shadow: none;
  }
  12% {
    transform: translate(1px, 0) skewX(2deg);
    text-shadow: -1px 0 rgba(198, 241, 53, 0.4), 1px 0 rgba(255, 255, 255, 0.4);
  }
  24% {
    transform: translate(-1px, 0) skewX(-2deg);
    text-shadow: 2px 0 rgba(198, 241, 53, 0.35), -2px 0 rgba(255, 255, 255, 0.35);
  }
  36% {
    transform: translate(0, -1px) skewX(0deg);
    text-shadow: none;
  }
  48% {
    transform: translate(2px, 0) skewX(3deg);
    text-shadow: -2px 0 rgba(198, 241, 53, 0.45), 2px 0 rgba(255, 255, 255, 0.45);
  }
  62% {
    transform: translate(-2px, 1px) skewX(-3deg);
    text-shadow: 2px 0 rgba(198, 241, 53, 0.45), -2px 0 rgba(255, 255, 255, 0.45);
  }
  76% {
    transform: translate(0, 0) skewX(0deg);
    text-shadow: none;
  }
}

@keyframes glitchSliceA {
  0%   { transform: translate(0, 0); opacity: 0.1; clip-path: polygon(0 10%, 100% 4%, 100% 28%, 0 34%); }
  12%  { transform: translate(-2px, -1px); opacity: 0.85; clip-path: polygon(0 8%, 100% 2%, 100% 22%, 0 29%); }
  24%  { transform: translate(3px, 1px); opacity: 0.65; clip-path: polygon(0 18%, 100% 12%, 100% 33%, 0 39%); }
  36%  { transform: translate(-3px, 0); opacity: 0.9; clip-path: polygon(0 5%, 100% 0, 100% 20%, 0 27%); }
  48%  { transform: translate(2px, -2px); opacity: 0.55; clip-path: polygon(0 14%, 100% 8%, 100% 30%, 0 36%); }
  60%  { transform: translate(-2px, 2px); opacity: 0.92; clip-path: polygon(0 22%, 100% 16%, 100% 37%, 0 42%); }
  72%  { transform: translate(3px, 0); opacity: 0.75; clip-path: polygon(0 10%, 100% 4%, 100% 24%, 0 30%); }
  84%  { transform: translate(-3px, -1px); opacity: 0.88; clip-path: polygon(0 16%, 100% 10%, 100% 32%, 0 38%); }
  100% { transform: translate(0, 0); opacity: 0.15; clip-path: polygon(0 10%, 100% 4%, 100% 28%, 0 34%); }
}

@keyframes glitchSliceB {
  0%   { transform: translate(0, 0); opacity: 0.08; clip-path: polygon(0 58%, 100% 52%, 100% 88%, 0 96%); }
  10%  { transform: translate(3px, 0); opacity: 0.82; clip-path: polygon(0 56%, 100% 50%, 100% 82%, 0 90%); }
  22%  { transform: translate(-3px, 2px); opacity: 0.68; clip-path: polygon(0 64%, 100% 58%, 100% 92%, 0 98%); }
  34%  { transform: translate(2px, -2px); opacity: 0.9; clip-path: polygon(0 60%, 100% 54%, 100% 86%, 0 94%); }
  46%  { transform: translate(-2px, 1px); opacity: 0.58; clip-path: polygon(0 68%, 100% 62%, 100% 95%, 0 100%); }
  58%  { transform: translate(3px, -1px); opacity: 0.92; clip-path: polygon(0 54%, 100% 48%, 100% 80%, 0 88%); }
  70%  { transform: translate(-3px, 0); opacity: 0.74; clip-path: polygon(0 62%, 100% 56%, 100% 90%, 0 97%); }
  82%  { transform: translate(2px, 2px); opacity: 0.86; clip-path: polygon(0 66%, 100% 60%, 100% 94%, 0 100%); }
  100% { transform: translate(0, 0); opacity: 0.12; clip-path: polygon(0 58%, 100% 52%, 100% 88%, 0 96%); }
}

.not-found__text {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.7;
}

.not-found__actions {
  margin-top: clamp(24px, 4vw, 40px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .not-found {
    padding: 38px 0 64px;
  }

  .not-found__actions {
    flex-direction: column;
  }

  .not-found__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .not-found__title--glitch {
    animation: none;
    text-shadow: none;
  }

  .not-found__title--glitch::before,
  .not-found__title--glitch::after {
    animation: none;
    opacity: 0;
  }
}

/* ── Article share ───────────────────────────────────────── */
.article-share {
  margin: 48px 0 24px;
  padding: 24px 0 4px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
}
.article-share__label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.article-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition), background var(--transition),
    border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}
.article-share__btn:hover,
.article-share__btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}
.article-share__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.article-share__btn--telegram:hover,
.article-share__btn--telegram:focus-visible {
  color: #ffffff;
  background: rgba(40, 159, 217, 0.16);
  border-color: rgba(40, 159, 217, 0.55);
  box-shadow: 0 6px 24px rgba(40, 159, 217, 0.22);
}
.article-share__btn--vk:hover,
.article-share__btn--vk:focus-visible {
  color: #ffffff;
  background: rgba(70, 128, 194, 0.18);
  border-color: rgba(70, 128, 194, 0.55);
  box-shadow: 0 6px 24px rgba(70, 128, 194, 0.22);
}
.article-share__btn--whatsapp:hover,
.article-share__btn--whatsapp:focus-visible {
  color: #ffffff;
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.22);
}
.article-share__btn--email:hover,
.article-share__btn--email:focus-visible {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: var(--accent-border);
  box-shadow: 0 6px 24px rgba(198, 241, 53, 0.18);
}
.article-share__btn--copy {
  font-family: 'Manrope', sans-serif;
}
.article-share__btn--copy:hover,
.article-share__btn--copy:focus-visible {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: var(--accent-border);
  box-shadow: 0 6px 24px rgba(198, 241, 53, 0.18);
}
/* Copy button state toggling */
.article-share__icon--check {
  display: none;
}
.article-share__btn--copy [data-share-label-done] {
  display: none;
}
.article-share__btn--copy.is-copied {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: var(--accent-border);
}
.article-share__btn--copy.is-copied .article-share__icon--copy {
  display: none;
}
.article-share__btn--copy.is-copied .article-share__icon--check {
  display: inline-block;
}
.article-share__btn--copy.is-copied [data-share-label-default] {
  display: none;
}
.article-share__btn--copy.is-copied [data-share-label-done] {
  display: inline;
}

@media (max-width: 540px) {
  .article-share {
    gap: 10px;
  }
  .article-share__btn {
    padding: 9px 11px;
    font-size: 0;
    gap: 0;
  }
  .article-share__icon {
    width: 18px;
    height: 18px;
  }
  /* Keep the copy state text visible on mobile so the user sees feedback */
  .article-share__btn--copy.is-copied {
    font-size: 0.8rem;
    padding: 9px 14px;
    gap: 6px;
  }
  .article-share__btn--copy.is-copied [data-share-label-done] {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-share__btn {
    transition: none;
  }
  .article-share__btn:hover,
  .article-share__btn:focus-visible {
    transform: none;
  }
}

/* ── Reading progress bar (article pages) ────────────────── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.04);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.reading-progress.is-visible {
  opacity: 1;
}
.reading-progress__bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s linear;
  box-shadow: 0 0 14px rgba(198, 241, 53, 0.55), 0 0 4px rgba(198, 241, 53, 0.75);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .reading-progress,
  .reading-progress__bar {
    transition: none;
  }
}
