/*
 * PKHA public theme.
 *
 * The look of pkha.gov.pk (Oswald headings, Lato body, Crimson Pro quotes, highway yellow
 * on navy, the diagonal-arrow buttons) carried into the new site, with glass
 * surfaces and a light and a dark palette. Colours come from themes.css.
 *
 *  01 Base            06 Page title bar     11 Shared components
 *  02 Buttons         07 Footer             12 Bootstrap in dark mode
 *  03 Top bar         08 Search overlay     13 Legacy surfaces in dark mode
 *  04 Header & menu   09 Glass utilities    14 Motion
 *  05 Mobile drawer   10 Home sections
 */

/* ───────────────────────── 01 Base ───────────────────────── */

:root {
    --pk-font-display: "Oswald", "Arial Narrow", Arial, sans-serif;
    --pk-font-serif: "Crimson Pro", Georgia, "Times New Roman", serif;
}

html {
    font-size: 15px;
    scroll-padding-top: 110px;
}

@media (min-width: 1600px) {
    html {
        font-size: 16px;
    }
}

body#Body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--pk-text);
    background-color: var(--pk-bg);
    background-image: var(--pk-bg-glow);
    background-attachment: fixed;
    padding-top: 0 !important;
    -webkit-font-smoothing: antialiased;
}

body#Body h1,
body#Body h2,
body#Body h3,
body#Body h4,
body#Body h5,
body#Body h6,
.pk-heading-font {
    font-family: var(--pk-font-display);
    color: var(--pk-heading);
    letter-spacing: -0.01em;
}

body#Body a {
    color: inherit;
}

body#Body main a:not(.ea-btn):not(.btn):not(.pk-btn):not(.nav-link):not(.page-link):not(.dropdown-item):hover {
    color: var(--accent-600);
}

::selection {
    background: var(--pk-yellow);
    color: var(--pk-on-yellow);
}

:focus-visible {
    outline: 2px solid var(--pk-yellow);
    outline-offset: 2px;
}

main#pk-main {
    position: relative;
    min-height: 40vh;
}

#skip-link-holder a {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    padding: 0.6rem 1rem;
    background: var(--pk-yellow);
    color: var(--pk-on-yellow);
    font-weight: 600;
}

#skip-link-holder a:focus {
    left: 1rem;
    top: 1rem;
}

.pk-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 992px) {
    .pk-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* ───────────────────────── 02 Buttons ───────────────────────── */

.pk-btn {
    --pk-btn-bg: var(--pk-yellow);
    --pk-btn-fg: var(--pk-on-yellow);
    --pk-btn-hover-bg: var(--pk-navy);
    --pk-btn-hover-fg: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1.5rem;
    border: 0;
    border-radius: 0;
    background: var(--pk-btn-bg);
    color: var(--pk-btn-fg) !important;
    font-family: var(--pk-font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.35s ease;
    cursor: pointer;
}

.pk-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--pk-btn-hover-bg);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s cubic-bezier(0.7, 0, 0.3, 1);
}

.pk-btn:hover,
.pk-btn:focus-visible {
    color: var(--pk-btn-hover-fg) !important;
}

.pk-btn:hover::before,
.pk-btn:focus-visible::before {
    transform: scaleY(1);
}

.pk-btn .pk-arrow {
    width: 11px;
    height: 11px;
    transition: transform 0.35s ease;
}

.pk-btn:hover .pk-arrow {
    transform: rotate(45deg);
}

.pk-btn--navy {
    --pk-btn-bg: var(--pk-navy);
    --pk-btn-fg: #fff;
    --pk-btn-hover-bg: var(--pk-yellow);
    --pk-btn-hover-fg: var(--pk-on-yellow);
}

[data-theme="dark"] .pk-btn--navy {
    --pk-btn-bg: var(--pk-surface-raised);
}

.pk-btn--ghost {
    --pk-btn-bg: transparent;
    --pk-btn-fg: var(--pk-heading);
    box-shadow: inset 0 0 0 1px var(--pk-border);
}

.pk-btn--sm {
    padding: 0.55rem 1rem;
    font-size: 0.75rem;
}

.pk-arrow line {
    stroke: currentColor;
    stroke-width: 2;
}

/* The old .ea-btn and Bootstrap's primary/warning buttons, in the PKHA style. */
body#Body .ea-btn {
    border-radius: 0;
    font-family: var(--pk-font-display);
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: none;
}

body#Body .ea-btn:not(.danger):not(.success):not(.info):not(.secondary):not(.light):not(.dark):not(.purple):not(.outline) {
    background: var(--pk-yellow);
    color: var(--pk-on-yellow);
}

body#Body .btn-primary,
body#Body .btn-warning {
    --bs-btn-bg: var(--pk-yellow);
    --bs-btn-border-color: var(--pk-yellow);
    --bs-btn-color: var(--pk-on-yellow);
    --bs-btn-hover-bg: var(--pk-yellow-strong);
    --bs-btn-hover-border-color: var(--pk-yellow-strong);
    --bs-btn-hover-color: var(--pk-on-yellow);
    --bs-btn-active-bg: var(--pk-yellow-strong);
    --bs-btn-active-border-color: var(--pk-yellow-strong);
    --bs-btn-active-color: var(--pk-on-yellow);
    --bs-btn-disabled-bg: var(--pk-yellow);
    --bs-btn-disabled-border-color: var(--pk-yellow);
    --bs-btn-disabled-color: var(--pk-on-yellow);
    font-weight: 600;
}

body#Body .btn-outline-primary {
    --bs-btn-color: var(--accent-700);
    --bs-btn-border-color: var(--pk-yellow);
    --bs-btn-hover-bg: var(--pk-yellow);
    --bs-btn-hover-border-color: var(--pk-yellow);
    --bs-btn-hover-color: var(--pk-on-yellow);
    --bs-btn-active-bg: var(--pk-yellow);
    --bs-btn-active-color: var(--pk-on-yellow);
}

body#Body .text-primary {
    color: var(--accent-700) !important;
}

body#Body .bg-primary {
    background-color: var(--pk-navy) !important;
}

/* ───────────────────────── 03 Top bar ───────────────────────── */

.pk-topbar {
    background: var(--pk-topbar-bg);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    position: relative;
    z-index: 1031;
}

.pk-topbar .pk-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 42px;
}

.pk-topbar-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.pk-topbar-info li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pk-topbar-info i {
    color: var(--pk-yellow);
}

.pk-topbar a {
    color: inherit !important;
    text-decoration: none;
}

.pk-topbar a:hover {
    color: var(--pk-yellow) !important;
}

.pk-topbar-right {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-shrink: 0;
}

.pk-gov-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding-right: 1.1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.pk-gov-flag img {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.pk-social {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pk-social a {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background 0.25s ease, color 0.25s ease;
}

.pk-social a:hover {
    background: var(--pk-yellow);
    color: var(--pk-on-yellow) !important;
}

.pk-gov-flag:last-child {
    padding-right: 0;
    border-right: 0;
}

/* On smaller screens the address gives way to the email and phone. */
@media (max-width: 991.98px) {
    .pk-topbar-info li:first-child,
    .pk-gov-flag span {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .pk-topbar .pk-container {
        justify-content: center;
        min-height: 36px;
    }

    .pk-topbar-info {
        gap: 1rem;
        font-size: 0.75rem;
    }

    .pk-topbar-right {
        display: none;
    }
}

/* ───────────────────────── 04 Header & menu ───────────────────────── */

.pk-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--pk-header-bg);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--pk-border);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.pk-header.is-scrolled {
    background: var(--pk-header-solid);
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.25);
}

