/*
 * Theme Name:   Kadence Child - CampGearAdvice
 * Template:     kadence
 * Version:      1.1
 */

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --cga-primary: #2286A9;
  --cga-secondary: #555555;
  --cga-accent: #2286A9;
  --cga-light-bg: #F5F5F5;
  --cga-dark: #1A1A1A;
  --cga-success: #2286A9;
  --cga-danger: #C53030;
  --cga-info: #1E40AF;
  --cga-muted: #6B7280;
  --cga-border: #E5E7EB;
  --cga-radius: 8px;

  /* Category badge colors */
  --badge-reviews: #2286A9;
  --badge-best: #1E40AF;
  --badge-howto: #D97706;
  --badge-explainer: #7C3AED;
  --badge-versus: #DC2626;
}


/* =============================================
   TOP BAR
   ============================================= */
.cga-topbar {
  background: #1A1A1A;
  padding: 7px 0;
  font-size: 12px;
  line-height: 1;
}

.cga-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cga-topbar-tagline {
  color: #9CA3AF;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.cga-topbar-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.cga-topbar-social a {
  color: #6B7280;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s;
}

.cga-topbar-social a:hover {
  color: var(--cga-accent);
}

@media (max-width: 600px) {
  .cga-topbar-tagline {
    display: none;
  }

  .cga-topbar-inner {
    justify-content: center;
  }
}


/* =============================================
   HEADER
   ============================================= */
.site-header-wrap {
  border-bottom: 2px solid var(--cga-primary) !important;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.main-navigation a {
  font-weight: 600 !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a {
  color: var(--cga-primary) !important;
}


/* =============================================
   CATEGORY BADGES
   ============================================= */
.cga-badge {
  display: inline-block;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1;
}

/* Auto-badge on post cards via category class */
.cat-reviews .cga-auto-badge {
  background: var(--badge-reviews);
}

.cat-best-lists .cga-auto-badge {
  background: var(--badge-best);
}

.cat-how-to .cga-auto-badge {
  background: var(--badge-howto);
}

.cat-explainers .cga-auto-badge {
  background: var(--badge-explainer);
}

.cat-versus .cga-auto-badge {
  background: var(--badge-versus);
}


/* =============================================
   POST CARDS
   ============================================= */
.cga-card {
  background: #fff;
  border-radius: var(--cga-radius);
  border: 1px solid var(--cga-border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.cga-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  transform: translateY(-2px);
}

.cga-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.cga-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cga-card-badge {
  margin-bottom: 8px;
}

.cga-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--cga-dark);
}

.cga-card-title a {
  color: inherit;
  text-decoration: none;
}

.cga-card-title a:hover {
  color: var(--cga-primary);
}

.cga-card-excerpt {
  font-size: 13px;
  color: var(--cga-muted);
  line-height: 1.6;
  margin: 0 0 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cga-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #9CA3AF;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #F3F4F6;
}


/* =============================================
   SECTION HEADINGS
   ============================================= */
.cga-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cga-border);
}

.cga-section-heading h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cga-section-heading h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--cga-primary);
  border-radius: 2px;
}

.cga-section-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--cga-primary);
  text-decoration: none;
  white-space: nowrap;
}

.cga-section-cta:hover {
  text-decoration: underline;
}


/* =============================================
   SIDEBAR WIDGETS
   ============================================= */
.cga-widget {
  margin-bottom: 28px;
}

.cga-widget-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--cga-dark);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cga-primary);
}

/* Popular posts widget */
.cga-popular-posts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cga-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
}

.cga-popular-item:last-child {
  border-bottom: none;
}

.cga-popular-num {
  background: var(--cga-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.cga-popular-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--cga-dark);
  line-height: 1.4;
}

.cga-popular-item:hover .cga-popular-title {
  color: var(--cga-primary);
}

