/* OF2go Buyer's Guides Site — Custom Styles */
:root {
  --of2go-cyan: #65C2CF;
  --of2go-coral: #EB685E;
  --of2go-charcoal: #565C5D;
  --of2go-light-cyan: #E8F6F8;
  --of2go-dark: #333333;
  --of2go-mid: #666666;
  --of2go-light: #F5F5F5;
  --of2go-border: #D5E8EB;
}

/* — General — */
body { font-family: 'Poppins', sans-serif; color: var(--of2go-dark); }
a { color: var(--of2go-cyan); }
a:hover { color: var(--of2go-coral); }

/* — Hero banner (index page) — */
.guide-hero {
  background: linear-gradient(135deg, var(--of2go-charcoal) 0%, #3a3f40 100%);
  color: #fff;
  padding: 44px 0 36px;
  margin-bottom: 0;
  border-bottom: 4px solid var(--of2go-cyan);
}
.guide-hero h1 { font-size: 2rem; font-weight: 700; margin: 0 0 8px; }
.guide-hero p { font-size: 1.05rem; margin: 0 0 12px; opacity: .85; }
.btn-back {
  color: rgba(255,255,255,.7) !important; font-size: .85rem;
  text-decoration: none;
}
.btn-back:hover { color: #fff !important; }

/* — Breadcrumb (index page) — */
.guide-breadcrumb { margin: 14px 0 0; font-size: .82rem; color: var(--of2go-mid); }
.guide-breadcrumb a { color: var(--of2go-cyan); text-decoration: none; }
.guide-breadcrumb a:hover { color: var(--of2go-coral); }
.guide-breadcrumb .sep { margin: 0 4px; }
.guide-breadcrumb .current { color: var(--of2go-dark); font-weight: 600; }

/* — Breadcrumb (detail pages) — */
.breadcrumb-row { margin: 16px 0; font-size: .82rem; color: var(--of2go-mid); }
.breadcrumb-row a { color: var(--of2go-cyan); text-decoration: none; }
.breadcrumb-row a:hover { color: var(--of2go-coral); }

/* — Search (index page) — */
.guide-search-section { margin: 20px 0 28px; }
.guide-search-section .search-input {
  width: 100%; padding: 12px 16px; font-size: 1rem;
  border: 2px solid var(--of2go-border); border-radius: 4px;
  outline: none; transition: border-color .2s;
  box-sizing: border-box;
}
.guide-search-section .search-input:focus { border-color: var(--of2go-cyan); }

/* — Category headings (index page) — */
.guide-category { margin-bottom: 36px; }
.guide-category-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--of2go-charcoal);
  border-bottom: 3px solid var(--of2go-cyan);
  padding-bottom: 8px;
  margin-top: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* — Grid (index page) — */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 16px;
}

/* — Cards (index page) — */
.guide-card {
  background: #fff;
  border: 1px solid var(--of2go-border);
  border-radius: 6px;
  padding: 20px 20px 16px;
  transition: box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.guide-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.1); border-color: var(--of2go-cyan); }
