﻿:root {
  --vf-pine: #1b2f25;
  --vf-fir: #2f4a3c;
  --vf-moss: #6c8a64;
  --vf-sage: #c6d2bb;
  --vf-cream: #f6f1e8;
  --vf-amber: #caa357;
  --vf-river: #3f6b6f;
  --vf-bark: #4a3a2a;
  --vf-ink: #1a231c;
  --vf-shadow: rgba(15, 22, 16, 0.18);
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Trebuchet MS', 'Gill Sans', 'Segoe UI', sans-serif;
  color: var(--vf-ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(198, 210, 187, 0.55), transparent 45%),
    radial-gradient(circle at 90% 0%, rgba(202, 163, 87, 0.18), transparent 50%),
    linear-gradient(180deg, #f7f3ea 0%, #edf2e8 45%, #f7f3ea 100%);
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(27, 47, 37, 0.05), rgba(27, 47, 37, 0) 60%),
    radial-gradient(circle at 20% 80%, rgba(63, 107, 111, 0.12), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0 40% 0 0;
  background: radial-gradient(circle at 30% 30%, rgba(95, 134, 100, 0.18), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
}

.site-container {
  max-width: 1500px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  color: var(--vf-pine);
}

p {
  line-height: 1.6;
}

a {
  color: inherit;
}

a:hover {
  color: var(--vf-fir);
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.navbar {
  background: linear-gradient(120deg, #15231c, #2f4a3c);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px var(--vf-shadow);
  position: relative;
  overflow: visible;
  z-index: 1030;
}

.navbar::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0px;
  width: 180px;
  height: 180px;
  background: none;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

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

.navbar-brand,
.navbar-nav .nav-link {
  color: #f6f1e8 !important;
  font-weight: 600;
}

.navbar-brand {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.navbar-nav .nav-link {
  opacity: 0.9;
}

.navbar-nav .nav-link:hover {
  opacity: 1;
}

.navbar-nav .nav-link i {
  margin-right: 0.35rem;
}

.navbar .dropdown-menu {
  z-index: 1040;
}

.section-header h2 i,
h1 i,
h2 i {
  margin-right: 0.5rem;
  color: var(--vf-amber);
}

.hero--home {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  background: linear-gradient(130deg, rgba(18, 33, 25, 0.95), rgba(56, 92, 78, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px var(--vf-shadow);
}

.hero--home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/logobg.png') center/55% no-repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.hero--home::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(202, 163, 87, 0.2), transparent 40%),
    radial-gradient(circle at 75% 15%, rgba(198, 210, 187, 0.2), transparent 45%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero__copy h1 {
  color: #f7f3ea;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  margin-bottom: 1rem;
}

.hero__copy p {
  color: rgba(247, 243, 234, 0.9);
  max-width: 520px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: rgba(247, 243, 234, 0.7);
}

.hero__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero__trail {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 1.7rem;
}

.trail-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 0.9rem;
  backdrop-filter: blur(6px);
}

.trail-card__title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.trail-card__text {
  font-size: 0.85rem;
  margin-top: 0.35rem;
  color: #f7f3ea;
}

.hero__stack {
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.hero__photo {
  background:
    linear-gradient(120deg, rgba(18, 33, 25, 0.2), rgba(18, 33, 25, 0.7)),
    url('../img/hero-ferret.jpg') 0% center/cover no-repeat;
  border-radius: 22px;
  min-height: 240px;
  position: relative;
  box-shadow: 0 18px 40px rgba(12, 19, 15, 0.45);
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
}

.hero__photo-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(15, 22, 16, 0.6);
  color: #f7f3ea;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat-card {
  background: #fdfbf6;
  border-radius: 16px;
  border: 1px solid rgba(27, 47, 37, 0.1);
  padding: 0.9rem;
  box-shadow: 0 16px 32px rgba(19, 27, 22, 0.12);
}

.stat-card__value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vf-pine);
}

.stat-card__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6c7a6b;
}

.home-section {
  margin-top: 3rem;
  padding: 2.2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(27, 47, 37, 0.08);
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(18, 24, 18, 0.1);
}

.home-card {
  border: 1px solid rgba(27, 47, 37, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(18, 24, 18, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.home-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(27, 47, 37, 0.08);
  background: rgba(27, 47, 37, 0.04);
  color: var(--vf-pine);
}

.home-section--gallery .gallery-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.home-section--gallery .gallery-highlight {
  min-width: 0;
}

.home-tabs .nav-link {
  color: var(--vf-pine);
  border: 1px solid rgba(27, 47, 37, 0.15);
  background: rgba(255, 255, 255, 0.7);
}

.home-tabs .nav-link:hover {
  color: var(--vf-fir);
}

.home-tabs .nav-link.active {
  color: #f7f3ea;
  background: linear-gradient(135deg, var(--vf-pine), var(--vf-fir));
  border-color: transparent;
}

.home-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(27, 47, 37, 0.12);
  color: var(--vf-pine);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.home-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-section--carousel {
  padding: 2.4rem;
}

.home-carousel .carousel-inner {
  padding-bottom: 0.5rem;
}

.home-carousel .carousel-control-prev,
.home-carousel .carousel-control-next {
  width: 48px;
}

.home-carousel .carousel-control-prev-icon,
.home-carousel .carousel-control-next-icon {
  background-color: rgba(27, 47, 37, 0.85);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  background-size: 55%;
  background-position: center;
}

.ferret-card {
  border: 1px solid rgba(27, 47, 37, 0.08);
}

.ferret-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ferret-grid--fixed {
  grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
  justify-content: center;
}

.ferret-card__media {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: #f1efe6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ferret-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ferret-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: rgba(27, 47, 37, 0.5);
}

.ferret-card__body {
  margin-top: 1rem;
}

.testimonial-card {
  background: linear-gradient(120deg, rgba(27, 47, 37, 0.92), rgba(45, 70, 58, 0.92));
  color: #f7f3ea;
  border-radius: 22px;
  padding: 2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 32px rgba(18, 24, 18, 0.2);
}

.testimonial-card__quote {
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-card__meta {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
  color: rgba(247, 243, 234, 0.8);
}

.forum-activity .list-group-item {
  border-radius: 16px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(27, 47, 37, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 28px rgba(18, 24, 18, 0.08);
}

.forum-activity .list-group-item:hover {
  background: #ffffff;
}

.forum-activity .badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vf-pine);
}

.gallery-grid--compact .gallery-card__media img {
  height: 200px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.section-header h2 {
  margin: 0;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--vf-amber), rgba(202, 163, 87, 0.3));
  border-radius: 999px;
  margin-top: 0.5rem;
}

.section-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--vf-river);
  text-decoration: none;
}

.section-hint {
  font-size: 0.85rem;
  color: #5f6d62;
}

.card {
  border: none;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(18, 24, 18, 0.12);
  background: #ffffff;
}

.news-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid rgba(27, 47, 37, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(18, 24, 18, 0.16);
}

:root {
  --news-hero-ratio: 16 / 6;
}

.news-card__media {
  width: 100%;
  aspect-ratio: var(--news-hero-ratio);
  border-radius: 14px;
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card__media img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  border-radius: 14px;
}

.news-card__body {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.news-feature {
  border: 1px solid rgba(27, 47, 37, 0.12);
}

.news-list .list-group-item {
  border-radius: 14px;
  margin-bottom: 0.7rem;
  border: 1px solid rgba(27, 47, 37, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 24px rgba(18, 24, 18, 0.08);
}

.news-list .list-group-item:last-child {
  margin-bottom: 0;
}

.news-list .list-group-item:hover {
  background: #ffffff;
}

.news-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a877c;
}

.news-card__meta i {
  color: var(--vf-amber);
}

.news-card__excerpt {
  color: #4e5d53;
  margin-bottom: 0;
}

.news-card__link {
  margin-top: auto;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--vf-river);
  text-decoration: none;
}

.news-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: stretch;
}

.news-card--featured .news-card__media img {
  height: 100%;
  min-height: 240px;
}

.news-card--featured .news-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
  justify-content: center;
}

.gallery-header {
  margin-bottom: 1.5rem;
}

.gallery-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.gallery-breadcrumb__sep {
  color: #7b857a;
}

.gallery-thumb {
  width: 100%;
  height: 240px;
  object-fit: contain;
  border-radius: 12px;
}

.gallery-full {
  width: 100%;
  border-radius: 16px;
}

.gallery-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-card {
  border: 1px solid rgba(27, 47, 37, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(18, 24, 18, 0.16);
}

.gallery-card__body {
  margin-top: 0.75rem;
}

.forum-card ul {
  padding-left: 1rem;
}

.forum-panel {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(27, 47, 37, 0.1);
  box-shadow: 0 20px 40px rgba(18, 24, 18, 0.12);
  overflow: hidden;
  margin-bottom: 2rem;
  --forum-stat: 110px;
  --forum-last: clamp(160px, 18vw, 210px);
}

.forum-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) var(--forum-stat) var(--forum-stat) var(--forum-last);
  gap: 1rem;
  align-items: center;
  background: linear-gradient(120deg, rgba(27, 47, 37, 0.95), rgba(54, 83, 70, 0.95));
  color: #f7f3ea;
  padding: 0.85rem 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
}

