/* Свои страницы статики (главная, политика, 404) и ссылка на политику в подвале.
   Цвета и шрифт — как у лендингов темы: #0D1B41 заголовки, #253254 текст, градиент #3ebfd4 → #5b9fef, Inter. */

.cl-ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.cl-ftr__policy { font-size: 14px; line-height: 1.4; color: #5D666D; text-decoration: underline; text-underline-offset: 3px; }
.cl-ftr__policy:hover { color: #0D1B41; }

.ns-page { font-family: 'Inter', sans-serif; color: #253254; background: #fff; }
.ns-hero, .ns-text { padding: 64px 15px 96px; background: linear-gradient(180deg, #EEF6FB 0%, #fff 60%); }
.ns-text { padding-top: 56px; }
.ns-title { margin: 0 0 16px; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; font-weight: 600; color: #0D1B41; text-align: center; }
.ns-sub { max-width: 720px; margin: 0 auto 40px; font-size: 18px; line-height: 1.5; text-align: center; }

.ns-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ns-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, .1); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.ns-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(13, 27, 65, .16); }
.ns-card__img { display: block; aspect-ratio: 16 / 10; background: #DAF0F7 center / cover no-repeat; }
.ns-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 24px; }
.ns-card__title { font-size: 21px; line-height: 1.25; font-weight: 600; color: #0D1B41; }
.ns-card__text { flex: 1; font-size: 16px; line-height: 1.48; }
.ns-card__btn { align-self: flex-start; margin-top: 8px; padding: 12px 22px; border-radius: 100px; font-size: 15px; font-weight: 600; color: #fff; background: linear-gradient(90deg, #3ebfd4 0%, #5b9fef 100%); }

.ns-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 48px; }
.ns-btn { display: inline-flex; align-items: center; justify-content: center; padding: 18px 30px; border: 0; border-radius: 100px; font: 600 17px/1 'Inter', sans-serif; color: #fff; background: linear-gradient(90deg, #3ebfd4 0%, #5b9fef 100%); text-decoration: none; cursor: pointer; }
.ns-btn--o { color: #0D1B41; background: #fff; box-shadow: inset 0 0 0 2px #45CED9; }
.ns-btn:hover { opacity: .9; }

.ns-text .container { max-width: 860px; }
.ns-policy h1 { margin-bottom: 32px; }
.ns-policy h2 { margin: 32px 0 12px; font-size: 22px; line-height: 1.3; font-weight: 600; color: #0D1B41; }
.ns-policy p, .ns-policy li { font-size: 16px; line-height: 1.6; }
.ns-policy p { margin: 0 0 12px; }
.ns-policy ul { margin: 0 0 12px; padding-left: 22px; list-style: disc; }
.ns-policy a { color: #4494D6; }
.ns-policy .ns-date { margin-top: 32px; color: #5D666D; font-size: 14px; }

.ns-nf { text-align: center; }
.ns-404 { margin: 0 0 8px; font-size: 96px; line-height: 1; font-weight: 700; color: #45CED9; }
.ns-links { margin: 0 0 24px; font-size: 17px; line-height: 1.8; }
.ns-links a, .ns-sub--ru a { color: #4494D6; }
.ns-sub--ru { font-size: 15px; color: #5D666D; }

@media (max-width: 991px) {
    .ns-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 575px) {
    .ns-hero, .ns-text { padding: 40px 15px 64px; }
    .ns-sub { font-size: 16px; margin-bottom: 28px; }
    .ns-btn { width: 100%; }
}

/* Текст только для экранных дикторов (в WordPress правило приходило из CSS ядра). */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; word-wrap: normal !important; }
