/* Shared column geometry for public section and category entrances. */
body.safe-layout-page {
  --safe-layout-width: 1360px;
  --safe-layout-gutter: clamp(20px, 3vw, 40px);
}
body.safe-layout-page :is(.safe-section-hero-inner, .safe-page-hero > .container,
  .safe-content-container, .safe-page-container, .safe-en-sub-hero-inner, .safe-en-hero-inner,
  .safe-en-container, .safe-section-topics) {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--safe-layout-width) !important;
  margin-inline: auto;
  padding-inline: var(--safe-layout-gutter) !important;
}
body.safe-layout-page :is(.safe-section-hero, .safe-page-hero, .safe-en-sub-hero) {
  min-height: 360px;
}
body.safe-layout-page .safe-page-hero {
  padding-block: 0;
}
body.safe-layout-page .safe-page-hero > .container {
  padding-block: 108px 40px;
}
body.safe-layout-page .safe-en-section {
  padding-inline: 0;
}
body.safe-layout-page .safe-en-sub-hero-inner {
  padding-block: 108px 40px;
}
body.safe-layout-page :is(.safe-page-title, .safe-section-title,
  .safe-en-sub-hero h1, .safe-en-hero h1) {
  font-size: clamp(32px, 3.6vw, 46px) !important;
  line-height: 1.3;
  font-weight: 600;
}
body.safe-layout-page #safe-about-prose-title {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.4;
}
.safe-academe-mobile-filters { display: none; }
.safe-digest-period { color: #536779; font-size: 14px; line-height: 1.6; }
@media (max-width: 991px) {
  body.safe-layout-page .safe-academe-home-side { order: 1; }
  body.safe-layout-page .safe-academe-home-main { order: 0; }
  .safe-academe-mobile-filters { display: inline-block; margin-block: 0 16px; }
}
@media (max-width: 767px) {
  body.safe-layout-page :is(.safe-section-hero, .safe-page-hero, .safe-en-sub-hero) { min-height: 300px; }
  body.safe-layout-page .safe-page-hero > .container { padding-block: 96px 28px; }
  body.safe-layout-page .safe-section-hero-inner { padding-block: 96px 28px !important; }
  body.safe-layout-page .safe-section-lead { min-height: 0; }
}
/* Keep semantic article lists visible after the legacy global list reset. */
.safe-article-content ol:not([class]) > li { list-style: decimal outside; }
.safe-article-content ul:not([class]) > li { list-style: disc outside; }
