/* ==========================================================================
   Premium Plugin — Frontend
   ========================================================================== */

/* Warna brand (--ptprm-primary, dll.) diinjeksi SETELAH file ini via wp_add_inline_style */
:root {
    --ptprm-line: rgba(0,0,0,.08);
    --ptprm-radius: 14px;
    --ptprm-radius-lg: 22px;
}

/* Placeholder media tanpa foto — ikut warna dominan preset */
.ptprm-media-placeholder {
    background:
        linear-gradient(160deg, var(--ptprm-primary) 0%, var(--ptprm-primary-soft) 100%),
        var(--ptprm-pattern-img, none);
    background-blend-mode: multiply;
    background-size: cover, 220px;
    background-repeat: no-repeat, repeat;
    color: var(--ptprm-accent-soft);
}

body.ptprm-is-home .entry-header,
body.ptprm-is-home .ast-page-header,
body.ptprm-is-home .post-thumb-img-content,
body.ptprm-is-home .ast-archive-description,
body.ptprm-is-home .ast-single-post-order,
body.ptprm-is-home .page-header,
body.ptprm-is-home .ast-breadcrumb-wrap {
    display: none !important;
}

body.ptprm-is-home .entry-content > p:empty { display:none; }

body.ptprm-is-subpage .ast-page-header,
body.ptprm-is-subpage .ast-page-header-wrap,
body.ptprm-is-subpage .ast-archive-description,
body.ptprm-is-subpage .ast-breadcrumb-wrap,
body.ptprm-is-subpage .entry-header,
body.ptprm-is-subpage .page .entry-header .entry-title {
    display: none !important;
}

/* ==========================================================================
   FULL-WIDTH FIX — netralkan wrapper Astra / theme lain supaya benar-benar
   edge-to-edge (tidak ada celah kanan / kiri di layar besar)
   ========================================================================== */

html,
body.ptprm-is-home,
body.ptprm-is-subpage {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body.ptprm-is-home #page,
body.ptprm-is-home .site,
body.ptprm-is-home .site-content,
body.ptprm-is-home #content,
body.ptprm-is-home #primary,
body.ptprm-is-home main,
body.ptprm-is-home .content-area,
body.ptprm-is-home article.page,
body.ptprm-is-home .entry-content,
body.ptprm-is-home .ast-container,
body.ptprm-is-home .ast-container-fluid,
body.ptprm-is-home .ast-row,
body.ptprm-is-home .ast-col-md-12,
body.ptprm-is-home .ast-article-single,
body.ptprm-is-subpage #page,
body.ptprm-is-subpage .site,
body.ptprm-is-subpage .site-content,
body.ptprm-is-subpage #content,
body.ptprm-is-subpage #primary,
body.ptprm-is-subpage main,
body.ptprm-is-subpage .content-area,
body.ptprm-is-subpage article.page,
body.ptprm-is-subpage .entry-content,
body.ptprm-is-subpage .ast-container,
body.ptprm-is-subpage .ast-container-fluid,
body.ptprm-is-subpage .ast-row,
body.ptprm-is-subpage .ast-col-md-12,
body.ptprm-is-subpage .ast-article-single {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
}

/* Beberapa instalasi Astra memberi padding bawaan di .site-content */
body.ptprm-is-home .site-content > .ast-container,
body.ptprm-is-subpage .site-content > .ast-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Jika tema menambahkan sidebar di sub-halaman, paksa hilang */
body.ptprm-is-subpage #secondary,
body.ptprm-is-subpage .widget-area {
    display: none !important;
}

/* Pastikan section plugin kita boleh keluar dari constraint apapun */
.ptprm-home,
.ptprm-subpage {
    width: 100%;
    max-width: 100%;
}
.ptprm-section,
.ptprm-hero,
.ptprm-subhero,
.ptprm-footer {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Hide theme footer */
.ptprm-active footer.site-footer,
body footer.site-footer:not(.ptprm-footer),
body #colophon,
body .ast-footer-overlay,
body .site-footer-primary-section,
body .site-below-footer-wrap,
body .ast-small-footer,
body .footer-sml-layout-1,
body .elementor-location-footer {
    display: none !important;
}

.ptprm {
    font-family: var(--ptprm-font-body);
    color: var(--ptprm-text);
}
.ptprm-container {
    max-width: var(--ptprm-max);
    margin: 0 auto;
    padding-left: clamp(16px, 4vw, 48px);
    padding-right: clamp(16px, 4vw, 48px);
}
.ptprm-text-center { text-align: center; }
.ptprm-section {
    padding-top: clamp(72px, 8vw, 120px);
    padding-bottom: clamp(72px, 8vw, 120px);
}
.ptprm-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: var(--ptprm-fs-eyebrow, 13px);
    font-weight: 600;
    color: var(--ptprm-accent);
    margin-bottom: 14px;
}
@media (max-width: 768px) {
    .ptprm-eyebrow { font-size: var(--ptprm-fs-eyebrow-m, 12px); }
}
.ptprm-eyebrow-on-dark { color: var(--ptprm-accent-soft) !important; }
.ptprm-h2 {
    font-family: var(--ptprm-font-heading);
    color: var(--ptprm-primary);
    font-size: var(--ptprm-fs-h2, 36px);
    line-height: var(--ptprm-lh-h2, 1.18);
    margin: 0 0 16px;
    font-weight: 700;
}
@media (max-width: 768px) {
    .ptprm-h2 { font-size: var(--ptprm-fs-h2-m, 28px); }
}
.ptprm-h2.ptprm-on-dark,
.ptprm-on-dark.ptprm-h2 { color: #fff !important; }
.ptprm-on-dark { color: #fff; }
.ptprm-lead {
    color: var(--ptprm-text-soft);
    font-size: var(--ptprm-fs-lead, 17px);
    line-height: var(--ptprm-lh-lead, 1.7);
    margin: 0 auto 36px;
    max-width: 720px;
}
@media (max-width: 768px) {
    .ptprm-lead { font-size: var(--ptprm-fs-lead-m, 15px); }
}
.ptprm-prose p,
.ptprm-prose li,
.ptprm-about-text p,
.ptprm-visit-line {
    font-size: var(--ptprm-fs-body, 16px);
    line-height: var(--ptprm-lh-body, 1.75);
    color: var(--ptprm-text-soft);
}
@media (max-width: 768px) {
    .ptprm-prose p,
    .ptprm-prose li,
    .ptprm-about-text p,
    .ptprm-visit-line { font-size: var(--ptprm-fs-body-m, 15px); }
}
.ptprm-prose p { margin: 0 0 14px; }
.ptprm-prose p:last-child { margin-bottom: 0; }
.ptprm-prose ul,
.ptprm-prose ol { font-size: var(--ptprm-fs-li, 16px); line-height: var(--ptprm-lh-body, 1.75); }
@media (max-width: 768px) {
    .ptprm-prose ul, .ptprm-prose ol { font-size: var(--ptprm-fs-li-m, 15px); }
}
.ptprm-link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 18px;
    color: var(--ptprm-primary);
    font-weight: 600;
    text-decoration: none;
}
.ptprm-link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.ptprm-link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HERO
   ========================================================================== */

.ptprm-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--ptprm-primary);
}
.ptprm-hero-height-small    { min-height: 60vh; }
.ptprm-hero-height-standard { min-height: 80vh; }
.ptprm-hero-height-tall     { min-height: 90vh; }
.ptprm-hero-height-full     { min-height: 100vh; }
.ptprm-hero-height-custom   { min-height: var(--ptprm-hero-h-d, 720px); }

/* Hero fullscreen di HP (beranda) */
@media (max-width: 768px) {
    body.ptprm-is-home .ptprm-hero {
        min-height: 100svh;
        min-height: 100dvh;
    }
    body.ptprm-is-home.ptprm-sticky-header {
        padding-top: 0 !important;
    }
    body.ptprm-is-home .ptprm-hero-inner {
        padding-top: calc(var(--ptprm-header-height, 64px) + clamp(20px, 5vw, 40px));
        padding-bottom: clamp(28px, 6vw, 48px);
        min-height: 100svh;
        min-height: 100dvh;
        box-sizing: border-box;
    }
    body.ptprm-is-home .ptprm-hero-dots {
        bottom: max(20px, env(safe-area-inset-bottom, 0px));
    }
    .ptprm-hero-height-standard,
    .ptprm-hero-height-small,
    .ptprm-hero-height-tall,
    .ptprm-hero-height-full,
    .ptprm-hero-height-custom {
        min-height: 100svh;
        min-height: 100dvh;
    }
}

