/* ============================================
   Footer Styles - Global
   ============================================ */

footer {
  color: #fff;
  font-weight: 300;
  background-color: #0075B4;
}

footer a {
  color: #FFF;
  font-weight: 300;
  transition: opacity 0.3s;
}

footer a:hover {
  opacity: 0.8;
}

footer .container {
  padding: 25px 30px 10px;
}

@media (min-width: 768px) {
  footer .container {
    padding: 60px 30px 40px;
  }
}

@media (min-width: 1024px) {
  footer .container {
    padding: 60px 30px 40px;
  }
}

@media (min-width: 1236px) {
  footer .container {
    width: 1176px;
    margin: 0 auto;
    padding: 60px 0 40px;
  }
}

/* Logo */
footer .logo-box img {
  width: 127px;
  height: auto;
}

@media (min-width: 512px) {
  footer .logo-box img {
    width: 190px;
  }
}

/* ============================================
   Desktop Footer Navigation
   ============================================ */
footer .footer-desktop {
  display: none;
}

@media (min-width: 568px) {
  footer .footer-desktop {
    display: flex;
  }
}

footer .flex-box {
  padding: 30px 0 0;
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

@media (min-width: 568px) {
  footer .flex-box {
    display: flex; 
  }
}

@media (min-width: 768px) {
  footer .flex-box {
    padding: 45px 0 30px;
  }
}

@media (min-width: 1024px) {
  footer .flex-box {
    flex-wrap: nowrap;
    gap: 50px;  
  }
}

footer .flex-box .content {
  width: 100%;
}

@media (min-width: 512px) {
  footer .flex-box .content {
    width: calc((100% - 20px) / 2);
  }
}

@media (min-width: 1024px) {
  footer .flex-box .content {
    width: auto;
    flex-shrink: 0;  
  }
  
  footer .flex-box .content:last-child {
    margin-left: auto;
  }
}

footer .flex-box .content h3 {
  font-weight: 400;
  padding: 0 0 7px;
  font-size: 18px;
  line-height: 24px;
  color: #FFF;
}

@media (min-width: 768px) {
  footer .flex-box .content h3 {
    font-size: 24px;
    line-height: 26px;
  }
}

footer .flex-box .content p {
  padding: 2px 0;
  font-size: 14px;
  line-height: 19px;
  margin: 0;
}

@media (min-width: 768px) {
  footer .flex-box .content p {
    font-size: 18px;
    line-height: 24px;
  }
}

/* Social Icons */
footer .flex-box .content .icon-box {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

footer .flex-box .content .icon-box img {
  width: 40px;
  height: auto;
  padding: 0 10px 0 0;
}


/* ============================================
   Mobile Footer Navigation (Accordion)
   ============================================ */
footer .footer-mobile {
  display: block;
  padding: 30px 0 0;
  width: 90%;
}

@media (min-width: 568px) {
  footer .footer-mobile {
    display: none;
  }
}

footer .footer-mobile .accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0 0 0;
  cursor: pointer;
}

footer .footer-mobile .accordion-header h3 {
  font-weight: 300;
  font-size: 26px;
  line-height: 24px;
  color: #FFF;
  margin: 0;
  padding: 0;
  flex: 1;
}

footer .footer-mobile .accordion-header h3 a {
  pointer-events: none;
  font-weight: 300;
  font-size: 26px;
}

footer .footer-mobile .accordion-toggle {
  background: none;
  border: none;
  color: #FFF;
  font-size: 16px;
  cursor: pointer;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  min-width: 40px;
}

footer .footer-mobile .accordion-toggle .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

footer .footer-mobile .accordion-item.active .accordion-toggle .arrow {
  transform: rotate(180deg);
}

footer .footer-mobile .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

footer .footer-mobile .accordion-item.active .accordion-content {
  max-height: 500px;
}

footer .footer-mobile .accordion-content .inter-box p {
  padding: 5px 0;
  font-size: 14px;
  line-height: 1.25em;
  margin: 0;
}

footer .footer-mobile .accordion-content .icon-box {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

footer .footer-mobile .accordion-content .icon-box img {
  width: 30px;
  height: 30px;
  padding: 0 10px 0 0;
}

/* Legal / Copyright */
footer .declare-bar {
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 30px;
}

footer .declare-bar p {
  font-size: 10px;
  line-height: 14px;
  margin: 20px 0;
}

footer .declare-bar p a {
  font-weight: 400;
}

@media (min-width: 512px) {
  footer .declare-bar p {
    font-size: 13px;
    line-height: 16px;
  }
}

@media (min-width: 768px) {
  footer .declare-bar p {
    font-size: 14px;
    line-height: 19px;
  }
}

/* Unify the font style of all mobile accordion content */
footer .footer-mobile .accordion-content p {
  padding: 5px 0;
  font-size: 14px;
  line-height: 19px;
  margin: 0;
}

/* Make sure that the paragraphs after the icon-box also use the same style */
footer .footer-mobile .accordion-content .icon-box + div p {
  padding: 5px 0;
  font-size: 14px;
  line-height: 19px;
  margin: 0;
}

/* ============================================
   Cookie Banner
   ============================================ */

#cookie-banner {
  position: fixed;
  background-color: #FFFFFF;
  border: 1px solid #000000;
  padding: 13px;
  transition: bottom 0.3s ease;
  bottom: 13px;
  margin: 0 25px;
  z-index: 9999;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  max-width: calc(100% - 50px);
}

@media (min-width: 1024px) {
  #cookie-banner {
    max-width: 400px;
    left: 13px;
    margin: 0;
  }
}

#cookie-banner h4 {
  font-size: 16px;
  font-weight: 400;
  margin: 16px 0;
  color: #000;
}

#cookie-banner p {
  font-size: 13px;
  margin: 13px 0;
  color: #333;
}

#cookie-banner p a {
  color: #2288CC;
}

#cookie-banner p a:hover {
  text-decoration: underline;
}

#cookie-banner div {
  text-align: center;
}

#cookie-banner .cookie-btn {
  padding: 7px 13px;
  font-size: 13px;
  border-radius: 7px;
  background-color: #E73531;
  border: 0;
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: inherit;
}

#cookie-banner .cookie-btn:hover {
  background-color: #c72d2a;
}
