/*
Theme Name: Open Strum
Theme URI:
Author: Independent Developer
Description: A warm, encouraging theme for beginner guitar learners — covering buying guides, chords, tuning, and lesson platforms.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: open-strum
Tags: two-columns, right-sidebar, custom-menu, featured-images, translation-ready
*/

/* =========================================================
   VARIABLES
   ========================================================= */
:root {
  --color-bg:          #FBF5EB;
  --color-bg-alt:      #F3EBD8;
  --color-surface:     #FFFFFF;
  --color-border:      #E0D4BA;
  --color-text:        #2C200E;
  --color-text-muted:  #6B5C42;
  --color-amber:       #C87D3A;
  --color-amber-dark:  #A8641E;
  --color-sage:        #6B8C6F;
  --color-sage-light:  #EAF1EB;
  --color-header-bg:   #241A0B;
  --color-header-text: #F5ECD6;
  --color-footer-bg:   #1E1408;
  --color-footer-text: #C8B89A;

  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body:    system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius:       4px;
  --radius-lg:    8px;
  --shadow:       0 2px 8px rgba(44,32,14,.10);
  --shadow-md:    0 4px 16px rgba(44,32,14,.14);
  --max-width:    1140px;
  --gutter:       1.5rem;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  min-height: 100vh;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
ul, ol { list-style: none; }
a { color: var(--color-amber); text-decoration: none; }
a:hover, a:focus-visible { color: var(--color-amber-dark); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--color-amber); outline-offset: 2px; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--color-text);
}
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: .75rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: .65rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: .5rem; }
h4 { font-size: 1.15rem; margin-bottom: .4rem; }
h5, h6 { font-size: 1rem; margin-bottom: .35rem; }
p { margin-bottom: 1.2rem; }
blockquote {
  border-left: 4px solid var(--color-amber);
  padding: .75rem 1.25rem;
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-text-muted);
}
code {
  background: var(--color-bg-alt);
  padding: .15em .4em;
  border-radius: var(--radius);
  font-size: .9em;
  font-family: 'Courier New', monospace;
}
pre {
  background: var(--color-header-bg);
  color: #E8D9BA;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: 1.5rem 0;
}
pre code { background: none; padding: 0; color: inherit; font-size: .875rem; }
hr { border: none; border-top: 1px solid var(--color-border); margin: 2rem 0; }

/* =========================================================
   LAYOUT WRAPPER
   ========================================================= */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.site-content { flex: 1; padding-block: 2.5rem; }

/* Two-column grid */
.content-area {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .content-area {
    grid-template-columns: 1fr 300px;
  }
  .content-area .main-content { min-width: 0; }
}
.page-content-full { max-width: 780px; margin-inline: auto; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  background: var(--color-header-bg);
  color: var(--color-header-text);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .9rem;
}
.site-branding { display: flex; flex-direction: column; }
.site-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: bold;
  color: var(--color-header-text);
  line-height: 1.2;
}
.site-title:hover { color: var(--color-amber); text-decoration: none; }
.site-tagline {
  font-size: .78rem;
  color: #9A8060;
  margin-top: .1rem;
}
.custom-logo-link img {
  height: 44px;
  width: auto;
}

/* =========================================================
   NAV — PRIMARY
   ========================================================= */