.ptprm-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ptprm-hero-media picture,
.ptprm-hero-media img,
.ptprm-hero-single-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: var(--ptprm-hero-img-pos, center 35%);
}

/* Hero slideshow (hingga 5 banner) */
.ptprm-hero-slides {
    position: absolute;
    inset: 0;
}
.ptprm-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
    pointer-events: none;
}
.ptprm-hero-slide.is-active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}
.ptprm-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--ptprm-hero-img-pos, center 35%);
}
.ptprm-hero-dots {
    position: absolute;
    left: 50%;
    bottom: clamp(16px, 3vw, 28px);
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: auto;
    display: flex;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .22);
    backdrop-filter: blur(4px);
}
.ptprm-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .25);
    padding: 0;
    cursor: pointer;
    transition: background .25s, transform .2s;
}
.ptprm-hero-dot.is-active {
    background: var(--ptprm-accent, #C9A44C);
    border-color: var(--ptprm-accent-soft, #E0BC65);
    transform: scale(1.15);
}
.ptprm-hero-dot:hover {
    background: rgba(255, 255, 255, .65);
}
@media (prefers-reduced-motion: reduce) {
    .ptprm-hero-slide { transition: none; }
}
.ptprm-hero-noimg .ptprm-hero-media {
    background: var(--ptprm-pattern-img) repeat, linear-gradient(160deg, var(--ptprm-primary), var(--ptprm-primary-soft));
    background-size: 320px, auto;
}
.ptprm-hero-noimg .ptprm-hero-media::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(160deg, var(--ptprm-primary) 0%, rgba(var(--ptprm-primary-rgb), .6) 100%);
    opacity: .85;
}
.ptprm-hero-overlay {
    position: absolute; inset: 0;
    z-index: 1;
    background: var(--ptprm-hero-overlay);
    opacity: var(--ptprm-hero-overlay-a, .55);
    pointer-events: none;
}
.ptprm-hero[data-ptprm-hero] .ptprm-hero-overlay {
    background:
        linear-gradient(90deg, var(--ptprm-hero-overlay) 0%, rgba(var(--ptprm-primary-rgb), .2) 70%, rgba(var(--ptprm-primary-rgb), 0) 100%);
    opacity: var(--ptprm-hero-overlay-a, .55);
}
.ptprm-hero-align-h-center[data-ptprm-hero] .ptprm-hero-overlay,
.ptprm-hero-align-h-right[data-ptprm-hero] .ptprm-hero-overlay {
    background:
        linear-gradient(180deg, rgba(var(--ptprm-primary-rgb), 0) 30%, var(--ptprm-hero-overlay) 100%);
}

.ptprm-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: inherit;
    height: 100%;
    padding: clamp(40px, 8vw, 96px) clamp(16px, 4vw, 48px);
    max-width: var(--ptprm-max);
    margin: 0 auto;
}
.ptprm-hero-align-v-top    .ptprm-hero-inner { align-items: flex-start; }
.ptprm-hero-align-v-middle .ptprm-hero-inner { align-items: center; }
.ptprm-hero-align-v-bottom .ptprm-hero-inner { align-items: flex-end; }

.ptprm-hero-align-h-left   .ptprm-hero-inner { justify-content: flex-start; }
.ptprm-hero-align-h-center .ptprm-hero-inner { justify-content: center; text-align: center; }
.ptprm-hero-align-h-right  .ptprm-hero-inner { justify-content: flex-end; text-align: right; }

.ptprm-hero-text {
    max-width: var(--ptprm-hero-text-max, 620px);
    display: flex;
    flex-direction: column;
    gap: var(--ptprm-hero-gap, 18px);
    color: #fff;
}

.ptprm-hero-eyebrow {
    font-family: var(--ptprm-eyebrow-font, inherit);
    color: var(--ptprm-eyebrow-color, var(--ptprm-accent));
    font-weight: var(--ptprm-eyebrow-weight, 600);
    font-size: var(--ptprm-eyebrow-size, 14px);
    letter-spacing: var(--ptprm-eyebrow-ls, .24em);
}
.ptprm-hero-title {
    font-family: var(--ptprm-title-font, var(--ptprm-font-heading));
    color: var(--ptprm-title-color, #fff);
    font-weight: var(--ptprm-title-weight, 700);
    font-size: var(--ptprm-title-size, 64px);
    letter-spacing: var(--ptprm-title-ls, 0);
    line-height: var(--ptprm-title-lh, 1.12);
    margin: 0;
}
.ptprm-hero-sub {
    font-family: var(--ptprm-sub-font, var(--ptprm-font-body));
    color: var(--ptprm-sub-color, rgba(255,255,255,.85));
    font-weight: var(--ptprm-sub-weight, 400);
    font-size: var(--ptprm-sub-size, 18px);
    letter-spacing: var(--ptprm-sub-ls, 0);
    line-height: var(--ptprm-sub-lh, 1.7);
    margin: 0;
}

@media (max-width: 768px) {
    .ptprm-hero-eyebrow { font-size: var(--ptprm-eyebrow-size-m, 12px); }
    .ptprm-hero-title   { font-size: var(--ptprm-title-size-m, 36px); }
    .ptprm-hero-sub     { font-size: var(--ptprm-sub-size-m, 15px); }
    .ptprm-hero-align-h-right .ptprm-hero-inner { justify-content: flex-start; text-align: left; }
}

/* CTA row */
.ptprm-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 6px;
}
.ptprm-hero-align-h-center .ptprm-cta-row { justify-content: center; }
.ptprm-hero-align-h-right  .ptprm-cta-row { justify-content: flex-end; }

.ptprm-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    border: 2px solid transparent;
    transition: transform .15s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
    cursor: pointer;
}
.ptprm-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.ptprm-cta-icon { display: inline-flex; }
.ptprm-cta-icon svg { width: 18px; height: 18px; }
.ptprm-cta-size-small  { padding: 10px 18px; font-size: 14px; }
.ptprm-cta-size-medium { padding: 14px 24px; font-size: 15px; }
.ptprm-cta-size-large  { padding: 18px 30px; font-size: 17px; }

