.header__login {
  display: none;
}

.header__cabinet--register {
  background: #9bd556;
  border-color: #9bd556;
}

.header__cabinet--register:hover,
.header__cabinet--register:focus-visible {
  background: #86c33f;
  border-color: #86c33f;
}

.header__login:focus-visible,
.header__cabinet:focus-visible,
.header__cabinet-mobile:focus-visible,
.consult__register:focus-visible,
.consult__bttn:focus-visible,
.registration__direct-link:focus-visible,
.form-reg__submit:focus-visible,
.form-reg__consent a:focus-visible {
  outline: 3px solid #1d1d1d;
  outline-offset: 3px;
}

@media only screen and (min-width: 1280px) {
  .header__login {
    display: inline-flex;
    margin-left: 2rem;
    font-size: 1.4rem;
    line-height: 120%;
    text-decoration: underline;
    text-underline-offset: 0.3rem;
  }

  .header__cabinet--register {
    margin-left: 1.5rem;
  }
}

.post .consult__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.post .consult__register,
.post .consult__bttn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 4.4rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 125%;
  text-transform: uppercase;
}

.post .consult__register {
  background: #9bd556;
  color: #1d1d1d;
}

.post .consult__bttn {
  border: 1px solid #9bd556;
  background: #fff;
  color: #1d1d1d;
}

.registration__direct-link {
  display: inline-flex;
  margin-top: 1.5rem;
  color: #1d1d1d;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #9bd556;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4rem;
}

.sidebar-form__conversion-text {
  margin-top: 1rem;
  color: #5a5a5a;
  text-align: center;
}

.sidebar-form__register,
.sidebar-form__consult {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 4.4rem;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 100px;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 125%;
  text-align: center;
  text-transform: uppercase;
}

.sidebar-form__register {
  background: #9bd556;
  color: #1d1d1d;
}

.sidebar-form__consult {
  border: 1px solid #9bd556;
  background: #fff;
  color: #1d1d1d;
}

.form-reg__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-reg__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 1.4rem;
  color: #5a5a5a;
  font-size: 1.2rem;
  line-height: 140%;
  cursor: pointer;
}

.form-reg__consent input {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.1rem;
  accent-color: #9bd556;
}

.form-reg__consent a {
  color: #4d7d16;
  text-decoration: underline;
}

.form-reg [aria-invalid="true"] {
  border-color: #c62828 !important;
}

.reg-errors {
  line-height: 140%;
  text-align: center;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10000;
  padding: 1rem 1.5rem;
  border-radius: 0.8rem;
  background: #1d1d1d;
  color: #fff;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.header__lang-list li span {
  display: block;
  padding: 1rem;
  border-radius: 6px;
  background: #f5f4f7;
  color: #5a8f1f;
  font-size: 1.6rem;
  line-height: 100%;
  text-transform: uppercase;
}

.articles__badges a,
.post__badges a {
  color: inherit;
  text-decoration: none;
}

.articles__badges a:hover,
.articles__badges a:focus-visible,
.post__badges a:hover,
.post__badges a:focus-visible {
  text-decoration: underline;
}

.footer.footer--minimal {
  min-height: 0;
  background: #030303;
}

.footer.footer--minimal .footer__minimal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.footer__brand {
  display: inline-flex;
  flex: 0 0 auto;
}

.footer__brand-logo {
  display: block;
  width: 15rem;
  height: auto;
}

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.3rem;
  line-height: 140%;
}

.footer__privacy-link {
  color: #fff;
  text-underline-offset: 0.35rem;
}

.footer__privacy-link:hover,
.footer__privacy-link:focus-visible {
  color: #9bd556;
}

.sidebar-local-nav__title,
.sidebar-local-posts__title {
  margin-bottom: 1.8rem;
  color: #1d1d1d;
  font-size: 2rem;
  font-weight: 700;
  line-height: 125%;
}

.sidebar-local-nav__list,
.sidebar-local-posts__list,
.related-posts__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-local-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #e8eae6;
  color: #1d1d1d;
  font-size: 1.4rem;
  line-height: 130%;
  text-decoration: none;
}

