/* Header styling */
.gh-head,
.gh-head-inner,
.site-header {
  background-color: #f8f1e7 !important;
  position: relative;
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  z-index: 10;
}

.gh-head {
  padding: 0 !important;
}

.gh-head-inner {
  padding: 2rem 1.2rem !important;
  margin: 0 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: relative !important;
}

.gh-head-brand {
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 999 !important;
}

.gh-head-brand-wrapper {
  flex: 0 1 auto !important;
  padding-top: 0.4rem !important;
}

.gh-head-menu {
  position: relative !important;
  z-index: 998 !important;
}

.gh-head-actions {
  margin: 0 !important;
  padding: 0 !important;
}

/* Latest post title and excerpt sizes */
.gh-latest .gh-card-title,
.gh-latest .gh-article-title {
  font-size: 2rem !important;
}

.gh-latest .gh-card-excerpt,
.gh-latest .gh-article-excerpt {
  font-size: 1.6rem !important;
  line-height: 1.5 !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  text-overflow: unset !important;
  white-space: normal !important;
}

/* Latest section meta styling */
.gh-latest .gh-card-meta {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.gh-latest .gh-card-meta .gh-card-tag {
  margin-left: -6px !important;
}

.gh-latest .gh-card-meta .gh-card-tag::before {
  display: none !important;
}

/* More posts section font sizes */
.gh-feed .gh-card-title {
  font-size: 2rem !important;
}

.gh-feed .gh-card-excerpt {
  font-size: 1.6rem !important;
  line-height: 1.5 !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  text-overflow: unset !important;
  white-space: normal !important;
}

/* Static pages heading size */
.gh-article-title {
  font-size: 2.5rem !important;
}

/* Homepage layout and spacing */
.gh-main.gh-outer {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Full-width intro section */
.intro-section {
  width: 100% !important;
  background-color: #f8f1e7 !important;
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 14.3rem 2rem 16.8rem 2rem !important;
  padding-top: 14.3rem !important;
  max-width: none !important;
  text-align: center !important;
}

/* Content after intro section */
.gh-inner {
  max-width: var(--container-width) !important;
  margin: 0 auto !important;
  padding: 0 var(--gap) !important;
}

/* Restore spacing after intro section */
.gh-latest {
  margin-top: 6rem !important;
  margin-bottom: 8rem !important;
}

/* Intro subtext styling */
.intro-subtext {
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  text-align: center;
  margin-top: 2rem;
}

/* Ensure all intro text is centered */
.intro-section h1 {
  text-align: center !important;
}

body .intro-section .highlight {
  color: #5a668f !important;
}

/* Set body background */
body {
  background-color: #ffffff !important;
}

/* Desktop search icon */
.gh-head-search-desktop {
  display: flex !important;
  align-items: center !important;
  margin-left: 1.5rem !important;
}

/* Mobile-specific styles */
@media screen and (max-width: 767px) {
  /* Hide desktop search on mobile */
  .gh-head-search-desktop {
    display: none !important;
  }

  /* Debug outlines to identify container issues */
  #gh-head.is-open,
  #gh-head.is-open > *,
  #gh-head.is-open .gh-head-inner,
  #gh-head.is-open .gh-head-menu,
  #gh-head.is-open .gh-head-actions,
  #gh-head.is-open .gh-head-members,
  #gh-head.is-open .nav {
    outline: 1px solid red !important;
  }

  /* Reset any inherited layout constraints */
  body.is-head-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Mobile menu container */
  body.is-head-open #gh-head {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background-color: #f8f1e7 !important;
  }

  /* Menu content wrapper */
  body.is-head-open #gh-head .gh-head-inner {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Menu and actions container */
  body.is-head-open #gh-head .gh-head-menu,
  body.is-head-open #gh-head .gh-head-actions {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Navigation list */
  body.is-head-open #gh-head .nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 1.75em !important;
  }

  /* Menu items */
  body.is-head-open #gh-head .nav li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /* Menu links */
  body.is-head-open #gh-head .nav a,
  body.is-head-open #gh-head .gh-head-members a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #000000 !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    position: static !important;
    left: auto !important;
  }

  /* Members section */
  body.is-head-open #gh-head .gh-head-members {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 1.75em auto 0 !important;
    padding: 0 !important;
    gap: 1.75em !important;
  }

  /* Brand/logo container */
  body.is-head-open #gh-head .gh-head-brand {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 2rem !important;
    background-color: #f8f1e7 !important;
    z-index: 9999 !important;
  }

  /* Remove all transforms */
  body.is-head-open #gh-head *:not(.gh-head-brand):not(.gh-burger),
  body.is-head-open #gh-head .gh-head-members,
  body.is-head-open #gh-head .gh-head-members a {
    transform: none !important;
    transition: none !important;
  }

  /* Ensure menu is vertically centered */
  body.is-head-open #gh-head .gh-head-actions {
    margin-top: 64px !important; /* Account for header height */
  }

  /* Remove any absolute positioning that might interfere */
  body.is-head-open #gh-head .gh-head-inner,
  body.is-head-open #gh-head .gh-head-menu,
  body.is-head-open #gh-head .gh-head-actions,
  body.is-head-open #gh-head .gh-head-members {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  /* Ensure links are centered */
  body.is-head-open #gh-head .nav a,
  body.is-head-open #gh-head .gh-head-members a {
    position: static !important;
    left: auto !important;
    transform: none !important;
    text-align: center !important;
  }

  /* Logo size reduction and positioning */
  #gh-head .gh-head-brand {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 2rem !important;
    background-color: #f8f1e7 !important;
    z-index: 9999 !important;
    transform: none !important;
  }

  #gh-head .gh-head-brand-wrapper {
    flex: 0 1 auto !important;
  }

  #gh-head .gh-head-brand img {
    width: 93% !important;
    height: auto !important;
  }

  /* Mobile navigation controls */
  #gh-head .gh-head-mobile-nav {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    flex: 0 0 auto !important;
    z-index: 9999 !important;
  }

  /* Search icon styling */
  #gh-head .gh-head-search {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
  }

  #gh-head .gh-head-search .gh-search {
    padding: 0 !important;
    background: none !important;
    border: none !important;
  }

  #gh-head .gh-head-search svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Navigation menu - Force center alignment */
  #gh-head.is-open {
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8f1e7 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Force all menu items into a single column with consistent spacing */
  #gh-head.is-open .gh-head-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #f8f1e7 !important;
    position: relative !important;
    top: -4rem !important;
  }

  /* Create a single container for all menu items */
  #gh-head.is-open .gh-head-menu,
  #gh-head.is-open .gh-head-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #f8f1e7 !important;
  }

  /* Force all navigation items into a single column */
  #gh-head .gh-head-menu .nav,
  #gh-head .gh-head-actions .nav,
  #gh-head .gh-head-members {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    background-color: #f8f1e7 !important;
  }

  /* Style all menu items consistently */
  #gh-head .gh-head-menu .nav li,
  #gh-head .gh-head-actions .nav li,
  #gh-head .gh-head-members li,
  #gh-head .gh-head-members a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #f8f1e7 !important;
    text-align: center !important;
  }

  /* Force all links to be centered with reduced spacing */
  #gh-head .nav a,
  #gh-head .nav .gh-head-link,
  #gh-head .nav .gh-head-btn,
  #gh-head .nav .gh-btn,
  #gh-head .nav .gh-primary-btn,
  #gh-head .gh-head-menu .nav a,
  #gh-head .gh-head-actions .nav a,
  #gh-head .gh-head-menu .nav .gh-head-link,
  #gh-head .gh-head-actions .nav .gh-head-link,
  #gh-head .gh-head-menu .nav .gh-head-btn,
  #gh-head .gh-head-actions .nav .gh-head-btn,
  #gh-head .gh-head-menu .nav .gh-btn,
  #gh-head .gh-head-actions .nav .gh-btn,
  #gh-head .gh-head-menu .nav .gh-primary-btn,
  #gh-head .gh-head-actions .nav .gh-primary-btn,
  #gh-head .gh-head-members a,
  #gh-head .gh-head-members .gh-head-link,
  #gh-head .gh-head-members .gh-head-btn,
  #gh-head .gh-head-members .gh-btn,
  #gh-head .gh-head-members .gh-primary-btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 200px !important;
    padding: 0.875em 0 !important;
    margin: 0 auto !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    text-transform: none !important;
    text-align: center !important;
    border: none !important;
    background: none !important;
    color: #000000 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    opacity: 1 !important;
  }

  /* Special spacing for the last three items */
  #gh-head .gh-head-members {
    margin-top: -0.875em !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Remove any transforms that might interfere */
  #gh-head.is-open *,
  #gh-head .gh-head-menu *,
  #gh-head .gh-head-actions *,
  #gh-head .gh-head-members * {
    transform: none !important;
    position: static !important;
  }

  /* Only apply the centering transform to the links themselves */
  #gh-head .nav a,
  #gh-head .gh-head-members a {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* Aggressive removal of white lines/boxes */
  #gh-head.is-open,
  #gh-head.is-open *,
  #gh-head .gh-head-menu,
  #gh-head .gh-head-menu *,
  #gh-head .gh-head-actions,
  #gh-head .gh-head-actions *,
  #gh-head .gh-head-members,
  #gh-head .gh-head-members *,
  #gh-head .gh-mobilemenu,
  #gh-head .gh-mobilemenu *,
  #gh-head .menu-overlay,
  #gh-head .menu-overlay *,
  #gh-head .menu-popup,
  #gh-head .menu-popup * {
    background: #f8f1e7 !important;
    background-color: #f8f1e7 !important;
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    outline: none !important;
  }

  /* Remove all pseudo-elements that might create white lines */
  #gh-head.is-open *::before,
  #gh-head.is-open *::after,
  #gh-head .gh-head-menu *::before,
  #gh-head .gh-head-menu *::after,
  #gh-head .gh-head-actions *::before,
  #gh-head .gh-head-actions *::after,
  #gh-head .gh-head-members *::before,
  #gh-head .gh-head-members *::after,
  #gh-head .gh-mobilemenu *::before,
  #gh-head .gh-mobilemenu *::after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Override any absolute positioning */
  #gh-head.is-open .gh-head-inner,
  #gh-head.is-open .gh-head-menu,
  #gh-head.is-open .gh-head-actions,
  #gh-head .gh-head-members {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  /* Menu button */
  #gh-head .gh-burger {
    margin: 0 !important;
    padding: 0 !important;
    z-index: 9999 !important;
  }

  /* Hide any duplicate search icons in the menu */
  #gh-head .gh-head-menu .gh-head-search,
  #gh-head .gh-head-actions .gh-head-search {
    display: none !important;
  }

  /* Remove any white backgrounds, borders, or underlines */
  #gh-head.is-open *,
  #gh-head .gh-head-menu *,
  #gh-head .gh-head-actions *,
  #gh-head .gh-mobilemenu *,
  #gh-head .menu-overlay *,
  #gh-head .menu-popup *,
  #gh-head .gh-head-members *,
  #gh-head .gh-head-members {
    background-color: #f8f1e7 !important;
    border: none !important;
    border-bottom: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    position: relative !important;
  }

  /* Override any text transforms to ensure sentence case */
  #gh-head .gh-head-menu .nav *,
  #gh-head .gh-head-actions .nav *,
  #gh-head .gh-head-link,
  #gh-head .gh-head-btn,
  #gh-head .gh-head-members * {
    text-transform: none !important;
  }

  /* Additional overrides for stubborn styles */
  #gh-head .gh-head-menu .nav a::after,
  #gh-head .gh-head-actions .nav a::after,
  #gh-head .gh-head-menu .nav .gh-head-link::after,
  #gh-head .gh-head-actions .nav .gh-head-link::after,
  #gh-head .gh-head-members a::after,
  #gh-head .gh-head-members .gh-head-link::after,
  #gh-head .gh-head-members::before,
  #gh-head .gh-head-members::after,
  #gh-head .gh-head-btn::before,
  #gh-head .gh-head-btn::after,
  #gh-head .gh-btn::before,
  #gh-head .gh-btn::after,
  #gh-head .gh-primary-btn::before,
  #gh-head .gh-primary-btn::after {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    position: static !important;
  }

  #gh-head .gh-latest {
    margin-top: 3rem !important;
    margin-bottom: 6rem !important;
  }

  /* Force center alignment */
  #gh-head.is-open .gh-head-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  #gh-head .gh-head-members {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    background: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* About section customization */
