/* WildSmiths - Custom Theme CSS */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;600&family=Open+Sans:ital,wght@0,400;0,600;1,400&display=swap');

/* ========================
   CUSTOM PROPERTIES
   ======================== */
:root {
  --accent: #BC926B;
  --accent-dark: #9a7050;
  --dark: #0F0F0F;
  --nav-bg: #2d2d2d;
  --bg: #FBFBFB;
  --text: #333;
  --text-muted: #777;
  --border: #e0d8d0;
  --max-width: 1100px;
}

/* ========================
   RESET & BASE
   ======================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Droid Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0;
}

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

/* ========================
   SITE HEADER (unified, fixed)
   ======================== */
body {
  padding-top: 64px;
}

body.is-home {
  padding-top: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 64px;
  background: var(--nav-bg);
  border-bottom: 2px solid var(--accent);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.site-header.is-home {
  background: transparent;
  border-bottom-color: transparent;
}

.site-header.is-home.is-scrolled {
  background: var(--nav-bg);
  border-bottom-color: var(--accent);
}

.header-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo:hover {
  text-decoration: none;
}

.header-logo-img {
  height: 40px;
  width: auto;
}

.header-brand {
  display: flex;
  flex-direction: column;
}

.header-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  line-height: 1;
}

.header-tagline {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ========================
   NAVIGATION
   ======================== */
.header-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  line-height: 1;
  padding: 8px;
  user-select: none;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 0 14px;
  height: 64px;
  line-height: 64px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: color 0.15s;
}

.nav-item > a:hover {
  color: white;
  text-decoration: none;
}

.nav-item.has-children > a::after {
  content: ' ▾';
  font-size: 0.65em;
  opacity: 0.6;
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #2a2a2a;
  min-width: 200px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-top: 2px solid var(--accent);
}

.nav-item.has-children:hover .nav-sub {
  display: block;
}

.nav-sub li a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 9px 18px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.15s;
}

.nav-sub li a:hover {
  color: var(--accent);
}

/* ========================
   HERO
   ======================== */
