@font-face { font-family: Maitree; font-weight: 400; font-display: swap; src: url(/fonts/maitree-400.woff2) format("woff2"); }
@font-face { font-family: Maitree; font-weight: 700; font-display: swap; src: url(/fonts/maitree-700.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700.woff2) format("woff2"); }

:root { --bg: #0a2138; --fg: #fff; --body: Maitree, Georgia, serif; --head: Poppins, Arial, Helvetica, sans-serif; }

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--fg); font: 400 16px/1.8 var(--body); }
a { color: inherit; }

.head { padding: 40px 20px 0; text-align: center; }
.headmenu { font: 400 14px/28px var(--head); padding-bottom: 40px; margin-bottom: 10px; }
.headmenu a, .foot a { text-decoration: none; }
.headmenu a:hover, .foot a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; color: var(--fg); }
h1 { font-size: 39.8px; line-height: 1.1; margin: 0; }

.content { flex: 1; width: 100%; max-width: 640px; margin: 60px auto; padding: 0 20px; }
.content > :last-child { margin-bottom: 0; }
.content > p:last-child:has(> img) { margin-bottom: 28px; }
.content p, .content ul, .content ol { margin: 0 0 28px; }
.content ul, .content ol { padding-left: 20.8px; }
.content h2 { font-size: 39px; line-height: 1.3; margin: 39px 0 19.5px; }
.content h3 { font-size: 31.2px; line-height: 1.3; margin: 31.2px 0 15.6px; }
.content > h2:first-child, .content > h3:first-child { margin-top: 0; }
.content strong { font-weight: 700; }
.content img { display: block; max-width: 100%; height: auto; }
.content .aligncenter { margin: 0 auto; }
.content blockquote { margin: 28px 0; padding-left: 28.8px; border-left: 4px solid #eee; }
.content blockquote p { font-style: italic; margin-bottom: 28px; }
.content blockquote p:last-of-type { margin-bottom: 14px; }
.content blockquote cite { display: block; font-size: 14px; font-style: normal; opacity: .85; }
.content figure { margin: 28px 0; }
.content .center { text-align: center; }
.content .right { text-align: right; }
.content .counter { font: 700 2rem/1.4 var(--head); text-align: center; }
.content .counter strong { font-weight: 700; }

.buttons { text-align: center; }
.btn { display: inline-block; margin: 0 10px 10px 0; padding: 10px 15px; border-radius: 8px; background: #fff; color: var(--bg); font: 400 16px/18px var(--body); text-decoration: none; }
.btn:last-child { margin-right: 0; }
.btn:hover { opacity: .85; }
.btn .ico { width: 1em; height: 1em; margin-right: 5px; vertical-align: -2px; }

.foot { padding: 20px 20px 40px; text-align: center; font: 400 14px/28px var(--head); }

@media (max-width: 767px) {
  h1 { font-size: 28.8px; }
  .content h2 { font-size: 25.6px; margin: 25.6px 0 12.8px; }
  .content h3 { font-size: 22.8px; margin: 22.8px 0 11.4px; }
  .foot { font-size: 12px; line-height: 24px; }
}
.foot .sep { margin: 0 5px; }
.content img.mail { display: inline; vertical-align: -5px; }
