/* ============================================
   Holy Family College of Health Sciences
   Main Stylesheet — USIU-inspired theme
   ============================================ */

:root {
  --hf-blue: #0e2c6b;
  --hf-blue-dark: #091e4d;
  --hf-blue-light: #1a3e8a;
  --hf-yellow: #f5c518;
  --hf-yellow-dark: #e0b000;
  --hf-gray-50: #f8f9fb;
  --hf-gray-100: #eef0f5;
  --hf-gray-300: #d0d5de;
  --hf-gray-600: #5a6472;
  --hf-gray-900: #1a1d24;
  --hf-text: #1a1d24;
  --hf-muted: #5a6472;
  --hf-white: #ffffff;
  --hf-radius: 10px;
  --hf-radius-lg: 18px;
  --hf-shadow-sm: 0 2px 8px rgba(14, 44, 107, 0.06);
  --hf-shadow-md: 0 8px 24px rgba(14, 44, 107, 0.1);
  --hf-shadow-lg: 0 16px 40px rgba(14, 44, 107, 0.15);
  --hf-font-heading: 'Merriweather', Georgia, serif;
  --hf-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Reset & base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--hf-font-body);
  color: var(--hf-text);
  background: var(--hf-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: var(--hf-font-heading);
  color: var(--hf-blue);
  line-height: 1.2;
  margin-top: 0;
  font-weight: 700;
}
a { color: var(--hf-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--hf-yellow-dark); }
img { max-width: 100%; height: auto; display: block; }
.container-hf { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- Top utility bar ---- */
.top-bar {
  background: var(--hf-blue-dark);
  color: #dbe2f2;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container-hf { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar a { color: #dbe2f2; margin-right: 16px; }
.top-bar a:hover { color: var(--hf-yellow); }
.top-bar .socials a { margin-left: 12px; margin-right: 0; font-size: 14px; }

/* ---- Main navigation ---- */
.main-nav {
  background: var(--hf-white);
  box-shadow: var(--hf-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav .container-hf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 52px; height: 52px;
  object-fit: contain;
}
.brand-text .brand-name {
  font-family: var(--hf-font-heading);
  font-weight: 700;
  color: var(--hf-blue);
  font-size: 15px;
  line-height: 1.1;
}
.brand-text .brand-tag {
  font-size: 11px;
  color: var(--hf-muted);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0; padding: 0;
  align-items: center;
}
.nav-links a {
  color: var(--hf-text);
  font-weight: 500;
  font-size: 14px;
  padding: 9px 11px;
  border-radius: 6px;
  transition: background .2s ease, color .2s ease;
  display: inline-block;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--hf-gray-100);
  color: var(--hf-blue);
}
/* Spacer before Login/Portal group */
.nav-links .nav-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}
.nav-cta {
  background: var(--hf-blue);
  color: var(--hf-white) !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(14, 44, 107, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 14px !important;
  transition: all 0.3s ease;
}
.nav-cta:hover {
  background: var(--hf-blue-dark) !important;
  color: var(--hf-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 44, 107, 0.25);
}
 
/* ---- Dropdown menu ---- */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--hf-white);
  min-width: 210px;
  box-shadow: var(--hf-shadow-lg);
  border-radius: 8px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  display: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 1100;
  border: 1px solid var(--hf-gray-100);
  opacity: 0;
}
.dropdown:hover > .dropdown-menu, 
.dropdown.open > .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
  display: block;
  width: 100%;
  padding: 10px 20px;
  color: var(--hf-text);
  font-weight: 500;
  font-size: 14px;
  border-radius: 0;
  transition: background .2s ease, color .2s ease;
  background: transparent !important;
}
.dropdown-menu a:hover {
  background: var(--hf-gray-50) !important;
  color: var(--hf-blue);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--hf-blue);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  line-height: 1;
}
.nav-toggle:hover { background: var(--hf-gray-100); }

/* ---- Hero ---- */
.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(14, 44, 107, 0.82), rgba(14, 44, 107, 0.55)),
              url('../images/_MG_2946.jpg') center/cover no-repeat;
  min-height: 520px;
  color: var(--hf-white);
  display: flex;
  align-items: center;
  padding: 80px 0;
  text-align: left;
}
.hero .container-hf {
  width: 100%;
}
.hero h1 {
  color: var(--hf-white);
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 720px;
  margin-bottom: 20px;
  margin-left: 0;
}
.hero p {
  font-size: 1.1rem;
  max-width: 620px;
  margin-bottom: 28px;
  color: #e7ecf7;
  margin-left: 0;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease;
  font-size: 15px;
}
.btn-primary {
  background: var(--hf-yellow);
  color: var(--hf-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--hf-shadow-md); color: var(--hf-blue); }
