[hidden] {
  display: none !important;
}
.screen-reader-text {
  position: absolute;
  left: -10000px;
}
.screen-reader-text:focus {
  left: 16px;
  top: 8px;
  z-index: 1000;
  background: white;
  padding: 12px;
}
.admin-bar .site-header {
  top: 32px;
}
.doco-section {
  padding-block: 48px 80px;
  min-height: 50vh;
}
.doco-section h1 {
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 24px;
}
.doco-search {
  margin: 20px 0;
}
.doco-search .search-box {
  margin: 0;
  width: 100%;
  max-width: none;
}
.hero .doco-search {
  max-width: 870px;
}
.doco-filters {
  padding: 15px;
  background: #fff7f5;
  border-radius: 14px;
  margin-top: 14px;
}
.doco-filters summary {
  cursor: pointer;
  font-weight: 700;
}
.doco-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0;
}
.doco-filter-grid label {
  display: grid;
  gap: 6px;
}
.doco-filter-grid select {
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  font: inherit;
  max-width: 100%;
}
.doco-results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tabs a {
  display: inline-block;
  padding: 12px 20px;
  border-bottom: 3px solid transparent;
}
.tabs a.active {
  color: var(--pink);
  border-color: var(--pink);
  font-weight: 700;
}
.school-card {
  position: relative;
}
.doco-favorite {
  border: 1px solid #f2c7d0;
  background: #fff;
  color: #b83c58;
  border-radius: 24px;
  padding: 8px 13px;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}
.school-card > .doco-favorite {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
}
.doco-favorite[aria-pressed="true"] {
  background: #e75b79;
  color: #fff;
}
.doco-favorite:disabled {
  opacity: 0.5;
}
.doco-noimage {
  background: linear-gradient(135deg, #f9e7e4, #f4efdf);
  color: #c59896;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 220px;
  min-height: 170px;
  font-size: 52px;
}
.doco-noimage small {
  font-size: 13px;
  letter-spacing: 0.2em;
}
.doco-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 35px 0;
}
.doco-pagination .page-numbers {
  padding: 8px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.doco-pagination .current {
  background: var(--pink);
  color: #fff;
}
.doco-button {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  padding: 12px 22px;
  border: 0;
  border-radius: 28px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.doco-button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.doco-service {
  margin-block: 40px;
  padding: 32px;
  background: #fff0ef;
  border-radius: 18px;
}
.doco-area-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.doco-area-grid a {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.doco-detail-hero {
  height: 380px;
  overflow: hidden;
}
.doco-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doco-detail-title {
  padding-block: 32px;
}
.doco-detail-title h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 15px 0;
}
.doco-catch {
  font-size: 20px;
}
.doco-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  padding-bottom: 50px;
}
.doco-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
.doco-box h2 {
  font-size: 22px;
  border-bottom: 2px solid #f9d7dc;
  padding-bottom: 12px;
  margin-top: 0;
}
.doco-info dt {
  font-weight: 700;
  color: #716562;
  margin-top: 12px;
}
.doco-info dd {
  margin: 3px 0 12px;
}
.doco-table {
  width: 100%;
  border-collapse: collapse;
}
.doco-table th,
.doco-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.doco-table thead {
  background: #fff3f2;
}
.doco-table-scroll {
  overflow-x: auto;
}
.doco-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.doco-gallery figure {
  margin: 0;
}
.doco-gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.doco-teacher {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.doco-teacher > img {
  width: 110px;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
}
.doco-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.doco-small {
  font-size: 12px;
  color: var(--muted);
}
#doco-map {
  height: 520px;
  border-radius: 18px;
  background: #f4ede9;
}
.doco-mini-map {
  height: 230px;
  background: #f4ede9;
}
.doco-contact {
  max-width: 800px;
}
.doco-contact form > label {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}
.doco-contact input:not([type="checkbox"]),
.doco-contact textarea,
.doco-contact select {
  width: 100%;
  border: 1px solid #dacfc8;
  border-radius: 8px;
  padding: 12px;
  background: white;
  font: inherit;
}
.doco-contact b {
  font-size: 12px;
  color: var(--pink);
}
.doco-contact .doco-consent {
  display: flex;
  align-items: center;
}
.doco-consent a {
  text-decoration: underline;
}
.doco-honeypot {
  position: absolute;
  left: -10000px;
}
.doco-contact dt {
  font-weight: 700;
  margin-top: 20px;
}
.doco-contact dd {
  margin: 6px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#doco-contact-error {
  color: #b3203c;
}
#doco-status:not(:empty) {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  background: #433933;
  color: white;
  z-index: 100;
  border-radius: 10px;
  max-width: 90vw;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #bf5972;
  outline-offset: 3px;
}
body.page .site-footer {
  margin-top: 0;
}
@media (max-width: 780px) {
  .admin-bar .site-header {
    top: 46px;
  }
  .doco-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .doco-detail-grid {
    grid-template-columns: 1fr;
  }
  .doco-area-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .doco-detail-hero {
    height: 240px;
  }
  .doco-noimage {
    flex-basis: 130px;
    min-height: 130px;
  }
  .doco-box {
    padding: 20px;
  }
  .doco-section {
    padding-block: 28px 55px;
  }
  #doco-map {
    height: 420px;
  }
  .doco-gallery,
  .doco-highlights {
    grid-template-columns: 1fr;
  }
  .tabs a {
    padding: 10px;
  }
  .doco-search .search-box {
    display: flex;
    flex-direction: column;
  }
  .doco-search .search-field {
    width: 100%;
    min-height: 50px;
  }
  .doco-search .search-box > button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