.forum-panel__head--simple {
  grid-template-columns: 1fr;
}

.forum-panel__head--actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.forum-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.forum-panel__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  grid-column: 1 / 2;
}

.forum-panel__col {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(247, 243, 234, 0.85);
  min-width: 0;
}

.forum-panel__body {
  background: #ffffff;
}

.forum-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) var(--forum-stat) var(--forum-stat) var(--forum-last);
  gap: 1rem;
  padding: 1rem 1.2rem;
  align-items: center;
  border-top: 1px solid rgba(27, 47, 37, 0.08);
}

.forum-row:first-child {
  border-top: none;
}

.forum-panel--threads .forum-panel__head {
  grid-template-columns: minmax(0, 1.6fr) var(--forum-stat) var(--forum-last);
}

.forum-panel--threads .forum-row {
  grid-template-columns: minmax(0, 1.6fr) var(--forum-stat) var(--forum-last);
}

.forum-cell {
  min-width: 0;
}

.forum-cell--main {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.forum-cell--stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
}

.forum-cell--last {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.forum-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(27, 47, 37, 0.1);
  color: var(--vf-pine);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.forum-board__title,
.forum-last__title {
  font-weight: 600;
  color: var(--vf-pine);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.35;
}

.forum-last__title {
  display: block;
}

.forum-board__desc {
  font-size: 0.9rem;
  color: #4f5d53;
}

.forum-thread__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.forum-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(27, 47, 37, 0.12);
  color: var(--vf-pine);
}