.nav-primary { display: flex; align-items: center; }
.nav-primary ul {
  display: flex;
  gap: .15rem;
  align-items: center;
}
.nav-primary li { position: relative; }
.nav-primary a {
  display: block;
  padding: .5rem .8rem;
  color: var(--color-header-text);
  font-size: .87rem;
  font-weight: 500;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.nav-primary a:hover,
.nav-primary a:focus-visible,
.nav-primary li:focus-within > a {
  background: rgba(200,125,58,.2);
  color: #F5C784;
  text-decoration: none;
}
.nav-primary .current-menu-item > a,
.nav-primary .current-menu-ancestor > a {
  color: var(--color-amber);
}

/* Dropdown indicator */
.nav-primary li.menu-item-has-children > a::after {
  content: ' ▾';
  font-size: .72em;
  opacity: .7;
}

/* Sub-menus — desktop */
.nav-primary ul ul {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 210px;
  background: #2E2010;
  border: 1px solid #4A3520;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 0;
  z-index: 200;
  padding: .35rem 0;
}
.nav-primary li:hover > ul,
.nav-primary li:focus-within > ul {
  display: flex;
}
/* Bridge the 4px gap so the dropdown doesn't close when the mouse
   moves from the menu item down into the submenu */
.nav-primary ul ul::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-primary ul ul a {
  padding: .45rem 1rem;
  font-size: .84rem;
  color: #D4BFA0;
  border-radius: 0;
  white-space: normal;
}
.nav-primary ul ul a:hover,
.nav-primary ul ul a:focus-visible {
  background: rgba(200,125,58,.25);
  color: #F5C784;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid rgba(200,125,58,.5);
  border-radius: var(--radius);
  padding: .45rem .6rem;
  cursor: pointer;
  color: var(--color-header-text);
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   MOBILE NAV
   ========================================================= */
@media (max-width: 899px) {
  .nav-toggle { display: flex; }
  .nav-primary {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1E1408;
    border-top: 1px solid #3A2810;
    padding: .5rem 0 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 8px 20px rgba(0,0,0,.4);
  }
  .nav-primary.is-open { display: flex; }
  .nav-primary ul { flex-direction: column; gap: 0; width: 100%; }
  .nav-primary a {
    padding: .65rem 1.25rem;
    border-radius: 0;
    font-size: .92rem;
  }
  .nav-primary li.menu-item-has-children > a::after { float: right; }

  /* Mobile sub-menu toggle */
  .nav-primary ul ul {
    position: static;
    display: none;
    background: rgba(0,0,0,.2);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    padding-left: 1rem;
  }
  .nav-primary li.is-open > ul { display: flex; }
  .nav-primary ul ul a { padding: .55rem 1.25rem; }
}

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb-nav {
  padding: .6rem 0 1.5rem;
  font-size: .82rem;
  color: var(--color-text-muted);
}
.breadcrumb-nav ol { display: flex; flex-wrap: wrap; gap: .25rem; }
.breadcrumb-nav li { display: flex; align-items: center; gap: .25rem; }
.breadcrumb-nav li:not(:last-child)::after { content: '/'; opacity: .5; }
.breadcrumb-nav a { color: var(--color-amber); }
.breadcrumb-nav [aria-current] { color: var(--color-text-muted); font-weight: 500; }

/* =========================================================
   POST CARDS (index / archive / search)
   ========================================================= */
.post-feed { display: flex; flex-direction: column; gap: 2rem; }
.post-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
  transition: box-shadow .2s;
}
.post-card:hover { box-shadow: var(--shadow-md); }
@media (min-width: 580px) {
  .post-card.has-thumbnail {
    grid-template-columns: 220px 1fr;
  }
}
.post-card-thumbnail {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.post-card:hover .post-card-thumbnail img { transform: scale(1.04); }
.post-card-body { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; }
.post-card-meta {
  font-size: .78rem;
  color: var(--color-text-muted);
  margin-bottom: .5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .75rem;
  align-items: center;
}
.post-card-meta a { color: var(--color-sage); }
.post-card-meta a:hover { color: var(--color-amber); text-decoration: none; }
.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: .5rem;
}
.post-card-title a { color: var(--color-text); }
.post-card-title a:hover { color: var(--color-amber); text-decoration: none; }
.post-card-excerpt {
  font-size: .9rem;
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: 1rem;
}
.read-more-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-amber);
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.read-more-link::after { content: '→'; }
.read-more-link:hover { color: var(--color-amber-dark); text-decoration: none; }

/* =========================================================
   SINGLE ARTICLE
   ========================================================= */
.single-post-header { margin-bottom: 1.75rem; }
.single-post-meta {
  font-size: .82rem;
  color: var(--color-text-muted);
  margin-bottom: .75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .9rem;
  align-items: center;
}
.single-post-meta a { color: var(--color-sage); }
.single-post-meta a:hover { color: var(--color-amber); text-decoration: none; }
.single-post-meta time { color: var(--color-text-muted); }

/* Featured image on single */
.post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-md);
}
.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article body prose */
.entry-content {
  font-size: 1.01rem;
  line-height: 1.8;
}
.entry-content > * + * { margin-top: 1.2rem; }
.entry-content h2 { margin-top: 2.2rem; }
.entry-content h3 { margin-top: 1.8rem; }
.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .4rem; }
.entry-content a { color: var(--color-amber); text-decoration: underline; }
.entry-content a:hover { color: var(--color-amber-dark); }
.entry-content img {
  border-radius: var(--radius);
  margin-block: 1.5rem;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: .9rem;
}
.entry-content table th, .entry-content table td {
  border: 1px solid var(--color-border);
  padding: .6rem .9rem;
  text-align: left;
}
.entry-content table th {
  background: var(--color-bg-alt);
  font-weight: 600;
}

