*, *::after, *::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: 'Roboto';
  font-size: 14px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  color: #1d2022;
}

.container p{
  font-size: 18px;
  padding-bottom: 40px;
  max-width: 95ch;
  text-align: center;
  margin: 0 auto;
  letter-spacing: -0.1px;
  line-height: 1.6
}

.container h2{
  font-size: 32px;
  font-weight: 900;
  padding-bottom: 40px;
}

.wp-block-group {
  max-width: 1450px;
  margin: 5rem auto;
  padding: 0 2rem;
  width: 100%;
}

.header {
  padding: 0.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  cursor: pointer;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #1d2022;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 16.8px;

}

.nav-menu li a:hover {
  color: #c41e3a;
}

.custom-logo {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}

.wp-block-cover.hero-cover {
  min-height: 95vh;
  position: relative;
}

.wp-block-cover.hero-cover .wp-block-cover__background {
  background-color: rgba(0, 0, 0, 0.3) !important;
}

.wp-block-cover.hero-cover .wp-block-cover__image-background {
  transform: scale(1.45) !important;
  transition: transform 0.3s ease !important;
  opacity: 0.95 !important;
}

.wp-block-cover.hero-cover .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.wp-block-cover.hero-cover h1,
.wp-block-cover.hero-cover .wp-block-heading {
  color: #fff !important;
  font-size: 48px;
  font-weight: 800 !important;
  margin: 0 0 1.3rem 0 !important;
  line-height: 1.2 !important;
  text-shadow: none;
  
}

.wp-block-cover.hero-cover p {
  color: #fff !important;
  font-size: 24px !important;
  max-width: 750px !important;
  margin: 0 auto 4.5rem auto !important;
  font-weight: 300;
  text-shadow: none;
  line-height: 33.6px;
}

.wp-block-cover.hero-cover p strong {
  font-weight: 800 !important;
  color: #fff !important;
  
}

.wp-block-cover.hero-cover .wp-block-button__link {
  background-color: black !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 1rem 2rem !important;
  border-radius: 0;
  font-weight: 500 !important;
  transition: background-color 0.3s ease !important;
  font-size: 17px;
  display: inline-flex !important;
  align-items: center !important;
  gap: 15px !important;
  position: relative !important;
  overflow: hidden !important;
}

.wp-block-cover.hero-cover .wp-block-button__link::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 8s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

.wp-block-cover.hero-cover .wp-block-button__link i,
.wp-block-cover.hero-cover .wp-block-button__link svg {
  font-size: 22px !important;
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
}

.wp-block-cover.hero-cover .wp-block-button__link:hover {
  background-color: #a0172e !important;
}

.wp-block-cover.hero-cover-page p {
  max-width: 80ch !important;
  font-size: 22px !important;
  line-height: 30.8px !important;
  font-weight: 400 !important;
}

.wp-block-cover.hero-cover-page p:not(first-child) {
  margin-bottom: 15px !important;
}

.wp-block-cover.hero-cover-page .wp-block-cover__inner-container p em {
  margin-bottom: 45px !important;
  display: block;
}

.wp-block-cover.hero-cover-page .wp-block-button__link {
  margin-top: 45px !important;
  padding: 1rem 2rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 15px !important;
  position: relative !important;
  overflow: hidden !important;
}

.wp-block-cover.hero-cover-page .wp-block-button__link::after {
  content: "";  
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 8s infinite;
}

.wp-block-cover.hero-cover-page .wp-block-button__link i,
.wp-block-cover.hero-cover-page .wp-block-button__link svg {
  font-size: 22px !important;
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
}

.wp-block-cover.hero-cover.zoomed-out .wp-block-cover__image-background {
  transform: scale(1) !important;
  transform-origin: center center;
}

.wp-block-cover.hero-cover.zoomed-out p {
  font-size: 26px !important;
  line-height: 39.2px !important;
}


.brands {
  position: relative;
  background: #1e2022;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
}

.brands-grid {
  background: #1e2022;
  color: #fff;
  text-align: center;
  padding-top: 2rem;
}

