/* Year Filter Tabs */
.ts-year-filter {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 40px 0 48px;
  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;
}

/* Days Section */
.ts-days-section {
  margin-top: 60px;
  margin-bottom: 60px;
}

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

/* Accordions */
.ts-accordion-section {
  margin-bottom: 20px;
  width: 100%;
}

.ts-accordion {
  border-radius: 20px;
  border-bottom: 1px solid #b7bec3;
  background: #fff5e5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ts-accordion.open {
  border-bottom-color: #faa011;
}

.ts-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #fff;
  border: none;
  padding: 33px 36px;
  cursor: pointer;
  color: #00243d;
  font-family: "Playfair Display";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  text-align: left;
  gap: 12px;
  transition: all 0.2s ease;
}

.ts-accordion.open .ts-accordion-header {
  background: #fff5e5;
}

.ts-accordion-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  will-change: transform;
  flex-shrink: 0;
}

.ts-accordion.open .ts-accordion-arrow {
  transform: rotate(180deg);
}

.ts-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  padding: 0;
  will-change: max-height;
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.ts-accordion.open .ts-accordion-body {
  max-height: 1000px;
  padding: 0 36px 36px;
}

/* Day Content */
.ts-day-media {
  width: 50%;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #e5e7eb;
  height: 430px;
}

.ts-day-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
  border-radius: 8px;
}

.ts-day-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ts-day-text p {
  font-size: 14px;
  line-height: 1.75;
  color: #00243d;
  margin: 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;
  }
}

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

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

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

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

  .ts-accordion-header {
    font-size: 15px;
    padding: 16px 20px;
  }

  .ts-accordion-body {
    flex-direction: column;
    gap: 20px;
  }

  .ts-day-media {
    width: 100%;
    min-height: 220px;
  }

  .ts-days-title {
    font-size: 24px;
  }

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

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

  .ts-overview-list li img {
    width: 18px;
    height: 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-days-section {
    margin: 60px 0;
  }
  .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;
  }

  .ts-accordion-header {
    font-size: 16px;
    padding: 14px 16px;
  }

  .ts-accordion-body {
    flex-direction: column;
    gap: 20px;
  }

  .ts-accordion.open .ts-accordion-body {
    padding: 0 16px 16px;
    max-height: 1800px;
    padding-top: 20px;
  }

  .ts-day-media {
    width: 100%;
    min-height: 180px;
  }

  .ts-day-text p {
    font-size: 13px;
  }

  .ts-days-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
}
