/*
Theme Name: dds_dizapamok.com
Theme URI: https://dizapamok.com/
Author: Arjun Mehta
Description: Blueprint-style theme for a practical resource hub on digital property marketing tools for Indian real estate professionals. Drafting-table layout, graph-paper backgrounds, numbered sheet titles and tracing-paper cards.
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: dzpm
*/

/* ---------- Fonts ---------- */
@font-face {
    font-family: "Oswald";
    src: url("fonts/oswald-latin-wght-normal.woff2") format("woff2-variations"), url("fonts/oswald-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src: url("fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Mono";
    src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Mono";
    src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
    --bg: #0E1A2B;
    --grid: #22334D;
    --sheet-1: #13263D;
    --sheet-3: #0E1A2B;
    --sheet-4: #10202F;
    --head: #111F33;
    --foot: #08111C;
    --text: #F4F1E8;
    --muted: #8FA3B8;
    --orange: #FF6B35;
    --orange-dark: #E2531F;
    --lime: #B8E986;
    --paper: #F2EFE6;
    --paper-2: #E7E2D4;
    --blue: #3D7EFF;
    --blue-soft: #7FA8FF;
    --blue-line: rgba(61, 126, 255, .55);
    --ink: #13263D;
    --ink-soft: #46566B;
    --ink-link: #1F4FC2;
    --f-head: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
    --f-body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --gap: clamp(1.4rem, 3vw, 2.4rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--f-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px),
        linear-gradient(rgba(34, 51, 77, .38) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 51, 77, .38) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
    background-position: -1px -1px;
}
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-head);
    font-weight: 600;
    line-height: 1.15;
    margin: 1.4em 0 .55em;
    letter-spacing: .01em;
}
p, li, h1, h2, h3, h4, h5, h6, td, th, figcaption, blockquote, dd, dt {
    overflow-wrap: break-word;
    hyphens: auto;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
}
button, input, textarea, select { font: inherit; }
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid currentColor; padding: .5em .7em; text-align: start; vertical-align: top; }

.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;
}
.dz-skip {
    position: absolute;
    left: 1rem; top: -4rem;
    z-index: 100;
    padding: .6rem 1rem;
    background: var(--orange);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}
.dz-skip:focus { top: 1rem; }

/* ---------- Shell ---------- */
.shell {
    width: min(92%, 1240px);
    margin-inline: auto;
    padding: clamp(1rem, 3vw, 2.6rem) 0 clamp(1rem, 3vw, 2.6rem);
}
@media (min-width: 960px) {
    .shell { width: min(85%, 1240px); }
}
.dz-main { display: block; min-width: 0; }

/* ---------- Buttons & links ---------- */
.dz-btn,
.comment-form .submit,
.dz-search__btn,
.cookie-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4em;
    padding: .55em 1.15em;
    border: 3px solid var(--orange);
    border-radius: 0;
    background: var(--orange);
    color: #10131A;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.dz-btn:hover,
.comment-form .submit:hover,
.dz-search__btn:hover,
.cookie-banner__btn:hover {
    background: transparent;
    color: var(--orange-dark);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--orange);
}
.dz-sheet .dz-btn:hover,
.cookie-banner__btn:hover { color: var(--orange); }

.dz-link {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--lime);
    padding-bottom: .1em;
}
.dz-link::after { content: "→"; color: var(--lime); transition: transform .15s; }
.dz-link:hover::after { transform: translateX(4px); }
.dz-link--ink { color: var(--ink); border-bottom-color: var(--blue); }
.dz-link--ink::after { color: var(--blue); }

/* ---------- Header ---------- */
.dz-head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem 2rem;
    padding: clamp(1.1rem, 2.6vw, 2.2rem) clamp(1.1rem, 3vw, 2.6rem);
    background: var(--head);
    border: 1px solid var(--blue-line);
}
.dz-head__brand {
    display: flex;
    align-items: center;
    gap: clamp(.9rem, 2vw, 1.6rem);
    flex: 1 1 32rem;
    min-width: 0;
}
.dz-head__logo {
    flex: 0 0 auto;
    display: block;
    width: clamp(4.2rem, 8vw, 6.8rem);
    line-height: 0;
    text-decoration: none;
}
.dz-head__mark, .dz-head__img { display: block; width: 100%; height: auto; }
.dz-head__text { min-width: 0; }
.dz-head__name {
    margin: 0 0 .4rem;
    font-family: var(--f-head);
    font-weight: 500;
    font-size: clamp(1.08rem, 1.5vw, 1.4rem);
    line-height: 1.25;
    letter-spacing: .015em;
}
.dz-head__name a { color: var(--text); text-decoration: none; }
.dz-head__name a:hover { color: var(--lime); }
.dz-head__desc {
    margin: 0;
    max-width: 72ch;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--muted);
}