.gh-about-icon {
  width: 48px !important;  /* 75% of original 64px */
  height: 48px !important;
  margin-right: 2rem !important;
}

.gh-about-title {
  font-size: 1.6rem !important;  /* Changed from 2.1rem to 16px */
}

.gh-about-description,
.gh-signup-description,
.gh-subscribe-input {
  font-size: 1.2rem !important;  /* Changed to 12px */
}

.gh-subscribe-input svg {
  width: 14px !important;  /* 70% of original size */
  height: 14px !important;
}

/* Section title updates */
.gh-section-title:contains("More issues") {
  content: "More posts" !important;
}

.gh-section-title:contains("Topics") {
  content: "Currents" !important;
}

/* Featured section customization */
.gh-featured .gh-card-title {
  font-size: 1.4rem !important;  /* Changed to 14px */
}

.gh-featured .gh-card-excerpt {
  font-size: 1.4rem !important;  /* Changed to 14px */
}

/* Subscribe input text size */
.gh-subscribe-input-text {
  font-size: 1.02rem !important;  /* 85% of current 1.2rem size */
}

/* Subscribe button text size */
.gh-subscribe-input-btn {
  font-size: 1.02rem !important;  /* 85% of current size */
}

/* Post navigation styles */
.gh-navigation-label {
  font-size: 1.2rem !important;  /* 12px */
}

