/*
Theme Name: dds_majhitest.com
Theme URI: https://majhitest.com/
Author: Рыжова Валентина Григорьевна
Description: Тема информационного сайта о подготовке к конкурсным экзаменам в стиле дневника подготовки: бумага в клетку, стикеры, маркерные пометки и штампы «проверено».
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: samoprov
*/

/* ---------- Шрифты ---------- */
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/roboto-condensed-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/roboto-condensed-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/roboto-condensed-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/roboto-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pt-sans-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pt-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/pt-sans-cyrillic-400-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/pt-sans-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/pt-sans-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/pt-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/caveat-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/caveat-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Палитра ---------- */
:root {
    --paper: #EFE6D3;
    --grid: #D9CDB4;
    --ink: #232323;
    --muted: #7A6E5A;
    --red: #D2483B;
    --blue: #2E5C9A;
    --green: #9DBF4E;
    --yellow: #F2C94C;
    --line: #B9AB8E;
    --navy: #1F3A5F;
    --leaf: #DCE6D0;
    --graphite: #2B2B2B;
    --sheet: #FAF8F3;
    --card: #F1E5CB;
    --card-back: #E3D5B4;
    --insert: #EEE4C9;
    --tag: #E9DCBC;
    --st-mint: #94D1C2;
    --st-pink: #E2A3B2;
    --st-lime: #B3D461;
    --st-sky: #9DC6EC;
    --st-lilac: #C8B5DD;
    --st-orange: #ED9157;
    --st-plum: #C86699;
    --font-head: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --font-text: "PT Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;
}

/* ---------- Скрытые элементы (до основных стилей) ---------- */
.cookie-note[hidden] { display: none !important; }

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    font-family: var(--font-text);
    font-size: 1.0625rem;
    line-height: 1.6;
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(217, 205, 180, 0.75) 1px, transparent 1px),
        linear-gradient(90deg, rgba(217, 205, 180, 0.75) 1px, transparent 1px),
        url("images/paper-fiber.jpg");
    background-size: 24px 24px, 24px 24px, 240px 240px;
}
img { max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.15;
    margin: 1.4em 0 0.55em;
    color: var(--ink);
}
h1, h2, h3, h4, p, li, dd, dt, td, th, blockquote, figcaption { overflow-wrap: break-word; hyphens: auto; }
h1, h2, h3, h4, .brand-name, .task-col li, .stamp-fact p, .foot-copy { hyphens: manual; }
a { color: var(--blue); text-decoration: underline wavy rgba(46, 92, 154, 0.55); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--red); text-decoration-color: var(--red); }
:focus-visible { outline: 3px dashed var(--blue); outline-offset: 3px; }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}
.skip-link {
    position: absolute;
    left: 1rem; top: -4rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--ink);
}
.skip-link:focus { top: 1rem; }

.shell { width: min(92%, 1180px); margin-inline: auto; }

/* ---------- Шапка ---------- */
.masthead { padding: 1.6rem 0 0; }
.masthead-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}
.brand { display: flex; gap: 1rem; align-items: flex-start; min-width: 0; flex: 1 1 auto; }
.brand-mark { flex: 0 0 auto; display: block; line-height: 0; text-decoration: none; }
.brand-mark svg, .brand-logo { width: 68px; height: 68px; display: block; object-fit: contain; }
.brand-text { min-width: 0; }
.brand-name {
    margin: 0 0 0.35rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.55rem, 2.7vw, 2.3rem);
    line-height: 1.05;
    max-width: 24ch;
}
.brand-name a { color: var(--ink); text-decoration: none; }
.brand-name a:hover { color: var(--ink); background: linear-gradient(transparent 60%, rgba(242, 201, 76, 0.6) 60%); }
.brand-desc { margin: 0; color: #3A342A; font-size: 0.98rem; line-height: 1.45; max-width: 64ch; }

.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    background: var(--tag);
    color: var(--ink);
    border: 2px solid var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    cursor: pointer;
}
.nav-toggle-bars { display: inline-block; width: 18px; height: 12px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; }
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid var(--ink); }