/* Browse by tag widget */
.cga-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.cga-tag-pill {
  background: var(--cga-light-bg);
  color: var(--cga-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid var(--cga-border);
  transition: all 0.2s;
}

.cga-tag-pill:hover {
  background: var(--cga-primary);
  color: #fff;
  border-color: var(--cga-primary);
}

/* About sidebar box */
.cga-about-box {
  background: var(--cga-light-bg);
  border-radius: var(--cga-radius);
  padding: 20px;
  border: 1px solid var(--cga-border);
}

.cga-about-box p {
  font-size: 13px;
  color: var(--cga-muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

.cga-about-box a {
  font-size: 13px;
  font-weight: 600;
  color: var(--cga-primary);
}


/* =============================================
   METHODOLOGY BOX (E-E-A-T)
   ============================================= */
.cga-eeat-section {
  background: #EFF6FF;
  border-radius: 12px;
  padding: 48px 40px;
}

.cga-eeat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.cga-eeat-card {
  background: #fff;
  border-radius: var(--cga-radius);
  padding: 24px;
  border: 1px solid #BFDBFE;
  text-align: center;
}

.cga-eeat-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.cga-eeat-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--cga-info);
  margin: 0 0 8px;
}

.cga-eeat-card p {
  font-size: 13px;
  color: #1E3A8A;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cga-eeat-cards {
    grid-template-columns: 1fr;
  }

  .cga-eeat-section {
    padding: 32px 20px;
  }
}


/* =============================================
   REVIEW COMPONENTS (single post)
   ============================================= */
.cga-rating-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--cga-light-bg);
  border-left: 4px solid var(--cga-primary);
  border-radius: 0 var(--cga-radius) var(--cga-radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.cga-rating-score {
  font-size: 48px;
  font-weight: 800;
  color: var(--cga-primary);
  line-height: 1;
  white-space: nowrap;
}

.cga-rating-score span {
  font-size: 18px;
  color: var(--cga-muted);
  font-weight: 400;
}

.cga-stars {
  color: var(--cga-accent);
  font-size: 18px;
  letter-spacing: 2px;
  margin: 4px 0;
}

.cga-rating-info h4 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--cga-dark);
}

.cga-rating-info p {
  margin: 0;
  font-size: 12px;
  color: var(--cga-muted);
}

/* Pros/Cons */
.cga-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.cga-pros {
  background: #F0F9F0;
  border: 1px solid #86EFAC;
  border-radius: var(--cga-radius);
  padding: 20px;
}

.cga-cons {
  background: #FFF5F5;
  border: 1px solid #FCA5A5;
  border-radius: var(--cga-radius);
  padding: 20px;
}

.cga-pros h4 {
  color: #16A34A;
  margin: 0 0 12px;
}

.cga-cons h4 {
  color: var(--cga-danger);
  margin: 0 0 12px;
}

.cga-pros ul,
.cga-cons ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cga-pros li,
.cga-cons li {
  font-size: 14px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1.5;
}

.cga-pros li:last-child,
.cga-cons li:last-child {
  border-bottom: none;
}

@media (max-width: 600px) {
  .cga-pros-cons {
    grid-template-columns: 1fr;
  }
}

/* Methodology box */
.cga-methodology {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-left: 4px solid var(--cga-info);
  border-radius: 0 var(--cga-radius) var(--cga-radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.cga-methodology h4 {
  color: var(--cga-info);
  margin: 0 0 8px;
  font-size: 15px;
}

.cga-methodology p {
  margin: 0;
  font-size: 14px;
  color: #1E3A8A;
  line-height: 1.6;
}

/* Verdict box */
.cga-verdict {
  background: var(--cga-primary);
  border-radius: var(--cga-radius);
  padding: 24px 28px;
  margin: 28px 0;
}

.cga-verdict h4 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 16px;
}

.cga-verdict p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

/* Buy button */
.cga-buy-btn {
  display: inline-block;
  background: var(--cga-accent);
  color: var(--cga-dark) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--cga-radius);
  text-decoration: none !important;
  transition: background 0.2s, transform 0.1s;
}

.cga-buy-btn:hover {
  background: #c49230;
  transform: translateY(-1px);
}