.forum-badge--pin {
  background: rgba(202, 163, 87, 0.2);
  color: #7b5b1f;
}

.forum-badge--lock {
  background: rgba(27, 47, 37, 0.18);
  color: #2f3a33;
}

.forum-badge--closed {
  background: rgba(111, 124, 115, 0.2);
  color: #4d5a52;
}

.forum-stat {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--vf-pine);
}

.forum-stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f7c73;
}

.forum-last__meta {
  font-size: 0.8rem;
  color: #5f6d62;
  margin-top: 0.2rem;
}

.forum-hero {
  margin-bottom: 2rem;
}

.forum-section {
  margin-top: 2.5rem;
}

.forum-toggle-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.forum-toggle-bar--center {
  justify-content: center;
  text-align: center;
}

.forum-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.forum-login-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(190, 52, 52, 0.6);
  color: #b43b3b;
  background: rgba(255, 235, 235, 0.6);
  font-weight: 600;
}

.forum-login-alert {
  margin-bottom: 0;
}

.forum-login-center {
  width: 100%;
  display: flex;
  justify-content: center;
}

.forum-toggle-bar--center .forum-login-alert {
  margin: 0 auto;
}

.forum-login-center .forum-login-alert {
  max-width: 520px;
  text-align: center;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  border-radius: 12px;
}

.forum-panel--toggle {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 320ms ease, opacity 220ms ease, transform 220ms ease;
}

.forum-panel--toggle.is-open {
  max-height: 2000px;
  opacity: 1;
  transform: translateY(0);
}

.forum-board-card h3 a {
  color: var(--vf-pine);
}

.forum-thread-list {
  border-radius: 18px;
  overflow: hidden;
}

.forum-thread {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(31, 47, 38, 0.08);
}

.forum-thread:last-child {
  border-bottom: none;
}

.forum-meta {
  font-size: 0.85rem;
  color: #5f6d62;
}

.forum-thread__stats {
  font-size: 0.85rem;
  color: #5f6d62;
  text-align: right;
  min-width: 120px;
}

.forum-post {
  margin-bottom: 1rem;
}

.forum-post__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.forum-compose textarea {
  min-height: 140px;
}

.forum-editor {
  display: grid;
  gap: 0.75rem;
}

.forum-editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.forum-editor__canvas {
  min-height: 220px;
  padding: 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(27, 47, 37, 0.15);
  border-radius: 12px;
}

.forum-editor__canvas:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(108, 138, 100, 0.25);
}

.forum-editor__canvas::after {
  content: '';
  display: block;
  clear: both;
}

.forum-editor__canvas img {
  max-width: 100%;
  height: auto;
  display: block;
}

