/* ==========================================================================
   CHIEF MAGAZINE - EDITORIAL FOOTER STYLES
   ========================================================================== */

/* Main Footer Container */
.chief-footer-wrapper {
  background-color: #ffffff;
  color: #334155;
  font-family: inherit;
  border-top: 1px solid #e2e8f0;
  width: 100%;
  box-sizing: border-box;
}

.chief-footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 24px;
  box-sizing: border-border;
}

.chief-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 1.4fr;
  gap: 32px;
  align-items: start;
}

/* Brand Column */
.chief-footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chief-footer-logo-link {
  display: inline-block;
  margin-bottom: 4px;
}

.chief-footer-logo-img {
  max-height: 48px;
  width: auto;
  display: block;
}

.chief-footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.chief-footer-tagline-wrap {
  margin-top: 4px;
}

.chief-footer-tagline {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
}

.chief-footer-tagline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: #ba0000;
}

/* Social Icons */
.chief-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.chief-footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.chief-footer-social-icon:hover {
  border-color: #ba0000;
  color: #ba0000;
  background-color: #fff5f5;
  transform: translateY(-2px);
}

.chief-footer-social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Navigation Columns */
.chief-footer-col-nav {
  display: flex;
  flex-direction: column;
}

.chief-footer-col-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
  margin: 0 0 16px 0;
  position: relative;
  padding-bottom: 8px;
}

.chief-footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: #ba0000;
}

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

.chief-footer-links-list li a {
  font-size: 14px;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-block;
}

.chief-footer-links-list li a:hover {
  color: #ba0000;
  text-decoration: underline;
}

/* Column 5: Newsletter / Community Card (Reusing Sidebar Newsletter Widget) */
.chief-footer-col-community {
  border-left: 1px solid #e2e8f0;
  padding-left: 32px;
  display: flex;
  flex-direction: column;
}

.chief-footer-col-community .chief-sidebar-newsletter {
  background: #0f172a;
  color: #ffffff;
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  box-sizing: border-box;
}

.chief-sidebar-newsletter {
  background: #0f172a;
  color: #ffffff;
  border-radius: 10px;
  padding: 28px 24px;
  margin-bottom: 28px;
  text-align: center;
  box-sizing: border-box;
}

.chief-sidebar-newsletter-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.chief-sidebar-newsletter-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 20px;
}

.chief-sidebar-newsletter-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #ffffff;
  font-size: 13px;
  margin-bottom: 10px;
  box-sizing: border-box;
  outline: none;
}

.chief-sidebar-newsletter-input:focus {
  border-color: #ba0000;
}

.chief-sidebar-newsletter-btn {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  background: #ba0000;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.chief-sidebar-newsletter-btn:hover {
  background: #990000;
}

.chief-sidebar-newsletter-note {
  font-size: 11px;
  color: #64748b;
  margin-top: 10px;
}
  box-shadow: 0 0 0 3px rgba(186, 0, 0, 0.1);
}

.chief-footer-btn-subscribe {
  height: 44px;
  padding: 0 20px;
  background-color: #ba0000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chief-footer-btn-subscribe:hover {
  background-color: #990000;
}

.chief-footer-btn-subscribe:active {
  transform: scale(0.98);
}

.chief-footer-privacy-note {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

/* ==========================================================================
   EDITORIAL BRAND STATEMENT STRIP
   ========================================================================== */
.chief-footer-editorial-strip {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 0;
  width: 100%;
}

.chief-footer-strip-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
}

.chief-footer-strip-left {
  display: flex;
  align-items: center;
  border-left: 3px solid #ba0000;
  padding-left: 14px;
}

.chief-footer-strip-tagline {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f172a;
}

.chief-footer-strip-map {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
}

.chief-footer-strip-map svg {
  max-width: 180px;
  height: auto;
}

.chief-footer-strip-right {
  text-align: right;
}

.chief-footer-strip-quote {
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  font-style: italic;
}

.chief-footer-strip-author {
  font-weight: 700;
  color: #ba0000;
  font-style: normal;
}

/* ==========================================================================
   BOTTOM COPYRIGHT BAR
   ========================================================================== */
.chief-footer-bottom {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 20px 0;
  width: 100%;
  font-size: 13px;
}

.chief-footer-bottom-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
}

.chief-footer-copyright {
  color: #94a3b8;
  margin: 0;
}

.chief-footer-bottom-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.chief-footer-bottom-nav a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.chief-footer-bottom-nav a:hover {
  color: #ffffff;
}

.chief-footer-back-to-top {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1e293b;
  border: 1px solid #334155;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
}

.chief-footer-back-to-top:hover {
  background-color: #ba0000;
  border-color: #ba0000;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .chief-footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
  }
  
  .chief-footer-col-brand {
    grid-column: span 3;
  }
  
  .chief-footer-col-community {
    grid-column: span 3;
    border-left: none;
    border-top: 1px solid #e2e8f0;
    padding-left: 0;
    padding-top: 28px;
  }

  .chief-footer-strip-container {
    flex-direction: column;
    text-align: center;
  }
  
  .chief-footer-strip-right {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .chief-footer-container {
    padding: 36px 16px;
  }

  .chief-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .chief-footer-col-brand,
  .chief-footer-col-community {
    grid-column: span 1;
  }

  .chief-footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .chief-footer-bottom-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
  }
}
