.path-interactive {
  position: relative;
  width: 100%;
  margin: auto;
}

.path-interactive img {
  width: 100%;
  height: auto;
  display: block;
}

.path-interactive p:first-of-type {
  text-align: center;
  font-size: 0.8em;
  color: #555;
  margin-top: 8px !important;
}

.path-interactive-btn {
  position: absolute;
  width: 10%;
  aspect-ratio: 1.8;
  cursor: pointer;
}

.path-interactive-p {
  position: absolute;
  font-size: 1vw;
  width: 20%;
  right: 0;
  top: 0;
  margin-top: 1em;
  padding-right: 0.8em;
  display: none;
}

.path-interactive-p.active {
  display: block;
}

.ihp-values-wrapper {
  display: flex;
  gap: 2.5rem;
  align-items: stretch;
  margin: 2rem 0;
}

.ihp-values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  flex: 0 0 40%;
}

.ihp-value-card {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid #d68d3e;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ihp-value-card:hover,
.ihp-value-card:focus-visible,
.ihp-value-card[aria-pressed="true"] {
  border-color: #678c4c;
  box-shadow: 0 6px 18px rgba(103, 140, 76, 0.18);
}

.ihp-value-card:focus-visible {
  outline: 3px solid #678c4c;
  outline-offset: 2px;
}

.ihp-value-icon {
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ihp-value-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.ihp-value-meta {
  display: grid;
  gap: 0.2rem;
}

.ihp-value-title {
  margin: 0;
  font-size: 1.1rem;
  color: #2f4858;
}

.ihp-value-brief {
  margin: 0;
  font-size: 0.9rem;
  color: #444;
}

.ihp-values-detail {
  flex: 1;
  min-height: 260px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  border: 2px dashed rgba(103, 140, 76, 0.3);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.ihp-values-detail p {
  margin-bottom: 0.75rem;
  color: #333;
  line-height: 1.5;
}



/* Circle */

.circle-container {
    width: 50%;
    max-width: 1000px;
    position: relative;
    left: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px;
    /* border: #000000 solid 5px; */
    margin-top: 200px;
    transform: rotate(0deg);
}

.circle-container img {
    width: 100%;
    height: auto;
    /* margin-top: 200px; */
}

.circle-btn {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* border: #000000 solid 5px; */
    height: 50%;
    aspect-ratio: 1;
}

.circle-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0。5);
    border-radius: 50%;
    padding: 0px;
    width: 20px;
    height: 35px;
    overflow: hidden;
    opacity: 0;
    transition: top 0.6s, left 0.6s, width 1s, height 1s, opacity 1.2s, border-radius 1s, padding 1s, box-shadow 1s;
    display: flex;
    align-items: center;
}

.circle-btn:hover .circle-text {
    top: -50px;
    width: 500px;
    height: 200px;
    opacity: 1;
    border-radius: 35px;
    padding: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    transition-delay: 0s, 0s, 0.6s, 0.6s, 0s, 0.6s, 0.6s, 0.6s;
}

.circle-text div {
    /* font-size: 25px; */
    /* font-weight: 500; */
    color: #000;
    text-align: center;
    margin: 0;
    padding: 0;
    transition: 1s;
    opacity: 0;
}

.circle-btn:hover .circle-text div {
    opacity: 1;
    transition-delay: 1.4s;
}


.event-img-container {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* border: #000000 solid 5px; */
}

.event-btn {
    position: absolute;
    /* border: #000000 solid 5px; */
    height: 100%;
    width: 20%;
}

.event-exp {
    position: absolute;
    bottom: -1em;
    margin: 0;
    color: gray;
}

.event-content-container {
    margin: 3em 20px;
    height: 150px;
}

.event-content {
    position: absolute;
    opacity: 0;
    transition: 1s;
    padding-right: 5%;
}

.event-content.active {
    opacity: 1;
}




/* Event Cards */

.event-container {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin: 3rem 0;
}

.milestone {
  position: relative;
  margin: 2.5rem 0 1.5rem;
  padding: 2.25rem 2.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(103, 140, 76, 0.14), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(103, 140, 76, 0.3);
  box-shadow: 0 24px 55px rgba(20, 45, 34, 0.12);
  overflow: hidden;
}

.milestone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.45), transparent 58%),
    radial-gradient(circle at bottom right, rgba(103, 140, 76, 0.18), transparent 60%);
  pointer-events: none;
}