.forum-attachments-editor {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.forum-attachment-preview {
  position: relative;
  border: 1px solid rgba(27, 47, 37, 0.12);
  border-radius: 12px;
  background: #fdfbf6;
  padding: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
}

.forum-attachment-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.forum-attachment-preview button {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 0.15rem 0.35rem;
}

.forum-attachments {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  clear: both;
  gap: 0.8rem;
}

.forum-attachment {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(27, 47, 37, 0.12);
  background: #fdfbf6;
  width: 90px;
  height: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.forum-attachment img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #f7f3ea;
}

.forum-editor__canvas blockquote,
.forum-post-card__content blockquote {
  position: relative;
  margin: 1rem 0;
  padding: 1rem 1.6rem;
  border-left: 4px solid rgba(202, 163, 87, 0.7);
  background: rgba(27, 47, 37, 0.04);
  border-radius: 12px;
  font-style: italic;
  color: #314237;
  clear: both;
}

.forum-editor__canvas blockquote::before,
.forum-editor__canvas blockquote::after,
.forum-post-card__content blockquote::before,
.forum-post-card__content blockquote::after {
  content: '"';
  position: absolute;
  font-size: 2.4rem;
  color: rgba(202, 163, 87, 0.7);
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  line-height: 1;
}

.forum-editor__canvas blockquote::before,
.forum-post-card__content blockquote::before {
  top: 0.2rem;
  left: 0.5rem;
}

.forum-editor__canvas blockquote::after,
.forum-post-card__content blockquote::after {
  bottom: 0.2rem;
  right: 0.7rem;
}

.forum-text--sm { font-size: 0.9rem; }
.forum-text--md { font-size: 1rem; }
.forum-text--lg { font-size: 1.2rem; }

.forum-embed {
  display: inline-block;
  margin: 0.6rem auto;
  border: 1px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  position: relative;
  padding: 0;
  cursor: default;
  user-select: none;
}

.forum-embed img {
  width: 100%;
  height: auto;
  display: block;
}

.forum-embed.is-selected {
  border-color: rgba(202, 163, 87, 0.6);
  box-shadow: 0 0 0 2px rgba(202, 163, 87, 0.25);
}

.forum-embed.is-dragging {
  opacity: 0.6;
  cursor: grabbing;
}

.forum-embed.is-resize-hotspot,
.forum-embed.is-resizing {
  cursor: nwse-resize;
}

.forum-embed__handle {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(27, 47, 37, 0.65);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(18, 24, 18, 0.25);
  cursor: nwse-resize;
  display: none;
  touch-action: none;
  pointer-events: auto;
  z-index: 2;
}

.forum-embed__handle::after {
  content: '';
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
}

.forum-embed.is-selected .forum-embed__handle,
.forum-embed:hover .forum-embed__handle,
.forum-embed.is-resize-hotspot .forum-embed__handle,
.forum-embed.is-resizing .forum-embed__handle {
  display: block;
}

.forum-editor__canvas .forum-embed {
  cursor: grab;
}

.forum-post-card__content .forum-embed__handle {
  display: none !important;
}

.forum-post-card__content .forum-embed {
  cursor: default;
}

.forum-embed-placeholder {
  display: inline-block;
  width: 0;
  height: 1.4em;
  border-left: 2px solid rgba(202, 163, 87, 0.85);
  margin: 0 2px;
  vertical-align: text-bottom;
  pointer-events: none;
}

.forum-embed-placeholder.is-block {
  display: block;
  width: 100%;
  height: 0;
  border-left: none;
  border-top: 3px solid rgba(202, 163, 87, 0.8);
  margin: 0.6rem 0;
}

.forum-embed--resizing * {
  cursor: nwse-resize !important;
}

.forum-embed--align-left {
  float: left;
  margin: 0.4rem 1rem 0.6rem 0;
}

.forum-embed--align-right {
  float: right;
  margin: 0.4rem 0 0.6rem 1rem;
}

.forum-embed--align-center {
  margin-left: auto;
  margin-right: auto;
  clear: both;
  display: block;
}

.forum-embed--size-10 { width: 10%; }
.forum-embed--size-12 { width: 12%; }
.forum-embed--size-14 { width: 14%; }
.forum-embed--size-16 { width: 16%; }
.forum-embed--size-18 { width: 18%; }
.forum-embed--size-20 { width: 20%; }
.forum-embed--size-22 { width: 22%; }
.forum-embed--size-24 { width: 24%; }
.forum-embed--size-26 { width: 26%; }
.forum-embed--size-28 { width: 28%; }
.forum-embed--size-30 { width: 30%; }
.forum-embed--size-32 { width: 32%; }
.forum-embed--size-34 { width: 34%; }
.forum-embed--size-36 { width: 36%; }
.forum-embed--size-38 { width: 38%; }
.forum-embed--size-40 { width: 40%; }
.forum-embed--size-42 { width: 42%; }
.forum-embed--size-44 { width: 44%; }
.forum-embed--size-46 { width: 46%; }
.forum-embed--size-48 { width: 48%; }
.forum-embed--size-50 { width: 50%; }
.forum-embed--size-52 { width: 52%; }
.forum-embed--size-54 { width: 54%; }
.forum-embed--size-56 { width: 56%; }
.forum-embed--size-58 { width: 58%; }
.forum-embed--size-60 { width: 60%; }
.forum-embed--size-62 { width: 62%; }
.forum-embed--size-64 { width: 64%; }
.forum-embed--size-66 { width: 66%; }
.forum-embed--size-68 { width: 68%; }
.forum-embed--size-70 { width: 70%; }
.forum-embed--size-72 { width: 72%; }
.forum-embed--size-74 { width: 74%; }
.forum-embed--size-76 { width: 76%; }
.forum-embed--size-78 { width: 78%; }
.forum-embed--size-80 { width: 80%; }
.forum-embed--size-82 { width: 82%; }
.forum-embed--size-84 { width: 84%; }
.forum-embed--size-86 { width: 86%; }
.forum-embed--size-88 { width: 88%; }
.forum-embed--size-90 { width: 90%; }
.forum-embed--size-92 { width: 92%; }
.forum-embed--size-94 { width: 94%; }
.forum-embed--size-96 { width: 96%; }
.forum-embed--size-98 { width: 98%; }
.forum-embed--size-100 { width: 100%; }

.forum-post-card__moderate {
  margin: 0;
}

.forum-post-card__moderate summary {
  list-style: none;
}

.forum-post-card__moderate summary::-webkit-details-marker {
  display: none;
}

.forum-mod-tools,
.forum-mod-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.forum-mod-tools {
  margin-top: 0.5rem;
}

.forum-mod-bar {
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.forum-thread-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.forum-mod-tools form,
.forum-mod-bar form,
.forum-post-card__tools form {
  margin: 0;
}

.forum-post-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-top: 1px solid rgba(27, 47, 37, 0.08);
  align-items: flex-start;
}

.forum-post-card--focus {
  border-color: rgba(202, 163, 87, 0.7);
  box-shadow: 0 0 0 0.2rem rgba(202, 163, 87, 0.25);
}

.forum-post-card__sidebar {
  width: 170px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #4b5a51;
}

.forum-post-card__name {
  font-weight: 600;
  color: var(--vf-pine);
  text-align: center;
  width: 100%;
}

.forum-post-card__name a {
  color: inherit;
  text-decoration: none;
}

.forum-post-card__name a:hover {
  text-decoration: underline;
}

.forum-post-card__info {
  display: grid;
  gap: 0.25rem;
  font-size: 0.82rem;
}

.forum-post-card__info-row {
  display: flex;
  gap: 0.4rem;
}

.forum-post-card__info-label {
  font-weight: 700;
  color: #5a685f;
}

.forum-post-card__info-value {
  color: #2f3a33;
}

.forum-post-card:first-child {
  border-top: none;
}

.forum-post-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(27, 47, 37, 0.1);
  color: var(--vf-pine);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.forum-post-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-lg {
  width: 56px;
  height: 56px;
  object-fit: cover;
}

.avatar-xl {
  width: 108px;
  height: 108px;
  object-fit: cover;
}

.avatar-placeholder {
  background: rgba(27, 47, 37, 0.12);
}

.avatar-icon {
  font-size: 1.5rem;
  color: #2f3a33;
}

.avatar-icon-lg {
  font-size: 2.2rem;
  color: #2f3a33;
}

.rank-badge-sm {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
}

.rank-badge-md {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
}

.forum-post-card__body {
  flex: 1;
  min-width: 0;
}

.forum-post-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #5f6d62;
  margin-bottom: 0.4rem;
}

