/* Vista individual de boletines · Erick Alvarado */
.akb-single, .akb-viewer {
  --akb-red: #8e292e; --akb-dark: #091d39; --akb-ink: #243247;
  --akb-muted: #697486; --akb-line: #e4e7ec;
  color: var(--akb-ink); font-family: inherit;
  line-height: 1.6; font-size: 16px; text-align: left;
}
.akb-single *, .akb-viewer * { box-sizing: border-box; }
.akb-single [hidden], .akb-viewer [hidden] { display: none !important; }
.akb-single { background: linear-gradient(180deg, #faf6f5 0, #fff 330px); padding: 0 0 64px; }
.akb-single .akb-container { width: min(1180px, 100% - 48px); margin: 0 auto; }
.akb-single h1, .akb-single h2, .akb-viewer h2 { font-family: inherit; text-transform: none; letter-spacing: normal; color: var(--akb-ink); }
.akb-single .akb-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 25px 0; font-size: 12px; color: var(--akb-muted); }
.akb-single a { color: var(--akb-red); }
.akb-single .akb-breadcrumb a { color: var(--akb-muted); text-decoration: none; }
.akb-single .akb-breadcrumb a:hover { color: var(--akb-red); text-decoration: underline; }
.akb-single .akb-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 13px 0 32px; border-bottom: 1px solid var(--akb-line); margin-bottom: 32px; background: transparent; }
.akb-single .akb-heading-copy { min-width: 0; max-width: 800px; }
.akb-single .akb-eyebrow { color: var(--akb-red); font-size: 11px; font-weight: 750; letter-spacing: 1.8px; margin: 0 0 12px; }
.akb-single .akb-badge { display: inline-block; padding: 5px 11px; color: var(--akb-red); background: #f1e1e1; border: 1px solid #e9d2d2; border-radius: 5px; font-size: 12px; font-weight: 750; margin: 0 0 12px; }
.akb-single #akb-title { font-size: clamp(28px, 3.3vw, 42px); font-weight: 750; line-height: 1.2; letter-spacing: -.8px; margin: 0 0 13px; overflow-wrap: anywhere; }
.akb-single .akb-date { font-size: 13px; color: var(--akb-muted); margin: 0; }
.akb-single .akb-back { white-space: nowrap; flex: 0 0 auto; }
.akb-single .akb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; align-items: start; }
.akb-single .akb-gallery { min-width: 0; border: 1px solid var(--akb-line); border-radius: 12px; overflow: hidden; background: #f4f5f7; }
.akb-single .akb-section-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 22px; border-bottom: 1px solid var(--akb-line); background: #fff; }
.akb-single .akb-section-bar h2 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.akb-single .akb-section-bar > span { font-size: 12px; color: var(--akb-muted); white-space: nowrap; }
.akb-single .akb-sheets { padding: 24px; touch-action: pan-y pinch-zoom; }
.akb-single .akb-sheet { margin: 0 0 24px; padding: 0; }
.akb-single .akb-sheet:last-child { margin-bottom: 0; }
.akb-single .akb-image-link { display: block; width: 100%; cursor: zoom-in; }
.akb-single .akb-sheet img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; margin: 0; border: 0; border-radius: 0; box-shadow: 0 5px 20px #17294017; }
.akb-single .akb-sheet img[data-src] { display: none; }
.akb-single .akb-sheet figcaption { padding-top: 14px; color: var(--akb-muted); font-size: 11px; text-align: center; }
.akb-single .akb-sheet figcaption a { text-decoration: underline; }
.akb-single .akb-no-image { margin: 0; padding: 85px 30px; text-align: center; color: var(--akb-muted); }
.akb-single .akb-gallery-controls { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 0 20px 18px; font-size: 13px; }
.akb-single .akb-gallery-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; padding: 18px 22px; border-top: 1px solid var(--akb-line); background: #fff; }
.akb-single .akb-gallery-actions p { color: var(--akb-muted); margin: 0; font-size: 12px; }
.akb-single .akb-button, .akb-viewer .akb-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 18px; margin: 0; border-radius: 7px; border: 1px solid transparent; appearance: none; font-family: inherit; font-size: 13px; line-height: 1.45; font-weight: 700; text-decoration: none; text-transform: none; letter-spacing: normal; cursor: pointer; box-shadow: none; }
.akb-single .akb-button::before, .akb-single .akb-button::after, .akb-viewer button::before, .akb-viewer button::after { display: none; }
.akb-single .akb-button-solid { background: var(--akb-red); color: #fff; }
.akb-single .akb-button-solid:hover { background: #702025; color: #fff; }
.akb-single .akb-button-outline, .akb-viewer .akb-button-outline { background: #fff; border-color: #d6dce4; color: var(--akb-ink); }
.akb-single .akb-button-outline:hover, .akb-viewer .akb-button-outline:hover { background: #faf0f0; color: var(--akb-red); border-color: #be8688; }
.akb-single button:disabled, .akb-viewer button:disabled { opacity: .35; cursor: default; }
.akb-single a:focus-visible, .akb-single button:focus-visible, .akb-single input:focus-visible, .akb-viewer a:focus-visible, .akb-viewer button:focus-visible { outline: 3px solid #316fa7; outline-offset: 4px; }
.akb-single .akb-sidebar { display: flex; flex-direction: column; gap: 20px; margin: 0; min-width: 0; }
.akb-single .akb-info-card, .akb-single .akb-share-card { padding: 25px; border: 1px solid var(--akb-line); border-radius: 10px; background: #fff; }
.akb-single .akb-info-card { border-top: 4px solid var(--akb-red); }
.akb-single .akb-sidebar h2 { font-size: 19px; font-weight: 700; line-height: 1.4; margin: 0 0 19px; }
.akb-single .akb-details { font-size: 14px; line-height: 1.7; color: #48566a; overflow-wrap: anywhere; }
.akb-single .akb-details p { font-size: inherit; color: inherit; line-height: inherit; margin: 0 0 16px; }
.akb-single .akb-details p:last-child { margin-bottom: 0; }
.akb-single .akb-details strong, .akb-single .akb-details b { font-weight: 700; color: var(--akb-ink); }
.akb-single .akb-details a { text-decoration: underline; }
.akb-single .akb-details ul, .akb-single .akb-details ol { padding-left: 20px; margin: 0 0 16px; }
.akb-single .akb-details table { width: 100%; border-collapse: collapse; }
.akb-single .akb-details td, .akb-single .akb-details th { padding: 7px; border: 1px solid var(--akb-line); }
.akb-single .akb-facts { margin: 0; font-size: 14px; }
.akb-single .akb-facts dt { font-weight: 700; color: var(--akb-ink); margin: 0 0 3px; }
.akb-single .akb-facts dd { color: var(--akb-muted); margin: 0 0 16px; }
.akb-single .akb-facts dd:last-child { margin: 0; }
.akb-single .akb-contact-card { padding: 25px; border-radius: 10px; background: var(--akb-dark); color: #fff; }
.akb-single .akb-contact-kicker { display: block; color: #bfcfe2; letter-spacing: 1.25px; font-size: 9px; font-weight: 700; margin: 0 0 12px; }
.akb-single .akb-contact-card h2 { color: #fff; margin-bottom: 12px; font-size: 22px; }
.akb-single .akb-contact-card p { color: #d1dbe7; font-size: 13px; line-height: 1.7; margin: 0 0 20px; }
.akb-single .akb-phone { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid #ffffff30; color: #fff; text-decoration: none; font-size: 42px; font-weight: 750; letter-spacing: -.5px; line-height: 1.2; }
.akb-single .akb-phone span { font-size: 11px; font-weight: 600; letter-spacing: 0; color: #d1dbe7; }
.akb-single .akb-phone:hover { color: #fff; text-decoration: underline; }
.akb-single .akb-share-card h2 { font-size: 17px; margin-bottom: 10px; }
.akb-single .akb-share-card p { font-size: 13px; color: var(--akb-muted); margin: 0 0 14px; }
.akb-single .akb-share-card input { display: block; width: 100%; max-width: 100%; font: inherit; font-size: 12px; line-height: 1.5; padding: 10px 12px; min-height: 44px; margin: 0 0 12px; border: 1px solid #d6dce4; border-radius: 6px; background: #f8f9fb; color: var(--akb-muted); }
.akb-single .akb-share-card .akb-button { width: 100%; }
.akb-single .akb-share-card .akb-copy-status { font-size: 12px; margin: 10px 0 0; }
.akb-single .akb-copy-status:empty { display: none; }
.akb-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

dialog.akb-viewer { position: fixed; inset: 0; width: min(1120px, calc(100% - 32px)); height: calc(100dvh - 32px); max-width: none; max-height: calc(100dvh - 32px); padding: 0; margin: auto; overflow: hidden; border: 0; border-radius: 12px; background: #f3f4f6; box-shadow: 0 25px 100px #0005; }
dialog.akb-viewer:not([open]) { display: none; }
dialog.akb-viewer::backdrop { background: #061326db; }
.akb-viewer .akb-viewer-panel { height: 100%; display: flex; flex-direction: column; min-height: 0; }
.akb-viewer header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 24px; background: #fff; border-bottom: 1px solid var(--akb-line); }
.akb-viewer header p { font-size: 11px; text-transform: uppercase; color: var(--akb-red); font-weight: 700; letter-spacing: 1px; margin: 0 0 4px; }
.akb-viewer h2 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.akb-viewer .akb-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; min-height: 44px; padding: 0; margin: 0; border: 1px solid var(--akb-line); border-radius: 7px; background: white; color: var(--akb-ink); font-family: inherit; font-size: 30px; line-height: 1; cursor: pointer; }
.akb-viewer .akb-viewer-stage { display: flex; align-items: center; justify-content: center; min-height: 0; flex: 1; overflow: auto; padding: 20px; touch-action: pan-y pinch-zoom; overscroll-behavior: contain; }
.akb-viewer .akb-viewer-stage img { display: block; max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; background: #fff; box-shadow: 0 3px 15px #1229411a; }
.akb-viewer .akb-viewer-stage p { padding: 40px; text-align: center; color: var(--akb-muted); }
.akb-viewer footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 24px; background: #fff; border-top: 1px solid var(--akb-line); }
.akb-viewer footer > div { text-align: center; }
.akb-viewer footer p { margin: 0; font-size: 13px; font-weight: 700; }
.akb-viewer footer a { color: var(--akb-red); font-size: 12px; text-decoration: underline; }
@media (max-width: 1000px) {
  .akb-single .akb-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; }
  .akb-single .akb-heading { align-items: flex-start; }
  .akb-single .akb-back { margin-top: 8px; font-size: 12px; padding: 10px 13px; }
  .akb-single .akb-info-card, .akb-single .akb-contact-card, .akb-single .akb-share-card { padding: 20px; }
}
@media (max-width: 760px) {
  .akb-single { padding-bottom: 36px; }
  .akb-single .akb-container { width: calc(100% - 32px); }
  .akb-single .akb-breadcrumb { padding: 20px 0; font-size: 11px; gap: 9px; }
  .akb-single .akb-heading { flex-direction: column; gap: 18px; padding-top: 5px; padding-bottom: 24px; margin-bottom: 24px; }
  .akb-single #akb-title { font-size: 30px; }
  .akb-single .akb-back { margin-top: 0; }
  .akb-single .akb-layout { grid-template-columns: 1fr; gap: 24px; }
  .akb-single .akb-sheets { padding: 14px; }
  .akb-single .akb-section-bar { padding: 15px 17px; }
  .akb-single .akb-gallery-actions { padding: 16px; }
  .akb-single .akb-sidebar { gap: 16px; }
  .akb-single .akb-contact-card { padding: 24px; }
  dialog.akb-viewer { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .akb-viewer header { padding: 14px 16px; gap: 12px; }
  .akb-viewer h2 { font-size: 17px; }
  .akb-viewer .akb-viewer-stage { padding: 10px; }
  .akb-viewer footer { padding: 12px 16px; }
}
