/* Глав Переезд — SEO-страницы: крошки, ссылки над подвалом, блог, таблицы в текстах. */

/* Хлебные крошки */
.gs-crumbs-wrap { padding: 0 20px; margin-top: -40px; margin-bottom: 8px; position: relative; }
.gs-crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--mute); }
.gs-crumbs li { display: inline-flex; align-items: center; }
.gs-crumbs li + li::before { content: "›"; margin: 0 8px; color: #c4c4c0; }
.gs-crumbs a { color: var(--mute); text-decoration: none; }
.gs-crumbs a:hover { color: var(--acc2); }
.gs-crumbs span { color: var(--ink); }

/* Тексты из блоков: таблицы, врезки */
.gp-content table { margin: 18px 0 24px; font-size: 15px; }
.gp-content th { font-weight: 700; color: var(--ink); background: var(--soft); }
.gp-content blockquote, .gs-tip { margin: 22px 0; padding: 18px 22px; border-radius: 18px; background: #fff6ea; border-left: 4px solid var(--acc); color: var(--ink); }
.gp-content blockquote p { margin: 0; }
.gp-content blockquote p + p { margin-top: 8px; }
.gp-sec--soft .gp-content blockquote { background: #fff; }
.gp-content .gs-table { overflow-x: auto; }

/* Ссылки над подвалом */
.gs-mesh { padding: 56px 20px 40px; background: var(--soft); }
.gs-mesh-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.7fr 1fr; gap: 28px; }
@media (max-width: 1200px) { .gs-mesh-grid { grid-template-columns: repeat(3, 1fr); } }
.gs-mesh h3, .gs-mesh h4 { font-family: var(--wide); font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); margin: 0 0 12px; }
.gs-mesh ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.gs-mesh li { margin: 0 0 7px; break-inside: avoid; }
.gs-mesh a { color: var(--txt); text-decoration: none; font-size: 14px; }
.gs-mesh a:hover { color: var(--acc2); }
.gs-mesh-col--wide ul { columns: 2; column-gap: 20px; }
@media (max-width: 960px) { .gs-mesh-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gs-mesh-grid { grid-template-columns: 1fr; } .gs-mesh ul { columns: 2; column-gap: 16px; } }

/* Статья */
.gs-post-head .gp-h1 { max-width: 920px; }
.gs-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--mute); margin: 14px 0 0; }
.gs-meta a { color: var(--acc2); font-weight: 700; text-decoration: none; }
.gs-lead { font-size: 19px; color: var(--txt); max-width: 820px; margin: 18px 0 0; }
.gs-article { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 48px; align-items: start; }
.gs-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.gs-toc { background: var(--soft); border-radius: 20px; padding: 20px 22px; font-size: 14px; }
.gs-toc b { display: block; font-family: var(--wide); font-size: 12px; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.gs-toc ol { margin: 0; padding-left: 18px; }
.gs-toc li { margin: 6px 0; }
.gs-toc a { color: var(--txt); text-decoration: none; }
.gs-toc a:hover { color: var(--acc2); }
.gs-side-cta { background: var(--ink); color: #fff; border-radius: 20px; padding: 22px; display: grid; gap: 10px; }
.gs-side-cta b { font-family: var(--wide); font-size: 15px; text-transform: uppercase; line-height: 1.2; }
.gs-side-cta span { font-size: 14px; color: #c9c9c9; }
.gs-side-cta .gp-btn { padding: 16px 18px; font-size: 12px; }
.gs-side-phone { color: #fff; font-weight: 700; text-decoration: none; text-align: center; }
.gs-body { max-width: 780px; }
.gs-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin: 0 0 24px; }
.gs-inline-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 32px 0; padding: 22px 24px; border-radius: 22px; background: var(--ink); color: #fff; }
.gs-inline-cta div { flex: 1 1 260px; display: grid; gap: 4px; }
.gs-inline-cta b { font-family: var(--wide); text-transform: uppercase; font-size: 15px; }
.gs-inline-cta span { color: #c9c9c9; font-size: 14px; }
.gs-inline-cta .gp-btn { padding: 15px 18px; font-size: 12px; }
.gs-inline-cta .gp-btn--line { border-color: #fff; color: #fff !important; }
.gp-content .gs-inline-cta a { color: inherit; }
@media (max-width: 960px) { .gs-article { grid-template-columns: 1fr; } .gs-side { position: static; order: 2; } }

/* Карточки статей и услуг */
.gs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gs-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--txt); background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; padding-bottom: 20px; transition: transform .15s, box-shadow .15s; }
.gs-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.gs-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gs-card em, .gs-card b, .gs-card span, .gs-card small { padding: 0 20px; }
.gs-card em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--chipt); text-transform: uppercase; letter-spacing: .03em; margin-top: 8px; }
.gs-card b { font-size: 17px; line-height: 1.3; color: var(--ink); }
.gs-card span { font-size: 14px; color: var(--mute); }
.gs-card small { font-size: 12px; color: var(--mute); margin-top: auto; }
.gs-rels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gs-rel { display: grid; gap: 6px; padding: 20px 22px; border-radius: 20px; background: var(--soft); text-decoration: none; color: var(--txt); }
.gs-rel b { color: var(--ink); font-size: 16px; }
.gs-rel span { font-size: 14px; color: var(--mute); }
.gs-rel:hover b { color: var(--acc2); }
@media (max-width: 960px) { .gs-cards, .gs-rels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gs-cards, .gs-rels { grid-template-columns: 1fr; } }

.gs-chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gs-chips a { display: inline-block; padding: 9px 14px; border-radius: 30px; background: var(--soft); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.gs-chips a.is-on, .gs-chips a:hover { background: var(--ink); color: #fff; }
.gs-chips small { opacity: .6; margin-left: 4px; }
.gs-pager { margin-top: 32px; }
.gs-pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.gs-pager .page-numbers { padding: 10px 15px; border-radius: 12px; background: var(--soft); color: var(--ink); text-decoration: none; font-weight: 700; }
.gs-pager .page-numbers.current { background: var(--ink); color: #fff; }

/* ---------- Баннер акции (реновация) ---------- */
.gs-promo-sec { padding-top: 0; padding-bottom: 0; margin: 28px 0 8px; }
.gs-promo { --pr-bg: #151515; --pr-c: #fff; position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 0; background: var(--pr-bg); color: var(--pr-c); border-radius: 36px; overflow: hidden; box-shadow: 0 30px 70px rgba(21,21,21,.18); }
.gs-promo::before { content: ""; position: absolute; left: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,138,0,.35), rgba(255,138,0,0) 70%); pointer-events: none; }
.gs-promo-txt { position: relative; padding: 52px 48px 48px 56px; display: flex; flex-direction: column; justify-content: center; }
.gs-promo-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin: 0 0 22px; padding: 8px 14px; border-radius: 999px; background: var(--acc, #ff8a00); color: #151515; font-family: var(--wide); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.gs-promo-pill i { width: 8px; height: 8px; border-radius: 50%; background: #151515; animation: gs-pulse 1.6s ease-in-out infinite; }
@keyframes gs-pulse { 50% { transform: scale(.5); opacity: .5; } }
.gp .gs-promo-t, .gs-promo-t { margin: 0 0 18px; color: var(--pr-c); font-family: var(--wide); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.06; }
.gs-promo-t span { display: block; color: var(--acc, #ff8a00); }
.gs-promo-s { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: inherit; opacity: .78; max-width: 520px; }
.gs-promo-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.gs-promo-list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.4; }
.gs-promo-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--acc, #ff8a00) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23151515' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.gs-promo-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.gs-promo-btns .gp-btn--acc { box-shadow: 0 10px 30px rgba(255,138,0,.35); }
.gs-promo-btns .gp-btn--acc:hover { transform: translateY(-1px); }
.gs-promo-tel { border: 2px solid rgba(255,255,255,.25); color: var(--pr-c) !important; background: transparent; }
.gs-promo-tel:hover { border-color: var(--acc, #ff8a00); }
.gs-promo-art { position: relative; min-height: 100%; }
.gs-promo-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-promo-sticker { position: absolute; left: -36px; bottom: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 150px; height: 150px; border-radius: 50%; background: #fff; color: #151515; text-align: center; box-shadow: 0 16px 40px rgba(0,0,0,.25); transform: rotate(-10deg); border: 4px solid #151515; }
.gs-promo-sticker small { font-family: var(--wide); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--acc, #ff8a00); }
.gs-promo-sticker b { font-family: var(--wide); font-weight: 700; font-size: 17px; line-height: 1.15; padding: 0 10px; white-space: nowrap; }
@media (max-width: 980px) {
	.gs-promo { grid-template-columns: 1fr; border-radius: 28px; }
	.gs-promo-art { order: -1; aspect-ratio: 5 / 4; }
	.gs-promo-txt { padding: 30px 22px 28px; }
	.gs-promo-sticker { display: none; }
	.gs-promo-list { grid-template-columns: 1fr; }
	.gs-promo-btns .gp-btn { flex: 1 1 100%; }
}

/* Пункт «Упаковка» в шапке — заметный, с иконкой коробки */
.gh-nav a[href*="upakovochnye-materialy"] { display: inline-flex; align-items: center; gap: 7px; }
.gh-drop nav a[href*="upakovochnye-materialy"] { display: flex; align-items: center; gap: 8px; }
.gh-drop nav a[href*="upakovochnye-materialy"] > *:last-child, .gh-drop nav a[href*="upakovochnye-materialy"]::after { margin-left: auto; }
.gh-nav a[href*="upakovochnye-materialy"] { background: var(--chip, #ffe6c4); color: var(--chipt, #9a5300) !important; border-radius: 12px; }
.gh-nav a[href*="upakovochnye-materialy"]:hover { background: var(--acc, #ff8a00); color: var(--ink, #151515) !important; }
.gh-nav a[href*="upakovochnye-materialy"]::before, .gh-drop nav a[href*="upakovochnye-materialy"]::before { content: ""; width: 16px; height: 16px; flex: 0 0 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M3 7.5 12 3l9 4.5v9L12 21l-9-4.5z'/%3E%3Cpath d='M3 7.5 12 12l9-4.5M12 12v9'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M3 7.5 12 3l9 4.5v9L12 21l-9-4.5z'/%3E%3Cpath d='M3 7.5 12 12l9-4.5M12 12v9'/%3E%3C/svg%3E") center/contain no-repeat; }
.gh-drop nav a[href*="upakovochnye-materialy"] { justify-content: flex-start; color: var(--acc2, #e67a00) !important; }

/* Читайте также — перелинковка статей */
.gs-also { margin-top: 28px; }
.gs-also h3 { font-family: var(--wide); font-size: 15px; margin: 0 0 12px; }
.gs-also ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 20px; }
.gs-also a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,.25); }
.gs-also a:hover { text-decoration-color: currentColor; }
