/*alphabet carousel*/
.alphabet-carousel__slide-content h3 {
  font-size: 22px;
}

.alphabet-carousel__current-count {
  color: var(--violet);
}
.alphabet-carousel__counter-text {
  font-weight: 600;
}

.
@media (min-width: 1200px) {
  .alphabet-carousel .alphabet-carousel__slide-content h3 {
    text-align: left;
  }

  div.alphabet-carousel__slide-img img {
    object-fit: contain;
  }
}

@media (max-width: 1200px) {
  .alphabet-carousel__slide-img img {
    transform: scale(1.5);
  }

  .alphabet-carousel__slide-img {
    overflow: hidden;
  }

  div.alphabet-carousel__slider{
    padding-top: 0;
  }
}
@media (max-width: 992px) {
  .alphabet-carousel .alphabet-carousel__counter {
    display: block;
    position: relative;
  }

  div.alphabet-carousel__slide-content {
    padding-bottom: 80px;
  }
  .alphabet-carousel__counter-text {
    position: absolute;
    top: -50px;
    left: -50%;
    right: -50%;
    transform: translateX(50%);
  }
}

div.alphabet-carousel__slide-content {
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
}

.acc {
  border-radius: 12px;
  margin-top: 30px;
}
.acc-description {
  padding-top: 1rem;
}
.acc-panel p {
  line-height: 26px;
}

.visit-us {
  width: 100vw;
  transform: translateX(-50%);
  left: 50%;
  right: 50%;
  position: relative;
  margin-inline: 0 !important;
}
@media (min-width: 992px) {
  .visit-us .map__container > div {
    min-height: 100% !important;
  }
}
@media (max-width: 992px) {
  .visit-us .btn-primary-1{
    width: 100%;
  }

  .article-page iframe{
  
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    
  }
}
.article-page a>img{
  margin-inline: auto;
}
.article-page iframe{
  margin-inline: auto;
  border-radius: 12px;
}
.article-page img:not(a > img){
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 12px;
}
/*.article-list*/

.image-grid .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

@media (max-width: 1024px) {
  .image-grid .row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .image-grid .row {
    grid-template-columns: 1fr;
  }
}

.image-grid .btn-primary-1 {
  width: 100%;
}

.image-grid .card .card__bg {
  border-radius: 12px;
}

.image-grid .card .card__title {
  text-align: left;
}

.promo .logo-grid__flex {
  display: flex;
  margin-top: 32px;
  gap: 32px;
}
.promo .logo-grid__flex-item {
  width: 50%;
}
.promo .logo-grid__flex-item img {
  width: 100%;
  height: 100%;
}
@media (max-width: 992px) {
  .promo .logo-grid__flex {
    flex-direction: column;
  }
}

.mq-tabs .mq-tabs--text-image__text-richtext {
  color: #666666;
}

@media (min-width: 992px) {
  .banner-overlay {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    align-items: center;
  }
  .banner-overlay > div {
    flex: 50%;
    gap: 20px;
  }
}

.banner-overlay iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  aspect-ratio: 16/9;
}
.community .video iframe {
  border-radius: 12px;
}
@media (min-width: 992px) {
  .community > .component-content {
    position: relative;
  }
  .banner-overlay__container.community {
    min-height: 250px;
  }
  .banner-overlay__container.community > .component-content {
    z-index: 30;
  }
  .banner-overlay__container {
    background: var(--gray);
  }

  .top-right__container:has(.community) .top-right img {
    z-index: 2;
  }
}

.blob {
  z-index: -99;
}

/* Select all images within the promo-container */
.promo-container img {
  /* Default styles for all images */
  border-radius: 12px;
  width: 100%;
}

/* Mobile styles - hide blob elements and resize images */
@media (max-width: 768px) {
  .blob {
    visibility: hidden;
  }

  /* Target all images within promo-container on mobile */
  .promo-container img {
    width: 100%;
    height: 170px;
    object-fit: cover; /* Maintains aspect ratio while filling the dimensions */
  }
}

/* Alternative: More specific selector for the promo component images */
@media (max-width: 768px) {
  .promo img,
  .field-promoicon img {
    width: 100%;
    height: 170px;
    object-fit: cover;
  }
}

/* If you want to override the existing responsive classes */
@media (max-width: 768px) {
  .promo-container img {
    width: 100%;
    height: 170px !important;
    max-width: none !important;
    object-fit: cover;
  }
}

/* Mobile styles for promo-bottom-images */
@media (max-width: 768px) {
  .blob {
    visibility: hidden;
  }

  /* Target all images within promo-bottom-images on mobile */
  .promo-bottom-images img {
    width: 335px;
    height: 170px;
    object-fit: cover;
  }

  /* Make the flex container stack vertically on mobile */
  .promo-bottom-images .logo-grid__flex {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  /* Ensure flex items take full width on mobile */
  .promo-bottom-images .logo-grid__flex-item {
    width: 100%;
    max-width: 335px;
  }
}

/* Alternative: More specific targeting */
@media (max-width: 768px) {
  .logo-grid__flex-item img {
    width: 335px !important;
    height: 170px !important;
    object-fit: cover;
  }

  /* Stack the logo grid items vertically */
  .logo-grid__flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

/* Tablet breakpoint (optional) */
@media (max-width: 1024px) and (min-width: 769px) {
  .promo-bottom-images img {
    width: 100%;
    max-width: 450px;
    height: auto;
  }
}

.parks-promo-main .field-promotext img {
  width: 50px;
  height: 50px;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

/* Mobile styles - show icon below text like in your image */
@media (max-width: 768px) {
  .parks-promo-main .field-promotext {
    display: flex;
    flex-direction: column;
    text-align: center; /* Center align text on mobile */
  }

  .parks-promo-main .field-promotext img {
    position: static; /* Remove absolute positioning */
    width: 100px; /* Make it larger on mobile to match your image */
    height: 10px; /* Maintain aspect ratio */
    object-fit: none;
    margin: 20px auto 0; /* Center horizontally with top spacing */
    border-radius: 12px; /* Add rounded corners like in image */
  }

  .parks-promo-main .field-promotext p {
    margin-bottom: 0; /* Remove bottom margin from paragraph */
  }
}