.ptprm-cta-1 {
    background: var(--ptprm-cta1-bg, var(--ptprm-accent));
    color: var(--ptprm-cta1-color, var(--ptprm-primary));
    border-radius: var(--ptprm-cta1-radius, 10px);
}
.ptprm-cta-1:hover {
    background: var(--ptprm-cta1-bg-h, var(--ptprm-accent-soft));
    color: var(--ptprm-cta1-color-h, var(--ptprm-primary));
}
.ptprm-cta-2 {
    background: var(--ptprm-cta2-bg, transparent);
    color: var(--ptprm-cta2-color, #fff);
    border-radius: var(--ptprm-cta2-radius, 10px);
    border-color: currentColor;
}
.ptprm-cta-2:hover {
    background: var(--ptprm-cta2-bg-h, #fff);
    color: var(--ptprm-cta2-color-h, var(--ptprm-primary));
}

.ptprm-cta.ptprm-cta-outline {
    background: transparent;
    border: 2px solid currentColor;
}
.ptprm-cta.ptprm-cta-ghost {
    background: transparent;
    border: 2px solid currentColor;
}
.ptprm-cta.ptprm-cta-outline:hover,
.ptprm-cta.ptprm-cta-ghost:hover {
    background: var(--ptprm-cta2-bg-h, var(--ptprm-accent));
    color: var(--ptprm-cta2-color-h, var(--ptprm-primary));
    border-color: var(--ptprm-cta2-bg-h, var(--ptprm-accent));
}
.ptprm-cta-1.ptprm-cta-outline:hover,
.ptprm-cta-1.ptprm-cta-ghost:hover {
    background: var(--ptprm-cta1-bg-h, var(--ptprm-accent));
    color: var(--ptprm-cta1-color-h, var(--ptprm-primary));
    border-color: var(--ptprm-cta1-bg-h, var(--ptprm-accent));
}

/* Animation */
@keyframes ptprm-fade { from { opacity:0 } to { opacity:1 } }
@keyframes ptprm-fade-up { from { opacity:0; transform: translateY(12px) } to { opacity:1; transform: translateY(0) } }
@keyframes ptprm-slide-in { from { opacity:0; transform: translateX(-24px) } to { opacity:1; transform: translateX(0) } }

.ptprm-anim-fade .ptprm-hero-text     > * { animation: ptprm-fade .7s ease both; }
.ptprm-anim-fade-up .ptprm-hero-text  > * { animation: ptprm-fade-up .7s ease both; }
.ptprm-anim-slide-in .ptprm-hero-text > * { animation: ptprm-slide-in .7s ease both; }
.ptprm-hero-text > *:nth-child(1) { animation-delay: 0s; }
.ptprm-hero-text > *:nth-child(2) { animation-delay: .08s; }
.ptprm-hero-text > *:nth-child(3) { animation-delay: .16s; }
.ptprm-hero-text > *:nth-child(4) { animation-delay: .24s; }

/* ==========================================================================
   ABOUT
   ========================================================================== */

.ptprm-about { background: #fff; }
.ptprm-about-inner {
    display: grid;
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    grid-template-columns: 1fr 1fr;
}
.ptprm-about-text-only .ptprm-about-inner { grid-template-columns: 1fr; max-width: 820px; }
.ptprm-about-image-right .ptprm-about-inner { grid-template-columns: 1fr 1fr; }
.ptprm-about-image-right .ptprm-about-media { order: 2; }

.ptprm-about-media img {
    width: 100%; height: auto;
    border-radius: var(--ptprm-radius-lg);
    box-shadow: var(--ptprm-shadow-md);
}
.ptprm-about-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--ptprm-radius-lg);
    position: relative;
    box-shadow: var(--ptprm-shadow-md);
    display: grid; place-items: center;
    overflow: hidden;
}
.ptprm-about-placeholder.ptprm-media-placeholder {
    background-size: cover, 240px;
}
.ptprm-about-placeholder::before {
    content: "";
    position: absolute; inset: 0;
    background-image: var(--ptprm-pattern-img);
    background-size: 220px;
    background-repeat: repeat;
    opacity: .18;
    mix-blend-mode: screen;
}
body.ptprm-pattern-off .ptprm-about-placeholder::before,
body.ptprm-pattern-off .ptprm-stats::before {
    display: none;
}
.ptprm-about-placeholder svg {
    width: 64px; height: 64px;
    color: var(--ptprm-accent-soft);
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .ptprm-about-inner { grid-template-columns: 1fr !important; }
    .ptprm-about-image-right .ptprm-about-media { order: 0; }
}

/* ==========================================================================
   VALUES
   ========================================================================== */

.ptprm-values {
    background: var(--ptprm-cream);
}
.ptprm-values-grid {
    margin-top: 36px;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ptprm-value-card {
    position: relative;
    background: #fff;
    border-radius: var(--ptprm-radius);
    padding: 28px 22px;
    box-shadow: var(--ptprm-shadow-sm);
    border: 1px solid var(--ptprm-line);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    cursor: default;
}
.ptprm-value-card:hover,
.ptprm-value-card:focus {
    transform: translateY(-3px);
    box-shadow: var(--ptprm-shadow-md);
    border-color: var(--ptprm-accent);
}
.ptprm-value-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ptprm-primary), var(--ptprm-primary-soft));
    color: var(--ptprm-accent-soft);
    display: grid; place-items: center;
}
.ptprm-value-icon svg { width: 28px; height: 28px; }
.ptprm-value-card h3 {
    margin: 0 0 10px;
    font-family: var(--ptprm-font-heading);
    color: var(--ptprm-primary);
    font-size: 20px;
    text-align: center;
}
.ptprm-value-desc {
    margin: 0;
    font-size: var(--ptprm-fs-body, 16px);
    line-height: var(--ptprm-lh-body, 1.75);
    color: var(--ptprm-text-soft);
    text-align: left;
    hyphens: auto;
}
.ptprm-value-teaser {
    margin: 0;
    font-size: 13px;
    color: var(--ptprm-text-soft);
    opacity: .8;
    text-align: center;
}

/* ==========================================================================
   ACTIVITIES
   ========================================================================== */

