/*
Theme Name: The Farquhar Files
Theme URI: https://farquharfiles.com
Author: The Farquhar Files
Description: Tweets, Tales & Dad Wisdom — a Twitter-feel blog where the title IS the content. Retro illustrated style with warm sunset vibes.
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farquhar-files
Tags: blog, personal, retro, minimal, one-column
*/

/* ============================================
   FONTS & VARIABLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Pacifico&family=DM+Sans:wght@300;400;500&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --navy:       #1a2340;
  --navy-mid:   #253058;
  --gold:       #f5a623;
  --gold-light: #ffc84a;
  --amber:      #e8722a;
  --sky:        #5bb8d4;
  --sky-light:  #a8dced;
  --cream:      #faf6ef;
  --cream-dark: #f0e8d8;
  --sand:       #e8dcc8;
  --warm-white: #fffdf9;
  --text-dark:  #1a1a2e;
  --text-mid:   #3d3d5c;
  --text-light: #7a7a9a;
  --border:     #ddd5c0;
  --shadow:     0 2px 12px rgba(26, 35, 64, 0.08);
  --shadow-lg:  0 8px 32px rgba(26, 35, 64, 0.14);

  --font-display: 'Pacifico', cursive;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-title:   'DM Serif Display', Georgia, serif;

  --radius: 12px;
  --radius-sm: 6px;
  --max-width: 680px;
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Subtle grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============================================
   LAYOUT WRAPPER
   ============================================ */

#page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   SITE HEADER
   ============================================ */

.site-header {
  background: linear-gradient(180deg,
    #0d1626 0%,
    #1a2340 25%,
    #1e3058 55%,
    #22405e 72%,
    #2a5068 82%,
    #2e5a6a 88%,
    #4a6850 92%,
    #8a7a42 95%,
    #c4a252 97%,
    #d4b86a 99%,
    #e2c878 100%
  );
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* ── Animated steam particles ─────────────────────────── */
.header-steam {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.steam-particle {
  position: absolute;
  bottom: 0;
  width: 2px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  animation: steamRise var(--dur, 6s) ease-in infinite var(--delay, 0s);
  transform-origin: bottom center;
}

@keyframes steamRise {
  0%   { transform: translateY(0) translateX(0) scaleX(1);   opacity: 0; }
  10%  { opacity: 0.5; }
  50%  { transform: translateY(-120px) translateX(var(--drift, 12px)) scaleX(2.5); opacity: 0.18; }
  100% { transform: translateY(-260px) translateX(calc(var(--drift, 12px) * 2)) scaleX(4); opacity: 0; }
}

/* ── Radial sunset glow layers ─────────────────────────── */
.header-glow-amber {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 340px;
  background: radial-gradient(ellipse at center bottom,
    rgba(232, 114, 42, 0.38) 0%,
    rgba(245, 166, 35, 0.22) 30%,
    rgba(245, 166, 35, 0.08) 55%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 5s ease-in-out infinite alternate;
}

.header-glow-sky {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: radial-gradient(ellipse at 70% 0%,
    rgba(91, 184, 212, 0.10) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

@keyframes glowPulse {
  from { opacity: 0.7; transform: translateX(-50%) scaleX(0.95); }
  to   { opacity: 1;   transform: translateX(-50%) scaleX(1.05); }
}

/* ── Scan-line texture ─────────────────────────────────── */
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255,255,255,0.012) 3px,
    rgba(255,255,255,0.012) 4px
  );
  pointer-events: none;
  z-index: 0;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* Logo / site title area */
.site-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  width: 100%;
}

/* WordPress outputs: <a class="custom-logo-link"><img class="custom-logo"> */
a.custom-logo-link {
  display: block;
  width: 100%;
}

img.custom-logo {
  display: block;
  width: 100% !important;
  max-width: 680px !important;
  height: auto !important;
  filter: drop-shadow(0 6px 28px rgba(0,0,0,0.55));
  transition: transform 0.35s ease, filter 0.35s ease;
}

a.custom-logo-link:hover img.custom-logo {
  transform: scale(1.015);
  filter: drop-shadow(0 8px 32px rgba(245,166,35,0.4)) drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}

/* ============================================
   NAVIGATION
   ============================================ */

.main-navigation {
  width: 100%;
  position: relative;
  z-index: 1;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 8px 0 0;
}

.main-navigation li a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.main-navigation li a:hover,
.main-navigation li.current-menu-item a {
  color: var(--gold);
  background: rgba(245, 166, 35, 0.12);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.menu-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================
   HEADER STRIPE
   ============================================ */

.header-stripe {
  position: relative;
  height: 12px;
  background: linear-gradient(90deg,
    var(--amber)      0%,
    #f07c38           12%,
    var(--gold)       28%,
    var(--gold-light) 45%,
    var(--gold)       55%,
    #e8a020           68%,
    var(--sky)        82%,
    var(--sky-light)  92%,
    var(--sky)        100%
  );
  box-shadow:
    0 -6px 24px 2px rgba(245,166,35,0.35),
    0 -2px 8px  1px rgba(232,114,42,0.25),
    0  4px 20px 2px rgba(245,166,35,0.20),
    0  8px 40px 4px rgba(232,114,42,0.12);
  z-index: 2;
}

/* Soft glow bloom above the stripe (into header) */
.header-stripe::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top,
    rgba(245,166,35,0.18) 0%,
    rgba(232,114,42,0.08) 50%,
    transparent 100%
  );
  pointer-events: none;
}

/* Soft glow bloom below the stripe (into content) */
.header-stripe::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom,
    rgba(245,166,35,0.10) 0%,
    rgba(232,114,42,0.04) 40%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   FEED / MAIN CONTENT AREA
   ============================================ */

.posts-feed {
  padding: 40px 0 60px;
}

/* ============================================
   POST CARD — TITLE-ONLY (TWEET-STYLE)
   ============================================ */

.post-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

.post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
  border-color: var(--sand);
}

