/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

.dracula-toggle-wrap.floating {
    display: none !important;
}

.pk-darkmode-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    align-self: center;
    line-height: 1;
}

.pk-darkmode-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 34px;
    border: 0;
    border-radius: 6px;
    background: #eef3f6;
    color: #004f58;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(0, 79, 88, 0.12);
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.pk-darkmode-button:hover,
.pk-darkmode-button:focus-visible {
    background: #ffd400;
    color: #004f58;
    outline: none;
    transform: translateY(-1px);
}

.pk-darkmode-button.is-dark {
    background: #4756b8;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.pk-darkmode-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}

html[data-dracula-scheme="dark"] body {
    color-scheme: dark;
}

html[data-dracula-scheme="dark"] .ct-header,
html[data-dracula-scheme="dark"] [data-row*="middle"] {
    background-color: #003f45;
}

html[data-dracula-scheme="dark"] .site-main,
html[data-dracula-scheme="dark"] .ct-container-full,
html[data-dracula-scheme="dark"] .ct-sidebar {
    background-color: #121a1d;
}

html[data-dracula-scheme="dark"] .entries article,
html[data-dracula-scheme="dark"] .ct-widget,
html[data-dracula-scheme="dark"] .ct-sidebar > * {
    border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 999.98px) {
    .pk-darkmode-nav {
        margin-left: 8px;
        margin-right: 10px;
    }

    .pk-darkmode-button {
        width: 38px;
        height: 32px;
    }
}

.pk-home-hero {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
    gap: 18px;
    width: 100%;
    margin: 0 0 38px;
}

.pk-home-hero-side {
    display: grid;
    gap: 18px;
}

.pk-hero-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #004f58 0%, #17232a 100%);
    box-shadow: 0 12px 26px rgba(15, 32, 39, 0.12);
}

.pk-hero-card-large {
    min-height: 420px;
}

.pk-hero-card-small {
    min-height: 201px;
}

.pk-hero-card a {
    position: absolute;
    inset: 0;
    display: block;
    color: #ffffff;
    text-decoration: none;
}

.pk-hero-card img,
.pk-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pk-hero-card img {
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 220ms ease, filter 220ms ease;
}

.pk-hero-shade {
    background:
        linear-gradient(90deg, rgba(6, 21, 30, 0.9) 0%, rgba(6, 21, 30, 0.58) 48%, rgba(6, 21, 30, 0.2) 100%),
        linear-gradient(0deg, rgba(6, 21, 30, 0.82) 0%, rgba(6, 21, 30, 0.08) 70%);
}

.pk-hero-card-small .pk-hero-shade {
    background:
        linear-gradient(90deg, rgba(6, 21, 30, 0.86) 0%, rgba(6, 21, 30, 0.42) 58%, rgba(6, 21, 30, 0.16) 100%),
        linear-gradient(0deg, rgba(6, 21, 30, 0.78) 0%, rgba(6, 21, 30, 0.05) 75%);
}

.pk-hero-card:hover img,
.pk-hero-card:focus-within img {
    transform: scale(1.045);
    filter: saturate(1.06);
}

.pk-hero-content {
    position: absolute;
    z-index: 2;
    left: 34px;
    right: 34px;
    bottom: 30px;
    max-width: 640px;
}

.pk-hero-card-small .pk-hero-content {
    left: 24px;
    right: 24px;
    bottom: 22px;
}

.pk-hero-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.pk-hero-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #ffd400;
    color: #004f58;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.pk-hero-card h2 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 58px);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: 0;
}

.pk-hero-card-small h2 {
    font-size: clamp(19px, 2vw, 28px);
    line-height: 1.05;
}

.pk-hero-card p {
    max-width: 560px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    line-height: 1.45;
}

.pk-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 700;
}

.pk-hero-meta span + span::before {
    content: "/";
    margin-right: 9px;
    color: rgba(255, 255, 255, 0.45);
}

html[data-dracula-scheme="dark"] .pk-hero-card {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

@media (max-width: 999.98px) {
    .pk-home-hero {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 30px;
    }

    .pk-home-hero-side {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .pk-hero-card-large {
        min-height: 390px;
    }

    .pk-hero-card-small {
        min-height: 210px;
    }

    .pk-hero-content {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }
}

@media (max-width: 689.98px) {
    .pk-home-hero {
        margin-top: 4px;
    }

    .pk-home-hero-side {
        grid-template-columns: 1fr;
    }

    .pk-hero-card,
    .pk-hero-card-large,
    .pk-hero-card-small {
        min-height: 245px;
    }

    .pk-hero-card-large {
        min-height: 345px;
    }

    .pk-hero-content,
    .pk-hero-card-small .pk-hero-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .pk-hero-card h2 {
        font-size: clamp(26px, 9vw, 38px);
        line-height: 1;
    }

    .pk-hero-card-small h2 {
        font-size: 24px;
    }

    .pk-hero-card p {
        font-size: 14px;
    }
}

/* Home feature area: keep it visually close to the existing post cards. */
.pk-home-hero {
    gap: 24px;
    margin-bottom: 56px;
}

.pk-home-hero-side {
    gap: 24px;
}

.pk-hero-card {
    border-radius: 8px;
    background: #00545b;
    box-shadow: none;
}

.pk-hero-card-large {
    min-height: 350px;
}

.pk-hero-card-small {
    min-height: 163px;
}

.pk-hero-card img {
    opacity: 0.72;
}

.pk-hero-shade {
    background:
        linear-gradient(90deg, rgba(0, 84, 91, 0.94) 0%, rgba(0, 84, 91, 0.72) 46%, rgba(0, 84, 91, 0.18) 100%),
        linear-gradient(0deg, rgba(0, 49, 55, 0.86) 0%, rgba(0, 49, 55, 0.08) 72%);
}

.pk-hero-card-small .pk-hero-shade {
    background:
        linear-gradient(90deg, rgba(0, 84, 91, 0.9) 0%, rgba(0, 84, 91, 0.6) 58%, rgba(0, 84, 91, 0.16) 100%),
        linear-gradient(0deg, rgba(0, 49, 55, 0.78) 0%, rgba(0, 49, 55, 0.04) 74%);
}

.pk-hero-content {
    left: 34px;
    right: 34px;
    bottom: 34px;
}

.pk-hero-card-small .pk-hero-content {
    left: 24px;
    right: 24px;
    bottom: 22px;
}

.pk-hero-card h2 {
    max-width: 660px;
    font-size: clamp(26px, 3vw, 44px);
    line-height: 1.02;
    font-weight: 800;
}

.pk-hero-card-small h2 {
    font-size: clamp(19px, 1.7vw, 26px);
    line-height: 1.08;
    font-weight: 800;
}

.pk-hero-card p {
    max-width: 520px;
    margin-top: 14px;
    font-size: 15px;
}

.pk-hero-meta {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.home.blog .ct-sidebar,
.blog.home .ct-sidebar {
    margin-top: 28px;
}

html[data-dracula-scheme="dark"] .pk-hero-card {
    box-shadow: none;
}

@media (max-width: 999.98px) {
    .pk-home-hero {
        gap: 18px;
        margin-bottom: 42px;
    }

    .pk-home-hero-side {
        gap: 18px;
    }

    .pk-hero-card-large {
        min-height: 330px;
    }

    .pk-hero-card-small {
        min-height: 190px;
    }

    .home.blog .ct-sidebar,
    .blog.home .ct-sidebar {
        margin-top: 18px;
    }
}

@media (max-width: 689.98px) {
    .pk-home-hero {
        gap: 16px;
        margin-bottom: 34px;
    }

    .pk-home-hero-side {
        gap: 16px;
    }

    .pk-hero-card,
    .pk-hero-card-large,
    .pk-hero-card-small {
        min-height: 235px;
    }

    .pk-hero-card-large {
        min-height: 315px;
    }

    .pk-hero-card h2 {
        font-size: clamp(24px, 8vw, 34px);
    }

    .pk-hero-card-small h2 {
        font-size: 23px;
    }
}

.pk-home-hero-section {
    width: 100%;
    padding: 60px 0 42px;
    background: #ffffff;
}

.pk-home-hero-section .ct-container {
    display: block;
}

.pk-home-hero-section + .ct-container {
    padding-top: 12px;
}

.pk-home-hero {
    grid-column: auto;
    margin-bottom: 0;
}

.home.blog .ct-sidebar,
.blog.home .ct-sidebar {
    margin-top: 42px;
}

html[data-dracula-scheme="dark"] .pk-home-hero-section {
    background: #181a1b;
}

@media (max-width: 999.98px) {
    .pk-home-hero-section {
        padding: 44px 0 34px;
    }
}

@media (max-width: 689.98px) {
    .pk-home-hero-section {
        padding: 34px 0 26px;
    }
}

/* Larger home hero cards after full-section placement. */
.pk-home-hero-section {
    padding-top: 64px;
    padding-bottom: 52px;
}

.pk-home-hero {
    gap: 22px;
}

.pk-home-hero-side {
    gap: 22px;
}

.pk-hero-card-large {
    min-height: 430px;
}

.pk-hero-card-small {
    min-height: 204px;
}

.pk-hero-card h2 {
    font-size: clamp(32px, 3.8vw, 56px);
    line-height: 0.98;
}

.pk-hero-card-small h2 {
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.05;
}

.pk-hero-card p {
    font-size: 16px;
    max-width: 600px;
}

@media (max-width: 999.98px) {
    .pk-hero-card-large {
        min-height: 390px;
    }

    .pk-hero-card-small {
        min-height: 220px;
    }
}

@media (max-width: 689.98px) {
    .pk-home-hero-section {
        padding-top: 38px;
        padding-bottom: 34px;
    }

    .pk-hero-card-large {
        min-height: 380px;
    }

    .pk-hero-card-small {
        min-height: 270px;
    }
}

/* Home feature grid: 8 larger cards under the top hero, using the theme typography. */
.pk-home-hero-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.pk-home-hero {
    margin-bottom: 34px;
}

.pk-home-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.pk-feature-card {
    min-height: 410px;
    border-radius: 8px;
    background: #00545b;
    overflow: hidden;
}

.pk-feature-card a {
    display: flex;
    min-height: inherit;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(32px, 4vw, 58px);
    color: #ffffff;
    text-decoration: none;
}

.pk-feature-card .pk-hero-badges {
    position: static;
    margin-bottom: 8px;
}

.pk-feature-card h2 {
    max-width: 700px;
    margin: 0;
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(30px, 3vw, 46px);
    font-style: inherit;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
    text-transform: none;
}

.pk-feature-card p {
    max-width: 680px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: clamp(19px, 1.55vw, 26px);
    line-height: 1.55;
}

.pk-feature-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: auto;
    color: rgba(255, 255, 255, 0.66);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pk-feature-meta span:not(:last-child)::after {
    content: "/";
    margin-left: 18px;
    opacity: 0.8;
}

.pk-feature-card:hover,
.pk-feature-card:focus-within {
    background: #00636b;
}

html[data-dracula-scheme="dark"] .pk-feature-card {
    background: #064c52;
}

html[data-dracula-scheme="dark"] .pk-feature-card:hover,
html[data-dracula-scheme="dark"] .pk-feature-card:focus-within {
    background: #075b62;
}

@media (max-width: 999.98px) {
    .pk-home-hero-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .pk-home-feature-grid {
        gap: 22px;
    }

    .pk-feature-card {
        min-height: 360px;
    }

    .pk-feature-card a {
        padding: 34px;
    }
}

@media (max-width: 689.98px) {
    .pk-home-hero-section {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .pk-home-feature-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pk-feature-card {
        min-height: 320px;
    }

    .pk-feature-card a {
        padding: 28px;
    }

    .pk-feature-card h2 {
        font-size: clamp(25px, 7vw, 34px);
    }

    .pk-feature-card p {
        font-size: 18px;
    }
}

/* Match the theme metadata style on the top hero cards only. */
.pk-hero-meta-wrap {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 18px;
}

.pk-hero-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 999px;
    object-fit: cover;
}

.pk-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.68);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
    text-transform: uppercase;
}

.pk-hero-meta span:not(:last-child)::after {
    content: "/";
    margin-left: 14px;
    opacity: 0.85;
}

.pk-hero-card-small .pk-hero-avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
}

.pk-hero-card-small .pk-hero-meta {
    font-size: 11px;
    gap: 5px 10px;
}

.pk-hero-card-small .pk-hero-meta span:not(:last-child)::after {
    margin-left: 10px;
}

@media (max-width: 689.98px) {
    .pk-hero-meta-wrap {
        align-items: flex-start;
        gap: 12px;
    }

    .pk-hero-avatar,
    .pk-hero-card-small .pk-hero-avatar {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .pk-hero-card-small .pk-hero-meta,
    .pk-hero-meta {
        font-size: 12px;
    }
}

/* Make the top hero cards match the site's original teal card UI. */
.pk-home-hero-section {
    padding-top: 58px;
    padding-bottom: 34px;
    background: #ffffff;
}

.pk-home-hero {
    gap: 28px;
    margin-bottom: 0;
}

.pk-home-hero-side {
    gap: 28px;
}

.pk-hero-card {
    border-radius: 8px;
    background: #00545b;
    box-shadow: 0 16px 30px rgba(0, 84, 91, 0.08);
    overflow: hidden;
}

.pk-hero-card:hover,
.pk-hero-card:focus-within {
    background: #00636b;
}

.pk-hero-card img,
.pk-hero-shade {
    display: none;
}

.pk-hero-card a {
    display: flex;
    min-height: inherit;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(34px, 4vw, 58px);
    color: #ffffff;
    text-decoration: none;
}

.pk-hero-content,
.pk-hero-card-small .pk-hero-content {
    position: static;
    inset: auto;
    display: flex;
    min-height: inherit;
    flex-direction: column;
}

.pk-hero-card .pk-hero-badges {
    position: static;
    margin-bottom: 28px;
}

.pk-hero-card-large {
    min-height: 430px;
}

.pk-hero-card-small {
    min-height: 201px;
}

.pk-hero-card h2 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(34px, 3.5vw, 54px);
    font-style: inherit;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
    text-transform: none;
}

.pk-hero-card-small h2 {
    max-width: 430px;
    font-size: clamp(25px, 2.1vw, 34px);
    line-height: 1.12;
}

.pk-hero-card p {
    max-width: 680px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: clamp(18px, 1.35vw, 23px);
    line-height: 1.55;
}

.pk-hero-meta-wrap {
    margin-top: auto;
    padding-top: 42px;
}

.pk-hero-card-small .pk-hero-meta-wrap {
    padding-top: 26px;
}

html[data-dracula-scheme="dark"] .pk-home-hero-section {
    background: #181a1b;
}

html[data-dracula-scheme="dark"] .pk-hero-card {
    background: #064c52;
}

html[data-dracula-scheme="dark"] .pk-hero-card:hover,
html[data-dracula-scheme="dark"] .pk-hero-card:focus-within {
    background: #075b62;
}

