/* Papepo Site — front end that does not need Elementor. */

.ps,
.ps * { box-sizing: border-box; }

.ps {
    --ink: #313042;
    --navy: #0b022d;
    --slate: #2c3e50;
    --muted: #5c6570;
    --orange: #ff8f2b;
    --cream: #fff8e5;
    --paper: #f4f2f6;
    --line: #e4e1ea;
    --white: #fff;
    --max: 1120px;
    color: var(--slate);
    font-family: "Segoe UI", "Avenir Next", "Nunito Sans", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    background: var(--white);
}

.ps h1, .ps h2, .ps h3, .ps h4 {
    color: var(--ink);
    font-weight: 720;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0 0 0.45em;
}

.ps h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.ps h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.ps h3 { font-size: 1.15rem; }
.ps p { margin: 0 0 0.9em; }
.ps a { color: var(--navy); }
.ps img { max-width: 100%; height: auto; display: block; }

.ps-skip {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--orange);
    color: var(--navy);
    padding: 0.5rem 1rem;
    z-index: 100000;
}
.ps-skip:focus { left: 0.5rem; top: 0.5rem; }

.ps-wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.ps-kicker {
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange);
    margin: 0 0 0.6rem;
}
.ps-kicker--light { color: #ffc48a; }
.ps-lead { font-size: 1.12rem; color: var(--muted); max-width: 46rem; }
.ps-lead--light { color: rgba(255,255,255,0.82); }
.ps-fine, .ps-footer__fine { font-size: 0.82rem; color: var(--muted); }
.ps-signoff { font-weight: 700; color: var(--ink); }

.ps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 46px;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 750;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
}
.ps-btn--dark { background: var(--ink); color: #fff; }
.ps-btn--dark:hover { background: var(--navy); color: #fff; }
.ps-btn--orange { background: var(--orange); color: #2a1600; }
.ps-btn--orange:hover { filter: brightness(0.96); color: #2a1600; }
.ps-btn--ghost { background: transparent; color: var(--ink); border-color: #cfc9d8; }
.ps-btn--ghostlight { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.ps-btn--ghostlight:hover { background: rgba(255,255,255,0.1); color: #fff; }
.ps-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

.ps-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
body.admin-bar .ps-header { top: 32px; }
.ps-header__bar {
    width: min(1240px, calc(100% - 1.5rem));
    margin: 0 auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.ps-logo { display: flex; align-items: center; flex: 0 0 auto; }
.ps-logo__img { width: 148px; height: auto; }
.ps-logo__img--light { filter: brightness(0) invert(1); }
.ps-nav { margin-left: auto; }
.ps-nav__list, .ps-nav__drop { list-style: none; margin: 0; padding: 0; }
.ps-nav__list { display: flex; gap: 0.15rem; align-items: center; }
.ps-nav__list > li > a {
    display: block;
    padding: 0.55rem 0.7rem;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 650;
    border-radius: 8px;
}
.ps-nav__list > li > a:hover { background: var(--paper); }
.ps-nav__hasdrop { position: relative; }
.ps-nav__drop {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.4rem;
    box-shadow: 0 16px 40px rgba(11,2,45,0.12);
}
.ps-nav__hasdrop:hover .ps-nav__drop,
.ps-nav__hasdrop:focus-within .ps-nav__drop { display: block; }
.ps-nav__drop a {
    display: block;
    padding: 0.55rem 0.7rem;
    text-decoration: none;
    color: var(--slate);
    border-radius: 8px;
    font-size: 0.92rem;
}
.ps-nav__drop a:hover { background: var(--cream); }
.ps-search input {
    width: 140px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font: inherit;
    background: var(--paper);
}
.ps-header__actions { display: flex; gap: 0.4rem; }
.ps-header__actions .ps-btn { min-height: 38px; padding: 0.45rem 0.85rem; font-size: 0.85rem; }
.ps-burger {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 10px;
}
.ps-burger span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: var(--ink);
}

.ps-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--navy);
    overflow: hidden;
}
/* .ps img is more specific than a single class, so the poster rules have to beat it
   or the still sits on top of the playing video. */
.ps .ps-hero__media { z-index: 0; }
.ps .ps-hero__media,
.ps .ps-hero__video,
.ps .ps-hero__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}
.ps .ps-hero__video { z-index: 1; }
.ps .ps-hero__poster { z-index: 0; display: none; }
.ps .ps-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(11,2,45,0.88) 0%, rgba(11,2,45,0.55) 55%, rgba(11,2,45,0.25) 100%);
}
.ps .ps-hero__content { position: relative; z-index: 1; padding: 6.5rem 0 4.5rem; }
.ps-hero h1, .ps-hero__line { color: #fff; }
.ps-hero__line { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 650; margin-bottom: 0.8rem; }
.ps-hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.ps-section { padding: 4.5rem 0; }
.ps-section--paper { background: var(--paper); }
.ps-section--ink { background: var(--navy); color: #fff; }
.ps-section--ink h2 { color: #fff; }

.ps-trio, .ps-featuregrid, .ps-pillars, .ps-catalog, .ps-posts, .ps-shots {
    display: grid;
    gap: 1rem;
}
.ps-trio { grid-template-columns: repeat(3, 1fr); }
.ps-featuregrid { grid-template-columns: repeat(3, 1fr); margin-top: 1.2rem; }
.ps-pillars { grid-template-columns: repeat(3, 1fr); margin-top: 1.5rem; }
.ps-catalog { grid-template-columns: repeat(4, 1fr); }
.ps-posts { grid-template-columns: repeat(3, 1fr); }
.ps-shots { grid-template-columns: repeat(3, 1fr); margin-top: 1rem; }

.ps-card, .ps-featuregrid article, .ps-pillars article, .ps-catalog__card, .ps-postcard, .ps-donate, .ps-seal, .ps-auth__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.3rem 1.25rem 1.1rem;
}
.ps-section--paper .ps-card,
.ps-section--paper .ps-featuregrid article { background: #fff; }
.ps-card h2 { font-size: 1.35rem; }
.ps-card a, .ps-postcard span { font-weight: 750; text-decoration: none; color: var(--navy); }
.ps-pillars img, .ps-frame img, .ps-catalog__card img, .ps-postcard img, .ps-shots img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 16/10;
    margin-bottom: 0.8rem;
}
.ps-frame { margin: 0; }
.ps-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2rem;
}
.ps-checklist { padding-left: 1.1rem; }
.ps-checklist li { margin: 0.45rem 0; }

.ps-band {
    background: var(--ink);
    color: #fff;
    padding: 3.2rem 0;
}
.ps-band h2 { color: #fff; max-width: 18ch; }
.ps-band p { color: rgba(255,255,255,0.8); max-width: 42rem; }
.ps-band--slim h2 { max-width: none; font-size: clamp(1.3rem, 2vw, 1.8rem); }

.ps-tabs__bar { display: flex; gap: 0.4rem; margin: 1rem 0 0.4rem; }
.ps-tabs__bar button {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    color: var(--ink);
}
.ps-tabs__bar button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.ps-nosub {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    min-height: 320px;
    background: var(--navy);
    color: #fff;
}
.ps-nosub__media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; border-radius: 0; }
.ps-nosub__copy { display: flex; align-items: center; padding: 2.5rem; }
.ps-nosub h2 { color: #fff; }

.ps-faqwrap { max-width: 860px; }
.ps-faq details {
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0;
}
.ps-faq summary {
    cursor: pointer;
    font-weight: 750;
    color: var(--ink);
    font-size: 1.05rem;
}
.ps-faq details p { color: var(--muted); margin: 0.7rem 0 0.3rem; }

.ps-pagehead {
    background:
        radial-gradient(900px 240px at 0% 0%, rgba(255,143,43,0.18), transparent 60%),
        var(--paper);
    padding: 3.2rem 0 2.4rem;
    border-bottom: 1px solid var(--line);
}
.ps-pagehead h1 { font-size: clamp(2rem, 4vw, 3.3rem); max-width: 18ch; }

.ps-prose { max-width: 760px; }
.ps-prose h2 { margin-top: 1.6rem; }
.ps-seal { background: var(--cream); border-color: #f0ddb0; margin-bottom: 1.4rem; }
.ps-seal--inline { margin-top: 1.6rem; }
.ps-donate { margin-top: 2rem; background: var(--cream); border-color: #f0ddb0; }
.ps-catalog__card { text-decoration: none; color: inherit; display: block; }
.ps-catalog__card:hover { transform: translateY(-3px); }
.ps-shots figcaption { font-size: 0.88rem; color: var(--muted); }

.ps-tablewrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.ps-table { width: 100%; border-collapse: collapse; background: #fff; }
.ps-table th, .ps-table td { text-align: left; padding: 0.75rem 0.8rem; border-bottom: 1px solid var(--line); }
.ps-table th { background: var(--ink); color: #fff; font-weight: 700; }
.ps-table td:nth-child(n+2), .ps-table th:nth-child(n+2) { text-align: center; width: 90px; }

.ps-postcard { padding: 0; overflow: hidden; }
.ps-postcard a { display: block; padding: 0 0 1rem; color: inherit; text-decoration: none; }
.ps-postcard img { border-radius: 18px 18px 0 0; margin: 0 0 0.8rem; aspect-ratio: 16/9; }
.ps-postcard h2, .ps-postcard h3, .ps-postcard p, .ps-postcard .ps-kicker { padding: 0 1rem; }
.ps-postcard h2 { font-size: 1.25rem; }
.ps-postcard .ps-kicker { display: flex; gap: 0.6rem; align-items: center; }
.ps-postcard .ps-kicker time { color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 600; }
.ps-postcard span { padding: 0 1rem; }

.ps-pager { margin-top: 1.5rem; }
.ps-pager .nav-links { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.ps-pager a, .ps-pager span {
    display: inline-block;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
}
.ps-pager .current { background: var(--ink); color: #fff; }

.ps-cta { background: var(--cream); padding: 2.5rem 0; }
.ps-cta__inner { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.ps-cta h2 { max-width: 16ch; }

.ps-article__hero img { width: 100%; border-radius: 18px; max-height: 520px; object-fit: cover; margin-top: 1.4rem; }
.ps-article__body { padding-top: 1.6rem; padding-bottom: 1rem; }
.ps-article__body > * { max-width: 760px; }
.ps-share { display: flex; gap: 0.8rem; align-items: center; margin-top: 1.5rem; font-weight: 750; }
.ps-share a { text-decoration: none; }
.ps-postnav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 2rem;
}
.ps-postnav a { text-decoration: none; font-weight: 700; }

.ps-auth { max-width: 460px; }
.ps-auth__card #loginform { display: grid; gap: 0.45rem; }
.ps-auth__card label { font-weight: 700; color: var(--ink); }
.ps-auth__card input[type="text"],
.ps-auth__card input[type="password"],
.ps-auth__card input[type="email"] {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
}
.ps-auth__card .login-remember { font-weight: 500; }
.ps-auth__card #wp-submit {
    margin-top: 0.6rem;
    background: var(--ink);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1.2rem;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}
.ps-auth__links { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; }

.ps-test { min-height: 40vh; padding-top: 4rem; }

.ps-footer { background: var(--navy); color: rgba(255,255,255,0.82); padding-top: 3rem; }
.ps-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ps-footer a { color: #fff; }
.ps-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 1.6rem; }
.ps-footer__links { display: flex; flex-direction: column; gap: 0.25rem; }
.ps-footer__links a { text-decoration: none; }
.ps-footer__base { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2rem; padding: 1rem 0; font-size: 0.85rem; }
.ps-logo--footer { margin-bottom: 0.8rem; }

.ps-newsform { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.ps-newsform input[type="email"] {
    flex: 1 1 160px;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    padding: 0.7rem 0.9rem;
    font: inherit;
}
.ps-newsform button {
    border: 0;
    border-radius: 999px;
    background: var(--orange);
    color: #2a1600;
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.7rem 0.95rem;
    cursor: pointer;
}
.ps-note { flex: 1 0 100%; border-radius: 10px; padding: 0.55rem 0.7rem; font-size: 0.9rem; }
.ps-note--ok { background: #e7f6ec; color: #146c36; }
.ps-note--bad { background: #fde8e8; color: #9b1c1c; }
.ps-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }

.ps-portal .cb-portal-wrap { margin-top: 0; }
.ps-section--ink .psh-plan-card { color: var(--slate); }
.ps-section--ink .psh-pricing-wrapper { padding-top: 0.5rem; }

.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
    height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}

@media (max-width: 980px) {
    .ps-trio, .ps-featuregrid, .ps-pillars, .ps-posts, .ps-shots { grid-template-columns: 1fr 1fr; }
    .ps-catalog, .ps-footer__grid { grid-template-columns: 1fr 1fr; }
    .ps-split, .ps-nosub, .ps-cta__inner { grid-template-columns: 1fr; display: grid; }
    .ps-search { display: none; }
}
@media (max-width: 760px) {
    body.admin-bar .ps-header { top: 46px; }
    .ps-burger { display: block; }
    .ps-nav, .ps-header__actions { display: none; }
    .ps-header.is-open .ps-nav,
    .ps-header.is-open .ps-header__actions,
    .ps-header.is-open .ps-search {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .ps-header.is-open .ps-header__bar { flex-wrap: wrap; padding-bottom: 0.8rem; }
    .ps-header.is-open .ps-nav { order: 5; width: 100%; margin: 0; }
    .ps-header.is-open .ps-nav__list { flex-direction: column; align-items: stretch; }
    .ps-header.is-open .ps-nav__drop { position: static; display: block; box-shadow: none; border: 0; padding-left: 0.6rem; }
    .ps-header.is-open .ps-search { order: 6; width: 100%; display: block; }
    .ps-header.is-open .ps-search input { width: 100%; }
    .ps-header.is-open .ps-header__actions { order: 7; width: 100%; }
    .ps-trio, .ps-featuregrid, .ps-pillars, .ps-posts, .ps-shots, .ps-catalog, .ps-footer__grid { grid-template-columns: 1fr; }
    .ps-hero { min-height: auto; }
    .ps .ps-hero__video { display: none; }
    .ps .ps-hero__poster { display: block; }
    .ps-hero__content { padding: 3.2rem 0 2.6rem; }
    .ps-section { padding: 3rem 0; }
    .ps-postnav { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .ps .ps-hero__video { display: none; }
    .ps .ps-hero__poster { display: block; }
}
