/* Year Filter Tabs */
.ts-year-filter {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 40px 0 40px;
  flex-wrap: wrap;
  gap: 8px;
}

.ts-year-tabs {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.ts-year-tab {
  border: 1px solid var(--Blue-200, #023f6a);
  background: #fff;
  border-radius: 10px;
  padding: 8px 24px;
  color: var(--Blue-200, #023f6a);
  text-align: center;
  font-family: "Open Sans";
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

.ts-year-tab:hover {
  border-color: #03489f;
  color: #03489f;
}

.ts-year-tab.active {
  background: #03489f;
  color: #fff;
  border-color: #03489f;
}

/* Year Dropdown Wrapper */
.ts-year-dropdown-wrapper {
  position: relative;
  width: 100%;
}

/* Year Dropdown Toggle Button */
.ts-year-dropdown-toggle {
  display: none;
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--Blue-300, #03489f);
  background: #fff;
  color: var(--Blue-200, #023f6a);
  font-family: "Open Sans";
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.ts-year-dropdown-toggle:hover {
  border-color: #03489f;
  color: #03489f;
}

.ts-year-dropdown-toggle[aria-expanded="true"] {
  border-color: #03489f;
  color: #03489f;
}

.ts-dropdown-arrow {
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transform: rotate(180deg);
}

.ts-year-dropdown-toggle[aria-expanded="true"] .ts-dropdown-arrow {
  transform: rotate(0deg);
}

/* Year Dropdown Menu */
.ts-year-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--Blue-200, #023f6a);
  border-radius: 12px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ts-year-dropdown-menu.open {
  max-height: 300px;
  opacity: 1;
}

/* Dropdown Items */
.ts-dropdown-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--Blue-200, #023f6a);
  font-family: "Open Sans";
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.ts-dropdown-item:hover {
  background: #f5f5f5;
  color: #03489f;
}

.ts-dropdown-item.active {
  background: #fff5e5;
  color: #03489f;
  font-weight: 500;
}

.ts-dropdown-item + .ts-dropdown-item {
  border-top: 1px solid #e5e7eb;
}

/* Year Content */
.ts-year-content {
  display: none;
}

.ts-year-content.active {
  display: block;
  width: 100%;
}

/* Overview Section */
.ts-overview {
  margin-bottom: 60px;
}

.ts-overview-layout {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.ts-overview-media {
  width: 45%;
  height: 430px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #e5e7eb;
}

.ts-placeholder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #d1d5db 0%, #e5e7eb 100%);
  border-radius: 12px;
}

.ts-overview-text {
  flex: 1;
  min-width: 0;
}

.ts-overview-title {
  color: var(--Blue-300, #03489f);
  font-family: "Playfair Display";
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 9px;
}

.ts-overview-list {
  margin: 0;
}

.ts-overview-list li {
  color: var(--Blue-400, #00243d);
  font-family: "Open Sans";
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 18px;
  list-style: none;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.ts-overview-list li img {
  width: 16px;
  height: 16px;
  margin-top: 4px;
}

.ts-overview-list li p {
  margin: 0;
  flex: 1;
  line-height: 1.6;
}

.ts-overview-list li:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .ts-overview-layout {
    gap: 28px;
  }

  .ts-overview-media {
    width: 40%;
    min-height: 250px;
  }

  .ts-overview-title {
    font-size: 22px;
  }

  .ts-overview-list li {
    font-size: 13px;
    gap: 10px;
  }

  .ts-overview-list li img {
    width: 18px;
    height: 18px;
  }
}

/* Photo Gallery Styles */
.photo-gallery-section {
  margin: 80px 0;
  width: 100%;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.gallery-title {
  color: #03489f;
  font-family: "Playfair Display";
  font-size: 32px;
  font-weight: 500;
  margin: 0;
}

.gallery-navigation {
  display: flex;
  /* gap: 8px; */
}

.gallery-nav-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: #fff;
  color: #023f6a;
  font-size: 30px !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.gallery-nav-btn:hover {
  /* background: #023f6a;
  color: #fff;
  border-color: #03489f; */
}

.gallery-nav-btn:disabled {
  color: #d1d5db;
  cursor: not-allowed;
}

/* Gallery Carousel */
.gallerySwiper {
  width: 100%;
}

.gallery-slide {
  border-radius: 12px;
  overflow: hidden;
  background: #e5e7eb;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-slide:hover img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .photo-gallery-section {
    margin: 60px 0;
  }

  .gallery-title {
    font-size: 24px;
  }

  .gallery-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

@media (min-width: 821px) {
  .ts-overview-media {
    position: sticky;
    top: 200px;
  }
}

@media (max-width: 820px) {
  .ts-overview-layout {
    flex-direction: column;
    gap: 20px;
  }

  .ts-overview-media {
    width: 100%;
    min-height: 250px;
  }

  .ts-year-tabs {
    gap: 6px;
  }

  .ts-year-tab {
    padding: 5px 12px;
    font-size: 12px;
  }

  .ts-overview-title {
    font-size: 20px;
  }

  .ts-overview-list li {
    gap: 10px;
  }

  .ts-overview-list li img {
    width: 18px;
    height: 18px;
  }
  .photo-gallery-section {
    margin: 50px 0;
  }

  .gallery-header {
    margin-bottom: 24px;
  }

  .gallery-title {
    font-size: 20px;
  }

  .gallery-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}

@media (max-width: 479px) {
  .ts-year-tabs {
    display: none;
  }

  .ts-year-dropdown-toggle {
    display: flex;
  }

  .ts-overview-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .ts-overview-list li {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
    gap: 8px;
  }

  .ts-overview-list li img {
    width: 16px;
    height: 16px;
  }

  .photo-gallery-section {
    margin: 40px 0;
  }

  .gallery-header {
    margin-bottom: 20px;
  }

  .gallery-title {
    font-size: 18px;
  }

  .gallery-nav-btn {
    width: 28px;
    height: 28px;
    font-size: 16px;
    border-width: 1px;
  }
}

.ts-overview-list .ts-li-inner{
  display: flex;
  gap: 6px;
}
