/*

TemplateMo 567 Nomad Force

https://templatemo.com/tm-567-nomad-force

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #FFFFFF;
  --primary-color:                #FF3600;
  --section-bg-color:             #f9f9f9;
  --dark-color:                   #000000;
  --grey-color:                   #fcfeff;
  --text-secondary-white-color:   rgba(255, 255, 255, 0.98);
  --title-color:                  #565758;
  --p-color:                      #717275;

  --body-font-family:           'Noto Sans JP', sans-serif;

  --h1-font-size:               clamp(32px, 5vw, 84px);
  --h2-font-size:               clamp(26px, 3.2vw, 42px);
  --h3-font-size:               clamp(24px, 2.7vw, 36px);
  --h4-font-size:               clamp(22px, 2.3vw, 32px);
  --h5-font-size:               clamp(20px, 1.9vw, 24px);
  --h6-font-size:               clamp(18px, 1.7vw, 22px);
  --p-font-size:                20px;
  --copyright-text-font-size:   14px;
  --custom-link-font-size:      12px;

  --font-weight-light:          300;
  --font-weight-normal:         400;
  --font-weight-bold:           700;
  --font-weight-black:          900;
}

body,
html {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
    background: var(--white-color);
    font-family: var(--body-font-family);    
    position: relative;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: 1.2;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1,
h2 {
  font-weight: var(--font-weight-black);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: 1.08;
}

h2 {
  font-size: var(--h2-font-size);
  
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p, ul, ol {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

.text-secondary-white-color {
  color: var(--text-secondary-white-color);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

::selection {
  background: var(--dark-color);
  color: var(--white-color);
}

.custom-underline {
  border-bottom: 2px solid var(--white-color);
  color: var(--white-color);
  padding-bottom: 4px;
}

.videoWrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background: #000;
}

.custom-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, .88), rgba(0, 0, 0, .08) 88%);
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-links {
  max-width: 230px;
}

.custom-link {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
}

.custom-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: currentColor;
}

.custom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.custom-link:hover,
.custom-link:hover::after {
  color: var(--white-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  NAVIGATION               
-----------------------------------------*/

.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  right: 0;
  left: 0;
}

.navbar-brand {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 15px;
  padding-left: 15px;
}

.navbar-nav .nav-link::after {
  content: "\f140";
  font-family: bootstrap-icons;
  display: inline-block;
  margin-left: 10px;
  color: var(--primary-color);
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
}

.navbar-nav .nav-link:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-link {
  color: var(--p-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  position: relative;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  color: var(--primary-color);
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-item.active .nav-link,
.nav-link:focus, 
.nav-link:hover {
  color: var(--dark-color);
}

.nav-link:focus {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  height: clamp(440px, 56.25vw, 760px);
  background: #000;
}

.heroText {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 1120px);
  padding: 0 20px;
  text-align: center;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

div.heroText h1 {
  margin: 0;
  font-size: clamp(30px, 5.25vw, 72px);
  line-height: 1.03;
  letter-spacing: .015em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .45);
}

.hero-subtitle-link {
  display: inline-block;
  margin-top: clamp(8px, 1vw, 14px);
}

div.heroText h2 {
  margin: 0;
  color: var(--primary-color);
  font-size: clamp(18px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .4);
}

div.heroText button,
div.heroText .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(18px, 2.2vw, 30px);
  min-height: 48px;
  background: var(--primary-color);
  border: none;
  border-radius: 100px;
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  padding: 13px 22px;
  transition: background-color .25s ease, transform .25s ease;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.2;
}