.forum-post-card__notice {
  font-size: 0.8rem;
  color: #6f7c73;
  margin-bottom: 0.35rem;
}

.forum-post-card__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
  align-items: center;
}

.forum-post-card__tools--split {
  justify-content: space-between;
}

.forum-post-card__tools-left,
.forum-post-card__tools-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.forum-post-card__tools-right {
  margin-left: auto;
}

.forum-post-card__mod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.4rem;
}

.forum-post-card__tools .btn,
.forum-post-card__moderate .btn {
  white-space: nowrap;
}

.forum-post-card--hidden {
  background: rgba(27, 47, 37, 0.04);
}

.forum-post-card__author {
  font-weight: 600;
  color: var(--vf-pine);
}

.forum-post-card__author a {
  color: inherit;
  text-decoration: none;
}

.forum-post-card__author a:hover {
  text-decoration: underline;
}

.forum-post-card__content {
  color: #2f3a33;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.forum-post-card__content::after {
  content: '';
  display: block;
  clear: both;
}

.forum-post-edit {
  margin-top: 0.6rem;
  border: 1px solid rgba(27, 47, 37, 0.12);
  border-radius: 16px;
  background: #ffffff;
}

.forum-lock-note {
  background: rgba(27, 47, 37, 0.1);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  color: #4d5a52;
  margin-top: 1.5rem;
}

.page-card {
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(18, 24, 18, 0.15);
}

.cta-banner {
  margin: 3rem 0;
  padding: 2.2rem 2.6rem;
  background: linear-gradient(120deg, rgba(27, 47, 37, 0.95), rgba(202, 163, 87, 0.75));
  border-radius: 26px;
  color: #f8f4ed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 24px 50px rgba(17, 24, 19, 0.28);
}

.cta-banner h2 {
  color: #f8f4ed;
  margin-bottom: 0.4rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--vf-pine), var(--vf-fir));
  border: none;
}