.tabs-nav { flex: 0 0 auto; }
.tabs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.tabs-list li { filter: drop-shadow(0 1px 1px rgba(35, 35, 35, 0.25)); }
.tabs-list a {
    display: block;
    min-width: 210px;
    padding: 0.38rem 1.7rem 0.38rem 1.1rem;
    background: #EADFC5;
    border-left: 9px solid var(--yellow);
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    text-decoration: none;
    clip-path: polygon(0 0, 95% 0, 100% 14%, 96.5% 30%, 100% 48%, 96% 64%, 99.5% 82%, 96% 100%, 0 100%);
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.tabs-list li:nth-child(4n+2) a { border-left-color: var(--red); background: #EEDCC8; }
.tabs-list li:nth-child(4n+3) a { border-left-color: #5A9A4A; background: #DFE3C8; }
.tabs-list li:nth-child(4n+4) a { border-left-color: var(--blue); background: #E4DCC9; }
.tabs-list a:hover { transform: translateX(-8px); background: #F6EEDB; color: var(--ink); }
.tabs-list .current-menu-item a, .tabs-list .current_page_item a { transform: translateX(-12px); background: var(--sheet); }

.double-rule { margin-top: 1.3rem; height: 7px; border-top: 3px solid var(--ink); border-bottom: 1.5px solid var(--ink); }

/* ---------- Раскладки ---------- */
.site-main { padding-bottom: 3rem; }
.front-col { display: block; }
.layout-single .content-area { display: block; }
.content-area, .sidebar { min-width: 0; }

/* ---------- Хлебные крошки ---------- */
.crumbs { margin: 1.4rem 0 1.2rem; font-size: 0.92rem; color: var(--muted); }
.crumbs a { color: var(--blue); }
.crumbs-sep { margin: 0 0.25rem; color: var(--red); font-weight: 700; }
.crumbs span:last-child { color: var(--ink); }

/* ---------- Заголовки секций ---------- */
.fs { margin: 2.6rem 0; }
.fs-title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3.4vw, 2.55rem);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.fs-title span {
    background: linear-gradient(transparent 64%, rgba(157, 191, 78, 0.55) 64%, rgba(157, 191, 78, 0.55) 90%, transparent 90%);
    padding: 0 0.12em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.fs-lead { margin: -0.4rem 0 1.1rem; max-width: 70ch; color: #3A342A; }
.hand { font-family: var(--font-hand); font-weight: 600; }

/* ---------- Блок 1: карта усвоенного ---------- */
.map-wrap { position: relative; padding-right: 3.4rem; }
.map-sheet {
    position: relative;
    z-index: 1;
    background-color: var(--sheet);
    background-image:
        linear-gradient(rgba(201, 193, 176, 0.45) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 193, 176, 0.45) 1px, transparent 1px);
    background-size: 17px 17px;
    border: 1px solid #D6CBB3;
    box-shadow: 0 2px 0 rgba(35, 35, 35, 0.1);
    padding: 1.1rem 1.6rem 1.3rem;
}
.map-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.map-q { padding: 0.6rem 1.4rem 1rem; min-width: 0; }
.map-q:nth-child(odd) { border-right: 2px solid var(--ink); }
.map-q:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
.map-q h3 {
    margin: 0 0 0.6rem;
    text-align: center;
    font-size: 1.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}
.map-q h3 svg { width: 32px; height: 32px; flex: 0 0 auto; }
.mark-list { list-style: none; margin: 0; padding: 0; }
.mark-list li {
    position: relative;
    padding-left: 1.75rem;
    margin: 0 0 0.25rem;
    font-size: 1.02rem;
    line-height: 1.4;
}
.mark-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.08em;
    width: 1.25rem; height: 1.25rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.mark-check li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12.5c2 1.4 3.6 3.3 5 5.8C11 11 15.5 5.5 21.5 2.5' fill='none' stroke='%232E5C9A' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.mark-ring li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.5 7.5C17 4.8 12 3.8 8 6 4.5 8 4 12.5 6.5 15.5 9.5 18.8 16 18 18.5 14.5 20 12.3 19.6 9.6 18 7.8' fill='none' stroke='%232E5C9A' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.mark-cross li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5.5c4.5 4 9 8.6 14 13.5M18.5 4.5C13.8 9 9.5 13.8 5.5 19' fill='none' stroke='%23D2483B' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.mark-dash li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 15.5c3-1 6-3.5 9-5.5-1.5 2.5-2.5 4-3 5.5 3.5-2 7.5-4.5 12-6.5' fill='none' stroke='%232E5C9A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.is-circled span { position: relative; display: inline-block; }
.is-circled span::after {
    content: "";
    position: absolute;
    inset: -5px -12px -5px -30px;
    border: 2.5px solid var(--red);
    border-radius: 50%;
    transform: rotate(-2deg);
    pointer-events: none;
}
.map-tabs { position: absolute; right: 0; top: 0.4rem; width: 3.8rem; height: calc(100% - 1rem); z-index: 0; }
.map-tabs::before {
    content: "";
    position: absolute;
    right: 1.6rem; top: 0.6rem;
    width: 14px; height: 80%;
    background: #8E8370;
}
.map-tabs span { position: absolute; display: block; height: 1.7rem; box-shadow: 0 1px 1px rgba(35, 35, 35, 0.2); }
.map-tabs span:nth-child(1) { right: 0; top: 0.4rem; width: 3.6rem; background: var(--st-lime); }
.map-tabs span:nth-child(2) { right: 0.2rem; top: 2.8rem; width: 3.4rem; background: var(--st-orange); }
.map-tabs span:nth-child(3) { right: 0.9rem; top: 5.2rem; width: 1.9rem; height: 2.6rem; background: var(--st-plum); }
.map-foot { margin: 0.9rem 0 0; font-family: var(--font-hand); font-weight: 600; font-size: 1.35rem; color: var(--blue); line-height: 1.2; }

/* ---------- Блок 2: расписание повторения ---------- */
.week-sheet {
    background-color: var(--leaf);
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(255, 255, 255, 0.9) 27px, rgba(255, 255, 255, 0.9) 28px);
    border: 1px solid #C3CFB2;
    box-shadow: 0 2px 0 rgba(35, 35, 35, 0.08);
    padding: 1.1rem 1.6rem 1.4rem;
}
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.day { min-width: 0; border-right: 2px solid var(--ink); padding: 0 0.45rem 0.8rem; text-align: center; }
.day:last-child { border-right: 0; }
.day-name {
    display: block;
    margin: 0 -0.45rem;
    padding: 0.1rem 0 0.35rem;
    border-bottom: 2px solid var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
}
.day:first-child .day-name { margin-left: 0; }
.day:last-child .day-name { margin-right: 0; }
.sticker {
    display: block;
    margin: 0.9rem auto 0.55rem;
    max-width: 9.5rem;
    padding: 0.6rem 0.35rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.15;
    color: var(--ink);
    box-shadow: 1px 3px 0 rgba(35, 35, 35, 0.16);
    transform: rotate(-1.5deg);
}
.day:nth-child(even) .sticker { transform: rotate(1.3deg); }
.st-mint { background: var(--st-mint); }
.st-yellow { background: var(--yellow); }
.st-pink { background: var(--st-pink); }
.st-lime { background: var(--st-lime); }
.st-sky { background: var(--st-sky); }
.st-lilac { background: var(--st-lilac); }
.day-hint { display: block; font-size: 0.85rem; line-height: 1.35; color: #4C4637; }
.day-note p {
    margin: 0.7rem 0 0;
    font-family: var(--font-hand);
    font-weight: 600;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--blue);
    transform: rotate(-7deg);
}
.day-note p::after {
    content: "";
    display: block;
    height: 12px;
    margin: 0.2rem 0.1rem 0 -0.4rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 10C30 8 70 5 118 2' fill='none' stroke='%232E5C9A' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.week-foot { margin: 1rem 0 0; max-width: 72ch; color: #2F3A26; }

/* ---------- Последние записи ---------- */
.posts-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 1.6rem; }
.posts-head .fs-title { text-transform: none; margin: 0; }
.posts-more { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem 1.8rem; }

.card {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--card);
    border: 1px solid #CDBF9F;
    border-top: 6px solid var(--green);
    padding: 0.85rem 0.85rem 1.1rem;
    overflow: visible;
}
.cards-grid .card:nth-child(3n+2) { border-top-color: var(--yellow); }
.cards-grid .card:nth-child(3n+3) { border-top-color: var(--red); }
.card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 4px -6px -6px 5px;
    background: var(--card-back);
    border: 1px solid #C7B794;
    transform: rotate(1.1deg);
}
.card::after {
    content: "";
    position: absolute;
    right: -1px; bottom: -1px;
    width: 26px; height: 26px;
    background: linear-gradient(135deg, #D9C9A6 0%, #D9C9A6 50%, var(--paper) 50%);
    box-shadow: -1px -1px 0 rgba(35, 35, 35, 0.12);
}
.card-clip {
    position: absolute;
    z-index: 2;
    top: -16px; left: 16px;
    width: 18px; height: 46px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 46'%3E%3Cpath d='M12.5 14V35a4.3 4.3 0 0 1-8.6 0V8.5a6.2 6.2 0 0 1 12.4 0V37a7.6 7.6 0 0 1-15.2 0V17' fill='none' stroke='%237C7F84' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.card-thumb { display: block; border: 1px solid #BFAF8C; background: #DDD0B0; }
.card-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { flex: 1; display: flex; flex-direction: column; min-width: 0; padding-top: 0.9rem; }
.card-title { margin: 0 0 0.45rem; font-size: 1.35rem; line-height: 1.15; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--blue); text-decoration: underline wavy var(--blue); text-decoration-thickness: 1px; }
.card-excerpt { font-size: 0.97rem; line-height: 1.5; color: #35302A; margin-bottom: 0.9rem; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-excerpt a { color: inherit; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; padding-right: 0.8rem; }
.card-date { font-size: 0.92rem; color: var(--muted); }
.card-cats { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0 0 0.45rem; padding: 0; list-style: none; }
.card-cats a {
    display: inline-block;
    padding: 0 0.45rem;
    background: rgba(242, 201, 76, 0.55);
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 0.82rem;
    text-decoration: none;
}

/* Кнопка-ярлычок */
.btn-tag {
    position: relative;
    display: inline-block;
    padding: 0.42rem 1.35rem 0.42rem 0.95rem;
    background: var(--tag);
    color: var(--ink);
    border: 2px solid var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 100% 72%, calc(100% - 12px) 100%, 0 100%, 0 70%, 3px 52%, 0 34%);
    transition: transform 0.12s ease, background-color 0.12s ease;
}
.btn-tag::after {
    content: "";
    position: absolute;
    right: -2px; bottom: -2px;
    width: 14px; height: 14px;
    background: linear-gradient(135deg, var(--ink) 0, var(--ink) 50%, transparent 50%);
    opacity: 0.85;
}
.btn-tag:hover, .btn-tag:focus-visible { background: var(--yellow); color: var(--ink); transform: translate(-2px, -2px); }
.btn-tag:active { transform: translate(0, 0); }
.btn-tag--dark { background: var(--ink); color: var(--sheet); }
.btn-tag--dark::after { background: linear-gradient(135deg, var(--yellow) 0, var(--yellow) 50%, transparent 50%); }

.empty-note { padding: 1.4rem 1.6rem; background: var(--sheet); border: 1px dashed var(--line); }

/* ---------- Блок 3: разбор задания ---------- */
.task-sheet {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr);
    background-color: var(--navy);
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(255, 255, 255, 0.17) 31px, rgba(255, 255, 255, 0.17) 32px);
    color: #F3F0E7;
    padding: 1.8rem 2rem;
    box-shadow: 0 2px 0 rgba(35, 35, 35, 0.15);
}
.task-col { min-width: 0; padding: 0 1.6rem; }
.task-col:first-child { padding-left: 0; }
.task-col:last-child { padding-right: 0; }
.task-col + .task-col { border-left: 2px solid rgba(243, 240, 231, 0.55); }
.task-col h3 {
    margin: 0 0 1rem;
    display: inline-block;
    font-size: 1.3rem;
    color: #FFFFFF;
    border-bottom: 2px solid rgba(243, 240, 231, 0.75);
    padding-bottom: 0.15rem;
}
.task-cond { margin: 0 0 1.1rem; font-size: 1.02rem; }
.task-cond .hand { display: block; font-size: 1.5rem; line-height: 1.1; color: var(--yellow); }
.task-steps { list-style: none; margin: 0; padding: 0; counter-reset: tstep; }
.task-steps li {
    counter-increment: tstep;
    position: relative;
    padding: 0.2rem 0 0 3.6rem;
    margin: 0 0 1.25rem;
    min-height: 2.8rem;
    line-height: 1.45;
}
.task-steps li::before {
    content: counter(tstep);
    position: absolute;
    left: 0; top: 0;
    width: 2.6rem; height: 2.6rem;
    border: 2px solid #FFFFFF;
    border-radius: 50% 46% 52% 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-hand);
    font-weight: 600;
    font-size: 1.6rem;
    color: #FFFFFF;
}
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { position: relative; padding-left: 1.5rem; margin: 0 0 1rem; line-height: 1.4; }
.dot-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.3em;
    width: 0.8rem; height: 0.8rem;
    border-radius: 50%;
}
.dot-red li::before { background: var(--red); }
.dot-red strong { color: #FFFFFF; }
.dot-green li::before { background: var(--green); }
.dot-green li span {
    background: var(--green);
    color: #18240C;
    font-weight: 700;
    padding: 0.08em 0.35em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    border-radius: 3px 8px 4px 9px;
}

/* ---------- Блок 4: шкала готовности ---------- */
.scale-insert {
    position: relative;
    background-color: var(--insert);
    background-image:
        radial-gradient(circle at 16px 17px, var(--paper) 0, var(--paper) 5px, #9C8F74 5.6px, #9C8F74 6.8px, transparent 7.2px),
        url("images/paper-fiber.jpg");
    background-size: 32px 34px, 240px 240px;
    background-repeat: repeat-y, repeat;
    background-blend-mode: normal, multiply;
    border: 1px solid #D3C5A5;
    box-shadow: 0 2px 0 rgba(35, 35, 35, 0.1);
    padding: 1.7rem 2rem 1.6rem 3.6rem;
}
.scale-insert::before {
    content: "";
    position: absolute;
    left: 30px; top: 0; bottom: 0;
    border-left: 1px dashed #B9AB8E;
}
.thermo { display: flex; align-items: center; margin: 0.6rem 0 0; }
.thermo-bulb {
    flex: 0 0 auto;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--red);
    border: 3px solid var(--ink);
    margin-right: -6px;
    position: relative;
    z-index: 1;
}
.thermo-tube {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: 24px;
    border: 3px solid var(--ink);
    border-right: 0;
    background: #FFFDF7;
}
.thermo-tube span { border-right: 3px solid var(--ink); }
.thermo-tube span:last-child { border-right: 0; }
.thermo-tube .is-filled { background: var(--red); }
.thermo-arrow { flex: 0 0 auto; width: 44px; height: 52px; display: block; margin-left: -2px; }
.thermo-labels {
    list-style: none;
    margin: 0.3rem 44px 1.8rem 40px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}
.thermo-labels li { position: relative; color: var(--muted); padding-top: 0.9rem; min-width: 0; }
.thermo-labels li:first-child { text-align: left; }
.thermo-labels li:last-child { text-align: right; color: var(--ink); }
.thermo-labels .is-current { color: var(--ink); }
.thermo-labels .is-current::before {
    content: "";
    position: absolute;
    right: -8px; top: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid var(--ink);
}
.thermo-labels .is-current span { display: block; text-align: right; margin-right: -2.4rem; }
.stamp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 2rem; }
.stamp-fact { display: flex; gap: 0.9rem; align-items: flex-start; min-width: 0; }
.stamp {
    flex: 0 0 auto;
    display: inline-block;
    padding: 0.18rem 0.5rem;
    border: 2px solid var(--ink);
    outline: 1px solid var(--ink);
    outline-offset: 2px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    transform: rotate(-6deg);
    margin-top: 0.4rem;
    background: rgba(250, 248, 243, 0.55);
}
.stamp-fact p { margin: 0; font-size: 0.95rem; line-height: 1.4; }
.stamp-fact b { display: block; font-family: var(--font-head); font-size: 1.55rem; line-height: 1.05; color: var(--red); }