.wp-block-group.brands,
.wp-block-group.brands-grid {
  max-width: none !important;
  margin-inline: 0 !important;
  width: 100%;
  margin: 0;
}

.wp-block-group.brands > .wp-block-group__inner-container,
.wp-block-group.brands-grid > .wp-block-group__inner-container {
  max-width: 1200px;
  margin: 0 auto;
}

.wp-block-group.brands-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(4, 200px);
  justify-content: center;
  row-gap: 1rem;
  column-gap: 5rem;
}

.brands h2 {
  font-size: 48px;
  padding-bottom: 2rem;
  font-weight: 900;
}

.brands p {
  max-width: 80ch;
  font-size: 18px;
  margin: 0 auto;
}

.brands-grid figure,
.wp-block-group.brands-grid .wp-block-image,
.wp-block-group.brands-grid .wp-block-column {
  flex: 0 0 200px;
  width: 200px;
  max-width: 200px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.brands-grid figure img,
.wp-block-group.brands-grid img {
  max-width: 180px;
  max-height: 130px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brands-grid figure img:hover,
.wp-block-group.brands-grid img:hover {
  transform: scale(1.1);
}

@media (max-width: 1060px) {
  .wp-block-group.brands-grid > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, 200px);
    column-gap: 6rem;
    row-gap: 1rem;
  }
}

@media (max-width: 600px) {
  .wp-block-group.brands-grid > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, 150px);
    column-gap: 2rem;
    row-gap: 2rem;
  }
  
  .brands-grid figure,
  .wp-block-group.brands-grid .wp-block-image,
  .wp-block-group.brands-grid .wp-block-column {
    flex: 0 0 150px;
    width: 150px;
    max-width: 150px;
    height: 120px;
  }
  
  .brands-grid figure img,
  .wp-block-group.brands-grid img {
    max-width: 140px;
    max-height: 110px;
  }
  
  .brands {
    padding: 4rem 1rem;
  }
  
  .brands-grid {
    padding-top: 1rem;
  }
  
  .brands h2 {
    font-size: 32px;
    padding-bottom: 1.5rem;
  }
  
  .brands p {
    font-size: 16px;
  }
}


.wp-block-cover {
  position: relative;
}

.wp-block-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.wp-block-cover .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}

.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3,
.wp-block-cover h4,
.wp-block-cover h5,
.wp-block-cover h6 {
  color: #fff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.wp-block-cover p {
  color: #fff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.featured-image-overlay {
  position: relative;
  overflow: hidden;
}

.featured-image-overlay img {
  width: 100%;
  height: auto;
  display: block;
}

.featured-image-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.featured-image-overlay .overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.team-section .wp-block-heading {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 80px;
}

.team-section h2 {
  margin-top: 120px;
}

