/*
Theme Name: dds_stylelayers.com
Author: Анна Лаврова
Description: StyleLayers — онлайн-пространство для взрослых, которые хотят развивать вкус, уверенность и практические навыки, полезные в жизни и работе. Проект вырос из мира визуальной эстетики и теперь помогает учиться понятным современным форматам — от самопрезентации до креативных компетенций.
Version: 1.1
*/

/* ---------- Переменные ---------- */
:root {
    --sl-bg: #FFFFFF;
    --sl-bg-alt: #F7F5F2;
    --sl-terracotta: #E57C6E;
    --sl-terracotta-deep: #C55B4D;
    --sl-slate: #2F4858;
    --sl-saffron: #F4A261;
    --sl-ink: #1E1E24;
    --sl-ash: #5C5C6B;
    --sl-chip-bg: #EDEAE6;
    --sl-hair: #E6E1DB;

    --sl-font-body: 'Manrope', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --sl-font-display: 'Unbounded', 'Manrope', 'Georgia', serif;

    --sl-shadow-soft: 0 6px 18px rgba(30, 30, 36, 0.06);
    --sl-shadow-hover: 0 14px 30px rgba(229, 124, 110, 0.22);

    --sl-radius: 40px;
    --sl-radius-card: 18px;
}

/* ---------- Сброс и база ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sl-font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--sl-ink);
    background: var(--sl-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--sl-terracotta);
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    transition: color .2s ease;
}
a:hover { color: var(--sl-terracotta-deep); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sl-font-display);
    color: var(--sl-slate);
    line-height: 1.2;
    margin: 1.4em 0 0.6em;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; }

blockquote {
    margin: 1.5em 0;
    padding: 1em 1.25em;
    border-left: 4px solid var(--sl-terracotta);
    background: var(--sl-bg-alt);
    font-style: italic;
    color: var(--sl-slate);
    border-radius: 0 12px 12px 0;
}

code, pre {
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    background: var(--sl-bg-alt);
    padding: 0.15em 0.4em;
    border-radius: 6px;
    font-size: 0.92em;
}
pre { padding: 1em; overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border: 1px solid var(--sl-hair);
}
th, td {
    border: 1px solid var(--sl-hair);
    padding: 0.65em 0.9em;
    text-align: left;
}
th { background: var(--sl-bg-alt); color: var(--sl-slate); font-family: var(--sl-font-display); }

hr { border: 0; height: 1px; background: var(--sl-hair); margin: 2em 0; }

/* ---------- Контейнеры ---------- */
.site-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.wrap-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Шапка ---------- */
.site-header {
    background: var(--sl-bg);
    border-bottom: 1px solid var(--sl-hair);
    padding: 18px 0;
}
.header-row {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex: 0 0 auto;
}
.brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: block;
    object-fit: cover;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand-name {
    font-family: var(--sl-font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--sl-slate);
    max-width: 640px;
}
.brand-tagline {
    font-size: 0.82rem;
    color: var(--sl-ash);
    margin-top: 2px;
    max-width: 720px;
}

/* Навигация — строчная с точечным подчёркиванием активного раздела */
.primary-nav {
    margin-left: auto;
}
.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}
.primary-nav a {
    color: var(--sl-ink);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
    letter-spacing: 0.01em;
}
.primary-nav a:hover { color: var(--sl-terracotta); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
    color: var(--sl-slate);
    border-bottom: 2px dotted var(--sl-terracotta);
    padding-bottom: 4px;
}

/* Бургер для мобильных */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid var(--sl-hair);
    border-radius: 12px;
    padding: 8px 10px;
    cursor: pointer;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sl-ink);
    margin: 4px 0;
    transition: transform .25s;
}

/* ---------- Основная секция ---------- */
.site-main {
    flex: 1 0 auto;
    padding: 40px 0 60px;
}
.layout-row {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
}
.layout-with-sidebar {
    grid-template-columns: 67% 27%;
    gap: 6%;
}
.layout-full {
    max-width: 85%;
    margin: 0 auto;
}

.content-area {
    min-width: 0;
}

