/* Hausum Blog & Single Article Styles + Local SEO Hub v2.0 */

.blog-page-main {
  background: #0A1E3C;
  color: #FFFFFF;
  font-family: 'Aptos', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 80vh;
}

.blog-page-main .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.blog-page-main .blog-narrow-wrap {
  max-width: 840px;
}

/* BLOG HERO */
.blog-hero {
  padding: 56px 0 36px;
  text-align: center;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(46, 155, 255, 0.20), transparent 65%),
    linear-gradient(180deg, #0A1E3C 0%, #0E274E 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.blog-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6BB8FF;
  background: rgba(59, 160, 255, 0.12);
  border: 1px solid rgba(59, 160, 255, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
}

.blog-hero h1.headline {
  font-family: 'Aptos Display', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 820px;
  margin: 16px auto 12px;
}

.blog-hero .lede {
  font-size: clamp(15.5px, 1.4vw, 18px);
  line-height: 1.55;
  color: #AFC3E0;
  max-width: 680px;
  margin: 0 auto 26px;
}

.blog-cat-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 920px;
  margin: 0 auto;
}

.blog-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBDAF0 !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.18s ease;
}

.blog-cat-pill:hover {
  background: rgba(59, 160, 255, 0.14);
  border-color: rgba(59, 160, 255, 0.4);
  color: #fff !important;
}

.blog-cat-pill.is-active {
  background: #2E9BFF;
  border-color: #2E9BFF;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(46, 155, 255, 0.35);
}

.blog-cat-count {
  font-size: 11.5px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(10, 30, 60, 0.4);
}

/* BLOG GRID */
.blog-list-section {
  padding: 48px 0 88px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 160, 255, 0.4);
  box-shadow: 0 16px 36px rgba(4, 14, 30, 0.45);
}

.blog-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #0F2A52;
  overflow: hidden;
  text-decoration: none;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, rgba(46, 155, 255, 0.22), #0D2347 75%);
  color: #fff;
}

.blog-card-placeholder span {
  font-family: 'Aptos Display', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.28em;
  opacity: 0.85;
}

.blog-card-placeholder small {
  margin-top: 6px;
  font-size: 12px;
  color: #6BB8FF;
  font-weight: 700;
}

.blog-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 30, 60, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(59, 160, 255, 0.35);
  color: #6BB8FF;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  font-size: 12.5px;
  color: #8CA5C8;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-title {
  font-family: 'Aptos Display', 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 10px;
}

.blog-card-title a {
  color: #fff !important;
  text-decoration: none !important;
}

.blog-card-title a:hover {
  color: #6BB8FF !important;
}

.blog-card-excerpt {
  font-size: 14.5px;
  line-height: 1.55;
  color: #AFC3E0;
  margin: 0 0 18px;
  flex: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #6BB8FF !important;
  text-decoration: none !important;
}

.blog-card-link:hover {
  color: #fff !important;
}

/* PAGINATION */
.blog-pagination {
  margin: 44px 0 12px;
  display: flex;
  justify-content: center;
}

.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBDAF0 !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: #2E9BFF;
  border-color: #2E9BFF;
  color: #fff !important;
}

/* SINGLE ARTICLE */
.blog-single-hero {
  padding: 44px 0 32px;
  background:
    radial-gradient(800px 340px at 50% 0%, rgba(46, 155, 255, 0.18), transparent 70%),
    linear-gradient(180deg, #0A1E3C 0%, #0E274E 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.blog-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8CA5C8;
  margin-bottom: 16px;
}

.blog-breadcrumbs a {
  color: #6BB8FF !important;
  text-decoration: none !important;
  font-weight: 700;
}

.blog-breadcrumbs a:hover {
  text-decoration: underline !important;
}

.blog-single-title {
  font-family: 'Aptos Display', 'Outfit', sans-serif;
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 18px;
}

.blog-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #AFC3E0;
}

.blog-eeat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(42, 209, 126, 0.12);
  border: 1px solid rgba(42, 209, 126, 0.35);
  color: #DFFBEA;
  font-size: 12.5px;
}

.blog-eeat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2AD17E;
}

.blog-single-article {
  padding: 40px 0 64px;
}

.blog-single-content {
  background: #FFFFFF;
  color: #1E293B;
  border-radius: 22px;
  padding: 44px 48px;
  box-shadow: 0 20px 50px rgba(4, 14, 30, 0.35);
  font-size: 17px;
  line-height: 1.72;
}

.blog-single-content h2 {
  font-family: 'Aptos Display', 'Outfit', sans-serif;
  color: #0A1E3C;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  margin: 34px 0 14px;
  line-height: 1.25;
}

.blog-single-content h3 {
  font-family: 'Aptos Display', 'Outfit', sans-serif;
  color: #0F2A52;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  margin: 26px 0 10px;
}

