:root {
  --csuite-copy: #22313f;
  --csuite-muted: #5b6b79;
  --csuite-line: #d8e0e7;
  --csuite-surface: #f6f8fb;
  --csuite-card: #ffffff;
  --csuite-accent: #0f6c5c;
  --csuite-accent-soft: #e7f4f1;
  --csuite-shadow: 0 12px 32px rgba(34, 49, 63, 0.08);
  --csuite-radius: 18px;
  --csuite-content-width: 980px;
}

.page .entry-content,
.page .post-content,
.page .wp-block-post-content {
  color: var(--csuite-copy);
}

.page .entry-content > *,
.page .post-content > *,
.page .wp-block-post-content > * {
  max-width: var(--csuite-content-width);
}

.page .entry-content > h1:first-child,
.page .post-content > h1:first-child,
.page .wp-block-post-content > h1:first-child {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page .entry-content > p,
.page .post-content > p,
.page .wp-block-post-content > p {
  color: var(--csuite-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.page .entry-content > h2,
.page .post-content > h2,
.page .wp-block-post-content > h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--csuite-copy);
}

.page .entry-content > h2 + p,
.page .post-content > h2 + p,
.page .wp-block-post-content > h2 + p {
  margin-top: 0;
}

.calendar-suite-breadcrumbs {
  max-width: var(--csuite-content-width);
  margin: 0 0 18px;
}

.calendar-suite-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--csuite-muted);
  font-size: 0.92rem;
}

.calendar-suite-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.calendar-suite-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  color: #9aa7b3;
}

.calendar-suite-breadcrumbs__item a {
  color: var(--csuite-accent);
  text-decoration: none;
  font-weight: 600;
}

.calendar-suite-breadcrumbs__item a:hover,
.calendar-suite-breadcrumbs__item a:focus {
  text-decoration: underline;
}

.page .entry-content .ycal-wrap,
.page .post-content .ycal-wrap,
.page .wp-block-post-content .ycal-wrap,
.page .entry-content .html-calendar-wrap,
.page .post-content .html-calendar-wrap,
.page .wp-block-post-content .html-calendar-wrap,
.page .entry-content .ht-wrapper,
.page .post-content .ht-wrapper,
.page .wp-block-post-content .ht-wrapper {
  margin: 20px 0 28px;
}

.page .entry-content .calsuite-inline-badge,
.page .post-content .calsuite-inline-badge,
.page .wp-block-post-content .calsuite-inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--csuite-accent-soft);
  color: var(--csuite-accent);
  font-weight: 700;
}

.calendar-suite-seo-nav {
  max-width: var(--csuite-content-width);
  margin: 40px 0 10px;
  padding: 24px;
  border: 1px solid var(--csuite-line);
  border-radius: var(--csuite-radius);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: var(--csuite-shadow);
}

.calendar-suite-seo-nav__title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: var(--csuite-copy);
}

.calendar-suite-seo-nav__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-suite-seo-nav__item a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--csuite-surface);
  color: var(--csuite-copy);
  text-decoration: none;
  font-weight: 600;
  transition: transform 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.calendar-suite-seo-nav__item a:hover,
.calendar-suite-seo-nav__item a:focus {
  background: var(--csuite-accent-soft);
  color: var(--csuite-accent);
  box-shadow: 0 8px 18px rgba(15, 108, 92, 0.12);
  transform: translateY(-1px);
}

.page .entry-content > .calsuite-today-card,
.page .post-content > .calsuite-today-card,
.page .wp-block-post-content > .calsuite-today-card,
.page .entry-content > .calsuite-event-card,
.page .post-content > .calsuite-event-card,
.page .wp-block-post-content > .calsuite-event-card {
  margin: 18px 0 24px;
}

.page .entry-content ul,
.page .post-content ul,
.page .wp-block-post-content ul {
  padding-left: 22px;
}

.page .entry-content li,
.page .post-content li,
.page .wp-block-post-content li {
  margin-bottom: 8px;
}

@media (max-width: 720px) {
  .calendar-suite-seo-nav {
    padding: 18px;
    border-radius: 14px;
  }

  .calendar-suite-seo-nav__list {
    grid-template-columns: 1fr;
  }

  .page .entry-content > p,
  .page .post-content > p,
  .page .wp-block-post-content > p {
    font-size: 1rem;
  }
}
