/* ══════════════════════════════════════════════════════════
   INNER PAGE — shared styles for About, Services, Articles
   Replace background-image URLs with your own photos.
   Recommended banner size: 1920 × 500px
══════════════════════════════════════════════════════════ */

/* ── PAGE HERO ── */
.page-hero {
  background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0 68px;
  position: relative;
  overflow: hidden;
}
/* Dark overlay */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,30,53,.88) 0%, rgba(21,101,192,.76) 100%);
  z-index: 0;
}
/* Orange accent line at bottom */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  z-index: 1;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.page-breadcrumb a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s;
}
.page-breadcrumb a:hover { color: var(--primary); }
.page-breadcrumb i { font-size: .6rem; color: var(--primary); }

.page-hero-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  background: rgba(247,148,29,.15);
  border: 1px solid rgba(247,148,29,.3);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.page-hero-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.page-hero-title span { color: var(--primary); }
.page-hero-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  line-height: 1.7;
  margin: 0;
}

/* ── ARTICLE LAYOUT ── */
#article-body {
  background: #f4f8ff;
  padding: 70px 0 80px;
}

/* Main content */
.article-content {
  background: #fff;
  border-radius: 18px;
  padding: 44px 44px 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.article-lead {
  font-size: 1.08rem;
  color: #3a4a5d;
  line-height: 1.85;
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin-bottom: 36px;
  font-weight: 500;
}

.article-section { margin-bottom: 40px; }

.article-h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #0a1628;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eef2f8;
}
.article-h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0a1628;
  margin-bottom: 10px;
  margin-top: 24px;
}

.article-content p {
  font-size: .93rem;
  color: #5a6a7d;
  line-height: 1.82;
  margin-bottom: 16px;
}

/* ── CMS-GENERATED CONTENT ── */

/* First paragraph acts as a lead */
.article-content > p:first-child {
  font-size: 1.02rem;
  color: #3a4a5d;
  font-weight: 500;
  line-height: 1.85;
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin-bottom: 28px;
}

/* h3 headings from CMS */
.article-content h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #0a1628;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 2px solid #eef2f8;
  position: relative;
}
/* Orange accent bar on first h3 */
.article-content h3:first-of-type {
  border-bottom-color: var(--primary);
}
.article-content h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1em;
  background: var(--primary);
  border-radius: 3px;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* Nested div blocks — remove blank spacer divs (&nbsp;) */
.article-content div:empty,
.article-content div > br:only-child {
  display: none;
}

