/* Frontend Publikasi Visual - v1.0.22 */
.pv-publication-page {
    --pv-ink: #3e2319;
    --pv-muted: #7a665b;
    --pv-line: #f0dec1;
    --pv-line-strong: #d4872f;
    --pv-surface: #fffdfa;
    --pv-soft: #fff7eb;
    --pv-soft-strong: #fff1d7;
    --pv-accent: #c9771b;
    --pv-accent-dark: #8e2f18;
    --pv-shadow: 0 20px 44px rgba(153, 101, 37, 0.12);
    width: 100%;
    min-width: 0;
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 18px 48px;
    overflow-x: hidden;
    color: var(--pv-ink);
    font-family: inherit;
    box-sizing: border-box;
    container-type: inline-size;
    container-name: pv-publications;
}

.pv-publication-page *,
.pv-publication-page *::before,
.pv-publication-page *::after {
    box-sizing: border-box;
}

.pv-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 18px;
    padding: 26px 30px 26px;
    border: 1px solid rgba(183, 133, 33, 0.12);
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(243, 199, 86, 0.16) 0%, rgba(243, 199, 86, 0) 26%),
        radial-gradient(circle at 0% 100%, rgba(154, 51, 23, 0.09) 0%, rgba(154, 51, 23, 0) 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(252, 247, 240, 0.98) 56%, rgba(246, 236, 220, 0.97) 100%);
    box-shadow:
        0 22px 48px rgba(93, 60, 36, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    color: var(--pv-ink);
}

.pv-hero::before {
    position: absolute;
    left: 30px;
    top: 24px;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8f2f18 0%, #d8a94e 100%);
    content: "";
}

.pv-hero::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.42), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
    content: "";
}

.pv-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.pv-eyebrow {
    display: inline-block;
    margin: 0;
    color: #b77c1a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pv-eyebrow--dark {
    color: var(--pv-accent-dark);
}

.pv-hero h1,
.pv-section-heading h2 {
    font-weight: 780;
    letter-spacing: -0.03em;
}

.pv-hero h1 {
    max-width: 720px;
    margin: 12px 0 10px;
    color: #70210f;
    font-size: 30px;
    line-height: 1.16;
}

.pv-hero p {
    max-width: 720px;
    margin: 0;
    color: #65594f;
    font-size: 14.25px;
    line-height: 1.76;
}

.pv-summary-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 20px;
}

.pv-summary-card {
    min-width: 0;
    min-height: 108px;
    padding: 18px 18px 15px;
    border-radius: 24px;
    border: 1px solid rgba(183, 133, 33, 0.12);
    border-top: 4px solid rgba(186, 112, 37, 0.96);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 248, 242, 0.98) 100%);
    box-shadow:
        0 15px 30px rgba(93, 60, 36, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pv-summary-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 20px 38px rgba(93, 60, 36, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.pv-summary-card span {
    display: block;
    margin-bottom: 8px;
    color: #8b7467;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.pv-summary-card strong {
    display: block;
    color: #3b3029;
    font-size: clamp(20px, 1.4vw, 24px);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.pv-summary-card small {
    display: block;
    margin-top: 5px;
    color: #9b8b81;
    font-size: 11.5px;
    line-height: 1.45;
}

.pv-summary-card--category {
    border-top-color: rgba(189, 141, 47, 0.98);
}

.pv-summary-card--month {
    border-top-color: rgba(77, 72, 69, 0.94);
}

.pv-summary-card--category strong {
    color: #8a5a18;
}

.pv-summary-card--month strong {
    color: #4d4845;
}

.pv-dynamic-content {
    position: relative;
}

.pv-dynamic-content.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(1px);
}

.pv-featured-section {
    margin-top: 32px;
}

.pv-catalog-section {
    margin-top: 20px;
}

.pv-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.pv-section-heading h2 {
    margin: 0;
    color: var(--pv-accent-dark);
    font-size: 30px;
    line-height: 1.12;
}

.pv-section-heading p {
    max-width: 420px;
    margin: 0;
    color: var(--pv-muted);
    font-size: 14px;
    line-height: 1.68;
    text-align: right;
}

.pv-featured-layout {
    display: grid;
    grid-auto-rows: 174px;
    grid-template-columns: 1.45fr 1fr 1fr;
    gap: 16px;
}

.pv-featured-card {
    position: relative;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--pv-line);
    border-top: 4px solid var(--pv-line-strong);
    border-radius: 22px;
    outline: 0;
    background: linear-gradient(180deg, #fffefb 0%, #fff7eb 100%);
    color: var(--pv-ink);
    box-shadow: 0 12px 28px rgba(153, 101, 37, 0.09);
    cursor: pointer;
    text-align: left;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pv-featured-card:hover,
.pv-featured-card:focus-visible {
    border-color: #e0b97d;
    box-shadow: 0 18px 34px rgba(153, 101, 37, 0.14);
    transform: translateY(-3px);
}

.pv-featured-card:focus-visible,
.pv-card__trigger:focus-visible {
    outline: 3px solid rgba(201, 119, 27, 0.22);
    outline-offset: -3px;
}

.pv-featured-card--primary {
    grid-row: span 2;
}

.pv-featured-card__media {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff7ed;
}

.pv-featured-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
}

.pv-featured-card__media .pv-file-cover {
    height: 100%;
}

.pv-featured-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 20%, rgba(91, 41, 18, 0.86) 100%);
}

