/*
Theme Name: WPCoreAI
Theme URI: https://wpcoreai.com/
Author: WPCoreAI
Author URI: https://wpcoreai.com/
Description: Classic WordPress theme with responsive navigation, accessible blog and page templates, customizable header and footer, and Gutenberg support.
Version: 2.16.10
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: wpcoreai
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-logo, custom-menu, featured-images, wide-blocks, translation-ready
*/

/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   01. Local font and design tokens
   02. Base, utilities and accessible interaction
   03. Header and progressive navigation
   04. Blog, archive, cards and widgets
   05. Reading layouts and native WordPress blocks
   06. Controls, forms, notifications and pagination
   07. Comments
   08. Footer
   09. Search dialog
   10. Responsive layouts
   11. Catalog home spacing
   12. Compact mobile header
   13. Minimal mobile footer
   14. Reduced motion and print
   ========================================================================== */

/* ==========================================================================
   01. Local font and design tokens
   Width and accent retain the existing Customizer keys.
   ========================================================================== */

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("assets/fonts/manrope-variable.woff2") format("woff2");
}

:root {
    color-scheme: light;
    --wpc-bg: #f5f6f8;
    --wpc-surface: #ffffff;
    --wpc-soft: #f0f2f5;
    --wpc-ink: #161b26;
    --wpc-muted: #606b7b;
    --wpc-line: #e2e6ed;
    --wpc-line-strong: #bdc6d4;
    --wpc-link: #b91c1c;
    --wpc-accent: var(--doo-accent-src, #dc2626);
    --wpc-focus: #2563eb;
    --wpc-danger: #b42318;
    --wpc-radius: 12px;
    --wpc-radius-sm: 8px;
    --wpc-shadow: 0 8px 24px rgb(20 35 65 / 7%);
    --wpc-shadow-lg: 0 24px 72px rgb(10 20 40 / 20%);
    --wpc-sans: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --wpc-heading-font: var(--wpc-sans);
    --wpc-space-1: .5rem;
    --wpc-space-2: 1rem;
    --wpc-space-3: 1.5rem;
    --wpc-space-4: 2rem;
    --wpc-space-5: 3rem;
    --wpc-space-6: 4rem;
    --wpc-gutter: clamp(1rem, 3vw, 2.5rem);
    /* Original saved-content tokens remain available. */
    --doo-bg00: var(--wpc-surface);
    --doo-bg01: var(--wpc-bg);
    --doo-bg02: var(--wpc-surface);
    --doo-bg03: var(--wpc-soft);
    --doo-bg04: var(--wpc-soft);
    --doo-bg05: var(--wpc-soft);
    --doo-bg06: var(--wpc-soft);
    --doo-bg07: var(--wpc-soft);
    --doo-txt00: var(--wpc-ink);
    --doo-txt01: var(--wpc-ink);
    --doo-txt02: var(--wpc-muted);
    --doo-brd01: var(--wpc-line);
    --doo-brd02: var(--wpc-line-strong);
    --doo-accent: var(--wpc-accent);
    --doo-accent-dark: var(--wpc-link);
    --doo-accent-soft: #fee2e2;
    --doo-on-accent: #fff;
    --doo-radius: var(--wpc-radius-sm);
    --doo-radius-lg: var(--wpc-radius);
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --wpc-bg: #10131b;
    --wpc-surface: #181d28;
    --wpc-soft: #232b39;
    --wpc-ink: #eef1f7;
    --wpc-muted: #a6b1c3;
    --wpc-line: #30394a;
    --wpc-line-strong: #66758c;
    --wpc-link: #ff9b9b;
    --wpc-focus: #8dbdf4;
    --wpc-danger: #ffb4a9;
    --wpc-shadow: 0 8px 24px rgb(0 0 0 / 20%);
}

@media (prefers-color-scheme: dark) {
    :root[data-theme="system"] {
        color-scheme: dark;
        --wpc-bg: #10131b;
        --wpc-surface: #181d28;
        --wpc-soft: #232b39;
        --wpc-ink: #eef1f7;
        --wpc-muted: #a6b1c3;
        --wpc-line: #30394a;
        --wpc-line-strong: #66758c;
        --wpc-link: #ff9b9b;
        --wpc-focus: #8dbdf4;
        --wpc-danger: #ffb4a9;
        --wpc-shadow: 0 8px 24px rgb(0 0 0 / 20%);
    }
}

/* ==========================================================================
   02. Base, utilities and accessible interaction
   ========================================================================== */

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

html {
    scroll-padding-top: calc(var(--wpc-header-height, 80px) + 2rem);
}

body {
    margin: 0;
    background: var(--wpc-bg);
    color: var(--wpc-ink);
    font: 1rem/1.7 var(--wpc-sans);
    -webkit-font-smoothing: antialiased;
}

body.store {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

main {
    flex: 1;
    min-width: 0;
}

a {
    color: var(--wpc-link);
    text-underline-offset: .2em;
    text-decoration-thickness: 1px;
}

a:hover {
    text-decoration-thickness: 2px;
}

:where(button, input, textarea, select) {
    font: inherit;
}

:where(button, summary, [type="submit"]) {
    cursor: pointer;
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--wpc-focus);
    outline-offset: 4px;
}

:where(h1, h2, h3, h4, h5, h6) {
    color: var(--wpc-ink);
    line-height: 1.2;
    margin: 0 0 1rem;
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

h1 {
    font-family: var(--wpc-heading-font);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.035em;
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    letter-spacing: -.025em;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin: 0 0 1.25rem;
}

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

svg {
    vertical-align: middle;
}

.wpcoreai-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.archive-search {
    max-width: 100%;
}

.icon,
.wpc-header__search-icon {
    width: 20px;
    height: 20px;
    flex: none;
}

[hidden] {
    display: none !important;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    clip-path: none;
    width: auto;
    height: auto;
    top: 1rem;
    left: 1rem;
    padding: .75rem 1rem;
    z-index: 1000;
    background: var(--wpc-surface);
    border-radius: var(--wpc-radius-sm);
}

.fx,
.fx-center {
    display: flex;
}

.fx-center {
    align-items: center;
    justify-content: center;
}

.a-c {
    align-items: center;
}

.j-sb {
    justify-content: space-between;
}

.fx-1 {
    flex: 1;
    min-width: 0;
}

.gap-2 {
    gap: .5rem;
}

.gap-3 {
    gap: 1rem;
}

.container,
.st-container {
    width: 100%;
    max-width: var(--wpc-site-width, 1280px);
    margin-inline: auto;
    padding-inline: var(--wpc-gutter);
}

.content-area {
    padding-block: 3rem 4rem;
}

/* ==========================================================================
   03. Header and progressive navigation
   No-JS navigation stays expanded.
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--wpc-surface);
    border-bottom: 1px solid var(--wpc-line);
}

.wpc-header-static .site-header {
    position: relative;
}

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

.wpc-header-static.admin-bar .site-header {
    top: 0;
}

.st-header__inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
}

.header-brand {
    flex: 0 1 auto;
    min-width: 0;
}

.brand,
.footer-brand,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--wpc-ink);
    text-decoration: none;
}

.wpc-brand__icon {
    width: 36px;
    height: 36px;
    flex: none;
}

.wpc-brand__text {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.06em;
    overflow-wrap: anywhere;
}

.wpc-brand__accent {
    color: var(--wpc-accent);
}

.custom-logo {
    display: block;
    max-width: 200px;
    max-height: 56px;
    width: auto;
    object-fit: contain;
}

.header-nav-wrap {
    min-width: 0;
}

.nav-list,
.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
}

.nav-list > li {
    min-width: 0;
    max-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding: .65rem .85rem;
    color: var(--wpc-muted);
    text-decoration: none;
    font-size: .8125rem;
    font-weight: 650;
    border-radius: var(--wpc-radius-sm);
    overflow-wrap: anywhere;
}

.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current-menu-ancestor > a {
    color: var(--wpc-ink);
    background: var(--wpc-soft);
}

.nav-list .icon {
    width: 17px;
    height: 17px;
}

.submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--wpc-radius-sm);
    background: transparent;
    color: var(--wpc-muted);
}

.submenu-toggle:hover {
    background: var(--wpc-soft);
}

.submenu-toggle .icon {
    width: 14px;
    height: 14px;
    transition: transform .16s;
}

.submenu-toggle[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

.sub-menu {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    width: 240px;
    padding: .5rem;
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius);
    background: var(--wpc-surface);
    box-shadow: var(--wpc-shadow);
    display: none;
}

.submenu-align-end {
    inset-inline-start: auto;
    inset-inline-end: 0;
}

.submenu-open > .sub-menu,
.site-header:not(.has-navigation-js) li:hover > .sub-menu,
.site-header:not(.has-navigation-js) li:focus-within > .sub-menu {
    display: block;
}

.st-header__actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex: none;
    margin-inline-start: auto;
}

.header-action,
.st-search,
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--wpc-radius-sm);
    background: transparent;
    color: var(--wpc-ink);
}

.header-action:hover,
.st-search:hover,
.menu-toggle:hover {
    background: var(--wpc-soft);
}

.mobile-menu-disclosure,
.account-action,
.menu-toggle,
.st-header__ham-ic--x,
.mobile-search,
.st-nav__mauth {
    display: none;
}

.mobile-menu-disclosure[open] .st-header__ham-ic--bars,
.menu-toggle[aria-expanded="true"] .st-header__ham-ic--bars {
    display: none;
}

.mobile-menu-disclosure[open] .st-header__ham-ic--x,
.menu-toggle[aria-expanded="true"] .st-header__ham-ic--x {
    display: block;
}

.st-header__ham-ic {
    width: 24px;
    height: 24px;
}

.account-button,
.st-nav__mauth-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .55rem 1.2rem;
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius-sm);
    font-weight: 600;
    font-size: .875rem;
    text-decoration: none;
    background: var(--wpc-ink);
    color: var(--wpc-surface);
    border-color: var(--wpc-ink);
}

.account-button:hover,
.st-nav__mauth-cta:hover {
    border-color: var(--wpc-muted);
    background: var(--wpc-muted);
    color: var(--wpc-surface);
}

.header-search summary,
.mobile-menu-disclosure summary {
    list-style: none;
}

.header-search summary::-webkit-details-marker,
.mobile-menu-disclosure summary::-webkit-details-marker {
    display: none;
}

.search-popover {
    position: absolute;
    top: calc(100% + .75rem);
    inset-inline-end: var(--wpc-gutter);
    width: min(460px, calc(100vw - 2 * var(--wpc-gutter)));
    padding: 1rem;
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius);
    box-shadow: var(--wpc-shadow-lg);
    background: var(--wpc-surface);
}

/* ==========================================================================
   04. Blog, archive, category navigation, cards and widgets
   ========================================================================== */

.archive-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.75rem;
}

.archive-heading__copy {
    min-width: 0;
}

.archive-heading h1 {
    margin: .6rem 0 .85rem;
    max-width: 24ch;
}

.section-overline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    color: var(--wpc-link);
    font-size: .6875rem;
    line-height: 1.6;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-overline::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--wpc-accent);
}

