html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", "Arial", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #090606;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
}

h1 {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.335em 8px;
  font-weight: 500;
  font-size: 2em;
}

h2 {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.415em 8px;
  font-weight: 500;
  font-size: 1.5em;
}

h3 {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding: 0.5em 8px;
  font-weight: 500;
  font-size: 1.17em;
}

h4 {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.665em 8px;
  font-weight: 500;
  font-size: 1em;
}

h5 {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.835em 8px;
  font-weight: 500;
  font-size: 0.83em;
}

h6 {
  margin-top: 0;
  margin-bottom: 0;
  padding: 1.165em 8px;
  font-weight: 500;
  font-size: 0.67em;
}

p {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding: 0.5em 8px;
}

main ul,
main ol{
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.5em 8px 0.5em 24px;
}

main dl {
  margin: 0;
  padding: 0.5em 8px;
}

main dt {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

main dd {
  margin-left: 0;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 40px;
}

main ul {
  list-style: none;
}

main li {
  color: #090606;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

main ul li {
  position: relative;
}

main ul li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: -16px;
  width: 6px;
  height: 6px;
  background: #99999c;
  border-radius: 50%;
}

blockquote {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 40px;
  padding-right: 40px;
}

.spacer {
  box-sizing: border-box;
  width: 100%;
}

.spacer--small {
  padding: 8px;
}

.spacer--middle {
  padding: 12px;
}

.spacer--big {
  padding: 16px;
}

.dimensional-container {
  padding: 8px;
}

.table-block {
  padding: 8px;
}

.no-thead table thead {
  display: none;
}

.table-block table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 2;
  color: rgb(9, 6, 6);
}

.table-block table th,
.table-block  table td {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(227, 231, 232, 0.7);
}

.table-block table th {
  font-weight: 400;
  text-align: left;
}

.divider {
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
}

.divider__inner {
  box-sizing: border-box;
  width: 100%;
  height: 1px;
  background-color: rgba(227, 231, 232, 0.7);
}

.divider__inner--green {
  background-color: #70BDC2;
}

.title-background {
  position: relative;
  line-height: 1.8;
  font-weight: 500;
  color: #090606;
  text-transform: uppercase;
}

.title-background::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 120px;
  height: 20px;
  background-color: #70BDC2;
}

h1.title-background::after {
  top: 33px;
  left: 12px;
}

h2.title-background::after {
  top: 27px;
  left: 12px;
}

.title-main {
  font-weight: bold;
  color: rgb(14, 27, 71);
}

.small-heading {
  display: block;
  font-weight: 500;
  font-size: 0.85em;
  text-transform: capitalize;
}

.uppercase-heading {
  font-size: 18px;
  text-transform: uppercase;
}

main a {
  color: #090606;
  text-decoration: none;
  -webkit-transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

main a:hover,
main a:focus-visible,
main a:active {
  color: #70BDC2;
  text-decoration: none;
  outline: none;
}

.link-background {
  position: relative;
  display: inline-block;
  padding: 8px;
  text-transform: uppercase;
  text-decoration: none;
}

.link-background::before {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 12px;
  z-index: -1;
  width: calc((100% - 24px)*.72);
  height: 8px;
  background-color: #70BDC2;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  padding: 0 8px;
  margin: 0 auto;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
}

.substrate-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #70BDC2;
  border-radius: 5px;
}

.substrate-image--female {
  background-color: #FFC0CB;
}

.substrate-image--post {
  box-sizing: border-box;
  padding: 40px 25px;
}

.substrate-image p {
  text-align: center;
  font-weight: 500;
  color: #ffffff;
}

.page__header {
  flex: 0 0 auto;
}

.page__main {
  flex: 0 0 auto;
}