/* While a menu is open the header is solid, so the panel reads as one piece. */
/*
 * The header drops its own backdrop blur meanwhile: a blurred ancestor would
 * confine the panel's frosted glass to the header and leave the page behind sharp.
 */
.pk-header:has(.pk-nav-item.is-open),
.pk-header.has-open-menu {
    background: var(--pk-header-solid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

@media (hover: hover) and (min-width: 1200px) {
    .pk-header:has(.pk-nav-item:hover) {
        background: var(--pk-header-solid);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

/*
 * Over a full-bleed hero (the home page) the top bar and header start
 * transparent with light text, and the header turns solid once scrolled.
 */
body.pk-has-hero {
    --pk-chrome-h: 126px;
}

body.pk-has-hero .pk-topbar {
    background: rgba(0, 8, 22, 0.32);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.pk-has-hero:not(:has(.pk-topbar:hover, .pk-header:hover)) .pk-header:not(.is-scrolled):not(:has(.pk-nav-item.is-open)) {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

body.pk-has-hero:not(:has(.pk-topbar:hover, .pk-header:hover)) .pk-header:not(.is-scrolled):not(:has(.pk-nav-item.is-open)) :is(.pk-brand, .pk-nav-link) {
    color: #fff !important;
}

body.pk-has-hero:not(:has(.pk-topbar:hover, .pk-header:hover)) .pk-header:not(.is-scrolled):not(:has(.pk-nav-item.is-open)) .pk-brand-name span {
    color: var(--pk-yellow);
}

body.pk-has-hero:not(:has(.pk-topbar:hover, .pk-header:hover)) .pk-header:not(.is-scrolled):not(:has(.pk-nav-item.is-open)) .pk-brand-tag {
    color: rgba(255, 255, 255, 0.7);
}

body.pk-has-hero:not(:has(.pk-topbar:hover, .pk-header:hover)) .pk-header:not(.is-scrolled):not(:has(.pk-nav-item.is-open)) .pk-nav-item:hover > .pk-nav-link,
body.pk-has-hero:not(:has(.pk-topbar:hover, .pk-header:hover)) .pk-header:not(.is-scrolled):not(:has(.pk-nav-item.is-open)) .pk-nav-item.is-open > .pk-nav-link {
    background: rgba(255, 255, 255, 0.12);
}

body.pk-has-hero:not(:has(.pk-topbar:hover, .pk-header:hover)) .pk-header:not(.is-scrolled):not(:has(.pk-nav-item.is-open)) .pk-actions > .pk-icon-btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

body.pk-has-hero:not(:has(.pk-topbar:hover, .pk-header:hover)) .pk-header:not(.is-scrolled):not(:has(.pk-nav-item.is-open)) .pk-actions > .pk-icon-btn:hover {
    background: var(--pk-yellow);
    border-color: var(--pk-yellow);
    color: var(--pk-on-yellow);
}

/* Pointing anywhere at the top bar or header makes both solid at once. */
body.pk-has-hero:has(.pk-topbar:hover, .pk-header:hover) .pk-topbar {
    background: var(--pk-topbar-bg);
    transition: none;
}

body.pk-has-hero:has(.pk-topbar:hover, .pk-header:hover) .pk-header {
    background: var(--pk-header-solid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: none;
}

body.pk-has-hero .pk-hero {
    margin-top: calc(-1 * var(--pk-chrome-h));
}

body.pk-has-hero .pk-hero-content {
    padding-top: var(--pk-chrome-h);
}

@media (max-width: 575.98px) {
    body.pk-has-hero {
        --pk-chrome-h: 112px;
    }
}

.pk-header-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 84px;
    transition: min-height 0.3s ease;
}

.pk-header.is-scrolled .pk-header-inner {
    min-height: 68px;
}

/* Brand */
.pk-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    flex-shrink: 0;
    color: var(--pk-heading) !important;
}

.pk-brand-emblem {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px var(--pk-yellow-soft), var(--pk-shadow-sm);
    overflow: hidden;
    flex-shrink: 0;
    transition: width 0.3s ease, height 0.3s ease;
}

.pk-header.is-scrolled .pk-brand-emblem {
    width: 48px;
    height: 48px;
}

.pk-brand-emblem img {
    width: 92%;
    height: 92%;
    object-fit: contain;
}

.pk-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.pk-brand-name {
    font-family: var(--pk-font-display);
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.pk-brand-name span {
    color: var(--accent-600);
}

[data-theme="light"] .pk-brand-name span {
    color: var(--pk-yellow-strong);
}

.pk-brand-tag {
    margin-top: 0.25rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pk-muted);
}

.pk-brand-guest {
    height: 52px;
    width: auto;
}

/* Primary navigation */
.pk-nav {
    flex: 1;
    align-self: stretch;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.pk-nav-list {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pk-nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.pk-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 1rem;
    border: 0;
    background: none;
    color: var(--pk-heading) !important;
    font-family: var(--pk-font-display);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.pk-nav-link .bi-chevron-down {
    font-size: 0.85rem;
    -webkit-text-stroke: 0.6px currentColor;
    transition: transform 0.25s ease;
}

/* The bar under the open or current item. */
.pk-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--pk-yellow);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.pk-nav-item:hover > .pk-nav-link,
.pk-nav-item.is-open > .pk-nav-link {
    background: var(--pk-menu-bg);
}

.pk-nav-item:hover > .pk-nav-link::after,
.pk-nav-item.is-open > .pk-nav-link::after,
.pk-nav-item.is-current > .pk-nav-link::after {
    transform: scaleX(1);
}

.pk-nav-item:hover > .pk-nav-link .bi-chevron-down,
.pk-nav-item.is-open > .pk-nav-link .bi-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown and its side flyouts */
.pk-dd {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    min-width: 270px;
    max-width: 340px;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
    background: var(--pk-menu-bg);
    border: 1px solid var(--pk-border);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 24px 50px -18px rgba(0, 10, 30, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    pointer-events: none;
}

.pk-dd--sub {
    top: -0.5rem;
    left: 100%;
    border-top: 1px solid var(--pk-border);
    border-radius: 12px;
    transform: translateX(-6px);
}

/* Near the right edge the dropdown and its flyouts open to the left. */
.pk-nav-item.is-flipped > .pk-dd {
    left: auto;
    right: 0;
}

.pk-nav-item.is-flipped .pk-dd--sub {
    left: auto;
    right: 100%;
    transform: translateX(6px);
}

.pk-nav-item.is-open > .pk-dd,
.pk-dd-item.is-open > .pk-dd {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

@media (hover: hover) and (min-width: 1200px) {
    .pk-nav-item:hover > .pk-dd,
    .pk-nav-item:focus-within > .pk-dd,
    .pk-dd-item:hover > .pk-dd,
    .pk-dd-item:focus-within > .pk-dd {
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }
}

.pk-dd-item {
    position: relative;
}

.pk-dd-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1.25rem;
    color: var(--pk-heading) !important;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.15s ease;
}

.pk-dd-link .bi-chevron-right {
    flex-shrink: 0;
    font-size: 1rem;
    -webkit-text-stroke: 0.3px currentColor;
    color: var(--pk-muted);
}

.pk-dd-link:hover,
.pk-dd-link:focus-visible,
.pk-dd-item:hover > .pk-dd-link,
.pk-dd-item.is-open > .pk-dd-link {
    background: var(--pk-yellow-soft);
}

.pk-dd-item:hover > .pk-dd-link .bi-chevron-right,
.pk-dd-item.is-open > .pk-dd-link .bi-chevron-right {
    color: var(--pk-yellow);
}

/* Header actions */
.pk-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.pk-icon-btn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--pk-border);
    border-radius: 50%;
    background: var(--pk-glass);
    color: var(--pk-heading);
    font-size: 1.05rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pk-icon-btn:hover,
.pk-icon-btn:focus-visible {
    background: var(--pk-yellow);
    border-color: var(--pk-yellow);
    color: var(--pk-on-yellow);
}

.pk-icon-btn:active {
    transform: scale(0.94);
}

.pk-icon-btn .notification-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: #e5383b;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.pk-icon-btn .bi-bell-fill.ringing {
    animation: pk-ring 1.6s ease-in-out infinite;
    transform-origin: 50% 0;
}

@keyframes pk-ring {
    0%, 60%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(14deg); }
    20%, 40% { transform: rotate(-14deg); }
}

.pk-theme-icon-light,
[data-theme="light"] .pk-theme-icon-dark {
    display: none;
}

[data-theme="light"] .pk-theme-icon-light {
    display: inline;
}

.pk-cta {
    margin-left: 0.4rem;
}

.pk-burger {
    display: none;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-left: -0.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pk-heading);
    font-size: 1.9rem;
    line-height: 1;
}

body.pk-has-hero:not(:has(.pk-topbar:hover, .pk-header:hover)) .pk-header:not(.is-scrolled) .pk-burger {
    color: #fff;
}

/* Booking sub-navigation, shown to a signed-in guest under the header. */
.pk-subnav {
    border-top: 1px solid var(--pk-border);
}

.pk-subnav .pk-container {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 50px;
    overflow-x: auto;
    scrollbar-width: none;
}

.pk-subnav .pk-container::-webkit-scrollbar {
    display: none;
}

.pk-subnav-label {
    margin-right: 0.5rem;
    font-family: var(--pk-font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pk-muted);
    white-space: nowrap;
}

.pk-subnav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--pk-heading) !important;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.pk-subnav-link:hover {
    background: var(--pk-yellow-soft);
}

.pk-subnav-link.active {
    background: var(--pk-yellow);
    color: var(--pk-on-yellow) !important;
}

.pk-subnav-user {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pk-subnav-user img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--pk-yellow);
}

@media (max-width: 1399.98px) {
    .pk-nav-link {
        padding: 0 0.6rem;
        font-size: 0.98rem;
    }

    .pk-brand-name {
        font-size: 0.95rem;
    }
}

@media (max-width: 1199.98px) {
    .pk-nav,
    .pk-cta {
        display: none;
    }

    .pk-actions {
        margin-left: auto;
    }

    .pk-burger {
        display: inline-grid;
    }
}

/* On phones the emblem stands alone, after the menu button. */
@media (max-width: 767.98px) {
    .pk-header .pk-brand-text {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .pk-header-inner {
        min-height: 70px;
        gap: 0.5rem;
    }

    .pk-brand-emblem {
        width: 46px;
        height: 46px;
    }

    .pk-brand-name {
        font-size: 0.8rem;
    }

    .pk-brand-tag {
        display: none;
    }

    .pk-icon-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .pk-actions .pk-hide-xs {
        display: none;
    }
}

/* ───────────────────────── 05 Mobile drawer ───────────────────────── */

.pk-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(0, 8, 20, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.pk-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    width: min(380px, 86vw);
    background: var(--pk-menu-bg);
    border-right: 1px solid var(--pk-border);
    box-shadow: 20px 0 50px -20px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.7, 0, 0.3, 1);
}

body.pk-drawer-open {
    overflow: hidden;
}

body.pk-drawer-open .pk-drawer {
    transform: none;
}

body.pk-drawer-open .pk-drawer-backdrop {
    opacity: 1;
    visibility: visible;
}

.pk-drawer-head {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pk-drawer-close {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 60px;
    border: 0;
    background: none;
    color: var(--pk-heading);
    font-size: 1.5rem;
}

.pk-drawer-close::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--pk-yellow);
}

