/* ==========================================================================
   Components - Cards, Buttons, Sections
   ========================================================================== */

/* Override broken img/ references (img folder removed) */
section.video .video-overlay {
  background-image: none !important;
}

/* Override theme's outline:none - restore focus for keyboard nav (WCAG 2.4.12) */
body a:focus-visible,
#header nav a:focus-visible,
#header .nav-main a:focus-visible,
.btn-responsive-nav:focus-visible,
ul.social-icons a:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid #0576af !important;
  outline-offset: 2px !important;
}

/* Form inputs - override Bootstrap's outline:0 (WCAG 2.4.12) */
.form-control:focus-visible,
input.form-control:focus-visible,
textarea.form-control:focus-visible,
select.form-control:focus-visible {
  outline: 3px solid #0576af !important;
  outline-offset: 2px !important;
}

/* Footer copyright text */
#footer .footer-copyright__text {
  background: #151617;
  margin: auto 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  display: flex;
  color: #555;
  font-size: 0.9em;
  margin: 0;
  height: 50px;
}

/* Scroll margin for anchor targets - avoid fixed header overlap */
#home,
#intro,
#discoverrdi,
#purpose-values,
#powerful_values,
#diversity-inclusion,
#services,
#career,
#testimonials,
#contact {
  scroll-margin-top: 120px;
}

/* --------------------------------------------------------------------------
   Country Banner
   -------------------------------------------------------------------------- */
.country-banner {
  background: #1e1e1e;
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
}

.country-banner .container {
  gap: 12px;
  flex-wrap: wrap;
}

.country-banner__link {
  color: #4a9fd4;
  text-decoration: underline;
}

.country-banner__link:hover {
  color: #6bb3e0;
}

.country-banner__dismiss {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 13px;
  border-radius: 4px;
}

.country-banner__dismiss:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   Powerful Values - center image
   -------------------------------------------------------------------------- */
.values img,
.values .values__img {
  max-width: 70%;
  width: 70%;
  height: auto;
}

/* Tablet e mobile: imagem mais larga (70% fica estreita em telas menores) */
@media (max-width: 991px) {
  .values img,
  .values .values__img {
    max-width: 90%;
    width: 90%;
  }
}

@media (max-width: 767px) {
  .values img,
  .values .values__img {
    max-width: 95%;
    width: 95%;
  }
}

/* --------------------------------------------------------------------------
   Header - flex layout: logo left, menu right
   -------------------------------------------------------------------------- */
#header {
  position: relative;
  z-index: 10002;
  overflow: visible;
}

/* Desktop: single flex row, logo left, nav right */
@media (min-width: 1090px) {
  #header .header__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    min-height: 0;
    height: auto;
  }

  #header .header__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    max-width: none;
    width: auto;
    height: auto;
  }

  #header .header__row .logo {
    flex-shrink: 0;
    margin: 0;
    padding: 5px 0;
  }

  #header .header__row .logo a {
    display: block;
  }

  #header .header__inner .navbar-collapse {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    height: auto;
    overflow: visible;
  }

  #header .header__inner .navbar-collapse .header__nav-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    height: auto;
    min-height: 0;
  }

  /* Nav + social in same row, aligned by bottom (theme gives links padding-top: 46px) */
  #header .header__inner .navbar-collapse .header__nav-group {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 24px;
  }

  #header .header__inner .navbar-collapse .header__nav-group .nav-main {
    margin: 0;
  }

  #header .header__inner .navbar-collapse .header__nav-group .social-icons {
    margin: 0;
    top: 0;
    padding-bottom: 12px;
  }

  /* Sticky/collapsed: nav links shrink (26px padding), icons need less offset */
  body.sticky-menu-active
    #header
    .header__inner
    .navbar-collapse
    .header__nav-group
    .social-icons {
  }

  body.sticky-menu-active #header.flat-menu .header__row .logo {
    padding-top: 15px;
  }
}

/* Mobile: column layout, menu below header */
@media (max-width: 1089px) {
  #header {
    padding: 8px 0 0 0;
  }

  #header .header__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  #header .header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px 8px;
    flex-shrink: 0;
  }

  #header .navbar-collapse {
    flex-shrink: 0;
    width: 100%;
    margin: 0;
  }

  #header .navbar-collapse.in .header__nav-inner {
    width: 100%;
  }
}

