/* custom.css - overrides for Getso SEO site */

/* ===== LOGO SIZE ===== */
footer .footer-brand img {
  max-width: 110px;
  height: 78px !important;!i;!;
  width: auto !important;!i;!;
  max-width: unset !important;!i;!;
}

/* ===== BORDER RADIUS OVERRIDES (keep low) ===== */
.btn {
  border-radius: 4px !important;
  /* border: 1px solid #fff; */
}
.chat-trigger-btn {
  border-radius: 6px !important;
}
.chat-widget {
  border-radius: 6px !important;
}
.article-card {
  border-radius: 5px;
}
.cta-banner {
  border-radius: 0;
}

/* ===== CATEGORY OVERLAY BADGE ===== */
/* A small article-count badge overlaid on the bottom-right of a category image */
.article-card-image {
  position: relative;
  overflow: hidden;
}
.cat-overlay-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 65, 121, 0.82);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: 3px;
  pointer-events: none;
}

/* ===== IMPROVED CTA BADGE ===== */
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgb(0 0 0 / 18%);
  border: 1px solid #fff;
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}

/* ===== CATEGORIES PAGE HERO IMPROVEMENTS ===== */
.category-hero {
  padding: 5rem 0 20px;
  position: relative;
  padding-top: 323px;
}
.category-hero .section-label {
  display: inline-block;
  margin-bottom: .75rem;
}
.category-hero h1 {
  color: var(--c-white);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.category-hero .lead {
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ===== SECTION HEADER ===== */
.section-header .section-label {
  display: inline-block;
  margin-bottom: .5rem;
}
.section-header h2 {
  color: var(--c-navy);
  margin-bottom: .5rem;
}

/* ===== CAT GRID CARD IMAGE HEIGHT ===== */
.cat-grid-card .article-card-image img {
  height: 220px;
  object-fit: cover;
}
.cat-browse-card .article-card-image img {
  height: 180px;
  object-fit: cover;
}

/* ===== IMPROVED ARTICLE CARD ===== */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 286px !important;!i;!;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,65,121,.14);
}
.article-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.article-card:hover .article-card-image img {
  transform: scale(1.03);
}
.article-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===== IMPROVED CTA SECTION ===== */
.cta-banner {
  padding: 27px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(236,114,28,.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--c-white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-inner > p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  margin-bottom: 2rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.cta-contact-strip {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 4px;
  padding: 8px 24px;
  display: inline-flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  color: rgba(255,255,255,.75);
}

/* ===== FOOTER QUICK LINKS UPDATE ===== */
.footer-links a[href*="articles"] {
  /* highlight the articles link */
}