/* ---------- Кнопки ---------- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--sl-radius);
    font-family: var(--sl-font-body);
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
    line-height: 1.2;
}
.btn-primary {
    background: linear-gradient(135deg, var(--sl-terracotta), var(--sl-terracotta-deep));
    color: #fff;
    box-shadow: var(--sl-shadow-soft);
}
.btn-primary:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: var(--sl-shadow-hover);
    color: #fff;
}
.btn-secondary {
    background: transparent;
    border: 1.5px solid var(--sl-terracotta);
    color: var(--sl-terracotta);
}
.btn-secondary:hover {
    background: rgba(229, 124, 110, 0.1);
    color: var(--sl-terracotta-deep);
}

/* ---------- Карточки записей ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin: 30px 0;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--sl-bg);
    border-radius: var(--sl-radius-card);
    overflow: hidden;
    box-shadow: var(--sl-shadow-soft);
    border: 1px solid var(--sl-hair);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: var(--sl-terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(30, 30, 36, 0.1);
}
.card:hover::before { transform: scaleX(1); }

.card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--sl-bg-alt);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 24px 24px;
}

.card-meta {
    font-size: 0.82rem;
    color: var(--sl-ash);
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.card-meta .meta-badge {
    background: var(--sl-saffron);
    color: #fff;
    padding: 2px 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
}

.card-title {
    font-family: var(--sl-font-display);
    font-size: 1.22rem;
    color: var(--sl-slate);
    margin: 0 0 12px;
    line-height: 1.3;
}
.card-title a {
    color: inherit;
    text-decoration: none;
}
.card-title a:hover { color: var(--sl-terracotta); }

.card-excerpt {
    color: var(--sl-ink);
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.card-excerpt p {
    margin: 0 0 0.5em;
    background: none;
}

.card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-more {
    color: var(--sl-terracotta);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}
.card-more:hover { color: var(--sl-terracotta-deep); }

/* ---------- Горизонтальная карточка (для страницы блога) ---------- */
.card-horizontal {
    display: flex;
    flex-direction: row;
    grid-column: 1 / -1;
}
.card-thumb-wrap {
    flex: 0 0 280px;
    position: relative;
    overflow: hidden;
    background: var(--sl-bg-alt);
}
.card-thumb-wrap a {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.card-horizontal .card-body {
    padding: 26px 28px;
}

/* ---------- Сайдбар ---------- */
.site-sidebar {
    min-width: 0;
}
.widget {
    margin-bottom: 32px;
    padding: 22px 22px;
    background: var(--sl-bg-alt);
    border-radius: var(--sl-radius-card);
}
.widget-title {
    font-family: var(--sl-font-display);
    font-size: 1.1rem;
    color: var(--sl-slate);
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px dotted var(--sl-terracotta);
}
.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget li {
    padding: 6px 0;
    border-bottom: 1px solid var(--sl-hair);
}
.widget li:last-child { border-bottom: none; }
.widget a {
    color: var(--sl-ink);
    text-decoration: none;
}
.widget a:hover { color: var(--sl-terracotta); }

/* ---------- Единичная запись ---------- */
.entry-header { margin-bottom: 28px; }
.entry-title {
    margin: 0.2em 0 0.4em;
    color: var(--sl-slate);
}
.entry-meta {
    color: var(--sl-ash);
    font-size: 0.9rem;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.entry-thumbnail {
    margin: 0 0 28px;
    border-radius: var(--sl-radius-card);
    overflow: hidden;
}
.entry-thumbnail img {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}
.entry-content {
    font-size: 1.03rem;
    line-height: 1.75;
}
.entry-content > p:first-of-type::first-letter {
    font-family: var(--sl-font-display);
    font-size: 3.8rem;
    float: left;
    line-height: 0.9;
    padding: 6px 10px 0 0;
    color: var(--sl-terracotta);
    font-weight: 600;
}
.entry-content img { border-radius: 12px; }
.entry-tags {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.entry-tags a {
    background: var(--sl-chip-bg);
    color: var(--sl-ink);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-decoration: none;
}
.entry-tags a:hover {
    background: var(--sl-terracotta);
    color: #fff;
}

/* ---------- Хлебные крошки ---------- */
.breadcrumbs {
    font-size: 0.88rem;
    color: var(--sl-ash);
    margin: 0 0 22px;
    padding: 0;
}
.breadcrumbs a {
    color: var(--sl-ash);
    text-decoration: none;
}
.breadcrumbs a:hover { color: var(--sl-terracotta); }
.breadcrumbs .sep {
    margin: 0 8px;
    color: var(--sl-hair);
}
.breadcrumbs .current { color: var(--sl-slate); }

/* ---------- Пагинация ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 10px 16px;
    min-width: 44px;
    text-align: center;
    border-radius: 50px;
    background: var(--sl-chip-bg);
    color: var(--sl-ink);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background .2s;
}
.pagination a:hover {
    background: var(--sl-terracotta);
    color: #fff;
}
.pagination .current {
    background: var(--sl-slate);
    color: #fff;
}

/* ---------- Подвал ---------- */
.site-footer {
    background: var(--sl-ink);
    color: #d7d6de;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 50px 0 36px;
}
.footer-col .widget {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}
.footer-col .widget-title {
    color: #fff;
    border-bottom-color: var(--sl-terracotta);
}
.footer-col a { color: #d7d6de; }
.footer-col a:hover { color: var(--sl-terracotta); }
.footer-col li { border-bottom-color: rgba(255,255,255,0.08); }

.footer-copy {
    background: var(--sl-terracotta);
    color: #fff;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.92rem;
}

/* ---------- Форма поиска ---------- */
.search-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}
.search-form input[type="search"] {
    flex: 1;
    padding: 12px 18px;
    border: 1.5px solid var(--sl-hair);
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--sl-bg);
    color: var(--sl-ink);
}
.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--sl-terracotta);
}
.search-form button {
    padding: 12px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--sl-terracotta), var(--sl-terracotta-deep));
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
}