/* Mobile sticky: compact height, logo visible */
@media (max-width: 1089px) {
  body.sticky-menu-active #header {
    overflow: visible;
    top: 0 !important;
    padding: 0;
    min-height: 70px; /* override theme's min-height: 100px so header can collapse */
  }

  body.sticky-menu-active #header .header__inner {
    min-height: 0;
    overflow: visible;
  }

  body.sticky-menu-active #header .header__row {
    min-height: 44px;
    padding: 8px 15px;
    overflow: visible;
  }

  body.sticky-menu-active #header .logo {
    overflow: visible;
    flex-shrink: 0;
    padding-top: 0;
  }

  body.sticky-menu-active #header .logo img {
    max-height: 36px;
    width: auto;
    height: auto;
    object-fit: contain;
  }
}

/* --------------------------------------------------------------------------
   Internal pages (privacy-notice, cookie-policy, salary-transparency)
   -------------------------------------------------------------------------- */
.page-internal .main--internal {
  padding-top: 20px; /* prevent title from being hidden under fixed header */
}

/* Internal pages: match home page header height on desktop (theme uses 91px) */
@media (min-width: 1090px) {
  .header--internal .header__inner {
    min-height: 91px;
  }
}

/* Social Icons */
ul.social-icons {
  top: 2px;
}

ul.social-icons li {
  width: 24px;
  height: 24px;
  margin-left: 5px;
}

ul.social-icons li.facebook {
  background-image: url(../assets/images/facebook-blue.svg);
  background-position: 0 0;
  background-size: contain;
  border-radius: 0;
}

ul.social-icons li.facebook:hover {
  background-image: url(../assets/images/facebook-gray.svg);
}

ul.social-icons li.linkedin {
  background-image: url(../assets/images/linkedin-blue.svg);
  background-position: 0 0;
  background-size: contain;
  border-radius: 0;
}

ul.social-icons li.linkedin:hover {
  background-image: url(../assets/images/linkedin-gray.svg);
}

ul.social-icons li.instagram {
  background-image: url(../assets/images/instagram-blue.svg);
  background-position: 0 0;
  background-size: contain;
  border-radius: 0;
}

ul.social-icons li.instagram:hover {
  background-image: url(../assets/images/instagram-gray.svg);
}

ul.social-icons li.glassdoor {
  background-image: url(../assets/images/glassdoor-blue.svg);
  background-position: 0 0;
  background-size: contain;
  border-radius: 0;
}

ul.social-icons li.glassdoor:hover {
  background-image: url(../assets/images/glassdoor-gray.svg);
}

/* --------------------------------------------------------------------------
   Slider
   -------------------------------------------------------------------------- */
.slider-container-fullscreen {
  height: 540px !important;
}

@media (max-width: 991px) {
  .slider-container-fullscreen {
    height: 480px !important;
  }
}

@media (max-width: 767px) {
  .slider-container-fullscreen {
    height: 420px !important;
  }
}

.slider-container {
  margin-bottom: 70px !important;
}

/* --------------------------------------------------------------------------
   Typography - PEOPLE branding
   -------------------------------------------------------------------------- */
.people {
  font-weight: bold;
  font-style: italic;
}

