.san-logo-block {
  position: relative;
  z-index: 2;
  max-width: 1920px;
  padding: 20px;
}


.san-header {
  position: relative;
  width: 100%;
  max-width: 1640px;
  margin: 30px auto 0 ;
}

.san-header-content-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px;
  display: flex;
}

.san-header-content-wrapper-inner {
  border: 5px solid white;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  border-radius: 15px;
}

.san-header-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.san-header h1 {
  font-size: clamp(65px, 12vw, 148px);
  margin-bottom: 20px;
  font-weight: bold;
  font-family: 'Helvetica Now Condensed', sans-serif;
  line-height: 0.9;
}

.san-header p.san-header-sub-title {
  font-size: clamp(20px, 3vw, 35px);
  font-weight: medium;
}

.san-header-content-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.san-header-content-text p {   
  max-width: 620px;
  font-size: clamp(15px, 3vw,16px);
}


@media (min-width: 1024px) {
  .san-header-content-text {
    flex-direction: row;
    justify-content: space-between;
  }
}

.san-header-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: white;
  padding: 7.5px 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s;
  border-radius: 15px;
  align-self: flex-start;
  letter-spacing: 0.05em;
  background-color: #E55400;
}

.san-header-link:hover {
  color: white;
}

.san-hero {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.san-hero-image {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.san-hero-content {
  background: black;
  padding: 60px 20px 120px 20px;
  width: 100%;
}

.san-hero-content-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.san-hero h2 {
  font-size: 30px;
  font-weight: bold;
  color: white;
  margin-bottom: 30px;
  text-align: left;
  font-family: 'Helvetica Now Condensed', sans-serif;
}

.san-hero-slider {
  list-style: none;
  padding: 0;
  margin: 0;
}

.san-hero-slider-item {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  border-radius: 15px;
  padding: 50px 20px 20px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

/* Hide LightSlider controls/pagers when slider is disabled */
.san-hero:not(.slider-active) .lSAction,
.san-hero:not(.slider-active) .lSPager {
  display: none !important;
}

/* Styles for the fr-qc-key-findings slider structure */
.fr-qc-key-findings-slider-wrapper {
  width: 100%;
  margin: 25px 0 0 0;
}

#fr-qc-key-findings-slider {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-finding-item {
  padding: 25px 0 0 0;
  box-sizing: border-box;
}

.key-finding-item-inner {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  border-radius: 15px;
  padding: 30px 20px 20px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
}

.key-finding-item h3 {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: black;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin: 0;
}

.key-finding-item p {
  color: white;
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
}

/* Hide LightSlider controls/pagers when slider is disabled */
.san-hero:not(.slider-active) .lSAction,
.san-hero:not(.slider-active) .lSPager {
  display: none !important;
}

/* Styles for slider peeking mode on mobile */
.san-hero.slider-active .lSSlideOuter {
  position: relative;
  overflow: visible;
}

.san-hero.slider-active .lSSlideWrapper {
  overflow: visible;
}

.san-hero.slider-active #fr-qc-key-findings-slider .lslide {
  transition: none;
  opacity: 1;
  transform: none;
}

.san-hero.slider-active #fr-qc-key-findings-slider .lslide.active {
  opacity: 1;
  transform: none;
}