/* Tip box */
.cga-tip {
  background: #FFFBEB;
  border-left: 4px solid var(--cga-accent);
  border-radius: 0 var(--cga-radius) var(--cga-radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: #92400E;
  line-height: 1.6;
}


/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #1A1A1A !important;
  color: #D1D5DB !important;
  border-top: 3px solid var(--cga-primary);
}

.site-footer a {
  color: #9CA3AF !important;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--cga-accent) !important;
}

.footer-widget-area .widget-title,
.site-footer .widget-title {
  color: #fff !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.footer-widget-area p,
.footer-widget-area li,
.site-footer p,
.site-footer li {
  color: #9CA3AF !important;
  font-size: 13px !important;
}

.footer-bottom-wrap {
  background: #111 !important;
  border-top: 1px solid #2A2A2A !important;
}

.footer-bottom-wrap .site-info {
  color: #6B7280 !important;
  font-size: 12px !important;
}

.footer-bottom-wrap a {
  color: #6B7280 !important;
}

.footer-bottom-wrap a:hover {
  color: var(--cga-accent) !important;
}

/* Remove Kadence credit */
.kadence-credit,
#kadence-credit,
a[href*="kadencewp.com"],
.powered-by {
  display: none !important;
}


/* =============================================
   BREADCRUMBS
   ============================================= */
.rank-math-breadcrumb {
  font-size: 12px;
  color: var(--cga-muted);
  padding: 10px 0;
}

.rank-math-breadcrumb a {
  color: var(--cga-primary);
  text-decoration: none;
}

.rank-math-breadcrumb a:hover {
  text-decoration: underline;
}


/* =============================================
   HERO SECTION (homepage)
   ============================================= */
.cga-hero-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 24px;
  align-items: start;
}

.cga-hero-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.cga-hero-main img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.cga-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  padding: 32px 28px 28px;
}

.cga-hero-overlay .cga-badge {
  margin-bottom: 8px;
}

.cga-hero-overlay h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.25;
}

.cga-hero-overlay h2 a {
  color: inherit;
  text-decoration: none;
}

.cga-hero-overlay .cga-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.cga-hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cga-hero-side-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cga-border);
}

.cga-hero-side-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cga-hero-side-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.cga-hero-side-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cga-dark);
}

.cga-hero-side-title a {
  color: inherit;
  text-decoration: none;
}

.cga-hero-side-title a:hover {
  color: var(--cga-primary);
}

.cga-hero-side-meta {
  font-size: 11px;
  color: var(--cga-muted);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .cga-hero-grid {
    grid-template-columns: 1fr;
  }

  .cga-hero-side {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cga-hero-side-card {
    width: calc(50% - 8px);
  }
}

@media (max-width: 600px) {
  .cga-hero-side-card {
    width: 100%;
  }

  .cga-hero-overlay h2 {
    font-size: 18px;
  }
}

/* =============================================
   CAMPGEARADVICE HOMEPAGE STYLES
   Prefix: .hp-
   Used by: homepage.js + Kadence blocks
   ============================================= */

/* ── GLOBAL ── */
.hp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.hp-ad-lbl {
  font-size: 10px;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: .6px;
  text-align: center;
  margin-bottom: 5px;
}

.hp-ad-box {
  background: #f2f2f2;
  border-radius: 3px;
}

.hp-ad-728 {
  height: 90px;
  max-width: 728px;
  margin: 0 auto;
}

/* Section heading: title + line + optional see-all */
.hp-hd {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.hp-hd h2 {
  font-size: 19px;
  font-weight: 800;
  color: #111;
  margin: 0;
  white-space: nowrap;
  letter-spacing: -.2px;
}

.hp-hd-line {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
  margin: 0 14px;
}

.hp-see-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
  padding: 5px 14px 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .15s;
  text-decoration: none;
}

.hp-see-all:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.hp-see-all svg {
  width: 10px;
  height: 10px;
}

/* Spinner */
.hp-spin {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, .1);
  border-top-color: #555;
  border-radius: 50%;
  animation: hpspin .6s linear infinite;
}

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