.pv-featured-card__content {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px;
    color: #fff;
}

.pv-featured-card__content strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pv-featured-card--primary .pv-featured-card__content {
    padding: 26px;
}

.pv-featured-card--primary .pv-featured-card__content strong {
    max-width: 92%;
    font-size: 24px;
}

.pv-featured-card__content small {
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
}

.pv-badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 6px 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 135, 47, 0.16);
    border-radius: 999px;
    background: #fff7ec;
    color: #9b5c17;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.pv-badge--light {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.pv-filter {
    position: relative;
    padding: 22px 24px 24px;
    margin: 0 0 18px;
    border-radius: 26px;
    border: 1px solid rgba(183, 133, 33, 0.12);
    background:
        radial-gradient(circle at 100% 0%, rgba(243, 199, 86, 0.14) 0%, rgba(243, 199, 86, 0) 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(252, 248, 241, 0.98) 52%, rgba(247, 239, 228, 0.97) 100%);
    box-shadow:
        0 18px 36px rgba(93, 60, 36, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.pv-filter__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.pv-filter__header-copy {
    max-width: 720px;
}

.pv-filter__kicker,
.pv-filter__field label {
    display: block;
    margin-bottom: 8px;
    color: #7b675a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.pv-filter__kicker {
    margin-bottom: 10px;
    color: #8d5c17;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pv-filter__title {
    display: block;
    margin: 10px 0 4px;
    color: #7d2c16;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.pv-filter__desc {
    max-width: none;
    margin: 0;
    color: #7f746b;
    font-size: 13px;
    line-height: 1.62;
}

.pv-filter__aside {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.pv-filter__count {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    white-space: nowrap;
    border: 1px solid rgba(183, 133, 33, 0.14);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.92) 0%, rgba(255, 255, 255, 0.9) 100%);
    color: #8a5a18;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.pv-filter__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.9fr);
    gap: 14px 16px;
    align-items: end;
    margin-top: 18px;
}

.pv-filter__field {
    min-width: 0;
}

