/* ============================================
   Espaço Cultural - Visual Premium
   Design System: Editorial/Cultural
   ============================================ */

/* --- Google Fonts (incluídas via <link> no header.php) --- */
/* Playfair Display:400,700 | Inter:400,500,600 */

:root {
    --pub-bg: #f8f7f4;
    --pub-bg-warm: #f3f1ec;
    --pub-card: #ffffff;
    --pub-dark: #1a1a2e;
    --pub-dark-soft: #2d2d44;
    --pub-accent: #c0392b;
    --pub-accent-hover: #a93226;
    --pub-text: #2c2c2c;
    --pub-text-muted: #7a7a7a;
    --pub-text-light: #a0a0a0;
    --pub-border: #e8e5e0;
    --pub-border-light: #f0ede8;
    --pub-radius: 8px;
    --pub-radius-lg: 12px;
    --pub-shadow: 0 1px 3px rgba(0,0,0,0.04);
    --pub-shadow-hover: 0 8px 24px rgba(0,0,0,0.08);
    --pub-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--pub-bg);
    color: var(--pub-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Header --- */
.pub-header {
    background-color: #f7f7f7;
    padding: 0.8rem 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.pub-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.pub-header-logo {
    max-height: 120px;
}

/* --- Container --- */
.pub-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem 3.5rem;
}

.pub-section {
    padding: 2.5rem 0;
}

.pub-section + .pub-section {
    border-top: 1px solid var(--pub-border-light);
}

/* --- Section Titles --- */
.pub-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pub-text);
    margin-bottom: 1.75rem;
    letter-spacing: 0.01em;
    padding-left: 1rem;
    border-left: 4px solid var(--pub-accent);
}

/* --- Card Grid --- */
.pub-grid {
    display: grid;
    gap: 1.25rem;
}

.pub-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pub-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pub-grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
    .pub-grid-3, .pub-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .pub-grid-3, .pub-grid-4, .pub-grid-2 { grid-template-columns: 1fr; }
}

/* --- Card --- */
.pub-card {
    background: var(--pub-card);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform var(--pub-transition), box-shadow var(--pub-transition), border-color var(--pub-transition);
}

.pub-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--pub-shadow-hover);
    border-color: var(--pub-accent);
}

.pub-card-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    background: var(--pub-bg-warm);
}

.pub-card-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--pub-dark) 0%, var(--pub-dark-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pub-card-placeholder i {
    font-size: 2rem;
    color: rgba(255,255,255,0.2);
}

.pub-card-body {
    padding: 1rem 1.15rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pub-card-badge {
    display: inline-block;
    background: var(--pub-accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pub-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pub-text);
    margin: 0 0 0.5rem 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pub-card-title-sm {
    font-size: 0.9rem;
}

.pub-card-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.78rem;
    color: var(--pub-text-muted);
    margin-top: auto;
}

.pub-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.pub-card-meta i {
    font-size: 0.7rem;
    color: var(--pub-accent);
}

/* --- Detail Page --- */
.pub-detail-hero {
    position: relative;
    width: 100%;
    max-height: 420px;
    overflow: hidden;
    border-radius: var(--pub-radius-lg) var(--pub-radius-lg) 0 0;
}

.pub-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pub-detail-hero .pub-gallery-overlay {
    border-radius: var(--pub-radius-lg) var(--pub-radius-lg) 0 0;
}

.pub-detail-hero:hover .pub-gallery-overlay {
    opacity: 1;
}

.pub-detail-article {
    background: var(--pub-card);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius-lg);
    overflow: hidden;
    margin-top: -2rem;
    position: relative;
    z-index: 1;
}

.pub-detail-body {
    padding: 2rem 2.25rem 2.5rem;
}

@media (max-width: 600px) {
    .pub-detail-body { padding: 1.5rem 1.25rem 2rem; }
}

.pub-detail-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--pub-text);
    margin: 0 0 1rem 0;
    line-height: 1.25;
}

@media (max-width: 600px) {
    .pub-detail-title { font-size: 1.5rem; }
}

.pub-detail-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--pub-border-light);
    color: var(--pub-text-muted);
    font-size: 0.88rem;
}

.pub-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.pub-detail-meta i {
    color: var(--pub-accent);
    font-size: 0.85rem;
}

.pub-detail-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--pub-text);
}

.pub-detail-text p { margin: 0 0 1rem 0; }

.pub-detail-text img {
    margin: 12px 0;
    max-width: 100%;
    display: block;
}