/* ── HERO MAIN ── */
.hp-hero-main-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.hp-hero-main-img a img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform .3s;
}

.hp-hero-main-img:hover a img {
  transform: scale(1.02);
}

.hp-hero-ov {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 90px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, transparent 100%);
  border-radius: 0 0 8px 8px;
}

.hp-hero-badge {
  display: inline-block;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.hp-hero-main-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-hero-main-title a {
  color: inherit;
  text-decoration: none;
}

.hp-hero-main-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
}

/* ── HERO SUBCARDS ── */
.hp-hero-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.hp-hero-sub-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.hp-hero-sub-card a img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform .3s;
}

.hp-hero-sub-card:hover a img {
  transform: scale(1.04);
}

.hp-hero-sub-ov {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 50px 12px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, transparent 100%);
  border-radius: 0 0 8px 8px;
}

.hp-hero-sub-badge {
  display: inline-block;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 2px 7px;
  border-radius: 2px;
  margin-bottom: 4px;
}

.hp-hero-sub-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

.hp-hero-sub-title a {
  color: inherit;
  text-decoration: none;
}

.hp-hero-sub-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, .65);
  margin-top: 4px;
  display: flex;
  gap: 5px;
}

/* ── HERO SIDEBAR ── */
.hp-hero-side-hd {
  font-size: 17px;
  font-weight: 800;
  color: #111;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  margin-bottom: 4px;
}

.hp-hero-side-hd::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 36px;
  height: 3px;
  background: #2286A9;
  border-radius: 2px;
}

.hp-hero-side-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.hp-hero-side-item:last-child {
  border-bottom: none;
}

.hp-hero-side-thumb {
  width: 110px;
  height: 82px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.hp-hero-side-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  display: block;
  margin-bottom: 4px;
}

.hp-hero-side-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin: 0 0 5px;
}

.hp-hero-side-title a {
  color: inherit;
  text-decoration: none;
}

.hp-hero-side-title a:hover {
  color: #2286A9;
}

.hp-hero-side-meta {
  font-size: 12px;
  color: #aaa;
  display: flex;
  gap: 6px;
}

.hp-hero-side-adbox {
  width: 100%;
  height: 280px;
  background: #f2f2f2;
  border-radius: 3px;
  margin-top: 20px;
}

/* ── LATEST REVIEWS ── */
/* background set on Kadence row via bgColor */
.hp-rev-hd h2 {
  color: #fff;
}

.hp-rev-hd .hp-hd-line {
  background: rgba(255, 255, 255, .25);
}

.hp-rev-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.hp-rev-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.hp-rev-card a img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform .3s;
}

.hp-rev-card:hover a img {
  transform: scale(1.05);
}

.hp-rev-ov {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 12px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, transparent 100%);
  border-radius: 0 0 8px 8px;
}

.hp-rev-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-rev-title a {
  color: inherit;
  text-decoration: none;
}

.hp-rev-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.805);
  display: flex;
  gap: 5px;
}

.hp-rev-loadmore {
  text-align: center;
  margin-top: 22px;
}

.hp-rev-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a6e87;
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 30px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: .3px;
  transition: background .15s;
}

.hp-rev-btn:hover {
  background: #145a70;
}

.hp-rev-spin {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hpspin .6s linear infinite;
}

/* ── BEST ── */
.hp-best-feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}

.hp-best-feat-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.hp-best-feat-img a img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform .3s;
}

.hp-best-feat-img:hover a img {
  transform: scale(1.03);
}

.hp-best-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #1E40AF;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 9px;
  border-radius: 3px;
}

.hp-best-title {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
  margin: 0 0 10px;
}

.hp-best-title a {
  color: inherit;
  text-decoration: none;
}

.hp-best-title a:hover {
  color: #1E40AF;
}

