/* ==========================================================================
   H-Focus Medical Laboratory - Modern Blog & Newsletter Stylesheet 2026
   Palette: Primary Emerald Green (#057837), Deep Navy (#0b132b),
   Mint Accent (#10b981), Teal (#06b6d4), Slate (#334155), Clean Background (#f8fafc).
   Strictly NO GOLD. Modern luxury clinical hospital & diagnostic aesthetics.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Global Page & Body Scrolling Fix
   -------------------------------------------------------------------------- */
html {
  overflow-x: hidden;
  overflow-y: auto !important;
  scroll-behavior: smooth;
}

body,
body.hf-blog-body,
body.body-loader {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100vh;
  position: static !important;
}

/* --------------------------------------------------------------------------
   1. Hero Section
   -------------------------------------------------------------------------- */
.hf-blog-hero {
  position: relative;
  background: linear-gradient(135deg, #061826 0%, #0b132b 55%, #043819 100%);
  color: #ffffff;
  padding: 65px 0 75px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.hf-blog-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/herobanners/aboutus.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  filter: saturate(0.8) contrast(1.1);
}

.hf-blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 25%, rgba(16, 185, 129, 0.16) 0%, transparent 60%),
              linear-gradient(180deg, rgba(11, 19, 43, 0.84) 0%, rgba(11, 19, 43, 0.96) 100%);
  pointer-events: none;
}

.hf-blog-hero-content {
  position: relative;
  z-index: 2;
}

.hf-blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}

.hf-blog-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hf-blog-breadcrumb a:hover {
  color: #34d399;
}

.hf-blog-breadcrumb .current {
  color: #6ee7b7;
  font-weight: 600;
}

.hf-blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  color: #6ee7b7;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hf-blog-hero-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
}

.hf-blog-gradient-text {
  background: linear-gradient(135deg, #a7f3d0 0%, #34d399 50%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hf-blog-hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 780px;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   2. Main Blog / Article Section
   -------------------------------------------------------------------------- */
.hf-article-section {
  padding: 60px 0 90px 0;
  background-color: #f8fafc;
}

/* Article Card Main Wrapper */
.hf-article-wrapper {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(5, 120, 55, 0.12);
  box-shadow: 0 16px 45px rgba(11, 19, 43, 0.05);
  padding: 50px 48px;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.hf-article-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #057837 0%, #10b981 50%, #06b6d4 100%);
}

/* Article Header & Reporter Byline */
.hf-article-header {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e2e8f0;
}

.hf-news-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(5, 120, 55, 0.08);
  color: #057837;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hf-article-headline {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: #0b132b;
  line-height: 1.25;
  margin-bottom: 18px;
}

.hf-article-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
}

.hf-author-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hf-author-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #057837 0%, #10b981 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(5, 120, 55, 0.25);
  flex-shrink: 0;
}

.hf-author-details {
  line-height: 1.35;
}

.hf-author-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0b132b;
  margin: 0 0 3px 0;
}