.milestone h3 {
  position: relative;
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
  color: #274137;
  font-weight: 700;
}

.milestone p {
  position: relative;
  margin: 0;
  color: #2f3f39;
  line-height: 1.65;
  font-size: 1.05rem;
}

.milestone+.event-container {
  margin-top: 2.5rem;
}

.event-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: 0 20px 45px rgba(15, 39, 33, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 1px solid rgba(161, 184, 153, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(15, 39, 33, 0.18);
}

.card-quote {
  font-style: italic;
  font-size: 1rem;
  color: #2f4858;
  border-left: 4px solid #678c4c;
  padding-left: 1rem;
  margin: 0;
}

.card-quote-source {
  display: block;
  font-style: normal;
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: #4c6158;
  font-weight: 600;
}

.card-title {
  font-size: 1.35rem;
  margin: 0;
  color: #1f2e2b;
}

.card-abstract {
  color: #3b4c45;
  margin: 0;
  line-height: 1.6;
}

.card-btn {
  align-self: flex-start;
  background: #678c4c;
  color: #fff;
  border: none;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: auto;
}

.card-btn:hover:not([disabled]) {
  background: #4f6e38;
  transform: translateX(4px);
}

.card-btn:focus-visible {
  outline: 3px solid rgba(103, 140, 76, 0.45);
  outline-offset: 2px;
}

.card-btn[disabled],
.card-btn[aria-disabled="true"] {
  background: rgba(103, 140, 76, 0.3);
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.8);
}

.event-modal[hidden] {
  display: none;
}

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 10vh, 120px) clamp(20px, 5vw, 64px);
  box-sizing: border-box;
}

.event-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 32, 28, 0.62);
  backdrop-filter: blur(3px);
}

.event-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: min(840px, 90vw);
  max-height: min(75vh, 720px);
  background: #f8fbf7;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 50px 90px rgba(12, 33, 29, 0.22);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(35px);
}

.event-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: #2f4858;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.event-modal__close:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 1);
}

.event-modal__content h3 {
  margin: 0;
  color: #2f4858;
  font-size: 2rem;
  margin-bottom: 1em;
}

.event-modal__dialog,
.event-modal__body {
  scrollbar-width: thin;
  scrollbar-color: rgba(103, 140, 76, 0.7) rgba(240, 246, 237, 0.85);
}

.event-modal__dialog::-webkit-scrollbar,
.event-modal__body::-webkit-scrollbar {
  width: 10px;
}

.event-modal__dialog::-webkit-scrollbar-track,
.event-modal__body::-webkit-scrollbar-track {
  background: rgba(240, 246, 237, 0.85);
  border-radius: 999px;
}

.event-modal__dialog::-webkit-scrollbar-thumb,
.event-modal__body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(103, 140, 76, 0.85), rgba(86, 119, 65, 0.85));
  border-radius: 999px;
  border: 2px solid rgba(240, 246, 237, 0.9);
}

.event-modal__dialog::-webkit-scrollbar-thumb:hover,
.event-modal__body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(86, 119, 65, 0.95), rgba(68, 97, 51, 0.95));
}

.event-modal__body h4 {
  margin-bottom: 0.5rem;
  color: #678c4c;
  font-size: 1.2rem;
}

.event-modal__body p {
  margin: 0;
  color: #324741;
  line-height: 1.7;
  margin-bottom: 1em;
}

.event-modal__body img,
.event-modal__body picture,
.event-modal__body iframe {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(17, 34, 30, 0.18);
}

@media (max-width: 640px) {
  .event-modal__dialog {
    padding: 1.75rem 1.5rem;
    border-radius: 18px;
  }

  .event-modal__close {
    top: 0.75rem;
    right: 0.75rem;
  }
}

@media (max-width: 360px) {
  .event-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .ihp-values-wrapper {
    flex-direction: column;
  }

  .ihp-values-detail {
    min-height: auto;
  }

  .ihp-values-list {
    max-width: none;
    flex: none;
  }
}