/* Admin + público */
.pdc-admin-wrap, .pdc-public-wrap { font-family: Arial, Helvetica, sans-serif; color: #18314f; }
.pdc-admin-wrap { display: grid; gap: 18px; }
.pdc-card, .pdc-hero-card, .pdc-tabs-card { background: #fff; border: 1px solid #dfe7ef; border-radius: 18px; box-shadow: 0 8px 24px rgba(10, 34, 64, .06); }
.pdc-card { padding: 20px; }
.pdc-admin-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.pdc-admin-head h1 { margin: 0 0 6px; font-size: 28px; }
.pdc-admin-head p { margin: 0; color: #5c7085; }
.pdc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pdc-btn, .pdc-mini-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 0; cursor: pointer; border-radius: 10px; font-weight: 700; transition: .2s ease; }
.pdc-btn { padding: 11px 16px; background: #0d6efd; color: #fff; }
.pdc-btn:hover, .pdc-mini-btn:hover { transform: translateY(-1px); }
.pdc-btn--secondary { background: #0f7b55; color: #fff; }
.pdc-btn--light { background: #f3f6f9; color: #1c3654; border: 1px solid #d7e0ea; }
.pdc-mini-btn { padding: 9px 13px; background: #f3f6f9; color: #1b3553; border: 1px solid #d7e0ea; font-size: 13px; }
.pdc-alert { padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; }
.pdc-alert--error { background: #fff2f2; color: #8f1f1f; border-color: #f5c2c7; }
.pdc-alert--success { background: #edf9f0; color: #175c27; border-color: #b7e1c2; }
.pdc-alert--warning { background: #fff9e8; color: #7b5a00; border-color: #f1d483; }
.pdc-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pdc-card--full { grid-column: 1 / -1; }
.pdc-field { display: grid; gap: 8px; margin-bottom: 14px; }
.pdc-field label { font-weight: 700; }
.pdc-field input, .pdc-field textarea, .pdc-field select { width: 100%; box-sizing: border-box; border: 1px solid #cfd9e2; border-radius: 12px; padding: 12px 13px; font: inherit; background: #fff; color: #18314f; }
.pdc-field textarea { resize: vertical; min-height: 120px; }
.pdc-field small, .pdc-help { color: #667b91; }
.pdc-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pdc-check { display: inline-flex; gap: 8px; align-items: center; color: #41586e; font-size: 14px; }
.pdc-photo-preview { border-radius: 18px; overflow: hidden; background: #f4f7fa; border: 1px solid #dbe5ee; margin-bottom: 12px; }
.pdc-photo-preview img { width: 100%; height: 320px; object-fit: cover; display: block; }
.pdc-preview-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.pdc-preview-head h2 { margin: 0; }
.pdc-preview-head span { color: #667b91; font-size: 14px; }
.pdc-summary-list { margin: 0 0 16px; padding-left: 18px; display: grid; gap: 8px; }

/* Público */
.pdc-public-wrap { display: grid; gap: 16px; }
.pdc-breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #5a7188; }
.pdc-breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.pdc-breadcrumbs li:not(:last-child)::after { content: '/'; color: #8da1b4; }
.pdc-breadcrumbs a { color: #2d5f91; text-decoration: none; }
.pdc-toolbar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pdc-hero-card { display: grid; grid-template-columns: 280px minmax(0, 1fr) 280px; gap: 22px; padding: 22px; background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%); }
.pdc-hero-card__photo { border-radius: 18px; overflow: hidden; background: #edf2f7; border: 1px solid #dde6ee; }
.pdc-hero-card__photo img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.pdc-hero-card__tag { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: #edf5ff; color: #2a5f95; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.pdc-hero-card__content h1 { margin: 0 0 8px; font-size: 34px; color: #17314f; }
.pdc-hero-card__content h2 { margin: 0; font-size: 28px; color: #0f7b55; }
.pdc-hero-card__role { margin: 8px 0 0; color: #4d6378; font-size: 17px; }
.pdc-chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.pdc-chip { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #f2f7fb; border: 1px solid #d7e3ee; color: #20405f; font-weight: 700; font-size: 13px; }
.pdc-hero-card__intro { color: #31485f; line-height: 1.65; font-size: 15px; }
.pdc-contact-card { border-radius: 18px; border: 1px solid #dfe7ef; padding: 18px; background: #fff; }
.pdc-contact-card h3 { margin: 0 0 12px; font-size: 20px; }
.pdc-contact-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #465f77; }
.pdc-contact-card li { line-height: 1.45; }
.pdc-tabs-card { padding: 20px; }
.pdc-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pdc-tab { border: 1px solid #d7e1ea; background: #f5f8fb; color: #1e3a58; font: inherit; font-weight: 700; border-radius: 999px; padding: 11px 16px; cursor: pointer; }
.pdc-tab.is-active { background: #0f7b55; color: #fff; border-color: #0f7b55; }
.pdc-tab-panel-wrap { display: none; }
.pdc-tab-panel-wrap.is-active { display: block; }
.pdc-tab-panel { display: grid; gap: 16px; }
.pdc-linked-category { font-size: 14px; color: #5f7388; }
.pdc-linked-article { border: 1px solid #dde6ee; border-radius: 16px; padding: 18px; background: #fff; }
.pdc-linked-article__header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.pdc-linked-article__header h3 { margin: 0; font-size: 24px; color: #17314f; }
.pdc-meta-date { margin: 6px 0 0; color: #667b91; }
.pdc-linked-article__image { margin: 0 0 14px; border-radius: 14px; overflow: hidden; }
.pdc-linked-article__image img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.pdc-linked-article__excerpt { padding: 12px 14px; border-radius: 12px; background: #f6f9fc; border: 1px solid #e3ebf3; margin-bottom: 14px; line-height: 1.6; }
.pdc-linked-article__body { line-height: 1.75; color: #30485f; }
.pdc-linked-article__body table { width: 100%; border-collapse: collapse; }
.pdc-linked-article__body table td, .pdc-linked-article__body table th { border: 1px solid #dfe7ef; padding: 8px; }
.pdc-related-block h4 { margin: 0 0 10px; color: #17314f; }
.pdc-publication-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pdc-publication-card { border: 1px solid #dde6ee; border-radius: 16px; padding: 18px; background: #fff; display: grid; gap: 10px; }
.pdc-publication-card h3 { margin: 0; font-size: 20px; color: #17314f; }
.pdc-publication-card p { margin: 0; color: #466077; line-height: 1.65; }
.pdc-publication-card__actions { margin-top: 4px; }
.pdc-badge-date { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #edf5ff; color: #285f95; font-size: 12px; font-weight: 700; }
.pdc-empty { padding: 18px; border-radius: 14px; background: #f7fafc; border: 1px dashed #cfd9e2; color: #5f7388; }
.pdc-drive-frame { width: 100%; min-height: 680px; border: 1px solid #dbe5ee; border-radius: 14px; background: #fff; }
.pdc-drive-actions { margin-top: 12px; }

@media (max-width: 1100px) {
  .pdc-hero-card { grid-template-columns: 240px minmax(0, 1fr); }
  .pdc-contact-card { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .pdc-admin-grid, .pdc-grid-2, .pdc-publication-grid, .pdc-hero-card { grid-template-columns: 1fr; }
  .pdc-admin-head, .pdc-linked-article__header, .pdc-preview-head { flex-direction: column; align-items: stretch; }
  .pdc-hero-card__content h1 { font-size: 28px; }
  .pdc-hero-card__content h2 { font-size: 24px; }
}

@media print {
  .no-print, .pdc-toolbar, .pdc-tabs { display: none !important; }
  .pdc-card, .pdc-hero-card, .pdc-tabs-card { box-shadow: none; border-color: #d0d0d0; }
  .pdc-tab-panel-wrap { display: block !important; }
}