/* Table of Contents */
.toc-box {
  background: var(--color-sage-light);
  border: 1px solid #C5D9C7;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}
.toc-box h2 {
  font-size: 1rem;
  margin-bottom: .75rem;
  color: var(--color-sage);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--font-body);
  font-weight: 700;
}
.toc-box ol {
  list-style: decimal;
  padding-left: 1.3rem;
  margin: 0;
}
.toc-box li { margin-bottom: .3rem; font-size: .88rem; }
.toc-box a { color: var(--color-text); }
.toc-box a:hover { color: var(--color-amber); text-decoration: none; }
.toc-box ol ol { margin-top: .3rem; list-style: lower-alpha; }

/* Author bio */
.author-bio {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 2.5rem;
}
.author-bio-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
}
.author-bio-avatar .no-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: bold;
}
.author-bio-name {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  margin-bottom: .2rem;
}
.author-bio-name a { color: var(--color-amber); font-weight: 700; font-size: .85rem; }
.author-bio h3 {
  font-size: 1rem;
  margin-bottom: .4rem;
}
.author-bio-desc { font-size: .88rem; color: var(--color-text-muted); margin: 0; }

/* Related posts */
.related-posts { margin-top: 3rem; }
.related-posts h2 {
  font-size: 1.15rem;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: .5rem;
  margin-bottom: 1.25rem;
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
}
.related-post-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.related-post-card:hover { box-shadow: var(--shadow-md); }
.related-post-card .card-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.related-post-card .card-body { padding: .9rem 1rem; }
.related-post-card .card-title {
  font-size: .92rem;
  font-family: var(--font-heading);
  line-height: 1.4;
}
.related-post-card .card-title a { color: var(--color-text); }
.related-post-card .card-title a:hover { color: var(--color-amber); text-decoration: none; }
.related-post-card .card-date { font-size: .75rem; color: var(--color-text-muted); margin-top: .4rem; }