.pv-filter__field input,
.pv-filter__field select {
    width: 100% !important;
    min-width: 0;
    height: 48px !important;
    padding: 0 14px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(183, 133, 33, 0.14) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #3f342d !important;
    font-size: 13px !important;
    line-height: 48px !important;
    box-shadow: none !important;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.pv-filter__field select {
    padding-right: 46px !important;
    background-image:
        linear-gradient(45deg, transparent 50%, #9a3317 50%),
        linear-gradient(135deg, #9a3317 50%, transparent 50%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.92) 100%) !important;
    background-position:
        calc(100% - 21px) 20px,
        calc(100% - 15px) 20px,
        0 0 !important;
    background-size:
        6px 6px,
        6px 6px,
        100% 100% !important;
    background-repeat: no-repeat !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.pv-filter__field input:focus,
.pv-filter__field select:focus {
    outline: 0 !important;
    border-color: rgba(154, 51, 23, 0.42) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(154, 51, 23, 0.08) !important;
}

.pv-filter__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

.pv-filter__actions button,
.pv-empty-state__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    min-width: 144px;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #8e2f18 0%, #cf7a1b 100%) !important;
    color: #fff !important;
    cursor: pointer;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 14px 28px rgba(142, 47, 24, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
    appearance: none;
}

.pv-filter__actions button:hover,
.pv-empty-state__button:hover {
    color: #fff !important;
    filter: brightness(1.04);
    box-shadow: 0 18px 32px rgba(142, 47, 24, 0.24);
    transform: translateY(-1px);
}

.pv-filter__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 144px;
    padding: 0 20px;
    white-space: nowrap;
    border-radius: 16px;
    border: 1px solid rgba(154, 51, 23, 0.16);
    background: rgba(255, 251, 245, 0.96);
    color: #7c4b2a !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(93, 60, 36, 0.06);
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pv-filter__reset:hover {
    background: rgba(255, 245, 232, 0.96);
    border-color: rgba(154, 51, 23, 0.24);
    color: #7d2c16 !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(93, 60, 36, 0.09);
}

.pv-filter__status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(183, 133, 33, 0.12);
    color: #6a5b50;
    font-size: 13px;
    line-height: 1.55;
}

.pv-filter__status strong {
    color: #8b3014;
    font-size: 15px;
    font-weight: 800;
}

.pv-filter__status small {
    color: #8b7467;
    font-size: 12px;
    line-height: 1.5;
    text-align: right;
}

.pv-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.pv-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--pv-line);
    border-radius: 22px;
    background: linear-gradient(180deg, #fffefb 0%, #ffffff 100%);
    box-shadow: 0 12px 28px rgba(153, 101, 37, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pv-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, #b8521c 0%, #d99b42 100%);
    content: "";
    z-index: 1;
}

.pv-card:hover {
    border-color: #e1ba80;
    box-shadow: 0 20px 38px rgba(153, 101, 37, 0.13);
    transform: translateY(-4px);
}

.pv-card__trigger {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.pv-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid rgba(240, 222, 193, 0.78);
    background: linear-gradient(145deg, #fff8ee, #fffef9);
}

.pv-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
    transition: transform 0.28s ease;
}

.pv-card:hover .pv-card__media img {
    transform: scale(1.025);
}

.pv-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 160px;
    padding: 18px;
}

.pv-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 10px;
    color: #9a8273;
    font-size: 11px;
}

.pv-card__meta time {
    flex: 0 0 auto;
    white-space: nowrap;
}

.pv-card__title {
    display: -webkit-box;
    margin-top: 14px;
    overflow: hidden;
    color: var(--pv-ink);
    font-size: 17px;
    font-weight: 780;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pv-card__excerpt {
    display: -webkit-box;
    margin-top: 10px;
    overflow: hidden;
    color: var(--pv-muted);
    font-size: 13px;
    line-height: 1.62;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pv-card__action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    color: var(--pv-accent-dark);
    font-size: 12px;
    font-weight: 800;
}

.pv-card__action span {
    font-size: 16px;
    line-height: 1;
}

.pv-file-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    gap: 8px;
    background: linear-gradient(135deg, #fff1dd, #f7d8b7);
    color: var(--pv-accent-dark);
}

.pv-file-cover span {
    padding: 8px 12px;
    border-radius: 10px;
    background: #bc4425;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.pv-file-cover small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pv-pagination {
    margin-top: 24px;
    text-align: center;
}

.pv-pagination .pagination {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pv-pagination .pagination li a,
.pv-pagination .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--pv-line);
    border-radius: 14px;
    background: #fff;
    color: #7b5b49;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(153, 101, 37, 0.06);
}

.pv-pagination .pagination li.active span,
.pv-pagination .pagination li a:hover {
    border-color: transparent;
    background: linear-gradient(135deg, #8e2f18 0%, #cf7a1b 100%);
    color: #fff;
}

.pv-empty-state {
    margin-top: 22px;
    padding: 42px 24px;
    border: 1px dashed #e3c79b;
    border-radius: 22px;
    background: linear-gradient(180deg, #fffdfa 0%, #fff7ec 100%);
    text-align: center;
}

.pv-empty-state__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fff0dd;
    color: var(--pv-accent-dark);
    font-size: 26px;
    font-weight: 800;
}

.pv-empty-state h3 {
    margin: 0 0 8px;
    color: var(--pv-accent-dark);
    font-size: 22px;
}

.pv-empty-state p {
    max-width: 470px;
    margin: 0 auto 18px;
    color: var(--pv-muted);
    font-size: 14px;
    line-height: 1.7;
}

.pv-empty-state__button {
    min-height: 44px;
    padding: 0 18px;
}

.pv-modal-payload {
    display: none;
}

.pv-modal {
    position: fixed;
    inset: 0;
    z-index: 2147482400 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.pv-modal.is-open {
    display: flex;
}

.pv-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 11, 6, 0.7);
    backdrop-filter: blur(5px);
}

.pv-modal__dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1040px;
    max-height: calc(100vh - 44px);
    overflow: hidden;
    border: 1px solid rgba(255, 245, 232, 0.52);
    border-radius: 28px;
    background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
    box-shadow: 0 34px 80px rgba(24, 13, 6, 0.34);
    outline: 0;
}

