/* PakalaTax global layout refresh — shared interior-page system */
:root {
    --pk-ink: #0a192f;
    --pk-text: #26374c;
    --pk-muted: #5b6b7f;
    --pk-line: #dfe7f0;
    --pk-soft: #f5f8fb;
    --pk-gold: #d4af37;
    --pk-blue: #1769aa;
}
body {
    color: var(--pk-text);
    background: #fff;
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6, button, input, select, textarea { font-family: "IBM Plex Sans", "Segoe UI", sans-serif; }
::selection { background: #f3d979; color: var(--pk-ink); }
.site-content { min-height: 55vh; }
.site-main > article,
.site-main > .page-header,
.archive .site-main,
.search .site-main {
    width: min(100% - 48px, 1180px);
    margin-inline: auto;
}
.entry-header,
.page-header {
    padding: clamp(3.75rem, 7vw, 6.5rem) 0 2rem !important;
    margin: 0 !important;
    text-align: left;
    border-bottom: 1px solid var(--pk-line);
}
.entry-title,
.page-title {
    max-width: 18ch;
    margin: 0;
    color: var(--pk-ink);
    font-size: clamp(2.35rem, 5vw, 4.75rem);
    line-height: 1.04;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.entry-meta { margin-top: 1rem; color: var(--pk-muted); }
.entry-content {
    max-width: 100%;
    color: var(--pk-text);
    font-size: 1rem;
    line-height: 1.75;
}
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote {
    max-width: 72ch;
}
.entry-content h2,
.entry-content h3 {
    color: var(--pk-ink);
    line-height: 1.18;
    letter-spacing: -.02em;
    text-wrap: balance;
}
.entry-content h2 { margin: 3.5rem 0 1rem; font-size: clamp(1.8rem, 3vw, 2.75rem); }
.entry-content h3 { margin: 2.25rem 0 .75rem; font-size: clamp(1.3rem, 2vw, 1.75rem); }
.entry-content a { color: var(--pk-blue); text-underline-offset: .2em; }
.entry-content img { border-radius: 12px; }
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: .9375rem;
}
.entry-content th,
.entry-content td {
    padding: .85rem 1rem;
    border: 1px solid var(--pk-line);
    text-align: left;
}
.entry-content th { background: var(--pk-soft); color: var(--pk-ink); }
.entry-content .btn,
.entry-content a.btn {
    min-height: 46px;
    border-radius: 8px;
    font-weight: 700;
}
.archive .site-main,
.search .site-main { padding-block: clamp(3rem, 6vw, 6rem); }
.archive .page-header,
.search .page-header { width: 100%; padding-top: 0 !important; }
.post-navigation,
.posts-navigation,
.pagination { margin: 3rem 0; }
input, select, textarea {
    border-radius: 8px !important;
    border-color: #bdc9d6 !important;
}
input:focus, select:focus, textarea:focus,
button:focus-visible, a:focus-visible {
    outline: 3px solid var(--pk-gold);
    outline-offset: 3px;
}
@media (max-width: 767px) {
    .site-main > article,
    .site-main > .page-header,
    .archive .site-main,
    .search .site-main { width: min(100% - 32px, 1180px); }
    .entry-header, .page-header { padding-top: 3.25rem !important; }
    .entry-title, .page-title { font-size: clamp(2.1rem, 11vw, 3.25rem); }
    .entry-content { font-size: .975rem; }
    .entry-content table { display: block; overflow-x: auto; }
}

