.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 65vh;
  padding: 100px 0;
  color: #ffffff;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  text-align: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slides > .hero-slide:nth-child(6) {
  left: unset;
  top: unset;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  max-width: 960px;
  margin-left: 30px;
  margin-right: 30px;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  background: unset;
  background-color: unset;
  z-index: 2;
  transform: scale(0.9);
}

.hero-title {
  font-family: "Abril Fatface", serif;
  margin: 0 0 10px;
  font-size: 2.24rem;
  line-height: 1.2;
  font-weight: 400;
  color: #ffffff;
  vertical-align: bottom;
  box-sizing: content-box;
  text-align: left;
}

.hero-title-2x-bring {
  font-size: 2em;
  display: inline;
}

.hero-title-3x {
  font-size: 3em;
  display: inline;
}

.hero-title-2x {
  font-size: 2em;
  display: inline;
}

.hero-title-line2 {
  display: inline-block;
  white-space: nowrap;
}

.hero-subtitle {
  font-family: "Maitree", serif;
  margin: 16px 0 0;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  text-transform: uppercase;
}

.hero-lead {
  font-family: "Maitree", serif;
  margin: 0 0 24px;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
  color: #f0f0f0;
}

.hero-text {
  margin: 0;
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.6;
  color: #eaeaea;
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 60px 0 40px;
    justify-content: center;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 0 24px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-family: "Abril Fatface", serif;
    font-size: 2.16rem;
    margin: 0 0 12px;
    line-height: 1.3;
    text-align: left;
  }

  .hero-title-2x-bring {
    font-size: 1.3em;
  }

  .hero-title-3x {
    font-size: 1.6em;
  }

  .hero-title-2x {
    font-size: 1.2em;
  }

  .hero-lead {
    font-family: "Maitree", serif;
    font-size: 1.14rem;
    margin: 0;
    line-height: 1.4;
  }

  .hero-text {
    line-height: 1.7;
  }
}

.news {
  padding: 48px 0;
  background: transparent;
}

.news-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.news-title {
  font-family: "Abril Fatface", serif;
  font-size: 1.4rem;
  font-weight: 400;
}

.news-controls {
  display: flex;
  gap: 8px;
}

.news-controls-mobile {
  display: none;
}

.news-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-btn[disabled] {
  opacity: 0.3;
  cursor: default;
}

.news-list {
  display: flex;
  gap: 16px;
}

.news-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.news-image-wrapper {
  position: relative;
  overflow: hidden;
  width: 300px;
  height: 240px;
}

.news-image-wrapper img {
  display: block;
  width: 300px;
  height: 240px;
  object-fit: cover;
}

.news-text {
  padding: 0 12px 16px;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .news {
    padding: 32px 0;
  }

  .news-title {
    font-family: "Abril Fatface", serif;
  }

  .news-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .news-controls {
    display: none;
  }

  .news-list {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }

  .news-controls-mobile {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
  }

  .news-item {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px;
  }

  .news-image-wrapper {
    width: 25%;
    height: auto;
    flex-shrink: 0;
    aspect-ratio: 1;
  }

  .news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .news-text {
    flex: 1;
    padding: 0;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 0.85rem;
  }
}

.practical-section {
  padding: 64px 0;
  background: transparent;
}

.practical-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.practical-left {
  flex: 1;
}

.practical-title {
  font-family: "Abril Fatface", serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.practical-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 480px;
}

.practical-right {
  flex: 1;
}

.practical-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.practical-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.practical-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.practical-photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  padding-bottom: 6px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

/* Program CTA button */
.practical-program-cta {
  margin-top: 24px;
}

.practical-link-button {
  display: inline-block;
  padding: 10px 72px;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .practical-link-button:hover {
    background-color: #333;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  }

  .practical-link-button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 768px) {
  .practical-title {
    font-family: "Abril Fatface", serif;
  }

  .practical-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .practical-right {
    width: 100%;
  }

  .practical-photos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .practical-text {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}

.partner-section {
  padding: 64px 0;
  background: transparent;
  text-align: left;
}

.partner-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
  justify-content: center;
}

.partner-left,
.partner-right {
  flex: 1;
}

.partner-left {
  display: block;
  text-align: left;
  vertical-align: bottom;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  column-gap: 18px;
  row-gap: 18px;
  width: 100%;
  max-width: 400px;
  margin: 0 0 0 auto;
}

.partner-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ddd;
}

.partner-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-title {
  font-family: "Abril Fatface", serif;
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.partner-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 480px;
}

.partner-link-button {
  display: inline-block;
  padding: 10px 72px;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .partner-link-button:hover {
    background-color: #333;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  }

  .partner-link-button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 768px) {
  .partner-title {
    font-family: "Abril Fatface", serif;
  }

  .partner-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .partner-right {
    order: -1;
  }

  .partner-left {
    order: 1;
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
  }

  .partner-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .partner-text {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}

.sde-section {
  padding: 64px 0;
  background: transparent;
}

.sde-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 48px;
  align-items: center;
}

.sde-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sde-right {
  flex: 1;
}

.sde-title {
  font-family: "Abril Fatface", serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.sde-text {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 480px;
}

.sde-venn-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .sde-title {
    font-family: "Abril Fatface", serif;
  }

  .sde-inner {
    flex-direction: column;
    text-align: center;
  }

  .sde-right {
    order: -1;
  }

  .sde-left {
    order: 1;
  }

  .sde-venn-image {
    margin: 0 auto 24px;
  }

  .sde-text {
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
  }
}
