/* Playful theme — global components */

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.theme-playful {
  font-family: "DM Sans", sans-serif;
}

.theme-playful .site-brand__main {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.1;
}
@media (min-width: 768px) {
  .theme-playful .site-brand__main {
    font-size: 1.7rem;
  }
}
.theme-playful .site-brand__guide {
  color: #1a5c42;
  letter-spacing: 0.2em;
}

/* Header */
.theme-playful__header.shadow-soft {
  box-shadow: 0 8px 32px rgba(26, 92, 66, 0.08);
}

.theme-playful__navbar {
  background: #fff;
  border-bottom: 1px solid rgba(26, 51, 40, 0.08);
}

.theme-playful__topbar {
  background: #1a5c42;
  border-bottom: none;
}

.theme-playful__topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
  min-height: 2rem;
  padding: 0.4rem 0;
}

.theme-playful__topbar-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s;
}

.theme-playful__topbar-link:hover,
.theme-playful__topbar-link.is-active {
  color: #fff;
}

.theme-playful__nav-link {
  color: #5c6b62;
  font-weight: 500;
  font-size: 1.0625rem;
  transition: color 0.2s;
}
.theme-playful__nav-link:hover,
.theme-playful__nav-link.is-active {
  color: #1a5c42;
  font-weight: 600;
}

.theme-playful__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1a5c42;
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(26, 92, 66, 0.2);
}
.theme-playful__btn-primary:hover {
  background: #134832;
  transform: translateY(-1px);
}

.theme-playful__btn-accent {
  display: inline-flex;
  align-items: center;
  background: #f0c14a;
  color: #2a332e;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  transition: background 0.2s;
}
.theme-playful__btn-accent:hover {
  background: #e5b23a;
}

.home-trust {
  background: #fff;
  border-top: 1px solid rgba(200, 212, 204, 0.4);
  border-bottom: 1px solid rgba(200, 212, 204, 0.4);
  padding: 1.25rem 0;
}
.home-trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.home-trust__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #2a332e;
}
.home-trust__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #e8f5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a5c42;
}

/* Category cards */
.home-topic-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(26, 92, 66, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.home-topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(26, 92, 66, 0.1);
}
.home-topic-card__icon-wrap {
  width: auto;
  height: auto;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
  background: transparent;
}
#categories .home-topic-card__icon-wrap {
  width: 100%;
  height: 96px;
  min-height: 96px;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
#categories .category-icon {
  margin-left: auto;
  margin-right: auto;
  width: 88px;
  height: 96px;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}
.home-topic-card__icon-wrap--0 { background: transparent; color: inherit; }
.home-topic-card__icon-wrap--1 { background: transparent; color: inherit; }
.home-topic-card__icon-wrap--2 { background: transparent; color: inherit; }
.home-topic-card__icon-wrap--3 { background: transparent; color: inherit; }
.category-icon {
  width: 88px;
  height: auto;
  max-height: 96px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s;
}
.group:hover .category-icon {
  transform: scale(1.05);
}
.home-topic-card__title {
  font-weight: 700;
  font-size: 1.0625rem;
  color: #1a3328;
  margin-bottom: 0.5rem;
}
.home-topic-card__desc {
  font-size: 0.875rem;
  color: #5c6b62;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
}
.home-topic-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1a5c42;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Newsletter */
.home-newsletter {
  background: #eef4f8;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.home-newsletter__illus {
  display: flex;
  justify-content: center;
  color: #1a5c42;
  opacity: 0.85;
}
.home-newsletter__input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 1px solid #c8d4cc;
  border-radius: 9999px;
  background: #fff;
  font-size: 0.9375rem;
  outline: none;
}
.home-newsletter__input:focus {
  border-color: #1a5c42;
}

.theme-playful__social {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #e8f5ee;
  color: #1a5c42;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.theme-playful__social:hover {
  background: #d4ebe0;
}

/* Section headings */
.home-section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #1a3328;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.home-section-lead {
  color: #5c6b62;
  font-size: 1.0625rem;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .home-trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-newsletter {
    grid-template-columns: auto 1fr;
    padding: 2.5rem 3rem;
  }
}