/* Left accent bar — color coded by category */
.post-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.post-card:hover::before {
  opacity: 1;
}

/* Category-specific accent colors */
.post-card.category-dad-wisdom::before   { background: var(--amber); }
.post-card.category-tales::before        { background: var(--sky); }
.post-card.category-tweets::before       { background: var(--gold); }

.post-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

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

.post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--sand);
}

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

.post-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--amber));
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.post-meta-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.post-author-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  white-space: nowrap;
}

.post-date {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* THE MAIN TITLE — this is the tweet */
.post-title-link {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--text-dark);
  font-weight: 400;
  display: block;
  transition: color 0.15s ease;
  /* No underline — clean tweet look */
}


.post-title-link:hover {
  color: var(--amber);
}

/* Inline body content for short posts */
.post-card-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin-top: 8px;
}

.post-card-body p {
  margin: 0;
}

/* No ellipsis on post titles */

/* Featured image in feed card */
.post-card-image-link {
  display: block;
  margin: 12px -24px 0;
  overflow: hidden;
}

.post-card-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-image {
  transform: scale(1.02);
}

/* Round bottom corners only when image is last before footer */
.post-card-image-link + .post-card-footer {
  margin-top: 0;
}

/* Adjust padding so image bleeds to card edges cleanly */
.post-card:has(.post-card-image-link) {
  padding-bottom: 16px;
}

.post-card-image-link + .post-card-footer {
  padding-top: 12px;
}

/* Post footer: category tag + engagement-style spacer */
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 8px;
}

.post-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--cream-dark);
  color: var(--text-mid);
  transition: background 0.15s, color 0.15s;
}

.post-category-tag:hover {
  background: var(--navy);
  color: var(--gold);
}

.post-read-link {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-read-link:hover {
  color: var(--amber);
}

.post-read-link .arrow {
  transition: transform 0.15s;
}
.post-read-link:hover .arrow {
  transform: translateX(3px);
}

/* ============================================
   DIVIDER BETWEEN DATE GROUPS
   ============================================ */

.date-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 16px;
}

.date-divider span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