.hero {
  position: relative;
  overflow: hidden;
  height: clamp(280px, 38vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner {
  position: absolute;
  inset: 0;
}

.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-intro {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px;
  animation: heroFadeIn 1.2s ease both;
}

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

.hero-eyebrow {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
  animation: heroFadeIn 1.2s 0.1s ease both;
}

.hero-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(4.5rem, 11vw, 9rem);
  font-weight: 400;
  color: white;
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  animation: heroFadeIn 1.2s 0.2s ease both;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-tagline {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.03em;
  margin: 0 0 44px;
  animation: heroFadeIn 1.2s 0.3s ease both;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeIn 1.2s 0.45s ease both;
}

.hero-btn-primary {
  display: inline-block;
  padding: 14px 34px;
  background: var(--accent);
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

.hero-btn-primary:hover {
  background: var(--accent-dark);
  color: white;
  text-decoration: none;
}

.hero-btn-ghost {
  display: inline-block;
  padding: 13px 34px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.hero-btn-ghost:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-decoration: none;
}

/* ========================
   SITE CONTENT WRAPPER
   ======================== */
.site-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 36px 24px 60px;
}

/* ========================
   TYPOGRAPHY
   ======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.3;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; color: #444; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

.page-title {
  font-size: 2rem;
  color: var(--dark);
  margin-top: 0;
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

p {
  margin: 0 0 1.1em;
}

ul, ol {
  padding-left: 1.5em;
  margin: 0 0 1.1em;
}

li {
  margin-bottom: 0.3em;
}

/* ========================
   BLOCKQUOTES
   ======================== */
blockquote {
  margin: 2em 0;
  padding: 1.4em 2em 1.4em 1.8em;
  border-left: 4px solid var(--accent);
  background: rgba(188, 146, 107, 0.07);
  font-style: italic;
  color: #555;
  text-align: center;
  border-radius: 0 4px 4px 0;
  quotes: "\201C" "\201D" "\2018" "\2019";
}

blockquote p {
  margin: 0;
  font-size: 1.05rem;
}

blockquote p:first-of-type::before {
  content: open-quote;
}

blockquote p:last-of-type::after {
  content: close-quote;
}

blockquote cite {
  display: block;
  margin-top: 0.7em;
  font-size: 0.82rem;
  color: #999;
  font-style: normal;
  letter-spacing: 0.03em;
}

/* ========================
   FIGURES & IMAGES
   ======================== */
figure {
  margin: 1.5em 0;
}

figure img {
  border-radius: 2px;
}

figcaption,
.wp-element-caption {
  font-size: 0.78rem;
  color: #999;
  margin-top: 6px;
  font-style: italic;
  line-height: 1.4;
}

/* WordPress alignment classes */
.alignright {
  float: right;
  margin: 0.2em 0 1.2em 2em;
  max-width: 45%;
}

.alignleft {
  float: left;
  margin: 0.2em 2em 1.2em 0;
  max-width: 45%;
}

.aligncenter {
  display: block;
  margin: 1em auto;
  text-align: center;
}

.wp-block-image {
  margin: 1.5em 0;
}

.wp-block-image.is-style-default figure {
  margin: 0;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ========================
   HORIZONTAL RULES
   ======================== */
hr,
.wp-block-separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

/* ========================
   TABLES
   ======================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9rem;
}

th {
  background: var(--nav-bg);
  color: white;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  padding: 10px 14px;
  text-align: left;
}

td {
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
}

tr:nth-child(even) td {
  background: rgba(188, 146, 107, 0.06);
}

/* ========================
   POST / PAGE CONTENT
   ======================== */
.post-header {
  margin-bottom: 28px;
}

.post-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.post-body,
.page-body {
  /* clearfix for floated images */
}

.post-body::after,
.page-body::after {
  content: "";
  display: table;
  clear: both;
}

/* ========================
   POST LIST
   ======================== */
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-list-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.post-list-item:first-child {
  padding-top: 0;
}

.post-list-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 4px;
}

.post-list-title a {
  color: var(--dark);
  text-decoration: none;
}

.post-list-title a:hover {
  color: var(--accent);
}

.post-list-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.post-list-summary {
  font-size: 0.93rem;
  color: #555;
  margin: 0;
  line-height: 1.7;
}

/* Section header for list pages */
.list-header {
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
}

/* ========================
   HOME PAGE
   ======================== */
.home-main {
  border-top: 3px solid var(--accent);
}

.home-content {
  max-width: 780px;
}

/* WordPress text alignment classes */
.has-text-align-left { text-align: left; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }

/* WP large font paragraph */
p.has-large-font-size {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  color: #444;
}

.tripadvisor-section {
  margin: 2.8rem 0 0;
  padding: 1.6rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #f6f3ed 0%, #f2eee7 100%);
}

.tripadvisor-section-kicker {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tripadvisor-section-title {
  margin: 0.35rem 0 0;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 0.95;
  color: var(--dark);
}

.tripadvisor-section-intro {
  margin: 0.7rem 0 0;
  max-width: 60ch;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.tripadvisor-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.tripadvisor-panel {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid #ddd5c8;
  background: rgba(255, 255, 255, 0.76);
}

.tripadvisor-panel-title {
  margin: 0 0 0.65rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7c7264;
}

.tripadvisor-widget {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.tripadvisor-embed {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

.tripadvisor-widget--summary .tripadvisor-embed {
  overflow-x: visible;
}

.tripadvisor-widget--summary .tripadvisor-embed > div {
  margin: 0 auto;
}

.tripadvisor-link-wrap {
  margin: 0.9rem 0 0;
  text-align: left;
}

.tripadvisor-link {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  color: #1f1f1f;
  padding: 0.55rem 1rem;
  text-decoration: none;
}

.tripadvisor-link:hover,
.tripadvisor-link:focus {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.tripadvisor-section-cta {
  margin: 1rem 0 0;
}

@media (max-width: 860px) {
  .tripadvisor-grid {
    grid-template-columns: 1fr;
  }

  .tripadvisor-section {
    padding: 1.1rem;
  }

  .tripadvisor-panel {
    padding: 0.7rem;
  }
}

/* ========================
   FOOTER
   ======================== */
.site-footer {
  background: #1a1a1a;
  border-top: 3px solid var(--accent);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 44px 24px 44px;
  display: grid;
  grid-template-columns: 1.6fr 2fr;
  gap: 48px;
}

.footer-logo-link {
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
}

.footer-logo-link:hover {
  text-decoration: none;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: white;
  line-height: 0.92;
  display: block;
}

.footer-brand-name em {
  font-style: italic;
  color: var(--accent);
}

.footer-brand-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer-tripadvisor {
  margin-top: 16px;
  max-width: 240px;
}

.footer-tripadvisor .TA_cdsratingsonlynarrow {
  width: auto;
}

.footer-tripadvisor .TA_links {
  margin: 0;
}

.footer-col-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.footer-nav-list,
.footer-social-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-list {
  column-count: 2;
  column-gap: 28px;
}

.footer-nav-list li,
.footer-social-list li {
  margin-bottom: 9px;
  break-inside: avoid;
}

.footer-nav-list a,
.footer-social-list a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav-list a:hover,
.footer-social-list a:hover {
  color: white;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-copy,
.footer-locale {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

/* ========================
   POSTS INDEX
   ======================== */
.posts-index-header {
  margin-bottom: 44px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--accent);
}

.posts-index-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--dark);
  margin: 0 0 8px;
  line-height: 1;
}

.posts-index-title em {
  font-style: italic;
}

.posts-index-sub {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.post-card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

/* Cards without an image get a typographic accent strip */
.post-card:not(.post-card--image) .post-card-body {
  border-top: 4px solid var(--accent);
}

.post-card-img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.post-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-img {
  transform: scale(1.04);
}

.post-card-body {
  padding: 22px 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.post-card-tag {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  white-space: nowrap;
}

.post-card-date {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.post-card-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  margin: 0 0 12px;
}

.post-card-title a {
  color: var(--dark);
  text-decoration: none;
}

.post-card-title a:hover {
  color: var(--accent-dark);
  text-decoration: none;
}

.post-card-excerpt {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
  margin: 0 0 18px;
  flex: 1;
}

.post-card-read-more {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  text-decoration: none;
  align-self: flex-start;
}

.post-card-read-more:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ========================
   POST HERO (single with image)
   ======================== */
.post-hero {
  position: relative;
  height: 52vh;
  max-height: 500px;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.post-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 12, 6, 0.9) 0%,
    rgba(6, 12, 6, 0.4) 50%,
    rgba(6, 12, 6, 0.1) 100%
  );
}

.post-hero-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 44px;
}

.post-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.post-hero-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.post-hero-tag {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
}

.post-hero-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 400;
  font-style: italic;
  color: white;
  line-height: 1.15;
  margin: 0 0 12px;
}

.post-hero-meta {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================
   PDF REPORT GRID
   ======================== */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.pdf-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
}

.pdf-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.pdf-card-thumb {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.pdf-card-label {
  padding: 12px 14px;
  background: #f7f5f3;
  border-top: 2px solid var(--accent);
}

.pdf-card-title {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--dark);
  margin-bottom: 4px;
}

.pdf-card-cta {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--accent);
}

/* Back to top button */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.2s;
  z-index: 900;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
#back-to-top:hover {
  transform: translateY(-3px);
  background: #a67a56;
}

@media (max-width: 640px) {
  .pdf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* ========================
   POST ARTICLE (single page body)
   ======================== */
.post-article {
  max-width: 760px;
}

.post-article-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--accent);
}

.post-article-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.post-article-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--dark);
  line-height: 1.15;
  margin: 0 0 14px;
}

