/*
 * GW Hook Platform public template stylesheet.
 * Migrated from Garrenwood Child style.css version 2.0.0.
 *
 * Child-theme metadata and the Imagely parent-theme @import were intentionally
 * removed: WordPress loads the active theme separately, while this file owns
 * the hook-reference presentation layer regardless of the active theme.
 */

/* ================================================================
   GARRENWOOD.COM — HOOK REFERENCE STYLESHEET
   Complete consolidated stylesheet — all rules in one file.
   Version 2.0 — all 10 field groups supported.

   All classes are prefixed .gw- to avoid theme conflicts.
   All font sizes use px to sidestep theme scaling conflicts.
   ================================================================ */

/* ────────────────────────────────────────────────────────────────
   DESIGN TOKENS
   ──────────────────────────────────────────────────────────────── */
.gw-entry {
  --gw-ink:        #1a1a18;
  --gw-ink-soft:   #3d3c38;
  --gw-cream:      #f3efe8;
  --gw-rule:       #d6cfc2;
  --gw-rule-light: #e8e3da;
  --gw-accent:     #A9A9A9;
  --gw-accent-lt:  	#D3D3D3;
  --gw-navy:       #111111;
  --gw-note-bg:    #f6f4ef;
  font-family: Georgia, 'Times New Roman', serif;
  color: #1a1a18;
  line-height: 1.75;
}

/* ────────────────────────────────────────────────────────────────
   PAGE HEADER
   ──────────────────────────────────────────────────────────────── */
.gw-page-header {
  background: #111111 !important;
  color: #ffffff;
  padding: 2rem 1.75rem 1.6rem;
  border-bottom: 5px solid #E57373 !important;
  margin-bottom: 1.5rem;
}

.gw-page-header .gw-breadcrumb {
  font-size: 12px !important;
  line-height: 1.4 !important;
  opacity: 0.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  font-family: Georgia, serif;
  color: #ffffff !important;
}

.gw-page-header .gw-breadcrumb a {
  color: #ffffff !important;
  text-decoration: none;
  opacity: 0.7;
}

.gw-page-header .gw-breadcrumb a:hover {
  opacity: 1;
}

.gw-entry .gw-page-header h1,
.gw-entry .gw-page-header .gw-entry-title {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 29px !important;
  font-weight: normal !important;
  line-height: 1.25 !important;
  color: #ffffff !important;
  margin: 0 0 6px !important;
  border: none !important;
  padding: 0 !important;
}

.gw-entry .gw-page-header .gw-subtitle {
  font-size: 14px !important;
  line-height: 1.5 !important;
  opacity: 0.65;
  letter-spacing: 0.03em;
  margin-bottom: 0.9rem;
  color: #ffffff !important;
}