.page__footer {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.visually-hidden {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}

label {
  position: absolute;
  top: 20px;
  left: 24px;
  display: block;
  padding: 0 5px;
  color: rgb(99, 105, 106);
  background: white;
  -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

input,
textarea {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  padding: 25px 23px;
  font-size: 14px;
  color: #63696a;
  background: white;
  border: 1px solid rgba(227, 231, 232, 0.7);
  border-radius: 5px;
  -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #70BDC2;
}

input:focus + label,
textarea:focus + label,
contact-form__field--filled + label {
  top: -11px;
}

textarea {
  height: 120px;
  padding: 20px 25px;
  resize: vertical;
}

.contact-form__error-message {
  position: absolute;
  bottom: 16px;
  left: 0;
  display: inline-block;
  color: #dc3545;
}

button[type="submit"] {
  display: inline-block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0 8px;
  width: calc(100% - 16px);
  padding: 18px 30px;
  font-weight: 500;
  color: white;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid #f8777c;
  background-color: #f8777c;
  border-radius: 4px;
  cursor: pointer;
}

button[type="submit"] span::after {
  content: "";
  display: inline-block;
  vertical-align: bottom;
  width: 18px;
  height: 15px;
  margin-left: 5px;
  background-image: url("../img/arrow-right-white.svg");
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.header {
  position: relative;
  width: 100%;
  z-index: 20;
  color: #201f1e;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(227, 231, 232, 0.7);
}

.header--replaceble {
  position: sticky;
  top: -100%;
  z-index: 30;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 20px 0px;
  animation-duration: 1s;
  animation-name: replaceHeader;
  animation-fill-mode: forwards;
}

@keyframes replaceHeader {
  from {
    top: -100%;
    box-shadow: none;
  }

  to {
    top: 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 20px 0px;
  }
}

.header__container {
  box-sizing: border-box;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  display: inline-block;
  padding: 8px;
}

.logo a {
  display: block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  color: #201f1e;
  text-decoration: none;
  text-transform: uppercase;
  background-color: #ffffff;
}

.image {
  box-sizing: border-box;
  max-width: 568px;
  max-height: 568px;
  margin: 0 auto;
  padding: 8px;
  background-color: #FFFFFF;
  border-radius: 8px;
}

.image__inner {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding-bottom: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo a img {
  display: block;
}

/* .lists-container__inner-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
} */

.site-navigation {
  display: inline-block;
  padding: 8px;
}

.site-navigation__menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0;
}

.site-navigation__item {
  display: inline-block;
  vertical-align: top;
}

.site-navigation__link {
  position: relative;
  z-index: 5;
  display: block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 2;
  color: black;
  background-color: #ffffff;
  text-decoration: none;
}

.site-navigation__link:disabled {
  color: #a19f9d;
  background-color: #f3f2f1;
}

.site-navigation__link:focus-visible {
  outline: none;
  -webkit-box-shadow: 0 0 0 1px #ffffff inset, 0 0 0 2px #323130 inset;
          box-shadow: 0 0 0 1px #ffffff inset, 0 0 0 2px #323130 inset;
}

.site-navigation__burger-button {
  display: none;
}

.social {
  margin-top: 0;
  margin-bottom: 0;
  padding: 8px;
  list-style: none;
  display: inline-block;
  display: flex;
}

.social__item {
  display: inline-block;
}

.social__item::before {
  content: none;
}

.social__link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
}

.social__link:hover svg {
  stroke: #70BDC2;
}

/* Footer */

.footer__container {
  padding: 42px 0;
}

.footer__logo {
  padding: 8px;
}

.footer__content-links,
.footer__social-links,
.footer__helpful-links {
  margin: 0;
  list-style: none;
  padding: 16px 8px;
}

.footer__content-links li {
  padding: 8px 0;
}

.footer__content-link {
  font-weight: 500;
  text-transform: uppercase;
}

.footer__contact-info {
  padding-top: 16px;
  padding-bottom: 16px;
  font-style: normal;
}

.footer__contact-link {
  font-weight: 500;
  text-transform: uppercase;
}

.footer__social-links {
  padding: 16px 0;
  display: flex;
}

.footer__social-links li {
  display: inline-block;
}

.footer__social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  padding: 8px;
}

.footer__social-link--instagram:hover svg,
.footer__social-link--linkedin:hover svg,
.footer__social-link--facebook:hover svg  {
  stroke: #70BDC2;
}


.footer__social-link--twitter:hover svg path,
.footer__social-link--youtube:hover svg path{
  fill: #70BDC2;
}


.footer__helpful-links li {
  padding: 8px 0;
}

.footer a {
  text-decoration: none;
  -webkit-transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  color: #000000;
}

.footer a:hover {
  color: #70BDC2;
}

.banner {
  color: #ffffff;
}

.banner--green {
  background: #70BDC2;
}

.banner--pink {
  background: #FFC0CB;
}

.banner__image {
  box-sizing: border-box;
  width: calc(100% - 16px);
  max-width: 300px;
  margin: 0 auto;
  border: 15px solid #fff;
  border-radius: 50%;
  overflow: hidden;
}

.banner__image img {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.banner__content {
  color: #fff;
  font-size: 16px;
  font-weight: 300;
}

.banner__content ul {
  display: flex;
  padding: 32px 0 0;
}

.banner .banner__content ul li p {
  position: relative;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
}

.banner__content ul li:not(:last-child) {
  margin-right: 8px;
}

.banner__content ul li a {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border: 2px solid transparent;
  border-radius: 50%;
  -webkit-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
}

.banner__content ul li::before {
  content: none;
}

.banner__content ul li a:hover {
  border-color: #fff;
}

.banner__content ul li a img {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
}

/* 
.banner__content p:nth-of-type(1) {
  font-weight: 500;
  font-size: 18px;
} */

.banner__content ul li {
  position: static;
  display: inline-block;
  padding: 0;
}

.banner__content ul li::after {
  content: none;
}

.banner__content ul li a {
  text-decoration: none;
  color: #323130;
}

.page__main--secondary {
  padding-top: 0;
  padding-bottom: 0;
}

.secondary-section__banner-image {
  padding: 8px;
}

.secondary-section__banner-image img {
  width: 100%;
}

.contact-form h2 {
  margin-bottom: 32px;
}

.contact-form__container {
  max-width: 810px;
  margin: 0 auto;
}

.contact-form__field-container {
  position: relative;
  margin: 0 8px;
  padding-bottom: 40px;
}

.contact-form label {
  position: absolute;
  top: 20px;
  left: 24px;
  display: block;
  padding: 0 5px;
  color: rgb(99, 105, 106);
  background: white;
  -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.contact-form input,
.contact-form textarea {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  padding: 25px 23px;
  font-size: 14px;
  color: #63696a;
  background: white;
  border: 1px solid rgba(227, 231, 232, 0.7);
  border-radius: 5px;
  -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #70BDC2;
}

.contact-form input:focus + label,
.contact-form textarea:focus + label,
.contact-form__field--filled + label {
  top: -11px;
}

.contact-form textarea {
  height: 120px;
  padding: 20px 25px;
  resize: vertical;
}

.contact-form__error-message {
  position: absolute;
  bottom: 16px;
  left: 0;
  display: inline-block;
  color: #dc3545;
}

.contact-form button[type="submit"] {
  display: inline-block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0 8px;
  width: calc(100% - 16px);
  padding: 18px 30px;
  font-weight: 500;
  color: white;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid #f8777c;
  background-color: #f8777c;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button[type="submit"] span::after {
  content: "";
  display: inline-block;
  vertical-align: bottom;
  width: 18px;
  height: 15px;
  margin-left: 5px;
  background-image: url("../img/arrow-right-white.svg");
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.posts__item {
  padding: 8px 0;
}

.posts__breadcrumbs {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  padding: 4px;
}

.posts__breadcrumbs li {
  display: inline-block;
  padding: 4px;
}

.posts__breadcrumbs li::before {
  content: none;
}

.posts__breadcrumbs-link {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: block;
  min-width: 50px;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 3px;
  border: 1px solid #CCCCCC;
  color: #ababab;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.posts__breadcrumbs-link--current {
  color: #090606;
  border: 1px solid #70BDC2;
  background-color: #70BDC2;
}

.posts__breadcrumbs-link--current:hover {
  color: #090606;
}

.posts__breadcrumbs-link:hover {
  border-color: #70BDC2;
}

.post__outer-link:hover,
.post__outer-link:focus-visible,
.post__outer-link:active {
  color: #090606;
}

.post__outer-link h1,
.post__outer-link h2,
.post__outer-link h3,
.post__outer-link .post__link-action {
  transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.post__outer-link .post__link-action svg {
  transition: stroke 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.post__outer-link h1:hover,
.post__outer-link h2:hover,
.post__outer-link h3:hover,
.post__outer-link .post__link-action:hover {
  color: #70BDC2;
}

.post__outer-link .post__link-action:hover svg {
  stroke: #70BDC2;
}

.post__outer-link--female h1:hover,
.post__outer-link--female h2:hover,
.post__outer-link--female h3:hover,
.post__outer-link--female .post__link-action:hover {
  color: #FFC0CB;
}

.post__outer-link--female .post__link-action:hover svg {
  stroke: #FFC0CB;
}

.post__main figure {
  margin: 0;
}

.post__banner-image--no-image {
  height: auto;
}

.post__header > * {
  padding: 4px 8px;
}

.post__header > .link-background {
  padding: 8px;
}

.post__header-info > * {
  display: block;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  padding: 0 12px;
}

.post__header-info > *::after {
  position: absolute;
  content: "";
  right: auto;
  left: 0px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background-color: #70BDC2;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.post__header h1 {
  color: #0e1b47;
}

.post__header h3 a {
  color: #0e1b47;
  -webkit-transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.post__header h3 a:hover,
.post__header h3 a:focus-visible,
.post__header h3 a:active {
  text-decoration: none;
  outline: none;
  color: #70BDC2;
}

.post__link-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  padding: 8px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
}

.post__link-action svg {
  transition: stroke 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.post__link-action:hover svg {
  stroke: #70BDC2;
}

.post__main blockquote {
  position: relative;
  max-width: 660px;
  text-align: center;
}

.post__main blockquote::before {
  content: "";
  position: absolute;
  background: url("../img/quote-icon.png") center center/cover no-repeat scroll;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 125px;
  height: 109px;
  z-index: -1;
}

.post__main-text {
  padding-bottom: 30px;
}

.post__main h4 {
  padding-bottom: 15px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
}

.post__main .post__main-container {
  padding: 16px 0;
}

.post__main-block img {
  display: block;
  border-radius: 5px;
}

.post__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* square post content image */

.post__square-image {
  box-sizing: border-box;
  width: 100%;
  height: calc(100vw - 16px);
  overflow: hidden;
}

.post__square-image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

/* Share */

.share {
  width: 100%;
  display: flex;
  align-items: center;
}

.share__text {
  margin-right: 30px;
  font-weight: 500;
  font-size: 16px;
}

.share__list {
  display: flex;
  flex-grow: 1;
}

.share li {
  display: inline-block;
  padding: 5px;
}

.share li::before {
  content: none;
}

.share__link {
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  text-align: center;
  border-radius: 50%;
  border: 2px solid transparent;
}

.share__link:hover,
.share__link:active,
.share__link:focus-visible {
  border-color: rgb(146, 148, 150);
}

.share li::before {
  content: none;
}

.share__link img {
  vertical-align: middle;
}

/* Tags */

.tags {
  display: flex;
  box-sizing: border-box;
}

.tags li {
  display: inline-block;
  padding: 0 3px;
}

.tags__link {
  color: rgb(171, 171, 171);
}

.tags li::before {
  content: none;
}

.page-sidebar {
  display: flex;
  flex-direction: column;
}

.page-sidebar__post .post__banner-image {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-width: auto;
  margin: 0 auto;
}

.page-sidebar__post .post__banner-image img {
  display: block;
  margin-right: auto;
}

.content-container__inner::after {
  content: "";
  display: block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  clear: both;
}

.content-container__inner > * {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  float: left;
  padding: 8px;
}

.content-container__inner img {
  display: block;
  border-radius: 5px;
}

.extra-section__block-wrapper {
  padding: 8px;
}

.extra-section__block {
  padding: 8px;
  border: 1px solid rgba(227, 231, 232, 0.7);
  border-radius: 5px;
}

.extra-section__block > a:hover {
  color: #090606;
}

.extra-section__block > * {
  display: block;
}

.extra-section__block > *:nth-last-child(1) {
  border-bottom: none;
}

.extra-section__block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 0;
}

.extra-section__block li {
  padding: 0;
  text-transform: capitalize;
  border-bottom: 1px solid #CCCCCC;
}

.extra-section__block li a {
  display: block;
  padding: 8px 0;
  font-weight: 500;
}

.extra-section__block li::before {
  content: none;
}

.extra-section__block li:nth-last-child(1) {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.extra-section__post {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.extra-section__post h3 {
  transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.extra-section__post h3:hover {
  color: #70BDC2;
}

.extra-section__post-image {
  width: 80px;
  height: 80px;
  margin: 0;
  box-sizing: content-box;
  flex-shrink: 0;
  padding: 8px;
}

.extra-section__post-image img {
  display: block;
  border-radius: 5px;
}

.extra-section__post time {
  text-transform: uppercase;
}

.post__preview-content > p {
  padding-top: 2px;
  padding-bottom: 2px;
}

.post__preview-content > .post__link-action {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Instagram */

.instagram {
  text-align: center;
  background-color: rgb(112, 189, 194);
}

.instagram__container {
  padding: 0 4px;
}

.instagram h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 12px;
  padding-right: 12px;
}

.instagram h2::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  vertical-align: baseline;
  background-image: url("../img/icons/instagram-icon-section.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.instagram__gallery {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.instagram__image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.instagram__image {
  box-sizing: border-box;
  width: 100%;
  max-width: 314px;
  height: calc(100vw - 16px);
  max-height: 306px;
  padding: 8px 12px;
}

.instagram__image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

/* Fixed text */

.fixed-text {
  max-width: 810px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  h1, h2, h3, h4, h5, h6, p {
    padding-right: 12px;
    padding-left: 12px;
  }

  main ul,
  main ol {
    padding-right: 12px;
  }

  main dl {
    padding: 12px
  }

  .spacer--small {
    padding: 16px;
  }
  
  .spacer--middle {
    padding: 24px;
  }
  
  .spacer--big {
    padding: 32px;
  }

  .divider {
    padding: 12px;
  }

  .site-navigation,
  .logo,
  .social,
  .social__link {
    padding: 12px;
  }
  
  .site-navigation__link {
    padding: 12px 0;
  }

  .link-background {
    padding: 12px;
  }
  
  .link-background::before {
    left: 12px;
    bottom: 16px;
  }

  .image {
    max-width: none;
    max-height: none;
    padding: 12px;
  }
  
  .footer__container {
    padding: 64px 0 38px;
  }

  .footer__logo,
  .footer__content-links,
  .footer__helpful-links {
    padding-right: 12px;
    padding-left: 12px;
  }

  .footer__social-link {
    padding: 12px;
  }

  .table-block {
    padding: 12px;
  }

  .container {
    padding: 0 12px;
  }

  .contact-form__field-container {
    margin: 0 12px;
  }

  .contact-form textarea {
    height: 200px;
  }

  .contact-form button[type="submit"],
  button[type="submit"] {
    width: calc(100% - 24px);
    margin: 0 12px;
    padding: 22px 55px;
  }

  .posts__container {
    max-width: none;
  }

  .posts__item {
    padding: 12px 0;
  }

  .post {
    display: flex;
  }

  .post__banner-image {
    min-width: 300px;
    width: 300px;
    height: 300px;
  }

  .page-sidebar__post .post__banner-image--no-image {
    padding: 8px;
    height: auto;
  }

  .post__header > * {
    padding: 6px 12px;
  }

  .post__header > .link-background {
    padding: 12px;
  }
  /* 
  .post__header-info > * {
    display: inline-block;
  } */

  .post__link-action {
    padding: 12px;
  }

  .post__square-image {
    width: 100%;
    max-width: 467px;
    height: 48.7vw;
    max-height: 467px;
  }

  .page-sidebar__post {
    display: flex;
    flex-direction: column;
  }

  .post__preview-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .post__preview-content > .post__link-action {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .gallery-post {
    display: block;
  }

  .content-container__inner > * {
    width: 50%;
    padding: 12px;
  }

  .extra-section__block-wrapper {
    padding: 12px;
  }

  .extra-section__block {
    padding: 12px;
  }

  .extra-section__post-image {
    padding: 12px;
  }

  .posts__breadcrumbs,
  .posts__breadcrumbs li {
    padding: 6px;
  }

  .share,
  .tags {
    width: 50%;
  }
  
  .tags {
    justify-content: flex-end;
  }

  .secondary-section__banner-image {
    padding: 12px;
  }

  .instagram__container {
    padding: 0 12px;
  }

  .instagram__image {
    margin: 4px 0;
  }

  .banner__image {
    margin-bottom: 32px;
  }

  .banner__content ul li:not(:last-child) {
    margin-right: 12px;
  }
  
  .contact-form__error-message {
    bottom: 12px
  }
}

/* Правки для футера, tablet.  */

@media (min-width: 600px) and (max-width: 959px) {
  .footer__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer__container > * {
    box-sizing: border-box;
    width: 50%;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .footer__container > .divider {
    width: 100%;
  }

  .footer__contact-info > *:nth-child(1){
    padding-top: 0;
  }

  .footer__logo {
    order: 1;
    height: 42px;
  }

  .footer__contact-info {
    order: 2;
  }

  .footer__content-links {
    order: 3;
  }

  .footer__helpful-links {
    order: 4;
  }

  .footer__social-links {
    align-self: flex-end;
    order: 5;
  }

  .footer__copyright {
    order: 6;
  }
}

@media screen and (min-width: 960px) {
  .banner {
    display: flex;
    padding: 0 12px;
  }

  .banner__container {
    display: flex;
    align-items: center;
  }

  .banner__container .spacer {
    display: none;
  }

  .banner__image {
    display: inline-block;
    flex-shrink: 0;
    margin: 0 60px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border-radius: 50%;
    border: 15px solid #fff;
    background-color: #fff;
  }

  .banner__image img {
    width: 100%;
  }

  .banner__content {
    display: inline-block;
  }

  .banner__content ul {
    max-width: 320px;
  }
  
  .site-navigation__link {
    padding: 12px;
  }

  .social__link svg{
    stroke: #929496;
  }

  .footer__container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 88px 0 40px;
  }

  .footer__container > * {
    width: 33.3%;
    box-sizing: border-box;
  }


  .footer__container > .divider {
    width: 100%;
  }

  .footer__social-links {
    align-self: flex-end;
  }

  .footer__content-links,
  .footer__contact-info {
    padding-top: 0;
  }

  .footer__contact-info {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }

  .footer__contact-info p:nth-last-child(1) {
    margin-top: auto;
  }

  .footer__copyright {
    align-self: flex-end;
    padding: 12px 0 18px;
  }

  .header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }

  .page__main--secondary {
    padding-top: 0;
    padding-bottom: 0;
  }

  .secondary-section__container {
    max-width: 960px;
    margin: 0 auto;
  }

  .contact-form form {
    display: grid;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, auto);
    gap: 6px;
  }

  .contact-form__field-container {
    padding-bottom: 40px;
  }

  .contact-form__field-container--comment {
    grid-column: 2 / 3;
    grid-row: 1/4;
  }

  .contact-form textarea {
    height: 100%;
  }

  .contact-form button[type="submit"] {
    grid-column: 1 / 3;
  }

  .page-sidebar {
    justify-content: space-between;
    flex-direction: row;
  }

  .page-sidebar .spacer {
    display: none;
  }

  .page-sidebar__main {
    box-sizing: border-box;
    width: 66.7%;
    padding-top: 0;
  }

  .page-sidebar__aside {
    box-sizing: border-box;
    width: 33.3%;
    flex-shrink: 0;
    flex-grow: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .page-sidebar__post .post__banner-image {
    max-width: 837px;
    max-height: 837px;
  }


  .page-sidebar__post .post__banner-image--no-image {
    padding: 12px;
    height: auto;
  }

  .substrate-image--post {
    padding: 50px 30px;
  }

  /* .extra-section__block-wrapper:nth-child(1) {
    padding-top: 0;
  } */

  .gallery-section {
    display: flex;
    flex-wrap: wrap;
    align-self: flex-start;
  }

  .gallery-section > h1,
  .gallery-section > h2 {
    width: 100%;
  }
  
  
  .gallery-section__post {
    display: inline-block;
    box-sizing: border-box;
    width: 50%;
  }
  
  .gallery-post__banner-image {
    box-sizing: border-box;
    width: 100%;
    max-height: 418px;
  }

  .post__square-image {
    max-width: 418px;
    height: 32.5vw;
    max-height: 418px;
  }

  .site-navigation__item:last-child {
    padding-right: 0;
  }

  .site-navigation__link::after,
  .site-navigation__link--current::after {
    content: "";
    position: absolute;
    left: 12px;
    bottom: 16px;
    z-index: -1;
    width: 0;
    height: 8px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    background-color: rgb(112, 189, 194);
    -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  }

  .site-navigation__link:hover {
    color: #000000;
  }

  .site-navigation__link:hover::after,
  .site-navigation__link--current::after {
    width: calc((100% - 24px)*.72);
  }

  .contact-form__error-message {
    bottom: 8px
  }
}

@media (min-width: 1280px) {
  .banner__container {
    margin: auto;
  }
}

@media screen and (max-width: 959px) {
  .header__site-navigation {
    order: 1;
    box-sizing: border-box;
    margin-right: auto;
    min-width: 64px;
  }

  .header__logo {
    order: 2;
  }

  .header__social {
    order: 3;
    margin-left: auto;
    padding: 0;
  }
  

  .site-navigation__menu {
    position: absolute;
    top: 100%;
    top: calc(100% + 1px);
    left: 0;
    z-index: 10;
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 24px 24px 40px 24px;
    background-color: #70BDC2;
    box-shadow: rgba(0, 0, 0, 0.133) 0 3.2px 7.2px 0, rgba(0, 0, 0, 0.11) 0 0.6px 1.8px 0;
    transform-origin: top;
    transform: scale(1, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .site-navigation__menu--opened {
    transform: scale(1, 1);
    opacity: 1;
    visibility: visible;
  }

  .no-js .header .container {
    margin: 0;
  }

  .no-js .site-navigation {
    padding: 0;
  }

  .no-js .site-navigation__menu {
    position: static;
    z-index: 20;
    display: block;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 100%;
    margin-top: 0;
    padding: 12px;
    background-color: #70BDC2;
    -webkit-box-shadow: rgba(0, 0, 0, 0.133) 0 3.2px 7.2px 0, rgba(0, 0, 0, 0.11) 0 0.6px 1.8px 0;
            box-shadow: rgba(0, 0, 0, 0.133) 0 3.2px 7.2px 0, rgba(0, 0, 0, 0.11) 0 0.6px 1.8px 0;
    opacity: 1;
    visibility: visible;
    -webkit-transform: none;
            transform: none;
  }

  .no-js .header__container {
    display: block;
  }

  .no-js .header__logo {
    display: block;
  }

  .no-js .site-navigation__item {
    display: block;
  }

  .no-js .site-navigation__burger-button {
    display: none;
  }

  .no-js .site-navigation__menu {
    display: block;
    width: 100%;
  }

  .site-navigation__burger-button {
    position: relative;
    display: block;
    width: 26px;
    height: 21px;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
  }

  .page__overlay {
    position: absolute;
    visibility: hidden;
    z-index: 10;
    min-height: 100vh;
    width: 100vw;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  .page__overlay--show {
    visibility: visible;
    opacity: 1;
  }

  .site-navigation__item {
    padding: 0px;
  }

  .site-navigation__burger-button:disabled {
    color: #a19f9d;
    background-color: #f3f2f1;
  }

  .site-navigation__burger-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 1px #ffffff inset, 0 0 0 2px #323130 inset;
  }

  .site-navigation__burger-button-row {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #201f1e;
    border-radius: 2px;
  }

  .site-navigation__burger-button-row::before,
  .site-navigation__burger-button-row::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 2px;
    background-color: #201f1e;
    border-radius: 2px;
  }

  .site-navigation__burger-button-row::before {
    top: 0;
    left: 0;
  }

  .site-navigation__burger-button-row::after {
    bottom: 0;
    left: 0;
  }

  .site-navigation__burger-button-row,
  .site-navigation__burger-button-row::before,
  .site-navigation__burger-button-row::after {
    transition: transform 0.2s ease-in-out;  }

  .site-navigation__burger-button--opened .site-navigation__burger-button-row {
    transform: rotate(45deg);
  }

  .site-navigation__burger-button--opened .site-navigation__burger-button-row:before {
    transform: rotate(0);
  }

  .site-navigation__burger-button--opened .site-navigation__burger-button-row:after {
    transform: rotate(90deg);
  }

  .site-navigation__button {
    width: 100%;
    text-align: start;
  }

  .site-navigation__menu {
    display: block;
  }

  .site-navigation__item {
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  }

  .site-navigation__link {
    position: relative;
    background-color: #70BDC2;
    line-height: 1.5;
    font-size: 16px;
    color: #090610;
  }
}

@media screen and (max-width: 599px) {
  .site-navigation__menu {
    padding: 16px 16px 24px 16px;
  }
}

/* Instagram */

.instagram-media {
  margin: 0 auto !important;
}

/* Secondary section */