/* ---------- Комментарии ---------- */
.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--sl-hair);
}
.comment-list {
    list-style: none;
    padding: 0;
}
.comment-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--sl-hair);
}
.comment-item .avatar {
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: top;
}
.comment-author-name {
    font-family: var(--sl-font-display);
    color: var(--sl-slate);
    font-weight: 600;
}
.comment-date {
    color: var(--sl-ash);
    font-size: 0.85rem;
    margin-left: 10px;
}
.comment-body { margin-left: 60px; }
.comment-text { margin-top: 6px; }

.comment-reply-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.88rem;
    color: var(--sl-terracotta);
    text-decoration: none;
}

.comment-respond {
    margin-top: 30px;
    padding: 24px;
    background: var(--sl-bg-alt);
    border-radius: var(--sl-radius-card);
}
.comment-form label {
    display: block;
    font-size: 0.9rem;
    color: var(--sl-slate);
    margin-bottom: 4px;
    margin-top: 12px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--sl-hair);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit {
    margin-top: 16px;
    padding: 12px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--sl-terracotta), var(--sl-terracotta-deep));
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

/* ---------- Cookie баннер ---------- */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 640px;
    margin: 0 auto;
    background: var(--sl-slate);
    color: #fff;
    padding: 18px 22px;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(30, 30, 36, 0.3);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 9999;
    font-size: 0.92rem;
}
.cookie-notice.is-hidden { display: none; }
.cookie-notice p { margin: 0; flex: 1; background: none; }
.cookie-notice button {
    padding: 10px 22px;
    border-radius: 50px;
    background: var(--sl-terracotta);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    flex-shrink: 0;
    font-family: inherit;
}
.cookie-notice button:hover {
    background: var(--sl-terracotta-deep);
}

/* ---------- Главная страница ---------- */
.hero-section {
    background: var(--sl-bg-alt);
    border-radius: 28px;
    padding: 64px 48px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}