.pub-detail-text img[data-centered="true"],
.pub-detail-text img[data-aligned="center"],
.pub-detail-text img[style*="margin: 10px auto"],
.pub-detail-text img[style*="margin:10px auto"],
.pub-detail-text img[style*="margin: 12px auto"],
.pub-detail-text img[style*="margin:12px auto"] {
    margin-left: auto !important;
    margin-right: auto !important;
}

.pub-detail-text img[data-aligned="left"],
.pub-detail-text img[style*="margin-right: auto"] {
    margin: 12px auto 12px 0 !important;
}

.pub-detail-text img[data-aligned="right"],
.pub-detail-text img[style*="margin-left: auto"] {
    margin: 12px 0 12px auto !important;
}

.pub-detail-text img[style*="float: left"],
.pub-detail-text img[style*="float:left"] {
    margin: 12px 12px 12px 0 !important;
}

.pub-detail-text img[style*="float: right"],
.pub-detail-text img[style*="float:right"] {
    margin: 12px 0 12px 12px !important;
}

.pub-voltar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pub-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: color var(--pub-transition);
}

.pub-voltar:hover {
    color: var(--pub-accent-hover);
    text-decoration: underline;
}

/* --- Gallery (Detail) --- */
.pub-gallery {
    clear: both;
    padding: 1.75rem 2.25rem 2rem;
    border-top: 1px solid var(--pub-border-light);
}

.pub-gallery-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pub-text);
    margin: 0 0 1.15rem 0;
}

.pub-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

@media (max-width: 768px) { .pub-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pub-gallery-grid { grid-template-columns: 1fr; } }

.pub-gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    max-height: 280px;
    background: var(--pub-bg-warm);
}

.pub-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.pub-gallery-item:hover img {
    transform: scale(1.04);
}

.pub-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pub-gallery-overlay i {
    color: #fff;
    font-size: 1.1rem;
    background: rgba(0,0,0,0.3);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.pub-gallery-item:hover .pub-gallery-overlay {
    opacity: 1;
}

/* --- PDF Section (Detail) --- */
.pub-pdf {
    clear: both;
    padding: 1.75rem 2.25rem 2rem;
    border-top: 1px solid var(--pub-border-light);
}

.pub-pdf-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pub-text);
    margin: 0 0 1.15rem 0;
}

.pub-pdf-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pub-pdf-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    background: var(--pub-bg);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--pub-transition), background var(--pub-transition);
}

.pub-pdf-item:hover {
    border-color: var(--pub-accent);
    background: var(--pub-card);
}

.pub-pdf-icon {
    font-size: 1.5rem;
    color: #c0392b;
    flex-shrink: 0;
}

.pub-pdf-info {
    flex: 1;
    min-width: 0;
}

.pub-pdf-info strong {
    display: block;
    font-size: 0.92rem;
    color: var(--pub-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pub-pdf-info small {
    color: var(--pub-text-muted);
    font-size: 0.78rem;
}

.pub-pdf-download {
    color: var(--pub-accent);
    font-size: 1rem;
    flex-shrink: 0;
    transition: color var(--pub-transition);
}

.pub-pdf-item:hover .pub-pdf-download {
    color: var(--pub-accent-hover);
}

/* --- Others Section (Detail) --- */
.pub-others {
    margin-top: 2rem;
}

.pub-others-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--pub-text);
    margin: 0 0 1.25rem 0;
}

.pub-others-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

@media (max-width: 768px) { .pub-others-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pub-others-grid { grid-template-columns: 1fr; } }

/* --- Lightbox --- */
.pub-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pub-lightbox.ativo {
    opacity: 1;
    visibility: visible;
}

.pub-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.pub-lightbox.ativo .pub-lightbox-img {
    transform: scale(1);
    opacity: 1;
}

.pub-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border: none;
    color: #fff;
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--pub-transition);
    transform: translateY(-10px);
    opacity: 0;
    z-index: 1001;
}

.pub-lightbox.ativo .pub-lightbox-close {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.15s;
}

.pub-lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

.pub-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.85);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--pub-transition), transform 0.35s ease, opacity 0.35s ease;
    z-index: 1001;
    opacity: 0;
}

.pub-lightbox.ativo .pub-lightbox-nav {
    transform: translateY(-50%) scale(1);
    opacity: 1;
    transition-delay: 0.15s;
}

.pub-lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
}

.pub-lightbox-prev { left: 1rem; }
.pub-lightbox-next { right: 1rem; }

/* --- Footer --- */
.pub-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pub-dark);
    color: rgba(255,255,255,0.6);
    padding: 0.7rem 1rem;
    text-align: center;
    font-size: 0.82rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 100;
}

.pub-footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pub-footer-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--pub-transition);
}

.pub-footer-link:hover {
    color: #fff;
}