.team-section .wp-block-columns {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.team-section .wp-block-column {
  text-align: center;
  flex: 0 0 auto;
}

.team-section .wp-block-image img {
  width: 256px;
  height: 384px;
  object-fit: cover;
  margin-bottom: 16px;
  display: block;
}

.team-section .wp-block-heading:not(:first-child) {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 4px;
}

.team-section p {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}

@media (max-width: 1400px) {
  .team-section .wp-block-columns {
    gap: 20px;
  }
}

@media (max-width: 940px) {
  .team-section .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    justify-items: center;
  }
  
  .team-section .wp-block-column {
    text-align: left;
  }
  
  .team-section .wp-block-heading:not(:first-child) {
    text-align: left;
  }
  
  .team-section p {
    text-align: left;
  }

  .team-section .wp-block-image img {
    width: 240px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .team-section .wp-block-heading:first-child {
    font-size: 36px;
    margin-bottom: 40px;
  }
  
}

.team-section-alt {
  max-width: 1450px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.team-section-alt .wp-block-columns {
  gap: 1rem;
  margin-bottom: 1rem;
}

.team-section-alt .wp-block-cover {
  overflow: hidden;
  min-height: 700px;
  align-items: flex-end;
  
}

.team-section-alt .wp-block-cover:before {
  background: none !important;
}

.team-section-alt .wp-block-cover__inner-container {
  padding: 1.25rem;
  align-items: flex-start !important;
  text-align: left !important;
}

.team-section-alt .wp-block-cover h3 {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.4px;
  line-height: 44.8px;
  color: #fff;
  text-align: left !important;
  text-shadow: none !important;
}

.team-section-alt .wp-block-cover p {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.1px;
  line-height: 28.8px;
  margin: 0;
  color: #fff;
  text-align: left !important;
}

@media (max-width: 1270px) {
  .team-section-alt .wp-block-columns {
    flex-wrap: wrap !important;
  }

  .team-section-alt .wp-block-column {
    flex: 0 0 calc(50% - 0.5rem) !important;
    max-width: calc(50% - 0.5rem) !important;
    min-width: calc(50% - 0.5rem) !important;
  }
}

@media (max-width: 782px) {
  .team-section-alt {
    margin: 3rem auto;
  }

  .team-section-alt > .wp-block-heading {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .team-section-alt .wp-block-columns {
    flex-direction: column;
    align-items: center;
  }

  .team-section-alt .wp-block-column {
    flex: 1 !important;
    max-width: 100% !important;
    min-width: 100% !important;
  }

  .team-section-alt .wp-block-cover {
    min-height: 500px;
    max-width: 600px;
    margin: 0 auto;
  }

  .team-section-alt .wp-block-cover h3 {
    font-size: 28px;
    line-height: 36px;
    padding-bottom: 10px;
  }

  .team-section-alt .wp-block-cover p {
    font-size: 18px;
    line-height: 26px;
  }
}

/* Footer Container */
.footer {
  background-color: #1e2022;
  color: #ffffff;
  padding: 60px 20px 40px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 30px;
}

.footer-logo img {
  height: 60px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.footer-logo a {
  display: inline-block;
  line-height: 0;
}

.footer-logo a:hover img {
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
  list-style: none;
}

.footer-links a {
  color: #ffffff;
  text-decoration: underline;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  align-items: center;
}

.social-icons a {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.3s ease;
}

.social-icons a:hover {
  opacity: 0.7;
}

.social-icons img {
  height: 60px;
  width: auto;
  display: block;
}

.footer-copyright {
  font-size: 13px;
  line-height: 1.2;
  /* color: #d0d0d0; */
}

.footer-copyright p {
  margin-bottom: 6px;
}

.heart {
  color: #ff0000;
}

.footer-hours h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
}

.hours-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hours-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.day {
  font-weight: 600;
  font-size: 15px;
}

.time {
  font-size: 15px;
  
}

.hours-note {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5; 
}

.footer-contact h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: #3a3d42;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info a,
.contact-info span:first-child {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.contact-info a:hover {
  opacity: 0.7;
}

.contact-label {
  font-size: 13px;
  color: #a0a0a0;
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 30px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1;
  }

  .logo {
    margin: 0;
    display: flex;
    align-items: center;
  }

  .logo-text-main {
    font-size: 28px;
  }

  .logo-text-bottom {
    font-size: 20px;
  }

  .footer-links {
    margin-bottom: 25px;
  }

  .social-icons {
    gap: 35px;
    margin-bottom: 40px;
  }

  .footer-hours h3,
  .footer-contact h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .contact-item {
    gap: 12px;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 30px 16px 24px;
  }

  .footer-container {
    gap: 32px;
  }

  .logo-text-main {
    font-size: 24px;
  }

  .logo-text-bottom {
    font-size: 18px;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
  }

  .social-icons svg {
    width: 18px;
    height: 18px;
  }

  .footer-copyright {
    font-size: 12px;
  }

  .hours-content {
    gap: 16px;
  }

  .contact-content {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero-cover h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    padding: 0 1rem;
  }
  
  .hero-cover p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .wp-block-cover.hero-cover-page .wp-block-cover__inner-container p,
  .wp-block-cover.hero-cover-page p {
    font-size: 20px !important;
    line-height: 30px !important;
    max-width: 100% !important;
  }
}

/* ============================================
   CAROUSEL STYLES
   ============================================ */

/* Full Slider */
.wp-block-gallery.slider-full {
  position: relative;
  overflow: hidden;
  margin: 3rem 0;
  max-height: fit-content;
}

.slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  height: 100%;
}

.wp-block-gallery.slider-full .wp-block-image {
  flex: 0 0 100%;
  width: 100%;
}

.wp-block-gallery.slider-full .wp-block-image figure {
  margin: 0;
  position: relative;
  height: 100%;
}

.wp-block-gallery.slider-full .wp-block-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.wp-block-gallery.slider-full .wp-block-image figcaption {
  padding: 1rem 1rem 0;
  text-align: center;
  font-size: 0.7rem;
  margin-top: 0.5rem;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  color: black;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover:not(:disabled) {
  background-color: #f8f8f8;
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
  display: block;
}

.slider-arrow-prev {
  left: 1rem;
}

.slider-arrow-next {
  right: 1rem;
}

/* Auto Slider with Dots */
.wp-block-gallery.slider-auto-dots {
  position: relative;
  overflow: hidden;
  margin: 3rem 0;
  max-height: 600px;
}

.single-carousel-container {
  max-width: 1450px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 2rem;
  padding-right: 2rem;
}

.single-carousel-container .wp-block-gallery.slider-auto-dots {
  max-width: 100%;
}

.single-carousel-container .wp-block-gallery.slider-auto-dots .wp-block-image img {
  max-width: 1450px;
  margin: 0 auto;
}

.wp-block-gallery.slider-auto-dots .slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.wp-block-gallery.slider-auto-dots .slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.wp-block-gallery.slider-auto-dots .wp-block-image {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  aspect-ratio: 18 / 9;
}

.wp-block-gallery.slider-auto-dots .wp-block-image figure {
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 18 / 9;
  overflow: hidden;
}

.wp-block-gallery.slider-auto-dots .wp-block-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.wp-block-gallery.slider-auto-dots .wp-block-image figcaption {
  position: absolute;
  bottom: max(40px, calc(100vh * 0.05));
  width: 100%;
  padding: 1rem;
  font-size: 20px;
  font-weight: 600;
  color: black;
  text-align: center;
  z-index: 100;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.slider-dot.active {
  background-color: white;
  border-color: white;
  transform: scale(1.3);
}

.slider-play-pause {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(0, 0, 0, 0.1);
  color: white;
  border: none;
  padding: 0.75rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 3;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-play-pause:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.slider-play-pause svg {
  width: 20px;
  height: 20px;
}

.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 3;
}

.slider-progress-bar {
  height: 100%;
  background-color: white;
  width: 0%;
  transition: width 0.1s linear;
}

/* Mini Slider */
.wp-block-gallery.slider-mini {
  max-height: 350px;
}

.wp-block-gallery.slider-mini .wp-block-image {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 8 / 5;
  display: block;
}

.wp-block-gallery.slider-mini .wp-block-image figure {
  width: 100%;
  height: 350px;
  overflow: hidden;
  margin: 0;
  position: relative;
}

.wp-block-gallery.slider-mini .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.wp-block-gallery.slider-mini .wp-block-image figcaption {
  bottom: 20px !important;
}

.wp-block-gallery.slider-mini .slider-dots {
  bottom: 20px;
}

.wp-block-gallery.slider-mini .slider-dot {
  width: 5px;
  height: 5px;
}

.wp-block-gallery.slider-mini .slider-play-pause {
  display: none !important;
}

/* 2-Column Gallery */
.wp-block-gallery.columns-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 0;
}

.wp-block-gallery.columns-2.has-nested-images figure.wp-block-image {
  flex: 0 0 calc(50% - 1.5rem);
  margin: 0;
  position: relative;
}

.wp-block-gallery.columns-2.has-nested-images figure.wp-block-image::before {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.wp-block-gallery.columns-2.has-nested-images figure.wp-block-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wp-block-gallery.columns-2.has-nested-images figure.wp-block-image figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.875rem;
  padding: 0.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
}

/* Double Gallery Layout */
.double-gallery {
  gap: 40px;
  flex-wrap: nowrap;
  margin-top: 40px;
}

.double-gallery > * {
  flex: 1 1 100%;
  max-width: 100%;
}

.double-gallery > figure {
  margin: 0 !important;
}

@media (max-width: 768px) {
  .slider-arrow {
    padding: 0.5rem;
  }

  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }

  .slider-arrow-prev {
    left: 0.5rem;
  }

  .slider-arrow-next {
    right: 0.5rem;
  }

  .wp-block-gallery.columns-2 {
    gap: 1rem;
  }

  .wp-block-gallery.columns-2.has-nested-images figure.wp-block-image {
    flex: 0 0 100%;
  }

  .wp-block-gallery.slider-mini .wp-block-image figure {
    height: 220px;
  }

  .wp-block-gallery.slider-auto-dots {
    max-height: 300px;
    margin: 1.5rem 0;
  }

  .wp-block-gallery.slider-auto-dots .wp-block-image {
    aspect-ratio: 16 / 9;
  }

  .wp-block-gallery.slider-auto-dots .wp-block-image figure {
    aspect-ratio: 16 / 9;
  }

  .double-gallery {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 30px;
    width: calc(100% + 40px);
  }

  .double-gallery > figure {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0 !important;
  }

  .double-gallery img {
    width: 100%;
    height: auto;
  }
}

/* News Form */
.news-form-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 60px 150px;
  background: #ffffff; 
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-cover .news-form-header,
.news-form-header {
  text-align: center;
  margin-bottom: 35px;
  color: #000 !important;
}

.hero-cover .news-form-header h1,
.hero-cover .news-form-header h2,
.hero-cover .news-form-header h3,
.hero-cover .news-form-header h4,
.news-form-header h1 {
  font-size: 48px;
  font-weight: 900;
  margin: 0 0 8px 0;
  color: #000 !important;
}

.hero-cover .news-form-header h2,
.news-form-header h2 {
  font-size: 48px;
  font-weight: 900;
  margin: 0 0 15px 0;
  color: #000 !important;
  text-shadow: none !important;
}

.hero-cover .news-form-header p,
.news-form-header p {
  font-size: 16px;
  color: #333 !important;
  margin: 0;
  padding-top: 20px;
}

.hero-cover .news-form-header * {
  color: #000 !important;
}

.news-form-group {
  margin-bottom: 20px;
}

.news-form-group label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
}

.news-form-group input[type="text"],
.news-form-group input[type="email"],
.news-form-group select {
  width: 100%;
  padding: 20px 35px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s;
  background: #ffffff;
}

.news-form-group input:focus,
.news-form-group select:focus {
  outline: none;
  border-color: #333;
}

.news-form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.news-form-checkbox-group {
  margin: 45px 0;
}

.news-form-checkbox-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.news-form-checkbox-item input[type="checkbox"] {
  margin: 3px 15px 0 0;
  width: 22px;
  height: 22px;
  cursor: pointer;
  flex-shrink: 0;
}

.news-form-checkbox-item label {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  cursor: pointer;
}

.news-form-consent-box {
  background: #f8f8f8;
  padding: 20px 20px;
  border-radius: 4px;
  margin: 45px 0;
}

.news-form-consent-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.news-form-consent-item:last-child {
  margin-bottom: 0;
}

.news-form-consent-item input[type="checkbox"] {
  margin: 3px 10px 0 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.news-form-consent-item label {
  font-size: 12px;
  line-height: 1.6;
  color: #333;
  cursor: pointer;
}

.news-form-submit-btn {
  width: 100%;
  padding: 15px;
  background: #1a1a1a;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}

.news-form-submit-btn:hover {
  background: #333;
}

.news-form-privacy-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
}

.news-form-privacy-link a {
  color: #333;
  text-decoration: none;
}

.news-form-privacy-link a:hover {
  text-decoration: underline;
}

.news-form-success-message {
  background: #4caf50;
  color: white;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: center;
}

.news-form-error-message {
  background: #f44336;
  color: white;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .news-form-container {
    padding: 30px 20px;
    margin: 20px 5px;
    max-width: calc(100% - 10px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
  }
  
  .hero-cover .news-form-container {
    margin-left: -1rem;
    margin-right: -1rem;
    max-width: calc(100% + 4rem);
  }

  .news-form-header {
    margin-bottom: 25px;
  }

  .hero-cover .news-form-header h1,
  .news-form-header h1 {
    font-size: 28px;
    margin: 0 0 10px 0;
  }

  .hero-cover .news-form-header p,
  .news-form-header p {
    font-size: 14px;
    padding-top: 10px;
  }

  .news-form-group {
    margin-bottom: 18px;
  }

  .news-form-group label {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .news-form-group input[type="text"],
  .news-form-group input[type="email"],
  .news-form-group select {
    padding: 12px 16px;
    font-size: 16px;
  }

  .news-form-group select {
    background-position: right 12px center;
  }

  .news-form-checkbox-group {
    margin: 30px 0;
  }

  .news-form-checkbox-item {
    margin-bottom: 20px;
  }

  .news-form-checkbox-item input[type="checkbox"] {
    margin: 2px 12px 0 0;
    width: 20px;
    height: 20px;
  }

  .news-form-checkbox-item label {
    font-size: 14px;
    line-height: 1.6;
  }

  .news-form-consent-box {
    padding: 15px;
    margin: 30px 0;
  }

  .news-form-consent-item input[type="checkbox"] {
    margin: 2px 8px 0 0;
    width: 16px;
    height: 16px;
  }

  .news-form-consent-item label {
    font-size: 11px;
    line-height: 1.5;
  }

  .news-form-submit-btn {
    padding: 14px;
    font-size: 15px;
    margin-top: 8px;
  }

  .news-form-privacy-link {
    margin-top: 15px;
    font-size: 12px;
  }
}

/* Contact Form */
.contact-form-wrapper {
  max-width: 460px;
  margin: 60px auto;
  padding: 20px;
}

.contact-form-wrapper h2 {
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper textarea,
.contact-form-wrapper select {
  width: 100%;
  padding: 15px;
  margin: 0 0 15px 0;
  border: none;
  border-radius: 4px;
  background-color: #ffffff;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
  display: block;
}

.contact-form-wrapper textarea {
  min-height: 50px;
  resize: vertical;
  font-family: inherit;
}

.contact-form-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding-right: 40px;
  cursor: pointer;
}

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
  color: #999;
}

.contact-form-wrapper .checkbox-group {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.contact-form-wrapper .checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.5;
}

.contact-form-wrapper .checkbox-wrapper:last-child {
  margin-bottom: 0;
}

.contact-form-wrapper .checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.contact-form-wrapper .checkbox-wrapper label {
  cursor: pointer;
  user-select: none;
}

.contact-form-wrapper button[type="submit"] {
  width: 100%;
  padding: 15px;
  background-color: #ffffff;
  color: #000000;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 15px;
}

.contact-form-wrapper button[type="submit"]:hover {
  background-color: #f0f0f0;
}

.contact-form-wrapper .privacy-link {
  text-align: center;
}

.contact-form-wrapper .privacy-link a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.contact-form-wrapper .privacy-link a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.contact-form-success-message {
  background: #4caf50;
  color: white;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: center;
}

.contact-form-error-message {
  background: #f44336;
  color: white;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    max-width: 90%;
    padding: 15px;
  }
  
  .hero-cover .contact-form-wrapper {
    margin-left: -2rem;
    margin-right: -2rem;
    width: calc(100% + 4rem);
    max-width: calc(100% + 4rem);
  }
  
  .contact-form-wrapper h2 {
    font-size: 24px;
  }
}


/* ====== Timeline Container ====== */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 80px 20px;
}

.timeline-container .wp-block-group{
  margin-top: 0 !important;
}

/* ====== Each Step ====== */
.step {
  position: relative;
  margin: 100px 0;
  padding-left: 70px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease forwards;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.3s; }
.step:nth-child(3) { animation-delay: 0.5s; }
.step:nth-child(4) { animation-delay: 0.7s; }
.step:nth-child(5) { animation-delay: 0.9s; }

/* Vertical connecting line with gradient progress */
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, #000 var(--line-progress, 0%), #e0e0e0 var(--line-progress, 0%));
  z-index: 0;
  transition: none;
}