@media (max-width: 999.98px) {
    .pk-home-hero-section {
        padding-top: 46px;
        padding-bottom: 28px;
    }

    .pk-home-hero,
    .pk-home-hero-side {
        gap: 22px;
    }

    .pk-hero-card-large {
        min-height: 390px;
    }

    .pk-hero-card-small {
        min-height: 245px;
    }

    .pk-hero-card a {
        padding: 38px;
    }
}

@media (max-width: 689.98px) {
    .pk-home-hero-section {
        padding-top: 34px;
        padding-bottom: 24px;
    }

    .pk-home-hero,
    .pk-home-hero-side {
        gap: 18px;
    }

    .pk-hero-card,
    .pk-hero-card-large,
    .pk-hero-card-small {
        min-height: 320px;
    }

    .pk-hero-card a {
        padding: 28px;
    }

    .pk-hero-card .pk-hero-badges {
        margin-bottom: 22px;
    }

    .pk-hero-card h2,
    .pk-hero-card-small h2 {
        font-size: clamp(27px, 7.4vw, 36px);
        line-height: 1.1;
    }

    .pk-hero-card p {
        font-size: 18px;
    }

    .pk-hero-meta-wrap,
    .pk-hero-card-small .pk-hero-meta-wrap {
        padding-top: 30px;
    }
}

/* Final homepage hero alignment: uniform teal cards and tighter handoff to posts. */
.pk-home-hero-section {
    padding-top: 42px !important;
    padding-bottom: 24px !important;
    background: #ffffff !important;
}

.pk-home-hero-section + .ct-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.pk-home-hero {
    gap: 28px !important;
    margin-bottom: 0 !important;
}

.pk-home-hero-side {
    gap: 28px !important;
}

.pk-hero-card {
    border-radius: 8px !important;
    background: #00545b !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.pk-hero-card:hover,
.pk-hero-card:focus-within {
    background: #00636b !important;
}

.pk-hero-card > a {
    display: flex !important;
    min-height: inherit !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: clamp(34px, 4vw, 58px) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.pk-hero-card img,
.pk-hero-card .pk-hero-shade {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.pk-hero-content,
.pk-hero-card-small .pk-hero-content {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: flex !important;
    min-height: inherit !important;
    flex-direction: column !important;
}

.pk-hero-card .pk-hero-badges {
    position: static !important;
    margin-bottom: 28px !important;
}

.pk-hero-card-large {
    min-height: 430px !important;
}

.pk-hero-card-small {
    min-height: 201px !important;
}

.pk-hero-card h2,
.pk-hero-card-small h2 {
    margin: 0 !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-style: inherit !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.pk-hero-card h2 {
    max-width: 780px !important;
    font-size: clamp(34px, 3.5vw, 54px) !important;
    line-height: 1.08 !important;
}

.pk-hero-card-small h2 {
    max-width: 430px !important;
    font-size: clamp(25px, 2.1vw, 34px) !important;
    line-height: 1.12 !important;
}

.pk-hero-card p {
    max-width: 680px !important;
    margin: 22px 0 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: inherit !important;
    font-size: clamp(18px, 1.35vw, 23px) !important;
    line-height: 1.55 !important;
}

.pk-hero-meta-wrap {
    margin-top: auto !important;
    padding-top: 42px !important;
}

.pk-hero-card-small .pk-hero-meta-wrap {
    padding-top: 26px !important;
}

.home.blog .ct-sidebar,
.blog.home .ct-sidebar {
    margin-top: 0 !important;
}

@media (max-width: 999.98px) {
    .pk-home-hero-section {
        padding-top: 34px !important;
        padding-bottom: 22px !important;
    }

    .pk-home-hero,
    .pk-home-hero-side {
        gap: 22px !important;
    }

    .pk-hero-card-large {
        min-height: 390px !important;
    }

    .pk-hero-card-small {
        min-height: 245px !important;
    }

    .pk-hero-card > a {
        padding: 38px !important;
    }
}

@media (max-width: 689.98px) {
    .pk-home-hero-section {
        padding-top: 28px !important;
        padding-bottom: 18px !important;
    }

    .pk-home-hero,
    .pk-home-hero-side {
        gap: 18px !important;
    }

    .pk-hero-card,
    .pk-hero-card-large,
    .pk-hero-card-small {
        min-height: 320px !important;
    }

    .pk-hero-card > a {
        padding: 28px !important;
    }

    .pk-hero-card .pk-hero-badges {
        margin-bottom: 22px !important;
    }

    .pk-hero-card h2,
    .pk-hero-card-small h2 {
        font-size: clamp(27px, 7.4vw, 36px) !important;
        line-height: 1.1 !important;
    }

    .pk-hero-card p {
        font-size: 18px !important;
    }

    .pk-hero-meta-wrap,
    .pk-hero-card-small .pk-hero-meta-wrap {
        padding-top: 30px !important;
    }
}

/* Tighten the handoff from the custom hero to the normal posts/sidebar layout. */
.home.blog .pk-home-hero-section,
.blog.home .pk-home-hero-section {
    padding-bottom: 12px !important;
}

.home.blog #main > .ct-container,
.blog.home #main > .ct-container {
    padding-top: 12px !important;
}

@media (max-width: 689.98px) {
    .home.blog .pk-home-hero-section,
    .blog.home .pk-home-hero-section {
        padding-bottom: 10px !important;
    }

    .home.blog #main > .ct-container,
    .blog.home #main > .ct-container {
        padding-top: 10px !important;
    }
}

/* Dark-mode polish across homepage cards, sidebar, cookie bar, and footer. */
html[data-dracula-scheme="dark"] body {
    background: #181a1b !important;
    color: #c8d5df !important;
}

html[data-dracula-scheme="dark"] .entries article {
    background-color: #00545b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-dracula-scheme="dark"] .entries article:hover,
html[data-dracula-scheme="dark"] .entries article:focus-within {
    background-color: #00636b !important;
}

html[data-dracula-scheme="dark"] .entries article img,
html[data-dracula-scheme="dark"] .entries article picture,
html[data-dracula-scheme="dark"] .entries article .ct-media-container,
html[data-dracula-scheme="dark"] .entries article .boundless-image {
    opacity: 0.42 !important;
    filter: none !important;
}

html[data-dracula-scheme="dark"] .entries article .entry-title,
html[data-dracula-scheme="dark"] .entries article .entry-title a,
html[data-dracula-scheme="dark"] .entries article h2,
html[data-dracula-scheme="dark"] .entries article h2 a,
html[data-dracula-scheme="dark"] .entries article h3,
html[data-dracula-scheme="dark"] .entries article h3 a {
    color: #ffffff !important;
    text-shadow: none !important;
}

html[data-dracula-scheme="dark"] .entries article .entry-excerpt,
html[data-dracula-scheme="dark"] .entries article .entry-excerpt p,
html[data-dracula-scheme="dark"] .entries article .entry-meta,
html[data-dracula-scheme="dark"] .entries article .entry-meta a {
    color: rgba(255, 255, 255, 0.78) !important;
}

html[data-dracula-scheme="dark"] .ct-sidebar {
    background: #202325 !important;
    color: #c8d5df !important;
}

html[data-dracula-scheme="dark"] .ct-sidebar a,
html[data-dracula-scheme="dark"] .ct-sidebar h1,
html[data-dracula-scheme="dark"] .ct-sidebar h2,
html[data-dracula-scheme="dark"] .ct-sidebar h3,
html[data-dracula-scheme="dark"] .ct-sidebar h4,
html[data-dracula-scheme="dark"] .ct-sidebar h5,
html[data-dracula-scheme="dark"] .ct-sidebar h6 {
    color: #eef4f6 !important;
}

html[data-dracula-scheme="dark"] input,
html[data-dracula-scheme="dark"] textarea,
html[data-dracula-scheme="dark"] select {
    background: #181a1b !important;
    border-color: #6e8796 !important;
    color: #eef4f6 !important;
}

html[data-dracula-scheme="dark"] input::placeholder,
html[data-dracula-scheme="dark"] textarea::placeholder {
    color: #9fb0bb !important;
}

html[data-dracula-scheme="dark"] #cookie-notice,
html[data-dracula-scheme="dark"] .cookie-notice-container,
html[data-dracula-scheme="dark"] .cn-position-bottom {
    background: #00545b !important;
    color: #ffffff !important;
}

html[data-dracula-scheme="dark"] #cookie-notice a,
html[data-dracula-scheme="dark"] .cookie-notice-container a {
    color: #ffd21a !important;
}

html[data-dracula-scheme="dark"] #footer,
html[data-dracula-scheme="dark"] footer {
    background-color: #202325 !important;
    color: #c8d5df !important;
}

@media (max-width: 689.98px) {
    html[data-dracula-scheme="dark"] .entries article img,
    html[data-dracula-scheme="dark"] .entries article picture,
    html[data-dracula-scheme="dark"] .entries article .ct-media-container,
    html[data-dracula-scheme="dark"] .entries article .boundless-image {
        opacity: 0.34 !important;
    }
}

/* Keep dark-mode post cards readable even when scroll animations have not fired yet. */
html[data-dracula-scheme="dark"] .entries article,
html[data-dracula-scheme="dark"] .entries article.entry-card {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Hero cards should mirror the theme post-card UI. */
.pk-home-hero-section {
    padding-top: 42px !important;
    padding-bottom: 24px !important;
    background: #ffffff !important;
}

.pk-home-hero-section + #main > .ct-container,
.home.blog #main > .ct-container,
.blog.home #main > .ct-container {
    padding-top: 12px !important;
}

.pk-home-hero,
.pk-home-hero-side {
    gap: 28px !important;
}

.pk-hero-card {
    position: relative !important;
    border: 1px solid rgba(0, 84, 91, 0.28) !important;
    border-radius: 8px !important;
    background: #00545b !important;
    box-shadow: 0 12px 24px rgba(0, 84, 91, 0.08) !important;
    overflow: hidden !important;
}

.pk-hero-card > a {
    position: relative !important;
    display: flex !important;
    min-height: inherit !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: clamp(42px, 5vw, 72px) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    z-index: 1 !important;
}

.pk-hero-card img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    z-index: 0 !important;
}

.pk-hero-card .pk-hero-shade {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.62) 52%, rgba(0, 0, 0, 0.28) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 84, 91, 0.34) 100%) !important;
    z-index: 1 !important;
}

.pk-hero-card:not(:has(img)) .pk-hero-shade {
    background: linear-gradient(135deg, rgba(0, 84, 91, 0.98), rgba(0, 58, 64, 0.98)) !important;
}

.pk-hero-content,
.pk-hero-card-small .pk-hero-content {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: flex !important;
    min-height: auto !important;
    max-width: 620px !important;
    flex-direction: column !important;
    z-index: 2 !important;
}

.pk-hero-card .pk-hero-badges {
    position: static !important;
    margin-bottom: 28px !important;
}

.pk-hero-card-large {
    min-height: 520px !important;
}

.pk-hero-card-small {
    min-height: 246px !important;
}

.pk-hero-card h2,
.pk-hero-card-small h2 {
    margin: 0 !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-style: inherit !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-shadow: none !important;
}

.pk-hero-card h2 {
    font-size: clamp(38px, 3.8vw, 58px) !important;
    line-height: 1.08 !important;
}

.pk-hero-card-small h2 {
    font-size: clamp(24px, 2vw, 32px) !important;
    line-height: 1.12 !important;
}

.pk-hero-card p {
    max-width: 560px !important;
    margin: 24px 0 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-family: inherit !important;
    font-size: clamp(19px, 1.45vw, 25px) !important;
    line-height: 1.55 !important;
}

.pk-hero-card-small p {
    margin-top: 14px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

.pk-hero-meta-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-top: 52px !important;
    padding-top: 0 !important;
}

.pk-hero-card-small .pk-hero-meta-wrap {
    margin-top: 24px !important;
    padding-top: 0 !important;
}

.pk-hero-avatar {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
    border-radius: 999px !important;
    object-fit: cover !important;
}

.pk-hero-card-small .pk-hero-avatar {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
}

.pk-hero-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 7px 14px !important;
    margin-top: 0 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.45 !important;
    text-transform: uppercase !important;
}

.pk-hero-card-small .pk-hero-meta {
    font-size: 11px !important;
    gap: 4px 9px !important;
}

.pk-hero-meta span:not(:last-child)::after {
    content: "/" !important;
    margin-left: 14px !important;
    opacity: 0.85 !important;
}

.pk-hero-card-small .pk-hero-meta span:not(:last-child)::after {
    margin-left: 9px !important;
}

html[data-dracula-scheme="dark"] .pk-home-hero-section {
    background: #131516 !important;
}

html[data-dracula-scheme="dark"] .pk-hero-card {
    background: #004349 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 999.98px) {
    .pk-hero-card-large {
        min-height: 460px !important;
    }

    .pk-hero-card-small {
        min-height: 270px !important;
    }

    .pk-hero-card > a {
        padding: 38px !important;
    }
}

@media (max-width: 689.98px) {
    .pk-home-hero-section {
        padding-top: 28px !important;
        padding-bottom: 18px !important;
    }

    .pk-home-hero,
    .pk-home-hero-side {
        gap: 18px !important;
    }

    .pk-hero-card,
    .pk-hero-card-large,
    .pk-hero-card-small {
        min-height: 390px !important;
    }

    .pk-hero-card > a {
        padding: 28px !important;
    }

    .pk-hero-card .pk-hero-badges {
        margin-bottom: 22px !important;
    }

    .pk-hero-card h2,
    .pk-hero-card-small h2 {
        font-size: clamp(29px, 8vw, 38px) !important;
        line-height: 1.1 !important;
    }

    .pk-hero-card p,
    .pk-hero-card-small p {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

    .pk-hero-meta-wrap,
    .pk-hero-card-small .pk-hero-meta-wrap {
        margin-top: 32px !important;
    }

    .pk-hero-avatar,
    .pk-hero-card-small .pk-hero-avatar {
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px !important;
    }

    .pk-hero-card-small .pk-hero-meta,
    .pk-hero-meta {
        font-size: 12px !important;
    }
}

/* Fix hero image targeting: background image and author avatar are different things. */
.pk-hero-card img {
    position: static !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}

.pk-hero-card > a > img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 0 !important;
}

.pk-hero-avatar,
.pk-hero-card .pk-hero-avatar,
.pk-hero-card-small .pk-hero-avatar {
    position: static !important;
    display: block !important;
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
    border-radius: 999px !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: auto !important;
}

.pk-hero-card-small .pk-hero-avatar {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
}

.pk-hero-card > a > .pk-hero-shade {
    z-index: 1 !important;
}

.pk-hero-content {
    z-index: 2 !important;
}

.entries article,
.entries article.entry-card {
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 689.98px) {
    .pk-hero-avatar,
    .pk-hero-card .pk-hero-avatar,
    .pk-hero-card-small .pk-hero-avatar {
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px !important;
    }
}

/* Site upgrades: homepage mood links, single-post polish, forms, search, and author pages. */
.pk-section-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: #b99600;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pk-mood-strip {
    padding: 10px 0 28px;
    background: #ffffff;
}

.pk-mood-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px;
    border-radius: 8px;
    background: #f3f6f7;
}

.pk-mood-panel h2,
.pk-archive-intro h1,
.pk-author-archive h1,
.pk-form-intro h1,
.pk-single-enhancements h2 {
    margin: 0;
    letter-spacing: 0;
}