.gw-spec-bar {
  display: flex;
  flex-wrap: wrap;
  font-size: 13px !important;
  opacity: 0.85;
  letter-spacing: 0.03em;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.gw-entry .gw-spec-bar span {
  padding: 0 0.65rem;
  border-right: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 0.3rem;
  font-size: 13px !important;
  color: #ffffff !important;
  line-height: 1.5 !important;
}

.gw-spec-bar span:first-child { padding-left: 0; }
.gw-spec-bar span:last-child  { border-right: none; }

/* ────────────────────────────────────────────────────────────────
   SECTION WRAPPER
   ──────────────────────────────────────────────────────────────── */
.gw-section {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 2px solid #E57373 !important;
}

.gw-section:first-of-type {
  border-top: none;
  margin-top: 1rem;
}

.gw-entry .gw-section .gw-section-number {
  display: inline-block !important;
  background: 	#A9A9A9 !important;
  color: #111111 !important;
  font-size: 13px !important;
  font-weight: bold !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 4px 8px !important;
  border-radius: 2px !important;
  margin-bottom: 8px !important;
  font-family: Georgia, serif !important;
  line-height: 1.6 !important;
}

.gw-entry .gw-section h2,
.gw-entry .gw-section .gw-section-title {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 20px !important;
  font-weight: normal !important;
  line-height: 1.3 !important;
  color: #111111 !important;
  margin: 0 0 14px !important;
  border: none !important;
  padding: 0 !important;
}

.gw-entry .gw-section h3 {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 17px !important;
  font-weight: normal !important;
  line-height: 1.4 !important;
  color: #7a4e2d !important;
  margin: 22px 0 8px !important;
  padding-bottom: 4px !important;
  border-bottom: 1px solid #e8e3da !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

.gw-entry .gw-section p,
.gw-entry .gw-section div p,
.gw-entry .gw-section .wp-block-paragraph {
  font-size: 16px !important;
  line-height: 1.75 !important;
}

/* ────────────────────────────────────────────────────────────────
   SPECIFICATION LINE
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-spec-line {
  background: #f6f4ef;
  border-left: 4px solid #c47d3a;
  padding: 0.6rem 0.9rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px !important;
  color: #3d3c38;
  margin: 0.75rem 0 1rem;
  letter-spacing: 0.02em;
  word-break: break-word;
  line-height: 1.65 !important;
}

/* ────────────────────────────────────────────────────────────────
   TABLES
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-table,
.gw-entry .gw-meas-table,
.gw-entry .gw-equiv-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0.9rem 0 1.1rem;
  font-family: Georgia, serif;
}

.gw-entry .gw-table th,
.gw-entry .gw-meas-table th,
.gw-entry .gw-equiv-table th {
  background: #111111 !important;
  color: #ffffff !important;
  text-align: left !important;
  padding: 7px 12px !important;
  font-family: Georgia, serif !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
  font-weight: normal !important;
  border: none !important;
}

.gw-entry .gw-table td,
.gw-entry .gw-meas-table td,
.gw-entry .gw-equiv-table td {
  padding: 7px 12px !important;
  border-bottom: 1px solid #e8e3da !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  vertical-align: top !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  background: transparent;
}

.gw-entry .gw-table tr:nth-child(even) td,
.gw-entry .gw-meas-table tr:nth-child(even) td,
.gw-entry .gw-equiv-table tr:nth-child(even) td {
  background: #f3efe8 !important;
}

.gw-entry .gw-table tr:last-child td,
.gw-entry .gw-meas-table tr:last-child td,
.gw-entry .gw-equiv-table tr:last-child td {
  border-bottom: 2px solid #d6cfc2 !important;
}

.gw-entry .gw-table td:first-child {
  font-weight: bold;
  color: #3d3c38;
  font-size: 13px !important;
  white-space: nowrap;
}

.gw-entry .gw-meas-table td:first-child {
  font-weight: normal;
  white-space: normal;
  font-size: 15px !important;
}

.gw-entry .gw-equiv-table td:first-child {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px !important;
  white-space: nowrap;
  font-weight: normal;
}

/* ────────────────────────────────────────────────────────────────
   CALLOUT / FUN FACT BOX
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-callout {
  background: #f6f4ef;
  border: 1px solid #d6cfc2;
  border-top: 3px solid #E57373;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

.gw-entry .gw-callout .gw-callout-label {
  display: block;
  font-size: 11px !important;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a4e2d;
  margin-bottom: 0.45rem;
  font-family: Georgia, serif;
}

.gw-entry .gw-callout p { margin-bottom: 0; }

/* ────────────────────────────────────────────────────────────────
   BLOCKQUOTE
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-quote {
  border-left: 4px solid #A9A9A9 !important;
  margin: 1rem 0 !important;
  padding: 0.75rem 1.1rem !important;
  background: #f6f4ef !important;
  font-style: italic;
  font-size: 15px !important;
  color: #3d3c38;
}

.gw-entry .gw-quote cite {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  font-size: 13px !important;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

/* ────────────────────────────────────────────────────────────────
   COLLECTABILITY RATING CARD
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-rating-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #f6f4ef;
  border: 1px solid #d6cfc2;
  padding: 1rem 1.25rem;
  margin: 0.75rem 0 1.25rem;
}

.gw-entry .gw-rating-circle {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FF6961 !important;
  color: #111111 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 24px !important;
  line-height: 1;
}

.gw-entry .gw-rating-circle span {
  font-size: 10px !important;
  opacity: 0.65;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gw-entry .gw-rating-text {
  font-size: 15px !important;
  color: #3d3c38;
  line-height: 1.65;
}

/* ────────────────────────────────────────────────────────────────
   CONFIDENCE NOTATION BADGES
   ──────────────────────────────────────────────────────────────── */
.cn {
  display: inline-block;
  font-size: 11px !important;
  font-variant: small-caps;
  font-weight: bold;
  letter-spacing: 0.04em;
  padding: 1px 5px;
  border-radius: 2px;
  line-height: 1.2;
  vertical-align: middle;
  margin-left: 2px;
  font-family: Georgia, serif;
}

.cn-P { background: #d4edda; color: #155724; }
.cn-V { background: #cce5ff; color: #004085; }
.cn-I { background: #fff3cd; color: #856404; }
.cn-E { background: #f8d7da; color: #721c24; }
.cn-S { background: #e2e3e5; color: #383d41; }

/* ────────────────────────────────────────────────────────────────
   CONFIDENCE NOTATION KEY FOOTER
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-confidence-key {
  margin-top: 2.5rem;
  border-top: 2px solid #d6cfc2;
  background: #f3efe8;
  padding: 1.4rem 1.5rem 1.35rem;
  color: #3d3c38;
  font-family: Georgia, serif;
  line-height: 1.65;
}

.gw-entry .gw-confidence-key h2 {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 15px !important;
  font-weight: bold !important;
  color: #111111 !important;
  margin: 0 0 0.75rem !important;
  border: none !important;
  padding: 0 !important;
  letter-spacing: 0.01em;
}

.gw-entry .gw-confidence-key table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 0.85rem;
}

.gw-entry .gw-confidence-key td {
  padding: 5px 0 5px 0 !important;
  border-bottom: 1px solid #e8e3da !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  vertical-align: top !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  background: transparent !important;
}

.gw-entry .gw-confidence-key td:first-child {
  padding-right: 14px !important;
  white-space: nowrap !important;
  font-weight: normal !important;
  width: 2.5rem;
}

.gw-entry .gw-confidence-key tr:last-child td {
  border-bottom: none !important;
}

.gw-entry .gw-confidence-key .gw-key-note {
  margin: 0.75rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid #ddd8cf;
  font-style: italic;
  font-size: 13px !important;
  color: #5a5850;
}

/* ────────────────────────────────────────────────────────────────
   IMAGE PLACEHOLDER NOTICE
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-img-placeholder {
  background: #f3efe8;
  border: 1px dashed #d6cfc2;
  padding: 0.85rem 1rem;
  font-size: 13px !important;
  color: #5a5850;
  font-style: italic;
  margin: 0.75rem 0;
  border-radius: 2px;
}

/* ────────────────────────────────────────────────────────────────
   UTILITY — LIST
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-list {
  list-style: disc;
  padding-left: 1.6rem;
  margin: 0.5rem 0 0.9rem;
}

.gw-entry .gw-list li {
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin-bottom: 0.25rem;
}

/* ────────────────────────────────────────────────────────────────
   GROUP 4 — MEASUREMENT CONTEXT AND NOTES
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-meas-context {
  font-size: 14px !important;
  color: #5a5850;
  margin-bottom: 0.75rem !important;
  font-style: italic;
}

.gw-entry .gw-meas-context strong {
  font-style: normal;
  color: #3d3c38;
}

/* ────────────────────────────────────────────────────────────────
   GROUP 6 — RELATED MODELS CURRENT ROW HIGHLIGHT
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-related-current td {
  background: #f0ece4 !important;
  font-weight: bold;
}

.gw-entry .gw-related-current td em {
  font-weight: normal;
  font-style: italic;
  color: #7a4e2d;
  font-size: 12px !important;
  margin-left: 4px;
}

/* ────────────────────────────────────────────────────────────────
   GROUP 7 — HOOK TYPE APPLICATION TAGS
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-hook-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.gw-entry .gw-hook-type-tag {
  display: inline-block;
  background: #111111;
  color: #ffffff;
  font-size: 11px !important;
  font-family: Georgia, serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  line-height: 1.5;
}

/* ────────────────────────────────────────────────────────────────
   GROUP 10 — ADDITIONAL SECTIONS
   ──────────────────────────────────────────────────────────────── */

/* Source citation line for primary source analysis layout */
.gw-entry .gw-source-citation {
  font-size: 13px !important;
  color: #5a5850;
  margin-bottom: 0.75rem !important;
  font-style: italic;
}

/* ────────────────────────────────────────────────────────────────
   GALLERY — FLEX LAYOUT, 2 COLUMNS
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
  align-items: flex-start;
}

.gw-entry .gw-gallery-item {
  flex: 0 0 calc(50% - 0.5rem);
  min-width: 0;
  margin: 0;
  padding: 0;
  background: #f3efe8;
  border: 1px solid #d6cfc2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Odd image out — spans full width */
.gw-entry .gw-gallery-item:last-child:nth-child(odd) {
  flex: 0 0 100%;
}

.gw-entry .gw-gallery-item figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 13px !important;
  color: #5a5850;
  font-style: italic;
  font-family: Georgia, serif;
  border-top: 1px solid #e8e3da;
  line-height: 1.4;
  margin-top: auto;
  flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────────
   GALLERY TRIGGER BUTTON
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  position: relative;
  line-height: 0;
  flex: 1 1 auto;
}

.gw-entry .gw-gallery-trigger img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s;
}

.gw-entry .gw-gallery-trigger:hover img {
  opacity: 0.85;
}

.gw-entry .gw-gallery-zoom-icon {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 20px;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.2s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  pointer-events: none;
  line-height: 1;
}

.gw-entry .gw-gallery-trigger:hover .gw-gallery-zoom-icon {
  opacity: 1;
}

/* ────────────────────────────────────────────────────────────────
   LIGHTBOX OVERLAY
   ──────────────────────────────────────────────────────────────── */
.gw-lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 12, 16, 0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gw-lightbox--open {
  opacity: 1;
  pointer-events: all;
}

body.gw-lightbox-active {
  overflow: hidden;
}

/* ────────────────────────────────────────────────────────────────
   LIGHTBOX IMAGE STAGE
   ──────────────────────────────────────────────────────────────── */
.gw-lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.gw-lightbox-stage img {
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.gw-lightbox-caption {
  margin-top: 0.75rem;
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  text-align: center;
  max-width: 600px;
  line-height: 1.5;
}

/* ────────────────────────────────────────────────────────────────
   LIGHTBOX CONTROLS
   ──────────────────────────────────────────────────────────────── */
.gw-lightbox-close,
.gw-lightbox-prev,
.gw-lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  font-family: Georgia, serif;
  line-height: 1;
  border-radius: 50%;
}

.gw-lightbox-close:hover,
.gw-lightbox-prev:hover,
.gw-lightbox-next:hover {
  background: rgba(196, 125, 58, 0.8);
  border-color: #c47d3a;
}

.gw-lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  font-size: 18px;
  z-index: 2;
}

.gw-lightbox-prev,
.gw-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 28px;
  z-index: 2;
}

.gw-lightbox-prev { left: 1.25rem; }
.gw-lightbox-next { right: 1.25rem; }

/* ────────────────────────────────────────────────────────────────
   LIGHTBOX COUNTER
   ──────────────────────────────────────────────────────────────── */
.gw-lightbox-counter {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  pointer-events: none;
}

/* ────────────────────────────────────────────────────────────────
   LEGACY CONTENT FALLBACK
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-legacy-content {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #d6cfc2;
}

.gw-entry .gw-legacy-content:empty {
  display: none;
}

/* ────────────────────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .gw-page-header { padding: 1.5rem 1rem 1.25rem; }

  .gw-entry .gw-page-header h1,
  .gw-entry .gw-page-header .gw-entry-title { font-size: 22px !important; }

  .gw-spec-bar span { padding: 0 0.4rem; font-size: 12px !important; }

  .gw-entry .gw-rating-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .gw-section { margin-top: 1.75rem; }

  .gw-entry .gw-confidence-key { padding: 1.1rem 1rem; }

  .gw-lightbox-prev { left: 0.5rem; }
  .gw-lightbox-next { right: 0.5rem; }

  .gw-lightbox-prev,
  .gw-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .gw-lightbox-stage img { max-height: 75vh; }
}

@media (max-width: 540px) {
  .gw-entry .gw-gallery-item {
    flex: 0 0 100%;
  }
  .gw-entry .gw-gallery-item:last-child:nth-child(odd) {
    flex: 0 0 100%;
  }
}

/* ────────────────────────────────────────────────────────────────
   HOOK REFERENCE TEMPLATE — SUPPRESS THEME PAGE HEADER
   The Imagely theme outputs .page-header above the content area.
   On hook reference pages the gw-page-header replaces it entirely.
   The 'gw-hook-reference' body class is added via functions.php.
   ──────────────────────────────────────────────────────────────── */
body.gw-hook-reference .page-header,
body.gw-hook-reference header.page-header,
body.gw-hook-reference .centered-minimal-page-header {
  display: none !important;
}

/* ────────────────────────────────────────────────────────────────
   FLYHOOKS.ORG CROSS-REFERENCE LINK — page header
   Gold color for visibility on dark navy background.
   ──────────────────────────────────────────────────────────────── */
.gw-entry .gw-page-header a.gw-flyhooks-link,
.gw-entry .gw-page-header a.gw-flyhooks-link:visited {
  color: #f0c040 !important;
  text-decoration: none !important;
  font-weight: 500;
  opacity: 1 !important;
}
.gw-entry .gw-page-header a.gw-flyhooks-link:hover {
  color: #f8d870 !important;
  text-decoration: underline !important;
}

/* ════════════════════════════════════════════════════════════════
   MANUFACTURER INDEX — template-manufacturer-index.php
   ════════════════════════════════════════════════════════════════ */

/* Type pills in header */
.gw-mfr-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.75rem;
}
.gw-mfr-type-pill {
  font-size: 11px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  padding: 3px 11px;
  border-radius: 20px;
  font-family: system-ui, sans-serif;
  text-decoration: none;
  display: inline-block;
  font-weight: 400;
}
.gw-mfr-type-pill--link {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #111111 !important;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.gw-mfr-type-pill--link:hover {
  background: #E57373;
  border-color: #E57373;
  color: #ffffff !important;
}

/* Stat strip below header */

/* Content wrapper */
.gw-mfr-content {
  background: var(--gw-bg, #ffffff);
  padding: 28px 1.75rem 40px;
}

/* Section label */
.gw-mfr-section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
  font-family: system-ui, sans-serif;
}

/* History section */

/* Timeline sidebar */

.gw-mfr-tl-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.gw-mfr-tl-item:last-child { margin-bottom: 0; }
.gw-mfr-tl-year {
  font-size: 12px;
  font-weight: 500;
  color: #1a1a18;
  font-family: system-ui, sans-serif;
  white-space: nowrap;
  min-width: 38px;
}
.gw-mfr-tl-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E57373;
  flex-shrink: 0;
  margin-top: 4px;
}
.gw-mfr-tl-text {
  font-size: 12px;
  color: #5a5850;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}

/* Category grid */
/* ── Option A: Horizontal category rows ──────────────────────────────────── */
.gw-mfr-cat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0.5px solid #d6cfc2;
  border-radius: 8px;
  overflow: hidden;
}

/* ── Manufacturer index: full mobile pass ─────────────────────────────────── */
@media (max-width: 600px) {

  /* Header: reduce padding on small screens */
  .gw-page-header {
    padding: 1.25rem 1rem 1.1rem;
  }
  .gw-entry .gw-page-header h1,
  .gw-entry .gw-page-header .gw-entry-title {
    font-size: 22px !important;
  }
  .gw-entry .gw-page-header .gw-subtitle {
    font-size: 13px !important;
  }

  /* Content area: reduce side padding */
  .gw-mfr-content {
    padding: 20px 1rem 32px;
  }

  /* Stat strip: tighter padding */
  
  

  /* History: smaller body text */
  

  /* Category rows: narrower photo strip */
  
  
  
  

  /* Search: full-width stacked filters */
  .gw-mfr-search-main {
    flex-wrap: wrap;
  }
  .gw-mfr-search-input {
    font-size: 16px;  /* prevent iOS zoom */
    border-radius: 5px;
    border-right: 1px solid #d6cfc2 !important;
    min-width: 0;
    flex: 1 1 100%;
    margin-bottom: 6px;
  }
  .gw-mfr-search-btn {
    border-radius: 5px;
    flex: 1;
  }
  .gw-mfr-filter-row {
    gap: 6px;
  }
  .gw-mfr-filter-select {
    font-size: 16px;  /* prevent iOS zoom */
    flex: 1 1 calc(50% - 3px);
    min-width: 0;
  }
}

@media (max-width: 400px) {
  /* Very narrow: count hidden, more room for name */
  
}

/* ════════════════════════════════════════════════════════════════
   MANUFACTURER CATEGORY — template-manufacturer-category.php
   ════════════════════════════════════════════════════════════════ */

.gw-mcat-content {
  background: #ffffff;
  padding: 20px 1.75rem 40px;
}

/* Filter bar */
.gw-mcat-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-family: system-ui, sans-serif;
}
.gw-mcat-filter-left {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.gw-mcat-filter-bar input[type=text],
.gw-mcat-filter-bar select {
  font-size: 12px;
  padding: 6px 10px;
  border: 0.5px solid #d6cfc2;
  border-radius: 5px;
  background: #ffffff;
  color: #1a1a18;
  font-family: system-ui, sans-serif;
}
.gw-mcat-filter-bar input[type=text] {
  min-width: 160px;
  flex: 1;
}
.gw-mcat-result-count {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
  font-family: system-ui, sans-serif;
}

/* ── Hook row list — replaces photo card grid ─────────────────────────── */
.gw-mcat-hook-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0.5px solid #d6cfc2;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}
.gw-mcat-hook-row {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  background: #ffffff;
  border-bottom: 0.5px solid #e8e3da;
  transition: background 0.12s;
  min-height: 72px;
}
.gw-mcat-hook-row:last-child { border-bottom: none; }
.gw-mcat-hook-row:nth-child(even) { background: #f6f4ef; }
.gw-mcat-hook-row:hover,
.gw-mcat-hook-row:nth-child(even):hover { background: #ede9e1; }

.gw-mcat-hook-row__photo {
  width: 80px;
  flex-shrink: 0;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.gw-mcat-hook-row__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.gw-mcat-hook-row:hover .gw-mcat-hook-row__photo img {
  opacity: 1;
}
.gw-mcat-hook-row__body {
  flex: 1;
  padding: 11px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}
.gw-mcat-hook-row__model {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a18;
  font-family: system-ui, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gw-mcat-hook-row__name {
  font-size: 11px;
  color: #888;
  font-family: system-ui, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gw-mcat-hook-row__pills {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.gw-mcat-hook-row__pill {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 10px;
  background: #f3efe8;
  color: #5a5850;
  font-family: system-ui, sans-serif;
}
.gw-mcat-hook-row__right {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  flex-shrink: 0;
}
.gw-mcat-hook-row__era {
  font-size: 11px;
  color: #888;
  font-family: system-ui, sans-serif;
  white-space: nowrap;
}
.gw-mcat-hook-row__arrow {
  font-size: 18px;
  color: #d6cfc2;
  font-family: system-ui, sans-serif;
  line-height: 1;
  transition: color 0.12s;
}
.gw-mcat-hook-row:hover .gw-mcat-hook-row__arrow { color: #888; }

/* Empty state */
.gw-mcat-empty {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-family: system-ui, sans-serif;
  font-size: 15px;
}

/* Pagination */
.gw-mcat-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  font-family: system-ui, sans-serif;
}
.gw-mcat-pgbtn {
  font-size: 13px;
  padding: 5px 11px;
  border: 0.5px solid #d6cfc2;
  border-radius: 5px;
  background: #ffffff;
  color: #1a1a18;
  text-decoration: none;
  min-width: 32px;
  text-align: center;
  display: inline-block;
}
.gw-mcat-pgbtn--active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}
.gw-mcat-pgbtn--dim { opacity: 0.35; pointer-events: none; }

/* ══════════════════════════════════════════════════════════════
   MANUFACTURER CATEGORY — full mobile pass
   ══════════════════════════════════════════════════════════════ */

/* ── 680px: hook rows — narrow photo strip ─────────────────────── */
@media (max-width: 680px) {
  .gw-mcat-hook-row__photo { width: 70px; }
  .gw-mcat-hook-row__era   { display: none; }
}

/* ── 600px: filter bar restructure + iOS zoom fix ──────────────── */
@media (max-width: 600px) {

  /* Content: reduce side padding */
  .gw-mcat-content {
    padding: 16px 1rem 32px;
  }

  /* Fix 1 + 2: filter bar — structured stacking + iOS zoom */
  .gw-mcat-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .gw-mcat-filter-left {
    flex-direction: column;
    gap: 8px;
  }
  .gw-mcat-search-wrap {
    width: 100%;
  }
  .gw-mcat-search-wrap input {
    font-size: 16px; /* prevent iOS zoom */
    flex: 1;
  }
  /* Search button: full width under search input */
  .gw-mcat-filter-bar .gw-mfr-search-btn {
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    padding: 10px;
  }
  /* Selects: 2 per row */
  .gw-mcat-filter-left > select {
    font-size: 16px; /* prevent iOS zoom */
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }
  /* Search + Clear inline */
  .gw-mcat-filter-left > .gw-mfr-search-clear {
    align-self: flex-start;
    font-size: 13px;
    padding: 4px 0;
  }
  /* Fix 4: result count — own line with separation */
  .gw-mcat-result-count {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #e8e3da;
    padding-top: 8px;
  }

  /* Fix 5: active filter badges — larger touch targets */
  .gw-mcat-filter-badge {
    padding: 7px 12px;
    font-size: 13px;
    gap: 8px;
  }
  .gw-mcat-active-filters {
    gap: 8px;
  }

  /* Fix 6: pagination — larger touch targets */
  .gw-mcat-pgbtn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    padding: 0 12px;
  }
  .gw-mcat-pagination {
    gap: 8px;
    flex-wrap: wrap;
  }
}

/* ── 420px: 1-column grid, tighter card ───────────────────────── */
@media (max-width: 420px) {
  /* Hook rows — very narrow */
  .gw-mcat-hook-row__photo { width: 60px; }
  .gw-mcat-hook-row__body  { padding: 9px 12px; }
  .gw-mcat-hook-row__right { padding: 0 10px; gap: 7px; }
  .gw-mcat-hook-row__pill  { display: none; }
  .gw-mcat-rating          { width: 26px; height: 26px; }

  /* Selects: full width at very narrow */
  .gw-mcat-filter-left > select {
    flex: 1 1 100%;
  }

  /* Fix 5: badges wrap more generously */
  .gw-mcat-filter-badge {
    padding: 8px 14px;
  }
}

/* ── Manufacturer index — search section ──────────────────────────────────── */
.gw-mfr-search-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #e8e3da;
}

.gw-mfr-search-form {
  margin-bottom: 0;
}

.gw-mfr-search-row {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
}

.gw-mfr-search-main {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.gw-mfr-search-input {
  flex: 1;
  font-size: 14px;
  padding: 9px 14px;
  border: 1px solid #d6cfc2;
  border-radius: 5px 0 0 5px;
  background: #ffffff;
  color: #1a1a18;
  font-family: system-ui, sans-serif;
  outline: none;
  border-right: none;
}
.gw-mfr-search-input:focus {
  border-color: #888;
  border-right: none;
}

.gw-mfr-search-btn {
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  white-space: nowrap;
  transition: background 0.15s;
}
.gw-mfr-search-btn:hover {
  background: #E57373;
  border-color: #E57373;
}

.gw-mfr-search-clear {
  font-size: 12px;
  color: #888;
  text-decoration: none;
  white-space: nowrap;
  font-family: system-ui, sans-serif;
  padding: 4px 2px;
}
.gw-mfr-search-clear:hover {
  color: #1a1a18;
  text-decoration: underline;
}

.gw-mfr-filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gw-mfr-filter-select {
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid #d6cfc2;
  border-radius: 5px;
  background: #ffffff;
  color: #1a1a18;
  font-family: system-ui, sans-serif;
  cursor: pointer;
}
.gw-mfr-filter-select:focus {
  outline: none;
  border-color: #888;
}

.gw-mfr-search-meta {
  font-size: 13px;
  color: #5a5850;
  font-family: system-ui, sans-serif;
  margin: 14px 0 16px;
  padding: 8px 12px;
  background: #f6f4ef;
  border-left: 3px solid #E57373;
  border-radius: 0 4px 4px 0;
}

@media (max-width: 600px) {
  .gw-mfr-search-input { font-size: 16px; } /* prevent iOS zoom */
  .gw-mfr-filter-row .gw-mfr-filter-select { flex: 1 1 45%; }
}

/* ── Hook results table — shared by manufacturer index + category ─────────── */
/* Horizontal scroll wrapper for table on narrow screens */
.gw-mcat-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}
.gw-mcat-table-wrap .gw-hook-table {
  margin-bottom: 0;
  min-width: 480px;
}

.gw-hook-table {
  width: 100%;
  border-collapse: collapse;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  margin-bottom: 20px;
}

.gw-hook-table thead tr {
  background: #111111;
}

.gw-hook-table thead th {
  padding: 9px 12px;
  text-align: left;
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  border: none;
}

.gw-hook-table__col--thumb  { width: 62px; padding: 4px 6px 4px 0 !important; }
.gw-hook-table__col--model  { width: 100px; }
.gw-hook-table__col--name   { min-width: 120px; }
.gw-hook-table__col--spec   { min-width: 120px; }
.gw-hook-table__col--app    { min-width: 90px; }
.gw-hook-table__col--era    { width: 80px; white-space: nowrap; }
.gw-hook-table__col--rating { width: 58px; text-align: center; }

.gw-hook-table tbody tr {
  border-bottom: 1px solid #e8e3da;
  transition: background 0.1s;
}
.gw-hook-table tbody tr:hover {
  background: #f6f4ef;
}
.gw-hook-table tbody tr:nth-child(even) {
  background: #faf8f5;
}
.gw-hook-table tbody tr:nth-child(even):hover {
  background: #f0ece4;
}

.gw-hook-table tbody td {
  padding: 9px 12px;
  vertical-align: middle;
  color: #1a1a18;
  border: none;
}

.gw-hook-table__thumb {
  width: 56px;
  height: 56px;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 3px;
  flex-shrink: 0;
}
.gw-hook-table__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.88;
  transition: opacity 0.15s;
}
.gw-hook-table__row:hover .gw-hook-table__thumb img { opacity: 1; }

.gw-hook-table__model-link {
  font-size: 13px;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.02em;
}
.gw-hook-table__model-link:hover {
  color: #E57373;
  text-decoration: underline;
}

.gw-hook-table__col--name td,
.gw-hook-table tbody td.gw-hook-table__col--name {
  font-size: 13px;
  color: #3d3c38;
}

.gw-hook-table__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.gw-hook-table__pill {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 10px;
  background: #f3efe8;
  color: #5a5850;
  white-space: nowrap;
}

.gw-hook-table__pill--app {
  background: #e8f0f8;
  color: #1a5276;
}

.gw-hook-table__rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
}
.gw-hook-table__rating--r-lo { background: #fce8e8; color: #a32d2d; }
.gw-hook-table__rating--r-md { background: #faeeda; color: #854f0b; }
.gw-hook-table__rating--r-hi { background: #eaf3de; color: #3b6d11; }

.gw-hook-table__empty {
  color: #bbb;
  font-size: 12px;
}

.gw-hook-table__col--era td,
.gw-hook-table tbody td.gw-hook-table__col--era {
  font-size: 12px;
  color: #888;
}

/* Responsive — collapse spec and app columns on small screens */
@media (max-width: 680px) {
  /* Hide era + app on mid-width screens */
  .gw-hook-table__col--app,
  .gw-hook-table th.gw-hook-table__col--app { display: none; }
  .gw-hook-table__col--era,
  .gw-hook-table th.gw-hook-table__col--era { display: none; }
}
@media (max-width: 520px) {
  /* Hide spec on narrow screens */
  .gw-hook-table__col--spec,
  .gw-hook-table th.gw-hook-table__col--spec { display: none; }
  /* Shrink thumbnail */
  .gw-hook-table__thumb { width: 44px; height: 44px; }
  .gw-hook-table__col--thumb { width: 50px; }
}
@media (max-width: 400px) {
  /* Hide name on very narrow — model + thumb + rating is enough */
  .gw-hook-table__col--name,
  .gw-hook-table th.gw-hook-table__col--name { display: none; }
}

/* ── Hook table — sortable column headers ─────────────────────────────────── */
.gw-hook-table__th {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.gw-hook-table__th:hover {
  background: #2a2a2a;
  color: rgba(255,255,255,0.95);
}
.gw-hook-table__th--asc,
.gw-hook-table__th--desc {
  background: #E57373;
  color: #ffffff;
}
.gw-hook-table__th--asc:hover,
.gw-hook-table__th--desc:hover {
  background: #ef9a9a;
  color: #ffffff;
}
.gw-sort-icon {
  font-size: 10px;
  opacity: 0.7;
  display: inline-block;
  min-width: 10px;
}

/* ── Item 1: clickable table rows ─────────────────────────────────────────── */
.gw-hook-table__row[data-href] {
  cursor: pointer;
}
.gw-hook-table__row[data-href]:hover td {
  background: #f0ece4 !important;
}

/* ── Item 4: active filter badges ─────────────────────────────────────────── */
.gw-mcat-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-family: system-ui, sans-serif;
}
.gw-mcat-active-filters__label {
  font-size: 11px;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.gw-mcat-filter-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  padding: 3px 10px;
  background: #f3efe8;
  border: 1px solid #d6cfc2;
  border-radius: 20px;
  color: #3d3c38;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.gw-mcat-filter-badge:hover {
  background: #e8e3da;
  border-color: #888;
  color: #1a1a18;
}
.gw-mcat-filter-badge--clear-all {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  font-weight: 500;
}
.gw-mcat-filter-badge--clear-all:hover {
  background: #E57373;
  border-color: #E57373;
  color: #ffffff;
}

/* ── Item 2: search wrap for input+button joined look ─────────────────────── */
.gw-mcat-search-wrap {
  display: flex;
  flex: 1;
  min-width: 150px;
}
.gw-mcat-search-wrap input {
  border-radius: 5px 0 0 5px !important;
  border-right: none !important;
  flex: 1;
}
.gw-mcat-filter-bar .gw-mfr-search-btn {
  border-radius: 0 5px 5px 0;
  margin-left: 0;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   GARRENWOOD HOME PAGE — template-home.php
   gw-home prefix throughout to avoid all conflicts
   ════════════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────────────────────── */

/* Stat strip inside hero */

/* ── Content wrapper ─────────────────────────────────────────────────────── */

/* ── Section label / heading utilities ───────────────────────────────────── */

/* ── Nav cards ───────────────────────────────────────────────────────────── */

/* ── Store band ──────────────────────────────────────────────────────────── */

/* ── Lower three-column grid ─────────────────────────────────────────────── */

/* Option B layout: left stack (recent + blog) + right (manufacturers) */

/* Left stack: recent hooks above blog, both full width of left column */

/* Keep the old two-col class available but unused — harmless */

/* ── Recent hooks list — Option C strip cards ────────────────────────────── */

/* Row: image left | content right */

/* Image strip */

/* .gw-home__recent-badge removed — application types now shown as pills in card body */

/* Content area */

/* Manufacturer + model code — bold, first line */

/* Hook name — lighter, second line */

/* Application type pills — warm teal tint to distinguish from spec pills */

/* Spec pills */

/* Bottom bar: era left | rating + arrow right */

/* Collectability rating circle */

/* ── Store widget ────────────────────────────────────────────────────────── */

/* Prevent Ecwid from breaking layout */

/* ── Manufacturer box ────────────────────────────────────────────────────── */

/* ════════════════════════════════════════════════════════════════
   HOME PAGE — RESPONSIVE
   ════════════════════════════════════════════════════════════════ */

/* 720px: collapse lower grid to 2-column, manufacturers moves below */
@media (max-width: 720px) {
  
  
  
  /* Strip cards: narrower image on smaller screens */
  
  
}

/* 600px: full mobile pass */
@media (max-width: 600px) {
  /* Hero */
  
  
  
  
  
  

  /* Content */
  

  /* Nav cards: 1-column stack */
  
  
  /* Two-col lower: stack at 600px */
  

  /* Store band: stack vertically */
  
  
  
  
  
  
  

  /* Lower: full-width single column */
  
  

  /* Manufacturer box: 2-column grid on mobile for density */
  
  
  
  /* Every 2nd item in left column loses right border */
  
}

@media (max-width: 380px) {
   /* hide photos stat on very small */
  
}

/* ════════════════════════════════════════════════════════════════
   MANUFACTURER LISTING — template-manufacturer-listing.php
   ════════════════════════════════════════════════════════════════ */

/* ── Filter bar ──────────────────────────────────────────────────────────── */

/* ── Table ───────────────────────────────────────────────────────────────── */

/* Header row */

/* Column widths */

/* Body rows */

/* Thumbnail cell */

/* Name cell */

/* Location cell */

/* Type pills */

/* Stat numbers */

/* Footer note */

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  /* Hide types column — too wide at mid-size */
  
}

@media (max-width: 600px) {
  

  
  
   /* iOS zoom fix */
  .gw-mfr-filter-select { font-size: 16px; }  /* iOS zoom fix */
  

  /* Hide photos column on small screens */
  

  /* Smaller thumbnail */
  
  
  
}

@media (max-width: 440px) {
  /* Very narrow: hide location column too */
  
}

/* ── Home page — manufacturer name on recent hooks cards ─────────────────── */

/* .gw-home__recent-meta and related rules superseded by Option C strip card CSS above */

/* ── Home page — recent blog posts card ─────────────────────────────────── */

/* Three-column :has() rule removed — using stacked left layout instead */

/* ── Responsive adjustments ──────────────────────────────────────────────── */

@media (max-width: 900px) {
  /* Stacked layout stays 2-col down to 720px — no change needed here */
  
}

/* ── Home page — Featured Hook section ──────────────────────────────────────── */

/* ── Left column ─────────────────────────────────────────────────────────────── */

/* ── Right column ────────────────────────────────────────────────────────────── */

/* ── Responsive ──────────────────────────────────────────────────────────────── */

/* ── Home page — hero search ─────────────────────────────────────────────────── */

.gw-home__search-row {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 0.5px solid rgba(255,255,255,.12);
}

.gw-home__search-wrap {
  position: relative;
  width: 100%;
}

.gw-home__search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.4);
  pointer-events: none;
  flex-shrink: 0;
}

.gw-home__search-input {
  width: 100%;
  background: rgba(255,255,255,.09);
  border: 0.5px solid rgba(255,255,255,.2);
  border-radius: 7px;
  padding: 11px 70px 11px 38px;
  font-size: 14px;
  color: #fff;
  font-family: system-ui, sans-serif;
  outline: none;
  transition: background .15s, border-color .15s;
  -webkit-appearance: none;
}
.gw-home__search-input::placeholder { color: rgba(255,255,255,.38); }
.gw-home__search-input:focus {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.35);
}

.gw-home__search-shortcut {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.gw-home__search-shortcut-key {
  font-size: 11px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.4);
  padding: 3px 7px;
  border-radius: 4px;
  font-family: system-ui, sans-serif;
  white-space: nowrap;
}

/* ── Dropdown ────────────────────────────────────────────────────────────────── */

.gw-home__search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 0.5px solid #d6cfc2;
  border-radius: 8px;
  overflow: hidden;
  z-index: 200;
  box-shadow: 0 6px 24px rgba(0,0,0,.14);
}

.gw-home__search-loading,
.gw-home__search-empty {
  padding: 14px 16px;
  font-size: 13px;
  color: #888;
  font-family: system-ui, sans-serif;
}

.gw-home__search-result {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 0.5px solid #f0ede6;
  text-decoration: none;
  background: #fff;
  transition: background .1s;
}
.gw-home__search-result:last-of-type { border-bottom: none; }
.gw-home__search-result:hover,
.gw-home__search-result--active { background: #f6f4ef; }

.gw-home__search-result-thumb {
  width: 42px;
  height: 30px;
  background: #eee9e0;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gw-home__search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gw-home__search-result-body { min-width: 0; }

.gw-home__search-result-model {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a18;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: system-ui, sans-serif;
}
.gw-home__search-result-model em,
.gw-home__search-result-name em,
.gw-home__search-result-sub em {
  font-style: normal;
  color: #1a5276;
  font-weight: 700;
}
.gw-home__search-result-code {
  font-weight: 400;
  color: #5a5850;
}
.gw-home__search-result-name {
  font-size: 12px;
  color: #5a5850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: system-ui, sans-serif;
  margin-top: 1px;
}
.gw-home__search-result-sub {
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: system-ui, sans-serif;
  margin-top: 1px;
}

.gw-home__search-result-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.gw-home__search-result-meta span {
  font-size: 10px;
  color: #aaa;
  font-family: system-ui, sans-serif;
  white-space: nowrap;
}

.gw-home__search-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  border-top: 0.5px solid #ece8e0;
  background: #f9f7f4;
}
.gw-home__search-footer span {
  font-size: 11px;
  color: #aaa;
  font-family: system-ui, sans-serif;
}
.gw-home__search-footer a {
  font-size: 11px;
  color: #1a5276;
  text-decoration: none;
  font-weight: 500;
  font-family: system-ui, sans-serif;
}
.gw-home__search-footer a:hover { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .gw-home__search-input { font-size: 16px; } /* prevent iOS zoom */
  .gw-home__search-shortcut { display: none; }
  .gw-home__search-result { grid-template-columns: 38px 1fr; }
  .gw-home__search-result-meta { display: none; }
}
/* ================================================================
   MANUFACTURER COMPACT TEMPLATE — style additions
   Add these rules to the bottom of style.css in the child theme.

   All rules are prefixed .gwc- to distinguish them from the
   existing .gw- classes used by the hook reference template.
   ================================================================ */

/* ── Catalog nav — jump links between hook entries ────────────────────────── */

/* ── Divider between hook entries ─────────────────────────────────────────── */

.gwc-entry-divider {
  border: none;
  border-top: 2px solid var(--gw-navy);
  margin: 2.5rem 0 2.5rem;
  opacity: 0.12;
}

/* ── Inline hook entry ────────────────────────────────────────────────────── */

.gwc-inline-entry {
  /* Scroll target — the jump nav links land here */
  scroll-margin-top: 1.5rem;
}

.gwc-inline-entry__header {
  background: var(--gw-navy);
  color: #ffffff;
  padding: 1.4rem 1.75rem 1.2rem;
  border-bottom: 3px solid #555;
  margin-bottom: 0;
  position: relative;
}

.gwc-entry-counter {
  display: block;
  font-size: 11px;
  opacity: 0.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.gwc-inline-entry__title {
  font-size: 22px !important;
  font-weight: normal !important;
  color: #ffffff !important;
  margin: 0 0 0.3rem !important;
  line-height: 1.3 !important;
  font-family: Georgia, 'Times New Roman', serif !important;
}

.gwc-inline-spec-bar {
  /* Inherits .gw-spec-bar but we ensure contrast on dark bg */
  color: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.gwc-inline-entry__links {
  margin-top: 0.5rem;
  font-size: 12px;
}

.gwc-inline-entry__permalink {
  position: absolute;
  top: 1.2rem;
  right: 1.75rem;
  font-size: 12px;
}

.gwc-inline-entry__permalink a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

.gwc-inline-entry__permalink a:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.gwc-inline-entry__body {
  /* Sections inside the body render exactly as on a standalone hook page */
}

/* Section headings inside inline entries are h3/h4 rather than h2/h3,
   but we still want them to look like the full template's h2/h3. */
.gwc-inline-entry__body .gw-section h3.gw-section-title {
  font-size: 16px !important;
}

.gwc-inline-entry__body .gw-section h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 1.2rem 0 0.4rem;
  color: var(--gw-ink);
  font-family: Georgia, 'Times New Roman', serif;
}

/* ── Responsive — narrow screens ──────────────────────────────────────────── */

@media (max-width: 640px) {
  .gwc-inline-entry__permalink {
    position: static;
    margin-top: 8px;
  }

  .gwc-inline-entry__header {
    padding: 1.1rem 1.1rem 1rem;
  }
}

/* ── Hook summary cards (Option A compact rendering) ─────────────────────── */

/* ── Thumbnail column ─────────────────────────────────────────────────────── */

/* ── Body column ──────────────────────────────────────────────────────────── */

/* ── Spec bar ─────────────────────────────────────────────────────────────── */

/* ── Application pills ───────────────────────────────────────────────────── */

/* ── Summary paragraph ───────────────────────────────────────────────────── */

/* ── Key spec grid ───────────────────────────────────────────────────────── */

/* ── Right rail: rating + CTA ────────────────────────────────────────────── */

/* ── Responsive — narrow screens ─────────────────────────────────────────── */

/* ── Search result — manufacturer index link ─────────────────────────────────── */
.gw-home__search-result-mfr-link {
  font-size: 10px;
  color: #1a5276;
  text-decoration: none;
  white-space: nowrap;
  font-family: system-ui, sans-serif;
  font-weight: 500;
  opacity: .8;
  margin-left: auto;
}
.gw-home__search-result-mfr-link:hover { opacity: 1; text-decoration: underline; }
.gw-home__search-result-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

/* ── Entry last updated footer ──────────────────────────────────────────────
 * Displayed at the bottom of every hook reference page.
 * Understated — supplementary context, not primary content.
 */
.gw-entry-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1.5rem 1.25rem;
  border-top: 1px solid #e8e3da;
  margin-top: 0.5rem;
}

.gw-entry-updated {
  font-size: 12px;
  color: #5a5850;
  font-style: italic;
  white-space: nowrap;
}

.gw-entry-updated-note {
  font-size: 11px;
  color: #5a5850;
  opacity: 0.75;
}

/* ════════════════════════════════════════════════════════════════════════
   HOOK CONCEPT TAXONOMY — INDUSTRY CROSS-REFERENCE
   Used by hc_render_concept_equivalents() inside Section 7 of the hook
   reference template, below the curated .gw-equiv-table.
   ════════════════════════════════════════════════════════════════════════ */

.gw-concept-equiv {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed #d8dde1;
}

.gw-concept-equiv h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: #1a1a1a;
}

.gw-concept-equiv-classification {
    font-weight: 400;
    color: #555;
}

.gw-concept-equiv-classification::before {
    content: "\2014";
    margin: 0 6px;
    color: #aaa;
    font-weight: 400;
}

.gw-concept-equiv-sub {
    font-size: 0.8125rem;
    color: #666;
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.gw-concept-equiv-mfr-groups {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.gw-concept-equiv-mfr-group {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.gw-concept-equiv-mfr-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1a1a1a;
    min-width: 125px;
    flex-shrink: 0;
}

.gw-concept-equiv-mfr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.gw-concept-equiv-chip {
    display: inline-block;
    font-size: 0.9375rem;
    padding: 4px 12px;
    border-radius: 5px;
    background: #f5f6f7;
    border: 1px solid #dde1e4;
    color: #444;
    line-height: 1.4;
    cursor: default;
}

.gw-concept-equiv-chip--linked {
    background: #f0fff4;
    border-color: #7ec894;
    color: #1a5c35;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

.gw-concept-equiv-chip--linked:hover {
    background: #d9f7e3;
    text-decoration: none;
}

.gw-concept-equiv-chip--mini {
    background: #fff8eb;
    border-color: #e0b35c;
    color: #8a5a12;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

.gw-concept-equiv-chip--mini:hover {
    background: #fdecc9;
    text-decoration: none;
}

.gw-concept-equiv-note {
    font-size: 0.6875rem;
    color: #999;
    margin: 0.5rem 0 0;
    font-style: italic;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .gw-concept-equiv-mfr-group {
        flex-direction: column;
        gap: 4px;
    }

    .gw-concept-equiv-mfr-name {
        min-width: 0;
    }

    .gw-concept-equiv-chip {
        font-size: 0.8125rem;
        padding: 3px 9px;
    }
}

/* The consolidated reference stylesheet intentionally uses !important on its
   generic section headings and paragraphs. Match that cascade only within the
   concept block so its supplied type scale and divider-free heading survive. */
.gw-entry .gw-section .gw-concept-equiv h3 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #1a1a1a !important;
}

.gw-entry .gw-section p.gw-concept-equiv-sub {
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
}

.gw-entry .gw-section p.gw-concept-equiv-note {
    font-size: 0.6875rem !important;
    line-height: 1.4 !important;
}