.date-divider::before,
.date-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================
   SINGLE POST — FULL CONTENT VIEW
   ============================================ */

.single-post-wrap {
  padding: 40px 0 80px;
}

.single-post-hero {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px 30px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

/* Gold top border on single post */
.single-post-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--gold), var(--gold-light));
}

.single-post-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.single-post-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--sand);
  flex-shrink: 0;
}

.single-post-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.single-post-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Post content area */
.entry-content {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 24px;
}

.entry-content p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--text-dark);
  margin-bottom: 1.4em;
}

.entry-content p:last-child { margin-bottom: 0; }

.entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.8em 0 0.7em;
  line-height: 1.25;
}

.entry-content h2 { font-size: 1.45rem; }
.entry-content h3 { font-size: 1.2rem; }

.entry-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 20px;
  margin: 1.6em 0;
  background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-mid);
}

.entry-content a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-content a:hover { color: var(--navy); }

.entry-content ul, .entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}

.entry-content li { 
  list-style: disc;
  margin-bottom: 0.5em;
  line-height: 1.7;
}

.entry-content ol li { list-style: decimal; }

.entry-content img {
  border-radius: var(--radius-sm);
  margin: 1.4em 0;
}

/* Back to feed link */
.back-to-feed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  margin-bottom: 28px;
  transition: all 0.2s;
}

.back-to-feed:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--cream-dark);
}

/* ============================================
   CATEGORY TAGS (archive header pills)
   ============================================ */

.category-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cat-pill {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--warm-white);
  color: var(--text-mid);
  transition: all 0.2s;
  cursor: pointer;
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

/* ============================================
   ARCHIVE / PAGE HEADER
   ============================================ */

.page-header {
  padding: 28px 0 20px;
}

.page-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.archive-description {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============================================
   SIDEBAR / WIDGETS
   ============================================ */

.widget-area {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}

.widget {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.widget-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.widget ul { list-style: none; }
.widget ul li { 
  padding: 6px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.9rem;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--text-dark); }
.widget ul li a:hover { color: var(--amber); }

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 0 20px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  background: var(--warm-white);
  transition: all 0.2s;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.page-numbers.dots {
  border: none;
  background: none;
  width: auto;
}

.nav-previous a,
.nav-next a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: var(--warm-white);
  transition: all 0.2s;
}

.nav-previous a:hover,
.nav-next a:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

/* ============================================
   SITE FOOTER
   ============================================ */

.site-footer {
  background: var(--navy);
  background: linear-gradient(160deg, #111827 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 160px;
  background: radial-gradient(ellipse, rgba(245, 166, 35, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(245,166,35,0.4);
}

.footer-tagline {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.footer-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 4px 10px;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--gold); }

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin-top: 8px;
}

/* ============================================
   SEARCH FORM
   ============================================ */

.search-form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.search-field {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  outline: none;
  transition: border-color 0.2s;
}

.search-field::placeholder { color: rgba(255,255,255,0.35); }
.search-field:focus { border-color: var(--gold); }

.search-submit {
  background: var(--gold);
  border: none;
  border-radius: 24px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.search-submit:hover { background: var(--gold-light); }

/* In-content search */
.content-search-wrap {
  margin-bottom: 28px;
}

.content-search-wrap .search-form {
  margin: 0;
  max-width: 100%;
}

.content-search-wrap .search-field {
  background: var(--warm-white);
  border-color: var(--border);
  color: var(--text-dark);
}

.content-search-wrap .search-field::placeholder { color: var(--text-light); }
.content-search-wrap .search-field:focus { border-color: var(--gold); }

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

.comments-area {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-top: 24px;
}

.comments-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.comment-body {
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.comment-author .fn { font-weight: 600; font-size: 0.9rem; }
.comment-metadata { font-size: 0.75rem; color: var(--text-light); margin-bottom: 8px; }
.comment-content p { font-size: 0.95rem; line-height: 1.65; }

.comment-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--text-mid);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  outline: none;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--gold); }

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