.pk-mood-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    flex: 1;
    max-width: 760px;
}

.pk-mood-links a {
    display: flex;
    min-height: 84px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    border-radius: 8px;
    background: #00545b;
    color: #ffffff;
    text-decoration: none;
}

.pk-mood-links span {
    font-weight: 800;
}

.pk-mood-links small {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.pk-single-enhancements {
    margin-top: 56px;
}

.pk-author-box,
.pk-newsletter-cta,
.pk-submit-cta,
.pk-archive-intro,
.pk-author-archive {
    border-radius: 8px;
    background: #f3f6f7;
}

.pk-author-box,
.pk-newsletter-cta,
.pk-submit-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 28px 0;
    padding: 28px;
}

.pk-author-box {
    justify-content: flex-start;
}

.pk-author-avatar {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border-radius: 999px;
    object-fit: cover;
}

.pk-author-box p,
.pk-newsletter-cta p,
.pk-submit-cta p,
.pk-archive-intro p,
.pk-author-archive p,
.pk-form-intro p {
    margin: 10px 0 0;
}

.pk-author-box a,
.pk-cta-button,
.pk-submission-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #ffd21a;
    color: #00363b;
    font-weight: 800;
    text-decoration: none;
}

.pk-related-posts {
    margin: 42px 0;
}

.pk-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.pk-related-card {
    min-height: 260px;
    border-radius: 8px;
    overflow: hidden;
    background: #00545b;
}

.pk-related-card a {
    position: relative;
    display: flex;
    min-height: inherit;
    align-items: flex-end;
    padding: 22px;
    color: #ffffff;
    text-decoration: none;
}

.pk-related-card img,
.pk-related-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pk-related-shade {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 84, 91, 0.32));
}

.pk-related-card div {
    position: relative;
    z-index: 1;
}

.pk-related-card h3 {
    margin: 12px 0 8px;
    color: #ffffff;
    font-size: 22px;
}

.pk-related-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.pk-archive-intro,
.pk-author-archive {
    margin-bottom: 34px;
    padding: 44px 0;
}

.pk-archive-intro .ct-container,
.pk-author-archive .ct-container {
    display: block;
}

.pk-author-archive .ct-container {
    display: flex;
    align-items: center;
    gap: 22px;
}

.pk-submission-page {
    max-width: 820px;
    margin: 0 auto;
}

.pk-form-success {
    margin: 24px 0;
    padding: 16px 18px;
    border-radius: 8px;
    background: #e7f8ef;
    color: #145c32;
    font-weight: 800;
}

.pk-submission-form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.pk-submission-form label {
    display: grid;
    gap: 8px;
    font-weight: 800;
}

.pk-submission-form input,
.pk-submission-form select,
.pk-submission-form textarea {
    width: 100%;
    border-radius: 6px;
}

.pk-honeypot {
    position: absolute;
    left: -9999px;
}

html[data-dracula-scheme="dark"] .pk-mood-strip,
html[data-dracula-scheme="dark"] .pk-archive-intro,
html[data-dracula-scheme="dark"] .pk-author-archive {
    background: #131516;
}

html[data-dracula-scheme="dark"] .pk-mood-panel,
html[data-dracula-scheme="dark"] .pk-author-box,
html[data-dracula-scheme="dark"] .pk-newsletter-cta,
html[data-dracula-scheme="dark"] .pk-submit-cta {
    background: #202325;
    color: #c8d5df;
}

html[data-dracula-scheme="dark"] .pk-mood-links a,
html[data-dracula-scheme="dark"] .pk-related-card {
    background: #004349;
}

@media (max-width: 999.98px) {
    .pk-mood-panel,
    .pk-author-box,
    .pk-newsletter-cta,
    .pk-submit-cta,
    .pk-author-archive .ct-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .pk-mood-links,
    .pk-related-grid {
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
}

@media (max-width: 689.98px) {
    .pk-mood-links,
    .pk-related-grid {
        grid-template-columns: 1fr;
    }

    .pk-author-box,
    .pk-newsletter-cta,
    .pk-submit-cta,
    .pk-mood-panel {
        padding: 22px;
    }
}

/* Refined homepage hero: tighter, more intentional, and more uniform. */
.pk-home-hero-section {
    padding-top: 34px !important;
    padding-bottom: 18px !important;
}

.pk-home-hero-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.pk-home-hero-heading h2 {
    margin: 0;
    color: #1f3445;
    font-size: clamp(28px, 2.4vw, 42px);
    line-height: 1.05;
    letter-spacing: 0;
}

.pk-home-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr) !important;
    align-items: stretch !important;
    gap: 22px !important;
}

.pk-home-hero-side {
    display: grid !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 22px !important;
}

.pk-home-hero-main,
.pk-home-hero-side {
    min-height: 100% !important;
}

.pk-hero-card-large,
.pk-hero-card-small {
    min-height: auto !important;
    height: 100% !important;
}

.pk-home-hero-main .pk-hero-card {
    min-height: 470px !important;
}

.pk-home-hero-side .pk-hero-card {
    min-height: 224px !important;
}

.pk-hero-card {
    border-color: rgba(0, 84, 91, 0.2) !important;
    box-shadow: 0 18px 38px rgba(0, 35, 38, 0.08) !important;
}

.pk-hero-card > a {
    justify-content: flex-end !important;
    padding: clamp(30px, 4vw, 54px) !important;
}

.pk-home-hero-main .pk-hero-content {
    max-width: 610px !important;
}

.pk-home-hero-side .pk-hero-content {
    max-width: 420px !important;
}

.pk-hero-card .pk-hero-badges {
    margin-bottom: 20px !important;
}

.pk-home-hero-main .pk-hero-card h2 {
    font-size: clamp(38px, 3.5vw, 56px) !important;
    line-height: 1.04 !important;
}

.pk-home-hero-side .pk-hero-card h2 {
    font-size: clamp(23px, 1.8vw, 30px) !important;
    line-height: 1.08 !important;
}

.pk-hero-card p {
    margin-top: 16px !important;
}

.pk-home-hero-side .pk-hero-card p {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    font-size: 14px !important;
}

.pk-hero-meta-wrap {
    margin-top: 30px !important;
}

.pk-home-hero-side .pk-hero-meta-wrap {
    margin-top: 18px !important;
}

.pk-home-hero-main .pk-hero-card:not(:has(> a > img)) {
    background:
        radial-gradient(circle at 82% 22%, rgba(255, 210, 26, 0.16), transparent 28%),
        radial-gradient(circle at 12% 85%, rgba(255, 255, 255, 0.12), transparent 34%),
        #00545b !important;
}

.pk-home-hero-main .pk-hero-card:not(:has(> a > img)) .pk-hero-shade {
    background:
        linear-gradient(90deg, rgba(0, 38, 42, 0.9), rgba(0, 84, 91, 0.78)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 16px) !important;
}

.pk-home-hero-section + #main > .ct-container,
.home.blog #main > .ct-container,
.blog.home #main > .ct-container {
    padding-top: 14px !important;
}

html[data-dracula-scheme="dark"] .pk-home-hero-heading h2 {
    color: #eef4f6;
}

@media (max-width: 999.98px) {
    .pk-home-hero {
        grid-template-columns: 1fr !important;
    }

    .pk-home-hero-side {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto !important;
    }

    .pk-home-hero-main .pk-hero-card,
    .pk-home-hero-side .pk-hero-card {
        min-height: 340px !important;
    }
}

@media (max-width: 689.98px) {
    .pk-home-hero-section {
        padding-top: 24px !important;
    }

    .pk-home-hero-heading {
        align-items: start;
        flex-direction: column;
        margin-bottom: 14px;
    }

    .pk-home-hero-side {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .pk-home-hero-main .pk-hero-card,
    .pk-home-hero-side .pk-hero-card,
    .pk-hero-card,
    .pk-hero-card-large,
    .pk-hero-card-small {
        min-height: 360px !important;
    }

    .pk-home-hero-main .pk-hero-card h2,
    .pk-home-hero-side .pk-hero-card h2 {
        font-size: clamp(28px, 8vw, 38px) !important;
    }
}

/* Final hero polish: fill cards correctly and remove dead space. */
.pk-hero-card > a {
    height: 100% !important;
    min-height: 100% !important;
}

.pk-home-hero-main .pk-hero-card {
    min-height: 500px !important;
}

.pk-home-hero-side .pk-hero-card {
    min-height: 239px !important;
}

.pk-home-hero-main .pk-hero-card:not(:has(> a > img)) > a {
    justify-content: center !important;
}

.pk-home-hero-main .pk-hero-card:not(:has(> a > img)) .pk-hero-content {
    max-width: 660px !important;
}

.pk-home-hero-main .pk-hero-card:not(:has(> a > img))::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 340px;
    height: 340px;
    border-radius: 999px;
    background: rgba(255, 210, 26, 0.08);
    pointer-events: none;
    z-index: 1;
}

.pk-home-hero-main .pk-hero-card:not(:has(> a > img))::before {
    content: "Poetic Koncept";
    position: absolute;
    right: 34px;
    bottom: 30px;
    max-width: 220px;
    color: rgba(255, 255, 255, 0.08);
    font-size: 40px;
    font-weight: 800;
    line-height: 0.95;
    pointer-events: none;
    z-index: 1;
}

.pk-home-hero-main .pk-hero-card:not(:has(> a > img)) .pk-hero-shade {
    background:
        linear-gradient(90deg, rgba(0, 32, 36, 0.9), rgba(0, 84, 91, 0.62)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 18px) !important;
}

.pk-home-hero-heading {
    margin-bottom: 16px !important;
}

.pk-home-hero-heading h2 {
    font-size: clamp(26px, 2.1vw, 36px) !important;
}

.pk-home-hero-section + #main > .ct-container,
.home.blog #main > .ct-container,
.blog.home #main > .ct-container {
    padding-top: 8px !important;
}

@media (max-width: 999.98px) {
    .pk-home-hero-main .pk-hero-card,
    .pk-home-hero-side .pk-hero-card {
        min-height: 340px !important;
    }

    .pk-hero-card > a {
        height: 100% !important;
    }
}

@media (max-width: 689.98px) {
    .pk-home-hero-main .pk-hero-card,
    .pk-home-hero-side .pk-hero-card,
    .pk-hero-card,
    .pk-hero-card-large,
    .pk-hero-card-small {
        min-height: 340px !important;
    }

    .pk-home-hero-heading h2 {
        font-size: 28px !important;
    }
}

/* Cleaner hero heading: compact, intentional, not stretched across the page. */
.pk-home-hero-heading {
    display: block !important;
    max-width: 780px !important;
    margin: 0 0 18px !important;
}

.pk-home-hero-heading .pk-section-kicker {
    margin-bottom: 8px !important;
}

.pk-home-hero-heading h2 {
    max-width: 620px !important;
    margin: 0 !important;
    color: #1f3445 !important;
    font-size: clamp(30px, 2.6vw, 44px) !important;
    line-height: 1.06 !important;
    letter-spacing: 0 !important;
}

html[data-dracula-scheme="dark"] .pk-home-hero-heading h2 {
    color: #eef4f6 !important;
}

@media (max-width: 689.98px) {
    .pk-home-hero-heading {
        margin-bottom: 14px !important;
    }

    .pk-home-hero-heading h2 {
        font-size: 30px !important;
    }
}

/* Refined mood explorer: cleaner, richer, and closer to the site style. */
.pk-mood-strip {
    padding: 20px 0 34px !important;
    background: #ffffff !important;
}

.pk-mood-panel {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr) !important;
    align-items: stretch !important;
    gap: 28px !important;
    padding: 34px !important;
    border-radius: 8px !important;
    background:
        linear-gradient(135deg, #f6f8f9 0%, #eef3f4 100%) !important;
    overflow: hidden !important;
}

.pk-mood-panel::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    background: rgba(0, 84, 91, 0.06);
    pointer-events: none;
}

.pk-mood-panel > div:first-child {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pk-mood-panel h2 {
    max-width: 420px;
    color: #1f3445;
    font-size: clamp(34px, 3vw, 54px);
    line-height: 0.98;
}

.pk-mood-links {
    position: relative;
    z-index: 1;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    max-width: none !important;
}

.pk-mood-links a {
    position: relative;
    min-height: 142px !important;
    justify-content: space-between !important;
    padding: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(145deg, rgba(0, 98, 106, 0.98), rgba(0, 75, 82, 1)) !important;
    box-shadow: 0 14px 28px rgba(0, 84, 91, 0.08);
    overflow: hidden;
}

.pk-mood-links a::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -50px;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    background: rgba(255, 210, 26, 0.12);
    transition: transform 180ms ease, opacity 180ms ease;
}

.pk-mood-links a:hover,
.pk-mood-links a:focus-visible {
    transform: translateY(-2px);
    background:
        linear-gradient(145deg, rgba(0, 111, 120, 1), rgba(0, 84, 91, 1)) !important;
}

.pk-mood-links a:hover::after,
.pk-mood-links a:focus-visible::after {
    transform: scale(1.12);
    opacity: 0.9;
}

.pk-mood-links span {
    position: relative;
    z-index: 1;
    max-width: 160px;
    color: #ffffff;
    font-size: 21px;
    line-height: 1.12;
}

.pk-mood-links small {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.74) !important;
    font-size: 15px;
}

html[data-dracula-scheme="dark"] .pk-mood-strip {
    background: #131516 !important;
}

html[data-dracula-scheme="dark"] .pk-mood-panel {
    background: linear-gradient(135deg, #202325 0%, #181b1c 100%) !important;
}

html[data-dracula-scheme="dark"] .pk-mood-panel h2 {
    color: #eef4f6 !important;
}

@media (max-width: 999.98px) {
    .pk-mood-panel {
        grid-template-columns: 1fr !important;
    }

    .pk-mood-links {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 689.98px) {
    .pk-mood-panel {
        padding: 24px !important;
    }

    .pk-mood-panel h2 {
        font-size: 34px;
    }

    .pk-mood-links {
        grid-template-columns: 1fr !important;
    }

    .pk-mood-links a {
        min-height: 110px !important;
    }
}

/* Mood cards: yellow post counts, cleaner card face. */
.pk-mood-links small {
    color: #ffd21a !important;
}

.pk-mood-links a::after,
.pk-mood-panel::after {
    display: none !important;
    content: none !important;
}

.pk-mood-links a {
    background: #00545b !important;
}

.pk-mood-links a:hover,
.pk-mood-links a:focus-visible {
    background: #00636b !important;
}

html[data-dracula-scheme="dark"] .pk-mood-links small {
    color: #ffd21a !important;
}

/* Writer registration and portal. */
.pk-writer-portal {
    max-width: 1040px;
    margin: 0 auto;
}

.pk-writer-hero {
    padding: clamp(34px, 6vw, 72px);
    border-radius: 8px;
    background: linear-gradient(135deg, #00545b, #003d44);
    color: #ffffff;
}

.pk-writer-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 0.98;
    letter-spacing: 0;
}

.pk-writer-hero p {
    max-width: 680px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.6;
}

.pk-writer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.pk-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 6px;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.pk-writer-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.pk-writer-steps article {
    padding: 24px;
    border-radius: 8px;
    background: #f3f6f7;
}

.pk-writer-steps span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ffd21a;
    color: #00363b;
    font-weight: 900;
}

.pk-writer-steps h2 {
    margin: 16px 0 8px;
}

html[data-dracula-scheme="dark"] .pk-writer-steps article {
    background: #202325;
    color: #c8d5df;
}

@media (max-width: 689.98px) {
    .pk-writer-steps {
        grid-template-columns: 1fr;
    }
}

/* Move comments visually into the reader flow and add writer footer area. */
.single-post #comments.pk-comments-moved,
.single-post #comments {
    margin-top: 42px;
    margin-bottom: 42px;
}

