.custom-page {
  padding: 0 60px 80px;
}

body.page-id-613 .custom-page > br {
  display: none;
}

body.page-id-613 .custom-page > section:last-of-type {
  max-width: 1240px;
  margin: 40px auto 0;
  padding: 48px 56px;
  border-radius: 24px;
  background: #fbfbfb;
}

.custom-page__content {
  max-width: 900px;
  margin: 0 auto;
}

.custom-page__title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.custom-page__body {
  font-size: 16px;
  line-height: 1.6;
}

.custom-page__body h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 40px 0 20px;
}

.custom-page__body h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 16px;
}

.custom-page__body p {
  margin-bottom: 16px;
}

.custom-page__body ul,
.custom-page__body ol {
  margin: 16px 0;
  padding-left: 24px;
}

.custom-page__body li {
  margin-bottom: 8px;
}

.custom-page__body img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

.custom-page__body a {
  color: inherit;
  text-decoration: underline;
}

.custom-page__body blockquote {
  border-left: 3px solid #000;
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .custom-page {
    padding: 0 20px 40px;
  }

  body.page-id-613 .custom-page > section:last-of-type {
    margin-top: 24px;
    padding: 28px 20px;
  }

  .custom-page__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .custom-page__body h2 {
    font-size: 22px;
  }

  .custom-page__body h3 {
    font-size: 18px;
  }
}


.custom-page__container {
  width: 100%;
  max-width: 1240px;
  margin: 40px auto 0;
}

.custom-page__article {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: left;
}

body.page-id-613 .custom-page__article,
body.page-id-624 .custom-page__article,
body.page-id-1018 .custom-page__article,
body.page-id-1021 .custom-page__article,
body.page-vozvrat-i-obmen-tovara .custom-page__article {
  width: 100%;
  max-width: none;
}

