/**
 * Global Fixes CSS - December 2024
 *
 * Addresses:
 * 0. Logo overlap fix, coral bar text color, hero button colors
 * 1. FAQ collapsible icons - consistent chevron across site
 * 2. "Send your documents" button - centered with clear borders
 * 3. Hero images with dark gradient on desktop
 * 4. No hero images on mobile except homepage
 * 5. Gray on white contrast fixes
 */

/* ============================================
   0. CRITICAL UI FIXES
   Logo overlap, coral bar, hero buttons
   ============================================ */

/* Fix logo overlapping menu items */
.header-desktop .site-logo,
.header-nav .site-logo,
.exodus-header .site-logo {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  max-width: 180px;
}

.header-desktop .header-nav,
.exodus-header .header-nav {
  margin-left: auto;
  flex-shrink: 1;
}

/* Ensure nav items don't get overlapped */
.header-nav .nav-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

/* Top coral bar - text MUST be white */
.header-announcement,
.header-announcement * {
  color: #ffffff !important;
}

.header-announcement .announcement-label,
.header-announcement .announcement-btn,
.header-announcement .announcement-cta {
  color: #ffffff !important;
}

/* Exception for call button which has coral text on white background */
.header-announcement .announcement-btn--call {
  color: var(--accent-color, #FF1654) !important;
  background: #ffffff !important;
}

/* Homepage hero buttons - text MUST be white */
.hero-cta.exodus-cta,
.exodus-hero .hero-cta {
  color: #ffffff !important;
}

.hero-cta-secondary,
.exodus-hero .hero-cta-secondary {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ============================================
   1. FAQ CONSISTENT COLLAPSIBLE ICONS
   Using chevron icon with smooth rotation
   ============================================ */

/* Universal FAQ styling for all pages */
.faq-item,
.faq-list details,
details.faq-item {
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  background: var(--surface-base, #ffffff);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover,
.faq-list details:hover {
  border-color: var(--accent-color, #FF1654);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Question/Summary styling */
.faq-question,
.faq-item summary,
details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading, #0E2B48);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  transition: background-color 0.2s ease;
}

.faq-question:hover,
.faq-item summary:hover {
  background: rgba(14, 43, 72, 0.02);
}

/* Remove default marker */
.faq-item summary::-webkit-details-marker,
details.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker,
details.faq-item summary::marker {
  display: none;
  content: '';
}

/* Chevron icon - consistent across all FAQs */
.faq-question::after,
.faq-item summary::after,
details.faq-item summary::after,
.faq-item .faq-question i,
.faq-list .faq-question i {
  content: '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border: 2px solid var(--accent-color, #FF1654);
  border-radius: 50%;
  background: transparent;
  transition: transform 0.25s ease, background-color 0.25s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FF1654' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* Hide Font Awesome icons in FAQ questions */
.faq-question i.fas,
.faq-question i.fa,
.faq-question i.fab {
  display: none !important;
}

/* Open state - rotate chevron */
.faq-item.is-open .faq-question::after,
.faq-item[open] summary::after,
details.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-color: var(--accent-color, #FF1654);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* Answer styling */
.faq-answer,
.faq-item .faq-answer {
  padding: 0 1.5rem 1.25rem;
  line-height: 1.75;
  color: var(--text-body, #2d3748);
}

.faq-answer p {
  margin: 0 0 0.75rem;
  color: var(--text-body, #2d3748);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ============================================
   2. SEND YOUR DOCUMENTS BUTTON
   Centered with clear visible borders
   ============================================ */

/* Hero CTA group - center aligned */
.hero-cta-group,
.section--hero .hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Primary CTA button with clear borders */
.hero-cta-group .btn,
.hero-cta-group .btn--primary,
.hero-cta-group a.btn,
.section--hero .btn--primary,
.btn.btn--primary.btn--lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent-color, #FF1654);
  border: 3px solid var(--accent-color, #FF1654);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 22, 84, 0.35);
  transition: all 0.3s ease;
}

.hero-cta-group .btn:hover,
.hero-cta-group .btn--primary:hover,
.section--hero .btn--primary:hover {
  background: #e01346;
  border-color: #e01346;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 22, 84, 0.45);
}

/* Secondary/outline button */
.hero-cta-group .btn--outline,
.hero-cta-group a.hero-cta-secondary {
  color: #ffffff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 0.875rem 2rem;
  border-radius: 10px;
}

.hero-cta-group .btn--outline:hover,
.hero-cta-group a.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   3. HERO IMAGES WITH DARK GRADIENT - DESKTOP
   All pages should have hero images on desktop
   EXCLUDES: Homepage (.exodus-hero) - has its own styling
   ============================================ */

/* Default hero background for pages without explicit image */
/* EXCLUDE homepage exodus-hero which has its own styling */
.hero-section:not(.exodus-hero),
.page-hero,
.category-hero,
.section--hero {
  position: relative;
  overflow: hidden;
}

/* Desktop: Show hero background image */
@media (min-width: 769px) {
  /* EXCLUDE homepage exodus-hero */
  .hero-section:not(.exodus-hero)::before,
  .page-hero::before,
  .category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/onedrive/hero/office-team.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.15;
  }

  /* Dark gradient overlay - EXCLUDE homepage exodus-hero */
  .hero-section:not(.exodus-hero)::after,
  .page-hero::after,
  .category-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      135deg,
      rgba(14, 43, 72, 0.95) 0%,
      rgba(14, 43, 72, 0.9) 40%,
      rgba(26, 54, 93, 0.85) 100%
    );
    z-index: 1;
  }

  /* Content above overlays - EXCLUDE homepage exodus-hero */
  .hero-section:not(.exodus-hero) .container,
  .page-hero .container,
  .category-hero .container {
    position: relative;
    z-index: 2;
  }

  /* Pages with explicit hero backgrounds */
  .page-hero.contact-hero::before {
    background-image: url('/assets/images/onedrive/contact-dxb.png');
    opacity: 0.2;
  }

  /* Service layout hero with image */
  .section--hero.has-hero-image::before {
    display: none; /* Uses its own image */
  }

  .section--hero.has-hero-image::after {
    display: none; /* Uses its own gradient */
  }
}

/* ============================================
   4. NO HERO IMAGES ON MOBILE (except homepage)
   Homepage (.exodus-hero) uses its own styles - DO NOT OVERRIDE
   ============================================ */

@media (max-width: 768px) {
  /* Hide hero background images on mobile - EXCLUDE homepage */
  .hero-section:not(.exodus-hero)::before,
  .page-hero::before,
  .category-hero::before,
  .section--hero.has-hero-image .hero-bg-image {
    display: none !important;
  }

  /* Remove gradient overlay on mobile - EXCLUDE homepage */
  .hero-section:not(.exodus-hero)::after,
  .page-hero::after,
  .category-hero::after {
    display: none !important;
  }

  /* Keep solid background color - EXCLUDE homepage */
  .hero-section:not(.exodus-hero),
  .page-hero,
  .category-hero,
  .section--hero:not(.exodus-hero) {
    background: var(--primary-color, #0E2B48) !important;
  }
}

/* ============================================
   5. GRAY ON WHITE CONTRAST FIXES
   Improving readability across the site
   ============================================ */

/* Fix muted text contrast - minimum 4.5:1 ratio */
.text-muted,
p.text-muted,
span.text-muted,
.service-card p,
.faq-answer p,
.section-intro,
.card-desc,
.area-card p,
.authority-card p,
.feature-card p,
.benefit-card p,
.document-card p,
.pricing-card li,
.info-card p,
.info-card li,
.process-card p,
.use-case-card p {
  color: var(--text-secondary, #4a5568) !important;
}

/* Ensure body text is dark enough */
.content-prose p,
.content-main p,
article p,
.policy-content p,
.policy-content li {
  color: var(--text-body, #2d3748);
}

/* Fix light gray labels */
.pricing-time,
.pricing-unit,
.form-note,
.hero-intro,
.category-hero .hero-intro {
  color: var(--text-secondary, #4a5568);
}

/* On dark backgrounds, ensure proper contrast */
.bg-dark .text-muted,
.bg-dark p,
.bg-dark .section-intro {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Breadcrumb contrast on dark */
.breadcrumb a,
.breadcrumb-list a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb .current,
.breadcrumb-list span[aria-current] {
  color: #ffffff;
}

/* Form labels and placeholders */
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: var(--text-secondary, #4a5568);
  opacity: 1;
}

label {
  color: var(--text-heading, #0E2B48);
}

/* Table and list item contrast */
table td,
table th,
li {
  color: var(--text-body, #2d3748);
}

/* Card title contrast */
.service-card h3,
.document-card h3,
.category-card h3,
.feature-card h3,
.benefit-card h3,
.use-case-card h3,
.area-card h3,
.authority-card h3 {
  color: var(--text-heading, #0E2B48);
}

/* Links should be clearly visible */
a:not(.btn):not(.service-card):not(.document-card):not(.category-card) {
  color: var(--link-color, #0077b6);
}

a:not(.btn):not(.service-card):not(.document-card):not(.category-card):hover {
  color: var(--link-hover, #005f8a);
}

/* ============================================
   ADDITIONAL REFINEMENTS
   ============================================ */

/* Ensure accordion content is properly styled */
.ot-accordion-content p,
.ot-accordion-content li {
  color: var(--text-body, #2d3748) !important;
}

/* Fix service card description contrast */
.services-grid .service-card p,
.service-grid .service-card p {
  color: var(--text-secondary, #4a5568);
}

/* Trust metrics contrast */
.trust-label,
.ot-metric-label {
  color: var(--text-secondary, #4a5568);
}

/* Footer text contrast */
footer p,
footer li {
  color: var(--text-on-dark-muted, #c5d4e8);
}

footer a,
.footer a {
  color: var(--text-on-dark-muted, #c5d4e8);
}

footer a:hover,
.footer a:hover {
  color: var(--accent-coral, #FF1654);
}

/* ============================================
   6. DARK SECTION CONTRAST ENHANCEMENTS
   Improved contrast for bg-dark sections
   (Languages, CTA banner, Contact sections)
   ============================================ */

/* Languages section - ensure high contrast text */
.languages-section.bg-dark,
.exodus-languages {
  background: var(--surface-navy, #0E2B48);
}

.languages-section.bg-dark h2,
.languages-section.bg-dark .section-title {
  color: #ffffff;
}

.languages-section .language-item {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.languages-section .language-item i {
  color: var(--accent-gold-light, #d4a54c);
}

.languages-section .language-item.highlight {
  color: var(--accent-coral, #FF6B6B);
  font-weight: 600;
}

.languages-note {
  color: rgba(255, 255, 255, 0.85);
}

/* CTA Banner - high contrast text */
.cta-banner,
.cta-banner.bg-dark {
  background: linear-gradient(135deg, #0E2B48 0%, #072035 100%);
}

.cta-banner h2 {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner .cta-btn {
  color: #ffffff;
  background: var(--accent-coral, #FF1654);
}

/* Contact section - high contrast form and text */
.contact-section.bg-dark {
  background: var(--surface-navy-dark, #072035);
}

.contact-section.bg-dark .section-label {
  color: var(--accent-coral, #FF6B6B);
}

.contact-section.bg-dark .section-title,
.contact-section.bg-dark h2 {
  color: #ffffff;
}

.contact-section.bg-dark .contact-description,
.contact-section.bg-dark p {
  color: rgba(255, 255, 255, 0.85);
}

.contact-section.bg-dark label {
  color: rgba(255, 255, 255, 0.95);
}

.contact-section.bg-dark input,
.contact-section.bg-dark textarea {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.contact-section.bg-dark input::placeholder,
.contact-section.bg-dark textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-section.bg-dark input:focus,
.contact-section.bg-dark textarea:focus {
  border-color: var(--accent-coral, #FF6B6B);
  background: rgba(255, 255, 255, 0.15);
}

.contact-section.bg-dark .submit-btn {
  color: #ffffff;
  background: var(--accent-coral, #FF1654);
}

.contact-section.bg-dark .contact-btn {
  color: #ffffff;
}

/* Focus visible rings for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent-coral, #FF1654);
  outline-offset: 2px;
}

/* Remove default outline and use consistent focus ring */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================
   7. HEADER SCROLL TRANSITION FIX - 2025 BEST PRACTICES

   ROOT CAUSE: Using max-height/padding transitions causes
   layout recalculation (reflow) which creates visual glitches.

   FIX: Use transform-based animations for GPU acceleration.
   - Coral bar uses transform: translateY() to collapse
   - Header uses CSS custom properties for height calc
   - will-change hint applied only during transition
   ============================================ */

/* CSS Custom Properties for header height calculations */
:root {
  --header-coral-height: 38px;
  --header-main-height: 64px;
  --header-main-height-scrolled: 52px;
  --header-total-height: calc(var(--header-coral-height) + var(--header-main-height));
  --header-total-height-scrolled: var(--header-main-height-scrolled);
}

/* Nav Shell - stable container that doesn't change height */
.exodus-header .nav-shell {
  position: relative;
  overflow: hidden;
  /* GPU acceleration for smooth rendering */
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Coral Announcement Bar - TRANSFORM-BASED collapse */
.header-announcement {
  /* Remove max-height transition - use transform instead */
  max-height: none !important;
  height: var(--header-coral-height);
  overflow: visible !important;
  padding: 8px 0 !important;
  opacity: 1 !important;

  /* GPU-accelerated transform */
  transform: translateY(0);
  transform-origin: top center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease !important;

  /* Ensure it's positioned for transform */
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}

/* Coral bar HIDDEN state - slide up, don't collapse height */
.header-announcement.hidden {
  transform: translateY(-100%);
  opacity: 0 !important;
  pointer-events: none;
  /* Height stays the same - parent clips it */
  max-height: none !important;
  height: var(--header-coral-height) !important;
  padding: 8px 0 !important;
}

/* Header Main - STABLE height transitions */
.exodus-header .header-main {
  padding: 12px 0;
  transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s ease !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.exodus-header.scrolled .header-main {
  padding: 8px 0;
}

/* When coral bar is hidden, adjust nav-shell to clip properly */
.exodus-header:has(.header-announcement.hidden) .nav-shell {
  /* Negative margin pulls up content to fill gap */
  margin-top: calc(-1 * var(--header-coral-height));
  transition: margin-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fallback for browsers without :has() - use scrolled class */
.exodus-header.scrolled .nav-shell {
  margin-top: calc(-1 * var(--header-coral-height));
  transition: margin-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When NOT scrolled, reset margin */
.exodus-header:not(.scrolled) .nav-shell {
  margin-top: 0;
  transition: margin-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure header stays fixed and stable */
.header-desktop.exodus-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Prevent any layout-caused jank */
  contain: layout style;
}

/* Remove will-change when idle to free GPU memory */
.header-desktop.exodus-header:not(.transitioning) .header-announcement {
  will-change: auto;
}

/* Background transitions - use opacity layer instead of direct bg change */
.header-desktop.exodus-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 43, 72, 0.95);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  pointer-events: none;
}

.header-desktop.exodus-header.scrolled::before {
  opacity: 1;
}

/* Reduced motion - respect user preferences */
@media (prefers-reduced-motion: reduce) {
  .header-announcement,
  .header-announcement.hidden,
  .exodus-header .header-main,
  .exodus-header .nav-shell,
  .header-desktop.exodus-header::before {
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   8. FOOTER MOBILE ALIGNMENT - COMPLETE OVERHAUL

   Using maximum specificity to override component styles
   ============================================ */

/* Mobile footer - FORCE single column centered layout */
/* Breakpoint 991px matches site mobile nav breakpoint */
@media screen and (max-width: 991px) {
  /* NUCLEAR OPTION: Override everything */
  footer.footer .footer-grid,
  .footer .footer-grid,
  footer .footer-grid {
    display: block !important;
    grid-template-columns: none !important;
    text-align: center !important;
  }

  /* All direct children - stacked and centered */
  footer.footer .footer-grid > *,
  .footer .footer-grid > *,
  footer .footer-grid > * {
    display: block !important;
    width: 100% !important;
    margin-bottom: 32px !important;
    text-align: center !important;
    float: none !important;
  }

  footer.footer .footer-grid > *:last-child,
  .footer .footer-grid > *:last-child {
    margin-bottom: 0 !important;
  }

  /* Brand section - centered flex column */
  footer.footer .footer-brand,
  .footer .footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Links sections - centered */
  footer.footer .footer-links,
  footer.footer .footer-services,
  footer.footer .footer-contact,
  .footer .footer-links,
  .footer .footer-services,
  .footer .footer-contact {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Headings - centered with inline-block for proper underline */
  footer.footer .footer-links h4,
  footer.footer .footer-services h4,
  footer.footer .footer-contact h4,
  .footer .footer-links h4,
  .footer .footer-services h4,
  .footer .footer-contact h4 {
    display: inline-block !important;
    width: auto !important;
    text-align: center !important;
    position: relative !important;
  }

  /* Underline - FORCE centered */
  footer.footer .footer-links h4::after,
  footer.footer .footer-services h4::after,
  footer.footer .footer-contact h4::after,
  .footer .footer-links h4::after,
  .footer .footer-services h4::after,
  .footer .footer-contact h4::after {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }

  /* Lists - centered column */
  footer.footer .footer-links ul,
  footer.footer .footer-services ul,
  footer.footer .footer-contact ul,
  .footer .footer-links ul,
  .footer .footer-services ul,
  .footer .footer-contact ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }

  /* List items in links - centered */
  footer.footer .footer-links li,
  footer.footer .footer-services li,
  .footer .footer-links li,
  .footer .footer-services li {
    margin-bottom: 0 !important;
    text-align: center !important;
  }

  /* Contact items - inline-flex, icon + text, centered in parent */
  footer.footer .footer-contact li,
  .footer .footer-contact li {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    text-align: left !important;
    margin-bottom: 0 !important;
    width: auto !important;
  }

  /* Contact icons */
  footer.footer .footer-contact li i,
  .footer .footer-contact li i {
    flex-shrink: 0 !important;
    width: 18px !important;
    text-align: center !important;
    color: var(--accent-coral, #FF1654) !important;
    margin-top: 0 !important;
  }

  /* Social icons row */
  footer.footer .footer-social,
  .footer .footer-social {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  /* Partnership pill */
  footer.footer .footer-partnership,
  .footer .footer-partnership {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  /* Footer bottom */
  footer.footer .footer-bottom,
  .footer .footer-bottom {
    text-align: center !important;
    width: 100% !important;
    padding: 20px 16px !important;
    margin-top: 24px !important;
  }

  footer.footer .footer-bottom p,
  .footer .footer-bottom p {
    font-size: 0.8rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
  }
}

/* Extra small mobile */
@media screen and (max-width: 480px) {
  footer.footer .footer-grid > *,
  .footer .footer-grid > * {
    margin-bottom: 24px !important;
  }

  footer.footer .footer-contact li,
  .footer .footer-contact li {
    font-size: 0.9rem !important;
  }

  footer.footer .container,
  .footer .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