/* Nav */
.dz-nav { position: relative; flex: 0 0 auto; }
.dz-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .3rem 1.8rem;
}
.dz-menu a {
    display: inline-block;
    padding: .25rem 0;
    color: var(--text);
    font-family: var(--f-head);
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: .03em;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color .15s, color .15s;
}
.dz-menu a:hover { border-bottom-color: var(--lime); }
.dz-menu .current-menu-item > a,
.dz-menu .current_page_item > a { color: var(--orange); border-bottom-color: var(--orange); }
.dz-nav__toggle {
    display: none;
    align-items: center;
    gap: .6rem;
    padding: .55rem .9rem;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--orange);
    font-family: var(--f-head);
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
}
.dz-nav__bars, .dz-nav__bars::before, .dz-nav__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform .2s, opacity .2s;
}
.dz-nav__bars { position: relative; }
.dz-nav__bars::before, .dz-nav__bars::after { content: ""; position: absolute; left: 0; }
.dz-nav__bars::before { top: -6px; }
.dz-nav__bars::after { top: 6px; }
.dz-nav.is-open .dz-nav__bars { background: transparent; }
.dz-nav.is-open .dz-nav__bars::before { transform: translateY(6px) rotate(45deg); }
.dz-nav.is-open .dz-nav__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
    .dz-nav { flex: 1 1 100%; }
    .dz-nav__toggle { display: inline-flex; }
    .dz-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        margin-top: .9rem;
        border-top: 1px dashed var(--blue-line);
    }
    .dz-nav.is-open .dz-menu { display: flex; }
    .dz-menu li { border-bottom: 1px dashed var(--blue-line); }
    .dz-menu a { display: block; padding: .7rem 0; border-bottom: 0; }
}

/* Dimension line */
.dz-dim {
    position: relative;
    height: 2.6rem;
    margin: .2rem 0 clamp(1.2rem, 3vw, 2.2rem);
    border-left: 1px solid var(--blue);
    border-right: 1px solid var(--blue);
    background: linear-gradient(var(--blue), var(--blue)) center / 100% 1px no-repeat;
}
.dz-dim::before, .dz-dim::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 0; height: 0;
    border: 4px solid transparent;
    transform: translateY(-50%);
}
.dz-dim::before { left: 0; border-right: 9px solid var(--blue); border-left-width: 0; }
.dz-dim::after { right: 0; border-left: 9px solid var(--blue); border-right-width: 0; }
.dz-dim span {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 .6rem;
    background: var(--bg);
    font-family: var(--f-mono);
    font-size: .72rem;
    color: var(--muted);
}

/* ---------- Sheets (front page) ---------- */
.dz-sheet {
    position: relative;
    margin: 0 0 var(--gap);
    padding: clamp(1.4rem, 3.4vw, 2.8rem) clamp(1.2rem, 3.4vw, 2.8rem);
    background: var(--sheet-1);
    border: 1px solid rgba(61, 126, 255, .22);
    min-width: 0;
}
.dz-sheet--paper {
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(61, 126, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 126, 255, .07) 1px, transparent 1px);
    background-size: 24px 24px;
    border-color: #D8D2C2;
}

/* Section stamp title */
.dz-title {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 0 0 1.4rem;
}
.dz-title__no {
    flex: 0 0 auto;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    min-height: 2.6rem;
    width: 2.3rem;
    padding: 0 .3rem .2rem;
    border: 1px solid var(--muted);
    font-family: var(--f-mono);
    font-size: .7rem;
    line-height: 1;
    color: var(--muted);
    background:
        repeating-linear-gradient(90deg, transparent 0 5px, rgba(143, 163, 184, .35) 5px 6px) top / 100% 42% no-repeat;
}
.dz-title__text {
    margin: 0;
    padding: .05em .3em;
    border: 2px solid var(--muted);
    font-family: var(--f-head);
    font-weight: 600;
    font-size: clamp(1.7rem, 3.6vw, 2.9rem);
    line-height: 1.08;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text);
    min-width: 0;
}
.dz-title--ink .dz-title__no { border-color: var(--ink); color: var(--ink); background: repeating-linear-gradient(90deg, transparent 0 5px, rgba(19, 38, 61, .3) 5px 6px) top / 100% 42% no-repeat; }
.dz-title--ink .dz-title__text { color: var(--ink); border-color: var(--ink); }
.dz-tag {
    align-self: center;
    margin-left: .6rem;
    padding: .1em .45em;
    border: 2px solid var(--orange);
    color: var(--orange);
    font-family: var(--f-head);
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    letter-spacing: .05em;
    transform: rotate(-5deg);
}
.dz-lead {
    max-width: 62ch;
    margin: -.4rem 0 1.8rem;
    color: var(--muted);
}