.section-overline a {
    text-decoration: none;
}

.archive-description {
    max-width: 58ch;
    color: var(--wpc-muted);
    font-size: .9375rem;
}

.archive-description p:last-child {
    margin: 0;
}

.archive-heading__search {
    width: min(340px, 45%);
    flex: none;
    padding-bottom: .15rem;
}

.category-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    padding-block: 0 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--wpc-line);
}

.category-chips a {
    max-width: 100%;
    overflow-wrap: anywhere;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding: .4rem .9rem;
    border: 1px solid var(--wpc-line);
    border-radius: 7px;
    background: var(--wpc-surface);
    color: var(--wpc-muted);
    font-size: .75rem;
    font-weight: 650;
    text-decoration: none;
}

.category-chips a[aria-current="page"] {
    color: var(--wpc-surface);
    background: var(--wpc-ink);
    border-color: var(--wpc-ink);
}

.category-chips a:hover {
    border-color: var(--wpc-muted);
}

.category-chips a span {
    padding: 0 .35rem;
    border-radius: 3px;
    background: var(--wpc-soft);
    color: var(--wpc-muted);
    font-size: .6875rem;
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    min-width: 0;
}

.content-with-sidebar > * {
    min-width: 0;
}

.has-sidebar .content-with-sidebar {
    grid-template-columns: minmax(0, 1fr) 268px;
}

:is(.card-grid, .st-grid) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.has-sidebar .content-with-sidebar :is(.card-grid, .st-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

:is(.article-card, .st-card) {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--wpc-surface);
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius);
    transition: box-shadow .18s, border-color .18s;
}

:is(.article-card, .st-card):hover,
:is(.article-card, .st-card):focus-within {
    box-shadow: var(--wpc-shadow);
    border-color: var(--wpc-line-strong);
}

:is(.card-image, .st-card__media) {
    display: block;
    position: relative;
    aspect-ratio: 1.72;
    overflow: hidden;
    background: var(--wpc-soft);
    border-bottom: 1px solid var(--wpc-line);
}

.st-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-chip.st-badge {
    position: absolute;
    top: 1rem;
    inset-inline-start: 1rem;
    max-width: calc(100% - 2rem);
    padding: .25rem .65rem;
    border: 1px solid var(--wpc-line);
    border-radius: 5px;
    background: var(--wpc-surface);
    color: var(--wpc-ink);
    font-size: .625rem;
    font-weight: 750;
    overflow-wrap: anywhere;
}

:is(.card-body, .st-card__body) {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

.meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .75rem;
    color: var(--wpc-muted);
}

:is(.card-body, .st-card__body) .meta {
    margin-bottom: .75rem;
}

.st-card__title {
    font-family: var(--wpc-heading-font);
    font-size: 1.1875rem;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -.035em;
    margin-bottom: .75rem;
}

.st-card__title a {
    color: inherit;
    text-decoration: none;
}

.st-card__title a:hover {
    color: var(--wpc-link);
}

:is(.card-excerpt, .st-card__excerpt) {
    color: var(--wpc-muted);
    font-size: .875rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

:is(.card-bottom, .st-card__foot) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid var(--wpc-line);
    font-size: .6875rem;
}

.product-type {
    color: var(--wpc-muted);
}

.st-card__view {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 44px;
    font-weight: 750;
    color: var(--wpc-link);
    text-decoration: none;
}

.st-card__view::after {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.card-eyebrow {
    display: block;
    color: var(--wpc-link);
    font-size: .625rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 1.25rem;
}

.journal-grid > :is(.article-card, .st-card):first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 340px;
}

.journal-grid > :is(.article-card, .st-card):first-child :is(.card-image, .st-card__media) {
    height: 100%;
    min-height: 340px;
    aspect-ratio: auto;
    border: 0;
    border-inline-end: 1px solid var(--wpc-line);
}

.journal-grid > :is(.article-card, .st-card):first-child :is(.card-body, .st-card__body) {
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.journal-grid > :is(.article-card, .st-card):first-child .st-card__title {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.35;
}

.journal-grid > :is(.article-card, .st-card):first-child :is(.card-excerpt, .st-card__excerpt) {
    font-size: .875rem;
}

.journal-grid > :is(.article-card, .st-card):first-child .meta {
    order: 3;
    margin-bottom: 1rem;
}

.journal-grid > :is(.article-card, .st-card):first-child :is(.card-bottom, .st-card__foot) {
    order: 4;
}

.widget {
    padding: 1.25rem;
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius);
    background: var(--wpc-surface);
    margin-bottom: 1.25rem;
    overflow-wrap: anywhere;
}

.widget-title,
.widget h2 {
    font-size: .8125rem;
    font-weight: 800;
    letter-spacing: -.015em;
    margin-bottom: 1rem;
}

.widget ul {
    padding-inline-start: 1rem;
    margin-bottom: 0;
}

.widget li {
    margin-block: .5rem;
    font-size: .8125rem;
}

.widget a {
    color: var(--wpc-ink);
    text-decoration: none;
}

.widget a:hover {
    color: var(--wpc-link);
    text-decoration: underline;
}