.guide-card-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; color: var(--of2go-charcoal); }
.guide-card-title a { color: inherit; text-decoration: none; }
.guide-card-title a:hover { color: var(--of2go-coral); }
.guide-card-desc { font-size: .875rem; color: var(--of2go-mid); line-height: 1.5; flex: 1; margin: 0 0 14px; }
.guide-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.btn-read {
  background: var(--of2go-coral); color: #fff !important;
  padding: 6px 14px; border-radius: 4px; font-size: .8rem; font-weight: 700;
  text-decoration: none; white-space: nowrap; display: inline-block;
}
.btn-read:hover { background: #d4554b; }
.btn-pdf {
  border: 1.5px solid var(--of2go-charcoal); color: var(--of2go-charcoal) !important;
  padding: 5px 10px; border-radius: 4px; font-size: .78rem; font-weight: 600;
  text-decoration: none; white-space: nowrap; display: inline-block;
}
.btn-pdf:hover { background: var(--of2go-charcoal); color: #fff !important; }
.badge-pages {
  font-size: .75rem; color: var(--of2go-mid);
  border: 1px solid var(--of2go-border);
  padding: 3px 8px; border-radius: 12px; white-space: nowrap;
}

/* — No results — */
.no-results { display: none; padding: 24px; color: var(--of2go-mid); font-size: .95rem; }

/* — Hidden for search — */
.guide-card[style*="display: none"] { display: none !important; }

/* ================================================================
   GUIDE DETAIL PAGES
   ================================================================ */

/* — Page body — */
.guide-page-body { background: #fff; }

/* — Content wrapper — */
.guide-content-wrap { padding: 32px 0 64px; }

/* — Content column — */
.guide-content h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 30px; color: #333;
  margin: 0 0 24px; font-weight: 700;
}
.guide-content p { line-height: 1.7; font-size: .95rem; margin-bottom: 14px; }
.guide-content ul { margin: 8px 0 14px 0; padding-left: 1.4em; }
.guide-content ul li { margin-bottom: 4px; line-height: 1.6; font-size: .95rem; }

/* — Section headings — */
.guide-section-heading, h2.guide-section-heading {
  font-size: 1.2rem; font-weight: 700; color: var(--of2go-charcoal);
  border-bottom: 2px solid var(--of2go-cyan);
  padding-bottom: 6px; margin: 28px 0 12px;
}

/* — Sub-headings — */
.guide-subheading, .guide-content h3 {
  font-size: 1rem; font-weight: 700; color: var(--of2go-charcoal);
  margin: 18px 0 8px;
}

/* — Guide tables — */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.9rem;
}
.guide-table th {
  background: var(--of2go-cyan);
  color: #fff;
  padding: 8px 12px;
  text-align: left;
  font-weight: 700;
}
.guide-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}
.guide-table tr:nth-child(even) td { background: #f5f5f5; }
.guide-table tr:hover td { background: var(--of2go-light-cyan); }

/* — Checklist — */
.checklist { list-style: none; padding: 0; margin: 12px 0; }
.checklist li { padding: 6px 0; font-size: .95rem; line-height: 1.6; border-bottom: 1px solid var(--of2go-border); }
.checklist li:last-child { border-bottom: none; }

/* — Prev / Next navigation — */
.guide-prevnext { display: flex; justify-content: space-between; margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--of2go-border); }
.guide-prevnext a { color: var(--of2go-cyan); font-size: .9rem; font-weight: 600; text-decoration: none; }
.guide-prevnext a:hover { color: var(--of2go-coral); }
.guide-prevnext .prev::before { content: '\2039\00a0'; }
.guide-prevnext .next::after { content: '\00a0\203a'; }

/* ================================================================
   SIDEBAR
   ================================================================ */
.guide-sidebar { position: sticky; top: 20px; }
.sidebar-box {
  background: #fff; border: 1px solid var(--of2go-border);
  border-radius: 6px; padding: 18px 16px; margin-bottom: 16px;
}
.sidebar-box h3 {
  font-size: .9rem; font-weight: 700; color: var(--of2go-charcoal);
  margin: 0 0 12px; text-transform: uppercase; letter-spacing: .04em;
}

