:root {
  --color-primary: #164f73;
  --color-primary-dark: #0f2f46;
  --color-secondary: #2f6f93;
  --color-accent: #a95f2a;
  --color-background: #f5f7fa;
  --color-surface: #ffffff;
  --color-text: #1d2835;
  --color-muted: #687587;
  --color-border: #d9e2ea;
  --color-soft: #e9f1f6;
  --color-notice-background: #fff3df;
  --color-notice-border: #d28a3d;
  --color-notice-text: #3f2a14;
  --shadow-soft: 0 0.75rem 1.75rem rgba(15, 47, 70, 0.08);
}

html {
  position: relative;
  min-height: 100%;
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-background);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--color-primary);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-primary-dark);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.dropdown-item:focus-visible,
.navbar-toggler:focus-visible {
  outline: 3px solid rgba(169, 95, 42, 0.65);
  outline-offset: 3px;
  box-shadow: none;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(169, 95, 42, 0.24);
}

p {
  max-width: 70ch;
}

.lead {
  color: #405061;
  line-height: 1.55;
}

.site-main-wrapper {
  padding: 2rem 0 3rem;
}

.site-main {
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 0.25rem 1rem rgba(15, 47, 70, 0.04);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: .5rem;
  z-index: 1030;
  background: var(--color-surface);
  padding: .5rem .75rem;
  border: 1px solid var(--color-primary);
  border-radius: .35rem;
}

.navbar {
  padding-block: .85rem;
}

.navbar-toggler {
  border-color: var(--color-border);
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  white-space: normal;
}

.site-logo {
  max-width: min(32vw, 340px);
  align-items: center;
  padding-block: .15rem;
}

