/* =============================================
   OF2go Buyer's Guides — Page-Specific Styles
   ============================================= */

/* --- Hero Section --- */
.guide-hero {
  background-color: #64c2cf;
  color: #fff;
  padding: 48px 0 40px;
  margin-bottom: 0;
}
.guide-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.guide-hero p {
  font-size: 17px;
  margin: 0 0 16px;
  opacity: 0.92;
  max-width: 640px;
}
.guide-hero .btn-back {
  display: inline-block;
  color: #fff;
  border: 2px solid #fff;
  padding: 8px 22px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.guide-hero .btn-back:hover {
  background: #fff;
  color: #64c2cf;
}

/* --- Breadcrumb --- */
.guide-breadcrumb {
  background: #f5f5f5;
  padding: 12px 0;
  font-size: 13px;
  border-bottom: 1px solid #e5e5e5;
}
.guide-breadcrumb a {
  color: #339aa8;
  text-decoration: none;
}
.guide-breadcrumb a:hover {
  text-decoration: underline;
}
.guide-breadcrumb .sep {
  color: #999;
  margin: 0 6px;
}
.guide-breadcrumb .current {
  color: #565c5d;
  font-weight: 600;
}

/* --- Search / Filter Bar --- */
.guide-search-section {
  padding: 24px 0 8px;
}
.guide-search-section .search-input {
  width: 100%;
  max-width: 480px;
  padding: 10px 16px;
  font-size: 15px;
  border: 2px solid #ddd;
  border-radius: 4px;
  outline: none;
  transition: border-color .2s;
}
.guide-search-section .search-input:focus {
  border-color: #64c2cf;
}

/* --- Category Sections --- */
.guide-category {
  padding: 32px 0 8px;
}
.guide-category-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #565c5d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 3px solid #64c2cf;
  padding-bottom: 10px;
  margin-bottom: 24px;
}

/* --- Card Grid --- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 16px;
}
@media (max-width: 991px) {
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Guide Card --- */
.guide-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
}
.guide-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  border-color: #64c2cf;
}
.guide-card.hidden {
  display: none;
}
.guide-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}
.guide-card-title a {
  color: #333;
  text-decoration: none;
}
.guide-card-title a:hover {
  color: #339aa8;
}
.guide-card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 14px;
}
.guide-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.guide-card .btn-read {
  display: inline-block;
  background: #64c2cf;
  color: #fff;
  padding: 7px 16px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.guide-card .btn-read:hover {
  background: #4fa8b5;
}
.guide-card .btn-pdf {
  display: inline-block;
  color: #64c2cf;
  border: 1.5px solid #64c2cf;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.guide-card .btn-pdf:hover {
  background: #64c2cf;
  color: #fff;
}
.guide-card .badge-pages {
  background: #f0f0f0;
  color: #777;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
  margin-left: auto;
}

/* --- Guide Detail: Content Area --- */
.guide-content-wrap {
  padding: 32px 0 48px;
}
.guide-content {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}
.guide-content h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #339aa8;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e9e9e9;
}
.guide-content h2:first-child {
  margin-top: 0;
}
.guide-content h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #565c5d;
  margin: 28px 0 10px;
}
.guide-content p {
  margin: 0 0 16px;
}
.guide-content ul,
.guide-content ol {
  margin: 0 0 18px;
  padding-left: 24px;
}
.guide-content ul li,
.guide-content ol li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.guide-content table th,
.guide-content table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.guide-content table th {
  background: #f5f5f5;
  font-weight: 700;
  color: #565c5d;
}
.guide-content table tr:nth-child(even) {
  background: #fafafa;
}
.guide-content table {
  overflow-x: auto;
  display: block;
}
@media (min-width: 768px) {
  .guide-content table {
    display: table;
  }
}

/* --- Sidebar --- */
.guide-sidebar {
  padding-left: 12px;
}
@media (max-width: 991px) {
  .guide-sidebar {
    padding-left: 0;
    margin-top: 32px;
  }
}
.sidebar-box {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 20px 18px;
  margin-bottom: 20px;
}
.sidebar-box h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #565c5d;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.sidebar-box .btn-download-pdf {
  display: block;
  background: #eb685e;
  color: #fff;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background .2s;
}
.sidebar-box .btn-download-pdf:hover {
  background: #d8554b;
}
.sidebar-box .btn-download-qa {
  display: block;
  color: #64c2cf;
  border: 2px solid #64c2cf;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background .2s, color .2s;
}
.sidebar-box .btn-download-qa:hover {
  background: #64c2cf;
  color: #fff;
}
.sidebar-box .btn-shop {
  display: block;
  background: #565c5d;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
}
.sidebar-box .btn-shop:hover {
  background: #444949;
}
.sidebar-box .expert-phone {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #339aa8;
  display: block;
  margin-bottom: 6px;
  text-decoration: none;
}
.sidebar-box .expert-hours {
  font-size: 13px;
  color: #888;
}
.sidebar-box ul.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-box ul.related-list li {
  margin-bottom: 8px;
}
.sidebar-box ul.related-list li a {
  color: #339aa8;
  text-decoration: none;
  font-size: 14px;
}
.sidebar-box ul.related-list li a:hover {
  text-decoration: underline;
}

/* --- Prev/Next Nav --- */
.guide-prevnext {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 48px;
  border-top: 1px solid #e5e5e5;
  margin-top: 32px;
}
.guide-prevnext a {
  color: #339aa8;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.guide-prevnext a:hover {
  text-decoration: underline;
}
.guide-prevnext .prev::before {
  content: "\2190\00a0";
}
.guide-prevnext .next::after {
  content: "\00a0\2192";
}

/* --- No Results Message --- */
.no-results {
  display: none;
  text-align: center;
  padding: 40px 0;
  font-size: 18px;
  color: #999;
}
.no-results.visible {
  display: block;
}

/* --- Misc overrides --- */
body {
  background: #f9f9f9;
}
.guide-page-body {
  background: #fff;
}

/* Pro Tips download button */
.sidebar-box .btn-pro-tips {
  display: block;
  color: #565c5d;
  border: 2px solid #565c5d;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  margin-top: 6px;
  transition: background 0.2s, color 0.2s;
}
.sidebar-box .btn-pro-tips:hover {
  background: #565c5d;
  color: #fff;
  text-decoration: none;
}

/* ── Guide tables ── */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.9rem;
}
.guide-table th {
  background: #65C2CF;
  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: #EAF7F8;
}

/* ── Guide lists ── */
.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;
}


/* ── Q&A Pages ─────────────────────────────────────────────────────────────── */
.qa-series-label {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: #65C2CF; 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: #65C2CF; 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: #EB685E; 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: #EAF7F8; border: 1px solid #65C2CF;
  border-radius: 5px; padding: 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.tip-num {
  font-size: 1.6rem; font-weight: 800; color: #b2d8d8;
  line-height: 1; flex-shrink: 0; min-width: 28px;
}
.tip-headline {
  font-size: .875rem; font-weight: 700; color: #565C5D;
  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; }
}