.hf-author-role {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

.hf-article-share-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hf-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 14px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.hf-share-btn.whatsapp { background: #25d366; }
.hf-share-btn.facebook { background: #1877f2; }
.hf-share-btn.twitter { background: #000000; }
.hf-share-btn.link-copy { background: #057837; }

.hf-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Article Body Typography */
.hf-article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.hf-article-body p {
  margin-bottom: 22px;
}

.hf-lead-paragraph {
  font-size: 1.18rem;
  line-height: 1.75;
  color: #1e293b;
  font-weight: 500;
  border-left: 4px solid #057837;
  padding-left: 20px;
  margin-bottom: 30px;
  background: #f8fafc;
  padding-top: 14px;
  padding-bottom: 14px;
  border-radius: 0 12px 12px 0;
}

/* --------------------------------------------------------------------------
   3. Letters Section (Letters 1 & 2 FIRST as instructed)
   -------------------------------------------------------------------------- */
.hf-letters-showcase {
  background: linear-gradient(135deg, #0b132b 0%, #061826 100%);
  border-radius: 20px;
  padding: 36px 30px;
  margin: 35px 0 45px 0;
  color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 12px 35px rgba(11, 19, 43, 0.2);
}

.hf-letters-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 30px auto;
}

.hf-letters-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.hf-letters-title {
  color: #ffffff !important;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.hf-letters-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.hf-document-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.hf-document-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.hf-document-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.hf-doc-frame {
  position: relative;
  background: #ffffff;
  padding: 12px;
  overflow: hidden;
  cursor: pointer;
}

.hf-doc-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s ease;
  display: block;
}

.hf-doc-card:hover .hf-doc-img {
  transform: scale(1.02);
}

.hf-doc-zoom-hint {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(11, 19, 43, 0.85);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hf-doc-info {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hf-doc-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hf-doc-meta {
  color: #6ee7b7;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.hf-doc-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.hf-doc-btn {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7 !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none !important;
  cursor: pointer;
  margin-top: auto;
}

.hf-doc-btn:hover {
  background: #057837;
  color: #ffffff !important;
  border-color: #057837;
}

/* --------------------------------------------------------------------------
   4. Photo Gallery Arrangement
   -------------------------------------------------------------------------- */
.hf-gallery-arrangement {
  margin: 40px 0;
}

.hf-gallery-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0b132b;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hf-gallery-heading i {
  color: #057837;
}

.hf-photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.hf-photo-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hf-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(5, 120, 55, 0.12);
  border-color: rgba(5, 120, 55, 0.3);
}

.hf-photo-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hf-photo-card:hover img {
  transform: scale(1.03);
}

.hf-photo-caption {
  padding: 16px 20px;
  background: #ffffff;
}

.hf-photo-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0b132b;
  margin-bottom: 4px;
}

.hf-photo-sub {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

.hf-photo-bottom-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hf-photo-bottom-row .hf-photo-card img {
  height: 420px;
}

/* --------------------------------------------------------------------------
   5. Pull-Quotes & CEO Speech Callout
   -------------------------------------------------------------------------- */
.hf-ceo-quote-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #86efac;
  border-radius: 18px;
  padding: 32px 36px;
  margin: 36px 0;
  position: relative;
}

.hf-quote-mark {
  position: absolute;
  top: 18px;
  right: 28px;
  font-size: 4rem;
  color: rgba(5, 120, 55, 0.15);
  line-height: 1;
  font-family: serif;
}

.hf-ceo-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.hf-ceo-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #057837;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(5, 120, 55, 0.2);
}

.hf-ceo-info h5 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #064e3b;
  margin: 0 0 3px 0;
}

.hf-ceo-info p {
  font-size: 12.5px;
  font-weight: 700;
  color: #057837;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.hf-quote-text {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: #14532d;
  margin: 0;
}

/* Ambassador Response Quote Box */
.hf-ambassador-quote-box {
  background: #ffffff;
  border-left: 5px solid #057837;
  border-radius: 0 16px 16px 0;
  padding: 26px 30px;
  margin: 30px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  border-top: 1px solid #edf2f7;
  border-right: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.hf-ambassador-quote-box blockquote {
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.7;
  color: #1e293b;
  margin: 0 0 12px 0;
}

.hf-ambassador-byline {
  font-size: 13.5px;
  font-weight: 700;
  color: #057837;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Key Takeaway Bullet Highlights */
.hf-takeaways-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 28px 30px;
  margin: 32px 0;
}

.hf-takeaways-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b132b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hf-takeaway-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
}

.hf-takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

.hf-takeaway-item i {
  color: #057837;
  margin-top: 3px;
  font-size: 14px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. Lightbox Modal
   -------------------------------------------------------------------------- */
.hf-lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 24, 38, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hf-lightbox-content {
  max-width: 900px;
  max-height: 90vh;
  position: relative;
  text-align: center;
}

.hf-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  display: block;
  margin: 0 auto;
}

.hf-lightbox-caption {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
}

.hf-lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hf-lightbox-close:hover {
  background: #e11d48;
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   7. Sidebar / CTA Cards
   -------------------------------------------------------------------------- */
.hf-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hf-sidebar-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 24px;
  border: 1px solid rgba(5, 120, 55, 0.1);
  box-shadow: 0 10px 30px rgba(11, 19, 43, 0.04);
}

.hf-sidebar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b132b;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hf-ambassador-profile-card {
  text-align: center;
}

.hf-ambassador-avatar-lg {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #057837;
  box-shadow: 0 6px 18px rgba(5, 120, 55, 0.25);
  margin: 0 auto 16px auto;
  display: block;
}

.hf-ambassador-name-lg {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0b132b;
  margin-bottom: 4px;
}

.hf-ambassador-title-lg {
  font-size: 12.5px;
  font-weight: 700;
  color: #057837;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.hf-ambassador-badge-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}

.hf-badge-pill {
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
}

.hf-cta-card-green {
  background: linear-gradient(145deg, #057837 0%, #034b22 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 14px 35px rgba(5, 120, 55, 0.25);
}

.hf-cta-card-green h4 {
  color: #ffffff !important;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.hf-cta-card-green p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 20px;
}

.hf-btn-cta-white {
  background: #ffffff;
  color: #057837 !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.hf-btn-cta-white:hover {
  background: #ecfdf5;
  transform: translateY(-2px);
}

.hf-cta-banner-gradient {
  background: linear-gradient(135deg, #0b132b 0%, #057837 100%);
  border-radius: 18px;
  padding: 28px 32px;
  color: #ffffff;
  margin-top: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 575.98px) {
  .hf-cta-banner-gradient {
    padding: 20px 16px !important;
    border-radius: 14px !important;
    gap: 14px !important;
  }
  .hf-cta-banner-gradient h4 {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
  }
  .hf-cta-banner-gradient p {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
  }
  .hf-cta-banner-gradient .d-flex {
    width: 100%;
    flex-direction: column;
    gap: 8px !important;
  }
  .hf-cta-banner-gradient .btn {
    width: 100%;
    text-align: center;
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
}
/* --------------------------------------------------------------------------
   7b. Blog Hub Tile Cards & Filter Styles
   -------------------------------------------------------------------------- */
.hf-blog-hub-section {
  padding: 50px 0 90px 0;
  background-color: #f8fafc;
}

.hf-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.hf-filter-btn {
  background: #ffffff;
  border: 1px solid rgba(11, 19, 43, 0.12);
  color: #475569;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hf-filter-btn:hover {
  background: rgba(5, 120, 55, 0.08);
  border-color: #057837;
  color: #057837;
}

.hf-filter-btn.is-active {
  background: #057837;
  border-color: #057837;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 120, 55, 0.25);
}

/* Featured Hero Tile Card */
.hf-featured-tile-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(5, 120, 55, 0.16);
  box-shadow: 0 16px 45px rgba(11, 19, 43, 0.06);
  overflow: hidden;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 992px) {
  .hf-featured-tile-card {
    flex-direction: row;
  }
}

.hf-featured-tile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(5, 120, 55, 0.12);
}

.hf-featured-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

@media (min-width: 992px) {
  .hf-featured-img-wrap {
    flex: 0 0 46%;
    min-height: 420px;
  }
}

.hf-featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hf-featured-tile-card:hover .hf-featured-img-wrap img {
  transform: scale(1.05);
}

.hf-featured-tag-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(11, 19, 43, 0.88);
  backdrop-filter: blur(8px);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hf-featured-content {
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.hf-featured-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}

.hf-featured-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hf-featured-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #0b132b;
  line-height: 1.3;
  margin-bottom: 14px;
}

.hf-featured-title a {
  color: #0b132b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hf-featured-title a:hover {
  color: #057837;
}

.hf-featured-excerpt {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.hf-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.hf-featured-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hf-featured-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #057837;
  font-size: 15px;
}

.hf-featured-author-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.2;
}

.hf-featured-author-role {
  font-size: 11px;
  color: #64748b;
  margin: 0;
}

.hf-btn-read-featured {
  background: #057837;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.hf-btn-read-featured:hover {
  background: #04632d;
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(5, 120, 55, 0.35);
}

/* Grid of News Tile Cards */
.hf-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.hf-tile-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px rgba(11, 19, 43, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.hf-tile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(5, 120, 55, 0.12);
  border-color: rgba(5, 120, 55, 0.3);
}

.hf-tile-thumb-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.hf-tile-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hf-tile-card:hover .hf-tile-thumb-wrap img {
  transform: scale(1.08);
}

.hf-tile-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(6px);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.4px;
}

.hf-tile-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hf-tile-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 10px;
}