/* ---------- Контент страниц ---------- */
.page-head { margin: 0 0 1.4rem; }
.page-head h1 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.7rem); text-transform: uppercase; }
.page-head h1 span {
    background: linear-gradient(transparent 64%, rgba(242, 201, 76, 0.7) 64%, rgba(242, 201, 76, 0.7) 90%, transparent 90%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.page-head p { margin: 0.6rem 0 0; color: var(--muted); }

.sheet {
    position: relative;
    background-color: var(--sheet);
    background-image: linear-gradient(90deg, transparent 2.4rem, rgba(210, 72, 59, 0.45) 2.4rem, rgba(210, 72, 59, 0.45) calc(2.4rem + 1px), transparent calc(2.4rem + 1px));
    border: 1px solid #D6CBB3;
    box-shadow: 0 2px 0 rgba(35, 35, 35, 0.08);
    padding: 2rem 2.2rem 2rem 3.6rem;
}
.entry-title { margin: 0 0 0.6rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.entry-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; margin-bottom: 1.3rem; color: var(--muted); font-size: 0.95rem; }
.entry-meta .card-cats { margin: 0; }
.entry-thumb { margin: 0 0 1.5rem; border: 1px solid #CDBF9F; padding: 0.5rem; background: var(--card); }
.entry-thumb img { display: block; width: 100%; height: auto; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 1.7rem; }
.entry-content h2::after { content: ""; display: block; width: 3.5rem; height: 4px; margin-top: 0.35rem; background: var(--green); }
.entry-content h3 { font-size: 1.35rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; margin: 0 0 1.1em; }
.entry-content li { margin-bottom: 0.35em; }
.entry-content ul li::marker { color: var(--red); }
.entry-content ol li::marker { color: var(--blue); font-family: var(--font-head); font-weight: 700; }
.entry-content blockquote {
    margin: 1.5em 0;
    padding: 1rem 1.4rem 1rem 1.5rem;
    background: rgba(242, 201, 76, 0.28);
    border-left: 6px solid var(--red);
    font-size: 1.08rem;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; font-family: var(--font-hand); font-size: 1.3rem; font-style: normal; color: var(--blue); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.3em 0; font-size: 0.97rem; border: 2px solid var(--ink); }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 0.55rem 0.75rem; text-align: left; vertical-align: top; }
.entry-content th { background: var(--tag); font-family: var(--font-head); }
.entry-content tr:nth-child(even) td { background: rgba(220, 230, 208, 0.45); }
.entry-content figure { margin: 1.4em 0; }
.entry-content figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.4rem; }
.entry-content pre { overflow-x: auto; background: var(--graphite); color: #F1ECE0; padding: 1rem 1.2rem; }
.entry-content hr { border: 0; border-top: 2px dashed var(--line); margin: 2em 0; }
.alignleft { float: left; margin: 0.3em 1.4em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, .gallery-caption { font-size: 0.9rem; color: var(--muted); }
.sticky .card-title::before { content: "★ "; color: var(--red); }

.entry-tags { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.entry-tags a { padding: 0.15rem 0.6rem; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-family: var(--font-head); font-size: 0.9rem; background: var(--tag); }
.entry-tags a:hover { background: var(--yellow); }
.post-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin-top: 1.8rem; }
.post-nav a { display: block; padding: 0.8rem 1rem; background: var(--card); border: 1px solid #CDBF9F; color: var(--ink); text-decoration: none; }
.post-nav a:hover { background: var(--sheet); }
.post-nav small { display: block; color: var(--muted); font-size: 0.85rem; }
.post-nav .next { text-align: right; }

/* ---------- Списки записей ---------- */
.list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 1.8rem; }
.layout-single .list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Пагинация ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; margin: 2.6rem 0 0.5rem; }
.pager .page-numbers {
    display: inline-block;
    min-width: 2.5rem;
    padding: 0.35rem 0.75rem;
    text-align: center;
    background: var(--card);
    border: 2px solid var(--ink);
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    text-decoration: none;
}
.pager a.page-numbers:hover { background: var(--yellow); transform: translate(-2px, -2px); }
.pager .page-numbers.current { background: var(--ink); color: var(--sheet); }
.pager .page-numbers.dots { border: 0; background: none; min-width: 0; }

/* ---------- Сайдбар ---------- */
.sidebar {
    align-self: start;
    background-color: #F6F0E1;
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 29px, rgba(185, 171, 142, 0.35) 29px, rgba(185, 171, 142, 0.35) 30px);
    border: 1px solid #D6CBB3;
    border-left: 6px solid var(--blue);
    padding: 1.5rem 1.4rem;
    color: var(--ink);
}
.sidebar .widget { margin-bottom: 1.8rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title {
    display: inline-block;
    margin: 0 0 0.9rem;
    padding: 0.2rem 0.7rem;
    background: var(--yellow);
    color: var(--ink);
    font-size: 1.15rem;
    transform: rotate(-1.5deg);
    box-shadow: 1px 2px 0 rgba(35, 35, 35, 0.15);
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 0.45rem 0; border-bottom: 1px dashed var(--line); line-height: 1.35; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--ink); text-decoration: none; }
.sidebar a:hover { color: var(--blue); text-decoration: underline wavy var(--blue); text-decoration-thickness: 1px; }
.sidebar .post-date { display: block; color: var(--muted); font-size: 0.85rem; }
.sidebar p, .sidebar .textwidget { color: #35302A; }

/* ---------- Поиск ---------- */
.search-form { display: flex; gap: 0.5rem; max-width: 32rem; }
.search-form label { flex: 1 1 auto; min-width: 0; }
.search-field {
    width: 100%;
    padding: 0.55rem 0.8rem;
    background: #FFFDF7;
    border: 2px solid var(--ink);
    color: var(--ink);
}
.search-field::placeholder { color: var(--muted); }
.search-submit { flex: 0 0 auto; }

/* ---------- 404 ---------- */
.nf-sheet { text-align: left; }
.nf-code { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(4.5rem, 14vw, 8rem); line-height: 1; color: var(--red); transform: rotate(-3deg); }
.nf-sheet .hand { font-size: 1.6rem; color: var(--blue); }
.nf-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; margin-top: 1.4rem; }

/* ---------- Комментарии ---------- */
.comments { margin-top: 2.4rem; }
.comments-title { font-size: 1.5rem; margin: 0 0 1rem; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 1.6rem; border-left: 2px dashed var(--line); padding-left: 1rem; }
.comment-card { background: var(--sheet); border: 1px solid #D6CBB3; padding: 1rem 1.2rem; margin-bottom: 1rem; }
.comment-head { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.comment-head img { display: block; border: 2px solid var(--ink); }
.comment-author-name { font-family: var(--font-head); font-weight: 700; }
.comment-head time { color: var(--muted); font-size: 0.88rem; }
.comment-await { font-family: var(--font-hand); color: var(--red); font-size: 1.2rem; }
.comment-reply a { font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; }
.comment-respond { background: var(--card); border: 1px solid #CDBF9F; padding: 1.3rem 1.4rem; margin-top: 1.4rem; }
.comment-reply-title { margin: 0 0 0.6rem; font-size: 1.35rem; }
.comment-reply-title small { margin-left: 0.6rem; font-size: 0.9rem; }
.comment-form label { display: block; font-family: var(--font-head); font-weight: 700; margin-bottom: 0.25rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    background: #FFFDF7;
    border: 2px solid var(--ink);
    color: var(--ink);
}
.comment-form-cookies-consent { display: flex; gap: 0.5rem; align-items: flex-start; }
.comment-form-cookies-consent label { font-family: var(--font-text); font-weight: 400; font-size: 0.92rem; }
.comment-notes, .logged-in-as { font-size: 0.92rem; color: var(--muted); }
.req { color: var(--red); }
.form-submit .submit { cursor: pointer; }
.comment-nav { display: flex; justify-content: space-between; gap: 1rem; margin: 1rem 0; font-family: var(--font-head); font-weight: 700; }

/* ---------- Подвал ---------- */
.site-foot {
    background-color: var(--graphite);
    background-image: url("images/paper-fiber.jpg");
    background-size: 240px 240px;
    background-blend-mode: multiply;
    color: #E8E1D1;
    padding: 2.8rem 0 1.4rem;
    border-top: 4px solid var(--ink);
}
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; }
.foot-col { min-width: 0; }
.site-foot .widget { margin-bottom: 1.2rem; color: #E8E1D1; }
.site-foot .widget-title { margin: 0 0 0.7rem; font-size: 1.35rem; color: #FFFFFF; }
.site-foot p, .site-foot .textwidget { color: #E0D9C8; font-size: 0.97rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0 0 0.35rem; }
.site-foot a { color: #F1EBDD; text-decoration: underline; text-decoration-color: rgba(241, 235, 221, 0.55); text-underline-offset: 3px; }
.site-foot a:hover { color: var(--yellow); text-decoration: underline wavy var(--yellow); text-decoration-thickness: 1px; }
.site-foot .post-date { color: #BDB4A1; }
.foot-copy { margin: 1.8rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(232, 225, 209, 0.25); text-align: center; font-size: 0.9rem; color: #CFC7B5; }

/* ---------- Cookie ---------- */
.cookie-note {
    position: fixed;
    z-index: 90;
    left: 1rem; right: 1rem; bottom: 1rem;
    margin-inline: auto;
    width: min(100% - 2rem, 680px);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.3rem;
    background: var(--sheet);
    border: 2px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
}
.cookie-note p { margin: 0; font-size: 0.94rem; line-height: 1.45; }
.cookie-note .btn-tag { flex: 0 0 auto; }

/* ---------- Адаптив ---------- */
@media (min-width: 960px) {
    .front-col { width: 85%; margin-left: auto; margin-right: auto; }
    .layout-single .content-area { width: 85%; margin-left: auto; margin-right: auto; }
    .layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 67fr) minmax(0, 27fr); column-gap: 6%; align-items: start; }
}

@media (max-width: 959px) {
    .masthead-inner { flex-wrap: wrap; }
    .layout-with-sidebar .sidebar { margin-top: 2.4rem; }
    .cards-grid, .layout-single .list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .week-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 1.2rem; }
    .day:nth-child(4n) { border-right: 0; }
    .day:nth-child(4n) .day-name { margin-right: 0; }
    .day:nth-child(4n+1) .day-name { margin-left: 0; }
    .task-sheet { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 1.6rem; }
    .task-col:first-child { grid-column: 1 / -1; padding-right: 0; }
    .task-col:nth-child(2) { border-left: 0; padding-left: 0; }
    .stamp-facts { grid-template-columns: minmax(0, 1fr); }
    .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; }
    .tabs-nav { flex-basis: 100%; display: none; }
    .tabs-nav.is-open { display: block; }
    .tabs-list a { min-width: 0; }
    .masthead-inner { gap: 1rem; }
    .brand-mark svg, .brand-logo { width: 52px; height: 52px; }
}

@media (max-width: 600px) {
    body { font-size: 1rem; }
    .fs { margin: 2rem 0; }
    .map-wrap { padding-right: 0; }
    .map-tabs { display: none; }
    .map-sheet { padding: 0.8rem 1rem 1rem; }
    .map-grid { grid-template-columns: minmax(0, 1fr); }
    .map-q { padding: 0.8rem 0.4rem; }
    .map-q:nth-child(odd) { border-right: 0; }
    .map-q:nth-child(-n+3) { border-bottom: 2px solid var(--ink); }
    .week-sheet { padding: 1rem 1rem 1.2rem; }
    .week-grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
    .day { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 0.8rem; align-items: center; text-align: left; border-right: 0; border-bottom: 2px solid var(--ink); padding: 0.55rem 0; }
    .day:last-child { border-bottom: 0; }
    .day-name, .day:first-child .day-name, .day:last-child .day-name, .day:nth-child(4n) .day-name, .day:nth-child(4n+1) .day-name { margin: 0; border-bottom: 0; grid-row: span 2; }
    .sticker { margin: 0 0 0.3rem; max-width: none; justify-self: start; padding: 0.35rem 0.7rem; }
    .day-note p { margin: 0; font-size: 1.6rem; transform: rotate(-3deg); }
    .cards-grid, .list-grid, .layout-single .list-grid { grid-template-columns: minmax(0, 1fr); }
    .task-sheet { grid-template-columns: minmax(0, 1fr); padding: 1.4rem 1.2rem; }
    .task-col, .task-col:first-child, .task-col:last-child, .task-col:nth-child(2) { padding: 0; border-left: 0; }
    .task-col + .task-col { border-top: 2px solid rgba(243, 240, 231, 0.55); padding-top: 1.2rem; }
    .scale-insert { padding: 1.3rem 1.1rem 1.3rem 2.8rem; }
    .thermo-bulb { width: 34px; height: 34px; }
    .thermo-tube { height: 18px; }
    .thermo-arrow { width: 30px; height: 40px; }
    .thermo-labels { margin: 0.3rem 30px 1.6rem 28px; font-size: 0.78rem; }
    .thermo-labels li:not(:first-child):not(:last-child):not(.is-current) span { visibility: hidden; }
    .thermo-labels li:first-child span { white-space: nowrap; }
    .thermo-labels .is-current span { position: absolute; right: 0; top: 0.9rem; margin: 0; white-space: nowrap; }
    .sheet { padding: 1.4rem 1.1rem 1.4rem 2.2rem; background-image: linear-gradient(90deg, transparent 1.3rem, rgba(210, 72, 59, 0.45) 1.3rem, rgba(210, 72, 59, 0.45) calc(1.3rem + 1px), transparent calc(1.3rem + 1px)); }
    .post-nav { grid-template-columns: minmax(0, 1fr); }
    .foot-grid { grid-template-columns: minmax(0, 1fr); }
    .cookie-note { flex-direction: column; align-items: flex-start; padding: 1rem 1.1rem; box-shadow: 3px 3px 0 var(--ink); }
    .search-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

.nothing-title { font-size: 1.6rem; color: var(--blue); margin-bottom: 0.4rem; }