/* Panels are stacked; stepping in slides the next one over the last. */
.pk-drawer-body {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.pk-drill {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: 0.5rem 0 1.5rem;
    background: var(--pk-menu-bg);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.7, 0, 0.3, 1), visibility 0.3s;
}

.pk-drill.is-active {
    transform: none;
    visibility: visible;
}

.pk-drill.is-behind {
    transform: translateX(-30%);
}

.pk-drill-back {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0.25rem 0 0 0.5rem;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--pk-heading);
    font-size: 1.25rem;
}

.pk-drill-back:hover {
    background: var(--pk-yellow-soft);
}

.pk-drill-title {
    padding: 0.75rem 1.25rem 0.5rem;
    font-family: var(--pk-font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pk-heading);
}

.pk-drill-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pk-drill-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.8rem 1.25rem;
    border: 0;
    background: none;
    color: var(--pk-heading) !important;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    transition: background 0.15s ease;
}

.pk-drill-link .bi-chevron-right {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--pk-muted);
}

.pk-drill-link:hover,
.pk-drill-link:focus-visible {
    background: var(--pk-yellow-soft);
    text-decoration: none !important;
}

.pk-drawer-search {
    position: relative;
    padding: 0.75rem 1.25rem;
}

.pk-drawer-search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.pk-drawer-search-field > i {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    color: var(--pk-muted);
    pointer-events: none;
}

.pk-drawer-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.6rem;
    border: 1px solid var(--pk-border);
    border-radius: 12px;
    background: var(--pk-input-bg);
    color: var(--pk-heading);
}

.pk-drawer-foot {
    margin-top: 1rem;
    padding: 1rem 1.25rem 0;
    border-top: 1px solid var(--pk-border);
    font-size: 0.82rem;
    color: var(--pk-muted);
}

.pk-drawer-foot .pk-social a {
    border: 1px solid var(--pk-border);
    color: var(--pk-heading) !important;
}

/* ───────────────────────── 06 Page title bar ───────────────────────── */

.pk-pagehead {
    position: relative;
    padding: 2.25rem 0 2rem;
    color: #fff;
    background: var(--pk-navy) var(--pk-pagehead-image) center / cover no-repeat;
    overflow: hidden;
    isolation: isolate;
}

.pk-pagehead::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(0, 15, 39, 0.94) 0%, rgba(0, 30, 76, 0.78) 50%, rgba(0, 30, 76, 0.45) 100%);
}

.pk-pagehead::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--pk-yellow) 0 46px, transparent 46px 70px);
    opacity: 0.85;
}

/* Title on the left, breadcrumb on the right. */
.pk-pagehead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.pk-pagehead-text {
    min-width: 0;
}

.pk-pagehead-crumbs {
    flex-shrink: 0;
    max-width: 50%;
}

body#Body .pk-pagehead h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.1rem);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    max-width: 900px;
}

.pk-pagehead-subtitle {
    display: block;
    margin-top: 0.75rem;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
}

/*
 * The breadcrumb sits over the lighter right side of the photo, so it gets
 * its own dark glass pill and white text in both themes.
 */