.submit {
  background: var(--navy);
  color: var(--gold);
  border: none;
  border-radius: 24px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s;
}

.submit:hover { background: var(--amber); color: white; }

/* ============================================
   404 PAGE
   ============================================ */

.error-404 {
  padding: 80px 0;
  text-align: center;
}

.error-404 .page-title {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.error-404 .page-content p {
  color: var(--text-mid);
  margin-bottom: 24px;
}

/* ============================================
   STICKY PIN BADGE
   ============================================ */

.sticky-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(232, 114, 42, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 8px;
}



/* ============================================
   AJAX NAV LOADING BAR
   ============================================ */

#ff-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--gold), var(--gold-light));
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(245,166,35,0.6);
}

/* ============================================
   NOW PLAYING BAR
   ============================================ */

#ff-player-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--max-width);
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 40px;
  padding: 10px 20px 10px 12px;
  margin-top: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Play/Pause button */
#ff-music-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(245,166,35,0.5);
  position: relative;
}

#ff-music-btn:hover {
  background: var(--gold-light);
  transform: scale(1.08);
  box-shadow: 0 4px 18px rgba(245,166,35,0.65);
}

#ff-music-btn:disabled {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.4);
  cursor: default;
  box-shadow: none;
}

#ff-music-btn svg {
  display: block;
}

/* Text info */
.ff-player-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.ff-now-playing-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.ff-song-title {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ff-song-title em {
  font-style: italic;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
}

/* Sound wave bars */
.ff-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  flex-shrink: 0;
}

.ff-bar {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--gold);
  opacity: 0.7;
  transform-origin: bottom;
  /* Default: static short bars when paused */
  height: 4px;
  transition: height 0.2s;
}

/* Animated when playing — each bar gets a different height/speed */
.ff-wave.is-playing .ff-bar:nth-child(1) { animation: wave 0.9s ease-in-out infinite alternate; }
.ff-wave.is-playing .ff-bar:nth-child(2) { animation: wave 0.7s ease-in-out infinite alternate 0.15s; }
.ff-wave.is-playing .ff-bar:nth-child(3) { animation: wave 1.1s ease-in-out infinite alternate 0.05s; }
.ff-wave.is-playing .ff-bar:nth-child(4) { animation: wave 0.6s ease-in-out infinite alternate 0.25s; }
.ff-wave.is-playing .ff-bar:nth-child(5) { animation: wave 0.85s ease-in-out infinite alternate 0.1s; }
.ff-wave.is-playing .ff-bar:nth-child(6) { animation: wave 0.75s ease-in-out infinite alternate 0.35s; }
.ff-wave.is-playing .ff-bar:nth-child(7) { animation: wave 1.0s ease-in-out infinite alternate 0.2s; }

@keyframes wave {
  0%   { height: 3px;  opacity: 0.5; }
  30%  { height: 14px; opacity: 0.9; }
  60%  { height: 8px;  opacity: 0.7; }
  100% { height: 20px; opacity: 1.0; }
}

/* Paused state: bars droop to flat */
.ff-wave.is-paused .ff-bar {
  height: 3px;
  opacity: 0.3;
}

/* Loading spinner overlay on button */
#ff-music-btn.is-loading svg {
  animation: spinOnce 0.8s linear infinite;
}

@keyframes spinOnce {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Mobile: slightly more compact */
@media (max-width: 600px) {
  #ff-player-bar {
    padding: 8px 14px 8px 10px;
    gap: 10px;
  }
  #ff-music-btn { width: 36px; height: 36px; }
  .ff-song-title { font-size: 0.8rem; }
  .ff-wave { gap: 2px; }
  .ff-bar { width: 2px; }
}


/* ============================================
   NOVELTY FEATURES
   ============================================ */

/* ── 1. Wisdom of the Day ─────────────────── */

#ff-wisdom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 22, 38, 0.7);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(3px);
}

#ff-wisdom-overlay.ff-wisdom-visible {
  opacity: 1;
  pointer-events: auto;
}