.gh-navigation-title {
  font-size: 1.2rem !important;  /* 12px */
}

/* Tag page styles */
.gh-tag-name {
  font-size: 1.5rem !important;  /* Changed to 15px */
}

.gh-tag-description {
  font-size: 1.1rem !important;  /* 11px */
}

/* Tag page post list styles */
.tag-template .gh-card-title {
  font-size: 2rem !important;
}

.tag-template .gh-card-excerpt {
  font-size: 1.6rem !important;
  line-height: 1.5 !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  text-overflow: unset !important;
  white-space: normal !important;
}

/* Global excerpt styles to ensure full display */
.gh-card-excerpt {
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  text-overflow: unset !important;
  white-space: normal !important;
}

/* Search button styles */
.gh-head-search .gh-search {
  padding: 0 !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: inherit !important;
}

.gh-head-search .gh-search:hover {
  opacity: 0.8 !important;
}

/* Topic name and count sizes */
.gh-topic-name {
  font-size: 1.5rem !important;
}

.gh-topic-count {
  font-size: 1.2rem !important;
}

/* Card tag link color */
.gh-card-meta .gh-card-tag {
  color: #5a668f !important;
  text-decoration: none !important;
}

.gh-card-meta .gh-card-tag:hover {
  opacity: 0.8 !important;
}