.sidebar-local-nav__list a:hover,
.sidebar-local-nav__list a:focus-visible,
.sidebar-local-posts__item a:hover .sidebar-local-posts__name,
.sidebar-local-posts__item a:focus-visible .sidebar-local-posts__name {
  color: #5f9424;
}

.sidebar-local-nav__list a span:last-child {
  color: #757575;
  font-size: 1.2rem;
}

.sidebar-local-posts__item + .sidebar-local-posts__item {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid #e8eae6;
}

.sidebar-local-posts__item a {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: #1d1d1d;
  text-decoration: none;
}

.sidebar-local-posts__image {
  flex: 0 0 8rem;
  width: 8rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 1rem;
  background: #f5f4f7;
}

.sidebar-local-posts__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-local-posts__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.6rem;
}

.sidebar-local-posts__name {
  display: -webkit-box;
  overflow: hidden;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 130%;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sidebar-local-posts time {
  color: #757575;
  font-size: 1.1rem;
}

.post .post__main-img + .post-content {
  margin-top: 2.4rem;
}

.related-posts {
  margin-top: 4.8rem;
  padding-top: 3.2rem;
  border-top: 1px solid #e3e8df;
}

.related-posts__heading {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.related-posts__heading::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #9bd556 0, rgba(155, 213, 86, 0) 100%);
}

.related-posts__title {
  margin: 0;
  color: #1d1d1d;
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 120%;
}

.related-posts__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  align-items: stretch;
  gap: 1.8rem;
  margin-top: 2.4rem;
}

.related-posts__item {
  min-width: 0;
}

.related-posts__card {
  display: flex;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e3e8df;
  border-radius: 1.8rem;
  background: #fff;
  box-shadow: 0 1rem 2.8rem rgba(29, 29, 29, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.related-posts__card:hover,
.related-posts__card:focus-within {
  transform: translateY(-0.4rem);
  border-color: rgba(155, 213, 86, 0.8);
  box-shadow: 0 1.6rem 3.6rem rgba(48, 75, 21, 0.13);
}

.related-posts__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #192018, #5f9424);
}

.related-posts__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 7, 0.34) 0, rgba(7, 11, 7, 0) 55%);
  pointer-events: none;
}

.related-posts__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.related-posts__card:hover .related-posts__media img,
.related-posts__card:focus-within .related-posts__media img {
  transform: scale(1.045);
}

.related-posts__placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.related-posts__meta {
  position: absolute;
  z-index: 1;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.related-posts__category,
.related-posts__date {
  padding: 0.55rem 0.8rem;
  border-radius: 0.8rem;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 120%;
}

.related-posts__category {
  overflow: hidden;
  max-width: 62%;
  background: #9bd556;
  color: #1d1d1d;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-posts__date {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.94);
  color: #1d1d1d;
  white-space: nowrap;
}

.related-posts__content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 1.6rem;
}

.related-posts__card-title {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 130%;
}

