/* ============================================================
   Appliance Rentals — Blog listing (Figma rebrand)
   Shares component styles with homepage.css; page classes: arb-*.
   ============================================================ */

/* ---------- hero ---------- */
.arb-hero {
  padding: 36px var(--ar-gutter) 0;
}
.arb-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 271px;
  background-color: var(--ar-navy);
  background-image: url("../../images/homepage/hero-bg.webp");
  background-image: image-set(url("../../images/homepage/hero-bg.webp") 1x, url("../../images/homepage/hero-bg@2x.webp") 2x);
  background-size: cover;
  background-position: center;
  border-radius: 60px;
  padding: 30px 20px;
}
.arb-hero-title {
  margin: 0;
  font-weight: 700;
  font-size: 48px;
  line-height: 54px;
  color: #fff;
  text-align: center;
}
.arb-hero-subtitle {
  margin: 14px 0 0;
  font-weight: 300;
  font-size: 24px;
  line-height: 34px;
  color: #fff;
  text-align: center;
}

/* ---------- post grid ---------- */
.arb-grid-wrap {
  padding: 80px var(--ar-gutter) 0;
}
.arb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 46px 39px;
  max-width: 1601px;
  margin: 0 auto;
}
.arb-card {
  background: #fcfcfc;
  border: 1px solid var(--ar-border);
  border-radius: 19px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.page-content a.arb-card-thumb {
  display: block;
}
.arb-card-thumb img {
  display: block;
  width: 100%;
  height: 212px;
  object-fit: cover;
}
.arb-card-body {
  padding: 12px 16px 13px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.arb-card-cat {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: var(--ar-teal);
}
.arb-card-title {
  margin: 10px 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: var(--ar-navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}
.page-content .arb-card-title a {
  color: var(--ar-navy);
  text-decoration: none;
}
.page-content a.arb-card-more {
  display: inline-block;
  margin-top: auto;
  padding-top: 10px;
  align-self: flex-start;
  text-decoration: none;
}
.page-content a.arb-card-more,
.page-content a.arb-card-more:hover {
  color: var(--ar-teal);
}
.arb-card-more {
  border: 1px solid var(--ar-border);
  border-radius: 70px;
  background: #fff;
  padding: 6px 10px !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  margin-top: auto !important;
}
.arb-card-more:hover {
  border-color: var(--ar-teal);
}

/* ---------- pagination ---------- */
.arb-pagination {
  display: flex;
  justify-content: center;
  margin-top: 70px;
  padding-bottom: 100px;
}
.arb-page-group {
  display: inline-flex;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.page-content a.arb-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  border: none;
  border-left: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
}
.page-content a.arb-page-btn:first-child {
  border-left: none;
}
.page-content a.arb-page-btn[aria-label] {
  width: 37px;
  color: #6b7280;
}
.page-content a.arb-page-btn.is-active {
  background: #e5e7eb;
}
.page-content a.arb-page-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.page-content a.arb-page-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

/* ---------- responsive ---------- */
@media (max-width: 1700px) {
  .arb-grid-wrap {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 1360px) {
  .arb-grid-wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
  .arb-hero-title {
    font-size: 40px;
    line-height: 46px;
  }
  .arb-hero-subtitle {
    font-size: 20px;
    line-height: 28px;
  }
  .arb-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (max-width: 1100px) {
  .arb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .arb-hero {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 767px) {
  .arb-hero {
    padding: 0;
  }
  .arb-hero-inner {
    min-height: 223px;
    border-radius: 0 0 50px 50px;
    background-image: url("../../images/homepage/hero-bg-mobile.webp");
    background-image: image-set(url("../../images/homepage/hero-bg-mobile.webp") 1x, url("../../images/homepage/hero-bg-mobile@2x.webp") 2x);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
    background-color: var(--ar-navy);
  }
  .arb-hero-title {
    font-size: 30px;
    line-height: 1.2;
  }
  .arb-hero-subtitle {
    margin-top: 12px;
    font-size: 18px;
    line-height: 24px;
    max-width: 350px;
  }
  .arb-grid-wrap {
    padding: 60px 20px 0;
  }
  .arb-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 350px;
  }
  .arb-card-thumb img {
    height: 200px;
  }
  .arb-pagination {
    margin-top: 50px;
    padding-bottom: 46px;
  }
}