/* ==========================================================================
   05. Reading layouts and native WordPress blocks
   ========================================================================== */

.article-heading,
.page-heading {
    max-width: 860px;
    margin-inline: auto;
    margin-bottom: 3rem;
}

.article-heading .section-overline {
    margin-bottom: 1.25rem;
}

.article-heading h1 {
    font-size: clamp(2rem, 3.4vw, 3rem);
}

.article-heading .meta {
    margin-top: 1.5rem;
    font-size: .875rem;
}

.avatar {
    border-radius: 50%;
}

.article-cover {
    margin-bottom: 3rem;
    border-radius: var(--wpc-radius);
    overflow: hidden;
    background: var(--wpc-soft);
}

.article-cover img {
    display: block;
    width: 100%;
    height: auto;
}

:is(.entry-content, .st-prose) {
    max-width: 760px;
    margin-inline: auto;
    font-size: 1.0625rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
    display: flow-root;
}

:is(.entry-content, .st-prose) > * {
    margin-block: 0 1.5rem;
}

:is(.entry-content, .st-prose) :is(h1, h2, h3, h4, h5, h6) {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

:is(.entry-content, .st-prose) h2 {
    font-family: var(--wpc-heading-font);
    font-weight: 800;
}

:is(.entry-content, .st-prose) :is(ul, ol) {
    padding-inline-start: 1.5rem;
}

:is(.entry-content, .st-prose) li + li {
    margin-top: .4rem;
}

:is(.entry-content, .st-prose) :is(img, video, iframe) {
    max-width: 100%;
}

:is(.entry-content, .st-prose) figure {
    max-width: 100%;
}

:is(.entry-content, .st-prose) :is(figcaption, .wp-caption-text) {
    color: var(--wpc-muted);
    font-size: .8125rem;
    line-height: 1.6;
    margin-top: .75rem;
    text-align: center;
}

:is(.entry-content, .st-prose) blockquote {
    margin-inline: 0;
    padding: 1.5rem 2rem;
    border-inline-start: 3px solid var(--wpc-link);
    background: var(--wpc-soft);
    font-family: var(--wpc-heading-font);
    font-size: 1.125rem;
    line-height: 1.8;
}

:is(.entry-content, .st-prose) blockquote p:last-child {
    margin: 0;
}

:is(.entry-content, .st-prose) cite {
    font: .8125rem/1.6 var(--wpc-sans);
    color: var(--wpc-muted);
}

:is(.entry-content, .st-prose) pre {
    max-width: 100%;
    overflow: auto;
    padding: 1.5rem;
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius-sm);
    background: var(--wpc-soft);
    font-size: .875rem;
    line-height: 1.7;
    tab-size: 4;
}

:is(.entry-content, .st-prose) :not(pre) > code {
    background: var(--wpc-soft);
    padding: .15em .35em;
    border-radius: 3px;
    font-size: .9em;
}

:is(.entry-content, .st-prose) hr {
    border: 0;
    border-top: 1px solid var(--wpc-line);
    margin-block: 3rem;
}

:is(.entry-content, .st-prose) table {
    border-collapse: collapse;
    width: 100%;
    font-size: .9rem;
}

:is(.entry-content, .st-prose) :is(th, td) {
    overflow-wrap: normal;
    word-break: normal;
    padding: .85rem;
    border: 1px solid var(--wpc-line);
    text-align: start;
}

:is(.entry-content, .st-prose) th {
    background: var(--wpc-soft);
    font-weight: 650;
}

.wp-block-table {
    overflow-x: auto;
}

:is(.entry-content, .st-prose) > table {
    display: block;
    overflow-x: auto;
}

:is(.entry-content, .st-prose) .alignwide {
    width: min(calc(100vw - 2 * var(--wpc-gutter)), 1040px);
    max-width: none;
    margin-inline: calc((100% - min(calc(100vw - 2 * var(--wpc-gutter)), 1040px)) / 2);
}

:is(.entry-content, .st-prose) .alignfull {
    width: calc(100vw - 2 * var(--wpc-gutter));
    max-width: none;
    margin-inline: calc((100% - (100vw - 2 * var(--wpc-gutter))) / 2);
}

.has-sidebar .content-with-sidebar :is(.entry-content, .st-prose) :is(.alignwide, .alignfull) {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
}

.alignleft {
    float: left;
    margin-inline: 0 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-inline: 1.5rem 0;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-inline: auto;
    text-align: center;
}

.wp-block-cover {
    border-radius: var(--wpc-radius);
    overflow: hidden;
}

.wp-block-cover :is(h1, h2, h3, h4) {
    color: inherit;
}

.wp-block-pullquote {
    border-block: 1px solid var(--wpc-line);
}

.wp-block-pullquote blockquote {
    border: 0;
    background: transparent;
}

.wp-block-gallery {
    gap: 1rem;
}

.gallery {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
}

.gallery-item {
    margin: 0;
}

.gallery-caption {
    font-size: .8rem;
    color: var(--wpc-muted);
}

.wp-block-calendar table {
    width: 100%;
}

.wp-block-file {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.wp-block-details {
    padding: 1rem 1.25rem;
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius-sm);
}

.wp-block-details summary {
    min-height: 44px;
    font-weight: 650;
}

.wp-block-media-text > *,
.wp-block-column {
    min-width: 0;
}

/* ==========================================================================
   06. Controls, forms, notifications and pagination
   ========================================================================== */

:where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]), select, textarea) {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: .7rem .9rem;
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius-sm);
    background: var(--wpc-surface);
    color: var(--wpc-ink);
}

:where(input, textarea)::placeholder {
    color: var(--wpc-muted);
    opacity: 1;
}

textarea {
    resize: vertical;
}

:where(input, textarea, select)[aria-invalid="true"] {
    border-color: var(--wpc-danger);
}

:where(input, textarea, select):user-invalid {
    border-color: var(--wpc-danger);
}

:where(input[type="checkbox"], input[type="radio"]) {
    width: 18px;
    height: 18px;
    accent-color: var(--wpc-link);
}

:where(button, input[type="submit"], .wp-element-button, .wp-block-button__link, .button) {
    transition: background-color .16s, border-color .16s, box-shadow .16s;
}

:is(input[type="submit"], a.button, .wp-element-button, a.wp-block-button__link) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .7rem 1.3rem;
    border: 1px solid var(--wpc-ink);
    border-radius: var(--wpc-radius-sm);
    background: var(--wpc-ink);
    color: var(--wpc-surface);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.5;
    cursor: pointer;
}

:is(input[type="submit"], a.button, .wp-element-button, a.wp-block-button__link):hover {
    box-shadow: 0 0 0 3px var(--wpc-line);
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--wpc-ink);
}

:where(button, input, select, textarea):disabled {
    cursor: not-allowed;
    opacity: .55;
}

.site-search {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem;
    background: var(--wpc-surface);
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius-sm);
}

.site-search > .icon {
    margin-inline-start: .5rem;
    color: var(--wpc-muted);
}

.site-search input {
    border: 0;
    background: transparent;
    padding-inline: .3rem;
    flex: 1;
    width: 0;
}

.site-search-submit {
    flex: none;
    min-height: 44px;
    padding: .5rem .9rem;
    border: 0;
    border-radius: 4px;
    background: var(--wpc-ink);
    color: var(--wpc-surface);
    font-size: .8125rem;
    font-weight: 650;
}

.site-search:focus-within {
    border-color: var(--wpc-focus);
}

.glass-panel,
.empty-state {
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius);
    background: var(--wpc-surface);
}

.empty-state {
    max-width: 680px;
    margin-inline: auto;
}

.empty-state p {
    color: var(--wpc-muted);
}

.error-number {
    color: var(--wpc-link);
    font: 600 .875rem var(--wpc-sans);
    letter-spacing: .15em;
    margin-bottom: 1.5rem;
}

.empty-state .button {
    margin-top: 1.5rem;
}

:where(.notice, .notification, .wp-block-notice) {
    padding: 1rem 1.25rem;
    border-inline-start: 3px solid var(--wpc-focus);
    background: var(--wpc-soft);
}