/* sidebar buttons */
.btn-download-pdf, .btn-download-qa, .btn-pro-tips, .btn-sales-sheet, .btn-10q {
  display: block; padding: 10px 14px; border-radius: 4px;
  font-size: .875rem; font-weight: 700; text-align: center;
  text-decoration: none; margin-bottom: 8px;
}
.btn-download-pdf { background: var(--of2go-coral); color: #fff !important; }
.btn-download-pdf:hover { background: #d4554b; }
.btn-download-qa { color: var(--of2go-cyan) !important; border: 2px solid var(--of2go-cyan); }
.btn-download-qa:hover { background: var(--of2go-cyan); color: #fff !important; }
.btn-pro-tips { color: var(--of2go-charcoal) !important; border: 2px solid var(--of2go-charcoal); }
.btn-pro-tips:hover { background: var(--of2go-charcoal); color: #fff !important; }
.btn-10q { color: var(--of2go-cyan) !important; border: 2px solid var(--of2go-cyan); }
.btn-10q:hover { background: var(--of2go-cyan); color: #fff !important; }
.btn-sales-sheet { color: var(--of2go-mid) !important; border: 2px solid var(--of2go-border); }
.btn-sales-sheet:hover { background: var(--of2go-light); }

.btn-shop {
  display: block; background: var(--of2go-cyan); color: #fff !important;
  padding: 11px 14px; border-radius: 4px; font-size: .9rem;
  font-weight: 700; text-align: center; text-decoration: none;
}
.btn-shop:hover { background: #4eaab7; }
.expert-phone {
  display: block; font-size: 1.25rem; font-weight: 800;
  color: var(--of2go-coral) !important; text-decoration: none; margin-bottom: 4px;
}
.expert-hours { font-size: .8rem; color: var(--of2go-mid); }
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { border-bottom: 1px solid var(--of2go-border); }
.related-list li:last-child { border-bottom: none; }
.related-list li a { display: block; padding: 7px 0; font-size: .875rem; color: var(--of2go-cyan); text-decoration: none; }
.related-list li a:hover { color: var(--of2go-coral); }

/* ================================================================
   Q&A PAGES
   ================================================================ */
.qa-series-label {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--of2go-coral); margin-bottom: 6px;
}
.qa-list { display: flex; flex-direction: column; gap: 0; }
.qa-item { border-bottom: 1px solid #e5e5e5; padding: 20px 0; }
.qa-item:first-child { padding-top: 0; }
.qa-question {
  font-size: 1.05rem; font-weight: 700; color: #333; margin-bottom: 10px;
  display: flex; align-items: flex-start; gap: 12px;
}
.qa-num {
  flex-shrink: 0; background: var(--of2go-coral); color: #fff;
  font-size: .75rem; font-weight: 800; padding: 2px 7px;
  border-radius: 3px; margin-top: 3px;
}
.qa-answer { display: flex; gap: 12px; align-items: flex-start; }
.qa-label {
  flex-shrink: 0; background: var(--of2go-charcoal); color: #fff;
  font-size: .75rem; font-weight: 800; padding: 2px 8px;
  border-radius: 3px; margin-top: 2px;
}
.qa-answer-text { font-size: .95rem; line-height: 1.65; color: #444; }

/* ================================================================
   PRO TIPS PAGES
   ================================================================ */
.tips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tip-card {
  background: var(--of2go-light-cyan); border: 1px solid var(--of2go-cyan);
  border-radius: 5px; padding: 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.tip-num { font-size: 1.6rem; font-weight: 800; color: #a3dbe3; line-height: 1; flex-shrink: 0; min-width: 28px; }
.tip-headline { font-size: .875rem; font-weight: 700; color: var(--of2go-charcoal); margin-bottom: 5px; line-height: 1.3; }
.tip-body { font-size: .82rem; line-height: 1.5; color: #555; }
@media (max-width: 600px) { .tips-grid { grid-template-columns: 1fr; } }

/* ================================================================
   BEST OF PAGES (directory + detail)
   ================================================================ */
.bestof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.bestof-card {
  display: block;
  background: #fff;
  border: 1px solid #b2dfe5;
  border-top: 3px solid var(--of2go-cyan);
  border-radius: 5px;
  padding: 14px;
  text-decoration: none;
  transition: box-shadow .2s, border-color .2s;
}
.bestof-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,.1); border-color: var(--of2go-coral); }
.bestof-card-title { font-size: .95rem; font-weight: 700; color: var(--of2go-charcoal); margin-bottom: 6px; }
.bestof-card-count { font-size: .78rem; color: var(--of2go-mid); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 767px) {
  .guide-content-wrap .col-sm-8 { width: 100%; padding-right: 0; margin-bottom: 24px; }
  .guide-content-wrap .col-sm-4 { width: 100%; }
  .guide-sidebar { position: static; }
  .guide-hero h1 { font-size: 1.5rem; }
  .guide-grid { grid-template-columns: 1fr; }
}
