/* FinClub Blog — изумрудная тема (референс: landing-green) */

:root {
  --g-deep: #042f2e;
  --g-mid: #047857;
  --g-bright: #10b981;
  --g-grass: #84cc16;
  --g-teal: #0f766e;
  --g-glow: rgba(16, 185, 129, 0.22);
  --bg: #eef6f1;
  --text: #0f172a;
  --text-muted: #64748b;
  --white-glass: rgba(255, 255, 255, 0.72);
  --font: 'Bahnschrift SemiCondensed', 'Bahnschrift', 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;
  --header-offset: 7.75rem;
  --container: 72rem;
}

@font-face {
  font-family: 'Bahnschrift SemiCondensed';
  src: local('Bahnschrift SemiCondensed'), local('Bahnschrift');
  font-weight: 300 700;
  font-stretch: semi-condensed;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  font-size: 18px;
}

body.theme-green {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body.theme-green::selection {
  background: #d1fae5;
  color: #064e3b;
}

.skip-link.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link.screen-reader-text:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #047857;
  border: 2px solid #10b981;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(4, 120, 87, 0.2);
}

body.theme-green::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(6, 78, 59, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 45% at 95% 80%, rgba(15, 118, 110, 0.14), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(132, 204, 22, 0.04), transparent 40%);
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(165deg, #ecfdf5 0%, #eef6f1 40%, #e6f4ed 100%);
}