.site-logo-full,
.site-logo-icon,
.footer-logo {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.site-logo-full {
  width: min(100%, 340px);
  max-height: 64px;
}

.site-logo-icon {
  display: none;
  width: 44px;
  max-height: 44px;
}

.site-brand-name {
  color: var(--color-primary-dark);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-brand-subtitle {
  color: var(--color-muted);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.25;
}

.navbar-nav {
  gap: .15rem;
}

.navbar .nav-link {
  color: var(--color-text);
  font-weight: 600;
  border-radius: .35rem;
  padding-inline: .75rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--color-primary);
  background: var(--color-soft);
}

.nav-link-highlight {
  color: var(--color-primary-dark) !important;
  box-shadow: inset 0 -2px 0 var(--color-accent);
}

.dropdown-menu {
  border-color: var(--color-border);
  box-shadow: var(--shadow-soft);
}

.dropdown-item {
  color: var(--color-text);
  font-weight: 500;
}

.page-header {
  margin-bottom: 2rem;
}

.page-kicker {
  color: var(--color-accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.academy-banner {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: .35rem solid var(--color-primary);
  border-radius: .5rem;
  box-shadow: var(--shadow-soft);
}

.academy-banner h2 {
  color: var(--color-primary-dark);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: .25rem;
}

.academy-brand {
  color: var(--color-accent);
  font-size: 1.08rem;
  font-weight: 700;
}

.academy-banner-text {
  color: #405061;
  font-size: 1.04rem;
}

.academy-news {
  padding: 1rem 1.15rem;
  color: var(--color-notice-text);
  background: var(--color-notice-background);
  border: 1px solid var(--color-notice-border);
  border-radius: .5rem;
}

.academy-landing-hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: .35rem solid var(--color-primary);
  border-radius: .5rem;
  box-shadow: var(--shadow-soft);
}

.academy-landing-hero h1 {
  color: var(--color-primary-dark);
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.05;
  margin-bottom: .25rem;
}

.academy-landing-status {
  align-self: start;
  padding: 1rem 1.15rem;
  color: var(--color-notice-text);
  background: var(--color-notice-background);
  border: 1px solid var(--color-notice-border);
  border-radius: .5rem;
}

.academy-section {
  margin-bottom: 1.5rem;
}

.topic-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.topic-badge-list span {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: .45rem .75rem;
  color: var(--color-primary-dark);
  background: var(--color-soft);
  border: 1px solid var(--color-border);
  border-radius: .35rem;
  font-weight: 700;
}

.training-live-section {
  margin-bottom: 1.5rem;
}

.training-card {
  display: flex;
  flex-direction: column;
}

.training-card .link-cta {
  margin-top: auto;
}

.training-live-news {
  margin-top: 0;
}

.admin-dashboard {
  display: grid;
  gap: .85rem;
  margin-top: 1.5rem;
}

.admin-section {
  display: grid;
  grid-template-columns: minmax(11rem, .55fr) minmax(0, 1.45fr);
  gap: .85rem 1rem;
  align-items: start;
  padding: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: .5rem;
  box-shadow: 0 .25rem .85rem rgba(15, 47, 70, 0.035);
}

.admin-section-header h2 {
  color: var(--color-primary-dark);
  font-size: 1.08rem;
  line-height: 1.2;
  margin: 0 0 .25rem;
}

.admin-section-header p {
  margin: 0;
  color: var(--color-muted);
  font-size: .9rem;
  line-height: 1.4;
}

.admin-action-grid {
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
}

.admin-action {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-height: 4.7rem;
  padding: .7rem .8rem;
  color: var(--color-text);
  background: #fbfcfd;
  border: 1px solid var(--color-border);
  border-radius: .45rem;
  text-decoration: none;
  box-shadow: 0 .18rem .55rem rgba(15, 47, 70, 0.025);
}

.admin-action:hover,
.admin-action:focus {
  color: var(--color-text);
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 .35rem .9rem rgba(15, 47, 70, 0.07);
}

.admin-action-title {
  color: var(--color-primary-dark);
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.2;
}

.admin-action-text {
  color: var(--color-muted);
  font-size: .84rem;
  line-height: 1.35;
}

.admin-action-status {
  align-self: flex-start;
  margin-top: .2rem;
  padding: .12rem .45rem;
  color: var(--color-notice-text);
  background: var(--color-notice-background);
  border: 1px solid var(--color-notice-border);
  border-radius: .35rem;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.35;
}

.admin-action-disabled {
  background: #f7f9fb;
  border-style: dashed;
}

.admin-action-disabled:hover,
.admin-action-disabled:focus {
  border-color: var(--color-border);
  background: #f7f9fb;
  box-shadow: 0 .18rem .55rem rgba(15, 47, 70, 0.025);
}

.admin-action-danger {
  border-color: #d8b2b2;
}

.admin-action-danger .admin-action-title {
  color: #7a2f2f;
}

@media (max-width: 767.98px) {
  .admin-section {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero {
  background: linear-gradient(135deg, #eef5f8 0%, #ffffff 58%, #f6efe9 100%);
  border: 1px solid var(--color-border);
  border-radius: .5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
}

.hero h1,
.page-header h1 {
  color: var(--color-primary-dark);
  line-height: 1.12;
}

.hero-text {
  font-size: 1.04rem;
}

.hero-photo-placeholder,
.book-cover-placeholder,
.visual-placeholder {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  background:
    linear-gradient(135deg, rgba(22, 79, 115, 0.08), rgba(169, 95, 42, 0.08)),
    var(--color-surface);
  border: 1px dashed #b8c8d5;
  border-radius: .5rem;
  text-align: center;
}

.hero-photo-placeholder {
  min-height: 260px;
  padding: 2rem;
  font-weight: 700;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.hero-visual-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: var(--color-surface);
  border: 1px solid rgba(15, 47, 70, 0.12);
  border-radius: .5rem;
  box-shadow: 0 .85rem 1.9rem rgba(15, 47, 70, 0.13);
}

.hero-visual figcaption {
  color: var(--color-muted);
  font-size: .9rem;
  line-height: 1.45;
}

.section-block {
  margin-top: 2.75rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2 {
  color: var(--color-primary-dark);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.section-heading p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.section-panel,
.content-card,
.card.book-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: .5rem;
  box-shadow: 0 0.35rem 1rem rgba(15, 47, 70, 0.045);
}

.section-panel,
.content-card {
  padding: 1.4rem;
}

.nav-logout-form {
  margin: 0;
}

.nav-logout-button {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
}

.account-panel {
  max-width: 38rem;
  margin-inline: auto;
}

.content-card {
  height: 100%;
}

.student-assessment-panel,
.student-assessment-panel .content-card,
.student-assessment-panel form,
.student-assessment-panel fieldset {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.student-assessment-panel p,
.student-assessment-panel label {
  overflow-wrap: anywhere;
}

.narrative-card {
  border-color: #d8c9d0;
}

.nav-card {
  display: block;
  color: var(--color-text);
  text-decoration: none;
}

.nav-card:hover,
.nav-card:focus {
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

.content-card h3,
.content-card h2,
.section-panel h2,
.section-panel h3 {
  color: var(--color-primary-dark);
}

.content-card p:last-child,
.section-panel p:last-child {
  margin-bottom: 0;
}

.wide-copy > p,
.wide-copy > .service-notice p {
  max-width: none;
}

.feature-icon {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-primary);
  background: var(--color-soft);
  border: 1px solid var(--color-border);
  border-radius: .5rem;
  font-weight: 800;
}

.btn {
  border-radius: .35rem;
  font-weight: 700;
  padding: .58rem .95rem;
}

.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-outline-primary {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-secondary {
  color: var(--color-primary-dark);
  border-color: #9fb3c4;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  color: #fff;
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
}

.status-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: .2rem .55rem;
  color: var(--color-primary-dark);
  background: #f2eee9;
  border: 1px solid #e2cdbb;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
}

.status-label-historical {
  color: #4a5568;
  background: #eef2f5;
  border-color: #c8d3dc;
}

.historical-note {
  margin-bottom: 1rem;
}

.info-message {
  padding: 1rem 1.15rem;
  color: var(--color-primary-dark);
  background: var(--color-soft);
  border: 1px solid var(--color-border);
  border-radius: .5rem;
}

.service-notice {
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  color: var(--color-notice-text);
  background: var(--color-notice-background);
  border: 1px solid var(--color-notice-border);
  border-radius: .5rem;
  line-height: 1.6;
}

.service-notice-title {
  margin-bottom: .35rem;
  color: var(--color-notice-text);
  font-weight: 800;
}

.service-notice-text {
  margin-bottom: 0;
}

.home-announcement {
  width: 100%;
}

.home-announcement-text {
  max-width: none;
  white-space: pre-line;
}

.admin-home-announcement-form {
  max-width: 52rem;
}

.contact-form-panel {
  margin-top: 1.5rem;
}

.contact-form {
  max-width: 52rem;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.metric-card {
  display: flex;
  min-width: 0;
  min-height: 8rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: linear-gradient(145deg, #f7fafc 0%, var(--color-soft) 100%);
  border: 1px solid var(--color-border);
  border-radius: .5rem;
}

.metric-value {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  overflow-wrap: anywhere;
}

.metric-label {
  color: var(--color-muted);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
}

.statistics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.1rem 0 0;
}

.statistics-info-note {
  color: var(--color-primary-dark);
  background: #f7f9fa;
  border: 1px solid var(--color-border);
  border-left: .25rem solid #7e9bb0;
  border-radius: .4rem;
}

.statistics-info-note {
  margin-top: 1rem;
  padding: .85rem 1rem;
}

.statistics-info-note p {
  margin: 0;
}

@media (max-width: 767.98px) {
  .statistics-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479.98px) {
  .statistics-kpi-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .metric-card {
    min-height: 6.75rem;
  }
}

.breadcrumb {
  --bs-breadcrumb-divider-color: var(--color-muted);
  color: var(--color-muted);
  font-size: .92rem;
}

.breadcrumb a {
  font-weight: 600;
}

.book-card {
  overflow: hidden;
}

.book-cover,
.book-cover-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background: #f4f6f8;
}

.book-card .book-cover,
.book-card .book-cover-placeholder {
  width: min(100%, 180px);
  margin-top: 1rem;
  margin-inline: auto;
}

.book-cover-placeholder {
  min-height: 0;
  border-width: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  padding: 1.2rem;
  font-weight: 700;
}

.book-cover-detail {
  width: 100%;
  max-width: 260px;
  max-height: 390px;
  margin-inline: auto;
}

.book-meta {
  color: var(--color-muted);
  font-size: .9rem;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
}

.software-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: .5rem;
  box-shadow: 0 0.35rem 1rem rgba(15, 47, 70, 0.045);
}

.software-card-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.software-card-visual {
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 10;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f4f6f8;
  border: 1px solid var(--color-border);
  border-radius: .5rem;
}

.software-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.software-card-icon,
.software-card-placeholder {
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
  border-radius: .5rem;
}

.software-card-icon {
  object-fit: contain;
  background: var(--color-soft);
  border: 1px solid var(--color-border);
}

.software-card-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  background:
    linear-gradient(135deg, rgba(22, 79, 115, 0.08), rgba(169, 95, 42, 0.08)),
    var(--color-surface);
  border: 1px dashed #b8c8d5;
  font-size: 1.35rem;
  font-weight: 800;
}

.software-hero-image {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: .5rem;
  box-shadow: var(--shadow-soft);
}

.software-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
}

.software-screenshot {
  margin: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: .5rem;
  overflow: hidden;
  box-shadow: 0 0.35rem 1rem rgba(15, 47, 70, 0.045);
}

.software-screenshot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--color-soft);
}

.software-screenshot-caption {
  padding: .75rem .9rem;
  color: var(--color-muted);
  font-size: .9rem;
}

.list-check {
  padding-left: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .45rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: .45rem;
  height: .45rem;
  background: var(--color-accent);
  border-radius: 50%;
}

.columns-2 {
  columns: 2;
  column-gap: 2rem;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: .5rem;
  padding: 1.5rem;
}

.cta-band p {
  color: #dce8ef;
}

.cta-band .btn-outline-primary {
  color: #fff;
  border-color: #c8d9e4;
}

.cta-band .btn-outline-primary:hover,
.cta-band .btn-outline-primary:focus {
  color: var(--color-primary-dark);
  background: #fff;
  border-color: #fff;
}

.site-footer {
  margin-top: 2rem;
  color: #d9e4eb;
  background: var(--color-primary-dark);
}

.footer-brand {
  margin-bottom: .45rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}

.footer-logo-link {
  display: inline-flex;
  max-width: min(100%, 260px);
  margin-bottom: .9rem;
  padding: .35rem .45rem;
  background: #fff;
  border-radius: .35rem;
}

.footer-logo-link:focus-visible {
  outline-color: rgba(255, 255, 255, .8);
}

.footer-logo {
  width: min(100%, 240px);
  max-height: 56px;
}

.footer-description {
  color: #d9e4eb;
}

.footer-professional-registration {
  max-width: 52ch;
  color: #fff;
  line-height: 1.55;
}

.footer-email {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.footer-email:hover,
.footer-email:focus {
  color: #fff;
  text-decoration-thickness: .14em;
}

.footer-title {
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.footer-links a {
  color: #d9e4eb;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #fff;
  text-decoration: underline;
}

.site-evolution {
  width: fit-content;
  margin-bottom: 0;
  padding: .25rem .6rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1rem;
  color: #b8c9d5;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .9rem;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.teaching-material-admin-list {
  display: grid;
  gap: .75rem;
}

.teaching-material-admin-header,
.teaching-material-admin-row {
  display: grid;
  grid-template-columns:
    minmax(9rem, 1.2fr)
    minmax(7rem, .7fr)
    minmax(9rem, 1.1fr)
    minmax(12rem, 1.5fr)
    minmax(4.75rem, .55fr)
    minmax(5rem, .55fr)
    minmax(7.5rem, .75fr)
    minmax(9.5rem, .9fr);
  gap: .75rem;
  align-items: center;
}

.teaching-material-admin-header {
  padding: 0 .75rem;
  color: var(--color-primary-dark);
  font-size: .85rem;
  font-weight: 800;
}

.teaching-material-admin-row {
  padding: .9rem .75rem;
  background: var(--color-soft);
  border: 1px solid var(--color-border);
  border-radius: .5rem;
}

.teaching-material-admin-field {
  min-width: 0;
}

.teaching-material-admin-label {
  display: none;
  margin-bottom: .3rem;
  color: var(--color-primary-dark);
  font-size: .8rem;
  font-weight: 800;
}

.teaching-material-format {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.teaching-material-admin-status .form-check,
.teaching-material-admin-actions .d-flex {
  margin: 0;
}

.teaching-material-admin-actions .btn {
  flex: 0 0 auto;
}

@media (max-width: 1199.98px) {
  .teaching-material-admin-header {
    display: none;
  }

  .teaching-material-admin-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .teaching-material-admin-label {
    display: block;
  }
}

@media (max-width: 991.98px) {
  .site-logo {
    max-width: min(calc(100vw - 6rem), 300px);
  }

  .site-logo-full {
    width: min(100%, 300px);
    max-height: 58px;
  }

  .navbar-collapse {
    padding-top: .85rem;
  }

  .navbar-nav {
    gap: .25rem;
  }
}

@media (max-width: 575.98px) {
  .site-main {
    width: min(100% - 1rem, 1120px);
  }

  .school-card-grid {
    margin-inline: 0;
  }

  .site-logo {
    max-width: min(calc(100vw - 5.75rem), 230px);
  }

  .site-logo-full {
    width: min(100%, 230px);
    max-height: 48px;
  }

  .site-brand-subtitle {
    max-width: 16rem;
  }

  .hero,
  .section-panel,
  .content-card,
  .cta-band,
  .service-notice {
    padding: 1.1rem;
  }

  .hero-photo-placeholder {
    min-height: 190px;
  }

  .hero-visual figcaption {
    font-size: .85rem;
  }

  .columns-2 {
    columns: 1;
  }

  .teaching-material-admin-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .site-logo {
    max-width: 48px;
  }

  .site-logo-full {
    display: none;
  }

  .site-logo-icon {
    display: block;
  }
}