.hp-best-meta {
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.hp-best-excerpt {
  font-size: 14px;
  color: #444;
  line-height: 1.65;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-best-rm {
  font-size: 13px;
  font-weight: 700;
  color: #1E40AF;
  text-decoration: none;
}

.hp-best-rm:hover {
  text-decoration: underline;
}

.hp-best-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.hp-best-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.hp-best-item:nth-child(odd) {
  padding-right: 20px;
  border-right: 1px solid #f0f0f0;
}

.hp-best-item:nth-child(even) {
  padding-left: 20px;
}

.hp-best-item-thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.hp-best-item-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin: 0 0 4px;
}

.hp-best-item-title a {
  color: inherit;
  text-decoration: none;
}

.hp-best-item-title a:hover {
  color: #1E40AF;
}

.hp-best-item-meta {
  font-size: 11px;
  color: #aaa;
  display: flex;
  gap: 5px;
}

.hp-best-sidebar-adbox {
  width: 100%;
  background: #f2f2f2;
  border-radius: 3px;
  min-height: 500px;
}

/* ── VERSUS ── */
.hp-vs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.hp-vs-feat-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.hp-vs-feat-img a img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform .3s;
}

.hp-vs-feat-img:hover a img {
  transform: scale(1.03);
}

.hp-vs-feat-title {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  line-height: 1.25;
  margin: 0 0 6px;
}

.hp-vs-feat-title a {
  color: inherit;
  text-decoration: none;
}

.hp-vs-feat-title a:hover {
  color: #DC2626;
}

.hp-vs-feat-meta {
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hp-vs-feat-excerpt {
  font-size: 14px;
  color: #444;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-vs-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hp-vs-sm-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}

.hp-vs-sm-img a img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform .3s;
}

.hp-vs-sm:hover .hp-vs-sm-img a img {
  transform: scale(1.04);
}

.hp-vs-sm-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin: 0 0 5px;
}

.hp-vs-sm-title a {
  color: inherit;
  text-decoration: none;
}

.hp-vs-sm-title a:hover {
  color: #DC2626;
}

.hp-vs-sm-date {
  font-size: 11px;
  color: #aaa;
}

/* ── HOW TO ── */
.hp-ht-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}

.hp-ht-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.hp-ht-img a img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform .3s;
}

.hp-ht-item:hover .hp-ht-img a img {
  transform: scale(1.04);
}

.hp-ht-title {
  font-size: 17px;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
  margin: 0 0 6px;
}

.hp-ht-title a {
  color: inherit;
  text-decoration: none;
}

.hp-ht-title a:hover {
  color: #D97706;
}

.hp-ht-meta {
  font-size: 12px;
  color: #888;
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.hp-ht-excerpt {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ── EXPLAINERS ── */
.hp-expl-cols {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 32px;
  align-items: start;
}

.hp-expl-divider {
  background: #eee;
  align-self: stretch;
}

.hp-expl-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #f3f3f3;
}

.hp-expl-item:first-child {
  padding-top: 0;
}

.hp-expl-item:last-child {
  border-bottom: none;
}

.hp-expl-thumb {
  width: 110px;
  height: 82px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.hp-expl-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #7C3AED;
  display: block;
  margin-bottom: 4px;
}

.hp-expl-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin: 0 0 5px;
}

.hp-expl-title a {
  color: inherit;
  text-decoration: none;
}

.hp-expl-title a:hover {
  color: #7C3AED;
}

.hp-expl-meta {
  font-size: 12px;
  color: #aaa;
  display: flex;
  gap: 6px;
}

/* ── HOW WE RESEARCH ── */
/* background set on Kadence row via bgColor:#111 */
.hp-meth-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}

.hp-meth-left h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.2;
}

.hp-meth-left p {
  font-size: 14px;
  color: #fff;
  line-height: 1.7;
  margin: 0 0 20px;
}

.hp-meth-btn {
  display: inline-block;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 3px;
  text-decoration: none;
  transition: all .15s;
}

.hp-meth-btn:hover {
  background: #2286A9;
  color: #fff;
}