.san-hero-slider-item span {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: black;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.san-hero-slider-item p {
  color: white;
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
}

/* LightSlider controls styling */


.san-hero .lSSlideOuter .lSAction > a {
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.san-hero .lSSlideOuter .lSAction > a:hover {
  background-color: white;
}

/* Mobile pagination dots - positioned on the left */
.san-hero.slider-active .lSPager {
  position: absolute;
  bottom: -60px;
  left: 20px;
  text-align: left;
  margin: 0;
  padding: 0;
}

/* Mobile navigation buttons - positioned on the right */
.san-hero.slider-active .lSAction {
  position: absolute;
  bottom: -60px;
  right: 20px;
  top: auto;
  width: auto;
  display: flex !important;
  gap: 10px;
}

.san-hero.slider-active .lSAction > a {
  position: static;
  margin-top: 0;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  background-image: none;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.san-hero.slider-active .lSAction > .lSPrev:before,
.san-hero.slider-active .lSAction > .lSNext:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
}

.san-hero.slider-active .lSAction > .lSPrev:before {
  border-width: 6px 8px 6px 0;
  border-color: transparent #333 transparent transparent;
}

.san-hero.slider-active .lSAction > .lSNext:before {
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #333;
}

.san-hero.slider-active .lSPager.lSpg > li {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin: 0 5px 0 0;
  width: 10px;
  height: 10px;
  display: inline-block;
}

.san-hero.slider-active .lSPager.lSpg > li.active,
.san-hero.slider-active .lSPager.lSpg > li:hover {
  background-color: white;
}

.san-hero.slider-active .lSPager.lSpg > li a {
  display: none;
}

/* Styles when slider is disabled (above 1024px) */
@media (min-width: 1024px) {
  .san-hero-image {
    height: 700px;
  }
  
  .san-hero-content {
    padding: 0 20px 60px;
  }
  
  .san-hero h2 {
    font-size: 45px;
    text-align: center;
  }
  
  .san-hero-slider-item p {
    font-size: 16px;
  }
  
  #fr-qc-key-findings-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -10px;
  }

  .key-finding-item {
    flex: 0 0 calc(25% - 20px);
    max-width: calc(25% - 20px);
    margin: 0 10px 10px 10px !important;
    opacity: 1;
    transform: none;
    padding: 25px 0 0 0;
  }

  #fr-qc-key-findings-slider .lslide {
    opacity: 1;
    transform: none;
    width: auto !important;
  }
  
  .key-finding-item p {
    font-size: 16px;
  }
}



.san-content-wrapper, .san-content-wrapper--right {
  display: grid;
  grid-template-areas:
    "title"
    "image"
    "content";
  max-width: 1320px;
  margin: auto;
  padding: 40px 20px;
  gap: 24px;
}

.san-content-wrapper--grey {
  background-color: #F4F4F6
}

p.san-content-title {
  grid-area: title;
  font-size: 22px;
  line-height: 1.3;
}

h2.san-content-title {
  grid-area: title;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.3;
}

.san-content {
  grid-area: content;
  font-size: 15px;
  line-height: 1.5;
}

.san-content a {
  color: blue;
  text-decoration: underline;
}

.san-content-image {
  grid-area: image;
  width: 100%;
  display: flex;
}

.san-content-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .san-content-wrapper {
    grid-template-columns: 50% 50%;
    grid-template-areas:
      "image title"
      "image content";
    padding: 80px 20px;
    gap: 40px;
  }
  .san-content-wrapper--right {
    grid-template-columns: 50% 50%;
    grid-template-areas:
      "title image"
      "content image";
    padding: 80px 20px;
    gap: 40px;
  }

  p.san-content-title {
    font-size: 25px;
    display: flex;
    align-items: flex-end;
    min-height: 100%;
  }
  h2.san-content-title {
    font-size: 45px;
    display: flex;
    align-items: flex-end;
    min-height: 100%;
  }

  .san-content {
    font-size: 16px;
  }
}

.san-content-list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
}

.san-content-list-item svg {
  margin-bottom: 15px;
  flex-shrink: 0;
}

.san-content-list-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px 0;
}

.san-content-list-item p {
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .san-content-list-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }
  
  .san-content-list-item svg {
    margin-bottom: 0;
  }
  
  .san-content-list-item div {
    flex: 1;
  }
  
  .san-content-list-item h3 {
    font-size: 22px;
  }
}