/* Сетка (как на лендинге) */
.site-bg__grid {
  position: absolute;
  inset: -20% -10%;
  z-index: 2;
  background-image:
    linear-gradient(rgba(6, 95, 70, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 95, 70, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 1;
  -webkit-mask-image:
    radial-gradient(ellipse 55% 42% at 18% 22%, rgba(0, 0, 0, 0.55) 0%, transparent 72%),
    radial-gradient(ellipse 48% 40% at 82% 18%, rgba(0, 0, 0, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 70% 58% at 52% 52%, rgba(0, 0, 0, 0.38) 0%, transparent 78%),
    radial-gradient(ellipse 50% 44% at 28% 78%, rgba(0, 0, 0, 0.32) 0%, transparent 68%),
    radial-gradient(ellipse 52% 46% at 86% 72%, rgba(0, 0, 0, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 120% 95% at 50% 50%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.08) 55%, transparent 100%);
  mask-image:
    radial-gradient(ellipse 55% 42% at 18% 22%, rgba(0, 0, 0, 0.55) 0%, transparent 72%),
    radial-gradient(ellipse 48% 40% at 82% 18%, rgba(0, 0, 0, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 70% 58% at 52% 52%, rgba(0, 0, 0, 0.38) 0%, transparent 78%),
    radial-gradient(ellipse 50% 44% at 28% 78%, rgba(0, 0, 0, 0.32) 0%, transparent 68%),
    radial-gradient(ellipse 52% 46% at 86% 72%, rgba(0, 0, 0, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 120% 95% at 50% 50%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.08) 55%, transparent 100%);
  -webkit-mask-composite: source-over;
  mask-composite: add;
}

.site-bg__blob {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  filter: blur(72px);
}

.site-bg__blob--1 {
  top: -8%;
  left: -5%;
  width: min(58vw, 640px);
  height: min(58vw, 640px);
  background: radial-gradient(circle, rgba(52, 211, 153, 0.55) 0%, rgba(52, 211, 153, 0) 68%);
  animation: blob-drift-1 26s ease-in-out infinite;
}

.site-bg__blob--2 {
  top: 55%;
  left: 50%;
  width: min(50vw, 560px);
  height: min(50vw, 560px);
  background: radial-gradient(circle, rgba(15, 118, 110, 0.45) 0%, rgba(15, 118, 110, 0) 70%);
  animation: blob-drift-2 32s ease-in-out infinite;
}

.site-bg__blob--3 {
  top: 20%;
  right: -8%;
  width: min(42vw, 480px);
  height: min(42vw, 480px);
  background: radial-gradient(circle, rgba(132, 204, 22, 0.42) 0%, rgba(132, 204, 22, 0) 65%);
  animation: blob-drift-3 22s ease-in-out infinite;
}

.site-bg__blob--4 {
  bottom: -12%;
  left: 25%;
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  background: radial-gradient(circle, rgba(16, 185, 129, 0.38) 0%, rgba(4, 47, 46, 0) 72%);
  animation: blob-drift-4 38s ease-in-out infinite;
}

@keyframes blob-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(35vw, 18vh) scale(1.12); }
  50%  { transform: translate(18vw, 42vh) scale(0.92); }
  75%  { transform: translate(-8vw, 22vh) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes blob-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(-32vw, -28vh) scale(1.1); }
  50%  { transform: translate(-12vw, -48vh) scale(0.95); }
  75%  { transform: translate(20vw, -15vh) scale(1.15); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes blob-drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-28vw, 30vh) scale(1.18); }
  66%  { transform: translate(-40vw, -12vh) scale(0.88); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes blob-drift-4 {
  0%   { transform: translate(0, 0) scale(1); }
  30%  { transform: translate(22vw, -35vh) scale(1.05); }
  60%  { transform: translate(-18vw, -20vh) scale(1.2); }
  100% { transform: translate(0, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .site-bg__blob {
    animation: none !important;
    transform: none !important;
  }

  .site-bg__grid {
    -webkit-mask-image: radial-gradient(ellipse 100% 90% at 50% 50%, rgba(0, 0, 0, 0.35) 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 100% 90% at 50% 50%, rgba(0, 0, 0, 0.35) 0%, transparent 100%);
  }
}
.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 1.5rem 0;
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem 0.9rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 38px -22px rgba(15, 23, 42, 0.42), inset 0 1px 0 white;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.site-brand__mark {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: #047857;
  background: linear-gradient(to bottom, #fff, #f1f5f9);
  border: 1px solid #e2e8f0;
}

.site-brand__logo {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}

.site-brand__logo img,
.site-brand__logo .custom-logo {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.site-brand__logo a {
  display: block;
  line-height: 0;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.site-brand__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #020617;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
}

.site-brand__tagline {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.15rem;
}

@media (min-width: 768px) {
  .site-brand__title {
    font-size: 1.35rem;
  }

  .site-brand__tagline {
    font-size: 0.875rem;
  }

  .site-brand__logo img,
  .site-brand__logo .custom-logo {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.site-footer__menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.site-footer__links a,
.site-footer__menu a {
  text-decoration: none;
  color: #475569;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.site-footer__links a:hover,
.site-footer__menu a:hover {
  color: var(--g-mid);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  font-family: inherit;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  padding: 0.875rem 1.5rem;
  background: linear-gradient(to bottom, #059669, #115e59);
  border-color: #064e3b;
  color: #fff;
  font-size: 0.875rem;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(to bottom, #10b981, #047857);
}

.btn--sm {
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
}

.site-header__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.btn--secondary {
  padding: 0.875rem 1.5rem;
  background: linear-gradient(to bottom, #fff, #f8fafc);
  border-color: #e2e8f0;
  color: #334155;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05), inset 0 1px 0 white;
}

.btn__arrow { opacity: 0.85; }

/* Main layout */
.site-main {
  padding-top: var(--header-offset);
}

body.finclub-longread .site-main {
  padding-top: 0;
}

.blog-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
  text-align: center;
}

.blog-hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--g-mid);
  text-transform: uppercase;
}

.blog-hero__title {
  margin: 0;
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.95;
  color: #020617;
}

.blog-hero__lead {
  margin: 1.25rem auto 0;
  max-width: 40rem;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Grid */
.blog-grid-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.post-card {
  border-radius: 1.5rem;
  background: var(--white-glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px -28px rgba(15, 23, 42, 0.35), inset 0 1px 0 white;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease, box-shadow 0.35s ease;
}

.post-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.post-card:hover {
  box-shadow: 0 28px 60px -24px var(--g-glow), inset 0 1px 0 white;
}

.post-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.post-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #d1fae5, #ecfdf5);
}

.post-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--g-mid);
}

.post-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card__img {
  transform: scale(1.03);
}

.post-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.post-card__cat {
  color: var(--g-mid);
  font-weight: 600;
}

.post-card__title {
  margin: 0.65rem 0 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0f172a;
}

.post-card__excerpt {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 300;
}

.post-card__more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--g-mid);
  font-weight: 500;
}

/* Article */
.article {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.article__header {
  margin-bottom: 2rem;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article__cat {
  color: var(--g-mid);
  font-weight: 600;
  text-decoration: none;
}

.article__title {
  margin: 1rem 0 0;
  font-size: clamp(2.25rem, 5.5vw, 3.35rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #020617;
}

.article__cover {
  margin-top: 1.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px -28px rgba(15, 23, 42, 0.35);
}

.article__cover-img {
  display: block;
  width: 100%;
  height: auto;
}

.article__content {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #334155;
  font-weight: 300;
}

.article__content > *:first-child { margin-top: 0; }

.article__content h2,
.article__content h3,
.article__content h4 {
  color: #0f172a;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 2rem;
}

.article__content a {
  color: var(--g-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.article__content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--g-bright);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0 1rem 1rem 0;
  color: #475569;
}

.article__footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article__tags a {
  display: inline-block;
  margin: 0 0.5rem 0.5rem 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  color: var(--g-mid);
  text-decoration: none;
}

/* Pagination */
.blog-pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.blog-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  color: #475569;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.blog-pagination .current {
  background: var(--g-mid);
  color: #fff;
  border-color: var(--g-deep);
}

.blog-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.5);
  padding: 2.5rem 1.5rem;
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.site-footer__links {
  display: flex;
  gap: 1rem;
}

@media (min-width: 768px) {
  .site-footer__menu {
    display: flex;
    gap: 1rem;
  }
}

/* Comments */
.comments-wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.comments-area {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.comments-area__title,
.comments-area .comment-reply-title {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-align: center;
}

.comment-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.comment-list .children {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid rgba(16, 185, 129, 0.25);
}

.comment-list > .comment {
  margin-bottom: 1rem;
}

.comment-body {
  background: var(--white-glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 12px 40px -24px rgba(15, 23, 42, 0.2), inset 0 1px 0 white;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: #0f172a;
}

.comment-author .avatar {
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.comment-author a {
  color: var(--g-mid);
  text-decoration: none;
}

.comment-author a:hover {
  color: var(--g-deep);
}

.comment-metadata a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
}

.comment-content {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #334155;
  font-weight: 300;
}

.comment-content p {
  margin: 0 0 0.75rem;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.comment-awaiting-moderation {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--g-mid);
}

.reply {
  margin-top: 0.85rem;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--g-mid);
  text-decoration: none;
}

.comment-reply-link:hover {
  color: var(--g-deep);
}

.comments-navigation {
  margin: 1.5rem 0 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.comments-navigation a {
  color: var(--g-mid);
  text-decoration: none;
}

.comments-closed {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Comment form */
.finclub-comment-form {
  background: var(--white-glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 18px 50px -28px rgba(15, 23, 42, 0.25), inset 0 1px 0 white;
}

.finclub-comment-form p {
  margin: 0 0 1rem;
}

.comment-notes,
.logged-in-as {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.logged-in-as a {
  color: var(--g-mid);
}

.finclub-comment-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
}

.finclub-comment-form .required {
  color: var(--g-mid);
}

.finclub-comment-form textarea,
.finclub-comment-form input[type="text"],
.finclub-comment-form input[type="email"],
.finclub-comment-form input[type="url"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.45;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.finclub-comment-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.finclub-comment-form textarea:focus,
.finclub-comment-form input:focus {
  outline: none;
  border-color: var(--g-bright);
  box-shadow: 0 0 0 3px var(--g-glow);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.comment-form-cookies-consent input {
  margin-top: 0.2rem;
  accent-color: var(--g-mid);
}

.finclub-comment-form .form-submit {
  margin: 1.25rem 0 0;
  text-align: center;
}

.finclub-comment-form .comment-submit,
.finclub-comment-form .btn.comment-submit {
  width: 100%;
  max-width: 20rem;
  cursor: pointer;
  border: none;
}

#cancel-comment-reply-link {
  display: inline-block;
  margin-left: 0.75rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
}

#cancel-comment-reply-link:hover {
  color: var(--g-mid);
}

@media (min-width: 640px) {
  .finclub-comment-form .comment-form-author,
  .finclub-comment-form .comment-form-email {
    display: inline-block;
    width: calc(50% - 0.5rem);
    vertical-align: top;
  }

  .finclub-comment-form .comment-form-author {
    margin-right: 1rem;
  }

  .finclub-comment-form .comment-form-url {
    display: block;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-card,
  .reveal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .site-bg__blob {
    animation: none !important;
    transform: none !important;
  }

  .site-bg__grid {
    opacity: 0.5;
  }
}