.btn-outline-primary {
  color: var(--vf-pine);
  border-color: var(--vf-pine);
}

.btn-light {
  color: var(--vf-pine);
  font-weight: 600;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #f8f4ed;
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid rgba(27, 47, 37, 0.18);
}

.upload-progress {
  max-width: 320px;
}

.contact-form-wrap {
  overflow: hidden;
  max-height: 2000px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 360ms ease, opacity 220ms ease, transform 220ms ease;
}

.contact-form-wrap.is-hidden {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.news-article .news-hero {
  width: 100%;
  aspect-ratio: var(--news-hero-ratio);
  max-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 20px 40px rgba(18, 24, 18, 0.2);
}

.news-article .news-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-text--sm { font-size: 0.95rem; }
.news-text--md { font-size: 1rem; }
.news-text--lg { font-size: 1.2rem; }

.news-article .news-embed {
  display: block;
  margin: 1rem auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(22, 31, 25, 0.08);
  border: 1px solid rgba(27, 47, 37, 0.08);
  background: #ffffff;
}

.news-article .news-embed img {
  width: 100%;
  height: auto;
  display: block;
}

.news-article .news-embed--align-left {
  float: left;
  margin: 0.6rem 1.2rem 0.6rem 0;
}

.news-article .news-embed--align-right {
  float: right;
  margin: 0.6rem 0 0.6rem 1.2rem;
}

.news-article .news-embed--align-center {
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

.news-article blockquote {
  position: relative;
  margin: 1.2rem 0;
  padding: 1.2rem 2.2rem;
  border-left: 4px solid rgba(202, 163, 87, 0.7);
  background: rgba(27, 47, 37, 0.05);
  border-radius: 18px;
  font-style: italic;
  color: #33453a;
  box-shadow: 0 12px 24px rgba(18, 24, 18, 0.08);
  clear: both;
}

.news-article blockquote::before,
.news-article blockquote::after {
  content: '"';
  position: absolute;
  font-size: 2.8rem;
  color: rgba(202, 163, 87, 0.75);
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  line-height: 1;
}

.news-article blockquote::before {
  top: 0.3rem;
  left: 0.6rem;
}

.news-article blockquote::after {
  bottom: 0.3rem;
  right: 0.8rem;
}

.news-article .news-embed--size-10 { width: 10%; }
.news-article .news-embed--size-12 { width: 12%; }
.news-article .news-embed--size-14 { width: 14%; }
.news-article .news-embed--size-16 { width: 16%; }
.news-article .news-embed--size-18 { width: 18%; }
.news-article .news-embed--size-20 { width: 20%; }
.news-article .news-embed--size-22 { width: 22%; }
.news-article .news-embed--size-24 { width: 24%; }
.news-article .news-embed--size-26 { width: 26%; }
.news-article .news-embed--size-28 { width: 28%; }
.news-article .news-embed--size-30 { width: 30%; }
.news-article .news-embed--size-32 { width: 32%; }
.news-article .news-embed--size-34 { width: 34%; }
.news-article .news-embed--size-36 { width: 36%; }
.news-article .news-embed--size-38 { width: 38%; }
.news-article .news-embed--size-40 { width: 40%; }
.news-article .news-embed--size-42 { width: 42%; }
.news-article .news-embed--size-44 { width: 44%; }
.news-article .news-embed--size-46 { width: 46%; }
.news-article .news-embed--size-48 { width: 48%; }
.news-article .news-embed--size-50 { width: 50%; }
.news-article .news-embed--size-52 { width: 52%; }
.news-article .news-embed--size-54 { width: 54%; }
.news-article .news-embed--size-56 { width: 56%; }
.news-article .news-embed--size-58 { width: 58%; }
.news-article .news-embed--size-60 { width: 60%; }
.news-article .news-embed--size-62 { width: 62%; }
.news-article .news-embed--size-64 { width: 64%; }
.news-article .news-embed--size-66 { width: 66%; }
.news-article .news-embed--size-68 { width: 68%; }
.news-article .news-embed--size-70 { width: 70%; }
.news-article .news-embed--size-72 { width: 72%; }
.news-article .news-embed--size-74 { width: 74%; }
.news-article .news-embed--size-76 { width: 76%; }
.news-article .news-embed--size-78 { width: 78%; }
.news-article .news-embed--size-80 { width: 80%; }
.news-article .news-embed--size-82 { width: 82%; }
.news-article .news-embed--size-84 { width: 84%; }
.news-article .news-embed--size-86 { width: 86%; }
.news-article .news-embed--size-88 { width: 88%; }
.news-article .news-embed--size-90 { width: 90%; }
.news-article .news-embed--size-92 { width: 92%; }
.news-article .news-embed--size-94 { width: 94%; }
.news-article .news-embed--size-96 { width: 96%; }
.news-article .news-embed--size-98 { width: 98%; }
.news-article .news-embed--size-100 { width: 100%; }

.news-article .card::after {
  content: '';
  display: block;
  clear: both;
}

.news-article .card {
  border-radius: 22px;
}

.news-article__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #6f7c73;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.news-article__meta i {
  color: var(--vf-amber);
}

.error-card {
  border-radius: 22px;
  background: #fffaf3;
  border: 1px solid rgba(27, 47, 37, 0.08);
  box-shadow: 0 16px 30px rgba(22, 31, 25, 0.08);
  max-width: 720px;
  margin: 0 auto;
}

.biscuit-alert {
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(22, 31, 25, 0.12);
}

footer {
  color: #6f7c73;
  padding: 1.6rem 0 2rem;
}

.site-footer {
  background: linear-gradient(120deg, rgba(27, 47, 37, 0.95), rgba(30, 49, 40, 0.98));
  color: #f7f3ea;
  width: 100%;
  margin-top: auto;
}

.site-footer .container {
  padding: 1.6rem 0;
}

.site-footer h3 {
  color: #f7f3ea;
  margin-bottom: 0.8rem;
}

.footer-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-list li {
  margin-bottom: 0.6rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.footer-list a {
  color: #f7f3ea;
  text-decoration: none;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.8rem;
  color: #f7f3ea;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.7rem;
  font-size: 0.8rem;
  color: rgba(247, 243, 234, 0.7);
  text-align: center;
}

.ferret-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ferret-search {
  width: min(360px, 100%);
}

.ferret-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(27, 47, 37, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ferret-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(18, 24, 18, 0.16);
}

.ferret-card__media {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(27, 47, 37, 0.06);
  display: grid;
  place-items: center;
}

.ferret-grid.ferret-grid--fixed {
  grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
  justify-content: center;
}

.ferret-grid.ferret-grid--fixed .ferret-card {
  max-width: 280px;
  width: 100%;
}

.ferret-grid.ferret-grid--fixed .ferret-card__media {
  height: 220px;
}

.ferret-grid--fixed .ferret-card__media {
  height: 220px;
}

.ferret-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ferret-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: rgba(27, 47, 37, 0.4);
  background: rgba(27, 47, 37, 0.08);
  border-radius: 12px;
}

.ferret-card__body {
  margin-top: 0.6rem;
}

.ferret-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.75rem;
  color: #6f7c73;
}