.pk-pagehead .breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0.6rem 1.35rem;
    border-radius: 999px;
    background: rgba(0, 10, 28, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.7);
    --bs-breadcrumb-item-active-color: var(--pk-yellow);
    --bs-breadcrumb-item-padding-x: 0.6rem;
}

.pk-pagehead .breadcrumb a {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pk-pagehead .breadcrumb a:hover {
    color: var(--pk-yellow) !important;
}

.pk-pagehead .breadcrumb-item {
    color: #fff;
}

.pk-pagehead .breadcrumb-item.active {
    color: var(--pk-yellow);
}

.pk-pagehead .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767.98px) {
    .pk-pagehead {
        padding: 1.75rem 0 1.5rem;
    }

    .pk-pagehead-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pk-pagehead-crumbs {
        max-width: 100%;
    }
}

/* Flash messages */
.pk-flash {
    padding-top: 1.25rem;
}

.pk-flash .alert {
    margin: 0;
    border-radius: 14px;
    border: 1px solid var(--pk-border);
    background: var(--pk-glass-strong);
    color: var(--pk-heading);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: var(--pk-shadow-sm);
}

.pk-flash .alert-success i {
    color: #2fb171;
}

.pk-flash .alert-warning i {
    color: var(--pk-yellow);
}

/* ───────────────────────── 07 Footer ───────────────────────── */

.pk-footer {
    position: relative;
    margin-top: 3.5rem;
    background: var(--pk-footer-bg);
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    overflow: hidden;
    isolation: isolate;
}

.pk-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(700px 400px at 90% 0%, rgba(249, 173, 0, 0.12), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(40, 100, 220, 0.14), transparent 60%);
}

.pk-footer a {
    color: inherit !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pk-footer a:hover {
    color: var(--pk-yellow) !important;
}

.pk-footer-cta {
    position: relative;
    top: -1px;
}

.pk-footer-cta-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 2rem;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pk-footer-cta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.15rem;
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.pk-footer-cta-item i {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pk-yellow);
    color: var(--pk-on-yellow);
    font-size: 1rem;
}

.pk-footer-cta-item small {
    display: block;
    font-size: 0.66rem;
    line-height: 1.3;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.pk-footer-cta-item span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    word-break: break-word;
}

.pk-footer-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.3fr) 3fr;
    gap: 2.25rem;
    padding: 2.25rem 0 1.75rem;
}

.pk-footer-brand .pk-brand {
    color: #fff !important;
}

.pk-footer-brand .pk-brand-tag {
    color: rgba(255, 255, 255, 0.55);
}

.pk-footer-brand p {
    margin: 0.85rem 0;
    line-height: 1.65;
}

.pk-footer-brand .pk-social a {
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.pk-footer-cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    align-content: start;
}

.pk-footer p {
    font-size: 0.92rem;
    line-height: 1.7;
}

.pk-footer-about {
    color: rgba(255, 255, 255, 0.68);
}

.pk-footer-more {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.25rem;
    color: var(--pk-yellow) !important;
    font-weight: 600;
    white-space: nowrap;
}

/* The newsletter spans the last three menu columns, as one row. */
.pk-footer-newsletter {
    grid-column: 2 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 0.85rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

body#Body .pk-footer-newsletter h3 {
    margin-bottom: 0.35rem;
}

body#Body .pk-footer-newsletter h3::after {
    display: none;
}

.pk-footer-newsletter p {
    margin: 0;
}

.pk-footer-newsletter .pk-footer-subscribe {
    flex: 1 1 280px;
    max-width: 420px;
    margin-top: 0;
}

body#Body .pk-footer h3 {
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body#Body .pk-footer h3::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 0.5rem;
    background: var(--pk-yellow);
}

.pk-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.pk-footer-links a {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
}

.pk-footer-links a::before {
    content: "";
    width: 0;
    height: 1px;
    background: var(--pk-yellow);
    transition: width 0.2s ease;
    align-self: center;
}

.pk-footer-links a:hover::before {
    width: 10px;
}

.pk-footer-subscribe {
    display: flex;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.pk-footer-subscribe input {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 1rem;
    border: 0;
    background: transparent;
    color: #fff;
}

.pk-footer-subscribe input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.pk-footer-subscribe button {
    padding: 0 1.1rem;
    border: 0;
    background: var(--pk-yellow);
    color: var(--pk-on-yellow);
    font-weight: 700;
}

.pk-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 0;
    font-size: 0.82rem;
}

.pk-footer-bottom .pk-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.pk-footer-road {
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--pk-yellow) 0 46px, transparent 46px 70px);
}

.pk-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1020;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.pk-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.pk-to-top .pk-icon-btn {
    background: var(--pk-yellow);
    border-color: var(--pk-yellow);
    color: var(--pk-on-yellow);
    box-shadow: var(--pk-shadow-sm);
}

@media (max-width: 991.98px) {
    .pk-footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pk-footer-cta-inner {
        grid-template-columns: 1fr;
    }
}

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

    .pk-footer-newsletter {
        grid-column: 1 / -1;
    }

    .pk-footer-bottom .pk-container {
        justify-content: center;
        text-align: center;
    }
}

/* ───────────────────────── 08 Search overlay ───────────────────────── */

.pk-search {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 18vh 16px 0;
    background: rgba(0, 10, 28, 0.72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
}

body.pk-search-open .pk-search {
    opacity: 1;
    visibility: visible;
}

.pk-search-box {
    width: min(760px, 100%);
}

.pk-search-label {
    display: block;
    margin-bottom: 0.75rem;
    font-family: var(--pk-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pk-yellow);
}

.pk-search-field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.35);
    transition: border-color 0.2s ease;
}

.pk-search-field:focus-within {
    border-color: var(--pk-yellow);
}

.pk-search-field i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.pk-search-field input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: var(--pk-font-display);
    font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem);
    outline: none;
}

.pk-search-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.pk-search-hint {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.pk-search-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.search-suggestions {
    background: var(--pk-glass-strong) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--pk-glass-border) !important;
    border-radius: 14px !important;
    box-shadow: var(--pk-shadow) !important;
    color: var(--pk-heading);
    z-index: 1070 !important;
}

.search-suggestions a,
.search-suggestions .search-item {
    color: var(--pk-heading) !important;
}

.search-suggestions .search-item:hover,
.search-suggestions .search-item-focused {
    background: var(--pk-yellow-soft) !important;
}

/* News & updates popup, opened from the bell */
.pk-ntf {
    overflow: hidden;
    border: 1px solid var(--pk-border);
    border-radius: 18px;
    background: var(--pk-menu-bg);
    color: var(--pk-text);
    box-shadow: 0 30px 80px -20px rgba(0, 10, 30, 0.55);
}

.pk-ntf-head {
    position: relative;
    padding: 1.1rem 1.25rem 1rem;
    border-bottom: 1px solid var(--pk-border);
}

.pk-ntf-head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--pk-yellow);
}

.pk-ntf-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

body#Body .pk-ntf-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: var(--pk-heading);
    font-family: var(--pk-font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pk-ntf-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 1px;
    background: var(--pk-yellow);
    transform: rotate(45deg);
}

.pk-ntf-close {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
}

.pk-ntf-search {
    position: relative;
    display: flex;
    align-items: center;
}

.pk-ntf-search > i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    color: var(--pk-muted);
    pointer-events: none;
}

