/*  /used-motorhomes/assets/brand.css
    WildCamping Used Motorhomes - Brand & Model encyclopedia
    Version: 2026-02-20a
*/

/* ─────────────────────────────────
   Brand index grid
   ───────────────────────────────── */
.wcBrandGrid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

@media (max-width: 1100px){
  .wcBrandGrid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px){
  .wcBrandGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .wcBrandGrid{ grid-template-columns: 1fr; }
}

.wcBrandCard{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
  text-decoration: none;
  color: inherit;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.wcBrandCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  border-color: rgba(47,109,58,.22);
  text-decoration: none;
  color: inherit;
}

.wcBrandCard-name{
  font-size: 17px;
  font-weight: 950;
  color: rgba(0,0,0,.88);
  line-height: 1.2;
}

.wcBrandCard-meta{
  font-size: 12px;
  color: rgba(0,0,0,.55);
  font-weight: 800;
  letter-spacing: .15px;
}

.wcBrandCard-stock{
  font-size: 13px;
  font-weight: 950;
  color: var(--wc-green, #2f6d3a);
}
.wcBrandCard-stock--none{
  color: rgba(0,0,0,.40);
  font-weight: 800;
}

/* ─────────────────────────────────
   Guide card thumbnail
   ───────────────────────────────── */
.wcBrandCard-thumb{
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 2px;
}

/* ─────────────────────────────────
   Guide back link (breadcrumb bar)
   ───────────────────────────────── */
.wcGuideBack{
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.wcGuideBack a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
  color: rgba(0,0,0,.70);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background .12s ease, border-color .12s ease;
}
.wcGuideBack a:hover{
  background: rgba(47,109,58,.06);
  border-color: rgba(47,109,58,.18);
  color: rgba(0,0,0,.82);
  text-decoration: none;
}

/* ─────────────────────────────────
   Guide header (title left, image right)
   ───────────────────────────────── */
.wcGuideHeader{
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 20px;
}
.wcGuideHeader-text{
  flex: 1 1 0%;
  min-width: 0;
}
.wcGuideHeader-title{
  font-size: 28px;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: -.3px;
  color: rgba(0,0,0,.88);
  margin: 0 0 10px 0;
}
.wcGuideHeader-summary{
  font-size: 15px;
  font-weight: 600;
  color: rgba(0,0,0,.58);
  line-height: 1.45;
}
.wcGuideHeader-img{
  flex: 0 0 320px;
}
.wcGuideHero{
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

@media (max-width: 760px){
  .wcGuideHeader{
    flex-direction: column-reverse;
    gap: 14px;
  }
  .wcGuideHeader-img{
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
  }
  .wcGuideHeader-title{
    font-size: 22px;
  }
}

/* ─────────────────────────────────
   Guide card sub text
   ───────────────────────────────── */
.wcBrandCard-sub{
  font-size: 13px;
  font-weight: 700;
  color: rgba(0,0,0,.55);
  line-height: 1.35;
}

.wcBrandCard-badge{
  display: inline-block;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(47,109,58,.10);
  border: 1px solid rgba(47,109,58,.18);
  color: var(--wc-green-dark, #25562e);
  font-weight: 950;
  font-size: 11px;
  letter-spacing: .2px;
}

/* ─────────────────────────────────
   Buying checks checklist
   ───────────────────────────────── */
.wcChecklist{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wcCheckItem{
  position: relative;
  padding: 10px 12px 10px 46px;
  border-radius: 12px;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.05);
  font-weight: 900;
  font-size: 14px;
  color: rgba(0,0,0,.82);
  line-height: 1.3;
}

.wcCheckItem::before{
  content: "\2713";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: #2e7d32;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

/* ─────────────────────────────────
   Model range grid
   ───────────────────────────────── */
.wcModelGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 900px){
  .wcModelGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .wcModelGrid{ grid-template-columns: 1fr; }
}

.wcModelCard{
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.05);
  text-decoration: none;
  color: inherit;
  transition: background .12s ease, border-color .12s ease;
}
.wcModelCard:hover{
  background: rgba(47,109,58,.06);
  border-color: rgba(47,109,58,.18);
  text-decoration: none;
  color: inherit;
}

.wcModelCard-name{
  font-weight: 950;
  font-size: 14px;
  color: rgba(0,0,0,.86);
  line-height: 1.2;
}

.wcModelCard-range{
  font-size: 12px;
  font-weight: 800;
  color: rgba(0,0,0,.55);
}

.wcModelCard-years{
  font-size: 12px;
  font-weight: 800;
  color: rgba(0,0,0,.45);
}

/* ─────────────────────────────────
   Similar brands chips
   ───────────────────────────────── */
.wcSimilarBrands{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wcSimilarBrands .wcChip{
  text-decoration: none;
  color: rgba(0,0,0,.75);
  transition: background .1s ease;
}
.wcSimilarBrands .wcChip:hover{
  background: rgba(47,109,58,.18);
  text-decoration: none;
}

.wcChip-label{
  margin-left: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  font-size: 10px;
  font-weight: 950;
  color: rgba(0,0,0,.50);
  letter-spacing: .2px;
}
