.static-page { background: var(--paper); }
.static-page__header { background: var(--navy); position: relative; }
.static-page .header { position: relative; left: auto; top: auto; transform: none; }
@media (max-width: 900px) {
  .static-page .header { height: auto; min-height: 76px; padding-block: 16px; }
}
.static-page__main { padding-block: 40px 100px; min-height: 60vh; }
.static-page__breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; line-height: 1.6; margin-bottom: 56px; }
.static-page__breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.static-page__article { max-width: 960px; margin-inline: auto; }
.static-page__title { font-size: clamp(28px, 4vw, 56px); line-height: 1.25; color: var(--navy); margin-bottom: 40px; overflow-wrap: anywhere; }
.static-page__content { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.static-page__content > * + * { margin-top: 24px; }
.static-page__content h2 { margin-top: 40px; font-size: clamp(23px, 2.4vw, 32px); line-height: 1.4; }
.static-page__content h3 { margin-top: 32px; font-size: 22px; line-height: 1.4; }
.static-page__content :is(ul, ol) { padding-left: 24px; }
.static-page__content li + li { margin-top: 8px; }
.static-page__content a { text-decoration: underline; text-underline-offset: 4px; }
.static-page__content :is(img, video, iframe) { max-width: 100%; }
.static-page__content img { height: auto; }
.static-page__content blockquote { margin-inline: 0; padding: 16px 24px; border-left: 3px solid var(--gold); }
.static-page__content :is(.wp-block-table, pre) { overflow-x: auto; }
.static-page__content table { width: 100%; border-collapse: collapse; }
.static-page__content :is(td, th) { padding: 12px; border: 1px solid #d8d3c8; text-align: left; }
.static-page__content .alignfull { width: 100%; margin-inline: 0; }
.static-page__footer { background: var(--navy); color: white; padding: 64px 0 32px; border-top: 1px solid var(--gold); }
.static-page__footer > .container { max-width: 1440px; }
.static-page__footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 48px; }
.static-page__brand { flex: 1; }
.static-page__brand img { display: block; width: 214px; height: auto; }
.static-page__brand p { margin-top: 22px; color: #b5bfce; font-size: 14px; line-height: 1.8; }
.static-page__label { display: block; margin-bottom: 18px; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; line-height: 1.6; }
.static-page__address { flex: 1; }
.static-page__address p { font-size: 16px; line-height: 1.6; }
.static-page__address > a { display: inline-flex; gap: 18px; margin-top: 14px; padding-bottom: 5px; border-bottom: 1px solid #c9a45c66; font-size: 13px; }
.static-page__contact { display: flex; flex-direction: column; align-items: flex-start; }
.static-page__phone { white-space: nowrap; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; }
.static-page__schedule { color: #b5bfce; font-size: 13px; margin-top: 14px; }
.static-page__footer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-top: 1px solid #ffffff26; padding-top: 26px; padding-right: 80px; }
.static-page__footer-bottom > p { color: #b5bfce; font-size: 12px; line-height: 1.8; }
.static-page__footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 12px; line-height: 1.8; color: #d4dae3; }
.static-page__footer a { transition: color .2s ease; }
.static-page__footer a:hover { color: var(--gold); }
.static-page a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
@media (max-width: 600px) {
  .static-page__main { padding-block: 24px 56px; }
  .static-page__breadcrumbs { margin-bottom: 32px; }
  .static-page__title { margin-bottom: 28px; }
  .static-page__content { font-size: 15px; }
  .static-page__footer { padding-top: 40px; }
  .static-page__footer-top { flex-direction: column; gap: 32px; padding-bottom: 32px; }
  .static-page__footer-bottom { flex-direction: column-reverse; gap: 24px; }
  .static-page__footer nav { flex-direction: column; gap: 12px; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .static-page__footer-top { flex-wrap: wrap; }
  .static-page__brand { flex-basis: 100%; }
  .static-page__footer-bottom { flex-direction: column-reverse; }
}

/* Contacts page */
body.page-template-page-contacts .static-page__article,
.static-page__article:has(.contacts-page) { max-width: none; }
.contacts-page__intro { max-width: 720px; font-size: 18px; line-height: 1.8; margin-bottom: 40px; }
.contacts-page__details { display: flex; gap: 60px; margin-bottom: 48px; }
.contacts-page__sales { flex: 1; min-width: 0; padding: 40px; background: var(--navy); color: white; display: flex; flex-direction: column; align-items: flex-start; }
.contacts-page__phone { font-size: clamp(22px, 3vw, 38px); line-height: 1.4; white-space: nowrap; }
.contacts-page__email { font-size: 17px; margin-top: 12px; overflow-wrap: anywhere; }
.contacts-page__sales p { color: #b5bfce; font-size: 13px; line-height: 1.8; margin-top: 24px; }
.contacts-page__sales .button { margin-top: 30px; }
.contacts-page__address { flex: 1; min-width: 0; padding-block: 20px; }
.contacts-page__address h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 22px; }
.contacts-page__address p { line-height: 1.8; }
.contacts-page__route { display: inline-block; margin-top: 14px; padding-bottom: 5px; border-bottom: 1px solid var(--gold); }
.contacts-page__socials { display: flex; gap: 20px; margin-top: 24px; }
.contacts-page__socials a { background: var(--navy); color: white; }

.contacts-page .contacts-page__map { width: 100%; height: 460px; min-height: 0; background-color: #e2e4df; }
.contacts-page__map-note { font-size: 13px; line-height: 1.8; margin-block: 16px 32px; }
.contacts-page__map-note a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) {
  .contacts-page__details { flex-direction: column; gap: 28px; }
  .contacts-page__sales { padding: 28px 22px; }
  .contacts-page__intro { font-size: 16px; }
  .contacts-page .contacts-page__map { height: 340px; }
}
/* Align the contacts footer with the shared homepage container. */
body:has(.contacts-page) .static-page__footer > .container { max-width: none; }

.static-page__article:has(.docs-page) { max-width: none; }
body:has(.docs-page) .static-page__footer > .container { max-width: none; }
.docs-page__intro { max-width: 760px; font-size: 18px; line-height: 1.8; margin-bottom: 40px; }
.docs-page__list { display: flex; flex-direction: column; border-top: 1px solid #c9a45c66; }
.docs-page__item { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid #c9a45c66; font-size: clamp(18px, 2vw, 26px); line-height: 1.5; }
.docs-page__item > span:last-child { color: var(--gold); font-size: 30px; }
.docs-page__item:hover { color: #8b6829; }
.docs-page__request { margin-block: 48px; padding: 40px; background: var(--navy); color: white; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.docs-page__request h2 { font-size: clamp(24px, 2.5vw, 36px); margin-bottom: 16px; }
.docs-page__request p { max-width: 700px; font-size: 15px; line-height: 1.8; color: #d4dae3; }
.docs-page__request .button { flex-shrink: 0; }
@media (max-width: 900px) {
  .docs-page__request { flex-direction: column; align-items: flex-start; padding: 28px 22px; gap: 24px; }
  .docs-page__request .button { max-width: 100%; }
  .docs-page__intro { font-size: 16px; }
}
.docs-page__description { display: block; font-size: 14px; line-height: 1.6; margin-top: 8px; }
.docs-page__status { font-size: 13px; line-height: 1.5; }
/* Single post */
.static-page__meta { color: #6b7280; font-size: 13px; line-height: 1.6; margin-top: -24px; margin-bottom: 40px; }
.static-page__thumbnail { margin: 0 0 40px; }
.static-page__thumbnail img { display: block; width: 100%; height: auto; }
.static-page__post-nav .nav-links { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid #0000001a; }
.static-page__post-nav .nav-next { margin-left: auto; text-align: right; }
.static-page__nav-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; }