.related-posts__card-title a {
  display: -webkit-box;
  overflow: hidden;
  color: #1d1d1d;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.related-posts__card-title a:hover,
.related-posts__card-title a:focus-visible {
  color: #5f9424;
}

.related-posts__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 0.9rem;
  color: #686d65;
  font-size: 1.25rem;
  line-height: 145%;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.related-posts__more {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.4rem;
  color: #5f9424;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 125%;
  text-decoration: none;
}

.related-posts__more svg {
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.related-posts__more:hover svg,
.related-posts__more:focus-visible svg {
  transform: translateX(0.35rem);
}

.related-posts__media:focus-visible,
.related-posts__card-title a:focus-visible,
.related-posts__more:focus-visible {
  outline: 3px solid #1d1d1d;
  outline-offset: 3px;
}

@media only screen and (max-width: 700px) {
  .footer.footer--minimal .footer__minimal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer__legal {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .related-posts__list {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .related-posts__card {
    border-radius: 1.6rem;
  }

  .related-posts__content {
    padding: 1.8rem;
  }

  .related-posts__card-title {
    font-size: 1.7rem;
  }

  .related-posts__excerpt,
  .related-posts__more {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .related-posts__card,
  .related-posts__media img,
  .related-posts__more svg {
    transition: none;
  }
}

/* Trust footer */
.footer.footer--trust {
  min-height: 0;
  background: #080b08;
  color: #fff;
}

.footer.footer--trust .footer__compact {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(26rem, 38rem) minmax(0, 1fr);
  grid-template-rows: auto;
  gap: 4rem 8rem;
  padding-top: 4.8rem;
  padding-bottom: 3.6rem;
}

.footer__brand-block {
  max-width: 38rem;
}

.footer__summary {
  max-width: 34rem;
  margin-top: 1.8rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.4rem;
  line-height: 155%;
}

.footer__primary-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.2rem 2.2rem;
}

.footer__primary-links a,
.footer__cookie-button {
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 1.3rem;
  line-height: 140%;
  text-align: left;
  text-decoration: none;
}

.footer__cookie-button {
  padding: 0;
  cursor: pointer;
}

.footer__primary-links a:hover,
.footer__primary-links a:focus-visible,
.footer__cookie-button:hover,
.footer__cookie-button:focus-visible {
  color: #9bd556;
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.footer.footer--trust .footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 2.4rem;
  padding-bottom: 3.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  grid-template-columns: none;
  grid-template-rows: none;
  line-height: 150%;
}

.footer__risk-note {
  max-width: 82rem;
}

.footer__risk-note a {
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  text-underline-offset: 0.3rem;
}

.footer__risk-note a:hover,
.footer__risk-note a:focus-visible {
  color: #9bd556;
}

.footer__copyright {
  flex: 0 0 auto;
}

.filter-button.filter-button--footer-visible {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Trust and policy pages */
.trust-page {
  padding: 14rem 0 9rem;
  background: linear-gradient(180deg, #f6f8f3 0, #fff 32rem);
}

.trust-page__container {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(20rem, 25rem) minmax(0, 82rem);
  justify-content: center;
  gap: 5.6rem;
}

.trust-page__aside {
  position: sticky;
  top: 2rem;
  padding: 2.2rem;
  border: 1px solid #e5e9df;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1.2rem 3.4rem rgba(33, 44, 24, 0.06);
}

.trust-page__nav-title {
  margin-bottom: 1.4rem;
  color: #757575;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 130%;
  text-transform: uppercase;
}

.trust-page__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trust-page__nav a {
  padding: 1rem 1.2rem;
  border-radius: 0.9rem;
  color: #3f443b;
  font-size: 1.35rem;
  line-height: 135%;
  text-decoration: none;
}

.trust-page__nav a:hover,
.trust-page__nav a:focus-visible {
  background: #f3f7ee;
  color: #456d1c;
}

.trust-page__nav a[aria-current="page"] {
  background: #e9f5db;
  color: #315b05;
  font-weight: 700;
}

.trust-page__article {
  min-width: 0;
}

.trust-page__header {
  margin-bottom: 4.8rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #e1e7dc;
}

.trust-page__eyebrow {
  margin-bottom: 1.6rem;
  color: #568523;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 130%;
  text-transform: uppercase;
}

.trust-page__article h1 {
  max-width: 80rem;
  color: #181b16;
  font-size: clamp(3.4rem, 5vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 105%;
}

.trust-page__intro {
  max-width: 75rem;
  margin-top: 2rem;
  color: #545a50;
  font-size: 1.8rem;
  line-height: 155%;
}

.trust-page__content section + section {
  margin-top: 4rem;
}

.trust-page__content h2 {
  margin-bottom: 1.4rem;
  color: #1d1d1d;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 125%;
}

.trust-page__content p,
.trust-page__content li {
  color: #454a41;
  font-size: 1.6rem;
  line-height: 170%;
}

.trust-page__content p + p,
.trust-page__content p + ul,
.trust-page__content ul + p {
  margin-top: 1.4rem;
}

.trust-page__content ul {
  margin: 0;
  padding-left: 2.2rem;
}

.trust-page__content li + li {
  margin-top: 0.7rem;
}

.trust-page__content a {
  color: #3f7110;
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3rem;
}

.trust-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e7dd;
  border-radius: 1.2rem;
}

.trust-table-wrap table {
  width: 100%;
  min-width: 62rem;
  border-collapse: collapse;
  background: #fff;
}

.trust-table-wrap th,
.trust-table-wrap td {
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid #e8ece4;
  color: #454a41;
  font-size: 1.35rem;
  line-height: 145%;
  text-align: left;
  vertical-align: top;
}

.trust-table-wrap th {
  background: #f4f7f1;
  color: #272c24;
  font-weight: 700;
}

.trust-table-wrap tr:last-child td {
  border-bottom: 0;
}

.trust-inline-button {
  min-height: 4.4rem;
  padding: 1rem 1.8rem;
  border: 1px solid #6c9e34;
  border-radius: 100px;
  background: #fff;
  color: #244600;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 700;
}

/* First-visit cookie consent */
.cookie-banner[hidden],
.cookie-banner__settings[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  left: 2rem;
  z-index: 12000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner__inner {
  display: grid;
  align-items: center;
  width: min(116rem, 100%);
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.8rem;
  background: rgba(15, 18, 14, 0.98);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.3);
  color: #fff;
  grid-template-columns: minmax(30rem, 1fr) auto;
  gap: 2rem 3rem;
  pointer-events: auto;
}

.cookie-banner__eyebrow {
  margin-bottom: 0.5rem;
  color: #9bd556;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 130%;
  text-transform: uppercase;
}

.cookie-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 125%;
}

.cookie-banner__copy > p:last-child {
  max-width: 66rem;
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.3rem;
  line-height: 150%;
  overflow-wrap: anywhere;
}

.cookie-banner__copy {
  min-width: 0;
}

.cookie-banner a {
  color: #b7e582;
  text-underline-offset: 0.3rem;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.cookie-button {
  min-height: 4.2rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 130%;
}

.cookie-button:hover,
.cookie-button:focus-visible {
  border-color: #9bd556;
}

.cookie-button--primary {
  border-color: #9bd556;
  background: #9bd556;
  color: #13180e;
}

.cookie-button--primary:hover,
.cookie-button--primary:focus-visible {
  background: #b0e177;
}

.cookie-button--text {
  border-color: transparent;
  color: #b7e582;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.cookie-button--save {
  display: none;
}

.cookie-banner--settings .cookie-button--save {
  display: inline-flex;
  align-items: center;
}

.cookie-banner--settings [data-cookie-accept],
.cookie-banner--settings [data-cookie-reject],
.cookie-banner--settings [data-cookie-customize] {
  display: none;
}

.cookie-banner__settings {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 7.2rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
}

.cookie-option strong,
.cookie-option span {
  display: block;
}

.cookie-option strong {
  color: #fff;
  font-size: 1.3rem;
  line-height: 130%;
}

.cookie-option div > span {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.1rem;
  line-height: 135%;
}

.cookie-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cookie-option__toggle {
  position: relative;
  flex: 0 0 4.2rem;
  width: 4.2rem;
  height: 2.4rem;
  border-radius: 100px;
  background: #5d6259;
  cursor: pointer;
  transition: background 160ms ease;
}

.cookie-option__toggle::after {
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #fff;
  content: '';
  transition: transform 160ms ease;
}

.cookie-option input:checked + .cookie-option__toggle {
  background: #80bd3c;
}

.cookie-option input:checked + .cookie-option__toggle::after {
  transform: translateX(1.8rem);
}

.cookie-option input:focus-visible + .cookie-option__toggle {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.cookie-option__state {
  flex: 0 0 auto;
  color: #b7e582;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 130%;
  text-align: right;
}

@media only screen and (max-width: 900px) {
  .footer.footer--trust .footer__compact {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__primary-links {
    justify-content: flex-start;
  }

  .trust-page__container {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .trust-page__aside {
    position: static;
  }

  .trust-page__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }

  .cookie-banner__settings {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 600px) {
  .footer.footer--trust .footer__compact {
    gap: 2.8rem;
    padding-top: 4rem;
  }

  .footer__primary-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }

  .footer.footer--trust .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .trust-page {
    padding: 11.8rem 0 6rem;
  }

  .trust-page__aside {
    overflow: hidden;
    padding: 1.4rem;
  }

  .trust-page__nav {
    display: grid;
    overflow: visible;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 0;
    padding: 0;
  }

  .trust-page__nav a {
    padding: 0.9rem 1.1rem;
    white-space: normal;
  }

  .trust-page__article h1 {
    font-size: 3.4rem;
  }

  .trust-page__intro {
    font-size: 1.6rem;
  }

  .trust-page__header {
    margin-bottom: 3.6rem;
    padding-bottom: 3rem;
  }

  .cookie-banner {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .cookie-banner__inner {
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.7rem;
    border-radius: 1.4rem;
  }

  .cookie-banner h2 {
    font-size: 1.8rem;
  }

  .cookie-banner__copy > p:last-child {
    font-size: 1.2rem;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-button {
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .header__logo,
  .header__logo.mob {
    width: 12rem;
    height: 2.2rem;
  }

  .header__search-mobile,
  .header__lang-switcher,
  .header__cabinet-mobile,
  .header__burger-menu {
    margin-left: 0.6rem;
  }

  .header__lang-bttn {
    padding: 0.7rem 0.4rem;
    font-size: 1.4rem;
  }
}
.modal__close {
  appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.modal[aria-hidden="true"] {
  display: none;
}

.post-content h2:focus {
  outline: 2px solid #9bd556;
  outline-offset: 6px;
}

@media (max-width: 1279px) {
  .sidebar,
  .navigation {
    overflow-x: hidden;
    overflow-y: auto;
  }
}

.error-page {
  padding: clamp(5rem, 10vw, 12rem) 0;
}

.error-page__content {
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 7rem);
  border: 1px solid #e8eae6;
  border-radius: 3.4rem;
  background: #f5f4f7;
  text-align: center;
}

.error-page__code {
  color: #9bd556;
  font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 700;
  line-height: 0.9;
}

.error-page__title {
  margin-top: 2rem;
}

.error-page__text {
  max-width: 58rem;
  margin: 1.5rem auto 0;
  color: #5a5a5a;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.error-page__primary,
.error-page__secondary {
  padding: 1.2rem 2.4rem;
  border: 1px solid #9bd556;
  border-radius: 999px;
  font-weight: 500;
  text-align: center;
}

.error-page__primary {
  background: #9bd556;
  color: #fff;
}

.error-page__secondary {
  color: #1d1d1d;
}

.error-page__primary:hover,
.error-page__primary:focus-visible,
.error-page__secondary:hover,
.error-page__secondary:focus-visible {
  border-color: #1d1d1d;
  outline: none;
}

@media (max-width: 479px) {
  .error-page__actions {
    flex-direction: column;
  }
}

/* WCAG AA contrast while preserving the existing brand palette. */
.header__lang-bttn,
.articles__title span,
.social__title span {
  color: #4f7316 !important;
}

.articles__content-text {
  color: #686868 !important;
}

.articles__link,
.articles__badges > li,
.navigation__list-item.active,
.sidebar-form__register,
.sidebar-form__consult,
.form-reg__submit,
.related-posts__category,
.error-page__primary {
  color: #1d1d1d !important;
}

.articles__link svg path,
.sidebar-form__register svg path,
.sidebar-form__consult svg path,
.related-posts__more svg path {
  stroke: #1d1d1d !important;
}

.articles__footer h2:not(:first-of-type) {
  margin-top: 2rem;
}