body.page-id-613 .custom-page__article > *,
body.page-id-624 .custom-page__article > *,
body.page-id-1018 .custom-page__article > *,
body.page-id-1021 .custom-page__article > *,
body.page-vozvrat-i-obmen-tovara .custom-page__article > * {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

body.page-id-613 .custom-page__article .wp-block-group,
body.page-id-624 .custom-page__article .wp-block-group,
body.page-id-1018 .custom-page__article .wp-block-group,
body.page-id-1021 .custom-page__article .wp-block-group,
body.page-vozvrat-i-obmen-tovara .custom-page__article .wp-block-group,
body.page-id-613 .custom-page__article .wp-block-columns,
body.page-id-624 .custom-page__article .wp-block-columns,
body.page-id-1018 .custom-page__article .wp-block-columns,
body.page-id-1021 .custom-page__article .wp-block-columns,
body.page-vozvrat-i-obmen-tovara .custom-page__article .wp-block-columns,
body.page-id-613 .custom-page__article .wp-block-column,
body.page-id-624 .custom-page__article .wp-block-column,
body.page-id-1018 .custom-page__article .wp-block-column,
body.page-id-1021 .custom-page__article .wp-block-column,
body.page-vozvrat-i-obmen-tovara .custom-page__article .wp-block-column,
body.page-id-613 .custom-page__article .wp-block-group__inner-container,
body.page-id-624 .custom-page__article .wp-block-group__inner-container,
body.page-id-1018 .custom-page__article .wp-block-group__inner-container,
body.page-id-1021 .custom-page__article .wp-block-group__inner-container,
body.page-vozvrat-i-obmen-tovara .custom-page__article .wp-block-group__inner-container,
body.page-id-613 .custom-page__article .is-layout-constrained,
body.page-id-624 .custom-page__article .is-layout-constrained,
body.page-id-1018 .custom-page__article .is-layout-constrained,
body.page-id-1021 .custom-page__article .is-layout-constrained,
body.page-vozvrat-i-obmen-tovara .custom-page__article .is-layout-constrained,
body.page-id-613 .custom-page__article .is-layout-flow,
body.page-id-624 .custom-page__article .is-layout-flow,
body.page-id-1018 .custom-page__article .is-layout-flow,
body.page-id-1021 .custom-page__article .is-layout-flow,
body.page-vozvrat-i-obmen-tovara .custom-page__article .is-layout-flow {
  max-width: 1240px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-613 .custom-page__article h1,
body.page-id-624 .custom-page__article h1,
body.page-id-1018 .custom-page__article h1,
body.page-id-1021 .custom-page__article h1,
body.page-vozvrat-i-obmen-tovara .custom-page__article h1,
body.page-id-613 .custom-page__article h2,
body.page-id-624 .custom-page__article h2,
body.page-id-1018 .custom-page__article h2,
body.page-id-1021 .custom-page__article h2,
body.page-vozvrat-i-obmen-tovara .custom-page__article h2,
body.page-id-613 .custom-page__article h3,
body.page-id-624 .custom-page__article h3,
body.page-id-1018 .custom-page__article h3,
body.page-id-1021 .custom-page__article h3,
body.page-vozvrat-i-obmen-tovara .custom-page__article h3,
body.page-id-613 .custom-page__article p,
body.page-id-624 .custom-page__article p,
body.page-id-1018 .custom-page__article p,
body.page-id-1021 .custom-page__article p,
body.page-vozvrat-i-obmen-tovara .custom-page__article p,
body.page-id-613 .custom-page__article ul,
body.page-id-624 .custom-page__article ul,
body.page-id-1018 .custom-page__article ul,
body.page-id-1021 .custom-page__article ul,
body.page-vozvrat-i-obmen-tovara .custom-page__article ul,
body.page-id-613 .custom-page__article ol,
body.page-id-624 .custom-page__article ol,
body.page-id-1018 .custom-page__article ol,
body.page-id-1021 .custom-page__article ol,
body.page-vozvrat-i-obmen-tovara .custom-page__article ol,
body.page-id-613 .custom-page__article li,
body.page-id-624 .custom-page__article li,
body.page-id-1018 .custom-page__article li,
body.page-id-1021 .custom-page__article li,
body.page-vozvrat-i-obmen-tovara .custom-page__article li {
  max-width: 1240px !important;
  text-align: left !important;
}

body.page-id-613 .custom-page__container,
body.page-id-624 .custom-page__container,
body.page-id-1018 .custom-page__container,
body.page-id-1021 .custom-page__container,
body.page-vozvrat-i-obmen-tovara .custom-page__container,
body.page-id-613 .entry-content,
body.page-id-624 .entry-content,
body.page-id-1018 .entry-content,
body.page-id-1021 .entry-content,
body.page-vozvrat-i-obmen-tovara .entry-content,
body.page-id-613 .entry-content > *,
body.page-id-624 .entry-content > *,
body.page-id-1018 .entry-content > *,
body.page-id-1021 .entry-content > *,
body.page-vozvrat-i-obmen-tovara .entry-content > *,
body.page-id-613 .wp-block-post-content,
body.page-id-624 .wp-block-post-content,
body.page-id-1018 .wp-block-post-content,
body.page-id-1021 .wp-block-post-content,
body.page-vozvrat-i-obmen-tovara .wp-block-post-content,
body.page-id-613 .wp-block-post-content > *,
body.page-id-624 .wp-block-post-content > *,
body.page-id-1018 .wp-block-post-content > *,
body.page-id-1021 .wp-block-post-content > *,
body.page-vozvrat-i-obmen-tovara .wp-block-post-content > *,
body.page-id-613 .post,
body.page-id-624 .post,
body.page-id-1018 .post,
body.page-id-1021 .post,
body.page-vozvrat-i-obmen-tovara .post,
body.page-id-613 .page,
body.page-id-624 .page,
body.page-id-1018 .page,
body.page-id-1021 .page,
body.page-vozvrat-i-obmen-tovara .page {
  max-width: 1240px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-613 .custom-page__article .max-w-\[656px\],
body.page-id-624 .custom-page__article .max-w-\[656px\],
body.page-id-1018 .custom-page__article .max-w-\[656px\],
body.page-id-1021 .custom-page__article .max-w-\[656px\],
body.page-vozvrat-i-obmen-tovara .custom-page__article .max-w-\[656px\],
body.page-id-613 .custom-page__article [class*="max-w-[656px]"],
body.page-id-624 .custom-page__article [class*="max-w-[656px]"],
body.page-id-1018 .custom-page__article [class*="max-w-[656px]"],
body.page-id-1021 .custom-page__article [class*="max-w-[656px]"],
body.page-vozvrat-i-obmen-tovara .custom-page__article [class*="max-w-[656px]"] {
  max-width: 1240px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-613 .custom-page__article .text-center,
body.page-id-624 .custom-page__article .text-center,
body.page-id-1018 .custom-page__article .text-center,
body.page-id-1021 .custom-page__article .text-center,
body.page-vozvrat-i-obmen-tovara .custom-page__article .text-center {
  text-align: left !important;
}

body.page-id-613 .custom-page__article h1,
body.page-id-624 .custom-page__article h1,
body.page-id-1018 .custom-page__article h1,
body.page-id-1021 .custom-page__article h1,
body.page-vozvrat-i-obmen-tovara .custom-page__article h1,
body.page-id-613 .custom-page__article h2,
body.page-id-624 .custom-page__article h2,
body.page-id-1018 .custom-page__article h2,
body.page-id-1021 .custom-page__article h2,
body.page-vozvrat-i-obmen-tovara .custom-page__article h2,
body.page-id-613 .custom-page__article .text-2xl,
body.page-id-624 .custom-page__article .text-2xl,
body.page-id-1018 .custom-page__article .text-2xl,
body.page-id-1021 .custom-page__article .text-2xl,
body.page-vozvrat-i-obmen-tovara .custom-page__article .text-2xl,
body.page-id-613 .custom-page__article .text-lg.uppercase,
body.page-id-624 .custom-page__article .text-lg.uppercase,
body.page-id-1018 .custom-page__article .text-lg.uppercase,
body.page-id-1021 .custom-page__article .text-lg.uppercase,
body.page-vozvrat-i-obmen-tovara .custom-page__article .text-lg.uppercase {
  width: 100% !important;
  max-width: 1240px !important;
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 768px) {
  .custom-page__container {
    margin-top: 24px;
  }
}

/* ================================================
   СЕРАЯ ПОДЛОЖКА ДЛЯ ИНФО-СТРАНИЦ
   (доставка, уход, политика, размер кольца,
    возврат/обмен, вакансии) — как на «О бренде»
   Применяется ко всем страницам на шаблоне page-custom.php
   ================================================ */

.custom-page {
  padding-bottom: 80px;
}

.custom-page__container {
  max-width: 1240px;
  margin: 40px auto 0;
  padding: 48px 56px;
  border-radius: 24px;
  background: #fbfbfb;
  box-sizing: border-box;
}

.custom-page__article {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
  color: rgba(23, 23, 23, 0.78);
  font-family: "SegoeUIWeb", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

/* Заголовки */
.custom-page__article h1 {
  margin: 0 0 28px;
  color: #171717;
  font-family: "SegoeUIWeb", "Segoe UI", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.custom-page__article h2 {
  margin: 40px 0 16px;
  color: #171717;
  font-family: "SegoeUIWeb", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: none;
}

.custom-page__article h3 {
  margin: 32px 0 12px;
  color: #171717;
  font-family: "SegoeUIWeb", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.custom-page__article h4,
.custom-page__article h5,
.custom-page__article h6 {
  margin: 24px 0 10px;
  color: #171717;
  font-weight: 500;
  font-size: 18px;
}

/* Абзацы */
.custom-page__article p {
  margin: 0 0 14px;
  color: rgba(23, 23, 23, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.custom-page__article p:last-child { margin-bottom: 0; }

/* Списки */
.custom-page__article ul,
.custom-page__article ol {
  margin: 14px 0 22px;
  padding-left: 24px;
  color: rgba(23, 23, 23, 0.78);
}

.custom-page__article li {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.6;
}

.custom-page__article li::marker {
  color: rgba(23, 23, 23, 0.4);
}

/* Ссылки */
.custom-page__article a {
  color: #171717;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(23, 23, 23, 0.3);
  transition: text-decoration-color 0.2s ease;
}

.custom-page__article a:hover {
  text-decoration-color: #171717;
}

/* Цитаты */
.custom-page__article blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid rgba(23, 23, 23, 0.5);
  color: rgba(23, 23, 23, 0.85);
  font-style: italic;
}

/* Картинки */
.custom-page__article img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 24px 0;
}

/* Разделитель */
.custom-page__article hr {
  border: 0;
  border-top: 1px solid rgba(23, 23, 23, 0.1);
  margin: 32px 0;
}

/* Таблицы (пригодится в «Размер кольца») */
.custom-page__article table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
}

.custom-page__article th,
.custom-page__article td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(23, 23, 23, 0.1);
}

.custom-page__article th {
  color: #171717;
  font-weight: 500;
  background: rgba(23, 23, 23, 0.03);
}

/* Первый элемент — без верхнего отступа */
.custom-page__article > *:first-child {
  margin-top: 0;
}

/* УНИВЕРСАЛЬНЫЙ СБРОС для всех страниц на page-custom.php
   (вакансии, доставка, уход, возврат и т.д.) — чтобы Tailwind/
   инлайн-стили из редактора не рвали вёрстку (узкие колонки, центр,
   max-w-[656px], mt-[100px]) */
.custom-page__article,
.custom-page__article * {
  text-align: left !important;
}

.custom-page__article .text-center,
.custom-page__article .has-text-align-center,
.custom-page__article .text-right,
.custom-page__article .has-text-align-right,
.custom-page__article [class*="items-center"],
.custom-page__article [class*="justify-center"] {
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

/* Никаких узких max-width от Tailwind — всё в ширину колонки */
.custom-page__article [class*="max-w-"],
.custom-page__article [style*="max-width"] {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Срезаем огромные mt-[100px], pt-[100px] и т.п. */
.custom-page__article [class*="mt-["],
.custom-page__article [class*="pt-["] {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Flex-контейнеры от Tailwind — принудительно влево */
.custom-page__article .flex.items-center,
.custom-page__article .flex.flex-col.items-center {
  align-items: flex-start !important;
  text-align: left !important;
}

/* WP-блочные группы */
.custom-page__article .wp-block-group,
.custom-page__article .wp-block-columns,
.custom-page__article .wp-block-column,
.custom-page__article .is-layout-constrained,
.custom-page__article .is-layout-flow {
  text-align: left !important;
  max-width: 100% !important;
}

/* Мобильная адаптация */
@media (max-width: 980px) {
  .custom-page {
    padding-bottom: 50px;
  }

  .custom-page__container {
    margin: 24px 16px 0;
    padding: 28px 20px;
    border-radius: 18px;
    max-width: none;
  }

  .custom-page__article h1 { font-size: 26px; margin-bottom: 20px; }
  .custom-page__article h2 { font-size: 20px; margin-top: 28px; }
  .custom-page__article h3 { font-size: 18px; margin-top: 22px; }

  .custom-page__article,
  .custom-page__article p,
  .custom-page__article li {
    font-size: 16px;
    line-height: 1.6;
  }

  .custom-page__article ul,
  .custom-page__article ol {
    padding-left: 20px;
  }

  .custom-page__article table {
    font-size: 14px;
  }

  .custom-page__article th,
  .custom-page__article td {
    padding: 10px 12px;
  }
}