.nav-login {
  color: var(--hf-blue) !important;
  font-weight: 600;
  padding: 8px 18px;
  border: 1.5px solid var(--hf-blue);
  border-radius: 25px;
  white-space: nowrap;
  font-size: 14px !important;
  transition: all 0.3s ease;
}
.nav-login:hover {
  background: var(--hf-blue);
  color: var(--hf-white) !important;
}
.btn-outline {
  background: transparent;
  color: var(--hf-white);
  border: 2px solid var(--hf-white);
  margin-left: 14px;
}
.btn-outline:hover { background: var(--hf-white); color: var(--hf-blue); }
.btn-blue { background: var(--hf-blue); color: var(--hf-white); }
.btn-blue:hover { background: var(--hf-blue-dark); color: var(--hf-white); transform: translateY(-2px); }

/* ---- Quick links row under hero ---- */
.quick-links {
  background: var(--hf-white);
  border-bottom: 1px solid var(--hf-gray-100);
}
.quick-links .container-hf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.quick-links a {
  padding: 22px 16px;
  font-weight: 600;
  color: var(--hf-blue);
  border-right: 1px solid var(--hf-gray-100);
}
.quick-links a:last-child { border-right: none; }
.quick-links a:hover { background: var(--hf-gray-50); }

/* ---- Section styles ---- */
.section { padding: 80px 0; }
.section-dark { background: var(--hf-blue); color: var(--hf-white); }
.section-dark h2 { color: var(--hf-white); }
.section-gray { background: var(--hf-gray-50); }
.section-title { font-size: 2.2rem; margin-bottom: 16px; }
.section-sub { color: var(--hf-muted); font-size: 1.05rem; max-width: 720px; margin-bottom: 48px; }

/* ---- About/Campus block (2-col) ---- */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split-block.reverse { direction: rtl; }
.split-block.reverse > * { direction: ltr; }
.split-card {
  background: var(--hf-yellow);
  padding: 40px;
  border-radius: var(--hf-radius-lg);
}
.split-card h2 { font-size: 2.2rem; margin-bottom: 16px; }
.split-card p { color: var(--hf-blue-dark); margin-bottom: 20px; }
.split-img { border-radius: var(--hf-radius-lg); overflow: hidden; box-shadow: var(--hf-shadow-lg); }
.split-img img { width: 100%; height: 420px; object-fit: cover; }

/* ---- Stats ---- */
.stats {
  background: var(--hf-blue);
  color: var(--hf-white);
  padding: 60px 0;
}
.stats .container-hf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-num {
  font-family: var(--hf-font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--hf-yellow);
  line-height: 1;
}
.stat-label {
  margin-top: 10px;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c7d0e4;
}