.ferret-profile__media {
  width: 100%;
}

.ferret-profile__img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(18, 24, 18, 0.18);
}

.ferret-profile__placeholder {
  width: 100%;
  height: 400px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  color: rgba(27, 47, 37, 0.4);
  background: rgba(27, 47, 37, 0.08);
}

.ferret-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.9rem;
}

.ferret-parent-card {
  border-radius: 16px;
  border: 1px solid rgba(27, 47, 37, 0.12);
  padding: 0.9rem;
  background: #ffffff;
}

.ferret-parent-card__label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b796f;
  margin-bottom: 0.5rem;
}

.ferret-parent-card__body {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.ferret-parent-card__body img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.ferret-parent-card__placeholder {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(27, 47, 37, 0.08);
  color: rgba(27, 47, 37, 0.5);
}

.ferret-parent-card__name {
  font-weight: 600;
  color: var(--vf-pine);
}

.ferret-parent-card__empty {
  font-size: 0.9rem;
  color: #7a877c;
}

.pedigree-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.pedigree-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pedigree-scroll {
  overflow-x: auto;
  padding-bottom: 1rem;
}

.pedigree-loading {
  padding: 2rem;
  color: #6f7c73;
}

.pedigree-node {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.pedigree-node + .pedigree-node {
  margin-top: 1.2rem;
}

.pedigree-parents {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  padding-left: 1.5rem;
}

.pedigree-parents::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 1px;
  background: rgba(27, 47, 37, 0.2);
}

.pedigree-card {
  min-width: 240px;
  max-width: 240px;
  border-radius: 16px;
  border: 1px solid rgba(27, 47, 37, 0.12);
  padding: 0.75rem;
  background: #ffffff;
  position: relative;
  cursor: pointer;
}

.pedigree-card__media {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(27, 47, 37, 0.08);
  display: grid;
  place-items: center;
}

.pedigree-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pedigree-card__placeholder {
  font-size: 1.6rem;
  color: rgba(27, 47, 37, 0.5);
}

.pedigree-card__body {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.2rem;
}

.pedigree-card__name {
  font-weight: 600;
  color: var(--vf-pine);
}

.pedigree-card__meta {
  font-size: 0.78rem;
  color: #6f7c73;
}

.pedigree-card__empty {
  text-align: center;
  color: #6f7c73;
  font-size: 0.9rem;
  padding: 0.75rem 0;
}

.pedigree-node.has-parents > .pedigree-card::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 50%;
  width: 1.5rem;
  height: 1px;
  background: rgba(27, 47, 37, 0.2);
}