/* Post tags */
.post-tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.post-tags span { font-size: .8rem; color: var(--color-text-muted); }
.tag-pill {
  display: inline-block;
  padding: .2rem .65rem;
  background: var(--color-sage-light);
  border: 1px solid #C5D9C7;
  border-radius: 99px;
  font-size: .78rem;
  color: var(--color-sage);
}
.tag-pill:hover { background: var(--color-sage); color: #fff; text-decoration: none; }

/* =========================================================
   ARCHIVE HEADER
   ========================================================= */
.archive-header {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.archive-title {
  font-size: 1.5rem;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.archive-title small {
  font-family: var(--font-body);
  font-size: .75rem;
  background: var(--color-amber);
  color: #fff;
  padding: .15rem .55rem;
  border-radius: 99px;
  font-weight: 600;
  vertical-align: middle;
}
.term-description {
  font-size: .92rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.65;
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.widget-area { display: flex; flex-direction: column; gap: 1.75rem; }
.widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.widget-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  border-bottom: 2px solid var(--color-amber);
  padding-bottom: .45rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}
.widget ul { padding-left: 0; }
.widget ul li {
  border-bottom: 1px solid var(--color-border);
  padding: .4rem 0;
  font-size: .88rem;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--color-text); }
.widget ul li a:hover { color: var(--color-amber); text-decoration: none; }
.widget-search-inner .search-field {
  width: 100%;
  padding: .55rem .8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  margin-bottom: .6rem;
}
.widget-search-inner .search-submit {
  width: 100%;
  padding: .55rem;
  background: var(--color-amber);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.widget-search-inner .search-submit:hover { background: var(--color-amber-dark); }

/* Sidebar fallback */
.sidebar-fallback { }
.sidebar-fallback .widget-title { border-color: var(--color-sage); }
.sidebar-fallback nav ul { padding: 0; }
.sidebar-fallback nav ul li { border-bottom: 1px solid var(--color-border); padding: .4rem 0; font-size: .88rem; }
.sidebar-fallback nav ul li a { color: var(--color-text); }
.sidebar-fallback nav ul li a:hover { color: var(--color-amber); text-decoration: none; }

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding-inline: .5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .88rem;
  color: var(--color-text);
  background: var(--color-surface);
  transition: all .18s;
}
.pagination .page-numbers:hover { background: var(--color-amber); border-color: var(--color-amber); color: #fff; text-decoration: none; }
.pagination .page-numbers.current { background: var(--color-amber); border-color: var(--color-amber); color: #fff; }
.pagination .page-numbers.dots { border: none; background: none; }

/* =========================================================
   SEARCH PAGE
   ========================================================= */
.search-header { margin-bottom: 2rem; }
.search-header h1 { font-size: 1.4rem; }
.search-again-form { margin-top: 1rem; max-width: 460px; }
.search-again-form .search-form { display: flex; gap: .5rem; }
.search-again-form .search-field {
  flex: 1;
  padding: .55rem .85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
}
.search-again-form .search-submit {
  padding: .55rem 1.1rem;
  background: var(--color-amber);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
}
.search-again-form .search-submit:hover { background: var(--color-amber-dark); }

/* =========================================================
   404 PAGE
   ========================================================= */
.error-404 { text-align: center; padding: 4rem 0; }
.error-404 .error-code {
  font-size: clamp(5rem, 18vw, 10rem);
  font-family: var(--font-heading);
  color: var(--color-amber);
  opacity: .25;
  line-height: 1;
  margin-bottom: 0;
}
.error-404 h1 { font-size: 1.7rem; margin-bottom: .75rem; }
.error-404 p { color: var(--color-text-muted); max-width: 440px; margin-inline: auto; margin-bottom: 1.75rem; }
.error-404 .error-search { max-width: 380px; margin-inline: auto; }

/* =========================================================
   PAGE (STATIC)
   ========================================================= */
.page-header { margin-bottom: 2rem; border-bottom: 2px solid var(--color-border); padding-bottom: 1rem; }
.page-header h1 { margin-bottom: .35rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-top: 2.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand .site-title { color: #F5ECD6; font-size: 1.2rem; }
.footer-brand .site-title:hover { color: var(--color-amber); }
.footer-brand p { font-size: .83rem; color: #9A8060; margin-top: .5rem; max-width: 280px; }
.footer-nav { flex: 1; min-width: 180px; }
.footer-nav h3 {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #7A6A50;
  margin-bottom: .85rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: .4rem; }
.footer-nav ul a { color: var(--color-footer-text); font-size: .88rem; }
.footer-nav ul a:hover { color: var(--color-amber); text-decoration: none; }
.footer-bottom {
  padding-block: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: #6A5840;
}
.footer-bottom a { color: #9A8060; }
.footer-bottom a:hover { color: var(--color-amber); text-decoration: none; }

/* =========================================================
   SEARCH FORM
   ========================================================= */
.search-form { display: flex; gap: .5rem; }
.search-field {
  flex: 1;
  padding: .55rem .85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  font-size: .9rem;
}
.search-field:focus { outline: none; border-color: var(--color-amber); box-shadow: 0 0 0 3px rgba(200,125,58,.15); }
.search-submit {
  padding: .55rem 1rem;
  background: var(--color-amber);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-size: .88rem;
  transition: background .18s;
}
.search-submit:hover { background: var(--color-amber-dark); }

/* =========================================================
   COMMENTS
   ========================================================= */
.comments-area { margin-top: 2.5rem; }
.comments-title { font-size: 1.15rem; border-bottom: 2px solid var(--color-border); padding-bottom: .5rem; margin-bottom: 1.5rem; }
.comment-list { padding-left: 0; }
.comment-list .comment { border-bottom: 1px solid var(--color-border); padding: 1rem 0; }
.comment-author .fn { font-weight: 600; }
.comment-meta { font-size: .78rem; color: var(--color-text-muted); margin-bottom: .5rem; }
.comment-content { font-size: .9rem; }
.comment-reply-link { font-size: .8rem; color: var(--color-amber); }
.comment-form label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: .3rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: .55rem .85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  margin-bottom: 1rem;
  font-size: .9rem;
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none;
  border-color: var(--color-amber);
  box-shadow: 0 0 0 3px rgba(200,125,58,.15);
}
.comment-form .submit {
  padding: .65rem 1.75rem;
  background: var(--color-amber);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background .18s;
}
.comment-form .submit:hover { background: var(--color-amber-dark); }

/* =========================================================
   UTILITIES
   ========================================================= */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.no-results { text-align: center; padding: 3rem 1rem; color: var(--color-text-muted); }
.no-results h2 { margin-bottom: .75rem; }