.post-article-meta {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.post-article-meta-inline {
  margin-bottom: 28px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.post-article-body {
  font-size: 1.01rem;
  line-height: 1.9;
}

.post-article-body h2 {
  font-size: 1.4rem;
  margin-top: 2.2em;
}

.post-article-body h3 {
  font-size: 1.15rem;
  margin-top: 2em;
}

.post-article-body h4 {
  margin-top: 1.8em;
}

.post-article-body figure {
  margin: 2em 0;
}

/* ========================
   POST NAVIGATION
   ======================== */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
  padding: 16px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.post-nav-item:hover {
  border-color: var(--accent);
  background: rgba(188, 146, 107, 0.04);
  text-decoration: none;
  color: var(--text);
}

.post-nav-next {
  text-align: right;
}

.post-nav-empty {
  border: none;
}

.post-nav-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.post-nav-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.35;
}

.post-back {
  margin-top: 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ========================
   RESPONSIVE
   ======================== */
/* ========================
   SIGHTINGS FILTERS
   ======================== */
.sightings-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(188, 146, 107, 0.07);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.sightings-search {
  flex: 1;
  min-width: 180px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  background: white;
  color: var(--text);
}

.sightings-search:focus,
.sightings-select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.sightings-select {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  background: white;
  color: var(--text);
  cursor: pointer;
}

.sightings-reset {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: white;
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.sightings-reset:hover {
  color: var(--accent-dark);
  border-color: var(--accent);
}

.sightings-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ========================
   SIGHTINGS ARCHIVE JUMP
   ======================== */
.sightings-archive-jump {
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.sightings-jump-label {
  margin: 0 0 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sightings-jump-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sightings-jump-go {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.sightings-jump-go:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  text-decoration: none;
}

.sightings-jump-go.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ========================
   SIGHTINGS MONTH NAV
   ======================== */
.sightings-month-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 32px;
}

.month-pill {
  display: inline-block;
  padding: 4px 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.month-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  text-decoration: none;
}

/* ========================
   SIGHTINGS TABLE
   ======================== */
.sightings-month {
  margin-bottom: 40px;
}

.sightings-month-heading {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.sightings-month-heading a {
  color: var(--dark);
  text-decoration: none;
}

.sightings-month-heading a:hover {
  color: var(--accent);
}

.sightings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 0;
}

.sightings-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sightings-table th {
  background: var(--nav-bg);
  color: white;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  padding: 8px 12px;
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sightings-table td {
  padding: 6px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.sightings-table tr:nth-child(even) td {
  background: rgba(188, 146, 107, 0.05);
}

.sighting-row.sighting-flag-rarity td {
  background: rgba(192, 57, 43, 0.09);
}

.sighting-row.sighting-flag-rarity:nth-child(even) td {
  background: rgba(192, 57, 43, 0.12);
}

.sighting-row.sighting-flag-new-coll td {
  background: rgba(26, 110, 62, 0.1);
}

.sighting-row.sighting-flag-new-coll:nth-child(even) td {
  background: rgba(26, 110, 62, 0.14);
}

.sighting-row.sighting-flag-rarity.sighting-flag-new-coll td {
  background: linear-gradient(90deg, rgba(192, 57, 43, 0.14) 0%, rgba(26, 110, 62, 0.12) 100%);
}

.col-date   { white-space: nowrap; color: var(--text-muted); font-size: 0.82rem; }
.col-species { font-weight: 600; }
.col-count  { text-align: center; color: var(--text-muted); }
.col-notes  { color: #555; font-size: 0.85rem; }
.col-sig    { white-space: nowrap; }

/* ========================
   SIGNIFICANCE BADGES
   ======================== */
.sig-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sig-major-rarity  { background: #c0392b; color: white; }
.sig-local-rarity  { background: var(--accent); color: white; }
.sig-new-for-coll  { background: #6c3483; color: white; }
.sig-new-for-year  { background: #1a6e3e; color: white; }

/* ========================
   SIGHTINGS FILTER STATES
   ======================== */
.sighting-hidden       { display: none; }
.sightings-month-hidden { display: none; }
.sightings-empty       { color: var(--text-muted); font-size: 0.88rem; }

.sightings-no-results {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  font-size: 0.95rem;
}

.sightings-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 10px 0 26px;
  flex-wrap: wrap;
}

.pagination-link {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 6px 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #fff;
  text-decoration: none;
}

.pagination-link:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  text-decoration: none;
}

.pagination-state {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ========================
   SINGLE MONTH NAV
   ======================== */
.sightings-month-nav-inline {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.month-nav-prev,
.month-nav-next {
  color: var(--accent-dark);
}

.month-nav-next {
  margin-left: auto;
}

.sightings-back {
  margin-top: 16px;
  font-size: 0.88rem;
}

/* ========================
   RESPONSIVE (sightings)
   ======================== */

/* Wide screens: 3-column Explore list */
@media (min-width: 1100px) {
  .footer-nav-list {
    column-count: 3;
  }
}

@media (max-width: 800px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 24px 36px;
  }

  .footer-nav-list {
    column-count: 1;
  }

  .footer-brand-name {
    font-size: 2.2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav-next {
    text-align: left;
  }

  .post-hero {
    height: 45vh;
    min-height: 240px;
  }

  .col-count,
  .col-category {
    display: none;
  }

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

  .sightings-search {
    min-width: unset;
  }

  .sightings-jump-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .sightings-jump-go {
    justify-content: center;
  }
}

/* Below this width the full nav no longer fits beside the logo. Check it when adding menu items. */
@media (max-width: 1040px) {
  body {
    padding-top: 56px;
  }

  .site-header {
    height: 56px;
  }

  .header-tagline {
    display: none;
  }

  .nav-toggle-label {
    display: block;
  }

  .header-nav {
    position: static;
  }

  .nav-list {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #1e1e1e;
    border-top: 2px solid var(--accent);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    z-index: 199;
  }

  .nav-toggle:checked ~ .nav-list {
    display: flex;
  }

  .nav-item > a {
    height: auto;
    line-height: 1;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-item.has-children > a::after {
    content: '';
  }

  .nav-sub {
    position: static;
    display: block;
    background: #222;
    box-shadow: none;
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-sub li a {
    padding-left: 36px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
}

@media (max-width: 800px) {
  .hero-title {
    font-size: clamp(3.5rem, 14vw, 5rem);
  }

  .alignright,
  .alignleft {
    float: none;
    display: block;
    margin: 1em 0;
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-social a:last-child {
    margin-right: 0;
  }

  .hero-title {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  /* Anchor hero content to the bottom so it doesn't overlap the fixed nav */
  .hero {
    align-items: flex-end;
    height: clamp(320px, 55vw, 520px);
  }

  .hero-intro {
    padding: 0 20px 32px;
    width: 100%;
  }

  /* Tighter content padding on mobile */
  .site-content {
    padding: 24px 16px 48px;
  }

  /* Keep sightings table readable when categories are hidden */
  .sightings-table {
    min-width: 640px;
  }

  .post-body table,
  .page-body table,
  .post-article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Tighter blockquotes */
  blockquote {
    padding: 0.9rem 1rem 0.9rem 1.1rem;
    margin: 1.2em 0;
  }

  /* Touch-friendly interactive elements (min 44px tap target) */
  .reply-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
  }

  .cancel-reply-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .month-pill {
    padding: 7px 12px;
  }

  /* Full-width submit button */
  .comment-submit-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
  }

  /* Post article header tighter */
  .post-article-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }


/* ========================
   COLL LINKS DIRECTORY
   ======================== */
.coll-links-page {
  padding-top: 44px;
  padding-bottom: 72px;
}

.coll-links-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 34px;
  padding: 34px 36px;
  border: 1px solid #e6dbd1;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(188, 146, 107, 0.16), transparent 38%),
    linear-gradient(135deg, #fffaf5 0%, #f6f0ea 100%);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.06);
}

.coll-links-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(188, 146, 107, 0.14);
  color: var(--accent-dark);
  font-family: 'Oswald', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coll-links-hero .page-title {
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
}

.coll-links-intro {
  max-width: 54rem;
  margin: 0;
  font-size: 1.02rem;
  color: #5e5751;
}

.coll-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px;
}

.coll-link-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 22px;
  border: 1px solid #eadfd4;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf8 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.coll-link-card:hover,
.coll-link-card:focus-within {
  transform: translateY(-4px);
  border-color: #d5b89b;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.09);
}

.coll-link-category {
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f4ece4;
  color: #7e6044;
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coll-link-name {
  margin: 0 0 10px;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--dark);
}

.coll-link-name a {
  color: inherit;
  text-decoration: none;
}

.coll-link-name a:hover,
.coll-link-name a:focus {
  color: var(--accent-dark);
  text-decoration: none;
}

.coll-link-description {
  margin: 0 0 18px;
  color: #625b55;
  line-height: 1.65;
}

.coll-link-action {
  margin: auto 0 0;
}

.coll-link-action a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.coll-link-action a::after {
  content: '↗';
  font-size: 0.95rem;
  line-height: 1;
}

.coll-link-action a:hover,
.coll-link-action a:focus {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
}

.coll-links-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5ddd6;
  color: #7a726c;
  font-size: 0.92rem;
}

.coll-links-note p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .coll-links-page {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .coll-links-hero {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .coll-links-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .coll-link-card {
    min-height: 0;
    padding: 18px;
    border-radius: 14px;
  }
}
  /* Sightings nav inline stacks on mobile */
  .sightings-month-nav-inline {
    flex-direction: column;
    gap: 12px;
  }

  .month-nav-next {
    margin-left: 0;
  }
}

/* ========================
   SMALL PHONES (< 480px)
   ======================== */
@media (max-width: 480px) {
  .pdf-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-intro {
    padding: 20px 12px;
  }

  .hero-tagline {
    font-size: 0.88rem;
  }

  .hero-btn-primary,
  .hero-btn-ghost {
    padding: 12px 22px;
    font-size: 0.78rem;
  }

  /* Header brand text slightly smaller */
  .header-name {
    font-size: 1.1rem;
  }

  /* Post nav title smaller */
  .post-nav-title {
    font-size: 0.95rem;
  }

  /* Comment replies less indent */
  .comment-replies {
    margin-left: 0.5rem;
    padding-left: 0.75rem;
  }
}

/* ========================
   COMMENTS
   ======================== */

.comments-section {
  max-width: 760px;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}

.comments-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--dark);
  margin: 0 0 1.5rem;
  letter-spacing: 0.03em;
}

/* ── Individual comments ─────────────────────────────────────────────────── */

.comment {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.comment:last-child {
  border-bottom: none;
}

.comment-meta {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.comment-author {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.comment-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

.comment-body {
  font-size: 0.95rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment-actions {
  margin-top: 0.5rem;
}

.reply-btn {
  background: none;
  border: none;
  color: var(--accent-dark);
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0;
  text-decoration: none;
}

.reply-btn:hover {
  color: var(--accent);
  text-decoration: underline;
}

.comment-replies {
  margin: 0.25rem 0 0 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
}

/* ── Comment form ─────────────────────────────────────────────────────────── */

.comment-form-wrap {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 2px;
}

.comment-form-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin: 0 0 1.2rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-label {
  display: flex;
  gap: 0.35rem;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.required {
  color: var(--accent);
  font-weight: 400;
}

.form-hint {
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.5rem 0.7rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.15s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.char-count {
  align-self: flex-end;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

.comment-reply-notice {
  display: none;
  background: #f7f2ec;
  border-left: 3px solid var(--accent);
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  border-radius: 0 2px 2px 0;
}

.comment-reply-notice.is-active {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cancel-reply-btn {
  background: none;
  border: none;
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
  text-decoration: underline;
  margin-left: auto;
}

.cancel-reply-btn:hover {
  color: var(--accent);
}

.form-submit-row {
  margin-top: 0.25rem;
}

.comment-submit-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 0.55rem 1.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}

.comment-submit-btn:hover:not(:disabled) {
  background: var(--accent-dark);
}

.comment-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.comment-feedback {
  margin-top: 0.75rem;
  padding: 0.55rem 0.85rem;
  border-radius: 2px;
  font-size: 0.88rem;
}

.comment-feedback-success {
  background: #eaf4ea;
  color: #2d6a2d;
  border-left: 3px solid #3a7a3a;
}

.comment-feedback-error {
  background: #fdf0f0;
  color: #8b1a1a;
  border-left: 3px solid #b94a48;
}

.comments-loading,
.comments-empty,
.comments-error {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
  margin: 0;
}

.honeypot {
  display: none;
}

@media (max-width: 640px) {
  .comment-form-wrap {
    padding: 1.1rem 1rem;
  }

  .comment-replies {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
  }
}