.people_p {
  color: #00d8ed;
}
.people_e {
  color: #e749c9;
}
.people_o {
  color: #ef4459;
}
.people_pp {
  color: #ffc600;
}
.people_l {
  color: #873e22;
}
.people_ee {
  color: #313234;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
section.white {
  background: #fff;
  border-top: 5px solid #fff;
  margin-top: 0;
  margin-bottom: 50px;
  padding-top: 0;
  padding-bottom: 50px;
}

section.featured {
  margin-top: -70px !important;
  margin-bottom: 70px !important;
}

section.highlight-gray {
  background-color: #333 !important;
  border: 3px solid #222;
  margin: 35px 0 45px;
  padding: 40px 0;
  color: #fff;
}

section.highlight-gray h2 {
  color: #fff;
}

section.highlight-gray.top {
  margin-top: 0;
}

section.highlight.top {
  margin-top: -70px !important;
}

section.midgrey {
  background-color: #666;
}

/* --------------------------------------------------------------------------
   Parallax & Counters
   -------------------------------------------------------------------------- */
.parallax {
  background-repeat: no-repeat !important;
  background-size: cover;
}

/* iPhone/mobile: desabilitar parallax - background-attachment:fixed causa erros no iOS */
@media (max-width: 991px), (hover: none) {
  .parallax {
    background-attachment: scroll !important;
    background-position: 50% 50% !important;
  }

  .parallax.parallax-ready {
    background-attachment: scroll !important;
  }
}

.counters {
  color: #fff;
}

/* Parallax counters: espaçamento vertical quando empilha (tablet/mobile) */
@media (max-width: 1090px) {
  .parallax .row.counters > [class*="col-"] {
    margin-bottom: 6rem;
  }

  .parallax .row.counters > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-primary {
  border-color: #fff !important;
  color: #fff;
  background-color: #0576af;
}

.btn-primary:hover {
  border-color: #0576af !important;
}

.tp-revslider-mainul .btn-primary {
  background-color: transparent;
}

.tp-revslider-mainul .btn-primary:hover {
  border-color: #fff;
  background-color: #fff;
}

.btn-apply {
  border-color: #fff !important;
  color: #fff;
  background-color: #0576af;
  margin-right: 20px;
  padding: 15px 30px;
}

.btn-apply:hover {
  border-color: #0576af !important;
  background-color: #fff;
  color: #0576af;
}

.btn-apply:active,
.btn-apply:focus {
  color: #fff;
  border-color: #0576af;
  background-color: #0576af;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
blockquote.testimonial-carousel {
  font-family: Georgia, serif;
  font-style: italic;
  margin: 0;
  padding: 10px 50px;
  position: relative;
  border: none;
}

blockquote.testimonial-carousel::before {
  left: 10px;
  top: 0;
  color: #00adda;
  content: "\201C";
  font-size: 80px;
  font-style: normal;
  line-height: 1;
  position: absolute;
}

blockquote.testimonial-carousel::after {
  right: 10px;
  bottom: -0.5em;
  color: #00adda;
  content: "\201D";
  font-size: 80px;
  font-style: normal;
  line-height: 1;
  position: absolute;
}

blockquote.testimonial-carousel p {
  margin: 10px 0;
  color: #fff;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.3;
  text-align: center;
}

.testimonial-from {
  text-align: center;
  margin: 0 auto;
  color: #00adda;
  font-size: 0.9em;
  line-height: 1.2;
}

.testimonial-photo {
  width: 100px;
  height: 100px;
  display: block;
  margin: 0 auto 5px;
}

.testimonial-photo img {
  width: 100px !important;
  height: 100px !important;
  display: block;
  border-radius: 100%;
}

span.testimonial-name {
  font-weight: bold;
}

span.testimonial-location {
  font-style: italic;
  color: #bbb;
}

span.testimonial-location::before {
  padding-left: 3px;
  content: "(";
}

span.testimonial-location::after {
  content: ")";
}

.owl-carousel-testimonials .owl-item {
  height: 100% !important;
}

@media screen and (min-width: 601px) and (max-width: 1000px) {
  .owl-carousel-testimonials .owl-item {
    min-height: 400px !important;
  }
}

@media screen and (max-width: 600px) {
  .owl-carousel-testimonials .owl-item {
    min-height: 500px !important;
  }
}

/* --------------------------------------------------------------------------
   Thumb Info (theme compatibility)
   -------------------------------------------------------------------------- */
.thumb-info .thumb-info-title {
  font-size: 14px !important;
  bottom: 6% !important;
}

ul.history li p {
  margin-left: 0 !important;
}

/* --------------------------------------------------------------------------
   Legal documents: Privacy Notice & Cookie Policy (global and regional)
   Headings in body copy are black; theme skin otherwise colours h4/h5 blue.
   -------------------------------------------------------------------------- */
#privacy-notice h4,
#cookie-policy h4 {
  color: #000;
  margin-top: 40px;
  margin-bottom: 20px;
}

#privacy-notice h5,
#cookie-policy h5 {
  color: #000;
  margin-top: 28px;
  margin-bottom: 0.5em;
}

#privacy-notice li,
#cookie-policy li {
  color: #777;
}