:where(.error, .form-error) {
    color: var(--wpc-danger);
}

.pagination,
.posts-navigation,
.post-navigation,
.comments-pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--wpc-line);
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.page-numbers,
.post-page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: .5rem .8rem;
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius-sm);
    color: var(--wpc-ink);
    text-decoration: none;
}

.page-numbers.current,
.post-page-numbers.current {
    background: var(--wpc-ink);
    color: var(--wpc-surface);
    border-color: var(--wpc-ink);
}

.page-numbers.dots {
    border: 0;
}

.post-navigation {
    max-width: 860px;
    margin-inline: auto;
}

.post-navigation .nav-links {
    align-items: stretch;
    justify-content: space-between;
    gap: 1.5rem;
}

.post-navigation :is(.nav-previous, .nav-next) {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.post-navigation a {
    display: block;
    padding: 1rem;
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius-sm);
    font-weight: 600;
    text-decoration: none;
}

.post-navigation .nav-next {
    text-align: end;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 2rem;
    max-width: 760px;
    margin-inline: auto;
}

.post-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .35rem .85rem;
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius-sm);
    font-size: .8125rem;
    text-decoration: none;
    color: var(--wpc-muted);
}

/* Native widget and block forms share the theme controls without constraining user colors. */
.wp-block-search__inside-wrapper {
    display: flex;
    gap: .5rem;
    min-width: 0;
}

.wp-block-search__input {
    min-width: 0;
    width: 100%;
}

.wp-block-search__button {
    flex: none;
    white-space: nowrap;
    min-height: 48px;
    margin: 0;
    padding: .6rem .85rem;
    border: 1px solid var(--wpc-ink);
    border-radius: var(--wpc-radius-sm);
    background: var(--wpc-ink);
    color: var(--wpc-surface);
    font-size: .8125rem;
    font-weight: 650;
}

.wp-block-search__label {
    display: block;
    margin-bottom: .5rem;
    font-size: .875rem;
    font-weight: 600;
}

.widget .wp-block-latest-posts,
.widget .wp-block-latest-comments {
    padding: 0;
}

.widget .wp-block-latest-posts a {
    color: var(--wpc-ink);
    text-decoration: none;
    font-size: .875rem;
}

.widget .wp-block-latest-posts a:hover {
    color: var(--wpc-link);
    text-decoration: underline;
}

.widget .wp-block-latest-posts li + li {
    margin-top: 1rem;
}

/* ==========================================================================
   07. Comments
   WordPress-generated depth and moderation states are retained.
   ========================================================================== */

.comments-area {
    max-width: 860px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--wpc-line);
}

.comments-area h2,
.comment-reply-title {
    font-size: 1.5rem;
}

.comment-list,
.comment-list .children {
    list-style: none;
    padding: 0;
}

.comment-list .children {
    margin-inline-start: clamp(.75rem, 3vw, 2rem);
    border-inline-start: 1px solid var(--wpc-line);
    padding-inline-start: 1rem;
}

.comment-body {
    position: relative;
    padding-block: 1.5rem;
    border-bottom: 1px solid var(--wpc-line);
    overflow-wrap: anywhere;
}

.comment-author .fn {
    min-width: 0;
}

.comment-author {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
}

.comment-author .avatar {
    width: 36px;
    height: 36px;
}

.comment-metadata {
    font-size: .75rem;
    margin-block: .5rem 1rem;
}

.comment-metadata a {
    color: var(--wpc-muted);
}

.comment-content p:last-child {
    margin-bottom: .5rem;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: .8125rem;
    font-weight: 600;
}

.bypostauthor > .comment-body .fn {
    color: var(--wpc-link);
}

.comment-awaiting-moderation {
    font-size: .875rem;
    color: var(--wpc-muted);
}

.comment-respond {
    margin-top: 2rem;
}

.comment-form {
    display: grid;
    gap: 1rem;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: .4rem;
}

.comment-notes,
.logged-in-as,
.comment-form-cookies-consent {
    font-size: .8125rem;
    color: var(--wpc-muted);
}

.comment-form-cookies-consent {
    display: flex;
    gap: .6rem;
    align-items: start;
}

.comment-form-cookies-consent input {
    flex: none;
    margin-top: .25rem;
}

.comment-form-cookies-consent label {
    font-size: inherit;
    font-weight: 400;
}

.required {
    color: var(--wpc-danger);
}

/* ==========================================================================
   08. Footer
   ========================================================================== */

.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--wpc-line);
    background: var(--wpc-surface);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-block: 3.25rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 750;
    letter-spacing: -.03em;
}

.wpc-footer-brand-icon {
    width: 32px;
    height: 32px;
}

.wpc-footer-logo {
    max-width: 160px;
    max-height: 56px;
    width: auto;
}

.footer-about p {
    color: var(--wpc-muted);
    max-width: 32ch;
    font-size: .875rem;
    margin: 1.25rem 0 0;
}

.footer-links h2 {
    font-size: .8125rem;
    letter-spacing: -.01em;
    margin-bottom: 1rem;
}

.wpc-footer-copyright {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.wpc-footer-menu,
.wpc-footer-bottom-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpc-footer-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: .875rem;
    color: var(--wpc-muted);
    text-decoration: none;
}

.wpc-footer-menu a:hover,
.wpc-footer-bottom-menu a:hover {
    color: var(--wpc-link);
    text-decoration: underline;
}

.wpc-footer-menu .sub-menu {
    display: block;
    position: static;
    width: auto;
    border: 0;
    box-shadow: none;
    padding: 0;
    padding-inline-start: 1rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-block: 1.5rem;
    border-top: 1px solid var(--wpc-line);
    font-size: .75rem;
    color: var(--wpc-muted);
}

.wpc-footer-bottom-menu {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.25rem;
}

.wpc-footer-bottom-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: inherit;
    text-decoration: none;
}

.wpc-footer-layout-stacked .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* ==========================================================================
   09. Native search dialog and async results
   ========================================================================== */

.wpc-search-open {
    overflow: hidden;
}

.st-cmdk {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: max(1rem, 12vh) 1rem 1rem;
    border: 0;
    background: transparent;
    color: var(--wpc-ink);
}

.st-cmdk[open] {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.st-cmdk::backdrop {
    background: rgb(12 20 15 / 50%);
    backdrop-filter: blur(4px);
}

.st-cmdk__backdrop {
    position: absolute;
    inset: 0;
}

.st-cmdk__panel {
    position: relative;
    width: min(100%, 640px);
    max-height: 76vh;
    max-height: 76dvh;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius);
    box-shadow: var(--wpc-shadow-lg);
    background: var(--wpc-surface);
    overflow: hidden;
}

.st-cmdk__head {
    flex: none;
    padding: 1rem;
    gap: .75rem;
    border-bottom: 1px solid var(--wpc-line);
    margin: 0;
}

.st-cmdk__head .st-cmdk__input {
    flex: 1;
    width: 0;
    min-width: 0;
    border: 0;
    padding: .5rem;
    background: transparent;
}

.st-cmdk__esc {
    flex: none;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius-sm);
    background: var(--wpc-soft);
    color: var(--wpc-muted);
    font-size: .7rem;
}

.st-cmdk__results {
    overflow-y: auto;
    overscroll-behavior: contain;
}

.st-cmdk__item {
    padding: 1rem 1.25rem;
    min-height: 64px;
    gap: 1rem;
    border-bottom: 1px solid var(--wpc-line);
    color: var(--wpc-ink);
    text-decoration: none;
}

.st-cmdk__item:hover,
.st-cmdk__item.is-active {
    background: var(--wpc-soft);
}

.st-cmdk__item-title {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: .9375rem;
}

.st-cmdk__item-sub {
    flex: none;
    max-width: 35%;
    font-size: .7rem;
    color: var(--wpc-muted);
    overflow-wrap: anywhere;
}

.st-cmdk__hint {
    padding: 2.5rem 1.25rem;
    margin: 0;
    color: var(--wpc-muted);
    font-size: .875rem;
    text-align: center;
}