/* Block 01 — Stack map */
.dz-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    background-color: var(--sheet-1);
}
.dz-stack .dz-title__text { border: 0; padding: 0; font-size: clamp(1.9rem, 4.4vw, 3.6rem); }
.dz-stack__main { min-width: 0; }
.dz-stack__chain {
    list-style: none;
    margin: 0;
    padding: 2.2rem 0 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2.2rem;
}
.dz-module {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.dz-module__box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5.6rem;
    padding: 1rem .8rem;
    text-align: center;
    font-family: var(--f-body);
    font-size: 1.12rem;
    line-height: 1.25;
    color: var(--text);
    border: 1.5px solid var(--blue-line);
    box-shadow: inset 0 0 0 5px var(--sheet-1), inset 0 0 0 6px rgba(61, 126, 255, .45);
    background: linear-gradient(rgba(61, 126, 255, .45), rgba(61, 126, 255, .45)) left 7px top 14px / calc(100% - 14px) 1px no-repeat;
}
.dz-module__note {
    font-size: .86rem;
    line-height: 1.4;
    color: var(--muted);
    text-align: center;
}
.dz-module + .dz-module::before {
    content: "";
    position: absolute;
    top: 2.8rem;
    left: -2.2rem;
    width: 2.2rem;
    height: 10px;
    transform: translateY(-50%);
    background:
        radial-gradient(circle, var(--lime) 3.6px, transparent 4.2px) left center / 10px 10px no-repeat,
        radial-gradient(circle, var(--lime) 3.6px, transparent 4.2px) right center / 10px 10px no-repeat,
        linear-gradient(var(--lime), var(--lime)) center / 100% 3px no-repeat;
}
.dz-module--flag .dz-module__box::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 1.5px;
    height: 2rem;
    background: var(--blue-soft);
}
.dz-module--flag .dz-module__box::after {
    content: "";
    position: absolute;
    left: calc(50% + 1px);
    bottom: calc(100% + 1.15rem);
    width: 1.2rem;
    height: .85rem;
    border: 1.5px solid var(--blue-soft);
    clip-path: polygon(0 0, 100% 0, 70% 50%, 100% 100%, 0 100%);
    background: linear-gradient(135deg, transparent 0 46%, var(--blue-soft) 46% 54%, transparent 54%);
}
.dz-stack__fact {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .6rem 0 .6rem 1.6rem;
    border-left: 1px solid var(--blue);
}
.dz-stack__fact::before, .dz-stack__fact::after {
    content: "";
    position: absolute;
    left: -9px;
    width: 17px;
    height: 1px;
    background: var(--blue);
}
.dz-stack__fact::before { top: 0; }
.dz-stack__fact::after { bottom: 0; }
.dz-stack__num {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: clamp(5rem, 11vw, 9rem);
    line-height: .9;
    color: var(--text);
}
.dz-stack__cap {
    font-family: var(--f-body);
    font-size: 1.25rem;
    color: var(--text);
}
@media (min-width: 1100px) {
    .dz-stack { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 3rem; }
}
@media (max-width: 960px) {
    .dz-stack__chain { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding-top: 2.4rem; }
    .dz-module { flex-direction: row; align-items: center; gap: 1rem; }
    .dz-module__box { flex: 0 0 13rem; min-height: 4.4rem; }
    .dz-module__note { text-align: start; }
    .dz-module + .dz-module::before {
        top: -1.6rem;
        left: 6.5rem;
        width: 10px;
        height: 1.6rem;
        transform: translateX(-50%);
        background:
            radial-gradient(circle, var(--lime) 3.6px, transparent 4.2px) center top / 10px 10px no-repeat,
            radial-gradient(circle, var(--lime) 3.6px, transparent 4.2px) center bottom / 10px 10px no-repeat,
            linear-gradient(var(--lime), var(--lime)) center / 3px 100% no-repeat;
    }
    .dz-module--flag:last-child .dz-module__box::before,
    .dz-module--flag:last-child .dz-module__box::after { display: none; }
    .dz-stack__fact { flex-direction: row; align-items: baseline; gap: 1rem; }
}
@media (max-width: 600px) {
    .dz-module { flex-direction: column; align-items: stretch; }
    .dz-module__box { flex: none; }
    .dz-module__note { text-align: center; }
    .dz-module + .dz-module::before { left: 50%; }
}