.pk-ntf-search input {
    width: 100%;
    padding: 0.8rem 2.75rem 0.8rem 2.7rem;
    border: 1px solid var(--pk-border);
    border-radius: 12px;
    background: var(--pk-input-bg);
    color: var(--pk-heading);
    font-size: 0.95rem;
    outline: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pk-ntf-search input::placeholder {
    color: var(--pk-muted);
}

.pk-ntf-search input:focus {
    border-color: var(--pk-yellow);
    box-shadow: 0 0 0 3px var(--pk-yellow-soft);
}

.pk-ntf-search-clear {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--pk-muted);
    font-size: 1.15rem;
    transform: translateY(-50%);
}

.pk-ntf-search-clear[hidden] {
    display: none;
}

.pk-ntf-search-clear:hover {
    background: var(--pk-yellow-soft);
    color: var(--pk-heading);
}

.pk-ntf-body {
    height: clamp(320px, 58vh, 640px);
    overflow-y: auto;
    padding: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: var(--pk-border) transparent;
}

#notification-list {
    display: grid;
    gap: 0.5rem;
}

/* Each update is a small card: type tile, tags, title and time. */
.pk-ntf-item {
    --pk-ntf-tone: var(--pk-yellow);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 0.9rem;
    overflow: hidden;
    border: 1px solid var(--pk-border);
    border-radius: 14px;
    background: var(--pk-input-bg);
    color: var(--pk-text) !important;
    text-decoration: none !important;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pk-ntf-item--event {
    --pk-ntf-tone: #2bb673;
}

.pk-ntf-item--gallery {
    --pk-ntf-tone: #4f8cff;
}

.pk-ntf-item:hover,
.pk-ntf-item:focus-visible {
    border-color: var(--pk-ntf-tone);
    box-shadow: 0 12px 26px -16px rgba(0, 10, 30, 0.6);
    transform: translateY(-2px);
}

.pk-ntf-item.is-new::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--pk-ntf-tone);
}

.pk-ntf-item-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--pk-ntf-tone) 16%, transparent);
    color: var(--pk-ntf-tone);
    font-size: 1.2rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.pk-ntf-item:hover .pk-ntf-item-icon {
    background: var(--pk-ntf-tone);
    color: #fff;
}

.pk-ntf-item--news:hover .pk-ntf-item-icon {
    color: var(--pk-on-yellow);
}

.pk-ntf-item-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.pk-ntf-item-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.3rem;
}

.pk-ntf-item-type,
.pk-ntf-item-cat,
.pk-ntf-item-new {
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
}

.pk-ntf-item-type {
    background: color-mix(in srgb, var(--pk-ntf-tone) 16%, transparent);
    color: var(--pk-heading);
}

.pk-ntf-item-cat {
    border: 1px solid var(--pk-border);
    color: var(--pk-muted);
}

.pk-ntf-item-new {
    background: #e5383b;
    color: #fff;
}

.pk-ntf-item-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--pk-heading);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.pk-ntf-item-meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.3rem;
    color: var(--pk-muted);
    font-size: 0.74rem;
}

.pk-ntf-item-arrow {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid var(--pk-border);
    border-radius: 50%;
    color: var(--pk-muted);
    font-size: 0.85rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pk-ntf-item:hover .pk-ntf-item-arrow {
    border-color: var(--pk-yellow);
    background: var(--pk-yellow);
    color: var(--pk-on-yellow);
    transform: rotate(45deg);
}

.pk-ntf-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    color: var(--pk-muted);
    font-size: 0.8rem;
}

.pk-ntf-loader .spinner-border {
    color: var(--pk-yellow);
}

.pk-ntf-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3.5rem 1.25rem;
    color: var(--pk-muted);
}

.pk-ntf-empty i {
    margin-bottom: 0.75rem;
    font-size: 2.5rem;
    opacity: 0.6;
}

.pk-ntf-empty p {
    margin: 0;
}

/* Footer: one full-width button to the notifications page. */
.pk-ntf-foot {
    padding: 0.75rem;
    border-top: 1px solid var(--pk-border);
}

.pk-ntf-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4rem 0.4rem 0.4rem 1.25rem;
    border-radius: 999px;
    background: var(--pk-yellow);
    color: var(--pk-on-yellow) !important;
    font-family: var(--pk-font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: box-shadow 0.2s ease;
}

.pk-ntf-all:hover {
    box-shadow: 0 10px 24px -10px var(--pk-yellow);
}

.pk-ntf-all-arrow {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pk-on-yellow);
    color: var(--pk-yellow);
    transition: transform 0.25s ease;
}

.pk-ntf-all:hover .pk-ntf-all-arrow {
    transform: translateX(-3px) rotate(-45deg);
}

@media (max-width: 575.98px) {
    .pk-ntf-body {
        height: clamp(280px, 50vh, 460px);
        padding: 0.5rem;
    }

    .pk-ntf-item {
        gap: 0.7rem;
        padding: 0.7rem;
    }

    .pk-ntf-item-icon {
        width: 40px;
        height: 40px;
    }

    .pk-ntf-item-arrow {
        display: none;
    }
}

/* ───────────────────────── 09 Glass utilities ───────────────────────── */

.pk-glass {
    background: var(--pk-glass);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    border: 1px solid var(--pk-glass-border);
    box-shadow: var(--pk-shadow-sm), inset 0 1px 0 var(--pk-glass-highlight);
    border-radius: 18px;
}

.pk-section {
    padding: 5rem 0;
    position: relative;
}

.pk-section--alt {
    background: var(--pk-bg-alt);
}

.pk-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.pk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-family: var(--pk-font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-600);
}

[data-theme="light"] .pk-eyebrow {
    color: var(--pk-yellow-strong);
}

.pk-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--pk-yellow);
    transform: rotate(45deg);
    border-radius: 1px;
    flex-shrink: 0;
}

body#Body .pk-title {
    margin: 0;
    font-size: clamp(1.8rem, 1.2rem + 2vw, 2.9rem);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    .pk-section {
        padding: 3.25rem 0;
    }
}

/* ───────────────────────── 10 Home sections ───────────────────────── */

/* Hero */
.pk-hero {
    position: relative;
    height: clamp(560px, 92vh, 880px);
    background: var(--pk-navy-deep);
    overflow: hidden;
    color: #fff;
}

.pk-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s;
}

.pk-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.pk-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 7s ease-out;
}

.pk-hero-slide.is-active .pk-hero-media {
    transform: scale(1);
}

.pk-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 10, 28, 0.88) 0%, rgba(0, 20, 52, 0.55) 55%, rgba(0, 20, 52, 0.15) 100%),
        linear-gradient(0deg, rgba(0, 10, 28, 0.6) 0%, transparent 40%);
}

.pk-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.pk-hero-copy {
    max-width: 760px;
    padding-bottom: 3rem;
}

.pk-hero-slide.is-active .pk-hero-copy > * {
    animation: pk-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.pk-hero-slide.is-active .pk-hero-copy > *:nth-child(2) {
    animation-delay: 0.12s;
}

.pk-hero-slide.is-active .pk-hero-copy > *:nth-child(3) {
    animation-delay: 0.24s;
}

.pk-hero-slide.is-active .pk-hero-copy > *:nth-child(4) {
    animation-delay: 0.36s;
}

body#Body .pk-hero-title {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(1.85rem, 1rem + 3.2vw, 3.9rem);
    font-weight: 700;
    line-height: 1.02;
    text-transform: uppercase;
}