.pub-footer-link i {
    font-size: 0.65rem;
    margin-left: 0.2rem;
    vertical-align: middle;
}

.pub-footer-sep {
    color: rgba(255,255,255,0.2);
}

/* --- Empty State --- */
.pub-empty {
    text-align: center;
    color: var(--pub-text-muted);
    padding: 4rem 1rem;
    font-size: 1rem;
}

.pub-empty i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    color: var(--pub-text-light);
}

/* --- Smooth scroll --- */
html { scroll-behavior: smooth; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border: none;
    border-radius: var(--pub-radius);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--pub-transition);
    line-height: 1.4;
}

.btn-primary {
    background: var(--pub-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--pub-accent-hover);
}

.btn-primary:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

/* --- Comments Section --- */
.pub-comments {
    background: var(--pub-card);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius-lg);
    padding: 2rem 2.25rem 2.5rem;
    margin-top: 2rem;
}

@media (max-width: 600px) {
    .pub-comments { padding: 1.5rem 1.25rem 2rem; }
}

.pub-comments-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--pub-text);
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pub-comment-form-wrap {
    background: #f8f9fa;
    border-radius: var(--pub-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.pub-comment-form-wrap h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--pub-text);
}

.pub-comment-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .pub-comment-row { grid-template-columns: 1fr; }
}

.pub-comment-field {
    margin-bottom: 1rem;
}

.pub-comment-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pub-text);
    margin-bottom: 0.35rem;
}

.pub-comment-field input,
.pub-comment-field textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--pub-text);
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.pub-comment-field input:focus,
.pub-comment-field textarea:focus {
    outline: none;
    border-color: var(--pub-accent);
}

.pub-comment-field textarea {
    resize: vertical;
    min-height: 100px;
}

.pub-comment-consent {
    margin-bottom: 1rem;
}

.pub-comment-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--pub-text-light);
    cursor: pointer;
}

.pub-comment-check input[type="checkbox"] {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.pub-comment-check a {
    color: var(--pub-accent);
    text-decoration: underline;
}

.pub-comment-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pub-comment-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.pub-field-error {
    border-color: #e74c3c !important;
    animation: pubShake 0.4s ease;
}

@keyframes pubShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.pub-modal-sm {
    max-width: 400px;
    padding: 2rem;
    text-align: center;
}

.pub-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
}

.pub-modal-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pub-text);
    margin: 0;
}

.pub-comment-status {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.pub-comment-status.success { color: #27ae60; }
.pub-comment-status.error { color: #e74c3c; }

.pub-comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.pub-comment-item {
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: var(--pub-radius);
    border-left: 3px solid var(--pub-accent);
}

.pub-comment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.pub-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pub-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pub-comment-author {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.pub-comment-author strong {
    font-size: 0.9rem;
    color: var(--pub-text);
}

.pub-comment-author time {
    font-size: 0.75rem;
    color: var(--pub-text-light);
}

.pub-comment-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--pub-text);
}

.pub-comments-empty {
    text-align: center;
    padding: 2rem;
    color: var(--pub-text-light);
    font-size: 0.95rem;
}

/* --- Modal LGPD --- */
.pub-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: pubModalFadeIn 0.2s ease;
}

.pub-modal-overlay.ativo {
    display: flex;
}

@keyframes pubModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pub-modal {
    background: var(--pub-card);
    border-radius: var(--pub-radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: pubModalSlideIn 0.25s ease;
}

@keyframes pubModalSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pub-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--pub-text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.2s;
}

.pub-modal-close:hover {
    color: var(--pub-accent);
}

.pub-modal-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pub-text);
    padding: 1.5rem 2rem 0;
    margin: 0;
}

.pub-modal-body {
    padding: 1.25rem 2rem 2rem;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--pub-text);
}

.pub-modal-body p {
    margin: 0 0 0.8rem 0;
}

.pub-modal-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pub-text);
    margin: 1.2rem 0 0.4rem 0;
}

.pub-modal-body ul {
    margin: 0 0 0.8rem 1.25rem;
    padding: 0;
}

.pub-modal-body li {
    margin-bottom: 0.3rem;
}

.pub-modal-update {
    margin-top: 1rem !important;
    color: var(--pub-text-muted);
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .pub-modal {
        max-height: 90vh;
    }
    .pub-modal-title {
        padding: 1.25rem 1.25rem 0;
        font-size: 1.15rem;
    }
    .pub-modal-body {
        padding: 1rem 1.25rem 1.5rem;
    }
}

/* --- Selection color --- */
::selection {
    background: var(--pub-accent);
    color: #fff;
}