.hp-meth-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hp-meth-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 22px 18px;
}

.hp-meth-icon {
  font-size: 26px;
  margin-bottom: 10px;
}

.hp-meth-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.hp-meth-card p {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hp-wrap {
    padding: 0 24px;
  }

  .hp-meth-inner {
    grid-template-columns: 1fr;
  }

  .hp-meth-right {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {

  .hp-hero-sub,
  .hp-rev-grid,
  .hp-vs-layout,
  .hp-vs-right,
  .hp-ht-grid,
  .hp-expl-cols,
  .hp-meth-right,
  .hp-best-list,
  .hp-best-feat-row {
    grid-template-columns: 1fr;
  }

  .hp-expl-divider {
    display: none;
  }

  .hp-best-item:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }

  .hp-best-item:nth-child(even) {
    padding-left: 0;
  }
}

/* ============================================================
   REVIEWS HUB PAGE STYLES — campgearadvice.com
   Append vào cuối style.css của child theme
   (/www/.../kadence-child/style.css)
   ============================================================ */

/* ── Page wrapper ─────────────────────────────────────────── */
.reviews-main-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 48px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .reviews-main-wrap {
    padding: 0 20px 32px;
  }
}

/* ── Top Ad ───────────────────────────────────────────────── */
.cga-ad-top {
  display: flex;
  justify-content: center;
  padding: 16px 40px;
  border-bottom: 1px solid #eee;
}

.cga-ad-placeholder {
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.cga-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888;
  margin: 24px 0 16px;
}

.cga-breadcrumb a {
  color: #555;
  text-decoration: none;
}

.cga-breadcrumb a:hover {
  color: #2286A9;
}

.cga-bc-sep {
  color: #bbb;
}

.cga-bc-current {
  color: #333;
}

/* ── Page Title (Trusted Reviews style: left accent) ─────── */
.cga-page-title-wrap {
  border-left: 4px solid #2286A9;
  padding-left: 12px;
  margin-bottom: 20px;
}

.cga-page-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Filter Links ─────────────────────────────────────────── */
.cga-filter-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 0;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
  font-size: 13.5px;
}

.cga-filter-link {
  color: #444;
  text-decoration: none;
  padding: 4px 2px;
  transition: color 0.15s;
}

.cga-filter-link:hover,
.cga-filter-link.active {
  color: #2286A9;
  font-weight: 600;
}

.cga-filter-pipe {
  color: #ccc;
  padding: 0 8px;
  user-select: none;
}

/* ── Loading state ────────────────────────────────────────── */
.cga-rev-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #888;
  font-size: 14px;
  padding: 24px 0;
}

.cga-rev-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #ddd;
  border-top-color: #2286A9;
  border-radius: 50%;
  animation: cgaSpin 0.7s linear infinite;
  flex-shrink: 0;
}

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

.cga-no-posts {
  color: #888;
  font-size: 14px;
  padding: 16px 0;
}

/* ── Post Grid ────────────────────────────────────────────── */
.cga-rev-grid-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 24px;
}

@media (max-width: 620px) {
  .cga-rev-grid-inner {
    grid-template-columns: 1fr;
  }
}

/* ── Post Card ────────────────────────────────────────────── */
.cga-rev-card {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 24px;
}

.cga-card-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16 / 9;
  background: #f2f2f2;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.cga-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.cga-rev-card:hover .cga-card-img-wrap img {
  transform: scale(1.03);
}

.cga-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: #e8e8e8;
}

/* Category badge overlay */
.cga-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  color: #fff;
  line-height: 1.4;
}

.cga-cat-reviews {
  background: #2286A9;
}

.cga-cat-best-lists {
  background: #1E40AF;
}

.cga-cat-versus {
  background: #DC2626;
}

.cga-cat-how-to {
  background: #D97706;
}

.cga-cat-explainers {
  background: #7C3AED;
}

/* Card body */
.cga-card-body {
  flex: 1;
}

.cga-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 6px;
  color: #111;
}