/* Block 02 — Before / After */
.dz-ba { background-color: var(--sheet-4); }
.dz-ba__panels {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr);
    align-items: stretch;
}
.dz-ba__panel { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: .8rem; }
.dz-ba__label {
    text-align: center;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}
.dz-ba__frame {
    position: relative;
    container-type: inline-size;
    border: 1px solid rgba(143, 163, 184, .7);
    background: #0F1C2C;
}
.dz-ba__frame--light { border-color: #D8E3EE; background: #EEF5FB; }
.dz-ba__frame img { width: 100%; height: auto; aspect-ratio: 762 / 738; object-fit: cover; }
.dz-ba__overlay {
    position: absolute;
    left: 7.5%;
    top: 21%;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 2.6rem;
    font-size: 13cqw;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #1A2433;
}
.dz-ba__text { margin: 0; font-size: .98rem; color: var(--muted); }
.dz-ba__axis {
    position: relative;
    justify-self: center;
    width: 1px;
    margin: 2.6rem 0 4.2rem;
    background: var(--blue);
}
.dz-ba__axis::before, .dz-ba__axis::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 0; height: 0;
    border: 5px solid transparent;
    transform: translateX(-50%);
}
.dz-ba__axis::before { top: -1px; border-bottom: 10px solid var(--blue); border-top-width: 0; }
.dz-ba__axis::after { bottom: -1px; border-top: 10px solid var(--blue); border-bottom-width: 0; }
.dz-ba__caption {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: .9rem;
    margin: 1.4rem auto 0;
    width: min(100%, 34rem);
    font-size: 1.15rem;
    color: var(--text);
}
.dz-ba__caption::before, .dz-ba__caption::after {
    content: "";
    flex: 1;
    height: 1.6rem;
    margin-bottom: .6rem;
    border-bottom: 1px solid var(--blue);
}
.dz-ba__caption::before { border-left: 1px solid var(--blue); }
.dz-ba__caption::after { border-right: 1px solid var(--blue); }
@media (max-width: 600px) {
    .dz-ba__panels { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
    .dz-ba__axis { display: none; }
}

/* Block 03 — Latest notes */
.dz-notes .dz-title { margin-bottom: 2rem; }
.dz-notes__more { margin: 1.8rem 0 0; text-align: end; }
.dz-empty { margin: 0; color: var(--ink-soft); }
.dz-empty--dark { color: var(--muted); }

/* ---------- Cards ---------- */
.dz-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.4rem, 2.6vw, 2.2rem);
}
@media (min-width: 600px) {
    .dz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
    .dz-cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .layout-single .dz-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--blue-line);
    box-shadow: inset 0 0 0 7px var(--paper), inset 0 0 0 8px rgba(61, 126, 255, .45);
    transition: transform .15s, border-color .15s;
}
.card:hover { transform: translate(-3px, -3px); border-color: var(--orange); }
.card-stamp {
    position: absolute;
    top: -.75rem;
    right: .9rem;
    z-index: 2;
    padding: .15rem .5rem;
    background: var(--paper);
    border: 1.5px solid var(--ink);
    outline: 1px solid var(--ink);
    outline-offset: 2px;
    font-family: var(--f-mono);
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink);
    transform: rotate(3deg);
}
.card-thumb {
    margin: .9rem .2rem 0;
    overflow: hidden;
    background: var(--paper-2);
}
.card-thumb a { display: block; }
.card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .25s;
}
.card:hover .card-thumb img { transform: scale(1.03); }
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.1rem .5rem .5rem;
}
.card-pin {
    align-self: flex-start;
    margin-bottom: .5rem;
    padding: .05rem .45rem;
    background: var(--lime);
    color: var(--ink);
    font-family: var(--f-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.card-title {
    margin: 0 0 .55rem;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    line-height: 1.12;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--orange-dark); }
.card-excerpt { color: var(--ink-soft); font-size: .98rem; line-height: 1.5; }
.card-excerpt p { margin: 0 0 .5em; background: none; }
.card-excerpt a { color: var(--ink-link); }
.card-more { align-self: flex-start; margin-top: auto; }
.card-excerpt + .card-more { margin-top: .9rem; }

/* Block 04 — Checklist */
.dz-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: var(--gap);
}
@media (min-width: 1100px) {
    .dz-pair { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; }
}
.dz-check { background-color: var(--sheet-3); border-color: rgba(61, 126, 255, .3); }
.dz-check__body {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
}
.dz-check__mark { flex: 0 0 auto; display: flex; align-items: center; gap: .3rem; }
.dz-check__five,
.dz-check__word {
    font-family: var(--f-head);
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke: 2px var(--text);
    line-height: .85;
}
.dz-check__five { font-size: clamp(7rem, 13vw, 11rem); }
.dz-check__word {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    letter-spacing: .06em;
    text-transform: uppercase;
    -webkit-text-stroke-width: 1.5px;
}
.dz-check__list {
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
    flex: 1;
}
.dz-check__list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .6rem;
    padding: .55rem 0;
    border-bottom: 1px dashed rgba(143, 163, 184, .35);
    font-size: 1.08rem;
}
.dz-check__list li:last-child { border-bottom: 0; }
.dz-check__box {
    position: relative;
    flex: 0 0 1.35rem;
    width: 1.35rem;
    height: 1.35rem;
    align-self: center;
    background: var(--lime);
}
.dz-check__box::after {
    content: "";
    position: absolute;
    left: .42rem;
    top: .16rem;
    width: .42rem;
    height: .75rem;
    border: solid var(--sheet-3);
    border-width: 0 3px 3px 0;
    transform: rotate(42deg);
}
.dz-check__n { font-family: var(--f-mono); font-size: .85rem; color: var(--orange); }
.dz-check__list strong { font-weight: 600; color: var(--text); }
.dz-check__list em { font-style: normal; color: var(--muted); }
.dz-check__list em::before { content: "— "; }
.dz-check__note { margin: 1.4rem 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 600px) {
    .dz-check__body { flex-direction: column; align-items: flex-start; }
    .dz-check__five { font-size: 6rem; }
}