.ptprm-activities { background: #fff; }
.ptprm-activities-grid {
    margin-top: 36px;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) { .ptprm-activities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ptprm-activities-grid { grid-template-columns: 1fr; } }

.ptprm-activity-card {
    background: #fff;
    border-radius: var(--ptprm-radius);
    overflow: hidden;
    box-shadow: var(--ptprm-shadow-sm);
    border: 1px solid var(--ptprm-line);
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform .2s, box-shadow .2s;
}
.ptprm-activity-card:hover { transform: translateY(-3px); box-shadow: var(--ptprm-shadow-md); }
.ptprm-activity-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--ptprm-cream);
    overflow: hidden;
}
.ptprm-activity-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .4s;
}
.ptprm-activity-card:hover .ptprm-activity-thumb img { transform: scale(1.05); }
.ptprm-activity-placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
}
.ptprm-activity-placeholder.ptprm-media-placeholder {
    background-size: cover, 200px;
}
.ptprm-activity-placeholder svg { width: 42px; height: 42px; opacity: .7; }
.ptprm-activity-body { padding: 20px 22px 24px; }
.ptprm-activity-date {
    font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ptprm-accent);
    font-weight: 600;
}
.ptprm-activity-title {
    margin: 8px 0 8px;
    font-family: var(--ptprm-font-heading);
    color: var(--ptprm-primary);
    font-size: 20px;
    line-height: 1.3;
}
.ptprm-activity-title a { color: inherit; text-decoration: none; }
.ptprm-activity-title a:hover { color: var(--ptprm-accent); }
.ptprm-activity-excerpt { color: var(--ptprm-text-soft); line-height: 1.6; font-size: 14.5px; margin: 0 0 12px; }
.ptprm-section-cta { margin-top: 36px; }
.ptprm-section-cta .ptprm-cta { color: var(--ptprm-primary); border-color: var(--ptprm-primary); }
.ptprm-section-cta .ptprm-cta:hover { background: var(--ptprm-primary) !important; color: #fff; }

/* ==========================================================================
   STATS
   ========================================================================== */

.ptprm-stats {
    background: linear-gradient(160deg, var(--ptprm-primary) 0%, var(--ptprm-primary-soft) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ptprm-stats::before {
    content: "";
    position: absolute; inset: 0;
    background: var(--ptprm-pattern-img) repeat;
    background-size: 360px;
    opacity: .06;
    pointer-events: none;
}
.ptprm-stats-grid {
    position: relative;
    margin-top: 36px;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) { .ptprm-stats-grid { grid-template-columns: repeat(2, 1fr); } }

.ptprm-stat { text-align: center; }
.ptprm-stat-num {
    font-family: var(--ptprm-font-heading);
    color: var(--ptprm-accent-soft);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.05;
    font-weight: 700;
}
.ptprm-stat-label {
    margin-top: 6px;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    letter-spacing: .04em;
}

/* ==========================================================================
   VISIT
   ========================================================================== */

.ptprm-visit { background: var(--ptprm-cream); }
.ptprm-visit-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}
.ptprm-visit-grid {
    display: grid;
    gap: clamp(20px, 3vw, 32px);
    grid-template-columns: 1fr 0.95fr;
    align-items: stretch;
}
@media (max-width: 900px) {
    .ptprm-visit-grid { grid-template-columns: 1fr; }
}
.ptprm-visit-card {
    background: #fff;
    border-radius: var(--ptprm-radius);
    border: 1px solid var(--ptprm-line);
    box-shadow: var(--ptprm-shadow-sm);
    padding: clamp(22px, 3vw, 32px);
    display: flex; flex-direction: column; justify-content: center;
}
.ptprm-visit-line {
    display: flex; gap: 12px;
    align-items: flex-start;
    color: var(--ptprm-text);
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
}
.ptprm-visit-line:last-child { margin-bottom: 0; }
.ptprm-visit-line svg { width: 22px; height: 22px; color: var(--ptprm-accent); flex-shrink: 0; margin-top: 2px; }
.ptprm-visit-line a { color: var(--ptprm-primary); font-weight: 600; }
.ptprm-visit-map {
    border-radius: var(--ptprm-radius);
    overflow: hidden;
    box-shadow: var(--ptprm-shadow-sm);
    background: #fff;
    border: 1px solid var(--ptprm-line);
    min-height: 260px;
    position: relative;
}
.ptprm-visit-map iframe {
    width: 100%; height: 100%;
    min-height: 260px;
    border: 0;
    display: block;
}
.ptprm-visit-map-empty {
    width: 100%; height: 100%;
    min-height: 260px;
    display: grid; place-items: center;
    text-align: center;
    padding: 24px;
}
.ptprm-visit-map-empty.ptprm-media-placeholder {
    background-size: cover, 240px;
}
.ptprm-visit-map-empty svg { width: 40px; height: 40px; margin-bottom: 10px; opacity: .85; }
.ptprm-visit-map-empty p { margin: 0; font-size: 14px; color: rgba(255,255,255,.88); }
.ptprm-visit-map-empty a { color: var(--ptprm-accent-soft); font-weight: 600; }
.ptprm-visit-empty-msg {
    color: var(--ptprm-text-soft);
    font-style: italic;
    font-size: 14px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.ptprm-footer {
    background: linear-gradient(180deg, var(--ptprm-primary-soft) 0%, var(--ptprm-primary-deep) 100%);
    color: rgba(255,255,255,.78);
    padding: clamp(48px, 6vw, 72px) 0 24px;
    font-family: var(--ptprm-font-body);
}
.ptprm-footer-grid {
    display: grid;
    gap: clamp(24px, 4vw, 40px);
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    align-items: flex-start;
}
@media (max-width: 960px) { .ptprm-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ptprm-footer-grid { grid-template-columns: 1fr; } }

.ptprm-footer h4 {
    font-family: var(--ptprm-font-heading);
    color: var(--ptprm-accent-soft);
    font-size: 18px;
    margin: 0 0 14px;
}
.ptprm-footer p, .ptprm-footer li, .ptprm-footer a {
    color: rgba(255,255,255,.78);
    font-size: 14.5px;
    line-height: 1.7;
}
.ptprm-footer ul { list-style: none; padding: 0; margin: 0; }
.ptprm-footer li { margin-bottom: 6px; }
.ptprm-footer a { text-decoration: none; }
.ptprm-footer a:hover { color: var(--ptprm-accent-soft); }
.ptprm-footer-social {
    margin-top: 16px;
    display: flex; gap: 10px;
}
.ptprm-footer-social a {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--ptprm-accent-soft);
    transition: background .2s, color .2s, border-color .2s;
}
.ptprm-footer-social a:hover { background: var(--ptprm-accent); color: var(--ptprm-primary); border-color: var(--ptprm-accent); }
.ptprm-footer-social svg { width: 17px; height: 17px; }
.ptprm-footer-bottom {
    margin-top: 36px;
    padding: 20px clamp(16px, 4vw, 48px) 0;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.6);
    max-width: var(--ptprm-max);
    margin-left: auto; margin-right: auto;
}

/* ==========================================================================
   SUB-PAGE HERO + content wrapper
   ========================================================================== */

.ptprm-subhero {
    position: relative;
    padding: clamp(80px, 12vw, 160px) clamp(16px, 4vw, 48px) clamp(56px, 8vw, 96px);
    color: #fff;
    overflow: hidden;
    background-color: var(--ptprm-primary);
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    isolation: isolate;
}
.ptprm-subhero-pattern {
    background: linear-gradient(140deg, var(--ptprm-primary) 0%, var(--ptprm-primary-soft) 100%);
}
.ptprm-subhero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(var(--ptprm-primary-rgb), .92), rgba(var(--ptprm-primary-rgb), .55));
    opacity: var(--ptprm-sub-overlay-a, .7);
    z-index: 0;
    pointer-events: none;
}
.ptprm-subhero-pattern .ptprm-subhero-overlay { background: rgba(var(--ptprm-primary-rgb), .3); }
.ptprm-subhero-has-pattern::after {
    content: "";
    position: absolute; inset: 0;
    background-image: var(--ptprm-pattern-img);
    background-size: 380px;
    background-repeat: repeat;
    opacity: .09;
    pointer-events: none;
    z-index: 0;
}
.ptprm-subhero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.ptprm-subhero-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .26em;
    font-size: 12.5px;
    color: var(--ptprm-accent-soft);
    font-weight: 600;
    margin-bottom: 14px;
}
.ptprm-subhero-title {
    font-family: var(--ptprm-font-heading);
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.12;
    margin: 0 auto 16px;
    max-width: 900px;
}
.ptprm-subhero-sub {
    color: rgba(255,255,255,.85);
    max-width: 720px;
    margin: 0 auto;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.7;
}
.ptprm-subhero-ornament {
    margin: 26px auto 0;
    width: 120px;
    height: 18px;
    color: var(--ptprm-accent);
    opacity: .9;
}
.ptprm-subhero-ornament svg { width: 100%; height: auto; display: block; }
.ptprm-breadcrumb {
    margin-bottom: 18px;
    font-size: 13.5px;
    color: rgba(255,255,255,.65);
}
.ptprm-breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.ptprm-breadcrumb a:hover { color: #fff; }
.ptprm-breadcrumb .sep { margin: 0 8px; color: var(--ptprm-accent); }

.ptprm-subpage-content {
    background: #fff;
    padding: clamp(48px, 6vw, 80px) 0;
    color: var(--ptprm-text);
    font-family: var(--ptprm-font-body);
}
.ptprm-subpage-content .ptprm-container > * { max-width: 880px; margin-left: auto; margin-right: auto; }
.ptprm-subpage-content h2,
.ptprm-subpage-content h3 {
    font-family: var(--ptprm-font-heading);
    color: var(--ptprm-primary);
    margin: 2em 0 .6em;
    line-height: 1.3;
}
.ptprm-subpage-content h2 {
    font-size: var(--ptprm-fs-sub-h2, 30px);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ptprm-accent);
    display: inline-block;
}
.ptprm-subpage-content h3 {
    font-size: var(--ptprm-fs-sub-h3, 22px);
    color: var(--ptprm-primary-soft);
}
@media (max-width: 768px) {
    .ptprm-subpage-content h2 { font-size: var(--ptprm-fs-sub-h2-m, 24px); }
    .ptprm-subpage-content h3 { font-size: var(--ptprm-fs-sub-h3-m, 20px); }
}
.ptprm-subpage-content p,
.ptprm-subpage-content li {
    line-height: var(--ptprm-lh-sub-body, 1.78);
    color: var(--ptprm-text-soft);
    font-size: var(--ptprm-fs-sub-body, 16px);
}
.ptprm-subpage-content li { font-size: var(--ptprm-fs-sub-li, 16px); }
@media (max-width: 768px) {
    .ptprm-subpage-content p    { font-size: var(--ptprm-fs-sub-body-m, 15px); }
    .ptprm-subpage-content li   { font-size: var(--ptprm-fs-sub-li-m, 15px); }
}
.ptprm-subpage-content ul,
.ptprm-subpage-content ol { padding-left: 24px; }
.ptprm-subpage-content li { margin-bottom: 6px; }
.ptprm-subpage-content blockquote {
    border-left: 3px solid var(--ptprm-accent);
    margin: 24px 0;
    padding: 12px 18px;
    background: var(--ptprm-cream);
    color: var(--ptprm-text);
    font-style: italic;
}
.ptprm-subpage-content img {
    max-width: 100%; height: auto;
    border-radius: var(--ptprm-radius);
    box-shadow: var(--ptprm-shadow-sm);
}

/* Empty state */
.ptprm-empty {
    color: var(--ptprm-text-soft);
    background: var(--ptprm-cream);
    padding: 32px;
    border-radius: var(--ptprm-radius);
    margin-top: 28px;
}

/* ==========================================================================
   TEAM (Pengurus)
   ========================================================================== */

