body {
  font-family: 'Nunito', sans-serif;
}

.font-display {
  font-family: 'Quicksand', sans-serif;
}

.organic {
  border-radius: 34% 66% 57% 43% / 52% 42% 58% 48%;
}

.organic-2 {
  border-radius: 64% 36% 43% 57% / 39% 55% 45% 61%;
}

.soft-shadow {
  box-shadow: 0 24px 70px rgba(36, 52, 46, 0.1);
}

.section-wash {
  background: linear-gradient(180deg, rgba(217, 243, 244, 0.18), rgba(255, 251, 239, 0));
}

.slider-track {
  display: grid;
}

.slider-panel {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.slider-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.slider-panel:first-child {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

html {
  scroll-behavior: smooth;
}

.semut-nav .menu,
.semut-nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.semut-nav a {
  text-decoration: none;
}

.semut-nav--desktop .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
  width: 100%;
}

.semut-nav--desktop .menu > .menu-item {
  position: relative;
  padding: 0.35rem 0;
}

.semut-nav--desktop .menu > .menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  color: rgba(41, 64, 56, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.semut-nav--desktop .menu > .menu-item.menu-item-has-children > a::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.semut-nav--desktop .menu > .menu-item:hover > a,
.semut-nav--desktop .menu > .current-menu-item > a,
.semut-nav--desktop .menu > .current-menu-ancestor > a {
  color: #1e6a58;
}

.semut-nav--desktop .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  border: 1px solid rgba(30, 106, 88, 0.1);
  border-radius: 1.2rem;
  background: #fffbef;
  box-shadow: 0 24px 70px rgba(36, 52, 46, 0.12);
  padding: 1rem 0.8rem 0.8rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.semut-nav--desktop .sub-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 16px;
}

.semut-nav--desktop .menu-item:hover > .sub-menu,
.semut-nav--desktop .menu-item:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.semut-nav--desktop .menu-item:hover > a::after,
.semut-nav--desktop .menu-item:focus-within > a::after {
  transform: rotate(225deg) translateY(1px);
}

.semut-nav--desktop .sub-menu a {
  display: block;
  border-radius: 0.9rem;
  color: rgba(41, 64, 56, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.75rem 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.semut-nav--desktop .sub-menu a:hover,
.semut-nav--desktop .sub-menu .current-menu-ancestor > a,
.semut-nav--desktop .sub-menu .current-menu-item > a {
  background: rgba(217, 243, 244, 0.42);
  color: #1e6a58;
}

.semut-nav--mobile .menu {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.semut-nav--mobile .menu > .menu-item.menu-item-has-children > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.semut-nav--mobile .menu > .menu-item.menu-item-has-children > a::after {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.semut-nav--mobile .menu a {
  display: block;
  border-radius: 0.85rem;
  color: rgba(41, 64, 56, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.7rem 0.9rem;
}

.semut-nav--mobile .menu > .menu-item > a:hover,
.semut-nav--mobile .menu > .current-menu-item > a,
.semut-nav--mobile .menu > .current-menu-ancestor > a {
  background: rgba(217, 243, 244, 0.35);
  color: #1e6a58;
}

.semut-nav--mobile .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.25rem;
  margin-left: 0.75rem;
  border-left: 2px solid rgba(30, 106, 88, 0.12);
  padding-left: 0.7rem;
}

.semut-nav--mobile .sub-menu a {
  font-size: 0.88rem;
  font-weight: 700;
}

/* Fallback custom utilities in case Tailwind CDN config loads late */
.bg-cream {
  background-color: #fffbef;
}

.bg-white\/80 {
  background-color: rgba(255, 255, 255, 0.8);
}

.bg-white\/70 {
  background-color: rgba(255, 255, 255, 0.7);
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/15 {
  background-color: rgba(255, 255, 255, 0.15);
}

.bg-white\/85 {
  background-color: rgba(255, 255, 255, 0.85);
}

.bg-white\/90 {
  background-color: rgba(255, 255, 255, 0.9);
}

.bg-leafLight {
  background-color: #d8e88d;
}

.bg-leafLight\/35 {
  background-color: rgba(216, 232, 141, 0.35);
}

.bg-leafLight\/45 {
  background-color: rgba(216, 232, 141, 0.45);
}

.bg-leafLight\/50 {
  background-color: rgba(216, 232, 141, 0.5);
}

.bg-leaf {
  background-color: #3f8e2e;
}

.bg-pine {
  background-color: #1e6a58;
}

.bg-pine\/25 {
  background-color: rgba(30, 106, 88, 0.25);
}

.bg-orangeFun {
  background-color: #ff8a2a;
}

.bg-orangeFun\/10 {
  background-color: rgba(255, 138, 42, 0.1);
}

.bg-orangeFun\/15 {
  background-color: rgba(255, 138, 42, 0.15);
}

.bg-earth {
  background-color: #c99655;
}

.bg-earth\/15 {
  background-color: rgba(201, 150, 85, 0.15);
}

.bg-skySoft {
  background-color: #d9f3f4;
}

.bg-skySoft\/40 {
  background-color: rgba(217, 243, 244, 0.4);
}

.bg-skySoft\/50 {
  background-color: rgba(217, 243, 244, 0.5);
}

.bg-skySoft\/55 {
  background-color: rgba(217, 243, 244, 0.55);
}

.bg-skySoft\/60 {
  background-color: rgba(217, 243, 244, 0.6);
}

.bg-skySoft\/70 {
  background-color: rgba(217, 243, 244, 0.7);
}

.bg-ink {
  background-color: #294038;
}

.text-ink {
  color: #294038;
}

.text-pine {
  color: #1e6a58;
}

.text-earth {
  color: #c99655;
}

.text-orangeFun {
  color: #ff8a2a;
}

.text-leafLight {
  color: #d8e88d;
}

.border-pine\/10 {
  border-color: rgba(30, 106, 88, 0.1);
}

.border-pine\/15 {
  border-color: rgba(30, 106, 88, 0.15);
}

.ring-white\/10 {
  --tw-ring-color: rgba(255, 255, 255, 0.1);
}

.semut-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff8a2a;
}

.semut-article-shell {
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(36, 52, 46, 0.1);
  padding: 2rem;
}

.semut-page-shell {
  padding: 2.5rem 3rem;
}

.semut-post-card {
  height: 100%;
}

.semut-post-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: rgba(217, 243, 244, 0.32);
}

.semut-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.semut-post-card__thumb--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(255, 138, 42, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(217, 243, 244, 0.92), rgba(255, 255, 255, 0.98));
}

.semut-post-card__placeholder-icon {
  color: rgba(30, 106, 88, 0.32);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
}

.semut-entry-title {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  color: #294038;
}

.semut-page-title {
  max-width: 14ch;
  font-size: clamp(1.85rem, 3.4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.semut-entry-thumb {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 1.75rem;
}

.semut-entry-thumb img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 680px;
  object-fit: contain;
}

.semut-prose {
  color: rgba(41, 64, 56, 0.82);
  font-size: 1rem;
  line-height: 1.9;
}

.semut-prose > * {
  margin-top: 0;
  margin-bottom: 1.1rem;
}

.semut-prose h2,
.semut-prose h3,
.semut-prose h4 {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  font-family: 'Quicksand', sans-serif;
  line-height: 1.2;
  color: #1e6a58;
}

.semut-prose h2 {
  font-size: 1.9rem;
}

.semut-prose h3 {
  font-size: 1.5rem;
}

.semut-prose a {
  color: #1e6a58;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.semut-prose img,
.semut-prose iframe,
.semut-prose video,
.semut-prose figure,
.semut-prose .wp-caption {
  max-width: 100%;
}

.semut-prose img,
.semut-prose iframe,
.semut-prose video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.6rem;
}

.semut-prose figure,
.semut-prose .wp-caption {
  margin: 2rem 0;
}

.semut-prose figcaption,
.semut-prose .wp-caption-text {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(41, 64, 56, 0.6);
  text-align: center;
}

.semut-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.semut-prose th,
.semut-prose td {
  border: 1px solid rgba(30, 106, 88, 0.12);
  padding: 0.8rem 1rem;
  text-align: left;
}

.semut-prose ul,
.semut-prose ol {
  padding-left: 1.3rem;
}

.semut-prose li {
  margin-bottom: 0.45rem;
}

.semut-prose blockquote {
  margin: 1.5rem 0;
  border-left: 4px solid #d8e88d;
  padding: 0.75rem 0 0.75rem 1rem;
  color: #1e6a58;
  background: rgba(217, 243, 244, 0.35);
  border-radius: 0 1rem 1rem 0;
}

.semut-prose > *:last-child,
.semut-prose blockquote p:last-child {
  margin-bottom: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(30, 106, 88, 0.12);
  color: #1e6a58;
  font-weight: 800;
}

.page-numbers.current {
  background: #1e6a58;
  border-color: #1e6a58;
  color: #fff;
}

@media (max-width: 767px) {
  .semut-page-shell {
    padding: 1.5rem;
  }

  .semut-page-title {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .semut-article-shell {
    padding: 1.35rem;
    border-radius: 1.5rem;
  }
}

.semut-sidebar {
  display: grid;
  gap: 1.25rem;
}

.semut-sidebar-card {
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(36, 52, 46, 0.1);
  padding: 1.4rem;
}

.semut-sidebar-card--soft {
  background: rgba(217, 243, 244, 0.55);
}

.semut-sidebar-card--accent {
  background: rgba(255, 138, 42, 0.12);
}

.semut-sidebar-title {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.45rem;
  line-height: 1.2;
  color: #1e6a58;
}

.semut-sidebar-copy {
  margin: 0.85rem 0 0;
  color: rgba(41, 64, 56, 0.74);
  font-size: 0.95rem;
  line-height: 1.7;
}

.semut-sidebar-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.semut-sidebar-link {
  display: block;
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 251, 239, 0.8);
  border: 1px solid rgba(30, 106, 88, 0.08);
}

.semut-sidebar-link:hover {
  background: rgba(217, 243, 244, 0.4);
}

.semut-sidebar-link__date {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c99655;
}

.semut-sidebar-link__title {
  display: block;
  color: #294038;
  font-weight: 800;
  line-height: 1.5;
}

.semut-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.semut-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  color: #1e6a58;
  font-size: 0.82rem;
  font-weight: 800;
}

.semut-sidebar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  border-radius: 999px;
  background: #ff8a2a;
  padding: 0.95rem 1.15rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

.semut-map-embed,
.semut-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
