/* Migrated from footer.php style block 1 */
/* ══════════════════════════════════════════════════════
   HOSTGURU FOOTER — GoDaddy-style
   Nav columns top · Brand/contact/social bottom bar
   ══════════════════════════════════════════════════════ */

.hgf {
  background: #07101f;
  border-top: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #8b95aa;
  font-size: 14px;
}

.hgf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Nav section ───────────────────────────────────────── */
.hgf-nav { padding: 48px 0 40px; }
.hgf-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 48px;
}
.hgf-heading {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.4 !important;
}
.hgf-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hgf-col ul li { margin-bottom: 11px; }
.hgf-col ul li a {
  font-size: 14px;
  color: #8b95aa;
  text-decoration: none;
  transition: color .15s;
  line-height: 1.4;
}
.hgf-col ul li a:hover { color: #f57200; }

/* ── Bottom bar ────────────────────────────────────────── */
.hgf-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
}
.hgf-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* Logo side */
.hgf-bottom-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.hgf-bottom-brand img { display: block; }
.hgf-tagline {
  font-size: 13px;
  color: #4e5a70;
  white-space: nowrap;
}

/* Contact */
.hgf-bottom-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hgf-bottom-contact a {
  font-size: 13.5px;
  color: #8b95aa;
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}
.hgf-bottom-contact a:hover { color: #fff; }

/* Social + buttons */
.hgf-bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.hgf-bottom-social {
  display: flex;
  align-items: center;
  gap: 4px;
}
.hgf-bottom-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 50%;
  color: #8b95aa;
  transition: background .15s, color .15s;
  box-sizing: content-box;
  padding: 0;
  line-height: 1;
}
.hgf-bottom-social a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.hgf-bottom-btns { display: flex; gap: 8px; }
.hgf-bbtn {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: #c5ccd8 !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.14);
  background: transparent;
  transition: border-color .15s, color .15s;
  white-space: nowrap;
}
.hgf-bbtn:hover { border-color: rgba(255,255,255,.35); color: #fff !important; }
.hgf-bbtn-primary {
  background: #f57200 !important;
  border-color: #f57200 !important;
  color: #fff !important;
}
.hgf-bbtn-primary:hover { background: #d96400 !important; border-color: #d96400 !important; }

/* ── Copyright bar ─────────────────────────────────────── */
.hgf-copy {
  background: #040b14;
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 11px 0;
}
.hgf-copy-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #3a4459;
}
.hgf-copy-links { display: flex; gap: 18px; }
.hgf-copy-links a {
  color: #3a4459;
  text-decoration: none;
  transition: color .15s;
}
.hgf-copy-links a:hover { color: #f57200; }

/* ── Accordion heading (shared styles — works as <button> on mobile, visual-only on desktop) */
.hgf-heading {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.4 !important;
  /* Reset button styles */
  background: none;
  border: none;
  cursor: default;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hgf-chev {
  display: none; /* hidden on desktop */
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  color: #4e5a70;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .hgf-cols { grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
  .hgf-nav { padding: 36px 0 32px; }
}
@media (max-width: 640px) {
  .hgf-container { padding: 0 20px; }
  .hgf-bottom-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hgf-bottom-brand { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hgf-tagline { display: none; }
  .hgf-bottom-right { width: 100%; justify-content: space-between; }

  /* Accordion layout */
  .hgf-cols { grid-template-columns: 1fr; gap: 0; }
  .hgf-nav { padding: 0; }

  .hgf-col {
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .hgf-col:first-child { border-top: 1px solid rgba(255,255,255,.07); }

  .hgf-heading {
    margin: 0 !important;
    padding: 16px 20px !important;
    cursor: pointer;
  }
  .hgf-chev { display: block; }
  .hgf-heading[aria-expanded="true"] .hgf-chev { transform: rotate(180deg); }
  .hgf-heading[aria-expanded="true"] { color: #f57200 !important; }

  /* List hidden by default on mobile */
  .hgf-col ul {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s cubic-bezier(.4,0,.2,1), padding .3s;
    padding: 0 20px;
  }
  .hgf-col ul.open {
    max-height: 600px; /* large enough for any list */
    padding: 0 20px 16px;
  }
}
@media (max-width: 480px) {
  .hgf-copy-inner { flex-direction: column; align-items: center; text-align: center; }
  .hgf-copy-links { justify-content: center; }
}

/* ══════════════════════════════════════════════════════
   LATEST BLOG ARTICLES — white background section
   ══════════════════════════════════════════════════════ */
.hgf-blog {
  background: #ffffff;
  padding: 64px 0 72px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.hgf-blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.hgf-blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}
.hgf-blog-title {
  font-size: 26px;
  font-weight: 700;
  color: #0d1526;
  margin: 0;
  letter-spacing: -0.3px;
}
.hgf-blog-viewall {
  font-size: 14px;
  font-weight: 600;
  color: #f57200;
  text-decoration: none;
  transition: color .15s;
}
.hgf-blog-viewall:hover { color: #d96400; }

/* Grid */
.hgf-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.hgf-blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hgf-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.10);
}

/* Thumbnail */
.hgf-blog-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0f3f8;
  flex-shrink: 0;
}
.hgf-blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.hgf-blog-card:hover .hgf-blog-img { transform: scale(1.04); }
.hgf-blog-noimg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8ecf2 0%, #d0d8e8 100%);
}
.hgf-blog-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #f57200;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 4px;
}

/* Card body */
.hgf-blog-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 24px;
  flex: 1;
}
.hgf-blog-heading {
  font-size: 16px;
  font-weight: 700;
  color: #0d1526;
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.1px;
}
.hgf-blog-card:hover .hgf-blog-heading { color: #f57200; }
.hgf-blog-excerpt {
  font-size: 13.5px;
  color: #6b7685;
  margin: 0;
  line-height: 1.6;
  flex: 1;
}
.hgf-blog-date {
  font-size: 12px;
  color: #a0aab8;
  font-weight: 500;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 960px) {
  .hgf-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hgf-blog { padding: 48px 0 56px; }
}
@media (max-width: 640px) {
  .hgf-blog-grid { grid-template-columns: 1fr; }
  .hgf-blog-container { padding: 0 20px; }
  .hgf-blog-title { font-size: 22px; }
  .hgf-blog { padding: 40px 0 48px; }
}