.blog-single-content p {
  margin: 0 0 18px;
  color: #334155;
}

.blog-single-content ul,
.blog-single-content ol {
  margin: 0 0 22px 24px;
  color: #334155;
}

.blog-single-content li {
  margin-bottom: 8px;
}

.blog-single-content a:not(.cta) {
  color: #0B65C6;
  font-weight: 700;
  text-decoration: underline;
}

.blog-single-content img {
  border-radius: 14px;
  margin: 22px 0;
}

.blog-single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 15px;
}

.blog-single-content th,
.blog-single-content td {
  border: 1px solid #CBD5E1;
  padding: 10px 14px;
  text-align: left;
}

.blog-single-content th {
  background: #F1F5F9;
  color: #0A1E3C;
  font-weight: 800;
}

/* INLINE CTA INSIDE BLOG POST */
.blog-inline-cta {
  margin: 30px 0;
  padding: 24px 26px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0A1E3C 0%, #122E59 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(59, 160, 255, 0.4);
}

.blog-inline-cta__kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6BB8FF;
  margin-bottom: 4px;
}

.blog-inline-cta__body strong {
  display: block;
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.blog-inline-cta__body p {
  margin: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  color: #CBDAF0 !important;
}

.blog-inline-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.blog-inline-cta__actions .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none !important;
  white-space: nowrap;
}

.blog-inline-cta__link {
  font-size: 13px !important;
  color: #6BB8FF !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

/* E-E-A-T AUTHOR BOX */
.blog-author-box {
  margin-top: 32px;
  padding: 28px 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(59, 160, 255, 0.28);
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.blog-author-badge {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2E9BFF 0%, #164E9F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Aptos Display', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #fff;
  flex-shrink: 0;
}

.blog-author-role {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6BB8FF;
  margin-bottom: 4px;
}

.blog-author-name {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}

.blog-author-info p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #AFC3E0;
  margin: 0 0 12px;
}

.blog-author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.blog-author-links a {
  font-size: 13.5px;
  font-weight: 700;
  color: #6BB8FF !important;
  text-decoration: none !important;
}

.blog-author-links a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

/* CTA BANNER */
.blog-cta-banner {
  margin-top: 40px;
  padding: 34px 36px;
  border-radius: 22px;
  background:
    radial-gradient(560px 240px at 100% 0%, rgba(46, 155, 255, 0.22), transparent 70%),
    linear-gradient(135deg, #102C57 0%, #0D2347 100%);
  border: 1px solid rgba(59, 160, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.blog-cta-eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6BB8FF;
  margin-bottom: 6px;
}

.blog-cta-title {
  font-family: 'Aptos Display', 'Outfit', sans-serif;
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}

.blog-cta-desc {
  font-size: 15px;
  color: #AFC3E0;
  margin: 0;
  max-width: 500px;
}

.blog-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.blog-cta-actions .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
}

.blog-cta-sublink {
  font-size: 13.5px;
  font-weight: 700;
  color: #6BB8FF !important;
  text-decoration: none !important;
}

/* RELATED ARTICLES */
.blog-related-section {
  padding: 16px 0 84px;
}

.blog-related-heading {
  font-family: 'Aptos Display', 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 22px;
}

/* LOCAL SEO HUB (MUNICIPALITIES & DISTRICTS) */
.hsm-local-hub {
  background: #081830;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0;
  color: #fff;
  font-family: 'Aptos', sans-serif;
}

.hsm-local-hub__wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.hsm-local-hub__block + .hsm-local-hub__block {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hsm-local-hub__title {
  font-family: 'Aptos Display', 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.hsm-local-hub__sub {
  font-size: 14px;
  color: #8CA5C8;
  margin: 0 0 16px;
}

.hsm-local-hub__group-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6BB8FF;
  margin: 14px 0 8px;
}

.hsm-local-hub__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hsm-local-hub__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBDAF0 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.16s ease;
}

.hsm-local-hub__pill:hover {
  background: rgba(46, 155, 255, 0.18);
  border-color: #2E9BFF;
  color: #fff !important;
}

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

@media (max-width: 768px) {
  .blog-page-main .wrap,
  .hsm-local-hub__wrap {
    padding: 0 18px;
  }

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

  .blog-single-content {
    padding: 24px 20px;
    font-size: 16px;
  }

  .blog-inline-cta,
  .blog-cta-banner,
  .blog-author-box {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px;
    text-align: left;
  }

  .blog-inline-cta__actions,
  .blog-cta-actions {
    width: 100%;
    align-items: stretch;
  }

  .blog-inline-cta__actions .cta,
  .blog-cta-actions .cta {
    width: 100%;
    justify-content: center;
  }
}