.cga-card-title a {
  color: inherit;
  text-decoration: none;
}

.cga-card-title a:hover {
  color: #2286A9;
}

.cga-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.cga-card-dot {
  color: #ccc;
}

.cga-card-excerpt {
  font-size: 13.5px;
  color: #555;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Pagination ───────────────────────────────────────────── */
.cga-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.cga-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  background: #fff;
  transition: all 0.15s;
  cursor: pointer;
}

.cga-page-btn:hover {
  border-color: #2286A9;
  color: #2286A9;
}

.cga-page-active {
  background: #2286A9;
  color: #fff !important;
  border-color: #2286A9;
  font-weight: 700;
}

.cga-page-ellipsis {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  color: #aaa;
  font-size: 13px;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.cga-sidebar {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cga-sidebar-widget {}

/* Widget title with bottom line (Trusted Reviews style) */
.cga-widget-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.cga-widget-title span {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.2px;
  padding-bottom: 8px;
}

.cga-widget-title-line {
  height: 3px;
  background: linear-gradient(to right, #2286A9 40%, #eee 40%);
  border-radius: 2px;
}

/* ── Top Posts widget ─────────────────────────────────────── */
.cga-top-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cga-top-post-item:last-child {
  border-bottom: none;
}

.cga-top-post-img {
  flex-shrink: 0;
  display: block;
  width: 70px;
  height: 52px;
  border-radius: 4px;
  overflow: hidden;
  background: #f2f2f2;
}

.cga-top-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cga-sidebar-img-ph {
  width: 100%;
  height: 100%;
  background: #e8e8e8;
}

.cga-top-post-text {
  flex: 1;
}

.cga-top-post-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
  text-decoration: none;
  margin-bottom: 5px;
}

.cga-top-post-title:hover {
  color: #2286A9;
}

.cga-top-post-date {
  font-size: 11px;
  color: #aaa;
}

/* ── Social buttons ───────────────────────────────────────── */
.cga-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cga-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.15s;
}

.cga-social-btn:hover {
  opacity: 0.85;
  color: #fff;
}

.cga-social-fb {
  background: #1877F2;
}

.cga-social-x {
  background: #000;
}

.cga-social-ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.cga-social-yt {
  background: #FF0000;
}

.cga-social-pin {
  background: #E60023;
}

/* ── Latest Reviews sidebar widget ───────────────────────── */
.cga-sidebar-latest-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.cga-sidebar-latest-item:last-child {
  border-bottom: none;
}

.cga-latest-num {
  font-size: 18px;
  font-weight: 800;
  color: #ddd;
  line-height: 1;
  flex-shrink: 0;
  width: 20px;
  text-align: right;
}

.cga-sidebar-latest-img {
  flex-shrink: 0;
  display: block;
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  background: #f2f2f2;
}

.cga-sidebar-latest-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cga-sidebar-latest-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cga-sidebar-latest-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
  text-decoration: none;
  display: block;
}

.cga-sidebar-latest-title:hover {
  color: #2286A9;
}

/* ── Sidebar Ad ───────────────────────────────────────────── */
.cga-sidebar-ad {
  display: flex;
  justify-content: center;
}

/* ── Responsive: stack on mobile ─────────────────────────── */
@media (max-width: 900px) {
  .reviews-col-sidebar {
    display: none;
  }

  /* hide sidebar on tablet/mobile */
}

@media (max-width: 768px) {
  .cga-rev-grid-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reviews-col-sidebar {
    display: block;
  }

  /* re-show sidebar stacked below */
  .cga-sidebar {
    position: static;
  }
}

/* ── Align content width with nav — override Kadence edge padding ── */
:root {
  --global-content-edge-padding: 0px;
}

.site-container,
.content-container.site-container,
.content-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.content-wrap,
#primary.content-area {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Kadence global spacing override */
.kt-inner-column-height-full>.wp-block-kadence-column,
.site-main {
  padding-left: 0 !important;
  padding-right: 0 !important;
}