/* Block 05 — Tool specimen */
.dz-specimen { background-color: var(--sheet-4); }
.dz-specimen__grid { display: grid; gap: 1.4rem; }
.dz-specimen__fig { position: relative; margin: 0; min-width: 0; }
.dz-specimen__fig img { width: 100%; height: auto; aspect-ratio: 1180 / 805; object-fit: cover; }
.dz-callouts {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.dz-callout {
    padding: .2rem .6rem;
    border: 1px solid var(--blue);
    color: var(--blue-soft);
    font-size: .9rem;
}
@media (min-width: 760px) {
    .dz-specimen__fig { padding: 0 17%; }
    .dz-callouts { position: absolute; inset: 0; margin: 0; display: block; pointer-events: none; }
    .dz-callout {
        position: absolute;
        display: flex;
        align-items: center;
        gap: .45rem;
        padding: 0;
        border: 0;
        font-size: clamp(.8rem, 1.2vw, 1rem);
        line-height: 1.15;
        transform: translateY(-50%);
    }
    .dz-callout span { flex: 0 1 auto; max-width: 7.5rem; }
    .dz-callout::after { content: ""; flex: 1 1 auto; min-width: 1rem; height: 1px; background: currentColor; }
    .dz-callout::before {
        content: "";
        position: absolute;
        top: 50%;
        width: 0; height: 0;
        border: 4px solid transparent;
        transform: translateY(-50%);
    }
    .dz-callout--l { left: 0; }
    .dz-callout--l::before { right: -2px; border-left: 8px solid currentColor; border-right-width: 0; }
    .dz-callout--r { right: 0; flex-direction: row-reverse; text-align: end; }
    .dz-callout--r::before { left: -2px; border-right: 8px solid currentColor; border-left-width: 0; }
    .dz-callout--hero { top: 25%; width: 31%; }
    .dz-callout--search { top: 40%; width: 29.5%; }
    .dz-callout--grid { top: 64%; width: 36.5%; }
    .dz-callout--contact { top: 51%; width: 30%; }
    .dz-callout--mobile { top: 66%; width: 37%; }
}
.dz-spec {
    width: min(100%, 22rem);
    justify-self: end;
    border: 2px solid var(--text);
    font-size: .92rem;
}
.dz-spec caption {
    caption-side: top;
    padding: .25rem .7rem;
    border: 2px solid var(--text);
    border-bottom: 0;
    text-align: start;
    font-family: var(--f-head);
    font-size: 1.2rem;
    letter-spacing: .04em;
}
.dz-spec th, .dz-spec td { border: 1px solid rgba(244, 241, 232, .55); }
.dz-spec th {
    width: 38%;
    font-family: var(--f-mono);
    font-weight: 400;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}
.dz-specimen__note { margin: 1.4rem 0 0; color: var(--muted); font-size: .95rem; max-width: 60ch; }

/* ---------- Inner layout ---------- */
.dz-crumbs {
    margin: 0 0 1.4rem;
    font-family: var(--f-mono);
    font-size: .8rem;
    color: var(--muted);
}
.dz-crumbs a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--lime); }
.dz-crumbs a:hover { color: var(--lime); }
.dz-crumbs__sep { margin: 0 .3rem; color: var(--orange); }