.st-cmdk__submit {
    display: inline-flex;
    gap: .5rem;
    margin-inline-start: auto;
    align-items: center;
    min-height: 40px;
    padding: .35rem .8rem;
    background: var(--wpc-ink);
    color: var(--wpc-surface);
    border: 0;
    border-radius: 6px;
    font: 650 .75rem var(--wpc-sans);
}

.st-cmdk__hint.is-compact {
    padding: .65rem 1.25rem;
    font-size: .75rem;
}

.st-cmdk__foot {
    flex: none;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    border-top: 1px solid var(--wpc-line);
    font-size: .7rem;
    color: var(--wpc-muted);
    background: var(--wpc-soft);
}

.st-cmdk__key {
    display: inline-block;
    padding: .1rem .3rem;
    border: 1px solid var(--wpc-line);
    border-radius: 3px;
    background: var(--wpc-surface);
    font: inherit;
}

/* Saved-content helpers from the base theme, kept independent of page templates. */
.st-badge {
    display: inline-flex;
    align-items: center;
    padding: .2rem .6rem;
    border: 1px solid var(--wpc-line);
    border-radius: 5px;
    background: var(--wpc-soft);
    color: var(--wpc-muted);
    font-size: .6875rem;
    font-weight: 650;
}

.st-page__head {
    margin-bottom: 2rem;
}

.st-prose :first-child {
    margin-top: 0;
}

.st-prose strong {
    font-weight: 750;
}

.st-prose ul li::marker {
    color: var(--wpc-link);
}

.toggle {
    position: relative;
    flex: none;
    width: 2.5rem;
    height: 1.5rem;
}

.menu {
    position: fixed;
    z-index: 40;
    min-width: 11rem;
    padding: .5rem;
    border: 1px solid var(--wpc-line);
    border-radius: var(--wpc-radius-sm);
    background: var(--wpc-surface);
    box-shadow: var(--wpc-shadow);
}

.st-logo {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--wpc-ink);
    text-decoration: none;
}

.st-main {
    flex: 1;
    min-width: 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-caption {
    max-width: 100%;
}

.st-cmdk__submit .icon {
    width: 14px;
    height: 14px;
    transform: rotate(-90deg);
}

/* ==========================================================================
   10. Responsive layouts and alternative media
   ========================================================================== */

@media (max-width: 1199px) {
    .has-sidebar .content-with-sidebar {
        grid-template-columns: minmax(0, 1fr) 240px;
        gap: 1.5rem;
    }

    :is(.card-body, .st-card__body) {
        padding: 1.25rem;
    }

    .archive-heading__search {
        width: 300px;
    }
}

@media (max-width: 1023px) {
    .st-header__inner {
        min-height: 70px;
        display: flex;
        flex-wrap: wrap;
        gap: .5rem;
    }

    .header-brand {
        flex: 1;
    }

    .st-header__actions {
        margin-inline-start: 0;
    }

    .mobile-menu-disclosure {
        display: block;
        order: -1;
        flex: none;
    }

    .mobile-menu-disclosure .menu-toggle {
        display: flex;
    }

    .header-nav-wrap {
        width: 100%;
        order: 3;
        display: none;
        position: absolute;
        top: 100%;
        inset-inline: 0;
        padding: 1rem var(--wpc-gutter) 1.5rem;
        max-height: var(--wpc-nav-available, 70vh);
        max-height: var(--wpc-nav-available, 70dvh);
        overflow-y: auto;
        overscroll-behavior: contain;
        border-bottom: 1px solid var(--wpc-line);
        background: var(--wpc-surface);
        box-shadow: var(--wpc-shadow);
    }

    .mobile-menu-disclosure[open] ~ .header-nav-wrap {
        display: block;
    }

    .nav-list {
        display: block;
    }

    .nav-list > li {
        display: flex;
        flex-wrap: wrap;
    }

    .nav-list > li > a {
        flex: 1;
        min-width: 0;
        padding: .8rem;
    }

    .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: 0;
        border-inline-start: 1px solid var(--wpc-line);
        margin: .5rem .8rem;
        border-radius: 0;
        background: transparent;
    }

    .site-header:not(.has-navigation-js) .sub-menu {
        display: block;
    }

    .st-nav__mauth {
        display: block;
        margin-top: 1rem;
    }

    .st-nav__mauth-cta {
        width: 100%;
    }

    .mobile-search {
        display: block;
        margin-top: 1rem;
    }

    .account-button {
        display: none;
    }

    .has-sidebar .content-with-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        margin-top: 1rem;
    }

    :is(.card-grid, .st-grid) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .archive-heading__search {
        width: 280px;
    }
}

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

.wpc-footer-brand,
.wpc-footer-tagline,
.wpc-footer-credit { display: none; }