/* ---- Feature cards (Why choose us) ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #eef3fb;
  border-radius: var(--hf-radius-lg);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--hf-shadow-md); }
.feature-icon {
  width: 56px; height: 56px;
  background: var(--hf-white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--hf-blue);
  font-size: 24px;
  margin-bottom: 18px;
  box-shadow: var(--hf-shadow-sm);
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--hf-muted); font-size: .95rem; margin: 0; }

/* ---- Programs list ---- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: var(--hf-radius-lg);
  overflow: hidden;
  box-shadow: var(--hf-shadow-md);
}
.program-col { padding: 36px 30px; }
.program-col.green { background: #2a6b4f; color: var(--hf-white); }
.program-col.yellow { background: var(--hf-yellow); color: var(--hf-blue-dark); }
.program-col.blue { background: #dfe6f3; color: var(--hf-blue); }
.program-col h3 { color: inherit; font-size: 1.4rem; margin-bottom: 16px; }
.program-col p { margin-bottom: 14px; font-size: .95rem; }
.program-col a { color: inherit; font-weight: 700; text-decoration: underline; }

/* ---- News cards ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--hf-white);
  border-radius: var(--hf-radius-lg);
  overflow: hidden;
  box-shadow: var(--hf-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--hf-shadow-lg); }
.news-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--hf-blue), var(--hf-blue-light));
  position: relative;
}
.news-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(245,197,24,0.4), transparent 60%);
}
.news-body { padding: 22px 24px 28px; }
.news-tag {
  background: var(--hf-yellow);
  color: var(--hf-blue-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 10px;
}
.news-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.news-date { color: var(--hf-muted); font-size: .85rem; }

/* ---- Page header for interior pages ---- */
.page-header {
  background: linear-gradient(120deg, rgba(14, 44, 107, 0.9), rgba(14, 44, 107, 0.7)),
              url('../images/_MG_2979.jpg') center/cover no-repeat;
  color: var(--hf-white);
  padding: 120px 0 80px;
  position: relative;
}
.page-header-card {
  background: var(--hf-blue);
  padding: 30px 40px;
  border-radius: var(--hf-radius);
  max-width: 560px;
  box-shadow: var(--hf-shadow-lg);
}
.page-header h1 { color: var(--hf-white); font-size: 2.5rem; margin-bottom: 10px; }
.page-header p { color: #dbe2f2; margin: 0; }

/* ---- Content cards (About, history, etc) ---- */
.content-block { max-width: 860px; margin: 0 auto; }
.content-block p { margin-bottom: 18px; color: var(--hf-text); font-size: 1rem; }

/* ---- Mission/Vision ---- */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.mv-card {
  background: var(--hf-white);
  border: 1px solid var(--hf-gray-100);
  border-radius: var(--hf-radius-lg);
  padding: 34px;
  border-left: 6px solid var(--hf-yellow);
}
.mv-card h3 { color: var(--hf-blue); margin-bottom: 12px; }

/* ---- Staff / Team cards ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--hf-white);
  border-radius: var(--hf-radius-lg);
  overflow: hidden;
  box-shadow: var(--hf-shadow-sm);
  text-align: center;
  padding-bottom: 20px;
  transition: transform .25s ease;
}
.team-card:hover { transform: translateY(-4px); }
.team-photo {
  height: 240px;
  background: linear-gradient(135deg, #dfe6f3, #eef3fb);
  display: flex; align-items: flex-end; justify-content: center;
  color: var(--hf-blue);
  font-size: 80px;
  font-family: var(--hf-font-heading);
  font-weight: 700;
}
.team-card h4 { margin: 16px 0 4px; font-size: 1.05rem; }
.team-role { color: var(--hf-muted); font-size: .88rem; margin: 0; }

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-tile {
  height: 260px;
  border-radius: var(--hf-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,44,107,0.6));
  transition: opacity .25s ease;
}
.gallery-tile:hover::after { background: linear-gradient(180deg, transparent 40%, rgba(14,44,107,0.85)); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-label {
  position: absolute;
  bottom: 16px; left: 18px;
  color: var(--hf-white);
  font-weight: 700;
  z-index: 2;
  font-size: 1.05rem;
}

/* ---- Forms ---- */
.form-card {
  background: var(--hf-white);
  padding: 40px;
  border-radius: var(--hf-radius-lg);
  box-shadow: var(--hf-shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--hf-blue);
  font-size: .92rem;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--hf-gray-300);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--hf-blue);
  box-shadow: 0 0 0 3px rgba(14, 44, 107, 0.1);
}
textarea.form-control { min-height: 140px; resize: vertical; }