.pk-footer-writer-strip {
    padding: 36px 0;
    background: #00545b;
    color: #ffffff;
}

.pk-footer-writer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    width: min(1296px, calc(100% - 48px));
    margin: 0 auto;
}

.pk-footer-writer-strip span {
    color: #ffd21a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pk-footer-writer-strip h2 {
    max-width: 640px;
    margin: 8px 0 0;
    color: #ffffff;
    font-size: clamp(26px, 2.6vw, 42px);
    line-height: 1.04;
    letter-spacing: 0;
}

.pk-footer-writer-strip p {
    max-width: 620px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.pk-footer-writer-strip nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.pk-footer-writer-strip a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.pk-footer-writer-strip a:hover,
.pk-footer-writer-strip a:focus-visible {
    background: #ffd21a;
    color: #00363b;
}

html[data-dracula-scheme="dark"] .pk-footer-writer-strip {
    background: #004349;
}

@media (max-width: 900px) {
    .pk-footer-writer-inner {
        grid-template-columns: 1fr;
    }

    .pk-footer-writer-strip nav {
        justify-content: flex-start;
    }
}

/* Place the comment form after author profile and before related posts. */
.single-post #comments.pk-comments-before-related {
    margin-top: 34px !important;
    margin-bottom: 42px !important;
}

.single-post .pk-author-box + #comments.pk-comments-before-related {
    margin-top: 30px !important;
}

/* Fallback for post cards without a featured image: keep titles readable. */
.entries article:not(.has-post-thumbnail),
.entries article.entry-card:not(.has-post-thumbnail) {
    background: #00545b !important;
    color: #ffffff !important;
}

.entries article:not(.has-post-thumbnail) .entry-title,
.entries article:not(.has-post-thumbnail) .entry-title a,
.entries article:not(.has-post-thumbnail) h2,
.entries article:not(.has-post-thumbnail) h2 a,
.entries article:not(.has-post-thumbnail) h3,
.entries article:not(.has-post-thumbnail) h3 a {
    color: #ffffff !important;
}

.entries article:not(.has-post-thumbnail) .entry-excerpt,
.entries article:not(.has-post-thumbnail) .entry-excerpt p,
.entries article:not(.has-post-thumbnail) .entry-meta,
.entries article:not(.has-post-thumbnail) .entry-meta a {
    color: rgba(255, 255, 255, 0.78) !important;
}

.entries article:not(.has-post-thumbnail) .ct-media-container,
.entries article:not(.has-post-thumbnail) .boundless-image,
.entries article:not(.has-post-thumbnail) img {
    display: none !important;
}

.entries article:not(.has-post-thumbnail):hover,
.entries article:not(.has-post-thumbnail):focus-within {
    background: #00636b !important;
}

html[data-dracula-scheme="dark"] .entries article:not(.has-post-thumbnail),
html[data-dracula-scheme="dark"] .entries article.entry-card:not(.has-post-thumbnail) {
    background: #004349 !important;
}

html[data-dracula-scheme="dark"] .entries article:not(.has-post-thumbnail):hover,
html[data-dracula-scheme="dark"] .entries article:not(.has-post-thumbnail):focus-within {
    background: #00545b !important;
}

/* Single post title fallback when there is no featured image. */
.single-post:not(.has-post-thumbnail) .hero-section,
.single-post:not(.has-post-thumbnail) [class*="hero-section"],
.single-post:not(.has-post-thumbnail) .page-title,
.single-post:not(.has-post-thumbnail) [class*="page-title"] {
    background:
        linear-gradient(135deg, rgba(0, 84, 91, 0.96), rgba(0, 48, 54, 0.96)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 18px) !important;
}

.single-post:not(.has-post-thumbnail) .hero-section h1,
.single-post:not(.has-post-thumbnail) [class*="hero-section"] h1,
.single-post:not(.has-post-thumbnail) .page-title h1,
.single-post:not(.has-post-thumbnail) [class*="page-title"] h1,
.single-post:not(.has-post-thumbnail) .entry-header h1,
.single-post:not(.has-post-thumbnail) .entry-title {
    color: #ffffff !important;
    opacity: 1 !important;
}

.single-post:not(.has-post-thumbnail) .hero-section .entry-meta,
.single-post:not(.has-post-thumbnail) [class*="hero-section"] .entry-meta,
.single-post:not(.has-post-thumbnail) .page-title .entry-meta,
.single-post:not(.has-post-thumbnail) [class*="page-title"] .entry-meta,
.single-post:not(.has-post-thumbnail) .entry-header .entry-meta,
.single-post:not(.has-post-thumbnail) .entry-meta,
.single-post:not(.has-post-thumbnail) .entry-meta a,
.single-post:not(.has-post-thumbnail) .entry-meta span {
    color: rgba(255, 255, 255, 0.78) !important;
    opacity: 1 !important;
}

.single-post:not(.has-post-thumbnail) .entry-header,
.single-post:not(.has-post-thumbnail) .hero-section,
.single-post:not(.has-post-thumbnail) [class*="hero-section"] {
    min-height: 360px !important;
}

html[data-dracula-scheme="dark"] .single-post:not(.has-post-thumbnail) .hero-section,
html[data-dracula-scheme="dark"] .single-post:not(.has-post-thumbnail) [class*="hero-section"],
html[data-dracula-scheme="dark"] .single-post:not(.has-post-thumbnail) .page-title,
html[data-dracula-scheme="dark"] .single-post:not(.has-post-thumbnail) [class*="page-title"] {
    background:
        linear-gradient(135deg, rgba(0, 67, 73, 0.98), rgba(0, 34, 38, 0.98)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 18px) !important;
}

/* Smooth motion for newly added Poetic Koncept sections. */
.pk-hero-card,
.pk-mood-panel,
.pk-mood-links a,
.pk-author-box,
.pk-newsletter-cta,
.pk-submit-cta,
.pk-related-card,
.pk-writer-hero,
.pk-writer-steps article,
.pk-footer-writer-strip a,
.pk-cta-button,
.pk-secondary-button,
.pk-submission-form button,
.entries article,
.pk-darkmode-button {
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        opacity 180ms ease !important;
}

.pk-hero-card:hover,
.pk-hero-card:focus-within,
.pk-mood-links a:hover,
.pk-mood-links a:focus-visible,
.pk-related-card:hover,
.pk-related-card:focus-within,
.pk-writer-steps article:hover,
.entries article:hover,
.entries article:focus-within {
    transform: translateY(-3px) !important;
}

.pk-hero-card:hover,
.pk-hero-card:focus-within,
.pk-mood-links a:hover,
.pk-mood-links a:focus-visible,
.pk-related-card:hover,
.pk-related-card:focus-within,
.entries article:hover,
.entries article:focus-within {
    box-shadow: 0 18px 38px rgba(0, 84, 91, 0.16) !important;
}

.pk-hero-card > a > img,
.pk-related-card img,
.entries article img,
.entries article .ct-media-container {
    transition: transform 360ms ease, opacity 220ms ease, filter 220ms ease !important;
}

.pk-hero-card:hover > a > img,
.pk-hero-card:focus-within > a > img,
.pk-related-card:hover img,
.pk-related-card:focus-within img,
.entries article:hover img,
.entries article:focus-within img,
.entries article:hover .ct-media-container,
.entries article:focus-within .ct-media-container {
    transform: scale(1.035) !important;
}

.pk-cta-button:hover,
.pk-cta-button:focus-visible,
.pk-secondary-button:hover,
.pk-secondary-button:focus-visible,
.pk-submission-form button:hover,
.pk-submission-form button:focus-visible,
.pk-footer-writer-strip a:hover,
.pk-footer-writer-strip a:focus-visible,
.pk-darkmode-button:hover,
.pk-darkmode-button:focus-visible {
    transform: translateY(-2px) !important;
}

.pk-home-hero-section,
.pk-mood-strip,
.pk-single-enhancements,
.pk-writer-portal,
.pk-submission-page,
.pk-archive-intro,
.pk-author-archive,
.pk-footer-writer-strip {
    animation: pk-soft-reveal 420ms ease both;
}

.pk-hero-card:nth-child(1),
.pk-home-hero-main .pk-hero-card {
    animation: pk-card-rise 420ms ease both;
}

.pk-home-hero-side .pk-hero-card:first-child {
    animation: pk-card-rise 500ms ease both;
}

.pk-home-hero-side .pk-hero-card:last-child {
    animation: pk-card-rise 580ms ease both;
}

.pk-mood-links a:nth-child(1),
.pk-related-card:nth-child(1),
.pk-writer-steps article:nth-child(1) {
    animation: pk-card-rise 420ms ease both;
}

.pk-mood-links a:nth-child(2),
.pk-related-card:nth-child(2),
.pk-writer-steps article:nth-child(2) {
    animation: pk-card-rise 500ms ease both;
}

.pk-mood-links a:nth-child(3),
.pk-related-card:nth-child(3),
.pk-writer-steps article:nth-child(3) {
    animation: pk-card-rise 580ms ease both;
}

.pk-mood-links a:nth-child(4) {
    animation: pk-card-rise 660ms ease both;
}