.ptprm-team { background: #fff; }
.ptprm-team-grouped {
    margin-top: 40px;
    text-align: left;
}
.ptprm-team-group {
    margin-bottom: 2.5rem;
}
.ptprm-team-group-title {
    margin: 0 0 1.25rem;
    font-family: var(--ptprm-font-heading);
    font-size: 1.35rem;
    color: var(--ptprm-primary);
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--ptprm-accent);
}
.ptprm-team-grid {
    margin-top: 40px;
    display: grid;
    gap: clamp(20px, 2.4vw, 28px);
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.ptprm-team-group .ptprm-team-grid {
    margin-top: 0;
}
@media (min-width: 1100px) {
    .ptprm-team-grid[style*="--ptprm-team-cols"] {
        grid-template-columns: repeat(var(--ptprm-team-cols, 4), minmax(0, 1fr));
    }
    .ptprm-team-group .ptprm-team-grid[style*="--ptprm-team-cols"] {
        grid-template-columns: repeat(var(--ptprm-team-cols, 4), minmax(0, 1fr));
    }
}

.ptprm-team-card {
    background: #fff;
    border-radius: var(--ptprm-radius);
    border: 1px solid var(--ptprm-line);
    box-shadow: var(--ptprm-shadow-sm);
    overflow: hidden;
    text-align: center;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ptprm-team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ptprm-shadow-md);
    border-color: var(--ptprm-accent);
}
.ptprm-team-photo {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--ptprm-cream);
    position: relative;
}
.ptprm-team-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.ptprm-team-card:hover .ptprm-team-photo img { transform: scale(1.05); }
.ptprm-team-placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
}
.ptprm-team-placeholder.ptprm-media-placeholder {
    background-size: cover, 180px;
}
.ptprm-team-placeholder svg { width: 48px; height: 48px; opacity: .7; }
.ptprm-team-body { padding: 20px 18px 22px; }
.ptprm-team-name {
    margin: 0 0 4px;
    font-family: var(--ptprm-font-heading);
    color: var(--ptprm-primary);
    font-size: 18px;
    line-height: 1.3;
}
.ptprm-team-role {
    margin: 0;
    font-size: 13px;
    color: var(--ptprm-accent);
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.ptprm-team-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--ptprm-primary);
    text-decoration: none;
    font-weight: 600;
}
.ptprm-team-link svg { width: 14px; height: 14px; transition: transform .2s; }
.ptprm-team-link:hover svg { transform: translateX(3px); }

/* ==========================================================================
   GALLERY
   ========================================================================== */

.ptprm-gallery { background: var(--ptprm-cream); }
.ptprm-gallery-grid {
    margin-top: 40px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(var(--ptprm-gallery-cols, 4), 1fr);
}
@media (max-width: 900px) { .ptprm-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ptprm-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.ptprm-gallery-item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--ptprm-radius);
    position: relative;
    box-shadow: var(--ptprm-shadow-sm);
}
.ptprm-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s, filter .3s;
}
.ptprm-gallery-item:hover img { transform: scale(1.08); filter: brightness(.92); }
.ptprm-gallery-item::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(var(--ptprm-primary-rgb), .6) 100%);
    opacity: 0; transition: opacity .25s;
    pointer-events: none;
}
.ptprm-gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.ptprm-lightbox {
    position: fixed; inset: 0;
    background: rgba(var(--ptprm-primary-rgb), .94);
    display: none;
    z-index: 99999;
    align-items: center; justify-content: center;
    padding: 24px;
}
.ptprm-lightbox.is-open { display: flex; }
.ptprm-lightbox img {
    max-width: 92vw;
    max-height: 86vh;
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.ptprm-lightbox-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,.1);
    border: 0; color: #fff;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}
.ptprm-lightbox-close:hover { background: var(--ptprm-accent); color: var(--ptprm-primary); }
.ptprm-lightbox-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.1);
    border: 0; color: #fff;
    width: 48px; height: 48px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
}
.ptprm-lightbox-nav.prev { left: 24px; }
.ptprm-lightbox-nav.next { right: 24px; }
.ptprm-lightbox-nav:hover { background: var(--ptprm-accent); color: var(--ptprm-primary); }

/* ==========================================================================
   BANNER CTA
   ========================================================================== */

.ptprm-banner-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--ptprm-primary);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}
.ptprm-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(var(--ptprm-primary-rgb), .94) 0%, rgba(var(--ptprm-primary-rgb), .6) 100%);
    z-index: 0;
}
.ptprm-banner-cta:not([style*="background-image"]) .ptprm-banner-overlay {
    background:
        linear-gradient(160deg, var(--ptprm-primary) 0%, var(--ptprm-primary-soft) 100%),
        var(--ptprm-pattern-img);
    background-blend-mode: multiply;
    background-size: cover, 320px;
    opacity: 1 !important;
}
.ptprm-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    padding-top: 20px; padding-bottom: 20px;
}
.ptprm-banner-cta .ptprm-eyebrow {
    color: var(--ptprm-accent-soft);
    margin-bottom: 16px;
}
.ptprm-banner-cta .ptprm-h2 { color: #fff !important; }
.ptprm-banner-cta .ptprm-lead { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.ptprm-banner-cta .ptprm-cta-row { margin-top: 0; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.ptprm-faq { background: #fff; }
.ptprm-faq-list {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ptprm-faq-item {
    background: #fff;
    border: 1px solid var(--ptprm-line);
    border-radius: var(--ptprm-radius);
    box-shadow: var(--ptprm-shadow-sm);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.ptprm-faq-item[open] {
    border-color: var(--ptprm-accent);
    box-shadow: var(--ptprm-shadow-md);
}
.ptprm-faq-q {
    cursor: pointer;
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-family: var(--ptprm-font-heading);
    color: var(--ptprm-primary);
    font-size: 17px;
    font-weight: 600;
}
.ptprm-faq-q::-webkit-details-marker { display: none; }
.ptprm-faq-icon {
    width: 32px; height: 32px;
    flex-shrink: 0;
    background: var(--ptprm-cream);
    color: var(--ptprm-accent);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s, background .2s, color .2s;
}
.ptprm-faq-item[open] .ptprm-faq-icon {
    transform: rotate(45deg);
    background: var(--ptprm-accent);
    color: #fff;
}
.ptprm-faq-a {
    padding: 0 24px 22px;
    color: var(--ptprm-text-soft);
    line-height: 1.75;
    font-size: 15px;
}
.ptprm-faq-a p { margin: 0 0 10px; }
.ptprm-faq-a p:last-child { margin-bottom: 0; }
.ptprm-faq-a a { color: var(--ptprm-primary); font-weight: 600; }

/* ==========================================================================
   GALLERY — SLIDER (autoplay + arrows + dots)
   ========================================================================== */

.ptprm-gallery-slider {
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    padding: 0 0 40px;
}
.ptprm-slider-track {
    display: flex;
    gap: 14px;
    will-change: transform;
    transition: transform .6s cubic-bezier(.4,.2,.2,1);
}
.ptprm-slider-slide {
    flex: 0 0 auto;
    width: calc((100% - (var(--ptprm-pv, 4) - 1) * 14px) / var(--ptprm-pv, 4));
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--ptprm-radius);
    box-shadow: var(--ptprm-shadow-sm);
    position: relative;
}
.ptprm-slider-slide img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .5s;
}
.ptprm-slider-slide:hover img { transform: scale(1.05); }
.ptprm-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.95);
    color: var(--ptprm-primary);
    box-shadow: var(--ptprm-shadow-md);
    cursor: pointer;
    font-size: 20px;
    display: grid; place-items: center;
    transition: background .2s, color .2s;
    z-index: 2;
}
.ptprm-slider-nav:hover { background: var(--ptprm-accent); color: var(--ptprm-primary); }
.ptprm-slider-nav.prev { left: 8px; }
.ptprm-slider-nav.next { right: 8px; }
.ptprm-slider-dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 18px;
    position: absolute;
    bottom: 0; left: 0; right: 0;
}
.ptprm-slider-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(var(--ptprm-primary-rgb), .2);
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.ptprm-slider-dot.is-active {
    background: var(--ptprm-accent);
    transform: scale(1.3);
}

@media (max-width: 1024px) {
    .ptprm-slider-slide { width: calc((100% - 2 * 14px) / 3); }
}
@media (max-width: 768px) {
    .ptprm-slider-slide { width: calc((100% - 14px) / 2); }
    .ptprm-slider-nav { width: 38px; height: 38px; font-size: 17px; }
}
@media (max-width: 480px) {
    .ptprm-slider-slide { width: 100%; }
}

/* ==========================================================================
   GALLERY — MARQUEE (bergerak terus-menerus)
   ========================================================================== */

.ptprm-gallery-marquee {
    margin-top: 40px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.ptprm-marquee-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: ptprm-marquee var(--ptprm-gallery-speed, 35s) linear infinite;
}
.ptprm-gallery-marquee.has-pause:hover .ptprm-marquee-track { animation-play-state: paused; }
.ptprm-marquee-item {
    flex: 0 0 auto;
    width: clamp(220px, 22vw, 320px);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--ptprm-radius);
    box-shadow: var(--ptprm-shadow-sm);
}
.ptprm-marquee-item img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

