/* Berita / Pengumuman / Agenda detail on the V3 glass shell. The glass panels, crumbs, eyebrow, page title and pill button come
   from the shared V3 primitives (.v3-pagehead, .v3-section, .v3-crumbs, .v3-eyebrow, .v3-pill); this file only styles the
   article-specific parts. Text colours are chosen for the dark glass background. */
.content-detail__header { max-width: 60rem; }
.content-detail__eyebrow { margin: 0 0 12px; }
.content-detail__eyebrow--historical { margin-top: -4px; color: #ffd27a; }
body.v3-glass .content-detail__eyebrow--historical { color: #ffd27a; }
.content-detail__historical-note { margin: 0 0 18px; max-width: 62ch; padding: 12px 16px; border: 1px solid rgba(255, 210, 122, .35); border-radius: 14px; background: rgba(255, 210, 122, .08); color: #f3e3bd; font-size: .95rem; line-height: 1.55; }
.content-detail__title { overflow-wrap: anywhere; }
.content-detail__meta { margin: 18px 0 0; color: rgba(255, 255, 255, .72); font-size: .95rem; }

.content-detail__inner { display: grid; gap: clamp(18px, 2.4vw, 28px); justify-items: start; }
.content-detail__inner > * { min-width: 0; max-width: 100%; }
.content-detail__image { display: block; width: 100%; height: auto; max-height: min(34rem, 70vh); object-fit: contain; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid var(--v3-glass-border, rgba(255, 255, 255, .16)); }

.content-detail__facts { width: 100%; display: grid; gap: 10px; margin: 0; padding: 16px 20px; border: 1px solid var(--v3-glass-border, rgba(255, 255, 255, .16)); border-radius: 16px; background: rgba(255, 255, 255, .06); }
.content-detail__fact { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.content-detail__fact dt { min-width: 5.5rem; margin: 0; color: rgba(255, 255, 255, .7); font-weight: 600; }
.content-detail__fact dd { margin: 0; color: #fff; overflow-wrap: anywhere; }

.content-detail__excerpt { margin: 0; max-width: 62ch; color: #fff; font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 500; line-height: 1.6; }
.content-detail__body { margin: 0; max-width: 68ch; color: #dbe4f2; font-size: 1.05rem; line-height: 1.8; white-space: pre-line; /* editor line breaks; the text is escaped, never raw HTML */ overflow-wrap: anywhere; word-break: break-word; }
.content-detail__body a { color: var(--v3-accent, #7fb2ff); text-decoration: underline; text-underline-offset: 3px; }
.content-detail__body a:hover { color: #fff; }

.content-detail__attachments { width: 100%; padding-top: 22px; border-top: 1px solid var(--v3-glass-border, rgba(255, 255, 255, .16)); }
.content-detail__attachments h2 { margin: 0; color: #fff; font-size: 1.2rem; font-weight: 600; }
.content-detail__attachments ul { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.content-detail__attachment { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 18px; border: 1px solid var(--v3-glass-border, rgba(255, 255, 255, .16)); border-radius: 16px; background: rgba(255, 255, 255, .06); overflow-wrap: anywhere; }
.content-detail__attachment-name { flex: 1 1 14rem; min-width: 0; color: #fff; font-weight: 600; }
.content-detail__attachment-meta { flex: none; color: rgba(255, 255, 255, .68); font-size: .85rem; }
.content-detail__attachment-link { flex: none; color: var(--v3-accent, #7fb2ff); font-weight: 700; }
.content-detail__attachment-link:hover { color: #fff; }
.content-detail__attachment-link:focus-visible, .content-detail__body a:focus-visible { outline: 3px solid var(--v3-accent, #7fb2ff); outline-offset: 3px; border-radius: 4px; }

.content-detail__back { margin-top: clamp(4px, 1vw, 12px); }