#ff-wisdom-card {
  background: var(--cream);
  border-radius: 4px;
  padding: 36px 40px 30px;
  max-width: 480px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4),
              0 0 0 1px rgba(0,0,0,0.08);
  transform: translateY(20px) rotate(-0.5deg);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

#ff-wisdom-overlay.ff-wisdom-visible #ff-wisdom-card {
  transform: translateY(0) rotate(-0.5deg);
}

/* Tape strip across the top */
.ff-wisdom-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 28px;
  background: rgba(245,166,35,0.55);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.ff-wisdom-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.ff-wisdom-quote {
  font-family: var(--font-title);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--text-dark);
  font-style: italic;
  margin: 0 0 16px;
  border: none;
  padding: 0;
  background: none;
}

.ff-wisdom-quote a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232,114,42,0.4);
}

.ff-wisdom-quote a:hover { color: var(--amber); }

.ff-wisdom-date {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 24px;
  font-style: normal;
}

#ff-wisdom-close {
  background: var(--navy);
  color: var(--gold);
  border: none;
  border-radius: 24px;
  padding: 10px 28px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

#ff-wisdom-close:hover {
  background: var(--amber);
  color: white;
  transform: scale(1.04);
}


/* ── 2. Visitor Counter ───────────────────── */

.ff-counter-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.ff-counter-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}

.ff-odometer {
  display: inline-flex;
  gap: 3px;
  background: #0a1020;
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.5), 0 0 20px rgba(245,166,35,0.1);
}

.ff-digit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 32px;
  background: #0d1628;
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(245,166,35,0.6);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}


/* ── 3. Reaction Buttons ─────────────────── */

.ff-reactions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.ff-reactions-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}

.ff-reaction-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ff-react-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream-dark);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 8px 16px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.ff-react-btn:hover {
  background: var(--warm-white);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245,166,35,0.2);
}

.ff-react-btn.ff-reacted {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.ff-react-count {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-mid);
  min-width: 12px;
}

.ff-reacted .ff-react-count { color: rgba(255,255,255,0.7); }

/* Pop animation on react */
@keyframes ffReactPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25) translateY(-3px); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.ff-react-pop { animation: ffReactPop 0.35s cubic-bezier(0.34,1.56,0.64,1); }

@keyframes ffReactShake {
  0%, 100% { transform: translateX(0); }
  25%  { transform: translateX(-4px); }
  75%  { transform: translateX(4px); }
}
.ff-react-shake { animation: ffReactShake 0.35s ease; }


/* ── 4. Random Post / Dice Button ────────── */

.ff-feed-toolbar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

#ff-random-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
}

#ff-random-btn:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
  transform: translateY(-1px);
}

#ff-random-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

@keyframes ffDiceSpin {
  0%   { transform: rotate(0deg) scale(1); }
  30%  { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

.ff-dice-spin { animation: ffDiceSpin 0.6s ease; }


/* ── 5. Typing Effect ────────────────────── */

.ff-typing-active::after {
  content: '|';
  display: inline-block;
  color: var(--amber);
  animation: ffBlink 0.7s step-end infinite;
  margin-left: 2px;
  font-weight: 300;
}

@keyframes ffBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.ff-typing-done::after {
  display: none;
}


/* ── History Button ──────────────────────── */

#ff-history-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
}

#ff-history-btn:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
  transform: translateY(-1px);
}


/* ── This Day in History — styled like Wisdom card ─────── */

#ff-history-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 22, 38, 0.7);
  z-index: 99997;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

#ff-history-overlay.ff-history-visible {
  opacity: 1;
  pointer-events: auto;
}

#ff-history-modal {
  background: var(--cream);
  border-radius: 4px;
  padding: 36px 40px 28px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,0,0,0.08);
  transform: translateY(20px) rotate(0.4deg);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

#ff-history-overlay.ff-history-visible #ff-history-modal {
  transform: translateY(0) rotate(0.4deg);
}

/* Tape strip — same as wisdom card */
#ff-history-modal::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 28px;
  background: rgba(245,166,35,0.55);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.ff-history-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
}