@keyframes ptprm-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ==========================================================================
   POP-UP IKLAN
   ========================================================================== */

.ptprm-popup {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.ptprm-popup.is-visible {
    display: flex;
    animation: ptprm-popup-fade .35s ease;
}
.ptprm-popup-overlay {
    position: absolute; inset: 0;
    background: rgba(var(--ptprm-popup-overlay-rgb, var(--ptprm-primary-rgb)), var(--ptprm-popup-overlay-a, .7));
    backdrop-filter: blur(4px);
    cursor: pointer;
}
.ptprm-popup-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 40px 90px rgba(0,0,0,.4);
    overflow: hidden;
    z-index: 1;
    animation: ptprm-popup-pop .4s cubic-bezier(.34,1.56,.64,1);
    display: flex;
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 48px);
}

/* Portrait: gambar dominan; teks menyesuaikan jumlah tulisan */
.ptprm-popup-portrait .ptprm-popup-card {
    width: min(920px, calc(100vw - 48px));
    flex-direction: row;
    align-items: stretch;
}
.ptprm-popup-portrait .ptprm-popup-media {
    flex: 0 0 50%;
    aspect-ratio: 4 / 5;
    max-height: min(520px, 72vh);
    min-width: 0;
}
.ptprm-popup-portrait.ptprm-popup-density-short .ptprm-popup-media {
    flex-basis: 58%;
    max-height: min(560px, 76vh);
}
.ptprm-popup-portrait.ptprm-popup-density-medium .ptprm-popup-media {
    flex-basis: 50%;
}
.ptprm-popup-portrait.ptprm-popup-density-long .ptprm-popup-media {
    flex-basis: 46%;
    max-height: min(480px, 68vh);
}
@media (max-width: 720px) {
    .ptprm-popup-portrait .ptprm-popup-card {
        width: min(440px, calc(100vw - 32px));
        flex-direction: column;
    }
    .ptprm-popup-portrait .ptprm-popup-media,
    .ptprm-popup-portrait.ptprm-popup-density-short .ptprm-popup-media,
    .ptprm-popup-portrait.ptprm-popup-density-long .ptprm-popup-media {
        flex: 0 0 auto;
        width: 100%;
        flex-basis: auto;
        aspect-ratio: 16 / 11;
        max-height: 42vh;
    }
}

/* Landscape: gambar atas dominan */
.ptprm-popup-landscape .ptprm-popup-card {
    width: min(720px, calc(100vw - 48px));
    flex-direction: column;
}
.ptprm-popup-landscape .ptprm-popup-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(340px, 48vh);
    flex: 0 0 auto;
}
.ptprm-popup-landscape.ptprm-popup-density-short .ptprm-popup-media {
    max-height: min(380px, 52vh);
    aspect-ratio: 16 / 10;
}
.ptprm-popup-landscape.ptprm-popup-density-long .ptprm-popup-media {
    max-height: min(300px, 42vh);
}

.ptprm-popup-media {
    overflow: hidden;
    background: var(--ptprm-cream);
    position: relative;
}
.ptprm-popup-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}
.ptprm-popup-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.ptprm-popup-slide,
.ptprm-popup-media > img {
    display: block;
}
.ptprm-popup-slide img,
.ptprm-popup-media > img {
    width: 100%; height: 100%;
    object-fit: cover;
}
a.ptprm-popup-slide { cursor: pointer; }
.ptprm-popup-dots {
    position: absolute;
    bottom: 12px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}