#pv-modal .pv-modal__close,
#pv-modal button.pv-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0 !important;
    border-radius: 50%;
    background: linear-gradient(135deg, #8e2f18 0%, #cf7a1b 100%) !important;
    color: #fff !important;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    box-shadow: 0 14px 28px rgba(142, 47, 24, 0.22) !important;
    transition: transform 0.18s ease, filter 0.18s ease;
}

#pv-modal .pv-modal__close:hover,
#pv-modal .pv-modal__close:focus-visible {
    filter: brightness(1.04);
    transform: scale(1.04);
}

#pv-modal .pv-modal__close:focus-visible,
.pv-button:focus-visible {
    outline: 3px solid rgba(201, 119, 27, 0.26);
    outline-offset: 2px;
}

.pv-modal__mount {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.pv-modal__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
    width: 100%;
    min-width: 0;
    max-height: calc(100vh - 44px);
    overflow: hidden;
}

.pv-modal__content > .pv-modal-content__media,
.pv-modal__content > .pv-modal-content__detail {
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    float: none;
}

.pv-modal-content__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 40px 42px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 30%),
        linear-gradient(145deg, #fff5e8 0%, #fffdf9 100%);
}

.pv-modal-content__media-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid rgba(212, 135, 47, 0.16);
    border-radius: 999px;
    background: rgba(255, 249, 239, 0.92);
    color: #9b5c17;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.pv-modal-content__media::after {
    position: absolute;
    right: -82px;
    bottom: -92px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(201, 119, 27, 0.12);
    border-radius: 50%;
    content: "";
}

.pv-modal-content__media img {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 100%;
    max-height: min(590px, calc(100vh - 124px));
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(101, 62, 24, 0.16);
}

.pv-modal-content__media .pv-file-cover {
    position: relative;
    z-index: 1;
    min-height: 260px;
    border-radius: 18px;
}

.pv-modal-content__detail {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 44px);
    padding: 52px 40px 30px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #dbc3a7 transparent;
}

.pv-modal-content__header {
    padding-bottom: 20px;
    border-bottom: 1px solid #f1dec0;
}

.pv-modal-content__eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pv-modal-content__meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(212, 135, 47, 0.14);
    border-radius: 999px;
    background: #fffdfa;
    color: #8f7869;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.pv-modal-content__detail h2 {
    max-width: 100%;
    margin: 16px 0 8px;
    overflow-wrap: break-word;
    color: var(--pv-accent-dark);
    font-size: 32px;
    font-weight: 780;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.pv-modal-content__date {
    margin: 0;
    color: #8e7766;
    font-size: 13px;
    line-height: 1.65;
}

.pv-modal-content__panel {
    margin-top: 22px;
    padding: 18px 18px 19px;
    border: 1px solid #efdec1;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdfa 0%, #fff7ed 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.pv-modal-content__text,
.pv-modal-content__note {
    margin: 0;
    color: #5d4b41;
    font-size: 14px;
    line-height: 1.78;
}

.pv-modal-content__note {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--pv-muted);
}

.pv-modal-content__text > *:first-child {
    margin-top: 0;
}

.pv-modal-content__text h1,
.pv-modal-content__text h2,
.pv-modal-content__text h3 {
    color: var(--pv-accent-dark);
}

.pv-modal-content__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.pv-modal-content__footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f1dec0;
}

.pv-modal__content--brief .pv-modal-content__detail {
    justify-content: center;
}

.pv-modal__content--brief .pv-modal-content__footer {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #f1dec0;
}

.pv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none !important;
    transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.pv-button:hover {
    transform: translateY(-1px);
}