.san-constellation-slider {
  position: relative;
  padding: 60px 0;
  background-color: #F7F7FC;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

.san-constellation-slider-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.san-constellation-slider-title { 
  width: 100%;
  margin-bottom: 20px;
  position: relative;
}

.ras-tots-shades-slider-title h2 {
  margin: 0 0 15px 0;
  font-size: 56px !important;
  line-height: 1.1;
  color: #000000;
}

.san-constellation-slider-controls {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.san-constellation-slider-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.san-constellation-slider-nav-controls {
  display: flex;
  gap: 10px;
}

.san-constellation-slider-nav {
  background: rgb(0 0 0);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 10;
  flex-shrink: 0;
  padding: 0;
}

.san-constellation-slider-nav:hover {
  background: rgba(0, 0, 0, 0.9);
}

.san-constellation-slider-nav:disabled {
  background: rgba(0, 0, 0, 0.3);
  cursor: not-allowed;
}

.san-constellation-slider-nav:disabled:hover {
  background: rgba(0, 0, 0, 0.3);
}

.san-constellation-slider-chevron {
  color: white;
}

.san-constellation-slider-wrapper {
  overflow: hidden;
  position: relative;
  margin-right: -100vw;
  padding-right: 100vw;
}

.san-constellation-slider-track {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.3s ease;
  cursor: grab;
  user-select: none;
}

.san-constellation-slider-track:active {
  cursor: grabbing;
}

/* San SOS Slider Styles */
.san-sos-slider-wrapper {
    position: relative;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    height: 50vh;
    min-height: 640px;
    overflow: hidden;
    max-width: 1920px;
    margin-top: 0;
    margin-bottom: 0;
}

@media (min-width: 481px) {
    .san-sos-slider-wrapper {
        height: 75vh;
        min-height: auto;
    }
}

/* Fix for 1280x720 screens - ensure minimum height */
@media (min-width: 1280px) and (max-width: 1366px) {
    .san-sos-slider-wrapper {
        min-height: 700px;
    }
}

.san-sos-slide-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(30deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 23%);
    z-index: 2;
}

.san-sos-main-content {
    position: relative;
    height: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.san-sos-slides {
    height: 100%;
    position: relative;
    z-index: 2;
}

.san-sos-slide {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.san-sos-slide.active {
    opacity: 1;
    display: block;
}

.san-sos-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.san-sos-slide-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.san-sos-slide-content {
    position: relative;
    z-index: 10 !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem;
    color: white;
    max-width: 1920px;
    margin: 0 auto;
    box-sizing: border-box;
}

.san-sos-text {
}

.san-sos-text h2 {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

.san-sos-slide-number {
    font-size: 18px;
    color: white;
    margin-bottom: 15px;
    font-weight: bold;
}

.san-sos-score {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.san-sos-content-text {
    color: white;
    font-size: 16px;
    line-height: 1.5;
    max-width: 580px;
}

.san-sos-content-text a {
    color: #FF5000;
    text-decoration: underline;
}

.san-sos-slide-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    color: white;
    position: relative;
    z-index: 5;
}

.san-sos-text {
    width: 100%;
    text-align: left;
    padding-top: 2rem;
    position: relative;
    z-index: 10;
}

.san-sos-intro {
    font-size: 12px;
    color: white;
    margin: 0 0 3rem;
    text-transform: uppercase;
    display: flex;
    gap: 5px;
    align-items: center;
}

.san-sos-slide-number {
    font-size: 19px;
    color: white;
    margin: 0 0 2rem;
    font-weight: bold;
}

.san-sos-text h2 {
    font-family: 'Helvetica Now Condensed', sans-serif !important;
    font-size: 30px;
    color: white;
    margin: 0 0 1rem;
    font-weight: bold;
}

.san-sos-text .san-sos-state {
    font-size: 15px;
    color: white;
    line-height: 1.4;
}

.san-sos-thumbnail {
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
    transform: translateX(0);
    position: relative;
    aspect-ratio: 1/1;
}

.san-sos-thumbnail-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    justify-content: center;
    height: 100%;
}

.san-sos-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px 0px 10px 0px rgb(255 255 255 / 50);
    border: 1px solid rgba(255,255,255,0.75);
}

.san-sos-prev {
    transform: translateX(4rem);
}

.san-sos-next {
    transform: translateX(-4rem);
}

.san-sos-prev,
.san-sos-next {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
}

.san-sos-prev svg,
.san-sos-next svg {
    display: block;
}

.san-sos-prev:hover,
.san-sos-next:hover {
    border: none;
    background: none !important;
}

@media (min-width: 801px) {
    .san-sos-slide-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .san-sos-text {
        flex: 0 1 50%;
        padding-top: 0;
        max-width: 580px;
        margin-left: 40px;
    }

    .san-sos-thumbnail {
        width: auto;
        max-width: none;
        margin: 0;
        transform: translateX(-140px);
        aspect-ratio: auto;
    }

    .san-sos-thumbnail-nav {
        justify-content: flex-start;
    }

    .san-sos-thumbnail img {
        width: 300px;
        height: 300px;
    }

    .san-sos-intro {
        font-size: 22px;
    }

    .san-sos-slide-number {
        font-size: 30px;
    }

    .san-sos-text h2 {
        font-size: 45px !important;
    }

    .san-sos-text .san-sos-state {
        font-size: 16px;
        line-height: 1.5;
    }
}

@media (min-width: 1201px) {
    .san-sos-thumbnail {
        transform: translateX(-250px);
    }

    .san-sos-thumbnail img {
        width: 440px;
        height: 440px;
    }
}

/* Smaller thumbnails for 1280x720 to 1366x767 screens */
@media (min-width: 1280px) and (max-width: 1366px) {
    .san-sos-thumbnail img {
        width: 320px;
        height: 320px;
    }
    
    .san-sos-thumbnail {
        transform: translateX(-200px);
    }
}

.san-sos-thumbnails {
    position: absolute;
    right: -4rem;
    top: 50%;
    transform: translateY(-50%);
    display: none; /* Hidden by default, shown on larger screens */
    gap: 2rem;
    padding: 0;
    z-index: 11;
}

/* Show thumbnails on desktop screens */
@media (min-width: 1024px) {
    .san-sos-thumbnails {
        display: flex;
    }
}

/* Adjust positioning for very large screens */
@media (min-width: 1920px) {
    .san-sos-thumbnails {
        right: calc((100% - 1920px) / 2 + 1rem);
    }
}

.san-sos-thumb {
    display: none;
    width: 290px;
    height: 290px;
}

.san-sos-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Only show next thumbnail */
.san-sos-thumb.next {
    display: block;
    transform: scale(0.85);
    filter: brightness(0.4);
    cursor: pointer;
    box-shadow: 0px 0px 12px 2px rgba(0,0,0,0.75);
}

/* Footer Pods */
.san-sos-footer-pods {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 1rem;
    padding: 1.5rem 1rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    z-index: 10;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
}

.san-sos-footer-pods::-webkit-scrollbar {
    display: none;
}

.san-sos-pod {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    color: white;
    min-width: 120px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    font-weight: 500;
    display: flex;
    flex-direction: column;
}

.san-sos-pod-title {
    font-size: 11px;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.san-sos-pod-value {
    font-size: 18px;
    color: white;
    margin-top: auto;
}

@media (max-width: 800px) {
    .san-sos-slider-wrapper {
        height: 100vh;
        min-height: 640px;
    }

    .san-sos-slide-content {
        flex-direction: column;
        height: 100%;
        padding: 2rem;
        align-items: center;
        justify-content: center;
    }

    .san-sos-text {
        width: 100%;
        padding-top: 0;
        position: relative;
        z-index: 10;
        order: 2;
        margin-top: 2rem;
    }

    .san-sos-intro {
        font-size: 12px;
        margin-bottom: 0.5rem;
    }

    .san-sos-slide-number {
        font-size: 19px;
        margin-bottom: 0.5rem;
    }

    .san-sos-text h2 {
        font-size: 30px;
        margin-bottom: 1rem;
    }

    .san-sos-state,
    .san-sos-content-text {
        font-size: 15px;
        line-height: 1.4;
    }

    .san-sos-thumbnail {
        width: 100vw;
        max-width: none;
        margin: 0;
        transform: none;
        position: relative;
        aspect-ratio: auto;
        order: 1;
    }

    .san-sos-thumbnail-nav {
        display: flex;
        align-items: center;
        gap: 1rem;
        position: relative;
        justify-content: center;
    }

    .san-sos-thumbnail img.thumbnail {
        width: 300px;
        height: 300px;
        max-width: 90vw;
        max-height: 90vw;
        object-fit: cover;
        box-shadow: 0px 0px 10px 0px rgb(255 255 255 / 50);
        border: 1px solid rgba(255,255,255,0.75);
        border-radius: 15px;
    }

    .san-sos-prev,
    .san-sos-next {
        transform: none;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        pointer-events: auto;
    }

    .san-sos-prev svg,
    .san-sos-next svg {
        display: block;
    }

    .san-sos-prev:hover,
    .san-sos-next:hover {
        border: none;
        background: none !important;
    }

    .san-sos-thumbnails {
        display: none;
    }
}

@media (min-width: 768px) {
    .san-sos-footer-pods {
        gap: 2rem;
        padding: 3rem;
        justify-content: center;
        overflow-x: visible;
    }

    .san-sos-pod {
        min-width: 150px;
        padding: 2rem 3rem;
    }

    .san-sos-pod-title {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .san-sos-pod-value {
        font-size: 30px;
    }
}



.san-sos-navigation {
    position: absolute;
    top: 49%;
    transform: translateY(-50%);
    right: 2rem;
    width: 418px; /* Adjust based on your thumbnail section width */
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    margin-right: 320px;
}

.san-sos-navigation button:hover {border: none;background: none !important;}

.san-sos-prev {
    transform: translateX(3rem);
}

.san-sos-next {
    transform: translateX(-3rem);
}

.san-sos-prev,
.san-sos-next {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
}


.san-sos-prev svg,
.san-sos-next svg {
    display: block;
}

@media (max-width: 1920px) {
    .san-sos-thumbnail {
    }
}

@media (max-width: 1200px) and (min-width: 801px) {
    .san-sos-thumbnail img.thumbnail {
        width: 180px;
        height: 180px;
    }

    .san-sos-navigation {
        width: 280px;
        margin-right: 200px;
    }
}

/* Stargazing Interactive Map and Table Styles */
.san-interactive-stargazing-container {
  padding: 50px 0px;
  background: #fff;
}

.san-interactive-stargazing-container h2 {
  font-size: 30px;
  font-weight: bold;
  color: black;
  margin-bottom: 20px;
  padding: 0 10px;
}

.san-interactive-stargazing-container p {
  font-size: 16px;
  padding: 0 10px;
}

.san-interactive-stargazing-container p.san-stargazing-score-text {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.san-interactive-stargazing-inner {
  display: flex;
  flex-direction: column;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  gap: 20px;
}

.san-stargazing-content-wrapper {
  order: 2;
  flex: 1 1 auto;
}

.san-stargazing-map-section {
  order: 1;
  flex: 1 1 auto;
  position: relative;
  max-width: 1024px;
  margin: auto;
  width: 100%;
}

.san-leaflet-map-container {
  display: block;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.san-stargazing-content {
  flex: 1 1 auto;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  border-radius: 15px;
}

.san-stargazing-content h2 {
  font-size: 30px;
}

.san-stargazing-content a {
  color: #FF5000;
  text-decoration: underline;
}

.san-stargazing-navigation {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: flex-end;
}

.san-stargazing-nav-button {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  padding: 0;
  border: none;
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.san-stargazing-nav-button:hover {
  background-color: #555;
  transform: scale(1.1);
}

.san-stargazing-nav-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

.san-stargazing-nav-button:disabled svg path {
  stroke: #999;
}

.san-stargazing-location-number {
  font-size: 18px;
  color: black;
  margin-bottom: 10px;
  position: absolute;
  top: 10px;
  left: 10px;
  background: white;
  height: 40px;
  width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.san-stargazing-location-content-container {
  padding: 30px 20px;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.san-stargazing-location-content-container h3 {
  font-size: 22px;
  font-weight: bold;
  text-transform: none;
  margin: 0 !important;
}

.san-stargazing-location-content-container p {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.san-stargazing-score {
  font-weight: bold;
}

.san-stargazing-location-item {
  display: none;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.san-stargazing-location-item.active {
  display: block;
}

.san-stargazing-location-item img {
  display: block;
  width: 100%;
  height: auto;
}

.san-stargazing-image-container {
  position: relative;
}

.san-stargazing-rank {
  position: absolute;
  left: 30px;
  top: 15px;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #222;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  z-index: 2;
}

/* Leaflet Map Styles */
.san-leaflet-map-container .leaflet-control-attribution {
  display: none !important;
}

.san-leaflet-map-container .leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.san-leaflet-map-container .leaflet-control-zoom a {
  background: white !important;
  border: 1px solid #ddd !important;
  color: #666 !important;
  font-size: 16px !important;
}

.san-leaflet-map-container .leaflet-control-zoom a:hover {
  background: #f5f5f5 !important;
  color: #333 !important;
}

.san-leaflet-map-container .leaflet-container {
  background: white !important;
}

.san-leaflet-marker-custom {
  background: transparent !important;
  border: none !important;
}

.san-leaflet-marker-custom .leaflet-div-icon {
  background: transparent !important;
  border: none !important;
}

.san-marker-content {
  background-color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 2px solid #cccccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: #000000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  transform: scale(1);
}

.san-marker-content.active {
  background-color: #000000;
  width: 35px;
  height: 35px;
  border: 3px solid #ffffff;
  color: #ffffff;
  transform: scale(1.1);
}

.san-marker-content:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
}

.san-marker-content.active:hover {
  transform: scale(1.2) !important;
}

.san-stargazing-map-markers {
  display: none;
}

/* Table Styles */
.san-stargazing-table-container {
  max-width: 1640px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.san-stargazing-table-wrapper {
  position: relative;
}

@media (max-width: 1600px) {
  .san-stargazing-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
  }
  
  .san-stargazing-table-wrapper::-webkit-scrollbar {
    height: 8px;
  }
  
  .san-stargazing-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }
  
  .san-stargazing-table-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
  }
  
  .san-stargazing-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #999;
  }
  
  .san-stargazing-data-table {
    min-width: 1200px;
  }
}

.san-stargazing-table-container h2 {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

.san-stargazing-table-container p {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.san-stargazing-data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.san-stargazing-data-table thead th {
    background: white;
    border-bottom: 3px solid #FF5000;
    padding: 12px 8px;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    user-select: none;
    text-transform: none !important;
    font-size: 12px;
}

.san-stargazing-data-table thead th:hover {
    background: #f8f9fa;
}

.san-stargazing-data-table thead th.sortable::after {
    content: '↕';
    position: absolute;
    right: 4px;
    color: #ccc;
    font-size: 10px;
}

.san-stargazing-data-table thead th.sort-asc::after {
    content: '↑';
    color: #FF5000;
}

.san-stargazing-data-table thead th.sort-desc::after {
    content: '↓';
    color: #FF5000;
}

.san-stargazing-data-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.san-stargazing-data-table tbody tr:hover {
    background: #f8f9fa;
}

.san-stargazing-data-table tbody td {
    padding: 12px 8px;
    vertical-align: middle;
    font-size: 12px;
}

.san-stargazing-data-table tbody tr.hidden-row {
    display: none;
}

.san-show-more-button {
    background: #FF5000;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
    width: 100%;
}

.san-show-more-button:hover {
    background: #e55a00;
}

.san-show-more-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media (min-width: 1024px) {
  .san-interactive-stargazing-container {
      padding: 100px 0;
  }

  .san-interactive-stargazing-upper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }

  .san-interactive-stargazing-container p.san-stargazing-score-text {
    justify-content: center;
  }
  
  .san-interactive-stargazing-inner {
      flex-direction: row; 
      align-items: flex-start; 
  }

  .san-stargazing-content-wrapper {
      order: 1;
      flex: 1 1 30%;
      margin-right: 20px;
  }

  .san-stargazing-map-section {
      order: 2;
      flex: 1 1 70%;
      max-width: 70%;
  }

  .san-leaflet-map-container {
      height: 790px !important;
  }
  
  .san-stargazing-data-table thead th {
      padding: 12px 16px;
      font-size: 14px;
  }
  
  .san-stargazing-data-table tbody td {
      padding: 12px 16px;
      font-size: 14px;
  }
}

@media (max-width: 767px) {
  .san-leaflet-map-container {
    height: 500px !important;
    border-radius: 10px;
  }
  
  .san-stargazing-table-container {
      padding: 0 10px;
  }
  
  .san-stargazing-table-wrapper {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      position: relative;
  }
  
  .san-stargazing-table-wrapper::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 30px;
      height: 100%;
      background: linear-gradient(to left, rgba(255,255,255,0.9) 0%, transparent 100%);
      pointer-events: none;
      z-index: 1;
  }
  
  .san-stargazing-data-table {
      min-width: 900px;
      font-size: 12px;
  }
  
  .san-stargazing-data-table thead th,
  .san-stargazing-data-table tbody td {
      padding: 8px 4px;
      font-size: 10px;
      white-space: nowrap;
  }
  
  .san-stargazing-data-table thead th:first-child,
  .san-stargazing-data-table tbody td:first-child {
      padding-left: 8px;
  }
  
  .san-stargazing-data-table thead th:last-child,
  .san-stargazing-data-table tbody td:last-child {
      padding-right: 8px;
  }
}

.san-constellation-slider-wrapper .san-constellation-slider-item {
  flex: 0 0 280px;
  min-width: 280px;
  height: 400px;
}

.san-constellation-slider-item-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.san-constellation-slider-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 80px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.san-constellation-slider-name {
  color: white; 
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 4px 0;
  line-height: 1.2;
  text-align: center;
}

.san-constellation-slider-searches {    
  color: white;
  font-size: 16px;
  margin: 0;
  line-height: 1.2;
  text-align: center;
}

@media (min-width: 768px) {
  .san-constellation-slider-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }
  
  .san-constellation-slider-title {
    width: 300px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  
  .san-constellation-slider-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .san-constellation-slider-wrapper {
    flex: 1;
    margin-right: -100vw;
    padding-right: 100vw;
  }
  
  .san-constellation-slider-wrapper .san-constellation-slider-item {
    flex: 0 0 300px;
    min-width: 300px;
    height: 450px;
  }
}

@media (min-width: 1024px) {
  .san-constellation-slider-wrapper .san-constellation-slider-item {
    flex: 0 0 350px;
    min-width: 350px;
    height: 500px;
  }


  .san-constellation-slider {
    padding: 100px 0;
  }

}

/* San worst locations slider styles */
.san-worst-locations-slider-section {
  background-color: #000;
  color: #fff;
  padding: 60px 20px;
}

.san-worst-locations-upper {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 40px;
  text-align: left;
}

.san-worst-locations-upper h2 {
  font-size: 30px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: white;
}

.san-worst-locations-upper p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .san-worst-locations-upper {
    text-align: center;
  }
  
  .san-worst-locations-upper h2 {
    font-size: 45px;
  }
  
  .san-worst-locations-upper p {
    font-size: 16px;
  }
}

.san-worst-locations-slider-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 30px 0;
  overflow: hidden;
}

#san-worst-locations-slider {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  height: 300px !important;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  #san-worst-locations-slider {
    height: 400px !important;
  }
}

@media (min-width: 1024px) {
  #san-worst-locations-slider {
    height: 450px !important;
  }
}

.san-worst-locations-slider-wrapper {
  width: 75%;
  margin: 0 auto;
}

/* Add some basic styling to the items */
.san-worst-locations-slider-item {
  background-color: transparent;
  color: white;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.san-worst-locations-slider-item {
  position: relative;
}

.san-worst-locations-slider-item img {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.san-worst-locations-item-number {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  color: #000;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .san-worst-locations-slider-item img {
    height: 350px;
  }
}

@media (min-width: 1024px) {
  .san-worst-locations-slider-item img {
    height: 400px;
    object-fit: cover;
  }
}

li.san-worst-locations-slider-item:not(.active) img {
  transform: scale(0.9);
  opacity: 0.5;
}

.san-worst-locations-slider-section.slider-active .lSSlideOuter {
  position: relative;
  overflow: visible;
}

.san-worst-locations-slider-section.slider-active .lSSlideWrapper {
  overflow: visible;
}

.san-worst-locations-slider-section.slider-active #san-worst-locations-slider .lslide {
  opacity: 1;
}

.san-worst-locations-slider-section.slider-active #san-worst-locations-slider .lslide.active {
  opacity: 1;
}

.san-worst-locations-slider-section.slider-active .lSPager {
  display: none;
}

.san-worst-locations-slider-section.slider-active .lSAction {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 80vw;
  display: flex !important;
  justify-content: space-between;
  gap: 0;
  pointer-events: none;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .san-worst-locations-slider-section.slider-active .lSAction {
    top: 45%;
    transform: translateX(-50%) translateY(-50%);
  }
}

@media (min-width: 1024px) {
  .san-worst-locations-slider-section.slider-active .lSAction {
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
}

.san-worst-locations-slider-section.slider-active .lSAction > a {
  pointer-events: all;
  z-index: 10;
}

.san-worst-locations-slider-section.slider-active .lSAction > .lSPrev {
  margin-left: 0;
}

.san-worst-locations-slider-section.slider-active .lSAction > .lSNext {
  margin-right: 0;
}

/* Reset individual button positioning if needed */
.san-worst-locations-slider-section.slider-active .lSAction > a {
  position: static;
  margin-top: 0;
  background-color: transparent;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  overflow: hidden;
  box-shadow: none;
  background-image: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.san-worst-locations-slider-section.slider-active .lSAction > a:hover {
  transform: scale(1.1);
}

.san-worst-locations-slider-section .lSSlideOuter .lSPager.lSpg>li a {
  background-color: black;
}

/* Adjust pager/control appearance if needed */
.san-worst-locations-slider-section .lSSlideOuter .lSPager.lSpg>li {
  padding: 0 3px;
}

.san-worst-locations-slider-section .lSAction > a {
    background-color: rgba(255, 255, 255, 0.7);
     background-image: none;
}

.san-worst-locations-slider-section .lSSlideOuter .lSPager.lSpg>li.active a, 
.san-worst-locations-slider-section .lSSlideOuter .lSPager.lSpg>li:hover a {
  background-color: #ffffff !important;
}

/* Style the SVG chevron arrows inside the round buttons */
.san-worst-locations-slider-section.slider-active .lSAction > .lSPrev:before,
.san-worst-locations-slider-section.slider-active .lSAction > .lSNext:before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="37" height="37" viewBox="0 0 37 37"><g transform="translate(-1388 -5647)"><circle cx="18.5" cy="18.5" r="18.5" transform="translate(1388 5647)" fill="%23707070"></circle><path d="M6.693,5.467a.87.87,0,0,1,0,1.229L1.484,11.9A.869.869,0,0,1,.254,10.676l4.6-4.6L.257,1.484A.869.869,0,0,1,1.486.255L6.7,5.464Z" transform="translate(1404 5659)" fill="%23fff"></path></g></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 1;
  margin: auto;
}

.san-worst-locations-slider-section.slider-active .lSAction > .lSPrev:before {
  transform: rotate(180deg);
}

.san-worst-locations-slider-section.slider-active .lSAction > .lSNext:before {
  /* No additional styles needed - inherits from base rule above */
}

@media (min-width: 480px) {
  .san-worst-locations-slider-wrapper {
    width: 70%;
  }
}

@media (min-width: 768px) {
  .san-worst-locations-slider-wrapper {
    width: 75%;
  }
}

@media (min-width: 1024px) {
  .san-worst-locations-slider-wrapper {
    width: 65%;
  }
  li.san-worst-locations-slider-item:not(.active) img {
    transform: scale(0.8);
  }
}

/* Content Styling */
.san-worst-locations-content-wrapper {
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  max-width: 800px; 
  margin-left: auto;
  margin-right: auto;
}

.san-worst-locations-content-number {
  font-size: 25px !important;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;  
}

#san-worst-locations-content-title {
  margin-bottom: 15px;
  font-size: 30px !important;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
  color: white;
}

#san-worst-locations-content-description p {
  margin-bottom: 1em;
  line-height: 1.6;
  text-align: left;
}

#san-worst-locations-content-description p a {
  color: #ff5000;
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .san-worst-locations-content-number {   
    text-align: center;
  }
  #san-worst-locations-content-title {
    font-size: 35px !important;
    text-align: center;
  }
  #san-worst-locations-content-description p {
    text-align: center;
  }
}