#privacy-notice ul,
#cookie-policy ul {
  margin-top: 0;
  margin-bottom: 20px;
}

#privacy-notice ol,
#cookie-policy ol {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 16px;
  margin-inline-end: 0;
  padding-inline-start: 0;
}

#privacy-notice li::marker,
#cookie-policy li::marker {
  color: #0576af;
  display: inline-block;
  font-size: 1.2em;
}

#privacy-notice ol li::marker,
#cookie-policy ol li::marker {
  color: #777;
  display: inline-block;
  font-size: 1.4em;
}

#privacy-notice .tg,
#cookie-policy .tg {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  max-width: 100%;
}

#privacy-notice .tg td,
#cookie-policy .tg td {
  border: 1px solid black;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
  color: #777;
}

#privacy-notice .tg th,
#cookie-policy .tg th {
  background-color: #0576af;
  color: #fff;
  border: 1px solid black;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: normal;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
}

#privacy-notice .tg .tg-0lax,
#cookie-policy .tg .tg-0lax {
  text-align: left;
  vertical-align: top;
}

/* --------------------------------------------------------------------------
   Video Player - HTML5 native with play overlay
   -------------------------------------------------------------------------- */
section.video .video-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

section.video .video-player {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  line-height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
}

section.video .video-player video {
  width: calc(100% + 1px);
  max-width: none;
  height: auto;
  display: block;
  background: #1e1e1e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: -1px;
  margin-right: -1px;
  outline: none;
  border: none;
  line-height: 0;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

/* Native controls: hide until hover (Chrome, Safari, Edge) */
section.video .video-player video::-webkit-media-controls-enclosure {
  opacity: 0;
  transition: opacity 0.25s ease;
  background-color: transparent !important;
}

section.video .video-player:hover video::-webkit-media-controls-enclosure,
section.video
  .video-player.video-playing
  video::-webkit-media-controls-enclosure {
  opacity: 1;
}

/* Remove white/transparent bar from controls panel */
section.video .video-player video::-webkit-media-controls-panel {
  background-color: transparent !important;
  background-image: linear-gradient(transparent, transparent) !important;
  box-shadow: none !important;
}

@supports (-moz-appearance: none) {
  section.video .video-player video::-webkit-media-controls-enclosure {
    opacity: 1;
  }
}

/* Overlay with large Play button - ONLY visible when video is paused */
section.video .video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.25s ease,
    background 0.25s ease,
    z-index 0.25s ease;
  z-index: 2;
  pointer-events: auto;
}

section.video .video-play-overlay:hover {
  background: rgba(0, 0, 0, 0.35);
}

/* When video is playing, overlay disappears completely and doesn't interfere */
section.video .video-player.video-playing .video-play-overlay {
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

section.video .video-player.video-playing:hover .video-play-overlay {
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

/* Play icon */
section.video .video-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 0 40px 70px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.95);
  margin-left: 12px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}

section.video .video-play-overlay:hover .video-play-icon {
  transform: scale(1.08);
  border-color: transparent transparent transparent #fff;
}