.pedigree-parents > .pedigree-node > .pedigree-card::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 50%;
  width: 1.5rem;
  height: 1px;
  background: rgba(27, 47, 37, 0.2);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .animate-hero {
    animation: floatIn 700ms ease-out both;
  }

  .reveal {
    animation: fadeUp 700ms ease-out both;
  }

  .delay-1 { animation-delay: 120ms; }
  .delay-2 { animation-delay: 240ms; }
  .delay-3 { animation-delay: 360ms; }
  .delay-4 { animation-delay: 480ms; }
  .delay-5 { animation-delay: 600ms; }
}

@media (min-width: 992px) {
  .home-section--gallery .gallery-highlights {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .hero--home {
    grid-template-columns: 1fr;
  }

  .news-card--featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .forum-panel__head {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .forum-panel__col {
    display: none;
  }

  .forum-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .forum-cell--stat,
  .forum-cell--last {
    align-items: flex-start;
    text-align: left;
  }

  .forum-post-card__sidebar {
    width: 140px;
  }

  .pedigree-node {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .hero--home {
    padding: 2.2rem;
  }

  .navbar::before {
    width: 140px;
    height: 140px;
    left: 10px;
    top: 0px;
    opacity: 1;
  }

  .home-section {
    padding: 1.8rem;
  }

  .forum-thread {
    flex-direction: column;
    align-items: flex-start;
  }

  .forum-thread__stats {
    text-align: left;
  }

  .forum-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
  }

  .forum-panel--threads .forum-row {
    grid-template-columns: minmax(0, 1fr) var(--forum-stat) var(--forum-last);
  }

  .forum-cell--stat {
    min-width: 72px;
  }

  .forum-cell--last {
    grid-column: auto;
  }

  .forum-last__meta {
    font-size: 0.75rem;
  }

  .forum-panel__head--actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .forum-panel__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .forum-thread-actions {
    justify-content: flex-start;
  }

  .forum-post-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .forum-post-card {
    flex-direction: row;
  }

  .forum-post-card__sidebar {
    width: 130px;
    align-items: flex-start;
  }

  .forum-post-card__avatar {
    width: 56px;
    height: 56px;
    margin-left: 0;
    margin-right: 0;
  }

  .forum-post-card__name {
    text-align: left;
  }

  .forum-post-card__info {
    font-size: 0.78rem;
  }

  .forum-post-card__mod-actions {
    width: 100%;
  }

  .ferret-profile__img {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
  }

  .hero--home {
    padding: 1.6rem;
    gap: 1.2rem;
  }

  .hero__copy h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__photo {
    min-height: 200px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .home-section {
    padding: 1.4rem;
  }

  .home-section--carousel {
    padding: 1.6rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header h2::after {
    width: 48px;
  }

  .section-link {
    margin-top: 0.35rem;
  }

  .news-list .list-group-item .d-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .gallery-grid--compact .gallery-card__media img {
    height: 160px;
  }

  .gallery-card__media img {
    height: 200px;
  }

  .home-section--gallery .gallery-card {
    padding: 0.9rem;
  }

  .home-section--gallery .gallery-card__media {
    border-radius: 14px;
    overflow: hidden;
    background: #f1efe6;
  }

  .home-section--gallery .gallery-card__media img {
    height: 160px;
    object-fit: cover;
  }

  .home-section--gallery .gallery-card__body {
    margin-top: 0.5rem;
  }

  .home-section--gallery .gallery-card__body p {
    font-size: 0.85rem;
  }

  .forum-panel__head,
  .forum-row {
    padding: 0.85rem 1rem;
  }

  .forum-cell--main {
    flex-direction: column;
    align-items: flex-start;
  }

  .forum-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .forum-cell--stat {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .forum-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .forum-panel--threads .forum-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .forum-cell--stat {
    min-width: 64px;
  }

  .forum-stat {
    font-size: 1rem;
  }

  .forum-stat__label {
    font-size: 0.65rem;
  }

  .forum-board__title,
  .forum-last__title,
  .forum-board__desc {
    overflow-wrap: anywhere;
  }

  .forum-cell--last {
    display: none;
  }

  .forum-mod-tools {
    display: none;
  }

  .forum-post-card {
    flex-direction: row;
    gap: 0.6rem;
  }

  .forum-post-card__sidebar {
    width: 90px;
  }

  .forum-post-card__avatar {
    width: 44px;
    height: 44px;
  }

  .forum-attachment {
    width: 50px;
    height: 50px;
  }

  .forum-post-card__tools--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .forum-post-card__tools-right {
    margin-left: 0;
  }
}