.pv-button--primary {
    background: linear-gradient(135deg, #8e2f18 0%, #cf7a1b 100%);
    color: #fff;
    box-shadow: 0 14px 28px rgba(142, 47, 24, 0.16);
}

.pv-button--primary:hover {
    color: #fff;
    filter: brightness(1.04);
}

.pv-button--secondary {
    border-color: #e0c092;
    background: #fff;
    color: var(--pv-accent-dark);
}

.pv-button--secondary:hover {
    border-color: #d49b51;
    background: #fff6e7;
    color: var(--pv-accent-dark);
}

.pv-button--ghost {
    border-color: #ead7b7;
    background: #fff9f1;
    color: #7f5a42;
}

.pv-button--ghost:hover {
    border-color: #d6b07a;
    background: #fff3df;
    color: var(--pv-accent-dark);
}

#pv-modal-content .pv-button--primary,
#pv-modal-content a.pv-button--primary,
#pv-modal-content button.pv-button--primary {
    background: linear-gradient(135deg, #8e2f18 0%, #cf7a1b 100%) !important;
    background-color: #8e2f18 !important;
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(142, 47, 24, 0.16) !important;
}

#pv-modal-content .pv-button--secondary,
#pv-modal-content a.pv-button--secondary,
#pv-modal-content button.pv-button--secondary {
    border-color: #e0c092 !important;
    background: #fff !important;
    color: var(--pv-accent-dark) !important;
}

#pv-modal-content .pv-button--ghost,
#pv-modal-content a.pv-button--ghost,
#pv-modal-content button.pv-button--ghost {
    border-color: #ead7b7 !important;
    background: #fff9f1 !important;
    color: #7f5a42 !important;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    margin: -1px !important;
    border: 0 !important;
    white-space: nowrap !important;
}

@container pv-publications (max-width: 820px) {
    .pv-hero {
        padding: 30px 28px;
    }

    .pv-summary-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pv-featured-layout {
        grid-template-columns: 1.2fr 1fr;
        grid-auto-rows: 180px;
    }

    .pv-featured-card--primary {
        grid-row: span 2;
    }

    .pv-section-heading {
        display: block;
    }

    .pv-section-heading p {
        margin-top: 8px;
        text-align: left;
    }

    .pv-filter__header {
        display: block;
    }

    .pv-filter__aside {
        justify-content: flex-start;
        margin-top: 14px;
    }
}

@container pv-publications (max-width: 590px) {
    .pv-publication-page {
        padding: 14px 12px 42px;
    }

    .pv-hero {
        padding: 24px 20px 22px;
        border-radius: 24px;
    }

    .pv-hero::before {
        left: 20px;
        top: 20px;
        width: 64px;
    }

    .pv-eyebrow {
        font-size: 9px;
        letter-spacing: 0.14em;
    }

    .pv-hero h1 {
        font-size: 30px;
        line-height: 1.14;
    }

    .pv-hero p {
        max-width: none;
        font-size: 13px;
        line-height: 1.68;
    }

    .pv-summary-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 18px;
    }

    .pv-summary-card {
        min-height: 96px;
        padding: 12px 10px;
        border-radius: 18px;
    }

    .pv-summary-card strong {
        font-size: 22px;
    }

    .pv-summary-card span {
        display: block;
        overflow-wrap: anywhere;
        font-size: 9px;
        line-height: 1.3;
    }

    .pv-summary-card small {
        font-size: 10px;
        line-height: 1.35;
    }

    .pv-featured-section,
    .pv-catalog-section {
        margin-top: 28px;
    }

    .pv-section-heading {
        margin-bottom: 14px;
    }

    .pv-section-heading h2 {
        font-size: 24px;
    }

    .pv-featured-layout {
        grid-template-columns: 1fr;
        grid-auto-rows: 210px;
        gap: 14px;
    }

    .pv-featured-card--primary {
        grid-row: span 1;
    }

    .pv-featured-card__content,
    .pv-featured-card--primary .pv-featured-card__content {
        padding: 18px;
    }

    .pv-featured-card--primary .pv-featured-card__content strong {
        font-size: 20px;
    }

    .pv-filter {
        padding: 18px 16px;
        border-radius: 20px;
    }

    .pv-filter__kicker,
    .pv-filter__field label {
        margin-bottom: 7px;
        font-size: 11px;
    }

    .pv-filter__title {
        font-size: 24px;
        line-height: 1.16;
    }

    .pv-filter__desc {
        font-size: 13px;
        line-height: 1.6;
    }

    .pv-filter__count {
        min-height: 36px;
        padding: 0 13px;
        font-size: 11px;
    }

    .pv-filter__grid {
        grid-template-columns: 1fr;
        margin-top: 16px;
    }

    .pv-filter__field input,
    .pv-filter__field select,
    .pv-filter__actions button,
    .pv-filter__reset {
        min-height: 46px !important;
    }

    .pv-filter__field input,
    .pv-filter__field select {
        padding: 0 14px !important;
        font-size: 13px !important;
    }

    .pv-filter__actions {
        justify-content: stretch;
        gap: 10px;
        margin-top: 16px;
    }

    .pv-filter__actions button,
    .pv-filter__reset {
        width: 100%;
        min-width: 0;
        font-size: 12px !important;
    }

    .pv-filter__status {
        display: block;
        margin-top: 16px;
        padding-top: 16px;
    }

    .pv-filter__status small {
        display: block;
        margin-top: 6px;
        text-align: left;
    }

    .pv-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 18px;
    }

    .pv-card {
        border-radius: 18px;
    }

    .pv-card::before {
        border-radius: 18px 18px 0 0;
    }

    .pv-card__media {
        min-height: 248px;
    }

    .pv-card__media img {
        padding: 12px;
    }

    .pv-card__body {
        min-height: 0;
        padding: 16px;
    }

    .pv-card__title {
        margin-top: 12px;
        font-size: 17px;
    }

    .pv-card__excerpt {
        margin-top: 8px;
    }

    .pv-card__action {
        padding-top: 14px;
    }

    .pv-empty-state {
        margin-top: 18px;
        padding: 32px 18px;
    }

    .pv-pagination .pagination {
        justify-content: center;
        gap: 8px;
    }

    .pv-pagination .pagination li a,
    .pv-pagination .pagination li span {
        min-width: 38px;
        min-height: 38px;
        padding: 0 12px;
        border-radius: 12px;
    }
}

