:root {
    --zktp-primary: #587C84;
    --zktp-primary-dark: #3d5c63;
    --zktp-section: #DFEAEA;
    --zktp-accent: #A3CCC0;
    --zktp-cta: #90CFE0;
    --zktp-cta-hover: #79B9CF;
    --zktp-surface: #FFFFFF;
    --zktp-text: #333333;
    --zktp-dark: #464C51;
    --zktp-muted: #707070;
    --zktp-error: #D9534F;
    --zktp-success: #5CB85C;
    --zktp-border: rgba(70, 76, 81, .12);
    --zktp-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    --zktp-shadow-strong: 0 8px 18px rgba(0, 0, 0, .12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    background: #F5F8F8;
    color: var(--zktp-text);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
    min-height: 100%;
}

body.admin-bar .zktp-header {
    top: 32px;
}

a {
    color: var(--zktp-primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--zktp-primary-dark);
}

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

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--zktp-primary);
    font-family: "Poppins", Arial, sans-serif;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0 0 12px;
}

p {
    margin: 0 0 14px;
}

.zktp-skip-link {
    background: var(--zktp-primary);
    color: var(--zktp-surface);
    left: 12px;
    padding: 10px 14px;
    position: fixed;
    top: -60px;
    z-index: 100000;
}

.zktp-skip-link:focus {
    top: 12px;
}

.zktp-site {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.zktp-header {
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(88, 124, 132, .16);
    position: sticky;
    top: 0;
    z-index: 50;
}

.zktp-header__inner,
.zktp-footer__inner {
    align-items: center;
    display: flex;
    gap: 22px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1240px;
    padding: 14px 22px;
    width: 100%;
}

.zktp-brand {
    align-items: center;
    color: var(--zktp-text);
    display: inline-flex;
    gap: 12px;
    min-width: 220px;
    text-decoration: none;
}

.zktp-brand__mark {
    align-items: center;
    background: var(--zktp-primary);
    border-radius: 8px;
    color: var(--zktp-surface);
    display: inline-flex;
    flex: 0 0 46px;
    font-family: "Poppins", Arial, sans-serif;
    font-weight: 700;
    height: 46px;
    justify-content: center;
}

.zktp-brand__logo {
    display: inline-flex;
    max-width: 210px;
}

.zktp-brand__logo img {
    max-height: 54px;
    width: auto;
}

.zktp-brand__text {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.zktp-brand__text strong {
    color: var(--zktp-primary);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.15;
}

.zktp-brand__text small {
    color: var(--zktp-muted);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zktp-nav {
    min-width: 0;
}

.zktp-menu {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.zktp-menu a {
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--zktp-dark);
    display: inline-flex;
    font-weight: 700;
    min-height: 38px;
    padding: 8px 12px;
    text-decoration: none;
}

.zktp-menu a:hover,
.zktp-menu .current-menu-item > a,
.zktp-menu .current_page_item > a {
    background: var(--zktp-section);
    border-color: rgba(88, 124, 132, .2);
    color: var(--zktp-primary);
}

.zktp-main {
    flex: 1;
    padding: 26px 20px 38px;
}

.zktp-content,
.zktp-app-shell {
    margin: 0 auto;
    max-width: 1180px;
    width: 100%;
}

.zktp-content--list {
    display: grid;
    gap: 18px;
}

.zktp-card,
.zktp-app-intro {
    background: var(--zktp-surface);
    border: 1px solid var(--zktp-border);
    border-radius: 8px;
    border-top: 3px solid var(--zktp-accent);
    box-shadow: var(--zktp-shadow);
    padding: 22px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.zktp-card:hover,
.zktp-app-intro:hover {
    border-top-color: var(--zktp-primary);
    box-shadow: var(--zktp-shadow-strong);
}

.zktp-app-intro {
    margin-bottom: 18px;
}

.zktp-entry__header {
    margin-bottom: 16px;
}

.zktp-entry__header h1,
.zktp-entry__header h2 {
    font-size: 28px;
}

.zktp-entry__header h2 a {
    color: inherit;
    text-decoration: none;
}

.zktp-entry__meta,
.zktp-kicker {
    color: var(--zktp-muted);
    font-size: 13px;
    font-weight: 700;
}

.zktp-kicker {
    display: inline-block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.zktp-entry__image {
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.zktp-entry__content > *:last-child,
.zktp-card > *:last-child,
.zktp-app-intro > *:last-child {
    margin-bottom: 0;
}

.zktp-entry__content ul,
.zktp-entry__content ol {
    padding-left: 22px;
}

.zktp-entry__content blockquote {
    border-left: 4px solid var(--zktp-accent);
    color: var(--zktp-dark);
    margin: 20px 0;
    padding: 6px 0 6px 18px;
}

.zktp-entry__content table {
    border-collapse: collapse;
    margin: 18px 0;
    width: 100%;
}

.zktp-entry__content th,
.zktp-entry__content td {
    border: 1px solid rgba(70, 76, 81, .14);
    padding: 10px 12px;
    text-align: left;
}

.zktp-button,
.wp-block-button__link,
.zktp-entry__content input[type="submit"] {
    align-items: center;
    background: var(--zktp-primary);
    border: 0;
    border-radius: 8px;
    color: var(--zktp-surface);
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    text-decoration: none;
}

.zktp-button:hover,
.wp-block-button__link:hover,
.zktp-entry__content input[type="submit"]:hover {
    background: var(--zktp-primary-dark);
    color: var(--zktp-surface);
}

.zktp-entry__content input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.zktp-entry__content select,
.zktp-entry__content textarea {
    background: var(--zktp-surface);
    border: 1px solid rgba(70, 76, 81, .22);
    border-radius: 8px;
    color: var(--zktp-text);
    min-height: 42px;
    padding: 9px 11px;
    width: 100%;
}

.zktp-pagination {
    margin-top: 4px;
}

.zktp-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zktp-pagination .page-numbers {
    background: var(--zktp-surface);
    border: 1px solid rgba(88, 124, 132, .18);
    border-radius: 8px;
    color: var(--zktp-primary);
    display: inline-flex;
    min-height: 38px;
    min-width: 38px;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    text-decoration: none;
}

.zktp-pagination .current {
    background: var(--zktp-primary);
    color: var(--zktp-surface);
}

.zktp-app-shell .zkpm-app {
    margin-left: auto;
    margin-right: auto;
}

.zktp-app-template .zktp-main {
    padding-top: 20px;
}

.zktp-app-template .zktp-footer {
    margin-top: 8px;
}

.zktp-footer {
    background: var(--zktp-dark);
    color: rgba(255, 255, 255, .82);
}

.zktp-footer__inner {
    align-items: center;
    font-size: 14px;
    padding-bottom: 18px;
    padding-top: 18px;
}

.zktp-footer p {
    margin: 0;
}

@media (max-width: 782px) {
    body.admin-bar .zktp-header {
        top: 46px;
    }

    .zktp-header {
        position: static;
    }

    .zktp-header__inner,
    .zktp-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .zktp-nav,
    .zktp-menu,
    .zktp-menu li,
    .zktp-menu a {
        width: 100%;
    }

    .zktp-menu {
        align-items: stretch;
    }

    .zktp-menu a {
        justify-content: center;
    }

    .zktp-main {
        padding: 18px 14px 28px;
    }

    .zktp-card,
    .zktp-app-intro {
        padding: 18px;
    }

    .zktp-entry__header h1,
    .zktp-entry__header h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .zktp-brand {
        min-width: 0;
        width: 100%;
    }

    .zktp-brand__text small {
        white-space: normal;
    }
}