.pk-hero-title em {
    font-style: normal;
    color: var(--pk-yellow);
}

.pk-hero-text {
    max-width: 560px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.pk-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pk-hero-meta i {
    color: var(--pk-yellow);
}

.pk-hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2rem;
    z-index: 3;
}

.pk-hero-controls .pk-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pk-hero-dots {
    display: flex;
    gap: 0.5rem;
}

.pk-hero-dot {
    position: relative;
    width: 46px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.28);
    overflow: hidden;
}

.pk-hero-dot span {
    position: absolute;
    inset: 0;
    background: var(--pk-yellow);
    transform: scaleX(0);
    transform-origin: left;
}

.pk-hero-dot.is-active span {
    animation: pk-progress var(--pk-hero-interval, 6s) linear forwards;
}

.pk-hero.is-paused .pk-hero-dot.is-active span {
    animation-play-state: paused;
}

.pk-hero-arrows {
    display: flex;
    gap: 0.5rem;
}

.pk-hero-arrows .pk-icon-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pk-hero-arrows .pk-icon-btn:hover {
    background: var(--pk-yellow);
    border-color: var(--pk-yellow);
    color: var(--pk-on-yellow);
}

@keyframes pk-progress {
    to {
        transform: scaleX(1);
    }
}

@keyframes pk-rise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Quick service cards, in a strip under the hero */
.pk-quick {
    position: relative;
    padding: 3.5rem 0 0;
}

.pk-quick-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    margin-bottom: 1.5rem;
}

.pk-quick-head .pk-eyebrow {
    margin: 0;
}

.pk-quick-head p {
    margin: 0;
    color: var(--pk-muted);
    font-size: 0.92rem;
}

.pk-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.pk-quick-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.6rem 1.5rem 1.4rem;
    border-radius: 20px;
    background: var(--pk-surface);
    border: 1px solid var(--pk-border);
    box-shadow: var(--pk-shadow-sm);
    text-decoration: none;
    color: var(--pk-heading) !important;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, color 0.35s ease;
}

/* Navy fills the card from the corner on hover. */
.pk-quick-item::before {
    content: "";
    position: absolute;
    right: -40%;
    top: -40%;
    width: 180%;
    aspect-ratio: 1;
    z-index: -1;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--pk-navy) 0%, var(--pk-navy-deep) 100%);
    transform: scale(0);
    transform-origin: 85% 15%;
    transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pk-quick-item:hover,
.pk-quick-item:focus-visible {
    transform: translateY(-6px);
    box-shadow: var(--pk-shadow);
    color: #fff !important;
}

.pk-quick-item:hover::before,
.pk-quick-item:focus-visible::before {
    transform: scale(1);
}

.pk-quick-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.pk-quick-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--pk-yellow-soft);
    color: var(--accent-600);
    font-size: 1.5rem;
    transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

[data-theme="light"] .pk-quick-icon {
    color: var(--pk-navy);
}

.pk-quick-item:hover .pk-quick-icon {
    background: var(--pk-yellow);
    color: var(--pk-on-yellow);
    transform: rotate(-8deg);
}

.pk-quick-num {
    font-family: var(--pk-font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--pk-border);
    transition: -webkit-text-stroke-color 0.35s ease;
}

.pk-quick-item:hover .pk-quick-num {
    -webkit-text-stroke-color: rgba(249, 173, 0, 0.6);
}

.pk-quick-item strong {
    font-family: var(--pk-font-display);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pk-quick-item small {
    color: var(--pk-muted);
    font-size: 0.86rem;
    line-height: 1.45;
    transition: color 0.35s ease;
}

.pk-quick-item:hover small {
    color: rgba(255, 255, 255, 0.72);
}

.pk-quick-go {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--pk-border);
    font-family: var(--pk-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-600);
    transition: border-color 0.35s ease, color 0.35s ease;
}

[data-theme="light"] .pk-quick-go {
    color: var(--pk-navy);
}

.pk-quick-go .pk-arrow {
    width: 10px;
    height: 10px;
    transition: transform 0.35s ease;
}

.pk-quick-item:hover .pk-quick-go {
    color: var(--pk-yellow);
    border-color: rgba(255, 255, 255, 0.14);
}

.pk-quick-item:hover .pk-quick-go .pk-arrow {
    transform: rotate(45deg);
}

@media (max-width: 991.98px) {
    .pk-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 479.98px) {
    .pk-quick-grid {
        grid-template-columns: 1fr;
    }
}

/* About */
.pk-about {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.pk-about-media {
    position: relative;
}

.pk-about-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
}

.pk-about-badge {
    position: absolute;
    right: -1.25rem;
    bottom: -1.25rem;
    padding: 1.25rem 1.5rem;
    max-width: 230px;
}

.pk-about-badge strong {
    display: block;
    font-family: var(--pk-font-display);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--pk-heading);
}

.pk-about-badge span {
    font-size: 0.82rem;
    color: var(--pk-muted);
}

.pk-about-text {
    margin: 1.25rem 0 1.5rem;
    font-size: 1.02rem;
}

.pk-checklist {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.pk-checklist li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--pk-heading);
}

.pk-checklist i {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 0.15rem;
    border-radius: 6px;
    background: var(--pk-yellow);
    color: var(--pk-on-yellow);
    font-size: 0.85rem;
}

@media (max-width: 991.98px) {
    .pk-about {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .pk-about-badge {
        right: 1rem;
        bottom: 1rem;
    }
}

/* About collage and the four functions */
.pk-about-collage {
    position: relative;
    padding: 0 18% 14% 0;
}

.pk-about-collage .pk-about-img-side {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 18px;
    border: 6px solid var(--pk-bg);
    box-shadow: var(--pk-shadow);
}

.pk-about-collage::before {
    content: "";
    position: absolute;
    left: -14px;
    top: -14px;
    width: 120px;
    height: 120px;
    z-index: -1;
    background-image: radial-gradient(var(--pk-yellow) 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.6;
}

.pk-about-collage + .pk-about-badge {
    left: -1rem;
    right: auto;
    bottom: 2rem;
}

.pk-functions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 4rem;
}

.pk-function {
    position: relative;
    padding: 1.75rem 1.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pk-function:hover {
    transform: translateY(-6px);
    border-color: var(--pk-yellow);
}

.pk-function > i {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.1rem;
    border-radius: 14px;
    background: var(--pk-yellow);
    color: var(--pk-on-yellow);
    font-size: 1.4rem;
}

body#Body .pk-function h3 {
    margin-bottom: 0.4rem;
    font-size: 1.15rem;
    text-transform: uppercase;
}

.pk-function p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--pk-muted);
}

.pk-function-num {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-family: var(--pk-font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--pk-border);
}

@media (max-width: 991.98px) {
    .pk-functions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 479.98px) {
    .pk-functions {
        grid-template-columns: 1fr;
    }
}