@container pv-publications (max-width: 390px) {
    .pv-publication-page {
        padding-right: 10px;
        padding-left: 10px;
    }

    .pv-hero {
        padding: 22px 18px 20px;
    }

    .pv-hero h1 {
        font-size: 27px;
    }

    .pv-summary-card strong {
        font-size: 20px;
    }

    .pv-summary-card span {
        font-size: 8.5px;
    }

    .pv-card__media {
        min-height: 225px;
    }
}

@media (max-width: 680px) {
    .pv-modal {
        align-items: flex-end;
        padding: 0;
    }

    .pv-modal__dialog {
        width: 100%;
        max-width: none;
        max-height: calc(100vh - 10px);
        border-width: 0;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -16px 40px rgba(24, 13, 6, 0.26);
    }

    .pv-modal__mount {
        max-height: calc(100vh - 10px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .pv-modal__content {
        display: block;
        max-height: none;
        min-height: 0;
        overflow: visible;
    }

    .pv-modal-content__media {
        min-height: 218px;
        max-height: 42vh;
        padding: 54px 20px 20px;
    }

    .pv-modal-content__media-badge {
        top: 16px;
        left: 18px;
        padding: 6px 10px;
        font-size: 9px;
    }

    .pv-modal-content__media img {
        max-height: 34vh;
        border-radius: 6px;
    }

    .pv-modal-content__media .pv-file-cover {
        min-height: 180px;
    }

    .pv-modal-content__detail {
        max-height: none;
        padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
        overflow: visible;
    }

    .pv-modal-content__header {
        padding-bottom: 16px;
    }

    .pv-modal-content__detail h2 {
        margin-top: 13px;
        font-size: 24px;
        line-height: 1.18;
    }

    .pv-modal-content__date {
        font-size: 11px;
    }

    .pv-modal-content__panel {
        margin-top: 18px;
        padding: 16px;
    }

    .pv-modal-content__text,
    .pv-modal-content__note {
        font-size: 14px;
        line-height: 1.68;
    }

    .pv-modal-content__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 22px;
    }

    .pv-modal-content__footer {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid #f1dec0;
    }

    .pv-button {
        width: 100%;
        min-height: 48px;
        margin: 0;
        font-size: 14px;
    }

    #pv-modal .pv-modal__close,
    #pv-modal button.pv-modal__close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        font-size: 30px;
    }
}

@media (max-width: 390px) {
    .pv-modal-content__media {
        min-height: 198px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .pv-modal-content__detail {
        padding-right: 17px;
        padding-left: 17px;
    }

    .pv-modal-content__detail h2 {
        font-size: 22px;
    }
}

@supports (height: 100dvh) {
    @media (max-width: 680px) {
        .pv-modal__dialog,
        .pv-modal__mount {
            max-height: calc(100dvh - 10px);
        }

        .pv-modal-content__media {
            max-height: 42dvh;
        }

        .pv-modal-content__media img {
            max-height: 34dvh;
        }
    }
}