/* CMS unordered lists */
.article-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9rem;
  color: #3a4a5d;
  line-height: 1.65;
  padding: 10px 14px;
  background: #f8fbff;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  transition: background .2s, border-color .2s;
}
.article-content ul li:hover {
  background: #fff5ea;
  border-left-color: var(--primary-dark);
}
/* Orange bullet icon using ::before */
.article-content ul li::before {
  content: '\F26A';            /* Bootstrap Icons check-circle-fill codepoint */
  font-family: 'bootstrap-icons';
  color: var(--primary);
  font-size: .85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Strong / bold text */
.article-content strong {
  color: #0a1628;
  font-weight: 700;
}

/* Feature list inside article */
.article-feature-list {
  list-style: none;
  padding: 0; margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9rem;
  color: #3a4a5d;
  line-height: 1.6;
}
.article-feature-list li i {
  color: var(--primary);
  font-size: .9rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Process steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.process-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.ps-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ps-content .ps-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: #0a1628;
  margin-bottom: 4px;
}
.ps-content p {
  font-size: .85rem !important;
  margin-bottom: 0 !important;
}

/* Highlight box */
.article-highlight {
  background: linear-gradient(135deg, rgba(21,101,192,.06) 0%, rgba(247,148,29,.06) 100%);
  border: 1px solid rgba(21,101,192,.15);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 28px 0;
}
.article-highlight .ah-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-highlight .ah-title i { color: var(--primary); }
.article-highlight p { font-size: .88rem !important; margin: 0 !important; color: #4a5a6d !important; }

/* Stats strip inside article */
.article-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.article-stat {
  background: #f4f8ff;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.article-stat .as-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--secondary);
  line-height: 1;
}
.article-stat .as-value span { color: var(--primary); }
.article-stat .as-label {
  font-size: .75rem;
  color: #6b7a8d;
  margin-top: 5px;
  font-weight: 500;
}

/* Article image */
.article-img {
  width: 100%;
  border-radius: 14px;
  margin: 24px 0;
  object-fit: cover;
  max-height: 320px;
  display: block;
}

/* ── SIDEBAR ── */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sidebar-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.sidebar-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  color: #0a1628;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* Quick links */
.sidebar-links {
  list-style: none;
  padding: 0; margin: 0;
}
.sidebar-links li { margin-bottom: 4px; }
.sidebar-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 500;
  color: #3a4a5d;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.sidebar-links li a i { color: var(--primary); font-size: .7rem; }
.sidebar-links li a:hover,
.sidebar-links li a.active {
  background: #fff5ea;
  color: var(--primary);
}
.sidebar-links li a.active { font-weight: 700; }

/* CTA card */
.sidebar-cta {
  background: linear-gradient(135deg, var(--secondary) 0%, #0d2d5e 100%);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  color: #fff;
}
.sidebar-cta .sc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
}
.sidebar-cta .sc-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.sidebar-cta .sc-text {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 18px;
}
.sidebar-cta .sc-btn {
  display: block;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.sidebar-cta .sc-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Contact info in sidebar */
.sidebar-contact-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .83rem;
  color: #5a6a7d;
}
.sidebar-contact-list li i {
  color: var(--primary);
  font-size: .9rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.sidebar-contact-list li a {
  color: #5a6a7d;
  text-decoration: none;
  transition: color .2s;
}
.sidebar-contact-list li a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 991px) {
  #article-body { padding: 50px 0 60px; }
  .article-content { padding: 28px 24px 32px; }
  .article-stats { grid-template-columns: repeat(2, 1fr); }
  .article-sidebar { margin-top: 36px; }
}
@media (max-width: 575px) {
  .article-content { padding: 22px 16px 26px; }
  .article-stats { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════
   CMS CONTENT — styles for raw tags output by the CMS
   Targets: h3, ul li, div text blocks inside .article-content
══════════════════════════════════════════════════════════ */

/* First <p> — lead paragraph with orange left border */
.article-content > p:first-child {
  font-size: 1rem;
  color: #3a4a5d;
  font-weight: 500;
  line-height: 1.85;
  border-left: 4px solid var(--primary);
  padding-left: 18px;
  margin-bottom: 28px;
  background: #fffaf4;
  border-radius: 0 8px 8px 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* h3 headings — override browser default large size */
.article-content h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #0a1628;
  margin-top: 30px;
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 2px solid #eef2f8;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Orange tick bar before every h3 */
.article-content h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  min-width: 4px;
  height: 1.1em;
  background: var(--primary);
  border-radius: 3px;
}

/* CMS wraps text in <div> blocks — style them like paragraphs */
.article-content div > div:not(:empty) {
  font-size: .93rem;
  color: #5a6a7d;
  line-height: 1.82;
  margin-bottom: 10px;
}
/* Hide &nbsp; spacer divs */
.article-content div > div:empty,
.article-content div > div:-moz-only-whitespace {
  display: none;
}

/* UL — strip browser default and add card-style rows */
.article-content ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-content ul li {
  position: relative;
  padding: 10px 14px 10px 40px;
  background: #f8fbff;
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  font-size: .9rem;
  color: #3a4a5d;
  line-height: 1.6;
  transition: background .2s, border-color .2s;
}
.article-content ul li:hover {
  background: #fff5ea;
  border-left-color: var(--primary-dark);
}
/* Checkmark bullet */
.article-content ul li::before {
  content: '\2714';
  position: absolute;
  left: 13px;
  top: 11px;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 900;
  line-height: 1.6;
}

/* strong / bold inside CMS content */
.article-content strong {
  color: #0d1e35;
  font-weight: 700;
}