.layout-single .content-area { min-width: 0; }
.layout-with-sidebar .content-area, .layout-with-sidebar .sidebar { min-width: 0; }
.sidebar { margin-top: var(--gap); }
@media (min-width: 960px) {
    .layout-single .content-area { width: 85%; margin-left: auto; margin-right: auto; }
    .dz-no-sidebar .dz-crumbs { width: 85%; margin-left: auto; margin-right: auto; }
    .layout-with-sidebar {
        display: grid;
        grid-template-columns: minmax(0, 67%) minmax(0, 27%);
        justify-content: space-between;
        align-items: start;
    }
    .sidebar { margin-top: 0; }
}
.layout-single, .layout-with-sidebar { margin-bottom: var(--gap); }

.dz-pagehead { margin: 0 0 1.8rem; }
.dz-pagehead__code {
    display: inline-block;
    padding: .1rem .5rem;
    border: 1px solid var(--muted);
    font-family: var(--f-mono);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
}
.dz-pagehead__title {
    margin: .5rem 0 0;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.05;
}
.dz-pagehead__intro { margin-top: 1rem; color: var(--muted); max-width: 70ch; }
.dz-pagehead__intro a { color: var(--lime); }

/* Paper sheet (entries) */
.dz-paper {
    position: relative;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(61, 126, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 126, 255, .06) 1px, transparent 1px);
    background-size: 24px 24px;
    border: 1px solid var(--blue-line);
    box-shadow: inset 0 0 0 8px var(--paper), inset 0 0 0 9px rgba(61, 126, 255, .4);
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1.3rem, 4vw, 3rem);
    margin: 0 0 var(--gap);
}
.dz-entry__head { margin-bottom: 1.4rem; }
.dz-entry__stamp {
    display: inline-block;
    margin-bottom: .8rem;
    padding: .15rem .5rem;
    border: 1.5px solid var(--ink);
    outline: 1px solid var(--ink);
    outline-offset: 2px;
    font-family: var(--f-mono);
    font-size: .82rem;
    font-weight: 600;
    transform: rotate(-2deg);
}
.dz-entry__title {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--ink);
}
.dz-entry__cats { margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.dz-entry__cats a {
    padding: .1rem .55rem;
    border: 1px solid var(--blue);
    color: var(--ink-link);
    font-family: var(--f-mono);
    font-size: .78rem;
    text-decoration: none;
}
.dz-entry__cats a:hover { background: var(--blue); color: #fff; }
.dz-entry__thumb { margin: 0 0 1.8rem; }
.dz-entry__thumb img { width: 100%; height: auto; border: 1px solid var(--blue-line); }
.dz-entry__content { font-size: 1.08rem; line-height: 1.7; }
.dz-entry__content > *:first-child { margin-top: 0; }
.dz-entry__content h2, .dz-entry__content h3, .dz-entry__content h4 { color: var(--ink); }
.dz-entry__content h2 {
    font-size: clamp(1.5rem, 2.6vw, 1.95rem);
    text-transform: uppercase;
    letter-spacing: .03em;
    padding-left: .8rem;
    border-left: 5px solid var(--orange);
}
.dz-entry__content h3 { font-size: 1.4rem; }
.dz-entry__content h4 { font-size: 1.15rem; }
.dz-entry__content a { color: var(--ink-link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dz-entry__content a:hover { color: var(--orange-dark); }
.dz-entry__content ul, .dz-entry__content ol { padding-left: 1.4rem; margin: 0 0 1.2em; }
.dz-entry__content li { margin-bottom: .35em; }
.dz-entry__content ul li::marker { color: var(--orange); }
.dz-entry__content ol li::marker { color: var(--ink-link); font-family: var(--f-mono); }
.dz-entry__content blockquote {
    margin: 1.6em 0;
    padding: 1.1rem 1.4rem;
    background: var(--paper-2);
    border-left: 5px solid var(--orange);
    font-size: 1.15rem;
    font-style: italic;
}
.dz-entry__content blockquote p:last-child { margin-bottom: 0; }
.dz-entry__content table { margin: 1.4em 0; font-size: .96rem; }
.dz-entry__content th, .dz-entry__content td { border: 1px solid #8C9BB0; }
.dz-entry__content th { background: var(--ink); color: var(--paper); font-weight: 600; }
.dz-entry__content tr:nth-child(even) td { background: rgba(61, 126, 255, .06); }
.dz-entry__content img { border: 1px solid var(--blue-line); }
.dz-entry__content figure { margin: 1.6em 0; }
.dz-entry__content figcaption { margin-top: .4rem; font-family: var(--f-mono); font-size: .78rem; color: var(--ink-soft); }
.dz-entry__content code { font-family: var(--f-mono); font-size: .9em; padding: .1em .3em; background: var(--paper-2); }
.dz-entry__content pre {
    overflow-x: auto;
    padding: 1rem 1.2rem;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--f-mono);
    font-size: .88rem;
}
.dz-entry__content pre code { background: none; padding: 0; }
.dz-entry__content hr { border: 0; border-top: 1px dashed var(--blue); margin: 2em 0; }
.dz-entry__tags { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .6rem; font-family: var(--f-mono); font-size: .85rem; }
.dz-entry__tags a { color: var(--ink-link); text-decoration: none; border-bottom: 1px solid var(--blue); }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption, .wp-block-image { max-width: 100%; }

.dz-postnav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 0 0 var(--gap);
}
@media (min-width: 600px) { .dz-postnav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dz-postnav__link {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--blue-line);
    background: var(--sheet-1);
    color: var(--text);
    font-family: var(--f-head);
    font-size: 1.1rem;
    text-decoration: none;
    transition: border-color .15s, transform .15s;
}
.dz-postnav__link span { font-family: var(--f-mono); font-size: .75rem; color: var(--lime); }
.dz-postnav__link--next { text-align: end; grid-column: -2; }
.dz-postnav__link:hover { border-color: var(--orange); transform: translateY(-2px); }

/* Sidebar */
.sidebar {
    padding: 1.6rem 1.5rem;
    background: var(--sheet-1);
    border: 1px solid var(--blue-line);
    color: var(--text);
}
.sidebar .dz-widget + .dz-widget { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px dashed var(--blue-line); }
.sidebar .dz-widget__title {
    margin: 0 0 1rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text);
}
.sidebar .dz-widget__title::before {
    content: "";
    display: inline-block;
    width: .6rem;
    height: .6rem;
    margin-right: .5rem;
    background: var(--orange);
    vertical-align: .15em;
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: .55rem 0; border-bottom: 1px dashed rgba(143, 163, 184, .3); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--text); text-decoration: none; }
.sidebar a:hover { color: var(--lime); }
.sidebar .post-date, .sidebar .rss-date { display: block; font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.sidebar p, .sidebar .textwidget { color: #C7D2DE; }
.sidebar .dz-search__field { background: var(--sheet-3); color: var(--text); border-color: var(--blue-line); }

/* Search form */
.dz-search { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.dz-search__field {
    flex: 1 1 12rem;
    min-width: 0;
    padding: .65rem .8rem;
    border: 2px solid var(--ink);
    border-radius: 0;
    background: #fff;
    color: var(--ink);
}
.dz-search__btn { flex: 0 0 auto; }
.dz-nothing p { margin-bottom: .6rem; }

/* 404 */
.dz-404 { text-align: start; }
.dz-404__code {
    display: block;
    font-family: var(--f-head);
    font-weight: 300;
    font-size: clamp(6rem, 18vw, 11rem);
    line-height: .9;
    color: transparent;
    -webkit-text-stroke: 2px var(--ink);
}
.dz-404 .dz-entry__title { margin: .6rem 0 1rem; }

/* Pagination */
.dz-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin: var(--gap) 0 0;
}
.dz-pager .page-numbers,
.dz-pager > span,
.dz-pager > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 .75rem;
    border: 2px solid var(--blue-line);
    background: var(--sheet-1);
    color: var(--text);
    font-family: var(--f-mono);
    font-size: .9rem;
    text-decoration: none;
    transition: border-color .15s, background-color .15s, color .15s;
}
.dz-pager a.page-numbers:hover, .dz-pager > a:hover { border-color: var(--orange); color: var(--orange); }
.dz-pager .page-numbers.current, .dz-pager > .current {
    background: var(--orange);
    border-color: var(--orange);
    color: #10131A;
    font-weight: 600;
}
.dz-pager .page-numbers.dots { border: 0; background: none; min-width: auto; padding: 0 .2rem; }
.dz-pager--parts { margin-top: 1.4rem; }
.dz-pager--parts > span, .dz-pager--parts > a { background: var(--paper); color: var(--ink); }

/* Comments */
.dz-comments__title, .comment-reply-title {
    margin: 0 0 1.2rem;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ink);
}
.dz-comments__list, .dz-comments__list .children { list-style: none; margin: 0; padding: 0; }
.dz-comments__list .children { padding-left: clamp(1rem, 4vw, 2.4rem); border-left: 1px dashed var(--blue); }
.dz-comment__body { padding: 1rem 0; border-bottom: 1px dashed rgba(61, 126, 255, .35); }
.dz-comment__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.dz-comment__meta img { border-radius: 0; border: 1px solid var(--blue-line); }
.dz-comment__author { font-weight: 700; }
.dz-comment__meta time { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-soft); }
.dz-comment__wait { font-style: italic; color: var(--orange-dark); }
.dz-comment__text p { margin-bottom: .6em; }
.dz-comment__reply a { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-link); }
.dz-comments__closed { font-style: italic; color: var(--ink-soft); }
.comment-respond { margin-top: 1.8rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: .3rem; font-weight: 600; font-size: .95rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: .65rem .8rem;
    border: 2px solid var(--ink);
    border-radius: 0;
    background: #fff;
    color: var(--ink);
}
.comment-form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: .5rem; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-form .required { color: var(--orange-dark); }
.comment-notes, .logged-in-as { font-size: .92rem; color: var(--ink-soft); }
.comment-notes a, .logged-in-as a, .must-log-in a { color: var(--ink-link); }
.comment-reply-title small { margin-left: .6rem; font-size: .8rem; text-transform: none; }
.comment-reply-title small a { color: var(--ink-link); }
.dz-paper .comments-pagination, .dz-paper .comment-navigation { margin-top: 1rem; }
.dz-paper .nav-links { display: flex; justify-content: space-between; gap: 1rem; }
.dz-paper .nav-links a { color: var(--ink-link); }