@media (max-width: 767px) {
    .content-area {
        padding-block: 2rem 3rem;
    }

    .archive-heading {
        display: block;
        margin-bottom: 1.25rem;
    }

    .archive-heading__search {
        width: 100%;
        max-width: 480px;
        margin-top: 1.5rem;
    }

    .category-chips {
        padding-bottom: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
        padding-block: 2.5rem;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: .5rem;
    }

    .article-heading,
    .page-heading {
        margin-bottom: 2rem;
    }

    :is(.entry-content, .st-prose) {
        font-size: 1rem;
    }

    .article-cover {
        margin-bottom: 2rem;
    }

    .journal-grid > :is(.article-card, .st-card):first-child {
        display: flex;
        min-height: 0;
    }

    .journal-grid > :is(.article-card, .st-card):first-child :is(.card-image, .st-card__media) {
        aspect-ratio: 1.72;
        min-height: 0;
        height: auto;
        border: 0;
        border-bottom: 1px solid var(--wpc-line);
    }

    .journal-grid > :is(.article-card, .st-card):first-child :is(.card-body, .st-card__body) {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .admin-bar .site-header {
        top: 0;
    }

    :is(.card-grid, .st-grid),
    .has-sidebar .content-with-sidebar :is(.card-grid, .st-grid),
    .sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    :is(.card-grid, .st-grid) {
        gap: 1.25rem;
    }

    .st-card__title {
        font-size: 1.1875rem;
    }

    .custom-logo {
        max-width: 150px;
        max-height: 48px;
    }

    :is(.entry-content, .st-prose) :is(.alignleft, .alignright) {
        float: none;
        margin-inline: 0;
        max-width: 100%;
    }

    .post-navigation .nav-links {
        flex-direction: column;
    }

    .st-cmdk {
        padding-top: 1rem;
    }

    .st-cmdk__foot > span {
        display: none;
    }
}

@media (max-width: 374px) {
    .wpc-brand__icon {
        width: 28px;
        height: 28px;
    }

    .brand {
        gap: .4rem;
    }

    .wpc-brand__text {
        font-size: 1.1rem;
    }

    .custom-logo {
        max-width: 130px;
    }

    .site-search > .icon {
        display: none;
    }

    .st-cmdk__head {
        gap: .25rem;
        padding: .65rem;
    }
}

/* ==========================================================================
   11. Catalog home spacing
   Top offset for the first showcase block that follows the visually hidden <h1>.
   ========================================================================== */

.wpc-catalog-home {
    --wpc-catalog-offset: 40px;
}

.wpc-catalog-home > h1.screen-reader-text + .wpc-hero.wpc-showcase,
.wpc-catalog-home > h1.screen-reader-text + .wpc-coverflow {
    margin-top: var(--wpc-catalog-offset) !important;
}

@media (max-width: 1024px) {
    .wpc-catalog-home {
        --wpc-catalog-offset: 32px;
    }
}

@media (max-width: 600px) {
    .wpc-catalog-home {
        --wpc-catalog-offset: 24px;
    }
}

/* ==========================================================================
   12. Compact mobile header
   ========================================================================== */

@media screen and (max-width: 600px) {
    :root {
        --header-height: 64px;
    }

    .movie-header {
        min-height: 64px !important;
    }

    .movie-header__inner {
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 8px !important;
        height: auto !important;
        min-height: var(--header-height, 88px) !important;
        padding: 0 14px !important;
    }

    /* Brand */
    .movie-header .movie-header__brand {
        display: block !important;
        max-width: 100%;
        margin: 0 !important;
        overflow: hidden;
        font-size: 17px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        letter-spacing: -.04em;
        text-align: center !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Menu and search buttons */
    .movie-header .movie-icon-button {
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
        border-radius: 8px;
    }

    .movie-header .movie-icon-button svg {
        width: 22px !important;
        height: 22px !important;
        stroke-width: 1.8;
    }

    /* Right-hand actions */
    .movie-header__actions {
        display: flex;
        align-items: center;
        justify-self: end;
        gap: 2px !important;
    }

    /* Custom logo */
    .movie-header .custom-logo {
        width: auto !important;
        max-width: 100% !important;
        max-height: 42px !important;
        object-fit: contain;
    }
}

/* ==========================================================================
   13. Minimal mobile footer
   Mobile only; desktop footer is unchanged.
   ========================================================================== */

@media (max-width: 767px) {
    /* Footer surface */
    body .site-footer.st-footer {
        border-top: 1px solid var(--wpc-line) !important;
        background: var(--mode-footer-bg, var(--design-footer-bg)) !important;
        box-shadow: none !important;
    }

    /* Layout */
    body .site-footer .footer-bottom {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        width: 100%;
        padding: 32px 20px 24px !important;
        border-top: none !important;
        text-align: left !important;
    }

    /* Brand name */
    .site-footer .wpc-footer-brand {
        display: block;
        order: 0;
        margin: 0 60px 7px 0;
        overflow-wrap: anywhere;
        color: var(--wpc-ink);
        font-family: Manrope, sans-serif;
        font-size: 23px;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: -1.2px;
    }

    /* Brand tagline */
    .site-footer .wpc-footer-tagline {
        display: block;
        order: 1;
        margin: 0 0 23px;
        overflow-wrap: anywhere;
        color: var(--wpc-muted);
        font-size: 12px;
        font-weight: 400;
        line-height: 1.7;
        letter-spacing: 0;
    }

    /* Navigation */
    .site-footer .footer-bottom > nav {
        display: block;
        order: 2;
        width: 100%;
        margin: 0 0 25px;
        padding: 0;
    }

    .site-footer .wpc-footer-bottom-menu {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center;
        justify-content: flex-start !important;
        gap: 9px 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }

    .site-footer .wpc-footer-bottom-menu li {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }

    /* Navigation pills */
    body .site-footer .wpc-footer-bottom-menu a {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-height: 42px !important;
        padding: 10px 15px !important;
        border: 1px solid var(--wpc-line) !important;
        border-radius: 999px !important;
        background: var(--mode-control-bg, var(--wpc-surface)) !important;
        box-shadow: none !important;
        color: var(--wpc-ink) !important;
        font-family: inherit;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.3;
        letter-spacing: 0;
        text-decoration: none !important;
        white-space: nowrap;
        transition:
            background .2s ease,
            color .2s ease,
            border-color .2s ease,
            transform .2s ease;
    }

    body .site-footer .wpc-footer-bottom-menu a:hover {
        border-color: var(--wpc-link) !important;
        background: var(--mode-control-hover-bg, var(--wpc-soft)) !important;
        color: var(--wpc-link) !important;
    }

    body .site-footer .wpc-footer-bottom-menu a:active {
        transform: scale(.97);
    }

    /* Copyright row */
    body .site-footer .wpc-footer-copyright {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        order: 3;
        gap: 8px 15px;
        width: 100%;
        margin: 0 !important;
        padding: 17px 0 0 !important;
        border-top: 1px solid var(--wpc-line);
        color: var(--wpc-muted) !important;
        font-size: 11px !important;
        font-weight: 400;
        line-height: 1.6;
        text-align: left;
    }

    .site-footer .wpc-footer-credit {
        display: inline-block;
        margin-left: auto;
        color: var(--wpc-muted);
        font-size: 11px;
        font-weight: 500;
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    .site-footer .footer-bottom {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    body .site-footer .wpc-footer-bottom-menu a {
        padding: 9px 12px !important;
        font-size: 11px !important;
    }
}

/* ==========================================================================
   14. Reduced motion and print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0s !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .site-header,
    .movie-header,
    .wpc-floating-header,
    .movie-drawer,
    .movie-menu-backdrop,
    .movie-search,
    .site-footer,
    .sidebar,
    .post-navigation,
    .comment-respond,
    .st-cmdk {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .content-area,
    :is(.entry-content, .st-prose) {
        max-width: none;
        padding: 0;
    }

    a {
        color: inherit;
    }
}

/* WPCoreAI — Center Default Header Navigation */
@media (min-width: 1024px) {

    .movie-header .movie-header__inner {
        grid-template-columns:
            minmax(0, 1fr)
            max-content
            minmax(0, 1fr);
        align-items: center;
    }

    /* Navigation perfectly centered */
    .movie-header .wpc-desktop-navigation {
        justify-self: center;
    }

    .movie-header .wpc-desktop-navigation > ul {
        justify-content: center;
    }

    /* Logo stays on the left */
    .movie-header .movie-header__brand,
    .movie-header .custom-logo-link {
        justify-self: start;
    }

    /* Search and account stay on the right */
    .movie-header .movie-header__actions {
        justify-self: end;
    }
}


body.wpc-front-page .wpc-catalog-home .wpc-story__image-link {
    display: block !important;
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 0 !important;
}
body.wpc-front-page .wpc-catalog-home .wpc-story__image-link img {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
}

body.wpc-front-page .wpc-catalog-home .wpc-story__image-link svg {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
}

body.single-post .wpc-single-design .wpc-single-panel {
    box-sizing: border-box;
    min-width: 0;
    padding: 32px !important;
    border-radius: 20px;
}


body.single-post .wpc-single-design .wpc-single-media {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
}

@media (max-width: 680px) {
    body.single-post .wpc-single-design .wpc-single-panel {
        padding: 22px 18px !important;
        border-radius: 16px;
    }
}

body .wpc-single-design .wpc-single-crumb,
body .wpc-single-design .wpc-single-categories {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body .wpc-single-design .wpc-single-crumb {
    padding: 0 !important;
    margin-bottom: 24px;
}

/* Rapikan baris kategori. */
body .wpc-single-design .wpc-single-categories {
    padding: 12px 0 !important;
    gap: 10px;
}

body .wpc-single-design .wpc-single-crumb a,
body .wpc-single-design .wpc-single-categories a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

body .wpc-single-design .wpc-single-crumb,
body .wpc-single-design .wpc-single-categories {
    color: var(--single-muted, #535c6d) !important;
}

body .wpc-single-design .wpc-single-crumb a,
body .wpc-single-design .wpc-single-categories a {
    color: var(--single-accent, #b91c1c) !important;
}

@media (max-width: 767px) {
    html[data-color-mode="white"] body.wpc-movie-shell .wpc-loop-grid[class],
    html[data-color-mode="dark"] body.wpc-movie-shell .wpc-loop-grid[class] {
        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;padding-left: 0 !important;
        padding-right: 0 !important;
    }
}



html[data-color-mode="white"] body .wpc-coverflow {
    --hero-poster-shadow: 0 16px 36px rgba(15, 23, 42, .16);
}

html[data-color-mode="glass"] body .wpc-coverflow {
    --hero-poster-shadow: 0 16px 36px rgba(0, 0, 0, .28);
}

html[data-color-mode="dark"] body .wpc-coverflow {
    --hero-poster-shadow: 0 16px 36px rgba(0, 0, 0, .4);
}

body .wpc-catalog-home .wpc-coverflow {
    background: var(--mode-grid-bg, var(--design-surface)) !important;
    border-color: var(--design-border);
}

body .wpc-coverflow .wpc-coverflow__stage::before { 
    display: none !important;
}

body .wpc-coverflow .wpc-coverflow__stage::after {
    background: none !important;
    box-shadow: none !important;
}

body .wpc-coverflow .wpc-coverflow__card,
body .wpc-coverflow .wpc-coverflow__card.is-active {
    background: var(--design-surface);
    border-color: var(--design-border) !important;
    box-shadow: var(--hero-poster-shadow) !important;
}

.wpc-loop-grid.wpc-loop-gradient .wpc-loop-card::before {
    display: none !important;
}

.wpc-loop-grid,
.wpc-loop-grid .wpc-loop-card {
    border: none !important;
}

.wpc-loop-grid .wpc-loop-card,
.wpc-loop-grid .wpc-loop-frame {
    box-shadow: none !important;
}

body.wpc-header-floating-glass .wpc-floating-header {
    margin-bottom: 16px !important;
}

body.wpc-header-floating-glass .wpc-catalog-home {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.wpc-header-floating-glass
.wpc-catalog-home > .wpc-catalog-intro {
    margin-bottom: 0 !important;
    padding-block: 16px !important;
}

@media (max-width: 900px) {
    body.wpc-header-floating-glass .wpc-floating-header {
        margin-bottom: 12px !important;
    }

    body.wpc-header-floating-glass
    .wpc-catalog-home > .wpc-catalog-intro {
        padding-block: 12px 16px !important;
    }
}

@media (min-width: 1024px) {

    .movie-header .movie-header__inner {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 2fr)
            minmax(0, 1fr);
        align-items: center;
    }

    /* Navigation perfectly centered */
    .movie-header .wpc-desktop-navigation {
        justify-self: center;
        min-width: 0;
        max-width: 100%;
    }

    .movie-header .wpc-desktop-navigation > ul {
        justify-content: center;
    }

    /* Logo stays on the left */
    .movie-header .movie-header__brand,
    .movie-header .custom-logo-link {
        justify-self: start;
    }

    /* Search and account stay on the right */
    .movie-header .movie-header__actions {
        justify-self: end;
    }
}

body.wpc-header-floating-glass .wpc-floating-header {
    top: 0;
    margin-top: 0;
    margin-bottom: 24px;
    padding-top: 16px;
    flex-shrink: 0;
    overflow: visible;
    box-sizing: border-box;
}

body.wpc-header-floating-glass .wpc-glass-navbar {
    position: relative;
    overflow: visible;
}

html[data-color-mode="dark"] body .wpc-loop-grid {
    --design-surface: #18181b;
    --design-soft: #27272a;
    --design-text: #fafafa;
    --design-muted: #b4b4bd;
    --design-border: #3f3f46;
    --design-link: #fda4af;
    --loop-text: #fafafa;
    --loop-muted: #b4b4bd;
    --mode-grid-bg: #111113;
    --mode-card-bg: #18181b;
    --mode-card-shadow: none;
    --mode-editorial-shadow: 4px 5px 0 #27272a;
    --mode-shelf-bg: linear-gradient(#3f3f46, #18181b);
    --mode-blur: none;

    background: #111113 !important;
    color: #fafafa;
    border-color: #3f3f46 !important;
}

html[data-color-mode="dark"] body .wpc-loop-grid .wpc-loop-card {
    background: #18181b !important;
    color: #fafafa;
    border-color: #3f3f46 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

html[data-color-mode="dark"] body .wpc-loop-grid .wpc-loop-card:hover {
    border-color: #71717a !important;
}

html[data-color-mode="dark"] body .wpc-loop-grid .wpc-loop-frame {
    background: #27272a;
}

html[data-color-mode="dark"] body .wpc-loop-grid .wpc-loop-title {
    color: #fafafa !important;
}

html[data-color-mode="dark"] body .wpc-loop-grid .wpc-loop-title a {
    color: inherit !important;
}

html[data-color-mode="dark"] body .wpc-loop-grid .wpc-loop-title a:hover {
    color: #fda4af !important;
}

html[data-color-mode="dark"] body .wpc-loop-grid
:is(.wpc-loop-meta, .wpc-loop-excerpt, .wpc-loop-mag-footer) {
    color: #b4b4bd !important;
}

html[data-color-mode="dark"] body .wpc-loop-grid.wpc-loop-gradient
.wpc-loop-card::before {
    display: none;
}

html[data-color-mode="dark"] body
.wpc-loop-grid:is(.wpc-loop-overlay, .wpc-loop-spotlight)
.wpc-loop-copy {
    background: linear-gradient(transparent, rgb(0 0 0 / 94%)) !important;
}

html[data-color-mode="dark"] body
.wpc-loop-grid:is(.wpc-loop-overlay, .wpc-loop-spotlight)
:is(.wpc-loop-meta, .wpc-loop-excerpt, .wpc-loop-overlay-category) {
    color: #e2e8f0 !important;
}

body.wpc-header-floating-glass.wpc-header-static .wpc-floating-header {
    position: relative;
    top: 0;
}


body.admin-bar.wpc-header-floating-glass:not(.wpc-header-static)
.wpc-floating-header {
    top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 900px) {
    body.wpc-header-floating-glass .wpc-floating-header {
        padding-top: 12px;
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    body.admin-bar.wpc-header-floating-glass:not(.wpc-header-static)
    .wpc-floating-header {
        top: 0;
    }
}



@media screen and (max-width: 1023px) {

  /* Respect collapsed submenu state */
  #movie-drawer .movie-drawer__nav
  .sub-menu[hidden] {
    display: none !important;
  }

  /* Submenu container */
  #movie-drawer .movie-drawer__nav
  .sub-menu {
    position: static !important;
    display: block;
    width: calc(100% - 12px) !important;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;

    margin: 6px 0 10px 12px !important;
    padding: 7px !important;

    background: var(--mode-card-bg);
    border: 1px solid var(--design-border);
    border-radius: 13px;
    box-shadow: none !important;

    list-style: none;
  }

  /* Submenu list */
  #movie-drawer .movie-drawer__nav
  .sub-menu > li {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
  }

  #movie-drawer .movie-drawer__nav
  .sub-menu > li + li {
    margin-top: 4px !important;
  }

  /* Submenu links */
  #movie-drawer .movie-drawer__nav
  .sub-menu > li > a {
    position: relative;
    display: flex !important;
    align-items: center;

    width: 100%;
    min-height: 42px;
    box-sizing: border-box;

    margin: 0 !important;
    padding: 10px 12px 10px 32px !important;

    font-size: 13px !important;
    font-weight: 500;
    line-height: 1.4;

    color: var(--drawer-text, #171923);
    background: transparent;
    border: 0;
    border-radius: 9px;
    box-shadow: none;

    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
  }

  /* Red bullet */
  #movie-drawer .movie-drawer__nav
  .sub-menu > li > a::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 50%;

    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef233c;

    transform: translateY(-50%);
  }

  /* Hover and focus */
  #movie-drawer .movie-drawer__nav
  .sub-menu > li > a:hover,
  #movie-drawer .movie-drawer__nav
  .sub-menu > li > a:focus-visible {
    background: rgba(128,128,128,.10);
  }

  /* Active submenu */
  #movie-drawer .movie-drawer__nav
  .sub-menu .current-menu-item > a {
    background: rgba(239,35,60,.10);
    font-weight: 650;
  }

  /* Dark backdrop */
  :root[data-theme="dark"]
  .movie-menu-backdrop.is-open {
    background: rgba(5,6,13,.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
}


/* ==========================================
   2. MARKETING SLIDES HERO — MOBILE ONLY
   ========================================== */

@media screen and (max-width: 600px) {

  body .wpc-catalog-home >
  .wpc-hero[data-hero-slider] {
    height: auto !important;
    min-height: 0 !important;
    justify-content: flex-start !important;
    padding: 48px 0 115px !important;
  }

  body .wpc-catalog-home >
  .wpc-hero[data-hero-slider] >
  .wpc-hero__content {
    position: relative !important;
    top: auto !important;
    transform: none !important;

    padding: 0 !important;
    margin: 0 auto !important;
  }

  body .wpc-catalog-home >
  .wpc-hero[data-hero-slider] >
  .wpc-hero__navigation {
    bottom: 25px !important;
  }
}


/* ==========================================
   3. PREMIUM TEXT LOGO
   ========================================== */

.movie-header .movie-header__brand,
.movie-drawer .movie-drawer__logo {
  position: relative;

  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -.065em !important;
  line-height: 1.15 !important;

  text-transform: none;
  text-decoration: none !important;

  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Desktop logo */
@media (min-width: 768px) {
  .movie-header .movie-header__brand {
    font-size: 26px !important;
  }
}

/* Mobile logo */
@media (max-width: 767px) {
  .movie-header .movie-header__brand {
    display: block !important;
    font-size: clamp(15px, 4.3vw, 20px) !important;
    max-width: 100%;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  .movie-drawer .movie-drawer__logo {
    font-size: 21px !important;
  }
}

/* Red brand underline */
.movie-header .movie-header__brand::after,
.movie-drawer .movie-drawer__logo::after {
  content: "";
  display: block;

  width: 44px;
  height: 3px;
  margin: 5px auto 0;

  border-radius: 50px;
  background: linear-gradient(
    90deg, #ff3049, #d50022
  );

  transform: rotate(-3deg);
}
html:is([data-color-mode="white"], [data-color-mode="dark"])
body.wpc-movie-shell .wpc-loop-grid[class] {
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
/* Trusted plugin iframe output remains native HTML; no shortcode or KSES overrides. */
.entry-content :where(iframe){max-width:100%;border:0}
:where(.entry-content>iframe,.entry-content p>iframe){display:block;width:100%;height:auto;aspect-ratio:16/9}
.entry-content :where(iframe[width][height]){width:100%;height:auto;aspect-ratio:16/9;aspect-ratio:attr(width type(<number>),16)/attr(height type(<number>),9)}
.entry-content .wp-has-aspect-ratio iframe{aspect-ratio:auto;height:100%}
.entry-content .wpc-responsive-iframe{position:relative;width:100%;max-width:100%;aspect-ratio:var(--wpc-iframe-ratio,16/9)}
.entry-content .wpc-responsive-iframe>iframe{position:absolute;inset:0;width:100%;height:100%;border:0;aspect-ratio:auto}

html[data-color-mode="dark"] body
.wpc-loop-grid.wpc-loop-gradient .wpc-loop-card {
    border-radius: var(--design-card-radius, 16px) !important;
    overflow: hidden !important;
}

html[data-color-mode="dark"] body
.wpc-loop-grid.wpc-loop-gradient .wpc-loop-frame,
html[data-color-mode="dark"] body
.wpc-loop-grid.wpc-loop-gradient .wpc-loop-image {
    border-radius: 0 !important;
}

html[data-color-mode="dark"] body
.wpc-loop-grid.wpc-loop-gradient .wpc-loop-trigger:focus-visible {
    outline-offset: -3px;
}

.wpc-pagination.wpc-pg-v2,
.wpc-pagination.wpc-pg-v7 {
    --wpc-pagination-circle: 44px;
}

html body .wpc-pagination:is(.wpc-pg-v2, .wpc-pg-v7)
.wpc-pg-btn {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 var(--wpc-pagination-circle) !important;
    width: var(--wpc-pagination-circle) !important;
    min-width: var(--wpc-pagination-circle) !important;
    max-width: var(--wpc-pagination-circle) !important;
    height: var(--wpc-pagination-circle) !important;
    min-height: var(--wpc-pagination-circle) !important;
    max-height: var(--wpc-pagination-circle) !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
}

html body .wpc-pagination:is(.wpc-pg-v2, .wpc-pg-v7)
.wpc-pg-btn:is(:hover, :focus-visible, :active, [aria-current="page"]) {
    border-radius: 50% !important;
}

html body .wpc-pagination:is(.wpc-pg-v2, .wpc-pg-v7)
.wpc-pg-btn-label {
    display: none !important;
}

.wpc-pagination.wpc-pg-v2 .wpc-pg-nav,
.wpc-pagination.wpc-pg-v7 .wpc-pg-nav {
    align-items: center;
}

@media (max-width: 690px) {
    .wpc-pagination.wpc-pg-v2,
    .wpc-pagination.wpc-pg-v7 {
        --wpc-pagination-circle: 40px;
    }
}

html[data-color-mode="white"] body
.wpc-loop-grid.wpc-loop-floating .wpc-loop-card {
    box-sizing: border-box !important;
    padding: 14px 14px 18px !important;
    border: 1px solid var(--design-border, #e2e6ed) !important;
    border-radius: 16px !important;
    background: var(--design-surface, #fff) !important;
    box-shadow: 0 5px 18px rgb(15 23 42 / 5%) !important;
}

html[data-color-mode="white"] body
.wpc-loop-grid.wpc-loop-floating .wpc-loop-copy {
    padding: 3px 2px 0 !important;
}

@media (max-width: 690px) {
    html[data-color-mode="white"] body
    .wpc-loop-grid.wpc-loop-floating .wpc-loop-card {
        padding: 10px 10px 14px !important;
    }
}


body .wpc-kacang-header .wpc-kacang-bar {
  min-height: 60px;
  padding-inline: 16px;
  gap: 10px;
}

body .wpc-kacang-header .wpc-kacang-icon {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 11px;
}

body .wpc-kacang-header .wpc-kacang-icon > svg {
  width: 22px;
  height: 22px;
}

body .wpc-kacang-header
.wpc-kacang-search-toggle[aria-expanded="true"]::before {
  font-size: 30px;
}

/* INPUT SEARCH */
body .wpc-kacang-header .wpc-kacang-search-form {
  min-height: 58px;
  height: auto;
  padding: 4px 16px;
  gap: 8px;
  border: none !important;
  box-shadow: none !important;
}

body .wpc-kacang-header .wpc-kacang-search-form:focus-within {
  outline: 2px solid var(--design-link);
  outline-offset: 2px;
}

body .wpc-kacang-header
.wpc-kacang-search-form input[type="search"] {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 50px;
  min-height: 50px;
  margin: 0;
  padding: 0 4px;
  border: none !important;
  border-radius: 0;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--design-text, #161b26);
  font-family: var(--design-font-body, system-ui, sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

body .wpc-kacang-header
.wpc-kacang-search-form input[type="search"]::placeholder {
  font-size: inherit;
  color: var(--design-muted, #606b7b);
  opacity: 1;
}

body .wpc-kacang-header .wpc-kacang-search-form button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 11px;
}

body .wpc-kacang-header .wpc-kacang-search-form button svg {
  width: 22px;
  height: 22px;
}

body .wpc-kacang-menu[open] [data-kacang-close] {
  position: fixed;
  left: 16px;
  right: auto;
  top: calc(
    var(--kacang-panel-top, 63px) -
    var(--wpc-header-height, 63px) / 2 - 22px
  );
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 11px;
}

body .wpc-kacang-menu[open] [data-kacang-close] svg {
  width: 22px;
  height: 22px;
}

/* MOBILE DAN TABLET */
@media (max-width: 1023px) {
  body .wpc-kacang-header .wpc-kacang-bar {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }
}

/* DESKTOP */
@media (min-width: 1024px) {
  body .wpc-kacang-header .wpc-kacang-bar {
    min-height: 72px;
    gap: 0;
  }

  body .wpc-kacang-header .wpc-kacang-brand {
    min-height: 72px;
    padding-inline: 18px;
  }

  body .wpc-kacang-desktop > ul > li > a {
    min-height: 72px;
    padding-inline: 16px;
    font-size: var(--design-menu-size, 15px);
  }

  body .wpc-kacang-desktop .wpc-kacang-submenu-toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  body .wpc-kacang-desktop .wpc-kacang-submenu-toggle svg {
    width: 16px;
    height: 16px;
  }

  body .wpc-kacang-header.is-constrained .wpc-kacang-menu-toggle {
    margin-inline: 0 10px;
  }

  body .wpc-kacang-header .wpc-kacang-search-form {
    min-height: 64px;
  }

  body .wpc-kacang-header
  .wpc-kacang-search-form input[type="search"] {
    height: 56px;
    min-height: 56px;
    font-size: 18px;
  }
}

@media (max-width: 359px) {
  body .wpc-kacang-header .wpc-kacang-bar,
  body .wpc-kacang-header .wpc-kacang-search-form {
    padding-inline: 12px;
    gap: 6px;
  }

  body .wpc-kacang-menu[open] [data-kacang-close] {
    left: 12px;
  }
}
