/*-- -------------------------- -->
<---        Cookie Banner        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #cookie-banner {
    width: calc(100% - 2rem);
    max-width: 40rem;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    background-color: var(--navy);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1000;
    display: none;
    flex-direction: column;
    gap: 1rem;
  }
  #cookie-banner.cs-visible {
    display: flex;
  }
  #cookie-banner .cs-cookie-text {
    font-family: var(--bodyFont);
    font-size: 0.875rem;
    line-height: 1.6em;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
  }
  #cookie-banner .cs-cookie-text a {
    color: var(--secondary);
    text-decoration: underline;
  }
  #cookie-banner .cs-cookie-actions {
    display: flex;
    gap: 0.75rem;
  }
  #cookie-banner button {
    font-family: var(--bodyFont);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.625rem 1.25rem;
    border-radius: 2rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: opacity 0.3s;
  }
  #cookie-banner button:hover {
    opacity: 0.85;
  }
  #cookie-banner .cs-cookie-accept {
    background-color: var(--secondary);
    color: var(--navy);
  }
  #cookie-banner .cs-cookie-decline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
  }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
  #cookie-banner .cs-cookie-actions {
    flex: none;
  }
}