/* Footer styles */
.gh-foot {
  background-color: #5a668f !important;
  color: #ffffff !important;
  padding: 6rem 0 3rem !important;
  margin-top: 9rem !important;
}

.gh-foot-inner {
  max-width: var(--container-width) !important;
  margin: 0 auto !important;
  padding: 0 var(--gap) !important;
  display: flex !important;
  flex-direction: column !important;
}

.gh-foot-content {
  flex: 1 !important;
  padding: 0 !important;
}

.gh-foot-columns {
  display: flex !important;
  justify-content: space-between !important;
  gap: 4rem !important;
  width: 100% !important;
}

.gh-foot-left {
  flex: 1 1 35% !important;
  min-width: 0 !important;
  padding-left: 0 !important;  /* Ensure no left padding */
}

.gh-foot-left .gh-foot-description {
  font-style: italic !important;
}

.gh-foot-center {
  flex: 1 1 35% !important;
  min-width: 0 !important;
}

.gh-foot-right {
  flex: 0 1 20% !important;
  min-width: 200px !important;
}

.gh-foot-title {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 1.5rem !important;
}

.gh-foot-description {
  font-size: 1.4rem !important;
  line-height: 1.7 !important;
  margin-bottom: 2rem !important;
  width: 280px !important;
  display: block !important;
  word-wrap: break-word !important;
  white-space: normal !important;
}

