/* ========================================
   Shared Footer Component Styling
   ======================================== */
.blog-page .footer {
  position: relative;
  overflow: hidden;
  padding: 76px 24px 30px;
  background:
    radial-gradient(56% 34% at 8% 8%, rgba(76, 124, 201, 0.3) 0%, rgba(76, 124, 201, 0) 80%),
    radial-gradient(48% 32% at 92% 16%, rgba(88, 142, 223, 0.24) 0%, rgba(88, 142, 223, 0) 82%),
    radial-gradient(44% 30% at 50% 104%, rgba(90, 198, 235, 0.16) 0%, rgba(90, 198, 235, 0) 84%),
    linear-gradient(180deg, #091733 0%, #08142d 52%, #070f22 100%);
  color: rgba(235, 244, 255, 0.9);
}

.blog-page .footer::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1080px, 92vw);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg,
      rgba(157, 238, 255, 0) 0%,
      rgba(157, 238, 255, 0.42) 38%,
      rgba(195, 244, 255, 0.88) 50%,
      rgba(157, 238, 255, 0.42) 62%,
      rgba(157, 238, 255, 0) 100%);
  box-shadow: 0 0 12px 2px rgba(157, 238, 255, 0.15);
}

.blog-page .footer::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -146px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 210, 241, 0.24) 0%, rgba(120, 210, 241, 0) 72%);
  pointer-events: none;
}

.blog-page .footer-container {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
}

.blog-page .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 0.86fr)) minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 20px;
  padding: 36px 38px;
  border: 1px solid rgba(170, 201, 238, 0.26);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(20, 38, 72, 0.72) 0%, rgba(13, 26, 54, 0.66) 100%);
  box-shadow:
    inset 0 1px 0 rgba(235, 246, 255, 0.18),
    inset 0 0 42px rgba(90, 198, 235, 0.06),
    0 28px 56px rgba(6, 13, 28, 0.3),
    0 6px 16px rgba(6, 13, 28, 0.26);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.blog-page .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.blog-page .footer-logo {
  width: auto;
  height: 44px;
  max-width: 188px;
}

.blog-page .footer-desc {
  margin: 0;
  color: rgba(226, 240, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.66;
  max-width: 45ch;
}

.blog-page .social-links {
  display: flex;
  gap: 10px;
}

.blog-page .social-link {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(181, 207, 240, 0.22);
  background: rgba(193, 220, 252, 0.05);
  color: rgba(231, 243, 255, 0.78);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.blog-page .social-link:hover {
  color: #fff;
  border-color: rgba(157, 238, 255, 0.95);
  background: rgba(193, 220, 252, 0.12);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 3px rgba(157, 238, 255, 0.14),
    0 10px 22px rgba(56, 106, 180, 0.36);
}

.blog-page .social-link svg {
  width: 18px;
  height: 18px;
}

.blog-page .footer-column .footer-column-title,
.blog-page .footer-column h5 {
  position: relative;
  display: inline-block;
  margin: 0 0 16px;
  padding-bottom: 10px;
  color: rgba(205, 227, 252, 0.76);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.blog-page .footer-column .footer-column-title::after,
.blog-page .footer-column h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(90, 198, 235, 0.92) 0%, rgba(90, 198, 235, 0) 100%);
}

.blog-page .footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.blog-page .footer-links a,
.blog-page .footer-links span {
  display: inline-block;
  color: rgba(229, 243, 255, 0.82);
  text-decoration: none;
  font-size: 0.83rem;
  line-height: 1.64;
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-page .footer-links a:hover {
  color: var(--whk-cyan-400);
  transform: translateX(3px);
}

.blog-page .footer-links span {
  color: rgba(218, 237, 255, 0.74);
}

.blog-page .footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(163, 233, 255, 0.45);
  background: linear-gradient(135deg, rgba(90, 198, 235, 0.2) 0%, rgba(64, 102, 210, 0.26) 100%);
  color: #eff9ff !important;
  box-shadow: 0 10px 24px rgba(18, 45, 90, 0.34);
}

.blog-page .footer-cta-link::before {
  content: '->';
  font-size: 0.82em;
  color: rgba(201, 246, 255, 0.94);
}

.blog-page .footer-cta-link:hover {
  color: #ffffff !important;
  border-color: rgba(165, 237, 255, 0.9);
  background: linear-gradient(135deg, rgba(90, 198, 235, 0.34) 0%, rgba(64, 102, 210, 0.38) 100%);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 3px rgba(165, 237, 255, 0.14),
    0 12px 26px rgba(13, 35, 74, 0.38);
}

.blog-page .footer-email-link::before {
  content: '\\2709';
  margin-right: 7px;
  color: rgba(176, 232, 252, 0.86);
}

.blog-page .footer-address {
  position: relative;
  padding-left: 16px;
}

.blog-page .footer-address::before {
  content: '\\25c9';
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(90, 198, 235, 0.96);
}

.blog-page .footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(176, 202, 235, 0.18);
  text-align: center;
  color: rgba(201, 221, 247, 0.55);
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.blog-page .footer-bottom::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: 60px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(157, 238, 255, 0), rgba(157, 238, 255, 0.7), rgba(157, 238, 255, 0));
}

.blog-page .footer-bottom p {
  margin: 0;
}

.blog-page .footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.blog-page .back-to-top {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(173, 209, 244, 0.34);
  background: rgba(187, 219, 253, 0.08);
  color: rgba(227, 242, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.blog-page .back-to-top:hover {
  transform: translateY(calc(-50% - 2px));
  color: #fff;
  border-color: rgba(157, 238, 255, 0.9);
  background: rgba(117, 211, 241, 0.2);
  box-shadow: 0 8px 20px rgba(20, 49, 92, 0.34);
}