/* Date line under eyebrow */
.ff-history-datestring {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

/* Close button — top right corner */
#ff-history-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: none;
  color: var(--text-light);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

#ff-history-close:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

/* Scrollable events area */
#ff-history-body {
  overflow-y: auto;
  flex: 1;
  text-align: left;
  margin: 0 -8px;
  padding: 0 8px;
}

/* Loading */
.ff-history-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 0;
  color: var(--text-light);
  font-size: 0.88rem;
}

.ff-history-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: ffSpin 0.8s linear infinite;
}

@keyframes ffSpin {
  to { transform: rotate(360deg); }
}

/* Events list */
.ff-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ff-history-item {
  display: flex;
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--sand);
}

.ff-history-item:last-child { border-bottom: none; }

.ff-history-year {
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--amber);
  min-width: 42px;
  flex-shrink: 0;
  padding-top: 1px;
}

.ff-history-event p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-dark);
  margin: 0 0 5px;
}

.ff-history-wiki {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sky);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

.ff-history-wiki:hover { color: var(--amber); }

.ff-history-empty {
  padding: 24px 0;
  text-align: center;
  color: var(--text-light);
  font-size: 0.88rem;
}

/* "Got it" dismiss button — same as wisdom */
#ff-history-got-it {
  background: var(--navy);
  color: var(--gold);
  border: none;
  border-radius: 24px;
  padding: 10px 28px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  margin-top: 20px;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
  align-self: center;
}

#ff-history-got-it:hover {
  background: var(--amber);
  color: white;
  transform: scale(1.04);
}

.ff-history-source {
  font-size: 0.62rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  #ff-history-modal { padding: 28px 22px 22px; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 720px) {
  .site-title { font-size: 1.8rem; }

  /* Header tighter on mobile */
  .header-inner {
    padding: 16px 16px 16px;
    gap: 10px;
  }

  /* Logo fills screen width with side padding */
  a.custom-logo-link {
    width: 100%;
    padding: 0 8px;
  }
  img.custom-logo {
    width: 100% !important;
    max-width: 100% !important;
  }

  .single-post-hero,
  .entry-content,
  .comments-area { padding: 24px 20px; }

  .single-post-title { font-size: 1.5rem; }

  .post-card { padding: 16px 18px; }
  .post-title-link { font-size: 1.1rem; }

  /* Show hamburger, hide nav by default */
  .menu-toggle { display: block; }

  .main-navigation .menu-primary-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 22, 38, 0.97);
    z-index: 9998;
    padding: 80px 20px 40px;
    overflow-y: auto;
  }

  .main-navigation.toggled .menu-primary-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
  }

  .main-navigation li {
    width: 100%;
    text-align: center;
  }

  .main-navigation li a {
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    padding: 14px 20px;
    display: block;
    border-radius: 10px;
    color: rgba(255,255,255,0.8);
  }

  .main-navigation li a:hover,
  .main-navigation li.current-menu-item a {
    color: var(--gold);
    background: rgba(245,166,35,0.1);
  }

  /* Close button inside the overlay */
  .menu-toggle.is-open {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
  }

  /* Music button smaller on mobile */
}

@media (max-width: 480px) {
  .site-title { font-size: 1.5rem; }
  .post-title-link { font-size: 1.05rem; }
  .header-inner { padding: 12px 12px 14px; }
}

/* ============================================
   UTILITIES
   ============================================ */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.alignleft { float: left; margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { display: block; margin: 0 auto 1.4em; }

.wp-block-image img { border-radius: var(--radius-sm); }

/* Gutenberg */
.wp-block-pullquote {
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  padding: 20px 0;
  text-align: center;
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-mid);
  margin: 2em 0;
}

/* Tag cloud */
.tagcloud a {
  display: inline-block;
  padding: 4px 12px;
  margin: 3px;
  border-radius: 16px;
  background: var(--cream-dark);
  font-size: 0.8rem !important;
  color: var(--text-mid);
  transition: all 0.15s;
}

.tagcloud a:hover {
  background: var(--navy);
  color: var(--gold);
}
