/* =========================================================
   KAP Blog Archive Upgrade
========================================================= */

.kap-blog-page {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
}

.kap-blog-page .container {
  max-width: 1120px;
}

.kap-blog-intro {
  max-width: 960px;
  margin: 0 auto 42px;
  text-align: left;
}

.kap-blog-header {
  max-width: 920px;
  margin: 0 auto 26px;
  text-align: center;
}

.kap-blog-header h2 {
  color: #b9151b !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  margin: 0 !important;
}

.kap-blog-intro-content p,
.kap-blog-intro-content li {
  color: #374151;
  font-size: 16.5px;
  line-height: 1.75;
}

.kap-blog-intro-content h2 {
  color: #b9151b !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 25px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  margin: 32px 0 12px !important;
}

.kap-blog-intro-content ul {
  padding-left: 22px;
  margin-bottom: 22px;
}

.kap-blog-note {
  background: #fff1f2;
  border: 1px solid #fecaca;
  border-left: 5px solid #b9151b;
  border-radius: 14px;
  padding: 20px 22px;
  margin: 28px 0 0;
}

.kap-blog-note p {
  margin: 0;
}

.kap-blog-benefits {
  max-width: 1050px;
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.kap-blog-benefit {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.kap-blog-benefit span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(185, 21, 27, 0.08);
  color: #b9151b;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
}

.kap-blog-benefit h3 {
  color: #111827;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
  margin: 0 0 8px;
}

.kap-blog-benefit p {
  color: #374151;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.kap-blog-section-heading {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}

.kap-blog-eyebrow {
  color: #b9151b;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.kap-blog-section-heading h2 {
  color: #111827 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  margin: 0 0 12px !important;
}

.kap-blog-section-heading p {
  color: #374151;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.kap-blog-grid {
  display: flex;
  flex-wrap: wrap;
}

.kap-blog-card-col {
  display: flex;
  margin-bottom: 30px;
}

.kap-blog-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kap-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(17, 24, 39, 0.12);
}

.kap-blog-card-image {
  display: block;
  background: #f3f4f6;
}

.kap-blog-card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.kap-blog-card-body {
  padding: 24px;
  flex: 1;
}

.kap-blog-card-title {
  display: block;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 900;
  margin: 0 0 10px;
  text-decoration: none !important;
}

.kap-blog-card-title:hover {
  color: #b9151b;
}

.kap-blog-card-date {
  display: block;
  color: #b9151b;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.kap-blog-card-body p {
  color: #374151;
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.kap-blog-link {
  display: inline-flex;
  color: #b9151b;
  font-weight: 900;
  text-decoration: none !important;
}

.kap-blog-link:hover {
  color: #911015;
}

.kap-blog-empty {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px;
  background: #fff1f2;
  border: 1px solid #fecaca;
  border-radius: 16px;
  text-align: center;
}

.kap-blog-cta {
  max-width: 1120px;
  margin: 46px auto 0;
  padding: 34px;
  background: #111827;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.20);
}

.kap-blog-cta h2 {
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(26px, 4vw, 36px) !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  margin: 0 0 8px !important;
}

.kap-blog-cta p {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.kap-blog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b9151b;
  color: #ffffff !important;
  border-radius: 8px;
  padding: 14px 22px;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
}

.kap-blog-btn:hover {
  background: #911015;
  color: #ffffff !important;
}

@media (max-width: 991px) {
  .kap-blog-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .kap-blog-cta {
    grid-template-columns: 1fr;
  }

  .kap-blog-card-image img {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .kap-blog-benefits {
    grid-template-columns: 1fr;
  }

  .kap-blog-card-image img {
    height: 200px;
  }

  .kap-blog-cta {
    padding: 24px;
  }

  .kap-blog-btn {
    width: 100%;
  }
}