.gh-foot-logo {
  margin-bottom: 2rem !important;
}

.gh-foot-logo img {
  max-width: 120px !important;
  height: auto !important;
  filter: brightness(0) invert(1) !important;
}

.gh-foot-input {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  padding: 0 2rem !important;
  background-color: #ffffff !important;
  border-radius: 4px !important;
  text-decoration: none !important;
}

.gh-foot-input-btn {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: #5a668f !important;
  text-transform: none !important;
}

.gh-foot-social {
  display: flex !important;
  gap: 2rem !important;
  padding-left: 0 !important;
}

.gh-foot-youtube {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.2s ease !important;
}

.gh-foot-youtube:hover {
  opacity: 0.8 !important;
}

.gh-foot-youtube svg {
  width: 32px !important;
  height: 32px !important;
}

.gh-foot-bottom {
  width: 100% !important;
  margin-top: auto !important;
  max-width: var(--container-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.gh-foot-meta {
  position: relative !important;
  padding: 2rem 0 0 !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
  margin: 2rem 0 0 !important;
}

.gh-copyright {
  font-size: 1rem !important;
  color: #d9d9d9 !important;
  text-align: left !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Footer link styles */
.gh-foot-meta {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

.gh-foot-links {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

.gh-foot-link {
  font-size: 1rem !important;
  color: #d9d9d9 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.gh-foot-link:hover {
  color: #ffffff !important;
}

.gh-foot-divider {
  color: #d9d9d9 !important;
  font-size: 1rem !important;
}

/* Hide Sign up and Powered by Ghost */
.gh-foot-menu,
.gh-powered-by {
  display: none !important;
}

@media (max-width: 991px) {
  .gh-foot-columns {
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .gh-foot-left,
  .gh-foot-center,
  .gh-foot-right {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Add extra space after the subscribe section */
  .gh-foot-center {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 767px) {
  .gh-foot {
    padding: 4rem 0 2rem !important;
    margin-top: 6rem !important;
  }

  .gh-foot-description {
    width: 100% !important;
    max-width: 280px !important;
  }

  .gh-foot-left,
  .gh-foot-center,
  .gh-foot-right {
    text-align: left !important;
  }

  .gh-foot-center .gh-foot-title,
  .gh-foot-right .gh-foot-title {
    text-align: left !important;
  }

  .gh-foot-center .gh-foot-description,
  .gh-foot-right .gh-foot-description {
    text-align: left !important;
  }

  .gh-foot-meta {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.1rem !important;
  }

  .gh-copyright {
    text-align: center !important;
  }

  .gh-foot-links {
    justify-content: center !important;
    width: 100% !important;
  }

  .gh-foot-subscribe {
    text-align: left !important;
  }
}

/* Desktop-specific navigation adjustments */
@media (min-width: 768px) {
  .gh-head-members .gh-head-btn {
    margin-left: 0.8rem !important;
    margin-right: -1em !important;
  }
  
  .gh-head-search-desktop {
    padding-top: 0.4rem !important;
  }
} 