/* Events */
.pk-events {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.pk-event {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    color: var(--pk-text) !important;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pk-event:hover {
    transform: translateY(-4px);
    border-color: var(--pk-yellow);
}

.pk-event-date {
    display: grid;
    place-items: center;
    width: 76px;
    height: 84px;
    background: linear-gradient(160deg, var(--pk-navy) 0%, var(--pk-navy-deep) 100%);
    color: rgba(255, 255, 255, 0.75);
    border-radius: 14px;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    align-content: center;
}

.pk-event-date strong {
    display: block;
    font-family: var(--pk-font-display);
    font-size: 2rem;
    line-height: 1;
    color: var(--pk-yellow);
}

.pk-event-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.pk-event-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.pk-event-type,
.pk-event-badge {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pk-event-type {
    background: var(--pk-yellow-soft);
    color: var(--pk-heading);
}

.pk-event-badge {
    background: #2fb171;
    color: #fff;
}

.pk-event-title {
    font-family: var(--pk-font-display);
    font-size: 1.05rem;
    line-height: 1.3;
    color: var(--pk-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pk-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    font-size: 0.8rem;
    color: var(--pk-muted);
}

.pk-event-meta i {
    margin-right: 0.3rem;
    color: var(--accent-600);
}

.pk-event-thumb img {
    width: 92px;
    height: 84px;
    object-fit: cover;
    border-radius: 12px;
}

.pk-event:hover .pk-arrow-link {
    background: var(--pk-yellow);
    color: var(--pk-on-yellow) !important;
    transform: rotate(45deg);
}

@media (max-width: 1199.98px) {
    .pk-events {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .pk-event {
        grid-template-columns: auto 1fr;
    }

    .pk-event-thumb,
    .pk-event .pk-arrow-link {
        display: none;
    }
}

/* Stats band */
.pk-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: linear-gradient(120deg, var(--pk-navy) 0%, var(--pk-navy-deep) 100%);
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
}

.pk-stat {
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pk-stat:last-child {
    border-right: 0;
}

.pk-stat strong {
    display: block;
    font-family: var(--pk-font-display);
    font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem);
    line-height: 1;
    color: var(--pk-yellow);
}

.pk-stat span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767.98px) {
    .pk-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pk-stat:nth-child(2) {
        border-right: 0;
    }

    .pk-stat:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* Leadership tabs */
.pk-leaders {
    display: grid;
    grid-template-columns: minmax(240px, 340px) 1fr;
    gap: 2rem;
    align-items: start;
}

.pk-leader-tabs {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pk-leader-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--pk-border);
    border-radius: 14px;
    background: var(--pk-glass);
    color: var(--pk-heading);
    font-family: var(--pk-font-display);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: left;
    text-transform: uppercase;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pk-leader-tab small {
    display: block;
    margin-top: 0.2rem;
    font-family: var(--font-family);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--pk-muted);
}

.pk-leader-tab .pk-arrow {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    transition: transform 0.25s ease;
}

.pk-leader-tab:hover {
    border-color: var(--pk-yellow);
}

.pk-leader-tab[aria-selected="true"] {
    background: var(--pk-yellow);
    border-color: var(--pk-yellow);
    color: var(--pk-on-yellow);
}

.pk-leader-tab[aria-selected="true"] small {
    color: rgba(7, 19, 35, 0.7);
}

.pk-leader-tab[aria-selected="true"] .pk-arrow {
    transform: rotate(45deg);
}

.pk-leader-panel {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    padding: 2rem;
}

.pk-leader-panel[hidden] {
    display: none;
}

.pk-leader-photo {
    position: relative;
}

.pk-leader-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 14px;
}

.pk-leader-photo::after {
    content: "";
    position: absolute;
    left: -10px;
    bottom: -10px;
    width: 70px;
    height: 70px;
    z-index: -1;
    border-left: 4px solid var(--pk-yellow);
    border-bottom: 4px solid var(--pk-yellow);
    border-radius: 0 0 0 14px;
}

body#Body .pk-leader-panel h3 {
    margin-bottom: 0.25rem;
    font-size: 1.6rem;
    text-transform: uppercase;
}

.pk-leader-role {
    display: block;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-600);
}

[data-theme="light"] .pk-leader-role {
    color: var(--pk-yellow-strong);
}

.pk-leader-quote {
    position: relative;
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
    border-left: 3px solid var(--pk-yellow);
    font-family: var(--pk-font-serif);
    font-size: 1.2rem;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .pk-leaders {
        grid-template-columns: 1fr;
    }

    .pk-leader-tabs {
        grid-auto-flow: column;
        grid-auto-columns: minmax(200px, 1fr);
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }
}

@media (max-width: 767.98px) {
    .pk-leader-panel {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }

    .pk-leader-photo {
        max-width: 220px;
    }
}

/* News cards */
.pk-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.pk-news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pk-news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pk-shadow);
}

.pk-news-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.pk-news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pk-news-card:hover .pk-news-card-media img {
    transform: scale(1.06);
}

.pk-news-date {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: 0.4rem 0.75rem;
    background: var(--pk-yellow);
    color: var(--pk-on-yellow);
    font-family: var(--pk-font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pk-news-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.4rem 1.5rem 1.5rem;
}

.pk-news-cat {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pk-muted);
}

body#Body .pk-news-card h3 {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.35;
}

.pk-news-card h3 a {
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pk-news-card-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.9rem;
    border-top: 1px solid var(--pk-border);
    font-size: 0.8rem;
    color: var(--pk-muted);
}

.pk-arrow-link {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--pk-yellow-soft);
    color: var(--pk-heading) !important;
    transition: background 0.25s ease, transform 0.25s ease;
}

.pk-arrow-link .pk-arrow {
    width: 11px;
    height: 11px;
}

.pk-news-card:hover .pk-arrow-link {
    background: var(--pk-yellow);
    color: var(--pk-on-yellow) !important;
    transform: rotate(45deg);
}

@media (max-width: 991.98px) {
    .pk-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .pk-news-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery mosaic */
.pk-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 1rem;
}

.pk-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    color: #fff !important;
    text-decoration: none;
}

.pk-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.pk-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.pk-gallery-item:hover img {
    transform: scale(1.07);
}

.pk-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 10, 28, 0.85) 0%, rgba(0, 10, 28, 0) 60%);
}

.pk-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.1rem 1.25rem;
}

.pk-gallery-caption strong {
    display: block;
    font-family: var(--pk-font-display);
    font-size: 1rem;
    line-height: 1.3;
}

.pk-gallery-item:first-child .pk-gallery-caption strong {
    font-size: 1.4rem;
}

.pk-gallery-caption small {
    display: inline-flex;
    gap: 0.75rem;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}

.pk-gallery-caption small i {
    color: var(--pk-yellow);
}

@media (max-width: 991.98px) {
    .pk-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 180px;
    }
}

@media (max-width: 479.98px) {
    .pk-gallery-grid {
        grid-template-columns: 1fr;
    }

    .pk-gallery-item:first-child {
        grid-column: auto;
        grid-row: span 1;
    }
}

/* Loading skeletons for the lazily loaded home sections */
.pk-skel {
    border-radius: 12px;
    background: linear-gradient(90deg, var(--pk-border) 25%, var(--pk-glass-highlight) 50%, var(--pk-border) 75%);
    background-size: 200% 100%;
    animation: pk-skel 1.4s ease-in-out infinite;
}

@keyframes pk-skel {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.pk-empty {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--pk-muted);
}

/* ───────────────────────── 11 Shared components ───────────────────────── */

/* Legacy section headings, used across many pages. */
body#Body .section-title {
    position: relative;
    display: inline-block;
    font-family: var(--pk-font-display);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pk-heading);
}