/* Number circles with sticky behavior */
.step-number-wrapper {
  position: absolute;
  top: 0;
  left: 6px;
  width: 48px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.step-number {
  position: sticky;
  top: 50vh;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step:hover .step-number {
  background: #000;
  color: #fff;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ====== Inner Group (Image + Text) ====== */
.step .wp-block-group {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step .wp-block-group:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

/* Image container */
.step .wp-block-group > figure,
.step .wp-block-group > .wp-block-image {
  margin: 0 !important;
  padding: 0 !important;
}

.step .wp-block-group{
  padding: 0 !important;
}

/* Image */
.step .wp-block-group img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

/* Texts inside */
.step p:first-of-type {
  font-size: 12px;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.5px;
  margin: 20px 24px 6px 24px;
}

.step h2,
.step h3 {
  font-size: 48px;
  font-weight: 900;
  margin: 24px 24px 36px;
}

.step p:last-of-type {
  color: #444;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 24px 24px 24px;
}

/* ====== Animation ====== */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
  .timeline-container {
    padding: 40px 10px;
  }

  .step {
    padding-left: 50px;
    margin: 60px 0;
  }

  .step::before {
    left: 20px;
  }

  .step-number-wrapper {
    left: 0;
  }

  .step-number {
    top: 50vh;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .step img {
    height: 220px;
  }

  .step h2,
  .step h3 {
    font-size: 22px;
    margin: 0 20px 12px 20px;
  }

  .step p:first-of-type {
    margin: 16px 20px 6px 20px;
  }

  .step p:last-of-type {
    font-size: 15px;
    margin: 0 20px 20px 20px;
  }
}

/* ========================================================================
   Text + Video Section (WordPress Block Editor)
   ======================================================================== */

.wp-block-group.text-video-section {
  display: flex;
  flex-wrap: nowrap;
  max-width: 100%;
  margin: 0;
  padding: 1.5rem;
  
  align-items: center;
  background-color: #1e2022;
  justify-content: center;
}

.text-video-section > .wp-block-paragraph,
.text-video-section > p {
  font-size: 18px;
  line-height: 28.8px;
  color: #fff;
  flex: 1;
  max-width: 65ch;
  margin: 0;
  padding: 0 1rem 0 2rem;
}

.text-video-section .wp-block-embed {
  flex: 1;
  max-width: 630px;
  margin: 0;
  padding: 1rem;
}

.text-video-section .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.text-video-section .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

@media (max-width: 968px) {
  .text-video-section {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .text-video-section > .wp-block-paragraph,
  .text-video-section > p {
    font-size: 16px;
  }
}

/* Full Image Carousel - Shows entire image without cropping */
.full-image-carousel-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  margin-bottom: 100px;
}

.full-image-carousel-wrapper h2 {
  font-size: 32px;
  font-weight: 900;
  padding-bottom: 40px;
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image {
  position: relative;
  max-width: 1450px;
  margin-left: auto;
  margin-right: auto;
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .wp-block-image {
  flex: 0 0 calc((100% - 40px) / 3);
  width: calc((100% - 40px) / 3);
  display: block;
  height: 600px;
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .wp-block-image figure {
  margin: 0;
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .wp-block-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .wp-block-image figcaption {
  position: absolute;
  bottom: 40px;
  width: 100%;
  padding: 1rem;
  font-size: 20px;
  font-weight: 600;
  color: black;
  text-align: center;
  z-index: 100;
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-arrow:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-arrow-prev {
  left: 20px;
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-arrow-next {
  right: 20px;
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-arrow svg {
  width: 24px;
  height: 24px;
  color: #333;
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-dot.active {
  background-color: white;
  border-color: white;
  transform: scale(1.3);
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-play-pause {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-play-pause:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-play-pause svg {
  width: 20px;
  height: 20px;
  color: #333;
}

@media (max-width: 968px) {
  .full-image-carousel-wrapper .wp-block-gallery.slider-full-image .wp-block-image {
    flex: 0 0 100%;
    width: 100%;
  }
  
  .full-image-carousel-wrapper .wp-block-gallery.slider-full-image .slider-track {
    gap: 0;
  }
}

.wp-block-gallery.has-nested-images.columns-default {
  max-width: 1350px;
  margin-left: auto;
  margin-right: auto;
  gap: 1rem !important;
}

.wp-block-gallery.has-nested-images.columns-default .wp-block-image {
  margin: 0;
}

.wp-block-gallery.gallery-row.has-nested-images {
  max-width: 1250px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 1.5rem !important;
  align-items: flex-start !important;
  justify-content: center !important;
  flex-direction: row !important;
  grid-template-columns: none !important;
}

.wp-block-gallery.gallery-row.has-nested-images.columns-default {
  columns: auto !important;
  column-gap: 1rem !important;
}

.wp-block-gallery.gallery-row .wp-block-image {
  margin: 0 !important;
  flex: 1 !important;
  min-width: 0 !important;
  max-width: 50% !important;
  width: auto !important;
  display: block !important;
}

.wp-block-gallery.gallery-row .wp-block-image figure {
  margin: 0 !important;
  height: auto !important;
  width: 100% !important;
}

.wp-block-gallery.gallery-row .wp-block-image img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  .wp-block-gallery.gallery-row.has-nested-images {
    flex-direction: column !important;
    gap: 2rem !important;
  }
  
  .wp-block-gallery.gallery-row .wp-block-image {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ============================================
   HAMBURGER MENU
   ============================================ */

.hamburger {
  display: none;
}

.desktop-nav {
  display: block;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 1001;
  padding: 80px 40px 40px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #1d2022;
  transition: opacity 0.3s ease;
}

.mobile-nav-close:hover {
  opacity: 0.7;
}

.mobile-menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu-items li {
  border-bottom: 1px solid #e5e5e5;
}

.mobile-menu-items li a {
  display: block;
  padding: 16px 0;
  color: #1d2022;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-menu-items li a:hover,
.mobile-menu-items li.current-menu-item a {
  color: #c41e3a;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 968px) {
  .header-container {
    flex-direction: row-reverse;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
  }
  
  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #1d2022;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .hamburger:hover span {
    background: #c41e3a;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 16px;
  max-width: 800px;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.3s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.3s ease;
  z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

body.lightbox-open {
  overflow: hidden;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-caption {
    font-size: 14px;
    padding: 15px;
  }

  .lightbox-img {
    max-height: 80vh;
  }
}

/* ============================================
   404 ERROR PAGE
   ============================================ */

.error-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.error-404 .wp-block-group {
  margin: 0 auto;
}

.error-404-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.error-404-title {
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 20px 0;
  color: #1d2022;
}

.error-404-subtitle {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 20px 0;
  color: #1d2022;
}

.error-404-text {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 40px 0;
  padding: 0 20px;
}

.error-404-home-link {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 40px;
  background-color: #1d2022;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.error-404-home-link:hover {
  background-color: #000;
}

@media (max-width: 768px) {
  .error-404 {
    padding: 40px 0;
  }

  .error-404-title {
    font-size: 80px;
  }

  .error-404-subtitle {
    font-size: 24px;
  }

  .error-404-text {
    font-size: 16px;
    padding: 0 15px;
  }

  .error-404-search .search-form {
    flex-direction: column;
    padding: 0 20px;
  }

  .error-404-search .search-form button,
  .error-404-search .search-form input[type="submit"] {
    width: 100%;
  }

  .error-404-home-link {
    padding: 12px 30px;
    font-size: 14px;
  }
}