.hf-tile-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0b132b;
  margin-bottom: 12px;
}

.hf-tile-title a {
  color: #0b132b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hf-tile-title a:hover {
  color: #057837;
}

.hf-tile-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.hf-tile-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hf-tile-read-link {
  font-size: 13px;
  font-weight: 700;
  color: #057837;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.hf-tile-card:hover .hf-tile-read-link {
  gap: 10px;
  color: #04632d;
}

/* --------------------------------------------------------------------------
   8. Responsive Breakpoints & Mobile Optimization (iPhone SE & Small Displays)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .hf-article-wrapper {
    padding: 36px 24px;
  }
  .hf-document-grid {
    grid-template-columns: 1fr;
  }
  .hf-photo-grid {
    grid-template-columns: 1fr;
  }
  .hf-photo-bottom-row {
    grid-template-columns: 1fr;
  }
  .hf-photo-bottom-row .hf-photo-card img {
    height: 320px;
  }
  .hf-takeaway-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  /* Hero section adjustments */
  .hf-blog-hero {
    padding: 36px 0 40px 0 !important;
  }
  .hf-blog-breadcrumb {
    font-size: 11.5px !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 2px !important;
  }
  .hf-blog-breadcrumb::-webkit-scrollbar {
    display: none;
  }
  .hf-blog-hero-badge {
    padding: 5px 12px !important;
    font-size: 11px !important;
    letter-spacing: 0.3px !important;
    margin-bottom: 12px !important;
    white-space: nowrap !important;
    max-width: 100% !important;
  }
  .hf-blog-hero-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.3px !important;
  }
  .hf-blog-hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.84) !important;
  }

  /* Filter bar horizontal scroll on mobile */
  .hf-filter-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 8px !important;
    margin-bottom: 24px !important;
    gap: 8px !important;
  }
  .hf-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .hf-filter-btn {
    white-space: nowrap !important;
    font-size: 12px !important;
    padding: 6px 14px !important;
    flex-shrink: 0 !important;
  }

  /* Featured tile card on blog hub */
  .hf-featured-tile-card {
    border-radius: 18px !important;
    margin-bottom: 30px !important;
  }
  .hf-featured-img-wrap {
    min-height: 200px !important;
    max-height: 240px !important;
  }
  .hf-featured-content {
    padding: 22px 16px !important;
  }
  .hf-featured-title {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
  .hf-featured-excerpt {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
  }

  /* News Grid Cards */
  .hf-tile-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-bottom: 35px !important;
  }
  .hf-tile-thumb-wrap {
    height: 190px !important;
  }
  .hf-tile-body {
    padding: 20px 16px !important;
  }
  .hf-tile-title {
    font-size: 1.12rem !important;
    margin-bottom: 10px !important;
  }
  .hf-tile-desc {
    font-size: 0.86rem !important;
    margin-bottom: 16px !important;
  }

  /* Single Article Section */
  .hf-article-section {
    padding: 28px 0 50px 0 !important;
  }
  .hf-article-wrapper {
    padding: 20px 14px !important;
    border-radius: 18px !important;
    margin-bottom: 25px !important;
  }
  .hf-article-headline {
    font-size: 1.32rem !important;
    line-height: 1.3 !important;
    margin-bottom: 14px !important;
  }
  .hf-article-byline-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-bottom: 16px !important;
    margin-bottom: 20px !important;
  }
  .hf-author-details .hf-author-name {
    font-size: 13px !important;
  }
  .hf-author-details .hf-author-role {
    font-size: 11px !important;
  }
  .hf-lead-paragraph {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
  }
  .hf-article-body p {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
    margin-bottom: 18px !important;
  }

  /* Letters showcase */
  .hf-letters-showcase {
    padding: 18px 12px !important;
    border-radius: 16px !important;
    margin: 25px 0 !important;
  }
  .hf-letters-title {
    font-size: 1.25rem !important;
  }
  .hf-letters-sub {
    font-size: 0.85rem !important;
  }
  .hf-doc-card {
    border-radius: 14px !important;
  }
  .hf-doc-img {
    height: 240px !important;
  }
  .hf-doc-info {
    padding: 16px 12px !important;
  }
  .hf-doc-title {
    font-size: 1.05rem !important;
  }
  .hf-doc-meta {
    font-size: 11px !important;
  }
  .hf-doc-desc {
    font-size: 0.82rem !important;
    line-height: 1.55 !important;
  }
  .hf-doc-btn {
    font-size: 12px !important;
    padding: 8px 14px !important;
  }

  /* Key takeaways */
  .hf-takeaways-card {
    padding: 18px 14px !important;
    border-radius: 14px !important;
    margin: 24px 0 !important;
  }
  .hf-takeaways-title {
    font-size: 1.05rem !important;
    margin-bottom: 12px !important;
  }
  .hf-takeaway-item {
    font-size: 0.84rem !important;
    gap: 10px !important;
    padding: 8px 0 !important;
  }

  /* CEO quote box */
  .hf-ceo-quote-box {
    padding: 18px 14px !important;
    border-radius: 16px !important;
    margin: 24px 0 !important;
  }
  .hf-quote-mark {
    font-size: 3rem !important;
    right: 8px !important;
    top: -10px !important;
    opacity: 0.08 !important;
  }
  .hf-ceo-header {
    gap: 12px !important;
    margin-bottom: 14px !important;
  }
  .hf-ceo-avatar {
    width: 48px !important;
    height: 48px !important;
  }
  .hf-ceo-info h5 {
    font-size: 0.98rem !important;
  }
  .hf-ceo-info p {
    font-size: 0.78rem !important;
  }
  .hf-quote-text {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }

  /* Photo cards */
  .hf-gallery-arrangement {
    margin: 25px 0 !important;
  }
  .hf-gallery-heading {
    font-size: 1.15rem !important;
    margin-bottom: 14px !important;
  }
  .hf-photo-card {
    border-radius: 14px !important;
  }
  .hf-photo-card img {
    height: 210px !important;
  }
  .hf-photo-bottom-row .hf-photo-card img {
    height: 210px !important;
  }
  .hf-photo-caption {
    padding: 12px !important;
  }
  .hf-photo-title {
    font-size: 0.92rem !important;
  }
  .hf-photo-sub {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }

  /* Ambassador quote box */
  .hf-ambassador-quote-box {
    padding: 20px 14px !important;
    border-radius: 14px !important;
    margin: 24px 0 !important;
  }
  .hf-ambassador-quote-box blockquote {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }
  .hf-ambassador-byline {
    font-size: 11.5px !important;
    margin-top: 14px !important;
  }

  /* Sidebar cards on mobile */
  .hf-sidebar-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
    margin-bottom: 20px !important;
  }
  .hf-ambassador-avatar-lg {
    width: 105px !important;
    height: 105px !important;
  }
  .hf-ambassador-name-lg {
    font-size: 1.2rem !important;
  }
}

/* Specific iPhone SE / Ultra-compact viewport (<= 380px) */
@media (max-width: 380px) {
  .hf-blog-hero {
    padding: 26px 0 30px 0 !important;
  }
  .hf-blog-hero-badge {
    font-size: 10px !important;
    padding: 4px 10px !important;
  }
  .hf-blog-hero-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }
  .hf-blog-hero-subtitle {
    font-size: 0.84rem !important;
  }
  .hf-article-wrapper {
    padding: 16px 12px !important;
  }
  .hf-article-headline {
    font-size: 1.18rem !important;
  }
  .hf-photo-card img,
  .hf-photo-bottom-row .hf-photo-card img {
    height: 180px !important;
  }
  .hf-doc-img {
    height: 190px !important;
  }
  .hf-featured-title {
    font-size: 1.12rem !important;
  }
}