@keyframes pk-soft-reveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pk-card-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pk-hero-card,
    .pk-mood-panel,
    .pk-mood-links a,
    .pk-author-box,
    .pk-newsletter-cta,
    .pk-submit-cta,
    .pk-related-card,
    .pk-writer-hero,
    .pk-writer-steps article,
    .pk-footer-writer-strip a,
    .pk-cta-button,
    .pk-secondary-button,
    .pk-submission-form button,
    .entries article,
    .pk-darkmode-button,
    .pk-hero-card > a > img,
    .pk-related-card img,
    .entries article img,
    .entries article .ct-media-container,
    .pk-home-hero-section,
    .pk-mood-strip,
    .pk-single-enhancements,
    .pk-writer-portal,
    .pk-submission-page,
    .pk-archive-intro,
    .pk-author-archive,
    .pk-footer-writer-strip {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* Remove colored title plate on single post hero titles. */
.single-post .page-title h1,
.single-post [class*="page-title"] h1,
.single-post .hero-section h1,
.single-post [class*="hero-section"] h1,
.single-post .entry-header h1,
.single-post .entry-title {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #ffffff !important;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42) !important;
}

.single-post .page-title h1::before,
.single-post .page-title h1::after,
.single-post [class*="page-title"] h1::before,
.single-post [class*="page-title"] h1::after,
.single-post .hero-section h1::before,
.single-post .hero-section h1::after,
.single-post [class*="hero-section"] h1::before,
.single-post [class*="hero-section"] h1::after,
.single-post .entry-header h1::before,
.single-post .entry-header h1::after,
.single-post .entry-title::before,
.single-post .entry-title::after {
    display: none !important;
    content: none !important;
}

/* Stronger removal of background layers directly attached to post titles. */
.single-post h1,
.single-post .entry-title,
.single-post .page-title h1,
.single-post [class*="page-title"] h1,
.single-post .hero-section h1,
.single-post [class*="hero-section"] h1,
.single-post .entry-header h1 {
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
}

/* Final override: no colored plate directly behind any single-post title. */
body.single-post:not(.has-post-thumbnail) .page-title h1,
body.single-post:not(.has-post-thumbnail) [class*="page-title"] h1,
body.single-post:not(.has-post-thumbnail) .hero-section h1,
body.single-post:not(.has-post-thumbnail) [class*="hero-section"] h1,
body.single-post:not(.has-post-thumbnail) .entry-header h1,
body.single-post:not(.has-post-thumbnail) .entry-title,
body.single-post.has-post-thumbnail .page-title h1,
body.single-post.has-post-thumbnail [class*="page-title"] h1,
body.single-post.has-post-thumbnail .hero-section h1,
body.single-post.has-post-thumbnail [class*="hero-section"] h1,
body.single-post.has-post-thumbnail .entry-header h1,
body.single-post.has-post-thumbnail .entry-title {
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Public login/register pages. */
.pk-auth-page {
    max-width: 760px;
    margin: 0 auto;
}

.pk-auth-card {
    padding: clamp(28px, 5vw, 54px);
    border-radius: 8px;
    background: #f3f6f7;
}

.pk-auth-card h1 {
    max-width: 620px;
    margin: 0;
    color: #1f3445;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 0.98;
    letter-spacing: 0;
}

.pk-auth-card p {
    margin: 16px 0 0;
    color: #52677a;
    font-size: 17px;
    line-height: 1.58;
}

.pk-auth-card form,
.pk-auth-form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.pk-auth-card label,
.pk-auth-form label {
    display: grid;
    gap: 8px;
    color: #1f3445;
    font-weight: 800;
}

.pk-auth-card input[type="text"],
.pk-auth-card input[type="password"],
.pk-auth-card input[type="email"],
.pk-auth-card textarea,
.pk-auth-card select {
    width: 100%;
    min-height: 46px;
    border-radius: 6px;
}

.pk-auth-card textarea {
    padding: 12px;
}

.pk-check-row {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px !important;
}

.pk-check-row input {
    width: auto !important;
}

.pk-auth-card input[type="submit"],
.pk-auth-form button {
    min-height: 46px;
    border: 0;
    border-radius: 6px;
    background: #ffd21a;
    color: #00363b;
    font-weight: 900;
    cursor: pointer;
}

.pk-auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.pk-auth-links a {
    color: #00545b;
    font-weight: 800;
    text-decoration: none;
}

.pk-form-error {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #ffe8e4;
    color: #8a1d12;
    font-weight: 800;
}

html[data-dracula-scheme="dark"] .pk-auth-card {
    background: #202325;
}

html[data-dracula-scheme="dark"] .pk-auth-card h1,
html[data-dracula-scheme="dark"] .pk-auth-card label {
    color: #eef4f6;
}

html[data-dracula-scheme="dark"] .pk-auth-card p {
    color: #c8d5df;
}

html[data-dracula-scheme="dark"] .pk-auth-links a {
    color: #ffd21a;
}

/* Comment reactions. */
.pk-comment-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.pk-comment-reaction {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid rgba(0, 84, 91, 0.16);
    border-radius: 999px;
    background: #f3f6f7;
    color: #1f3445;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.pk-comment-reaction:hover,
.pk-comment-reaction:focus-visible,
.pk-comment-reaction.is-selected {
    transform: translateY(-1px);
    border-color: #ffd21a;
    background: #ffd21a;
    color: #00363b;
}

.pk-comment-reaction:disabled {
    cursor: default;
    opacity: 0.9;
}

.pk-comment-reaction.is-loading {
    opacity: 0.62;
}

.pk-comment-reaction strong {
    font-size: 12px;
}

html[data-dracula-scheme="dark"] .pk-comment-reaction {
    border-color: rgba(255, 255, 255, 0.12);
    background: #202325;
    color: #eef4f6;
}

html[data-dracula-scheme="dark"] .pk-comment-reaction:hover,
html[data-dracula-scheme="dark"] .pk-comment-reaction:focus-visible,
html[data-dracula-scheme="dark"] .pk-comment-reaction.is-selected {
    background: #ffd21a;
    color: #00363b;
}

/* Keep Blocksy's default title/header design on non-post archive pages. */
body:not(.single-post) .pk-archive-intro,
body:not(.single-post) .pk-author-archive {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Polished single-post CTA cards: match Poetic Koncept theme. */
.pk-newsletter-cta,
.pk-submit-cta {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 28px !important;
    padding: clamp(28px, 4vw, 44px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(135deg, #00545b 0%, #003d44 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 16px 34px rgba(0, 84, 91, 0.1) !important;
    overflow: hidden !important;
}

.pk-newsletter-cta::after,
.pk-submit-cta::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(255, 210, 26, 0.1);
    pointer-events: none;
}

.pk-newsletter-cta > *,
.pk-submit-cta > * {
    position: relative;
    z-index: 1;
}

.pk-newsletter-cta span,
.pk-submit-cta span {
    color: #ffd21a !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

.pk-newsletter-cta h2,
.pk-submit-cta h2 {
    max-width: 640px !important;
    margin: 8px 0 0 !important;
    color: #ffffff !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
}

.pk-newsletter-cta p,
.pk-submit-cta p {
    max-width: 620px !important;
    margin-top: 12px !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
}

.pk-newsletter-cta .pk-cta-button,
.pk-submit-cta .pk-cta-button {
    min-width: 180px !important;
    min-height: 48px !important;
    padding: 0 20px !important;
    border-radius: 6px !important;
    background: #ffd21a !important;
    color: #00363b !important;
    font-size: 15px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    box-shadow: none !important;
}

.pk-newsletter-cta .pk-cta-button:hover,
.pk-newsletter-cta .pk-cta-button:focus-visible,
.pk-submit-cta .pk-cta-button:hover,
.pk-submit-cta .pk-cta-button:focus-visible {
    background: #ffca00 !important;
    color: #00363b !important;
}

html[data-dracula-scheme="dark"] .pk-newsletter-cta,
html[data-dracula-scheme="dark"] .pk-submit-cta {
    background: linear-gradient(135deg, #004349 0%, #002b30 100%) !important;
}

@media (max-width: 760px) {
    .pk-newsletter-cta,
    .pk-submit-cta {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .pk-newsletter-cta .pk-cta-button,
    .pk-submit-cta .pk-cta-button {
        width: 100% !important;
    }
}

/* Footer writer strip: yellow theme treatment. */
.pk-footer-writer-strip {
    background: #ffd21a !important;
    color: #00363b !important;
}

.pk-footer-writer-strip .pk-footer-writer-inner > div > span {
    color: #00545b !important;
}

.pk-footer-writer-strip h2,
.pk-footer-writer-strip p {
    color: #00363b !important;
}

.pk-footer-writer-strip nav a {
    background: #00545b !important;
    color: #ffffff !important;
}

.pk-footer-writer-strip nav a:hover,
.pk-footer-writer-strip nav a:focus-visible {
    background: #003f45 !important;
    color: #ffffff !important;
}

html[data-dracula-scheme="dark"] .pk-footer-writer-strip {
    background: #ffd21a !important;
    color: #00363b !important;
}

/* Home hero typography reset: keep the new section in the original theme post-card style. */
.pk-home-hero-section .pk-hero-card a {
    padding: clamp(38px, 4vw, 58px) !important;
}

.pk-home-hero-section .pk-hero-card h2 {
    max-width: 720px !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: clamp(28px, 2.35vw, 40px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.pk-home-hero-section .pk-hero-card-small h2 {
    max-width: 390px !important;
    font-size: clamp(22px, 1.65vw, 30px) !important;
    line-height: 1.2 !important;
}

.pk-home-hero-section .pk-hero-card p {
    max-width: 620px !important;
    margin: 24px 0 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-family: inherit !important;
    font-size: clamp(17px, 1.2vw, 21px) !important;
    font-weight: 400 !important;
    line-height: 1.58 !important;
    letter-spacing: 0 !important;
}

.pk-home-hero-section .pk-hero-card-small p {
    margin-top: 22px !important;
    font-size: clamp(16px, 1.05vw, 19px) !important;
    line-height: 1.55 !important;
}

.pk-home-hero-section .pk-hero-badges span {
    border-radius: 4px !important;
    background: #ffd21a !important;
    color: #00545b !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.pk-home-hero-section .pk-hero-meta-wrap {
    align-items: center !important;
    margin-top: auto !important;
    padding-top: 46px !important;
}

.pk-home-hero-section .pk-hero-card-small .pk-hero-meta-wrap {
    padding-top: 30px !important;
}

.pk-home-hero-section .pk-hero-avatar {
    width: 36px !important;
    height: 36px !important;
}

.pk-home-hero-section .pk-hero-card-small .pk-hero-avatar {
    width: 32px !important;
    height: 32px !important;
}

.pk-home-hero-section .pk-hero-meta {
    color: rgba(255, 255, 255, 0.68) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.55 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
}

.pk-home-hero-section .pk-hero-card-small .pk-hero-meta {
    font-size: 12px !important;
}

@media (max-width: 689.98px) {
    .pk-home-hero-section .pk-hero-card a {
        padding: 30px !important;
    }

    .pk-home-hero-section .pk-hero-card h2,
    .pk-home-hero-section .pk-hero-card-small h2 {
        font-size: 25px !important;
        line-height: 1.22 !important;
    }

    .pk-home-hero-section .pk-hero-card p,
    .pk-home-hero-section .pk-hero-card-small p {
        font-size: 16px !important;
    }

    .pk-home-hero-section .pk-hero-meta,
    .pk-home-hero-section .pk-hero-card-small .pk-hero-meta {
        font-size: 12px !important;
    }
}

/* Sidebar categories: make the archive list feel like Poetic Koncept UI. */
.widget_categories {
    --pk-cat-teal: #00545b;
    --pk-cat-yellow: #ffd21a;
}

.widget_categories .widget-title {
    margin-bottom: 18px !important;
    color: #142437 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.widget_categories ul {
    display: grid !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.widget_categories li.cat-item {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #00545b !important;
}

.widget_categories li.cat-item a {
    display: block !important;
    min-width: 0 !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(0, 84, 91, 0.1) !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #33465d !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease !important;
}

.widget_categories li.cat-item:hover > a,
.widget_categories li.cat-item:focus-within > a {
    border-color: #00545b !important;
    background: #00545b !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.widget_categories .pk-category-count {
    display: inline-flex !important;
    min-width: 34px !important;
    height: 30px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: var(--pk-cat-yellow) !important;
    color: var(--pk-cat-teal) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.widget_categories .children {
    grid-column: 1 / -1 !important;
    gap: 8px !important;
    margin: 8px 0 0 14px !important;
    padding-left: 14px !important;
    border-left: 3px solid rgba(255, 210, 26, 0.9) !important;
}

.widget_categories .children li.cat-item a {
    padding: 10px 12px !important;
    background: rgba(0, 84, 91, 0.06) !important;
    font-size: 14px !important;
}

html[data-dracula-scheme="dark"] .widget_categories .widget-title {
    color: #ffffff !important;
}

html[data-dracula-scheme="dark"] .widget_categories li.cat-item a {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: #073e44 !important;
    color: rgba(255, 255, 255, 0.86) !important;
}

html[data-dracula-scheme="dark"] .widget_categories li.cat-item:hover > a,
html[data-dracula-scheme="dark"] .widget_categories li.cat-item:focus-within > a {
    background: #00545b !important;
    color: #ffffff !important;
}

/* Sidebar categories v2: integrated, polished component. */
.widget_categories {
    padding: 22px !important;
    border: 1px solid rgba(0, 84, 91, 0.08) !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #f7fafb 0%, #eef4f5 100%) !important;
}

.widget_categories .widget-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
    color: #142437 !important;
    font-size: 22px !important;
    font-weight: 850 !important;
}

.widget_categories .widget-title::before {
    content: "" !important;
    display: inline-block !important;
    width: 8px !important;
    height: 24px !important;
    border-radius: 99px !important;
    background: #ffd21a !important;
}

.widget_categories ul {
    gap: 8px !important;
}

.widget_categories li.cat-item {
    min-height: 46px !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding: 0 8px 0 0 !important;
    border: 1px solid rgba(0, 84, 91, 0.12) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0, 84, 91, 0.035) !important;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease !important;
}

.widget_categories li.cat-item:hover,
.widget_categories li.cat-item:focus-within {
    border-color: rgba(0, 84, 91, 0.38) !important;
    background: #fbfdfd !important;
    box-shadow: 0 12px 24px rgba(0, 84, 91, 0.08) !important;
    transform: translateY(-1px) !important;
}

.widget_categories li.cat-item a {
    padding: 13px 14px !important;
    border: 0 !important;
    border-radius: 8px 0 0 8px !important;
    background: transparent !important;
    color: #263b52 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

.widget_categories li.cat-item:hover > a,
.widget_categories li.cat-item:focus-within > a {
    background: transparent !important;
    color: #00545b !important;
    transform: none !important;
}

.widget_categories .pk-category-count {
    min-width: 32px !important;
    height: 26px !important;
    margin-right: 0 !important;
    border: 1px solid rgba(0, 84, 91, 0.1) !important;
    border-radius: 999px !important;
    background: #ffd21a !important;
    color: #00545b !important;
    font-size: 12px !important;
    font-weight: 950 !important;
}

.widget_categories .children {
    grid-column: 1 / -1 !important;
    margin: 0 8px 10px 14px !important;
    padding: 0 0 0 12px !important;
    border-left: 3px solid #ffd21a !important;
}

.widget_categories .children li.cat-item {
    min-height: 40px !important;
    background: rgba(0, 84, 91, 0.055) !important;
    box-shadow: none !important;
}

.widget_categories .children li.cat-item a {
    padding: 11px 12px !important;
    color: #33465d !important;
    font-size: 13px !important;
}

.widget_categories .children .pk-category-count {
    height: 24px !important;
    min-width: 30px !important;
    font-size: 11px !important;
}

html[data-dracula-scheme="dark"] .widget_categories {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: linear-gradient(180deg, #082f34 0%, #05262a 100%) !important;
}

html[data-dracula-scheme="dark"] .widget_categories li.cat-item {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.045) !important;
}

html[data-dracula-scheme="dark"] .widget_categories li.cat-item a,
html[data-dracula-scheme="dark"] .widget_categories .children li.cat-item a {
    color: rgba(255, 255, 255, 0.86) !important;
}

html[data-dracula-scheme="dark"] .widget_categories li.cat-item:hover > a,
html[data-dracula-scheme="dark"] .widget_categories li.cat-item:focus-within > a {
    color: #ffd21a !important;
}

/* Created writer pages: let the default theme page title remain the main title. */
.page-id-4929 .pk-writer-hero h2,
.page-id-4922 .pk-submission-page h2,
.page-id-4932 .pk-auth-card h2,
.page-id-4930 .entry-content > h2:first-child {
    margin: 0 0 14px !important;
    color: #192a3d !important;
    font-family: inherit !important;
    font-size: clamp(26px, 2.4vw, 34px) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
}

.page-id-4929 .pk-writer-hero h2 {
    max-width: 760px !important;
    color: #ffffff !important;
}

.page-id-4929 .pk-writer-hero {
    margin-top: 8px !important;
    padding: clamp(30px, 4.5vw, 54px) !important;
}

.page-id-4929 .pk-writer-hero p,
.page-id-4922 .pk-submission-page p,
.page-id-4932 .pk-auth-card p,
.page-id-4930 .entry-content > p:first-of-type {
    font-size: 17px !important;
    line-height: 1.7 !important;
}

.page-id-4930 .entry-content > h2:first-child {
    padding-top: 4px !important;
}

.page-id-4930 .entry-content h3,
.page-id-4922 .pk-submission-page h3 {
    color: #192a3d !important;
    font-size: clamp(22px, 1.9vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
}

.page-id-4930 .entry-content ul,
.page-id-4922 .pk-submission-page ul {
    padding: 22px 24px 22px 44px !important;
    border-radius: 8px !important;
    background: #f3f6f7 !important;
}

html[data-dracula-scheme="dark"] .page-id-4922 .pk-submission-page h2,
html[data-dracula-scheme="dark"] .page-id-4932 .pk-auth-card h2,
html[data-dracula-scheme="dark"] .page-id-4930 .entry-content > h2:first-child,
html[data-dracula-scheme="dark"] .page-id-4930 .entry-content h3,
html[data-dracula-scheme="dark"] .page-id-4922 .pk-submission-page h3 {
    color: #ffffff !important;
}

html[data-dracula-scheme="dark"] .page-id-4930 .entry-content ul,
html[data-dracula-scheme="dark"] .page-id-4922 .pk-submission-page ul {
    background: #202325 !important;
}

/* Non-post pages: use the same wide title treatment as archive/category pages. */
body.page:not(.home) .ct-container-full > article > .hero-section {
    width: 100vw !important;
    max-width: none !important;
    margin: 0 0 clamp(42px, 5vw, 72px) calc(50% - 50vw) !important;
    padding: clamp(70px, 8vw, 118px) var(--theme-container-edge-spacing, 30px) !important;
    background: linear-gradient(105deg, #fffde1 0%, #f7f4ea 46%, #eadfff 100%) !important;
}

body.page:not(.home) .ct-container-full > article > .hero-section .entry-header {
    width: min(1296px, calc(100vw - (var(--theme-container-edge-spacing, 30px) * 2))) !important;
    max-width: 1296px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

body.page:not(.home) .hero-section .page-title {
    margin: 0 !important;
    color: #192a3d !important;
    font-size: clamp(34px, 3.15vw, 52px) !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
}

body.page:not(.home) .pk-page-title-kicker {
    margin-bottom: 18px !important;
    color: #192a3d !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

body.page:not(.home) .pk-page-title-breadcrumbs {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 30px !important;
    color: #53677d !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
}

body.page:not(.home) .pk-page-title-breadcrumbs a {
    color: #00545b !important;
    text-decoration: none !important;
}

body.page:not(.home) .pk-page-title-breadcrumbs span:last-child {
    color: #53677d !important;
}

/* Created pages: align content with the site/header container, not a narrow squeezed column. */
body.page-id-4929 .ct-container-full > article,
body.page-id-4922 .ct-container-full > article,
body.page-id-4930 .ct-container-full > article,
body.page-id-4932 .ct-container-full > article,
body.page-id-4931 .ct-container-full > article {
    width: min(1296px, calc(100vw - (var(--theme-container-edge-spacing, 30px) * 2))) !important;
    max-width: 1296px !important;
    margin-inline: auto !important;
}

body.page-id-4929 .entry-content,
body.page-id-4922 .entry-content,
body.page-id-4930 .entry-content,
body.page-id-4932 .entry-content,
body.page-id-4931 .entry-content {
    width: 100% !important;
    max-width: none !important;
}

body.page-id-4922 .pk-submission-page,
body.page-id-4930 .entry-content > :not(.alignfull),
body.page-id-4932 .pk-auth-page,
body.page-id-4931 .pk-auth-page {
    max-width: 920px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

body.page-id-4929 .pk-writer-portal {
    max-width: 1296px !important;
}

@media (max-width: 689.98px) {
    body.page:not(.home) .ct-container-full > article > .hero-section {
        padding-top: 58px !important;
        padding-bottom: 58px !important;
    }

    body.page:not(.home) .hero-section .page-title {
        font-size: 31px !important;
    }

    body.page-id-4922 .pk-submission-page,
    body.page-id-4930 .entry-content > :not(.alignfull),
    body.page-id-4932 .pk-auth-page,
    body.page-id-4931 .pk-auth-page {
        max-width: none !important;
    }
}

/* Width correction for non-post page title/banner containers. */
body.page:not(.home) .ct-container-full > article {
    width: min(1296px, calc(100vw - 144px)) !important;
    max-width: 1296px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.page:not(.home) .ct-container-full > article > .hero-section {
    position: relative !important;
    left: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
}

body.page:not(.home) .ct-container-full > article > .hero-section .entry-header {
    width: min(1296px, calc(100vw - 144px)) !important;
    max-width: 1296px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 689.98px) {
    body.page:not(.home) .ct-container-full > article,
    body.page:not(.home) .ct-container-full > article > .hero-section .entry-header {
        width: calc(100vw - 36px) !important;
        max-width: calc(100vw - 36px) !important;
    }
}

/* Writer originality notice. */
.pk-originality-note,
.page-id-4930 .entry-content p:has(strong) {
    padding: 16px 18px !important;
    border-left: 4px solid #ffd21a !important;
    border-radius: 8px !important;
    background: rgba(0, 84, 91, 0.06) !important;
    color: #33465d !important;
}

.pk-originality-note strong,
.page-id-4930 .entry-content p:has(strong) strong {
    color: #00545b !important;
}

/* Post view count and like controls. */
.has-pk-post-engagement {
    position: relative !important;
}

.pk-post-engagement {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(0, 54, 59, 0.82);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.pk-post-views,
.pk-post-like {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
}

.pk-post-like {
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.pk-post-like:hover,
.pk-post-like:focus-visible,
.pk-post-like.is-liked {
    background: #ffd21a;
    color: #00545b;
    outline: none;
    transform: translateY(-1px);
}

.pk-post-like.is-loading {
    opacity: 0.7;
}

.pk-post-like:disabled {
    cursor: default;
}

.pk-post-like span {
    font-size: 14px;
    line-height: 1;
}

.pk-post-engagement-single {
    position: static;
    width: fit-content;
    margin: 18px auto 0;
    border-color: rgba(0, 84, 91, 0.14);
    background: #00545b;
    box-shadow: none;
}

.entries article .pk-post-engagement,
article[class*="post-"] .pk-post-engagement:not(.pk-post-engagement-single),
.ct-related-posts article .pk-post-engagement {
    right: 10px;
    bottom: 10px;
    transform: scale(0.94);
    transform-origin: right bottom;
}

.pk-hero-card .pk-post-engagement,
.pk-feature-card .pk-post-engagement {
    right: 14px;
    bottom: 14px;
}

html[data-dracula-scheme="dark"] .pk-post-engagement {
    background: rgba(0, 39, 43, 0.9);
}

@media (max-width: 689.98px) {
    .pk-post-engagement {
        right: 10px;
        bottom: 10px;
        gap: 5px;
        padding: 5px;
    }

    .pk-post-views,
    .pk-post-like {
        min-height: 26px;
        padding: 0 8px;
        font-size: 11px;
    }
}

/* Keep post engagement controls off compact sidebar post widgets. */
.ct-sidebar .pk-post-engagement,
aside .pk-post-engagement,
.ct-widget .wp-block-post .pk-post-engagement {
    display: none !important;
}

/* Final translator override: show only the flag, with no white box. */
.menu-item-gtranslate #gtranslate_menu_wrapper_31182,
.menu-item-gtranslate .gt_switcher,
.menu-item-gtranslate .gt_switcher .gt_selected,
.menu-item-gtranslate .gt_switcher .gt_selected a {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.menu-item-gtranslate .gt_switcher .gt_selected a {
    width: 28px !important;
    min-width: 28px !important;
    height: 22px !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.menu-item-gtranslate .gt_switcher .gt_selected a img {
    width: 28px !important;
    max-width: 28px !important;
    height: auto !important;
    margin: 0 !important;
}

@media (max-width: 689.98px) {
    .menu-item-gtranslate .gt_switcher .gt_selected a {
        width: 26px !important;
        min-width: 26px !important;
        height: 20px !important;
        padding: 0 !important;
    }

    .menu-item-gtranslate .gt_switcher .gt_selected a img {
        width: 26px !important;
        max-width: 26px !important;
    }
}

/* Single post hero meta should stay as plain theme text, not category badges. */
body.single-post .hero-section .entry-meta .meta-categories a,
body.single-post .hero-section .entry-meta a.ct-post-taxonomy,
body.single-post .hero-section .entry-meta a[class*="ct-term-"],
body.single-post [data-prefix="single_blog_post"] .entry-meta .meta-categories a,
body.single-post [data-prefix="single_blog_post"] .entry-meta a.ct-post-taxonomy,
body.single-post [data-prefix="single_blog_post"] .entry-meta a[class*="ct-term-"] {
    display: inline !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
}

/* Translator flag: remove the white selected-language box. */
.menu-item-gtranslate #gtranslate_menu_wrapper_31182,
.menu-item-gtranslate .gt_switcher,
.menu-item-gtranslate .gt_switcher .gt_selected,
.menu-item-gtranslate .gt_switcher .gt_selected a {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.menu-item-gtranslate .gt_switcher .gt_selected a {
    width: 28px !important;
    min-width: 28px !important;
    height: 22px !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.menu-item-gtranslate .gt_switcher .gt_selected a img {
    width: 28px !important;
    height: auto !important;
}

@media (max-width: 689.98px) {
    .menu-item-gtranslate .gt_switcher .gt_selected a {
        width: 26px !important;
        min-width: 26px !important;
        height: 20px !important;
        padding: 0 !important;
    }

    .menu-item-gtranslate .gt_switcher .gt_selected a img {
        width: 26px !important;
    }
}

/* Hero repair: only the featured image should cover the card, never the author avatar. */
.pk-home-hero-section .pk-hero-card > a > img.pk-hero-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 0 !important;
    filter: saturate(0.98) contrast(1.03) brightness(0.95) !important;
    transform: scale(1.01) !important;
}

.pk-home-hero-section .pk-hero-card > a > .pk-hero-shade {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
}

.pk-home-hero-section .pk-hero-avatar,
.pk-home-hero-section .pk-hero-card .pk-hero-avatar,
.pk-home-hero-section .pk-hero-card-small .pk-hero-avatar {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    flex: 0 0 36px !important;
    border-radius: 999px !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
    z-index: auto !important;
}

.pk-home-hero-section .pk-hero-card-small .pk-hero-avatar {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    flex-basis: 32px !important;
}

.pk-home-hero-section .pk-hero-card:not(:has(> a > img:not(.pk-hero-avatar))) {
    background:
        radial-gradient(circle at 88% 88%, rgba(255, 210, 26, 0.14), transparent 30%),
        linear-gradient(135deg, #00383e 0%, #00545b 55%, #00616a 100%) !important;
}

.pk-home-hero-section .pk-hero-card:not(:has(> a > img:not(.pk-hero-avatar))) > a > .pk-hero-shade {
    background:
        linear-gradient(135deg, rgba(0, 20, 23, 0.5), rgba(0, 84, 91, 0.15)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px) !important;
}

/* Agentic browsing polish: clearer controls and machine-readable targets. */
.cookie-notification .ct-cookies-decline-button,
.cookie-notification .ct-cookies-accept-button {
    background: #ffd21a !important;
    color: #00363b !important;
    font-weight: 800 !important;
}

.cookie-notification .ct-cookies-decline-button:hover,
.cookie-notification .ct-cookies-decline-button:focus-visible,
.cookie-notification .ct-cookies-accept-button:hover,
.cookie-notification .ct-cookies-accept-button:focus-visible {
    background: #ffffff !important;
    color: #00363b !important;
}

.entries article .meta-categories a,
article.entry-card .meta-categories a,
.ct-term-31,
.ct-term-32,
.ct-term-33,
.ct-term-34 {
    background: #ffd21a !important;
    color: #00545b !important;
    font-weight: 850 !important;
}

@media (max-width: 689.98px) {
    .entries article .entry-title a,
    article.entry-card .entry-title a {
        display: inline-flex !important;
        min-height: 28px !important;
        align-items: center !important;
        line-height: 1.25 !important;
    }
}

body .entries article.entry-card ul.entry-meta li.meta-categories a[class*="ct-term-"],
body article.entry-card ul.entry-meta li.meta-categories a[class*="ct-term-"],
body .ct-trending-block-item-content ul.entry-meta li.meta-categories a,
body a.ct-post-taxonomy {
    display: inline-flex !important;
    min-height: 26px !important;
    align-items: center !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    background: #ffd21a !important;
    color: #00545b !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
}

body .ct-trending-block-item-content ul.entry-meta li.meta-categories a,
body a.ct-post-taxonomy {
    min-height: 28px !important;
}

/* Donate page. */
.pk-donate-page {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: clamp(22px, 4vw, 44px) 0;
}

.pk-donate-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: center;
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px);
    border-radius: 8px;
    background:
        radial-gradient(circle at 92% 86%, rgba(255, 210, 26, 0.16), transparent 30%),
        linear-gradient(135deg, #00383e 0%, #00545b 58%, #00616a 100%);
    color: #ffffff;
}

.pk-donate-hero span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 10px;
    border-radius: 4px;
    background: #ffd21a;
    color: #00545b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.pk-donate-hero h2 {
    max-width: 680px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 4.5vw, 64px);
    line-height: 1.02;
    letter-spacing: 0;
}

.pk-donate-hero p {
    max-width: 620px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.62;
}

.pk-donate-card {
    padding: clamp(20px, 3vw, 30px);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: #1f3445;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.pk-donate-qr {
    display: grid;
    place-items: center;
    padding: 18px;
    border: 1px solid rgba(0, 84, 91, 0.12);
    border-radius: 8px;
    background: #ffffff;
}

.pk-donate-qr img {
    width: min(260px, 100%);
    height: auto;
}

.pk-donate-card h3 {
    margin: 18px 0 8px;
    color: #00545b;
    font-size: 22px;
    line-height: 1.2;
}

.pk-donate-network {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 6px 10px;
    border-radius: 4px;
    background: rgba(255, 210, 26, 0.24);
    color: #00545b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pk-donate-address {
    display: block;
    width: 100%;
    overflow-wrap: anywhere;
    padding: 14px;
    border: 1px solid rgba(0, 84, 91, 0.14);
    border-radius: 6px;
    background: #f3f6f7;
    color: #1f3445;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 14px;
    line-height: 1.5;
}

.pk-donate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.pk-donate-actions button,
.pk-donate-actions a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #ffd21a;
    color: #00363b;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.pk-donate-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 4px solid #ffd21a;
    border-radius: 8px;
    background: rgba(0, 84, 91, 0.06);
    color: #33465d;
    font-size: 14px;
    line-height: 1.55;
}

.pk-donate-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.pk-donate-steps article {
    padding: 20px;
    border-radius: 8px;
    background: #f3f6f7;
}

.pk-donate-steps strong {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #00545b;
    color: #ffd21a;
}

.pk-donate-steps h3 {
    margin: 0 0 8px;
    color: #1f3445;
    font-size: 18px;
}

.pk-donate-steps p {
    margin: 0;
    color: #52677a;
    font-size: 14px;
    line-height: 1.55;
}

html[data-dracula-scheme="dark"] .pk-donate-card,
html[data-dracula-scheme="dark"] .pk-donate-steps article {
    background: #202325;
    color: #d6e1e5;
}

html[data-dracula-scheme="dark"] .pk-donate-card h3,
html[data-dracula-scheme="dark"] .pk-donate-steps h3 {
    color: #ffffff;
}

html[data-dracula-scheme="dark"] .pk-donate-address,
html[data-dracula-scheme="dark"] .pk-donate-note {
    background: rgba(255, 255, 255, 0.06);
    color: #d6e1e5;
}

@media (max-width: 900px) {
    .pk-donate-hero,
    .pk-donate-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 689.98px) {
    .pk-donate-hero {
        padding: 24px;
    }

    .pk-donate-hero h2 {
        font-size: 36px;
    }
}

/* Related posts: softer image overlay and cleaner no-image cards. */
.pk-related-card {
    position: relative !important;
    background:
        radial-gradient(circle at 85% 100%, rgba(255, 210, 26, 0.1), transparent 34%),
        linear-gradient(135deg, #00545b 0%, #003d44 100%) !important;
    box-shadow: 0 14px 32px rgba(0, 84, 91, 0.1) !important;
}

.pk-related-card a {
    position: relative !important;
    overflow: hidden !important;
    min-height: 260px !important;
    padding: 24px !important;
}

.pk-related-card img,
.pk-related-shade {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.pk-related-shade {
    z-index: 1 !important;
    background:
        linear-gradient(180deg, rgba(0, 54, 59, 0.22) 0%, rgba(0, 54, 59, 0.48) 48%, rgba(0, 25, 28, 0.82) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.08) 52%, rgba(0, 0, 0, 0.28) 100%) !important;
}

.pk-related-card img {
    z-index: 0 !important;
    display: block !important;
    object-fit: cover !important;
    filter: saturate(0.95) contrast(1.04) brightness(0.96) !important;
}

.pk-related-card > a > div {
    position: relative !important;
    z-index: 2 !important;
}

.pk-related-card h3 {
    max-width: 92% !important;
    font-size: clamp(22px, 2vw, 30px) !important;
    line-height: 1.14 !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28) !important;
}

.pk-related-card p {
    max-width: 92% !important;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 15px !important;
    line-height: 1.52 !important;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.24) !important;
}

.pk-related-card:not(:has(img)) a {
    align-items: center !important;
    background:
        radial-gradient(circle at 85% 92%, rgba(255, 210, 26, 0.09), transparent 34%),
        linear-gradient(135deg, #00545b 0%, #00444a 56%, #00383e 100%) !important;
}

.pk-related-card:not(:has(img)) .pk-related-shade {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 46%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 20px) !important;
}

/* Future AdSense placements. Hidden from visitors until AdSense IDs are added. */
.pk-ad-slot {
    width: min(100%, 970px);
    min-height: 90px;
    margin: 28px auto;
    overflow: hidden;
    border-radius: 8px;
}

.pk-ad-slot > span {
    display: block;
    margin-bottom: 8px;
    color: #b89100;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pk-ad-slot-preview {
    display: grid;
    place-items: center;
    min-height: 112px;
    padding: 18px;
    border: 1px dashed rgba(0, 84, 91, 0.24);
    background: rgba(0, 84, 91, 0.045);
    color: #1f3445;
    text-align: center;
}

.pk-ad-slot-preview strong {
    display: block;
    color: #00545b;
    font-size: 16px;
}

.pk-ad-slot-preview small {
    display: block;
    margin-top: 4px;
    color: #52677a;
    font-size: 12px;
    line-height: 1.35;
}

html[data-dracula-scheme="dark"] .pk-ad-slot-preview {
    border-color: rgba(255, 210, 26, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: #d6e1e5;
}

html[data-dracula-scheme="dark"] .pk-ad-slot-preview strong {
    color: #ffd21a;
}

/* Homepage hero refresh: image-led, compact, and Lighthouse-friendly. */
.pk-home-hero-section {
    padding-top: clamp(24px, 3vw, 38px) !important;
    padding-bottom: 18px !important;
}

.pk-home-hero {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr) !important;
    gap: 20px !important;
    margin-bottom: 34px !important;
}

.pk-home-hero-side {
    gap: 20px !important;
}

.pk-home-hero-main .pk-hero-card {
    height: 540px !important;
    min-height: 540px !important;
}

.pk-home-hero-side .pk-hero-card {
    height: 260px !important;
    min-height: 260px !important;
}

.pk-home-hero-section .pk-hero-card {
    position: relative !important;
    border: 1px solid rgba(0, 84, 91, 0.14) !important;
    border-radius: 8px !important;
    background: #00545b !important;
    box-shadow: 0 16px 36px rgba(0, 84, 91, 0.12) !important;
}

.pk-home-hero-section .pk-hero-card > a {
    position: relative !important;
    display: flex !important;
    height: 100% !important;
    min-height: 100% !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    overflow: hidden !important;
    padding: clamp(28px, 3.2vw, 44px) !important;
}

.pk-home-hero-section .pk-hero-card img,
.pk-home-hero-section .pk-hero-card .pk-hero-image,
.pk-home-hero-section .pk-hero-card .pk-hero-shade {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.pk-home-hero-section .pk-hero-card img,
.pk-home-hero-section .pk-hero-card .pk-hero-image {
    z-index: 0 !important;
    object-fit: cover !important;
    filter: saturate(0.98) contrast(1.03) brightness(0.95) !important;
    transform: scale(1.01) !important;
}

.pk-home-hero-section .pk-hero-shade,
.pk-home-hero-section .pk-hero-card-small .pk-hero-shade {
    z-index: 1 !important;
    background:
        linear-gradient(180deg, rgba(0, 54, 59, 0.14) 0%, rgba(0, 54, 59, 0.54) 48%, rgba(0, 28, 31, 0.88) 100%),
        linear-gradient(90deg, rgba(0, 25, 28, 0.72) 0%, rgba(0, 54, 59, 0.28) 56%, rgba(0, 25, 28, 0.28) 100%) !important;
}

.pk-home-hero-section .pk-hero-content,
.pk-home-hero-section .pk-hero-card-small .pk-hero-content {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    min-height: auto !important;
    flex-direction: column !important;
}

.pk-home-hero-section .pk-hero-card h2 {
    max-width: 680px !important;
    font-size: clamp(30px, 2.6vw, 44px) !important;
    line-height: 1.08 !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28) !important;
}

.pk-home-hero-section .pk-hero-card-small h2 {
    max-width: 420px !important;
    font-size: clamp(22px, 1.7vw, 30px) !important;
    line-height: 1.12 !important;
}

.pk-home-hero-section .pk-hero-card p {
    display: -webkit-box !important;
    max-width: 600px !important;
    margin-top: 14px !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: clamp(15px, 1vw, 18px) !important;
    line-height: 1.46 !important;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.22) !important;
}

.pk-home-hero-section .pk-hero-card-small p {
    margin-top: 12px !important;
    font-size: 15px !important;
    -webkit-line-clamp: 2 !important;
}

.pk-home-hero-section .pk-hero-meta-wrap,
.pk-home-hero-section .pk-hero-card-small .pk-hero-meta-wrap {
    margin-top: 18px !important;
    padding-top: 0 !important;
}

.pk-home-hero-section .pk-hero-card:hover img,
.pk-home-hero-section .pk-hero-card:focus-within img {
    transform: scale(1.045) !important;
}

@media (max-width: 999.98px) {
    .pk-home-hero {
        grid-template-columns: 1fr !important;
    }

    .pk-home-hero-side {
        grid-template-columns: 1fr 1fr !important;
    }

    .pk-home-hero-main .pk-hero-card {
        height: 460px !important;
        min-height: 460px !important;
    }
}

@media (max-width: 689.98px) {
    .pk-home-hero {
        gap: 16px !important;
        margin-bottom: 26px !important;
    }

    .pk-home-hero-side {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .pk-home-hero-main .pk-hero-card,
    .pk-home-hero-side .pk-hero-card {
        height: 320px !important;
        min-height: 320px !important;
    }

    .pk-home-hero-section .pk-hero-card > a {
        padding: 24px !important;
    }

    .pk-home-hero-section .pk-hero-card h2,
    .pk-home-hero-section .pk-hero-card-small h2 {
        font-size: clamp(24px, 7.6vw, 32px) !important;
        line-height: 1.14 !important;
    }

    .pk-home-hero-section .pk-hero-card p,
    .pk-home-hero-section .pk-hero-card-small p {
        font-size: 15px !important;
    }
}

/* Likes only: remove visible post view counters everywhere. */
.pk-post-views {
    display: none !important;
}

.pk-post-engagement {
    gap: 0 !important;
    padding: 4px !important;
}

/* Review pass: prevent tight/clipped text in newer custom sections. */
.pk-auth-card h1 {
    line-height: 1.08 !important;
    overflow-wrap: anywhere !important;
}

.pk-hero-card h2,
.pk-hero-card p,
.pk-feature-card h3,
.pk-feature-card p,
.pk-related-card h3,
.pk-related-card p,
.pk-mood-links h3,
.pk-mood-links p,
.pk-newsletter-cta h2,
.pk-submit-cta h2 {
    overflow-wrap: anywhere !important;
}

@media (max-width: 689.98px) {
    .pk-auth-card h1 {
        font-size: clamp(34px, 10vw, 46px) !important;
    }
}

@media (max-width: 689.98px) {
    .pk-related-card a {
        min-height: 230px !important;
        padding: 22px !important;
    }

    .pk-related-card h3 {
        font-size: 25px !important;
    }
}

/* Compact single-post CTA cards. */
.pk-newsletter-cta,
.pk-submit-cta {
    max-width: 1040px !important;
    margin: 24px auto !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    gap: 24px !important;
    padding: clamp(24px, 3vw, 34px) clamp(26px, 4vw, 42px) !important;
    box-shadow: 0 14px 30px rgba(0, 84, 91, 0.08) !important;
}

.pk-newsletter-cta::after,
.pk-submit-cta::after {
    right: -46px !important;
    bottom: -64px !important;
    width: 160px !important;
    height: 160px !important;
    background: rgba(255, 210, 26, 0.08) !important;
}

.pk-newsletter-cta span,
.pk-submit-cta span {
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
}

.pk-newsletter-cta h2,
.pk-submit-cta h2 {
    max-width: 560px !important;
    margin-top: 8px !important;
    font-size: clamp(24px, 2.2vw, 34px) !important;
    line-height: 1.12 !important;
}

.pk-newsletter-cta p,
.pk-submit-cta p {
    max-width: 560px !important;
    margin-top: 10px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.pk-newsletter-cta .pk-cta-button,
.pk-submit-cta .pk-cta-button {
    min-width: 154px !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    font-weight: 850 !important;
}

@media (max-width: 760px) {
    .pk-newsletter-cta,
    .pk-submit-cta {
        max-width: none !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 24px !important;
    }

    .pk-newsletter-cta h2,
    .pk-submit-cta h2 {
        font-size: clamp(24px, 8vw, 31px) !important;
    }

    .pk-newsletter-cta .pk-cta-button,
    .pk-submit-cta .pk-cta-button {
        width: fit-content !important;
        max-width: 100% !important;
    }
}

/* Header translator: show only the current country flag. */
.menu-item-gtranslate {
    display: inline-flex !important;
    align-items: center !important;
}

.menu-item-gtranslate #gtranslate_menu_wrapper_31182,
.menu-item-gtranslate .gt_switcher {
    width: auto !important;
    min-width: 0 !important;
}

.menu-item-gtranslate .gt_switcher .gt_selected a {
    width: 42px !important;
    min-width: 42px !important;
    height: 34px !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.menu-item-gtranslate .gt_switcher .gt_selected a img {
    flex: 0 0 auto !important;
    margin: 0 !important;
    opacity: 1 !important;
}

.menu-item-gtranslate .gt_switcher .gt_selected a:after {
    display: none !important;
}

.menu-item-gtranslate .gt_switcher .gt_option {
    min-width: 150px !important;
}

.menu-item-gtranslate .gt_switcher .gt_option a {
    font-size: 14px !important;
    line-height: 1.3 !important;
}

@media (max-width: 689.98px) {
    .menu-item-gtranslate .gt_switcher .gt_selected a {
        width: 38px !important;
        min-width: 38px !important;
        height: 32px !important;
        padding-inline: 7px !important;
    }
}

/* Remove view counts from post engagement UI; keep likes only. */
.pk-post-views {
    display: none !important;
}

.pk-post-engagement {
    gap: 0 !important;
    padding: 5px !important;
}

.pk-post-like {
    min-width: 42px !important;
}

/* Refined post engagement UI: subtle views, stronger like. */
.pk-post-engagement {
    gap: 5px !important;
    padding: 4px !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    background: rgba(0, 54, 59, 0.74) !important;
}

.pk-post-views {
    display: inline-flex !important;
    min-width: 34px !important;
    min-height: 25px !important;
    padding: 0 7px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.pk-post-views span {
    opacity: 0.76 !important;
    font-size: 12px !important;
}

.pk-post-like {
    min-width: 38px !important;
    min-height: 25px !important;
    padding: 0 8px !important;
    background: rgba(255, 210, 26, 0.16) !important;
    color: #ffd21a !important;
    font-size: 11px !important;
}

.pk-post-like:hover,
.pk-post-like:focus-visible,
.pk-post-like.is-liked {
    background: #ffd21a !important;
    color: #00545b !important;
}

.pk-post-engagement-single {
    background: #00545b !important;
}

/* Keep like totals private until the visitor likes the post. */
.pk-post-like strong {
    display: none !important;
}

.pk-post-like.is-liked strong {
    display: inline !important;
}

.pk-post-like:not(.is-liked) {
    min-width: 30px !important;
    width: 30px !important;
    padding-inline: 0 !important;
}

.pk-post-like:not(.is-liked) span {
    margin: 0 !important;
}

.ct-sidebar .pk-post-engagement,
aside .pk-post-engagement,
.ct-widget .wp-block-post .pk-post-engagement {
    display: none !important;
}

/* Donate page final refresh. */
.pk-donate-page {
    width: min(1180px, calc(100% - 32px)) !important;
    padding-block: clamp(18px, 3vw, 42px) !important;
}

.pk-donate-hero {
    position: relative !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.88fr) !important;
    gap: clamp(24px, 4vw, 54px) !important;
    align-items: stretch !important;
    padding: clamp(26px, 5vw, 64px) !important;
    border: 1px solid rgba(255, 210, 26, 0.18) !important;
    background: radial-gradient(circle at 9% 8%, rgba(255, 210, 26, 0.13), transparent 24%), radial-gradient(circle at 94% 91%, rgba(255, 210, 26, 0.18), transparent 28%), linear-gradient(135deg, #00383e 0%, #00545b 56%, #003b42 100%) !important;
}

.pk-donate-copy {
    display: flex !important;
    min-height: 100% !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.pk-donate-highlights {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: clamp(20px, 3vw, 32px) !important;
}

.pk-donate-highlights strong {
    display: inline-flex !important;
    min-height: 34px !important;
    align-items: center !important;
    padding: 0 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px !important;
    font-weight: 850 !important;
}

.pk-donate-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: clamp(18px, 3vw, 28px) !important;
    border: 1px solid rgba(0, 84, 91, 0.1) !important;
    box-shadow: 0 24px 54px rgba(0, 18, 21, 0.2) !important;
}

.pk-donate-card-top {
    display: flex !important;
    gap: 14px !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
}

.pk-donate-card h3 {
    margin: 0 !important;
    font-size: clamp(22px, 2vw, 28px) !important;
}

.pk-donate-card-top p {
    margin: 6px 0 0 !important;
    color: #52677a !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.pk-donate-network {
    flex: 0 0 auto !important;
    margin: 0 !important;
    background: #ffd21a !important;
    color: #00363b !important;
}

.pk-donate-qr {
    padding: clamp(14px, 2vw, 20px) !important;
    background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(135deg, rgba(0, 84, 91, 0.22), rgba(255, 210, 26, 0.48)) border-box !important;
    border: 1px solid transparent !important;
}

.pk-donate-address-label {
    margin: 0 0 -8px !important;
    color: #00545b !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

.pk-donate-address {
    background: #eef4f5 !important;
    color: #132f37 !important;
    font-size: 13px !important;
}

.pk-donate-actions {
    margin-top: 0 !important;
}

.pk-donate-actions button {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 6px !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

.pk-donate-actions button:hover,
.pk-donate-actions button:focus-visible {
    background: #ffdc40 !important;
    box-shadow: 0 10px 22px rgba(0, 84, 91, 0.16) !important;
    transform: translateY(-1px) !important;
}

.pk-donate-note {
    margin-top: 0 !important;
    padding: 14px 15px 14px 16px !important;
    border: 1px solid rgba(255, 210, 26, 0.45) !important;
    border-left: 5px solid #ffd21a !important;
    background: #fff8d9 !important;
    color: #213642 !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
}

.pk-donate-note strong {
    color: #00363b !important;
}

.pk-donate-steps {
    gap: 18px !important;
    margin-top: 24px !important;
}

.pk-donate-steps article {
    border: 1px solid rgba(0, 84, 91, 0.08) !important;
    background: #f6f8f9 !important;
    box-shadow: 0 12px 28px rgba(0, 84, 91, 0.06) !important;
}

html[data-dracula-scheme="dark"] .pk-donate-card {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: #202325 !important;
}

html[data-dracula-scheme="dark"] .pk-donate-card-top p {
    color: #b7c6cc !important;
}

html[data-dracula-scheme="dark"] .pk-donate-qr {
    background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 210, 26, 0.48)) border-box !important;
}

html[data-dracula-scheme="dark"] .pk-donate-address-label {
    color: #ffd21a !important;
}

html[data-dracula-scheme="dark"] .pk-donate-note {
    border-color: rgba(255, 210, 26, 0.42) !important;
    border-left-color: #ffd21a !important;
    background: rgba(255, 210, 26, 0.14) !important;
    color: #f1f5f6 !important;
}

html[data-dracula-scheme="dark"] .pk-donate-note strong {
    color: #ffd21a !important;
}

@media (max-width: 900px) {
    .pk-donate-hero {
        grid-template-columns: 1fr !important;
    }

    .pk-donate-copy {
        min-height: auto !important;
    }
}

@media (max-width: 689.98px) {
    .pk-donate-page {
        width: min(100% - 20px, 1180px) !important;
    }

    .pk-donate-hero {
        padding: 22px !important;
    }

    .pk-donate-card-top {
        flex-direction: column !important;
    }

    .pk-donate-highlights strong {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Donate warning: remove the left accent border. */
.pk-donate-note {
    border-left-width: 1px !important;
    border-left-color: rgba(255, 210, 26, 0.45) !important;
}

html[data-dracula-scheme="dark"] .pk-donate-note {
    border-left-color: rgba(255, 210, 26, 0.42) !important;
}

/* Header translator: place the flag beside the dark mode button. */
.pk-header-flag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 8px !important;
    position: relative !important;
    z-index: 40 !important;
}

.pk-header-flag [id^="gtranslate_menu_wrapper_"] {
    position: relative !important;
    white-space: nowrap !important;
}

.pk-header-flag .gt_switcher,
.pk-header-flag .gt_switcher .gt_selected,
.pk-header-flag .gt_switcher .gt_selected a {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.pk-header-flag .gt_switcher .gt_selected a {
    display: inline-flex !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 22px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.pk-header-flag .gt_switcher .gt_selected a img {
    width: 28px !important;
    max-width: 28px !important;
    height: auto !important;
    margin: 0 !important;
}

.pk-header-flag .gt_switcher .gt_selected a::after {
    display: none !important;
}

.pk-header-flag .gt_switcher .gt_option {
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    min-width: 150px !important;
    z-index: 9999 !important;
}

.menu-item-gtranslate.pk-gtranslate-moved {
    display: none !important;
}

@media (max-width: 689.98px) {
    .pk-header-flag {
        margin-left: 6px !important;
    }

    .pk-header-flag .gt_switcher .gt_selected a {
        width: 26px !important;
        min-width: 26px !important;
        height: 20px !important;
    }

    .pk-header-flag .gt_switcher .gt_selected a img {
        width: 26px !important;
        max-width: 26px !important;
    }
}

/* Header translator width cleanup after moving beside dark mode. */
.pk-header-flag,
.pk-header-flag [id^="gtranslate_menu_wrapper_"],
.pk-header-flag .gt_switcher,
.pk-header-flag .gt_switcher .gt_selected {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    overflow: visible !important;
}

.pk-header-flag .gt_switcher .gt_option {
    position: absolute !important;
    width: max-content !important;
    max-width: none !important;
}

@media (max-width: 689.98px) {
    .pk-header-flag,
    .pk-header-flag [id^="gtranslate_menu_wrapper_"],
    .pk-header-flag .gt_switcher,
    .pk-header-flag .gt_switcher .gt_selected {
        width: 26px !important;
        min-width: 26px !important;
        max-width: 26px !important;
    }
}

/* App install button beside dark mode and language flag. */
.pk-install-app {
    display: inline-flex !important;
    min-width: 42px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 8px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #ffd21a !important;
    color: #00363b !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease !important;
}

.pk-install-app:hover,
.pk-install-app:focus-visible {
    background: #ffdc40 !important;
    box-shadow: 0 8px 18px rgba(0, 20, 23, 0.16) !important;
    transform: translateY(-1px) !important;
}

.pk-install-app[hidden] {
    display: none !important;
}

@media (max-width: 689.98px) {
    .pk-install-app {
        min-width: 38px !important;
        height: 32px !important;
        margin-left: 6px !important;
        padding: 0 9px !important;
        font-size: 11px !important;
    }
}

/* Keep card heights visually uniform when titles are long. */
.pk-home-hero-section .pk-hero-card.pk-long-title p,
.pk-related-card.pk-long-title p {
    -webkit-line-clamp: 1 !important;
}

.pk-home-hero-section .pk-hero-card.pk-very-long-title p,
.pk-related-card.pk-very-long-title p {
    -webkit-line-clamp: 1 !important;
    font-size: clamp(14px, 0.95vw, 16px) !important;
    line-height: 1.42 !important;
}

.pk-home-hero-section .pk-hero-card.pk-very-long-title h2,
.pk-related-card.pk-very-long-title h3 {
    line-height: 1.06 !important;
}

.pk-home-hero-section .pk-hero-card-small.pk-long-title p,
.pk-home-hero-section .pk-hero-card-small.pk-very-long-title p {
    display: none !important;
}

@media (max-width: 689.98px) {
    .pk-home-hero-section .pk-hero-card.pk-long-title p,
    .pk-home-hero-section .pk-hero-card.pk-very-long-title p,
    .pk-related-card.pk-long-title p,
    .pk-related-card.pk-very-long-title p {
        display: none !important;
    }
}

/* Stronger uniform excerpt clamp for cards with longer titles. */
.pk-home-hero-section .pk-hero-card.pk-long-title p,
.pk-related-card.pk-long-title p {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
}

.pk-home-hero-section .pk-hero-card-small.pk-long-title p,
.pk-home-hero-section .pk-hero-card-small.pk-very-long-title p {
    display: none !important;
}

/* Native install prompt button: show only when browser install is ready. */
.pk-install-app {
    gap: 7px !important;
    min-width: 74px !important;
    padding: 0 12px !important;
}

.pk-install-app span {
    font-size: 15px !important;
    line-height: 1 !important;
}

.pk-install-app strong {
    font: inherit !important;
    font-weight: 900 !important;
}

@media (max-width: 689.98px) {
    .pk-install-app {
        min-width: 66px !important;
        padding: 0 10px !important;
    }
}

/* Browser-style install app dialog. */
.pk-install-modal[hidden] {
    display: none !important;
}

.pk-install-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000 !important;
    display: grid !important;
    place-items: start center !important;
    padding: max(64px, 8vh) 18px 24px !important;
}

.pk-install-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.52) !important;
    backdrop-filter: blur(1px) !important;
}

.pk-install-dialog {
    position: relative !important;
    width: min(720px, 100%) !important;
    padding: clamp(24px, 4vw, 40px) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    color: #202124 !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28) !important;
}

.pk-install-close {
    position: absolute !important;
    top: 14px !important;
    right: 16px !important;
    width: 32px !important;
    height: 32px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #5f6368 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.pk-install-dialog h2 {
    margin: 0 0 28px !important;
    color: #202124 !important;
    font-size: clamp(24px, 3vw, 32px) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
}

.pk-install-app-row {
    display: flex !important;
    gap: 24px !important;
    align-items: center !important;
    margin-bottom: 36px !important;
}

.pk-install-app-row img {
    width: 58px !important;
    height: 58px !important;
    flex: 0 0 58px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(60, 64, 67, 0.18) !important;
    object-fit: cover !important;
}

.pk-install-app-row strong,
.pk-install-app-row span {
    display: block !important;
}

.pk-install-app-row strong {
    color: #202124 !important;
    font-size: clamp(21px, 2.4vw, 27px) !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
}

.pk-install-app-row span {
    margin-top: 4px !important;
    color: #4f5358 !important;
    font-size: clamp(17px, 2vw, 23px) !important;
    line-height: 1.25 !important;
}

.pk-install-help {
    margin: -16px 0 26px !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    background: #fff8d9 !important;
    color: #263238 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

.pk-install-actions {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 14px !important;
}

.pk-install-actions button {
    min-width: 120px !important;
    min-height: 52px !important;
    padding: 0 26px !important;
    border: 1px solid #c7d2ff !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #4054c8 !important;
    font-size: clamp(18px, 2vw, 24px) !important;
    font-weight: 650 !important;
    cursor: pointer !important;
}

.pk-install-actions button:hover,
.pk-install-actions button:focus-visible {
    background: #f5f7ff !important;
}

@media (max-width: 689.98px) {
    .pk-install-modal {
        padding-top: 42px !important;
    }

    .pk-install-dialog {
        border-radius: 14px !important;
        padding: 24px !important;
    }

    .pk-install-app-row {
        gap: 16px !important;
        margin-bottom: 28px !important;
    }

    .pk-install-actions {
        gap: 10px !important;
    }

    .pk-install-actions button {
        min-width: 0 !important;
        flex: 1 1 0 !important;
        min-height: 48px !important;
        padding-inline: 16px !important;
    }
}

/* Hide install-app option for now; PWA files remain available for later. */
.pk-install-app,
.pk-install-modal {
    display: none !important;
}

/* Mobile header cleanup: keep controls from sitting on top of the logo. */
@media (max-width: 689.98px) {
    #header [data-row*="middle"] .ct-container,
    #header [data-row*="middle"] [data-column="middle"],
    #header [data-row*="middle"] [data-column="end"] {
        gap: 8px !important;
    }

    #header .site-branding,
    #header .site-logo-container {
        min-width: 0 !important;
        max-width: calc(100vw - 188px) !important;
        overflow: hidden !important;
    }

    #header .site-logo-container img,
    #header .custom-logo {
        max-width: min(250px, calc(100vw - 188px)) !important;
        height: auto !important;
    }

    #header .pk-darkmode-nav {
        flex: 0 0 auto !important;
        margin-left: 4px !important;
        margin-right: 4px !important;
        order: 20 !important;
    }

    #header .pk-darkmode-button {
        width: 34px !important;
        height: 30px !important;
        border-radius: 6px !important;
    }

    #header .pk-darkmode-icon {
        width: 18px !important;
        height: 18px !important;
        font-size: 15px !important;
    }

    #header .pk-header-flag {
        flex: 0 0 24px !important;
        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        margin-left: 4px !important;
        order: 21 !important;
    }

    #header .pk-header-flag [id^="gtranslate_menu_wrapper_"],
    #header .pk-header-flag .gt_switcher,
    #header .pk-header-flag .gt_switcher .gt_selected,
    #header .pk-header-flag .gt_switcher .gt_selected a {
        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
    }

    #header .pk-header-flag .gt_switcher .gt_selected a img {
        width: 24px !important;
        max-width: 24px !important;
    }

    #header .ct-header-trigger,
    #header [data-id="trigger"] {
        flex: 0 0 auto !important;
        margin-left: 8px !important;
        order: 30 !important;
    }
}

/* Mobile header correction: keep the logo visible while controls stay separate. */
@media (max-width: 689.98px) {
    #header .site-branding,
    #header .site-logo-container,
    #header [data-id="logo"] {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100vw - 148px) !important;
        overflow: hidden !important;
    }

    #header [data-id="logo"] a,
    #header .site-logo-container a {
        display: flex !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    #header .site-logo-container img,
    #header .custom-logo,
    #header [data-id="logo"] img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        max-width: min(230px, calc(100vw - 148px)) !important;
        height: auto !important;
        object-fit: contain !important;
    }

    #header .ct-header-search {
        display: none !important;
    }

    #header .pk-darkmode-nav {
        margin-left: 2px !important;
        margin-right: 2px !important;
    }

    #header .pk-header-flag {
        margin-left: 2px !important;
    }

    #header .ct-header-trigger,
    #header [data-id="trigger"] {
        margin-left: 6px !important;
    }
}

/* Header login/register buttons and auth modal. */
.pk-auth-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-inline: 8px !important;
}

.pk-auth-link {
    display: inline-flex !important;
    min-height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 13px !important;
    border: 0 !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.pk-auth-login {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

.pk-auth-register {
    background: #ffd21a !important;
    color: #00363b !important;
}

.pk-auth-link:hover,
.pk-auth-link:focus-visible {
    transform: translateY(-1px) !important;
}

.pk-auth-modal[hidden] {
    display: none !important;
}

.pk-auth-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100001 !important;
    display: grid !important;
    place-items: center !important;
    padding: 18px !important;
}

.pk-auth-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 22, 25, 0.62) !important;
    backdrop-filter: blur(2px) !important;
}

.pk-auth-dialog {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(240px, 0.88fr) minmax(280px, 1fr) !important;
    width: min(880px, 100%) !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #1f3445 !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3) !important;
}

.pk-auth-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 3 !important;
    width: 34px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(0, 84, 91, 0.08) !important;
    color: #00363b !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.pk-auth-panel {
    display: flex !important;
    min-height: 440px !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: clamp(28px, 4vw, 42px) !important;
    background: radial-gradient(circle at 88% 82%, rgba(255, 210, 26, 0.18), transparent 32%), linear-gradient(135deg, #00383e, #00545b) !important;
    color: #ffffff !important;
}

.pk-auth-panel span {
    display: inline-flex !important;
    width: fit-content !important;
    margin-bottom: 14px !important;
    padding: 7px 10px !important;
    border-radius: 4px !important;
    background: #ffd21a !important;
    color: #00363b !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.pk-auth-panel h2 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(32px, 4vw, 48px) !important;
    line-height: 1.05 !important;
}

.pk-auth-panel p {
    margin: 14px 0 0 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
}

.pk-auth-forms {
    padding: clamp(28px, 4vw, 42px) !important;
}

.pk-auth-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 22px !important;
    padding: 5px !important;
    border-radius: 8px !important;
    background: #eef4f5 !important;
}

.pk-auth-tabs button {
    min-height: 42px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #00545b !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

.pk-auth-tabs button.is-active {
    background: #00545b !important;
    color: #ffffff !important;
}

.pk-auth-form {
    display: none !important;
}

.pk-auth-form.is-active {
    display: grid !important;
    gap: 15px !important;
}

.pk-auth-form label span {
    display: block !important;
    margin-bottom: 7px !important;
    color: #00545b !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

.pk-auth-form input {
    width: 100% !important;
    min-height: 46px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(0, 84, 91, 0.16) !important;
    border-radius: 6px !important;
    background: #f6f8f9 !important;
    color: #1f3445 !important;
}

.pk-auth-form button[type="submit"] {
    min-height: 48px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #ffd21a !important;
    color: #00363b !important;
    font-weight: 950 !important;
    cursor: pointer !important;
}

.pk-auth-form a,
.pk-auth-form p {
    margin: 0 !important;
    color: #52677a !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.pk-auth-form a {
    color: #00545b !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

@media (max-width: 999.98px) {
    .pk-auth-actions {
        display: none !important;
    }
}

@media (max-width: 689.98px) {
    .pk-auth-dialog {
        grid-template-columns: 1fr !important;
        max-height: calc(100vh - 28px) !important;
        overflow: auto !important;
    }

    .pk-auth-panel {
        min-height: auto !important;
        padding: 28px 24px !important;
    }

    .pk-auth-panel h2 {
        font-size: 32px !important;
    }

    .pk-auth-forms {
        padding: 24px !important;
    }
}

/* Mobile drawer account actions. */
.pk-mobile-auth-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 0 0 18px !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid rgba(0, 84, 91, 0.12) !important;
}

.pk-mobile-auth-actions .pk-auth-link {
    width: 100% !important;
    min-height: 44px !important;
}

.pk-mobile-auth-actions .pk-auth-login {
    background: #00545b !important;
    color: #ffffff !important;
}

@media (min-width: 1000px) {
    .pk-mobile-auth-actions {
        display: none !important;
    }
}