div.heroText button:hover,
div.heroText .hero-cta:hover {
  background: var(--dark-color);
  color: var(--white-color);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .hero {
    height: clamp(390px, 110vw, 440px);
  }

  .custom-video {
    object-position: center center;
  }

  .heroText {
    width: 100%;
    padding: 0 18px;
  }

  div.heroText h1 {
    font-size: clamp(28px, 8.5vw, 34px);
    line-height: 1.06;
    letter-spacing: .01em;
  }

  div.heroText h2 {
    font-size: clamp(18px, 5.6vw, 24px);
    line-height: 1.12;
  }

  div.heroText .hero-cta {
    min-height: 44px;
    margin-top: 18px;
    padding: 11px 18px;
    font-size: 13px;
  }
}

/*---------------------------------------
  ABOUT & TEAM MEMBERS               
-----------------------------------------*/
.about-image,
.team-image {
  width: 100%;
  height: 100%;
  max-height: 635px;
  min-height: 475px;
  object-fit: cover;
}

.team-thumb {
  background: var(--white-color);
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  padding: 22px 32px 32px 32px;
}

.carousel-control-next, 
.carousel-control-prev {
  top: auto;
  bottom: 2.5rem;
}

.carousel-control-prev {
  right: 4rem;
  left: auto;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
  background-color: var(--dark-color);
  background-size: 50% 50%;
  border-radius: 100px;
  width: 3rem;
  height: 3rem;
}

/*---------------------------------------
  PORTFOLIO               
-----------------------------------------*/
.portfolio-thumb {
  position: relative;
  overflow: hidden;
}

.portfolio-info {
  margin: 20px;
}

/*---------------------------------------
  NEWS & EVENTS               
-----------------------------------------*/

.news,
.related-news {
  background: var(--section-bg-color);
}

.news-thumb {
  position: relative;
}

.news-category {
  background: var(--white-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  padding: 4px 12px;
  display: inline-block;
}

.news-text-info {
  margin: 0 20px;
}

.news-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

.news-title-link {
  color: var(--title-color);
  display: inline-block;
}

.news-title-link:hover {
  color: var(--dark-color);
}

.portfolio-image,
.news-image {
  display: block;
  transition: transform 0.6s ease-out;
}

.news-image-hover {
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
  padding-bottom: 4px;
  height: 100%;
}

.news-image-hover::after {
  content: "";
  width: 0;
  height: 4px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: #198754;
}

.news-image-hover-warning::after {
  background: #ffc107;
}

.news-image-hover-primary::after {
  background: #0d6efd;
}

.news-image-hover-success::after {
  background: #198754;
}

.news-image-hover:hover::after {
  width: 100%;
  left: 0;
  right: auto;
  z-index: 9;
}

.image-popup:hover .portfolio-image,
.news-image-hover:hover .news-image {
  transform: scale(1.02);
}

.news-two-column {
  min-height: 199px;
  margin-bottom: 16px;
}

.news-two-column .news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-share-link,
.social-share-link + span {
  color: rgba(255, 255, 255, 0.65);
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/*---------------------------------------
  CONTACT              
-----------------------------------------*/
.contact-info {
  padding: 40px;
}

.contact-form .form-control {
  border-radius: 0;
  font-weight: var(--font-weight-normal);
  padding-top: 12px;
  padding-bottom: 12px;
}

.contact-form button[type='submit'],
.contact-form .cta-submit {
  display: block;
  background: var(--dark-color);
  border: none;
  border-radius: 100px;
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  padding: 16px;
  transition: all 0.6s ease-out;
}

.contact-form button[type='submit']:hover,
.contact-form .cta-submit:hover {
  background: var(--primary-color);
  color: var(--white-color);
}
.form-label {
  color: var(--p-color);
  font-weight: var(--font-weight-bold);
}

.map-iframe {
  display: block;
  filter: grayscale(100);
}

/*---------------------------------------
  SITE FOOTER               
-----------------------------------------*/
.site-footer {
  background: var(--dark-color);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.site-footer .custom-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--p-font-size);
}

.site-footer .custom-link:hover,
.site-footer .social-icon-link:hover {
  color: var(--white-color);
}

.copyright-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--copyright-text-font-size);
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}

.social-icon-link:hover {
  color: var(--primary-color);
}