/* ---- Contact info block ---- */
.contact-info { padding: 30px 0; }
.contact-info ul { list-style: none; padding: 0; margin: 0; }
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hf-gray-100);
}
.contact-info .ic {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--hf-yellow);
  color: var(--hf-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.contact-info strong { color: var(--hf-blue); display: block; font-size: .95rem; }
.contact-info span { color: var(--hf-muted); font-size: .95rem; }

/* ---- Alerts ---- */
.alert {
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: .95rem;
}
.alert-success { background: #e1f5ec; color: #146c43; border-left: 4px solid #146c43; }
.alert-error { background: #fdecec; color: #b02a2a; border-left: 4px solid #b02a2a; }

/* ---- CTA Band ---- */
.cta-band {
  background: var(--hf-yellow);
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { color: var(--hf-blue); font-size: 2rem; margin-bottom: 14px; }
.cta-band p { color: var(--hf-blue-dark); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---- Footer ---- */
.footer {
  background: var(--hf-blue);
  color: #c7d0e4;
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer h5 {
  color: var(--hf-white);
  font-family: var(--hf-font-body);
  font-size: .9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 6px 0; }
.footer a { color: #c7d0e4; font-size: .95rem; }
.footer a:hover { color: var(--hf-yellow); }
.footer p { font-size: .93rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .87rem;
  color: #97a3bd;
}

/* ---- Breadcrumb (optional) ---- */
.breadcrumb {
  font-size: .9rem;
  color: #dbe2f2;
  margin-bottom: 8px;
}
.breadcrumb a { color: var(--hf-yellow); }

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .quick-links .container-hf { grid-template-columns: 1fr; }
  .quick-links a { border-right: none; border-bottom: 1px solid var(--hf-gray-100); }
  .split-block { grid-template-columns: 1fr; }
  .features-grid, .news-grid, .programs-grid { grid-template-columns: 1fr; }
  .stats .container-hf { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: 1fr; }

  .main-nav .container-hf { position: relative; gap: 12px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--hf-white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--hf-shadow-md);
    align-items: stretch;
    display: none;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    border-top: 1px solid var(--hf-gray-100);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  .nav-links .nav-actions-group {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-left: 0;
    padding: 8px 0;
    width: 100%;
  }
  .nav-links .nav-actions-group a,
  .nav-links .nav-actions-group form,
  .nav-links .nav-actions-group form button { width: 100%; text-align: center; justify-content: center; }

  /* Mobile dropdown */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 20px;
    display: none;
    background: transparent;
  }
  .dropdown.open .dropdown-menu { display: block; }
  .dropdown:hover .dropdown-menu { display: block; }

  .form-row { grid-template-columns: 1fr; }

  /* Brand text tightens up so the toggle fits */
  .brand-logo { width: 44px; height: 44px; }
  .brand-text .brand-name { font-size: 14px; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { min-height: 380px; padding: 50px 0; }
  .team-grid, .gallery-grid { grid-template-columns: 1fr; }
  .stats .container-hf { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .container-hf { padding: 0 16px; }

  /* Top utility bar — hide marquee, keep contact info readable */
  .top-bar { font-size: 12px; padding: 6px 0; }
  .top-bar .container-hf { gap: 6px; }
  .top-bar .d-flex { flex-wrap: wrap; gap: 10px !important; }
  .top-bar a { margin-right: 0; font-size: 12px; }

  .page-header { padding: 80px 0 50px; }
  .page-header h1 { font-size: 1.8rem; }
  .page-header-card { padding: 22px 24px; }

  .section-title { font-size: 1.6rem; }
  .section-sub { margin-bottom: 30px; font-size: .98rem; }

  .cta-band h2 { font-size: 1.5rem; }
  .cta-band .btn { display: block; margin: 8px auto !important; max-width: 280px; }

  .split-img img { height: 260px; }
}

/* Brand never overflows the navbar on very narrow screens */
@media (max-width: 360px) {
  .brand-text .brand-tag { display: none; }
  .brand-logo { width: 40px; height: 40px; }
}

/* ---- News & Events ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--hf-shadow-md);
  background: var(--hf-blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none !important;
  color: inherit;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hf-shadow-lg);
}
.news-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.news-card-body {
  padding: 22px 24px 24px;
  background: var(--hf-blue);
}
.news-card-tag {
  display: inline-block;
  background: var(--hf-yellow);
  color: var(--hf-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.news-card-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.45;
  font-family: var(--hf-font-body);
}
.news-card-date {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}
.more-news-link {
  display: inline-block;
  color: var(--hf-blue);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid var(--hf-blue);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.more-news-link:hover {
  color: var(--hf-yellow-dark);
  border-color: var(--hf-yellow-dark);
}
@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ---- Small utilities ---- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.pb-0 { padding-bottom: 0 !important; }
.divider { height: 4px; width: 60px; background: var(--hf-yellow); margin: 0 0 20px; border-radius: 2px; }
.divider.center { margin-left: auto; margin-right: auto; }

/* ================================================================
   CONTENT + SIDEBAR LAYOUT  (news index, detail, downloads)
   ================================================================ */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.content-main { min-width: 0; }

/* ---- Sidebar (shared) ---- */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-widget {
  background: var(--hf-white);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--hf-shadow-sm);
  border: 1px solid var(--hf-gray-100);
}
.sidebar-widget-title {
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--hf-blue);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--hf-yellow);
}

/* Sidebar search */
.sidebar-search {
  display: flex;
  border: 1px solid var(--hf-gray-300);
  border-radius: 8px;
  overflow: hidden;
}
.sidebar-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  background: var(--hf-gray-50);
}
.sidebar-search button {
  background: var(--hf-blue);
  border: none;
  color: #fff;
  padding: 0 16px;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.sidebar-search button:hover { background: var(--hf-blue-light); }

/* Sidebar category list */
.sidebar-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-category-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--hf-muted);
  font-size: 14px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.sidebar-category-list li a:hover,
.sidebar-category-list li a.active {
  background: var(--hf-blue);
  color: #fff;
}
.cat-count {
  background: var(--hf-gray-100);
  color: var(--hf-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  transition: background .15s, color .15s;
}
.sidebar-category-list li a:hover .cat-count,
.sidebar-category-list li a.active .cat-count {
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* Sidebar recent news */
.recent-news-list { display: flex; flex-direction: column; gap: 0; }
.recent-news-item {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--hf-gray-100);
  transition: opacity .15s;
}
.recent-news-item:last-child { border-bottom: none; }
.recent-news-item:hover { opacity: .75; }
.recent-news-tag {
  display: inline-block;
  background: var(--hf-yellow);
  color: var(--hf-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.recent-news-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--hf-text);
  margin: 0 0 5px;
  line-height: 1.4;
}
.recent-news-date {
  font-size: 11.5px;
  color: var(--hf-muted);
}

/* Sidebar events */
.sidebar-events-widget .sidebar-event-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--hf-gray-100);
}
.sidebar-events-widget .sidebar-event-item:last-child { border-bottom: none; }
.sidebar-event-date {
  flex-shrink: 0;
  background: var(--hf-blue);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
  min-width: 52px;
}
.event-date-day { font-size: 1.2rem; font-weight: 800; color: var(--hf-yellow); line-height: 1; }
.event-date-mon { font-size: .68rem; letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.sidebar-event-title { font-size: 13px; font-weight: 700; color: var(--hf-text); margin: 0 0 3px; }
.sidebar-event-time  { font-size: 11.5px; color: var(--hf-muted); }

/* Sidebar downloads CTA */
.sidebar-downloads-cta {
  background: var(--hf-blue) !important;
  color: #fff;
  text-align: center;
}
.sidebar-downloads-cta h4 { color: #fff; margin-bottom: 8px; font-size: 1rem; }
.sidebar-downloads-cta p  { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.downloads-cta-icon {
  width: 50px; height: 50px;
  background: var(--hf-yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--hf-blue);
  margin: 0 auto 16px;
}

/* Sidebar download list (article detail) */
.sidebar-download-list { display: flex; flex-direction: column; gap: 2px; }
.sidebar-download-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  transition: background .15s;
}
.sidebar-download-item:hover { background: var(--hf-gray-50); }
.sdl-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.sdl-pdf   { background: #fee2e2; color: #dc2626; }
.sdl-docx  { background: #dbeafe; color: #2563eb; }
.sdl-jpg   { background: #dcfce7; color: #16a34a; }
.sdl-mp3   { background: #ede9fe; color: #7c3aed; }
.sdl-xlsx  { background: #d1fae5; color: #059669; }
.sdl-info  { flex: 1; min-width: 0; }
.sdl-name  { display: block; font-size: 12.5px; font-weight: 600; color: var(--hf-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sdl-meta  { font-size: 11px; color: var(--hf-muted); }
.sdl-arrow { color: var(--hf-muted); font-size: 12px; flex-shrink: 0; }
.sidebar-all-downloads {
  display: block;
  text-align: center;
  padding: 10px;
  background: var(--hf-gray-50);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--hf-blue);
  margin-top: 6px;
  transition: background .15s;
}
.sidebar-all-downloads:hover { background: var(--hf-blue); color: #fff; }

/* Sidebar newsletter CTA */
.sidebar-newsletter-cta { background: linear-gradient(135deg, #0e2c6b, #1a3e8a) !important; text-align: center; }
.sidebar-newsletter-cta h4 { color: #fff; margin-bottom: 8px; font-size: 1rem; }
.sidebar-newsletter-cta p  { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.newsletter-icon {
  width: 50px; height: 50px;
  background: var(--hf-yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--hf-blue);
  margin: 0 auto 14px;
}

/* ---- Filter tabs ---- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filter-tab {
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hf-muted);
  background: var(--hf-white);
  border: 1.5px solid var(--hf-gray-300);
  transition: all .2s;
  white-space: nowrap;
}
.filter-tab:hover { border-color: var(--hf-blue); color: var(--hf-blue); }
.filter-tab.active { background: var(--hf-blue); border-color: var(--hf-blue); color: #fff; }

/* ---- Article cards (news index) ---- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--hf-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--hf-shadow-sm);
  border: 1px solid var(--hf-gray-100);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--hf-shadow-md); }
.article-card-img-wrap { position: relative; overflow: hidden; height: 190px; background: var(--hf-gray-100); flex-shrink: 0; }
.article-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.article-card:hover .article-card-img { transform: scale(1.04); }
.article-card-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--hf-gray-300); }
.article-card-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--hf-yellow); color: var(--hf-blue);
  font-size: 10px; font-weight: 800; letter-spacing: .8px;
  padding: 3px 9px; border-radius: 4px;
}
.article-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.article-card-title { font-size: 1rem; font-weight: 700; color: var(--hf-blue); margin: 0 0 10px; line-height: 1.4; font-family: var(--hf-font-body); }
.article-card-excerpt { font-size: .875rem; color: var(--hf-muted); margin: 0 0 16px; line-height: 1.6; flex: 1; }
.article-card-meta { display: flex; gap: 16px; font-size: .8rem; color: var(--hf-muted); flex-wrap: wrap; margin-top: auto; }

/* ---- Events (news index full section) ---- */
.event-card {
  background: var(--hf-white);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 18px;
  box-shadow: var(--hf-shadow-sm);
  border: 1px solid var(--hf-gray-100);
  transition: box-shadow .2s;
}
.event-card:hover { box-shadow: var(--hf-shadow-md); }
.event-date-block { flex-shrink: 0; background: var(--hf-blue); color: #fff; border-radius: 10px; padding: 12px 14px; text-align: center; min-width: 72px; }
.event-day   { font-size: 1.4rem; font-weight: 800; color: var(--hf-yellow); line-height: 1; }
.event-month { font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }
.event-title { font-size: 1.05rem; margin: 0 0 6px; }
.event-meta  { font-size: .85rem; color: var(--hf-muted); margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.event-desc  { font-size: .9rem; color: var(--hf-muted); margin: 0; }

/* ================================================================
   ARTICLE DETAIL PAGE
   ================================================================ */
.article-page-header {
  background: linear-gradient(135deg, var(--hf-blue-dark) 0%, var(--hf-blue) 100%);
  color: #fff;
  padding: 60px 0 50px;
}
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 18px;
}
.article-breadcrumb a { color: rgba(255,255,255,.65); transition: color .15s; }
.article-breadcrumb a:hover { color: var(--hf-yellow); }
.article-breadcrumb i { font-size: 10px; }
.article-breadcrumb span { color: rgba(255,255,255,.9); }
.article-header-tag {
  display: inline-block;
  background: var(--hf-yellow);
  color: var(--hf-blue);
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 4px;
  margin-bottom: 16px;
}
.article-header-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 20px;
  max-width: 780px;
  line-height: 1.3;
}
.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13.5px;
  color: rgba(255,255,255,.7);
}
.article-header-meta i { color: var(--hf-yellow); }

/* Hero image */
.article-hero-img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--hf-shadow-md);
  max-height: 440px;
}
.article-hero-img img { width: 100%; height: 440px; object-fit: cover; display: block; }

/* Article body typography */
.article-body { font-size: 1rem; line-height: 1.8; color: var(--hf-text); margin-bottom: 36px; }
.article-body h3 { font-size: 1.25rem; color: var(--hf-blue); margin: 32px 0 14px; }
.article-body p  { margin: 0 0 18px; }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 18px; }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-body strong { color: var(--hf-blue-dark); }
.article-body em { font-style: italic; }

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 18px;
  background: var(--hf-gray-50);
  border-radius: 10px;
}
.article-tags-label { font-size: 13px; font-weight: 700; color: var(--hf-muted); }
.article-tag-chip {
  background: var(--hf-gray-100);
  color: var(--hf-blue);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--hf-gray-300);
  transition: background .15s, color .15s;
}
.article-tag-chip:hover { background: var(--hf-blue); color: #fff; border-color: var(--hf-blue); }

/* Share bar */
.article-share {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding: 18px;
  background: var(--hf-gray-50);
  border-radius: 10px;
}
.article-share-label { font-size: 13px; font-weight: 700; color: var(--hf-muted); margin-right: 4px; }
.share-buttons { display: flex; gap: 10px; }
.share-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff;
  transition: transform .2s, opacity .2s;
}
.share-btn:hover { transform: scale(1.1); color: #fff; }
.share-facebook { background: #1877f2; }
.share-twitter  { background: #000; }
.share-whatsapp { background: #25d366; }
.share-copy     { background: var(--hf-blue); }

/* Author box */
.author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--hf-gray-50);
  border: 1px solid var(--hf-gray-100);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 40px;
}
.author-avatar {
  width: 56px; height: 56px;
  background: var(--hf-blue);
  color: var(--hf-yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.author-label { display: block; font-size: 11px; font-weight: 700; color: var(--hf-muted); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 2px; }
.author-name  { font-size: 1rem; font-weight: 800; color: var(--hf-blue); margin: 0 0 6px; }
.author-bio   { font-size: .875rem; color: var(--hf-muted); margin: 0; }

/* Related articles */
.related-articles { margin-bottom: 36px; }
.related-title { font-size: 1.2rem; font-weight: 800; color: var(--hf-blue); margin: 0 0 20px; padding-bottom: 12px; border-bottom: 2px solid var(--hf-yellow); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { border-radius: 10px; overflow: hidden; background: var(--hf-white); border: 1px solid var(--hf-gray-100); box-shadow: var(--hf-shadow-sm); transition: transform .2s; }
.related-card:hover { transform: translateY(-3px); }
.related-card-img { width: 100%; height: 110px; object-fit: cover; display: block; }
.related-card-placeholder { height: 110px; background: var(--hf-gray-100); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--hf-gray-300); }
.related-card-body { padding: 12px; }
.related-card-tag { display: inline-block; background: var(--hf-yellow); color: var(--hf-blue); font-size: 9px; font-weight: 800; letter-spacing: .8px; padding: 2px 7px; border-radius: 3px; margin-bottom: 6px; }
.related-card-title { font-size: .82rem; font-weight: 700; color: var(--hf-text); margin: 0 0 5px; line-height: 1.4; }
.related-card-date  { font-size: .75rem; color: var(--hf-muted); }

/* Back link */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--hf-blue); border-bottom: 1.5px solid var(--hf-blue); padding-bottom: 2px; transition: color .15s; }
.back-link:hover { color: var(--hf-yellow-dark); border-color: var(--hf-yellow-dark); }

/* ================================================================
   DOWNLOADS PAGE
   ================================================================ */

/* Featured downloads */
.featured-downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.featured-download-card {
  display: flex;
  align-items: flex-start;
  gap: 0;
  background: var(--hf-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--hf-shadow-sm);
  border: 1.5px solid var(--hf-gray-100);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.featured-download-card:hover { transform: translateY(-4px); box-shadow: var(--hf-shadow-md); }
.fdc-icon-wrap {
  flex-shrink: 0;
  width: 72px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  align-self: stretch;
}
.fdc-pdf   { background: #fee2e2; color: #dc2626; }
.fdc-docx  { background: #dbeafe; color: #2563eb; }
.fdc-jpg   { background: #dcfce7; color: #16a34a; }
.fdc-mp3   { background: #ede9fe; color: #7c3aed; }
.fdc-xlsx  { background: #d1fae5; color: #059669; }
.fdc-body  { flex: 1; padding: 16px 14px; min-width: 0; }
.fdc-category { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--hf-muted); margin-bottom: 4px; }
.fdc-name  { font-size: .95rem; font-weight: 700; color: var(--hf-blue); margin: 0 0 6px; line-height: 1.35; }
.fdc-desc  { font-size: .8rem; color: var(--hf-muted); margin: 0 0 10px; line-height: 1.5; }
.fdc-footer { display: flex; align-items: center; gap: 10px; }
.fdc-badge {
  font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .5px;
}
.fdc-badge-pdf  { background: #fee2e2; color: #dc2626; }
.fdc-badge-docx { background: #dbeafe; color: #2563eb; }
.fdc-badge-jpg  { background: #dcfce7; color: #16a34a; }
.fdc-badge-mp3  { background: #ede9fe; color: #7c3aed; }
.fdc-badge-xlsx { background: #d1fae5; color: #059669; }
.fdc-size { font-size: 11.5px; color: var(--hf-muted); }
.fdc-download-btn {
  flex-shrink: 0;
  width: 44px;
  background: var(--hf-blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  align-self: stretch;
  transition: background .15s;
}
.featured-download-card:hover .fdc-download-btn { background: var(--hf-yellow); color: var(--hf-blue); }

/* Results count */
.results-count { font-size: 13.5px; color: var(--hf-muted); margin-bottom: 18px; }
.results-count strong { color: var(--hf-text); }

/* Download list rows */
.download-list { display: flex; flex-direction: column; gap: 0; }
.download-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: var(--hf-white);
  border: 1px solid var(--hf-gray-100);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: box-shadow .2s, transform .2s;
}
.download-row:hover { box-shadow: var(--hf-shadow-sm); transform: translateX(4px); }
.dl-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.dl-pdf   { background: #fee2e2; color: #dc2626; }
.dl-docx  { background: #dbeafe; color: #2563eb; }
.dl-jpg   { background: #dcfce7; color: #16a34a; }
.dl-mp3   { background: #ede9fe; color: #7c3aed; }
.dl-xlsx  { background: #d1fae5; color: #059669; }
.dl-info  { flex: 1; min-width: 0; }
.dl-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.dl-name  { font-size: 1rem; font-weight: 700; color: var(--hf-blue); margin: 0; }
.dl-badge {
  font-size: 10px; font-weight: 800;
  padding: 2px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .5px;
}
.dl-badge-pdf  { background: #fee2e2; color: #dc2626; }
.dl-badge-docx { background: #dbeafe; color: #2563eb; }
.dl-badge-jpg  { background: #dcfce7; color: #16a34a; }
.dl-badge-mp3  { background: #ede9fe; color: #7c3aed; }
.dl-badge-xlsx { background: #d1fae5; color: #059669; }
.dl-desc  { font-size: .875rem; color: var(--hf-muted); margin: 0 0 8px; line-height: 1.5; }
.dl-meta  { display: flex; gap: 18px; font-size: .8rem; color: var(--hf-muted); flex-wrap: wrap; }
.dl-actions { flex-shrink: 0; }
.dl-btn-download {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--hf-blue);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s;
  white-space: nowrap;
}
.dl-btn-download:hover { background: var(--hf-blue-light); color: #fff; }

/* Type filter list (sidebar) */
.type-filter-list { display: flex; flex-direction: column; gap: 4px; }
.type-filter-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--hf-text);
  font-weight: 500;
  transition: background .15s;
  cursor: default;
}
.type-filter-item:hover { background: var(--hf-gray-50); }
.type-filter-item i { font-size: 18px; width: 22px; text-align: center; flex-shrink: 0; }

/* Sidebar info box */
.sidebar-info-box { background: var(--hf-gray-50) !important; border: 1.5px solid var(--hf-gray-100) !important; text-align: center; }
.sidebar-info-box h4 { color: var(--hf-blue); font-size: 1rem; margin-bottom: 8px; }
.sidebar-info-box p  { font-size: 13px; color: var(--hf-muted); margin-bottom: 16px; }
.info-box-icon {
  width: 46px; height: 46px;
  background: var(--hf-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--hf-yellow);
  margin: 0 auto 14px;
}

/* Shared button helper */
.btn-sm-block { display: block; text-align: center; padding: 10px 20px; }

/* ================================================================
   RESPONSIVE  (news / downloads)
   ================================================================ */
@media (max-width: 1024px) {
  .content-with-sidebar { grid-template-columns: 1fr; }
  .news-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  .related-grid  { grid-template-columns: 1fr; }
  .news-sidebar  { grid-template-columns: 1fr; }
  .download-row  { flex-direction: column; align-items: flex-start; }
  .dl-actions    { width: 100%; }
  .dl-btn-download { width: 100%; justify-content: center; }
  .article-header-meta { gap: 12px; font-size: 12.5px; }
}
@media (max-width: 600px) {
  .featured-downloads-grid { grid-template-columns: 1fr; }
  .filter-tabs { gap: 6px; }
  .filter-tab  { padding: 7px 14px; font-size: 12px; }
}
