/* Final public-page finish, October 2026.
 * Load after the existing module styles. No fonts, images, scripts or motion added.
 * Deliberately scoped to the homepage and named public content modules.
 */

/* A quieter brass accent keeps the primary action distinct from secondary links. */
body.inkux-polished.home main :is(.hp-btn.gold),
body.inkux-polished.home #ink-home-slider .wp-block-read-more {
    background: #dfbf75 !important;
    border-color: #dfbf75 !important;
    color: #102653 !important;
    box-shadow: none !important;
}
body.inkux-polished.home main .hp-btn.gold:hover,
body.inkux-polished.home #ink-home-slider .wp-block-read-more:hover {
    background: #ead29b !important;
    border-color: #ead29b !important;
    transform: none !important;
}
body.inkux-polished.home #ink-home-slider .hp-slider-dot[aria-current="true"] {
    border-color: #d6b66f !important;
    background: rgb(223 191 117 / 9%) !important;
    box-shadow: inset 0 -2px #d6b66f !important;
}
body.inkux-polished.home #ink-home-slider .hp-slider-dot span {
    color: #e6ca8b;
}
body.inkux-polished.home #ink-home-slider :is(.hp-slider-arrow,.hp-slider-pause) {
    background: transparent !important;
    border-color: rgb(255 255 255 / 38%) !important;
}
body.inkux-polished.home #ink-home-slider :is(.hp-slider-arrow,.hp-slider-pause):hover {
    background: #dfbf75 !important;
    border-color: #dfbf75 !important;
    color: #102653 !important;
}

/* Section-level navigation is lighter than the action inside each card. */
body.inkux-polished.home main .hp-head > .hp-link {
    background: #fff !important;
    border-color: #cbbb9a !important;
    color: #102653 !important;
    box-shadow: none !important;
}
body.inkux-polished.home main .hp-head > .hp-link:hover {
    background: #f5f0e5 !important;
    border-color: #ad8943 !important;
    box-shadow: none !important;
    transform: none !important;
}
body.inkux-polished.home .hp-actions-section {
    background: #f8f5ee;
}
body.inkux-polished.home .hp-actions-section .hp-head {
    margin-bottom: 32px;
}
body.inkux-polished.home .hp-actions-section .hp-head h2 {
    letter-spacing: -.03em;
    text-wrap: balance;
}
body.inkux-polished.home .hp-actions-section .hp-head p {
    line-height: 1.65;
    max-width: 66ch;
}
body.inkux-polished.home .hp-actions-section .hp-action-card {
    border: 1px solid #e7e0d2;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgb(16 38 83 / 3%);
}
body.inkux-polished.home .hp-actions-section .hp-action-card > div {
    padding: 24px 25px 26px;
}
body.inkux-polished.home .hp-actions-section .hp-action-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.35;
    letter-spacing: -.02em;
    text-wrap: pretty;
}
body.inkux-polished.home .hp-actions-section .hp-action-card p {
    margin-top: 0;
    margin-bottom: 23px;
    line-height: 1.65;
    color: #526075;
}
body.inkux-polished.home main .hp-actions-section .hp-action-card .hp-link {
    border-radius: 8px !important;
    box-shadow: none !important;
}
body.inkux-polished.home main .hp-actions-section .hp-action-card .hp-link:hover {
    box-shadow: none !important;
    transform: none !important;
}

/* The editorial and calendar panels share a restrained frame and paper tone. */
body.inknh-enabled .inknh-hub {
    --nh-line: #e4ded1;
    --nh-ivory: #fbf9f5;
    --nh-champagne: #f5f0e5;
}
body.inknh-enabled :is(.inknh-feature,.inknh-agenda,.inknh-calendar-panel),
body.inknh-enabled .inknh-archive-grid > .inknh-card {
    border-radius: 14px;
}
body.inknh-enabled .inknh-feature {
    box-shadow: 0 5px 20px rgb(16 38 83 / 3%);
}
body.inknh-enabled .inknh-agenda {
    box-shadow: 0 6px 24px rgb(16 38 83 / 6%);
}
body.inknh-enabled .inknh-briefs {
    row-gap: 24px;
}
body.inknh-enabled .inknh-brief .inknh-card-title {
    line-height: 1.48 !important;
}
body.inknh-enabled .inknh-hub .inknh-all-link {
    border-color: #cbbb9a;
    border-radius: 8px;
}
body.inknh-enabled .inknh-filters {
    border-color: #e0d7c6;
    background: #f5f0e5;
}

/* Personal contacts stay easy to scan without a wall of dark buttons. */
body.inkux-polished #kontakty-zespolu .ct-person:not(.ct-person-assist) {
    border-color: #e4e7eb;
    border-left-width: 2px;
    border-left-color: #b4a178;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgb(16 38 83 / 3%);
}
body.inkux-polished #kontakty-zespolu .ct-person h3 {
    line-height: 1.35 !important;
    letter-spacing: -.02em;
}
body.inkux-polished main #kontakty-zespolu .ct-contact-actions .ct-mini-btn {
    background: #fff !important;
    border-color: #c7cdd6 !important;
    color: #102653 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}
body.inkux-polished main #kontakty-zespolu .ct-contact-actions .ct-mini-btn:hover {
    background: #f8f5ee !important;
    border-color: #ad8943 !important;
    box-shadow: none !important;
    transform: none !important;
}
body.inkux-polished #kontakty-zespolu .ct-person-assist {
    border-radius: 14px;
    box-shadow: none;
}

/* Publications and recordings use the same quiet card treatment. */
body.inkpub-catalog .ink-catalog-card,
body.inkux-polished .inkcm-video {
    border-color: #e4ded1;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgb(16 38 83 / 3%);
}
body.inkpub-catalog .ink-catalog-card .ink-card-photo {
    border-radius: 10px;
    background: #f7f5f0;
}
body.inkux-polished .inkcm-heading h2 {
    text-wrap: balance;
}
body.inkux-polished .inkcm-heading > div > p:last-child {
    max-width: 62ch;
}
body.inkux-polished .ink-header .inkux-nav-drop > .inkux-nav-menu {
    border-color: #e4ded1;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgb(16 38 83 / 10%);
}

/* A consistent focus ring remains prominent on both white and navy surfaces. */
body.inkux-polished.home main .hp-head > .hp-link:focus-visible,
body.inkux-polished.home main .hp-action-card .hp-link:focus-visible,
body.inkux-polished #kontakty-zespolu .ct-mini-btn:focus-visible {
    outline: 3px solid #94702e !important;
    outline-offset: 4px !important;
}

@media (max-width: 780px) {
    body.inkux-polished.home .hp-actions-section .hp-head {
        margin-bottom: 26px;
    }
    body.inkux-polished.home .hp-actions-section .hp-action-card > div {
        padding: 22px;
    }
    body.inknh-enabled .inknh-briefs {
        row-gap: 18px;
    }
}
@media (max-width: 450px) {
    body.inkux-polished.home .hp-actions-section .hp-action-card > div {
        padding: 22px 20px;
    }
}