/*---------------------------------------
  STICKY NAV / BACK TO TOP
-----------------------------------------*/
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 16, 48, .14);
  border-radius: 14px;
  background: var(--primary-color);
  color: var(--white-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background-color .2s ease;
  z-index: 1050;
  cursor: pointer;
}

.to-top i {
  font-size: 22px;
  line-height: 1;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: #d82e00;
  color: var(--white-color);
}

.to-top:focus-visible {
  outline: 3px solid rgba(255, 54, 0, .28);
  outline-offset: 3px;
}

@media (max-width: 576px) {
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .news-two-column {
    min-height: 232.5px;
  }
}

@media screen and (max-width: 991px) {
  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .team-thumb {
    left: 0;
    width: auto;
  }

  .news-two-column {
    height: auto !important;
    min-height: inherit;
  }

  .news .col-12 .news-two-column:first-child {
    margin-bottom: 38px;
  }
}

@media screen and (max-width: 767px) {
  .news-detail-title {
    font-size: 36px;
  }
}

@media screen and (max-width: 360px) {
  .heroText p {
    font-size: 14px;
  }
}

@media screen and (max-width: 359px) {
  .news-detail-title {
    font-size: 22px;
  }
}

/*banner style*/
.bg-banner1 {
  background:url(../images/bg1.jpg) 100% 100% no-repeat;
  background-size: cover;
  color: #FFFFFF;
  padding: 26px 10px;
}
.bg-banner1 h2 {
  margin: 20px 0;
  color: #FFFFFF;
}
.bg-banner1 p {
  font-size: 14px;
  color: #FFFFFF;
}

.ban_img img {
  float: left;
  padding-right: 5px;
  margin-left: -30px;
}
@media (max-width: 992px) {
  .bg-banner1 {
    background-position: left;
  }
  .bg-banner1 h2 {
    font-size: clamp(24px, 5vw, 30px);
    line-height: 1.15;
  }
  .ban_img img {
    margin-left: 5px;
  }
}

.bg-banner2 {
  background:url(../images/bg2.jpg) 100% 100% no-repeat;
  background-size: cover;
  color: #FFFFFF;
  padding-left: 60px;
}
@media (max-width: 992px) {
  .bg-banner2 {
    background-position: left;
  }
}
.bg-banner2 h2 {
  margin: 20px 0;
  color: #FFFFFF;
  
}

.bg-banner2 ul li {
  color: #FFFFFF;
  font-size: 14px;
}
.bg-banner2 p {
  font-size: 14px;
  color: #FFFFFF;
}
bg-banner2 p b {
  font-size: 14px;
  color: #FFFFFF;
}
.border1 {
   border-bottom: #C60001;
   border-bottom-style: solid;
   border-bottom-width: 10px;
}
.border2 {
  border-bottom: #FF8A00;
  border-bottom-style: solid;
  border-bottom-width: 20px;
}
.border3 {
  border-bottom: #FFD600;
  border-bottom-style: solid;
  border-bottom-width: 30px;
}
.border4 {
  border-bottom: #4BC500;
  border-bottom-style: solid;
  border-bottom-width: 40px;
}

.border1 img {
  float: left;
  padding-right: 5px;
  margin-left: -30px;
}
.border2 img {
  float: left;
  padding-right: 5px;
  margin-left: -60px;
}
.border3 img {
  float: left;
  padding-right: 5px;
  margin-left: -60px;
}
.border4 img {
  float: left;
  padding-right: 5px;
  margin-left: -60px;
}
/*---------------------------------------
  PRODUCT CATEGORIES
-----------------------------------------*/
.products-section {
  background: var(--section-bg-color);
}

.products-section__lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--p-color);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.6;
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 42px;
}

.product-category-card {
  flex: 0 1 calc(33.333% - 16px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  background: var(--white-color);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 54, 0, .26);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .12);
}