/* Pause icon */
section.video .video-pause-icon {
  display: none;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

section.video .video-pause-icon i {
  display: block;
  width: 8px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

section.video .video-player.video-playing .video-play-icon {
  display: none;
}

section.video .video-player.video-playing .video-pause-icon {
  display: flex;
}

/* --------------------------------------------------------------------------
   Office addresses - photo slider next to address
   -------------------------------------------------------------------------- */
.office-addresses .office-row {
  margin-bottom: 24px;
  position: relative;
}

.office-addresses .office-row:last-child {
  margin-bottom: 0;
}

.office-row-with-background {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-start;
  padding: 24px;
  border-radius: 4px;
  overflow: hidden;
}

.office-background-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  margin: 0;
}

.office-background-carousel .owl-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.office-contents {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.office-content {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px;
  border-radius: 4px;
  width: 190px;
}

.office-addresses .office-address {
  margin-bottom: 12px;
  color: #333;
}

.office-addresses .office-address p {
  margin: 8px 0 0;
  line-height: 1.6;
  color: #555;
}

.owl-carousel-offices .owl-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  opacity: 0.6;
  transition: opacity 0.3s ease-in-out;
}

.owl-carousel-offices .owl-item.active img {
  opacity: 0.6;
}

.owl-carousel-offices.owl-carousel {
  margin-top: 0;
}

@media (max-width: 767px) {
  .office-row-with-background {
    min-height: 250px;
    padding: 16px;
  }

  .office-content {
    max-width: none;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Formulário: botão de envio - desktop à direita
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  #contactForm > .row:last-child .col-md-12 {
    text-align: right;
  }
}

/* --------------------------------------------------------------------------
   Mobile: centralizar endereços, footer, purpose-values e botão do formulário
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Purpose and Values */
  #purpose-values,
  #purpose-values .col-md-6,
  #purpose-values .feature-box,
  #powerful_values,
  #powerful_values .col-md-12 {
    text-align: center;
  }

  /* Formulário: botão centralizado no mobile */
  #contactForm > .row:last-child .col-md-12 {
    text-align: center;
  }

  /* Seção de endereços e e-mails (contact) - #contact é a row */
  #contact > .col-md-6:nth-child(2),
  #contact > .col-md-6:nth-child(3) {
    text-align: center;
  }

  #contact > .col-md-6:nth-child(2) ul,
  #contact > .col-md-6:nth-child(2) ul li,
  #contact > .col-md-6:nth-child(2) .office-address,
  #contact > .col-md-6:nth-child(2) .office-addresses,
  #contact > .col-md-6:nth-child(2) .office-row .col-sm-4,
  #contact > .col-md-6:nth-child(2) .office-row .col-sm-12 {
    text-align: center;
  }

  /* Footer */
  #footer .container .row > div {
    text-align: center;
  }

  #footer .footer-copyright .container .row > div {
    text-align: center;
  }

  #footer .footer-copyright .logo {
    display: block;
    text-align: center;
  }

  #footer .footer-copyright .logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  #footer .social-icons ul {
    display: flex;
    justify-content: center;
  }

  #footer .container {
    padding-top: 35px;
    margin-top: 30px;
  }

  #footer .footer-copyright {
    margin-top: 24px;
    padding: 24px 0 8px;
  }
}

/* --------------------------------------------------------------------------
   Tablet: footer em linha (evitar quebra desnecessária)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 991px) {
  #footer .container .row {
    display: flex;
    flex-wrap: nowrap;
  }

  #footer .container .row > .col-md-8 {
    flex: 1 1 60%;
    max-width: 60%;
    width: auto;
    float: none;
  }

  #footer .container .row > .col-md-3 {
    flex: 0 0 38%;
    max-width: 38%;
    width: auto;
    float: none;
    margin-left: 2% !important;
  }

  #footer .footer-copyright .container .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }

  #footer .footer-copyright .container .row > div {
    float: none;
    width: auto !important;
  }

  #footer .footer-copyright .container .row > .col-md-2 {
    flex: 0 0 auto;
    max-width: none;
  }

  #footer .footer-copyright .container .row > .col-md-4,
  #footer .footer-copyright .container .row > .col-md-6 {
    flex: 1 1 auto;
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   Cookie consent banner (GDPR-style, minimal)
   -------------------------------------------------------------------------- */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 16px 20px;
  background: rgba(30, 30, 30, 0.97);
  color: #fff;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-consent__text {
  margin: 0;
  flex: 1 1 280px;
  max-width: 720px;
  color: #fff;
}

.cookie-consent__text a {
  color: #7ec8e3;
  text-decoration: underline;
}

.cookie-consent__text a:hover,
.cookie-consent__text a:focus {
  color: #fff;
}

.cookie-consent__actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-consent .btn-default {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.cookie-consent .btn-default:hover,
.cookie-consent .btn-default:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cookie-consent .btn-primary {
  background: #0576af;
  border-color: #0576af;
}

.cookie-consent .btn-primary:hover,
.cookie-consent .btn-primary:focus {
  background: #045a87;
  border-color: #045a87;
}

body.cookie-consent-visible .body {
  padding-bottom: 100px;
}

@media (max-width: 767px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__actions .btn {
    width: 100%;
  }
}

.footer-cookie-settings {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9em;
  color: #555;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus {
  color: #0576af;
}