/* Bootstrap cards and modals as glass panels. */
body#Body main .card {
    --bs-card-bg: var(--pk-glass);
    --bs-card-border-color: var(--pk-glass-border);
    --bs-card-cap-bg: transparent;
    --bs-card-color: var(--pk-text);
    --bs-card-title-color: var(--pk-heading);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    border-radius: 16px;
    box-shadow: var(--pk-shadow-sm);
}

body#Body .modal-content {
    background: var(--pk-glass-strong);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid var(--pk-glass-border);
    border-radius: 18px;
    color: var(--pk-text);
}

body#Body .form-control,
body#Body .form-select {
    background-color: var(--pk-input-bg);
    border-color: var(--pk-border);
    color: var(--pk-heading);
    border-radius: 10px;
}

body#Body .form-control:focus,
body#Body .form-select:focus {
    border-color: var(--pk-yellow);
    box-shadow: 0 0 0 0.2rem var(--primary-focus-ring);
}

body#Body .form-control::placeholder {
    color: var(--pk-muted);
}

body#Body .text-muted {
    color: var(--pk-muted) !important;
}

body#Body .pagination {
    --bs-pagination-active-bg: var(--pk-yellow);
    --bs-pagination-active-border-color: var(--pk-yellow);
    --bs-pagination-active-color: var(--pk-on-yellow);
    --bs-pagination-color: var(--pk-heading);
    --bs-pagination-bg: var(--pk-glass);
    --bs-pagination-border-color: var(--pk-border);
    --bs-pagination-hover-bg: var(--pk-yellow-soft);
    --bs-pagination-hover-color: var(--pk-heading);
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem var(--primary-focus-ring);
}

body#Body .nav-pills {
    --bs-nav-pills-link-active-bg: var(--pk-yellow);
    --bs-nav-pills-link-active-color: var(--pk-on-yellow);
}

body#Body .nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--pk-yellow);
}

/* ───────────────────────── 12 Bootstrap in dark mode ───────────────────────── */

[data-theme="dark"] .table {
    --bs-table-color: var(--pk-text);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--pk-border);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-striped-color: var(--pk-text);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.05);
    --bs-table-hover-color: var(--pk-heading);
}

[data-theme="dark"] .table thead th,
[data-theme="dark"] .table-light {
    --bs-table-bg: var(--pk-surface-raised);
    --bs-table-color: var(--pk-heading);
    color: var(--pk-heading);
}

[data-theme="dark"] .list-group {
    --bs-list-group-bg: var(--pk-glass);
    --bs-list-group-color: var(--pk-text);
    --bs-list-group-border-color: var(--pk-border);
    --bs-list-group-action-hover-bg: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .dropdown-menu {
    --bs-dropdown-bg: var(--pk-surface-raised);
    --bs-dropdown-color: var(--pk-text);
    --bs-dropdown-link-color: var(--pk-text);
    --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.06);
    --bs-dropdown-link-hover-color: var(--pk-heading);
    --bs-dropdown-border-color: var(--pk-border);
}

[data-theme="dark"] .accordion {
    --bs-accordion-bg: var(--pk-glass);
    --bs-accordion-color: var(--pk-text);
    --bs-accordion-border-color: var(--pk-border);
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-btn-color: var(--pk-heading);
    --bs-accordion-active-bg: var(--pk-yellow-soft);
    --bs-accordion-active-color: var(--pk-heading);
}

[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

[data-theme="dark"] .text-dark {
    color: var(--pk-heading) !important;
}

[data-theme="dark"] .text-secondary {
    color: var(--pk-muted) !important;
}

[data-theme="dark"] .text-body {
    color: var(--pk-text) !important;
}

[data-theme="dark"] .bg-white,
[data-theme="dark"] .bg-light,
[data-theme="dark"] .bg-body {
    background-color: var(--pk-surface) !important;
}

[data-theme="dark"] .border,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-bottom {
    border-color: var(--pk-border) !important;
}

[data-theme="dark"] .shadow-sm {
    box-shadow: var(--pk-shadow-sm) !important;
}

[data-theme="dark"] .input-group-text {
    background: var(--pk-surface-raised);
    border-color: var(--pk-border);
    color: var(--pk-text);
}

[data-theme="dark"] .alert-light,
[data-theme="dark"] .alert-secondary {
    --bs-alert-bg: var(--pk-surface-raised);
    --bs-alert-color: var(--pk-text);
    --bs-alert-border-color: var(--pk-border);
}

[data-theme="dark"] .badge.bg-light {
    color: var(--pk-heading) !important;
}

/* ───────────────────────── 13 Legacy surfaces in dark mode ───────────────────────── */

/*
 * Page styles written for the old theme that paint fixed light backgrounds.
 * On screen in the dark palette they become glass panels with light text;
 * printed permits, challans and receipts keep their white paper.
 */
@media screen {
    [data-theme="dark"] :is(
        .guide-sidebar-card, .guide-section, .screenshot-placeholder, .guide-note,
        .permit-info-card, .companion-highlight, .detail-row, .permit-card, .companion-section,
        .room-filter-bar, .date-range-wrap, .date-badge, .floor-section, .room-detail-popup .room-card,
        .challan-card, .challan-section-title, .challan-amount-row, .challan-instructions, .countdown-box,
        .closed-booking, .closed-next__tip, .officer-card, .thread-status-comment, .tl-bubble-inner, .tl-closed,
        .notification-sheet, .fb-success-box, .login-box > div, .help-topic-card, .sub-head, .note,
        .app-download, .dir-seg, .dir-icon-btn, .profile-body, .profile-card, .orgchart .node .content,
        #chart-controls, .stat-box, .skeleton-table, .chart-box, .skeleton-container, .list-skeleton-wrapper,
        .reaction-btn, .sharer-container, .ntf-body, .bk-features, .bk-feature-card, .bk-properties,
        .bk-prop-card, .bk-auth-face, .room-no-image, .rc-feature-chip, .rd-info-card, .rd-rule-item,
        .rd-review-card, .rd-review-form, .rd-similar-card, .psid-box, .psid-display, .login-right,
        .login-form-card, .info-card, .sp-card, .section-card, .info-item, .faq-item, .sub-section
    ) {
        background-color: var(--pk-glass) !important;
        border-color: var(--pk-border) !important;
        color: var(--pk-text);
    }

    [data-theme="dark"] :is(.history-table th, .notif-body th) {
        background-color: var(--pk-surface-raised) !important;
        color: var(--pk-heading);
    }

    [data-theme="dark"] .dir-search input {
        background-color: var(--pk-input-bg) !important;
        color: var(--pk-heading);
    }

    [data-theme="dark"] :is(
        .guide-section, .permit-card, .challan-card, .profile-card, .help-topic-card, .rd-info-card,
        .bk-feature-card, .bk-prop-card, .rd-review-card, .officer-card, .sp-card, .section-card, .faq-item, .info-item
    ) :is(h1, h2, h3, h4, h5, h6, strong, b, .info-value, .faq-q) {
        color: var(--pk-heading);
    }
}

/* ───────────────────────── 14 Motion ───────────────────────── */

[data-pk-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-pk-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-pk-reveal] {
        opacity: 1;
        transform: none;
    }

    body#Body {
        background-attachment: scroll;
    }
}

@media print {
    .pk-topbar,
    .pk-header,
    .pk-footer,
    .pk-to-top,
    .pk-drawer,
    .pk-search {
        display: none !important;
    }

    body#Body {
        background: #fff;
    }
}