.product-category-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: var(--dark-color);
}

.product-category-card__link:hover,
.product-category-card__link:focus-visible {
  color: var(--dark-color);
}

.product-category-card__link:focus-visible {
  outline: 3px solid rgba(255, 54, 0, .28);
  outline-offset: -3px;
  border-radius: 18px;
}

.product-category-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.product-category-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .14), transparent 45%);
  pointer-events: none;
}

.product-category-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .45s ease;
}

.product-category-card:hover .product-category-card__media img {
  transform: scale(1.035);
}

.product-category-card__body {
  display: flex;
  min-height: 150px;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 24px 24px;
}

.product-category-card__body h3 {
  margin: 0 0 22px;
  color: var(--dark-color);
  font-size: clamp(20px, 1.75vw, 27px);
  line-height: 1.18;
}

.product-category-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-size: 15px;
  font-weight: var(--font-weight-bold);
}

.product-category-card__cta i,
.products-section__all-link i {
  transition: transform .2s ease;
}

.product-category-card:hover .product-category-card__cta i,
.products-section__all-link:hover i {
  transform: translate(3px, -3px);
}

.products-section__all {
  margin-top: 38px;
  text-align: center;
}

.products-section__all-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 2px solid var(--primary-color);
  border-radius: 100px;
  background: var(--primary-color);
  color: var(--white-color);
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
}

.products-section__all-link:hover,
.products-section__all-link:focus-visible {
  background: var(--dark-color);
  border-color: var(--dark-color);
  color: var(--white-color);
}

.products-section__all-link:focus-visible {
  outline: 3px solid rgba(255, 54, 0, .28);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .product-category-card {
    flex-basis: calc(50% - 12px);
  }

  .products-grid {
    margin-top: 34px;
  }
}

@media (max-width: 575px) {
  .products-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .products-grid {
    gap: 18px;
    margin-top: 28px;
  }

  .product-category-card {
    flex-basis: 100%;
    border-radius: 15px;
  }

  .product-category-card__body {
    min-height: 128px;
    padding: 18px 20px 20px;
  }

  .product-category-card__body h3 {
    margin-bottom: 18px;
  }

  .products-section__all {
    margin-top: 30px;
  }

  .products-section__all-link {
    width: 100%;
  }
}

/*---------------------------------------
  PRIVACY / COOKIE CONSENT
-----------------------------------------*/
.site-footer__copyright {
  color: var(--white-color);
  margin-bottom: 10px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.site-footer__legal a,
.site-footer__cookie-settings {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible,
.site-footer__cookie-settings:hover,
.site-footer__cookie-settings:focus-visible {
  color: var(--white-color);
}

.site-footer__cookie-settings {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: 18px;
  width: min(920px, calc(100% - 32px));
  transform: translateX(-50%);
  background: rgba(17, 17, 17, .97);
  color: var(--white-color);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  padding: 18px 20px;
}

.cookie-consent__content {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.cookie-consent__text {
  max-width: 620px;
}

.cookie-consent__text strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.cookie-consent__text p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent__text a {
  color: var(--white-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-consent__button {
  min-height: 44px;
  border-radius: 10px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.cookie-consent__button:hover {
  transform: translateY(-1px);
}

.cookie-consent__button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .45);
  outline-offset: 2px;
}

.cookie-consent__button--primary {
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: var(--white-color);
}

.cookie-consent__button--secondary {
  border: 1px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: var(--white-color);
}

@media (max-width: 767px) {
  .cookie-consent {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 16px;
  }

  .cookie-consent__content,
  .cookie-consent__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__content {
    gap: 14px;
  }

  .cookie-consent__actions {
    gap: 8px;
  }

  .cookie-consent__button {
    width: 100%;
  }
}

/* Responsive heading and anchor refinements */
@media (max-width: 767px) {
  .section-padding {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  #who h2,
  #add h2 {
    overflow-wrap: anywhere;
  }
}