.hero-eyebrow {
    display: inline-block;
    background: var(--sl-saffron);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hero-title {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    margin: 0 0 18px;
    color: var(--sl-slate);
    max-width: 20ch;
    line-height: 1.1;
}
.hero-text {
    font-size: 1.08rem;
    color: var(--sl-ash);
    max-width: 60ch;
    margin-bottom: 28px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.theme-block {
    margin-bottom: 60px;
}
.theme-block + .theme-block { }
.theme-block h2 {
    margin-top: 0;
}
.theme-block .block-intro {
    color: var(--sl-ash);
    max-width: 70ch;
    margin-bottom: 28px;
    font-size: 1.03rem;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-item {
    padding: 28px 26px;
    background: var(--sl-bg-alt);
    border-radius: var(--sl-radius-card);
    border-top: 3px solid var(--sl-terracotta);
}
.feature-item.alt-1 { border-top-color: var(--sl-slate); }
.feature-item.alt-2 { border-top-color: var(--sl-saffron); }
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--sl-terracotta);
}
.feature-item h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}
.feature-item p {
    color: var(--sl-ash);
    margin: 0;
    font-size: 0.95rem;
}

.skill-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 20px;
}
.matrix-cell {
    padding: 26px;
    border-radius: 18px;
    color: #fff;
    min-height: 140px;
}
.matrix-cell:nth-child(1) { background: var(--sl-terracotta); }
.matrix-cell:nth-child(2) { background: var(--sl-slate); }
.matrix-cell:nth-child(3) { background: var(--sl-slate); }
.matrix-cell:nth-child(4) { background: var(--sl-terracotta); }
.matrix-cell h4 {
    margin: 0 0 8px;
    color: #fff;
    font-family: var(--sl-font-display);
    font-size: 1.05rem;
}
.matrix-cell p {
    margin: 0;
    font-size: 0.92rem;
    opacity: 0.92;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}
.step-item {
    padding: 26px 22px;
    background: var(--sl-bg);
    border: 1px solid var(--sl-hair);
    border-radius: var(--sl-radius-card);
    counter-increment: step;
    position: relative;
}
.step-item::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--sl-font-display);
    font-size: 1.4rem;
    color: var(--sl-terracotta);
    display: block;
    margin-bottom: 10px;
}
.step-item h4 {
    margin: 0 0 8px;
    font-size: 1rem;
}
.step-item p {
    font-size: 0.92rem;
    color: var(--sl-ash);
    margin: 0;
}

.latest-posts-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.archive-title {
    margin: 0 0 20px;
    color: var(--sl-slate);
}

/* ---------- 404 ---------- */
.error-404 {
    text-align: center;
    padding: 60px 20px;
}
.error-404 .huge {
    font-size: clamp(5rem, 14vw, 9rem);
    font-family: var(--sl-font-display);
    color: var(--sl-terracotta);
    line-height: 1;
    margin: 0;
}

/* ---------- Адаптивность ---------- */
@media (max-width: 960px) {
    .layout-with-sidebar {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .layout-full { max-width: 100%; }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-row {
        grid-template-columns: 1fr;
    }
    .steps-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-section {
        padding: 44px 28px;
    }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .nav-toggle { display: block; }
    .primary-nav {
        display: none;
        width: 100%;
        order: 5;
        margin-left: 0;
    }
    .primary-nav.is-open { display: block; }
    .primary-nav ul {
        flex-direction: column;
        gap: 6px;
        padding: 14px 0 6px;
    }
    .primary-nav a {
        padding: 10px 0;
        display: block;
    }
    .brand-name { font-size: 1rem; }
    .brand-tagline { display: none; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 26px;
    }

    .skill-matrix { grid-template-columns: 1fr; }
    .steps-row { grid-template-columns: 1fr; }

    .card-horizontal { flex-direction: column; }
    .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
    }
    .card-thumb-wrap a {
        position: static;
    }
    .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .cookie-notice {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}

/* ---------- Утилиты WP ---------- */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption {
    max-width: 100%;
    text-align: center;
    margin-bottom: 1.5em;
}
.wp-caption-text {
    color: var(--sl-ash);
    font-size: 0.88rem;
    margin-top: 6px;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.sticky { /* поддержка WP */ }