/* ---------- Footer ---------- */
.dz-foot {
    margin-top: var(--gap);
    padding: clamp(1.6rem, 4vw, 3rem) clamp(1.2rem, 3.4vw, 2.8rem) 0;
    color: #C7D2DE;
    background-color: var(--foot);
    background-image:
        linear-gradient(rgba(34, 51, 77, .5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 51, 77, .5) 1px, transparent 1px);
    background-size: 24px 24px;
    border: 1px solid rgba(61, 126, 255, .25);
}
.dz-foot__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}
@media (min-width: 760px) {
    .dz-foot__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 3rem; }
}
.dz-foot__col { min-width: 0; }
.dz-foot .dz-widget__title {
    margin: 0 0 .9rem;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text);
}
.dz-foot p, .dz-foot .textwidget { color: #C7D2DE; font-size: .95rem; }
.dz-foot a { color: var(--text); text-decoration: none; }
.dz-foot a:hover { color: var(--lime); }
.dz-foot ul { list-style: none; margin: 0; padding: 0; }
.dz-foot li { padding: .15rem 0; font-size: 1.05rem; }
.dz-foot .textwidget a { border-bottom: 1px solid var(--lime); }
.dz-foot__base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem 2rem;
    margin-top: 2.4rem;
    padding: 1rem 0 1.2rem;
    border-top: 1px solid rgba(61, 126, 255, .35);
}
.dz-foot__copy { margin: 0; font-size: .88rem; color: #C7D2DE; }
.dz-foot__sheet { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); letter-spacing: .06em; }

/* ---------- Cookie banner ---------- */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.6rem;
    max-width: 62rem;
    margin-inline: auto;
    padding: 1.1rem 1.4rem;
    background: var(--foot);
    color: var(--text);
    border: 1px solid var(--blue-line);
    border-top: 4px solid var(--orange);
}
.cookie-banner__text { flex: 1 1 22rem; margin: 0; font-size: .95rem; color: #C7D2DE; }
.cookie-banner__btn { flex: 0 0 auto; }

/* ---------- Gutenberg basics ---------- */
.wp-block-button__link { border-radius: 0; background: var(--orange); color: #10131A; }
.has-text-align-center { text-align: center; }
.sticky { position: relative; }
.bypostauthor { display: block; }
.gallery-caption { font-size: .85rem; }