.ptprm-popup-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
    transition: background .2s, transform .2s;
}
.ptprm-popup-dot.is-active {
    background: var(--ptprm-accent);
    transform: scale(1.25);
}
.ptprm-popup-body {
    padding: clamp(16px, 2.5vw, 26px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    max-height: min(520px, 72vh);
}
.ptprm-popup-density-short .ptprm-popup-body {
    padding: clamp(18px, 2.5vw, 28px);
}
.ptprm-popup-density-long .ptprm-popup-body {
    padding: clamp(14px, 2vw, 22px);
    gap: 6px;
    max-height: min(480px, 68vh);
}
.ptprm-popup-body .ptprm-eyebrow {
    margin-bottom: 4px;
    font-size: 11px;
}
.ptprm-popup-title {
    margin: 0 0 4px;
    font-family: var(--ptprm-font-heading);
    color: var(--ptprm-primary);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.22;
}
.ptprm-popup-density-short .ptprm-popup-title {
    font-size: clamp(20px, 2.2vw, 26px);
}
.ptprm-popup-density-long .ptprm-popup-title {
    font-size: clamp(17px, 1.8vw, 22px);
}
.ptprm-popup-text {
    margin: 0 0 12px;
    color: var(--ptprm-text-soft);
    line-height: 1.55;
    font-size: 14px;
}
.ptprm-popup-density-short .ptprm-popup-text {
    font-size: 14px;
    line-height: 1.6;
}
.ptprm-popup-density-long .ptprm-popup-text {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.ptprm-popup-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}
.ptprm-popup-decline {
    background: transparent;
    border: 0;
    color: var(--ptprm-text-soft);
    text-decoration: underline;
    cursor: pointer;
    padding: 6px 4px;
    font-size: 14px;
}
.ptprm-popup-decline:hover { color: var(--ptprm-primary); }

.ptprm-popup-x {
    position: absolute;
    top: 14px; right: 14px;
    width: 36px; height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: var(--ptprm-primary);
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    display: grid; place-items: center;
    transition: background .2s, color .2s, transform .2s;
}
.ptprm-popup-x:hover {
    background: var(--ptprm-primary);
    color: #fff;
    transform: rotate(90deg);
}

@keyframes ptprm-popup-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes ptprm-popup-pop  {
    from { opacity: 0; transform: translateY(20px) scale(.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Inquiry modal (CTA2 → WhatsApp) */
.ptprm-inquiry-modal[hidden] { display: none !important; }
.ptprm-inquiry-modal {
    position: fixed; inset: 0; z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    padding: 1.25rem;
}
.ptprm-inquiry-backdrop {
    position: absolute; inset: 0;
    background: rgba(var(--ptprm-primary-rgb), 0.72);
}
.ptprm-inquiry-panel {
    position: relative; z-index: 1;
    width: min(520px, 100%);
    background: #fff; border-radius: 16px;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.ptprm-inquiry-panel h3 {
    margin: 0 0 0.35rem;
    font-family: var(--ptprm-font-heading);
    color: var(--ptprm-primary);
}
.ptprm-inquiry-hint {
    margin: 0 0 1rem;
    color: var(--ptprm-text-soft);
    font-size: 0.95rem;
}
.ptprm-inquiry-label {
    display: block; font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--ptprm-primary);
}
.ptprm-inquiry-message {
    width: 100%; min-height: 120px;
    border: 1px solid rgba(var(--ptprm-primary-rgb), 0.18);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    font: inherit; resize: vertical; box-sizing: border-box;
}
.ptprm-inquiry-actions {
    margin-top: 1rem;
    display: flex; justify-content: flex-end;
}
.ptprm-inquiry-close {
    position: absolute; top: 0.65rem; right: 0.75rem;
    border: 0; background: transparent;
    font-size: 1.5rem; line-height: 1; cursor: pointer;
    color: var(--ptprm-text-soft);
}
body.ptprm-inquiry-open { overflow: hidden; }

button.ptprm-cta {
    border: 1px solid transparent;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

/* Fixed header — tetap di atas, tidak ikut scroll (semua halaman) */
html.ptprm-sticky-header {
    scroll-padding-top: var(--ptprm-header-height, 80px);
}

body.ptprm-sticky-header {
    padding-top: var(--ptprm-header-height, 80px) !important;
    overflow-x: clip !important;
}

body.ptprm-sticky-header #ptprm-site-header,
body.ptprm-sticky-header #masthead,
body.ptprm-sticky-header .site-header,
body.ptprm-sticky-header .elementor-location-header,
body.ptprm-sticky-header .ast-primary-header-bar,
.ptprm-header-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 99990 !important;
    transform: none !important;
    margin: 0 !important;
    transition: none !important;
    box-sizing: border-box;
}

body.admin-bar.ptprm-sticky-header .ptprm-header-fixed {
    top: 32px !important;
}

body.admin-bar.ptprm-sticky-header {
    padding-top: calc(var(--ptprm-header-height, 80px) + 32px) !important;
}

@media (max-width: 782px) {
    body.admin-bar.ptprm-sticky-header .ptprm-header-fixed {
        top: 46px !important;
    }
    body.admin-bar.ptprm-sticky-header {
        padding-top: calc(var(--ptprm-header-height, 80px) + 46px) !important;
    }
}

/* Matikan efek shrink/slide header tema saat scroll */
body.ptprm-sticky-header .ptprm-header-fixed.ast-sticky-shrunk,
body.ptprm-sticky-header .ptprm-header-fixed.ast-header-sticked,
body.ptprm-sticky-header .ptprm-header-fixed.elementor-sticky--effects {
    transform: none !important;
    position: fixed !important;
    top: 0 !important;
}

body.admin-bar.ptprm-sticky-header .ptprm-header-fixed.ast-sticky-shrunk,
body.admin-bar.ptprm-sticky-header .ptprm-header-fixed.elementor-sticky--effects {
    top: 32px !important;
}

/* overflow-x: hidden di beranda/sub-halaman — clip saat header fixed aktif */
body.ptprm-sticky-header.ptprm-is-home,
body.ptprm-sticky-header.ptprm-is-subpage {
    overflow-x: clip !important;
}

/* Tombol halaman Tarombo */
.ptprm-tarombo-cta-wrap { margin: 2rem 0 0; }
.ptprm-tarombo-cta {
    background: linear-gradient(135deg, var(--ptprm-primary-soft), var(--ptprm-primary));
    border: 1px solid rgba(201, 162, 76, 0.35);
    border-radius: var(--ptprm-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    color: #fff;
}
.ptprm-tarombo-cta__title {
    margin: 0 0 0.5rem;
    font-family: var(--ptprm-font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}
.ptprm-tarombo-cta__lead {
    margin: 0 0 1.25rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 36rem;
    margin-left: auto; margin-right: auto;
}
.ptprm-tarombo-cta__actions {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem;
}

/* ==========================================================================
   MENU MOBILE (Astra / tema umum) — teks & latar terbaca saat drawer terbuka
   ========================================================================== */

.ast-mobile-popup-drawer.active .ast-mobile-popup-inner,
.ast-mobile-popup-drawer.active .ast-mobile-popup-content,
.ast-mobile-popup-drawer.active .ast-mobile-header-content,
.ast-mobile-popup-drawer .main-header-menu,
.ast-mobile-popup-drawer .main-navigation {
    background-color: var(--ptprm-primary, #0A1F3D) !important;
}

.ast-mobile-popup-drawer.active .main-header-menu .menu-item > a,
.ast-mobile-popup-drawer.active .main-header-menu .menu-item > .menu-link,
.ast-mobile-popup-drawer.active .ast-builder-menu-mobile .menu-item > a,
.ast-mobile-popup-drawer.active .ast-builder-menu-mobile .menu-item > .menu-link,
.ast-mobile-popup-drawer.active .menu-toggle,
.ast-mobile-popup-drawer.active .menu-toggle-close,
.ast-mobile-popup-drawer.active .ast-mobile-popup-header,
.ast-mobile-popup-drawer.active .ast-mobile-popup-header .menu-toggle-close {
    color: #fff !important;
    background: transparent !important;
}

.ast-mobile-popup-drawer.active .main-header-menu .menu-item > a:hover,
.ast-mobile-popup-drawer.active .main-header-menu .menu-item.current-menu-item > a,
.ast-mobile-popup-drawer.active .ast-builder-menu-mobile .menu-item > a:hover {
    color: var(--ptprm-accent, #C9A44C) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.ast-mobile-popup-drawer.active .main-header-menu .sub-menu,
.ast-mobile-popup-drawer.active .ast-builder-menu-mobile .sub-menu {
    background: rgba(0, 0, 0, 0.2) !important;
}

.ast-mobile-popup-drawer.active .main-header-menu .sub-menu .menu-item > a {
    color: rgba(255, 255, 255, 0.92) !important;
    padding-left: 1.25rem !important;
}

/* Fallback header collapse non-Astra */
@media (max-width: 921px) {
    body.ptprm-sticky-header .main-navigation.toggled .main-header-menu,
    body.ptprm-sticky-header .main-navigation.toggled ul,
    body.ptprm-sticky-header nav.toggled ul {
        background: var(--ptprm-primary, #0A1F3D) !important;
        padding: 12px !important;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }
    body.ptprm-sticky-header .main-navigation.toggled .main-header-menu a,
    body.ptprm-sticky-header nav.toggled ul a {
        color: #fff !important;
        display: block;
        padding: 10px 14px !important;
    }
}

/* ==========================================================================
   Premium Plugin — Site header (logo + menu)
   ========================================================================== */

body.ptprm-hide-theme-header #masthead,
body.ptprm-hide-theme-header .site-header,
body.ptprm-hide-theme-header .elementor-location-header,
body.ptprm-hide-theme-header .ast-primary-header-bar,
body.ptprm-hide-theme-header .ast-main-header-wrap,
body.ptprm-plugin-header .ast-mobile-header-wrap,
body.ptprm-plugin-header .ast-mobile-header-content,
body.ptprm-plugin-header .ast-mobile-menu-buttons,
body.ptprm-plugin-header #ast-mobile-header,
body.ptprm-plugin-header .ast-header-break-point .ast-button-wrap,
body.ptprm-plugin-header .ast-header-break-point .menu-toggle {
    display: none !important;
}

body.ptprm-plugin-header .ast-mobile-popup-drawer,
body.ptprm-plugin-header .ast-mobile-popup-drawer.active {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#ptprm-site-header {
    background: var(--ptprm-header-bg, var(--ptprm-primary, #0A1F3D));
    color: var(--ptprm-header-text, #fff);
    width: 100%;
    z-index: 99995;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    position: relative;
}

body.ptprm-header-transparent-home.ptprm-is-home #ptprm-site-header {
    background: transparent;
    box-shadow: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.ptprm-site-header__inner {
    max-width: var(--ptprm-max, 1200px);
    margin: 0 auto;
    padding: 0.65rem clamp(1rem, 3vw, 1.75rem);
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: 'brand nav actions';
    align-items: center;
    gap: 0.75rem 1.25rem;
}

/* Classic: logo kiri, menu+CTA kanan */
.ptprm-site-header--classic .ptprm-site-header__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.ptprm-site-header--classic .ptprm-site-header__brand { flex: 0 0 auto; }
.ptprm-site-header--classic .ptprm-site-header__nav-col--desktop {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}
.ptprm-site-header--classic .ptprm-site-header__actions {
    flex: 0 0 auto;
    margin-left: 0.5rem;
}

/* Split: logo | menu tengah | CTA kanan */
.ptprm-site-header--split .ptprm-site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: 'brand nav actions';
}
.ptprm-site-header--split .ptprm-site-header__brand { grid-area: brand; }
.ptprm-site-header--split .ptprm-site-header__nav-col--desktop {
    grid-area: nav;
    justify-self: center;
    display: flex;
    justify-content: center;
}
.ptprm-site-header--split .ptprm-site-header__actions {
    grid-area: actions;
    justify-self: end;
}

/* Centered: logo tengah atas, menu tengah bawah */
.ptprm-site-header--centered .ptprm-site-header__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem 1rem;
}
.ptprm-site-header--centered .ptprm-site-header__brand {
    width: 100%;
    justify-content: center;
}
.ptprm-site-header--centered .ptprm-site-header__nav-col--desktop {
    width: 100%;
    justify-content: center;
}
.ptprm-site-header--centered .ptprm-site-header__actions {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Minimal: satu baris ringkas, menu rapat */
.ptprm-site-header--minimal .ptprm-site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    gap: 0.5rem;
}
.ptprm-site-header--minimal .ptprm-site-header__nav-col--desktop {
    flex: 1;
    justify-content: flex-end;
}
.ptprm-site-header--minimal .ptprm-menu {
    gap: 0.1rem 0.15rem;
}
.ptprm-site-header--minimal .ptprm-menu a {
    padding: 0.32rem 0.55rem;
}

.ptprm-site-header__brand {
    grid-area: brand;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 0;
}

.ptprm-site-header__logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: left center;
}
.ptprm-site-header--centered .ptprm-site-header__logo-link {
    transform-origin: center center;
}
.ptprm-site-header__logo-link:hover {
    transform: scale(1.04);
}
.ptprm-site-header__logo-link:focus-visible {
    outline: 2px solid var(--ptprm-accent, #C9A44C);
    outline-offset: 3px;
    border-radius: 4px;
}

.ptprm-site-header__logo {
    max-height: var(--ptprm-header-logo-max, 48px);
    width: auto;
    height: auto;
    display: block;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.ptprm-site-header__logo-text {
    font-family: var(--ptprm-font-heading, serif);
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ptprm-site-header__nav-col--desktop {
    grid-area: nav;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.ptprm-site-header__actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ptprm-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: inherit;
    gap: 0.25rem 0.35rem;
}

.ptprm-menu a {
    color: var(--ptprm-header-text, #fff);
    text-decoration: none;
    font-size: var(--ptprm-header-menu-size, 15px);
    font-weight: 500;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.ptprm-header-nav-pill .ptprm-menu a:hover,
.ptprm-header-nav-pill .ptprm-menu .is-active > a,
.ptprm-site-header--nav-pill .ptprm-menu a:hover,
.ptprm-site-header--nav-pill .ptprm-menu .is-active > a {
    background: rgba(255, 255, 255, 0.12);
}

.ptprm-site-header--nav-underline .ptprm-menu a {
    border-radius: 0;
    border-bottom: 2px solid transparent;
}

.ptprm-site-header--nav-underline .ptprm-menu a:hover,
.ptprm-site-header--nav-underline .ptprm-menu .is-active > a {
    border-bottom-color: var(--ptprm-accent, #C9A44C);
}

.ptprm-menu .is-cta > a {
    background: var(--ptprm-accent, #C9A44C);
    color: var(--ptprm-primary, #0A1F3D);
    font-weight: 600;
}

.ptprm-site-header__cta {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, background 0.2s, color 0.2s;
}

.ptprm-site-header__cta--accent {
    background: var(--ptprm-accent, #C9A44C);
    color: var(--ptprm-primary, #0A1F3D);
}

.ptprm-site-header__cta--outline {
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    color: var(--ptprm-header-text, #fff);
}

.ptprm-site-header__cta--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ptprm-header-text, #fff);
}

.ptprm-site-header__cta:hover {
    transform: translateY(-1px);
}

.ptprm-site-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    flex-shrink: 0;
}

.ptprm-site-header__toggle:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--ptprm-accent-soft, #E0BC65);
}

.ptprm-site-header__toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ptprm-header-text, #fff);
    border-radius: 2px;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s, width 0.2s;
    transform-origin: center;
}

.ptprm-site-header__toggle.is-active .ptprm-site-header__toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.ptprm-site-header__toggle.is-active .ptprm-site-header__toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.ptprm-site-header__toggle.is-active .ptprm-site-header__toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

body.ptprm-mobile-nav-open {
    overflow: hidden !important;
    touch-action: none;
}

@media (min-width: 901px) {
    .ptprm-site-header__inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas: 'brand nav actions';
        align-items: center;
    }

    .ptprm-site-header__brand {
        grid-area: brand;
    }

    .ptprm-site-header__nav-col--desktop {
        grid-area: nav;
        display: flex !important;
        justify-content: center;
    }

    .ptprm-site-header__actions--bar {
        grid-area: actions;
        display: flex;
        justify-self: end;
    }

    .ptprm-site-header__toggle,
    .ptprm-mobile-nav-root {
        display: none !important;
    }

    .ptprm-site-header--centered .ptprm-site-header__inner {
        display: flex;
        flex-direction: column;
    }

    .ptprm-site-header--centered .ptprm-site-header__nav-col--desktop {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .ptprm-site-header__inner {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.65rem;
    }

    .ptprm-site-header--centered .ptprm-site-header__inner,
    .ptprm-site-header--split .ptprm-site-header__inner,
    .ptprm-site-header--classic .ptprm-site-header__inner,
    .ptprm-site-header--minimal .ptprm-site-header__inner {
        display: flex;
    }

    .ptprm-site-header__brand {
        flex: 1;
        min-width: 0;
    }

    .ptprm-site-header__toggle {
        display: inline-flex;
        order: 3;
    }

    .ptprm-site-header__actions--bar {
        display: none;
    }

    .ptprm-site-header__nav-col--desktop {
        display: none !important;
    }

    .ptprm-mobile-nav-root {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-width: none;
        z-index: 100001;
        display: block;
        pointer-events: none;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .ptprm-mobile-nav-root.is-open {
        pointer-events: auto;
        visibility: visible;
        opacity: 1;
    }

    .ptprm-mobile-drawer__backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(8, 14, 28, 0.55);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        transition: opacity 0.35s ease;
    }

    .ptprm-mobile-nav-root.is-open .ptprm-mobile-drawer__backdrop {
        opacity: 1;
    }

    .ptprm-mobile-drawer__panel {
        position: fixed;
        top: 0;
        right: 0;
        width: min(100vw, 400px);
        height: 100vh;
        height: 100dvh;
        max-height: none;
        display: flex;
        flex-direction: column;
        padding: max(16px, env(safe-area-inset-top, 0px)) clamp(20px, 5vw, 28px) max(24px, env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
        background:
            linear-gradient(165deg, var(--ptprm-header-bg, var(--ptprm-primary)) 0%, var(--ptprm-primary-deep, #050d1d) 100%);
        box-shadow: -12px 0 48px rgba(0, 0, 0, 0.35);
        transform: translateX(105%);
        transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1;
    }

    .ptprm-mobile-nav-root.is-open .ptprm-mobile-drawer__panel {
        transform: translateX(0);
    }

    .ptprm-mobile-drawer__head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: clamp(20px, 4vw, 32px);
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .ptprm-mobile-drawer__eyebrow {
        display: block;
        font-size: 11px;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: var(--ptprm-accent-soft, #E0BC65);
        font-weight: 600;
        margin-bottom: 6px;
    }

    .ptprm-mobile-drawer__title {
        display: block;
        font-family: var(--ptprm-font-heading, serif);
        font-size: clamp(1.15rem, 4vw, 1.45rem);
        font-weight: 700;
        line-height: 1.25;
        color: #fff;
    }

    .ptprm-mobile-drawer__close {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        cursor: pointer;
        position: relative;
        padding: 0;
    }

    .ptprm-mobile-drawer__close span {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 18px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform 0.2s;
    }

    .ptprm-mobile-drawer__close span:first-child {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .ptprm-mobile-drawer__close span:last-child {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .ptprm-site-header__nav {
        flex: 1;
    }

    .ptprm-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .ptprm-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ptprm-menu a {
        display: block;
        padding: 1rem 0.25rem;
        font-size: clamp(1.05rem, 3.8vw, 1.2rem);
        font-weight: 500;
        letter-spacing: 0.02em;
        border-radius: 0;
    }

    .ptprm-site-header--nav-pill .ptprm-menu a:hover,
    .ptprm-site-header--nav-pill .ptprm-menu .is-active > a {
        background: transparent;
        color: var(--ptprm-accent-soft, #E0BC65);
        padding-left: 0.5rem;
    }

    .ptprm-site-header--nav-underline .ptprm-menu a {
        border-bottom: none;
        box-shadow: inset 0 -2px 0 transparent;
    }

    .ptprm-site-header--nav-underline .ptprm-menu a:hover,
    .ptprm-site-header--nav-underline .ptprm-menu .is-active > a {
        box-shadow: inset 0 -2px 0 var(--ptprm-accent, #C9A44C);
    }

    .ptprm-site-header__actions--drawer {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: auto;
        padding-top: 24px;
    }

    .ptprm-site-header__actions--drawer .ptprm-site-header__cta {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.25rem;
        font-size: 1rem;
        border-radius: 12px;
    }

    .ptprm-mobile-drawer__ornament {
        margin-top: 20px;
        color: var(--ptprm-accent-soft, #E0BC65);
        opacity: 0.55;
    }

    #ptprm-site-header {
        position: relative;
    }
}

