/* ==========================================================================
   DOMÍNGUEZ & CÍA. ABOGADOS — SISTEMA DE DISEÑO DE BROCHURE CORPORATIVO
   Alineado 100% con la línea gráfica del portal web y el PDF base original.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
  /* Paleta cromática corporativa */
  --navy-deep: #0B1325;
  --navy-main: #131E3A;
  --navy-surface: #1C2B4E;
  --navy-card: #172443;
  --navy-border: #2B3D66;
  --navy-subtle: #22345a;

  /* Tonos PDF original */
  --pdf-banner-bg: #60687D;
  --pdf-teal: #A5D6D0;
  --pdf-slate-light: #C2CAD4;
  --pdf-slate-dark: #5A6A80;

  --gold-primary: #C5A059;
  --gold-light: #E5C380;
  --gold-dark: #A37F38;
  --gold-glow: rgba(197, 160, 89, 0.15);
  --gold-gradient: linear-gradient(135deg, #E5C380 0%, #C5A059 50%, #A37F38 100%);
  --gold-subtle: rgba(197, 160, 89, 0.1);

  --slate-bg: #F8FAFC;
  --slate-surface: #FFFFFF;
  --slate-border: #E2E8F0;
  --slate-subtle: #EEF2F6;

  --text-main: #1E293B;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Tipografía */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(11, 19, 37, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(11, 19, 37, 0.1);
  --shadow-lg: 0 25px 50px -12px rgba(11, 19, 37, 0.25);
  --shadow-gold: 0 10px 30px -5px rgba(197, 160, 89, 0.3);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* Base reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: #060A14;
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

/* ========== TOOLBAR ========== */
.brochure-toolbar {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 19, 37, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  padding: 8px 18px;
  border-radius: 9999px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.toolbar-info {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  padding-right: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.toolbar-btn {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.toolbar-btn:hover {
  background: rgba(197, 160, 89, 0.22);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.toolbar-btn.primary {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  border: none;
  font-weight: 700;
}

.toolbar-btn.primary:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* ========== BROCHURE CONTAINER & SLIDES ========== */
.brochure-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px 20px 60px;
}

/* Formato 16:9 apaisado exacto (1400px x 787.5px) */
.slide-page {
  position: relative;
  width: 1400px;
  height: 787.5px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  page-break-after: always;
  break-after: page;
  flex-shrink: 0;
}

/* ========== SLIDE HEADER & FOOTER ========== */
.pdf-slide-header {
  height: 56px;
  padding: 20px 48px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.pdf-header-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-main);
  letter-spacing: 0.1em;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pdf-header-brand small {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pdf-header-page {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.05em;
}

.pdf-slide-header.light .pdf-header-brand {
  color: #FFFFFF;
}
.pdf-slide-header.light .pdf-header-brand small {
  color: rgba(255, 255, 255, 0.7);
}

.pdf-slide-footer {
  height: 44px;
  padding: 0 48px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  z-index: 10;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pdf-slide-footer.light {
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-body-content {
  flex: 1;
  padding: 12px 48px 10px;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

/* ========== TITLE BANNERS ========== */
.pdf-title-banner {
  background: var(--pdf-banner-bg);
  color: #FFFFFF;
  padding: 18px 32px;
  display: inline-block;
  max-width: 500px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.pdf-title-banner h2 {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.pdf-title-banner.small {
  padding: 12px 28px;
  max-width: 320px;
  margin-bottom: 14px;
}
.pdf-title-banner.small h2 {
  font-size: 1.65rem;
}

/* ========== SLIDE 1: PORTADA PRINCIPAL ========== */
.cover-slide {
  background-color: var(--navy-deep);
}

.cover-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 62%;
  background: linear-gradient(to bottom, rgba(11, 19, 37, 0.25), rgba(11, 19, 37, 0.85)),
              url('../assets/images/Santiago-1.jpg') center/cover no-repeat;
}

.cover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 56px 36px;
  z-index: 5;
}

.cover-top-brand {
  align-self: flex-end;
  text-align: right;
  color: #FFFFFF;
}

.pdf-brand-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 4px;
  margin-bottom: 4px;
}

.pdf-brand-title.dark {
  color: var(--navy-main);
  border-bottom-color: rgba(11, 19, 37, 0.3);
}

.pdf-brand-sub {
  font-size: 0.95rem;
  letter-spacing: 0.45em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}
.pdf-brand-sub.dark {
  color: var(--navy-main);
}

.pdf-brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-top: 4px;
}
.pdf-brand-tag.dark {
  color: var(--gold-dark);
}

.cover-center-content {
  margin-top: 140px;
}

.pdf-cover-headline {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.pdf-cover-subtext {
  font-size: 1.25rem;
  color: var(--gold-light);
  font-weight: 400;
}

.cover-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background-color: var(--navy-card);
  padding: 24px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-border);
  margin-top: auto;
}

.cover-contact-text {
  color: #E2E8F0;
  font-size: 0.88rem;
  line-height: 1.5;
}
.cover-contact-text span {
  color: var(--text-light);
}

.cover-badges-group {
  display: flex;
  gap: 16px;
  align-items: center;
}

.pdf-badge-box {
  background: #3B4D78;
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.72rem;
  min-width: 105px;
  text-align: center;
}
.pdf-badge-box .badge-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.pdf-badge-box .badge-name {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 2px 0;
}

.pdf-badge-box.ranked {
  background: #80182A;
  border-radius: 50%;
  width: 76px;
  height: 76px;
  padding: 8px;
  justify-content: center;
}

/* ========== SLIDE 2: PRESENTACIÓN DEL EQUIPO ========== */
.section-cover-slide {
  background-color: var(--navy-deep);
}

.section-cover-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 19, 37, 0.85) 40%, rgba(11, 19, 37, 0.4)),
              url('../assets/images/Santiago-2.png') center/cover no-repeat;
}

.section-cover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 5;
}

.section-cover-content {
  padding: 0 72px;
  margin-top: 140px;
}

.pdf-section-pretitle {
  font-size: 1.4rem;
  color: #FFFFFF;
  font-weight: 300;
  margin-bottom: 8px;
}

.pdf-section-main-title {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.pdf-accent-line {
  width: 220px;
  height: 3px;
  background-color: #FFFFFF;
}

/* ========== SLIDE 3: HISTORIA ========== */
.history-two-columns {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  height: 100%;
  align-items: start;
}

.building-image-card {
  width: 100%;
  height: 360px;
  background: linear-gradient(135deg, #1C2B4E 0%, #0B1325 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--navy-border);
}

.building-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
  font-size: 1.1rem;
}
.building-img-placeholder i {
  font-size: 3.8rem;
}

.image-caption-text {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-main);
}

.history-text-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.89rem;
  line-height: 1.6;
  color: var(--text-main);
  padding-top: 6px;
}

.pdf-link-box {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--navy-main);
  font-weight: 600;
}
.pdf-link-box a {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* ========== SLIDES 4 & 5: ÁREAS DE SERVICIO & LABORAL ========== */
.split-services-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  height: 100%;
}

.services-left-col {
  display: flex;
  flex-direction: column;
}

.services-intro-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-main);
  padding-right: 16px;
}

.services-right-col {
  position: relative;
  display: flex;
  background: url('../assets/images/Santiago-2.png') center/cover no-repeat;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.services-glass-box {
  width: 100%;
  height: 100%;
  background: rgba(241, 245, 249, 0.88);
  backdrop-filter: blur(8px);
  border: 2px solid var(--pdf-teal);
  padding: 32px 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
}

.services-glass-box.labor-box-bg {
  background: rgba(241, 245, 249, 0.92);
}

.pdf-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.92rem;
  color: var(--text-main);
}
.pdf-bullet-list.compact {
  gap: 7px;
  font-size: 0.85rem;
}

.pdf-bullet-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pdf-bullet-list li i {
  color: var(--navy-main);
  font-size: 1.15rem;
}
.pdf-bullet-list li.featured-bullet {
  font-weight: 700;
  color: var(--navy-main);
}

/* ========== SLIDES 6, 7, 8: SOCIOS ========== */
.lawyer-full-profile {
  display: flex;
  flex-direction: column;
  max-width: 1100px;
}
.lawyer-full-profile.offset-top {
  margin-top: 30px;
}

.profile-name {
  font-family: var(--font-sans);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy-main);
  margin-bottom: 4px;
}

.profile-subtitle {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 18px;
}

.profile-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--text-main);
}

/* Gráficos geométricos PDF */
.pdf-corner-graphic {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-bottom: 180px solid var(--pdf-banner-bg);
  border-left: 240px solid transparent;
  z-index: 2;
}

.pdf-page8-graphic {
  position: absolute;
  bottom: 35px;
  right: 50px;
  display: flex;
  gap: 14px;
  align-items: flex-end;
}
.pdf-page8-graphic .square-teal {
  width: 38px;
  height: 38px;
  background-color: var(--pdf-teal);
}
.pdf-page8-graphic .square-slate {
  width: 38px;
  height: 38px;
  background-color: var(--pdf-banner-bg);
}
.pdf-page8-graphic .square-navy {
  width: 38px;
  height: 38px;
  background-color: var(--navy-main);
}

/* ========== SLIDES 9, 10, 11: EQUIPO DE PROFESIONALES ========== */
.monogram-square {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background-color: var(--navy-main);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border-radius: 2px;
}

.team-card-header-flex {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.three-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  height: 100%;
}

.two-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  height: 100%;
}

.four-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  height: auto;
}

.team-card-box {
  background-color: #F1F5F9;
  padding: 24px 22px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}
.team-card-box.wide {
  padding: 28px 28px;
}

/* Tarjeta compacta para Slide 11 - evita cualquier corte de texto */
.team-card-box.compact {
  padding: 14px 18px;
  background-color: #F1F5F9;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}

.team-card-box.compact .monogram-square {
  width: 44px;
  height: 44px;
  min-width: 44px;
  font-size: 1.15rem;
}

.team-card-box.compact .team-member-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-main);
  margin-bottom: 2px;
  line-height: 1.25;
}

.team-card-box.compact .team-member-role {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.25;
}

.team-card-box.compact .team-member-bio {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-main);
}

.team-member-name {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-main);
  margin-bottom: 2px;
}

.team-member-role {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0;
}

.team-member-bio {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--text-main);
}

/* ========== SLIDE 12: EXPERIENCIA Y CLIENTES ========== */
.experience-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  height: 100%;
}

.experience-left-banner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.experience-badges-wrapper {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.experience-right-col {
  position: relative;
  display: flex;
  background: url('../assets/images/Santiago-2.png') center/cover no-repeat;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.experience-right-glass {
  width: 100%;
  height: 100%;
  background: rgba(241, 245, 249, 0.9);
  backdrop-filter: blur(8px);
  border: 2px solid var(--pdf-teal);
  padding: 32px 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
}

.pdf-experience-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-main);
}
.pdf-experience-bullets li {
  display: flex;
  gap: 8px;
}
.pdf-experience-bullets li i {
  color: var(--navy-main);
  font-size: 1.3rem;
}

/* ========== SLIDE 13: NUESTROS CLIENTES ========== */
.clients-page-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 36px;
  height: 100%;
}

.clients-left-col {
  display: flex;
  flex-direction: column;
}

.clients-intro-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-main);
  padding-right: 16px;
}

.clients-right-col {
  position: relative;
  display: flex;
  background: url('../assets/images/Santiago-1.jpg') center/cover no-repeat;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.clients-right-glass {
  width: 100%;
  height: 100%;
  background: rgba(241, 245, 249, 0.92);
  backdrop-filter: blur(8px);
  border: 2px solid var(--pdf-teal);
  padding: 28px 32px;
  border-radius: var(--radius-sm);
}

.clients-two-columns-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pdf-client-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.83rem;
  color: var(--text-main);
}
.pdf-client-bullets li {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pdf-client-bullets li i {
  color: var(--navy-main);
}

/* ========== SLIDE 14: CONTRAPORTADA ========== */
.backcover-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 72px;
}

.backcover-left-brand {
  margin-top: 140px;
}

.backcover-right-graphics {
  display: flex;
  gap: 16px;
  transform: rotate(-25deg) translateY(-40px);
}

.geom-block {
  width: 55px;
  height: 380px;
  border-radius: 4px;
}
.b-navy { background-color: var(--pdf-banner-bg); }
.b-slate-1 { background-color: var(--pdf-slate-dark); margin-top: 40px; }
.b-slate-2 { background-color: var(--navy-main); margin-top: 80px; }
.b-teal { background-color: var(--pdf-teal); margin-top: 120px; }
.b-navy-dark { background-color: var(--pdf-banner-bg); margin-top: 160px; }
.b-slate-3 { background-color: var(--pdf-slate-light); margin-top: 200px; }

.pdf-backcover-footer {
  background-color: var(--pdf-banner-bg);
  color: #FFFFFF;
  padding: 18px 48px;
  font-size: 0.85rem;
  text-align: left;
  z-index: 10;
}

/* ========== ESTILOS DE IMPRESIÓN Y EXPORTACIÓN PDF (TODAS LAS PÁGINAS FIJAS A4) ========== */
@media print {
  @page {
    size: 297mm 210mm; /* A4 Landscape exacto */
    margin: 0;
  }

  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html, body {
    width: 297mm !important;
    height: auto !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #FFFFFF !important;
    color: #000000 !important;
    overflow: visible !important;
  }

  .brochure-toolbar {
    display: none !important;
  }

  .brochure-container {
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    display: block !important;
    width: 297mm !important;
    height: auto !important;
    overflow: visible !important;
  }

  .slide-page {
    width: 297mm !important;
    height: 210mm !important;
    max-width: 297mm !important;
    max-height: 210mm !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;

    /* Fuerza la separación individual de cada una de las 14 láminas */
    page-break-after: always !important;
    page-break-inside: avoid !important;
    break-after: page !important;
    break-inside: avoid !important;
    overflow: hidden !important;
  }

  .slide-page:last-of-type {
    page-break-after: avoid !important;
    break-after: avoid !important;
  }

  /* Ajustes de paddings en modo impresión para A4 apaisado */
  .pdf-slide-header {
    height: 52px !important;
    padding: 16px 40px 0 !important;
  }

  .pdf-slide-footer {
    height: 40px !important;
    padding: 0 40px 14px !important;
  }

  .slide-body-content {
    padding: 10px 40px 8px !important;
  }
}

/* Escalado para pantallas pequeñas (Exclusivo para la visualización en pantalla 'screen') */
@media screen and (max-width: 1440px) {
  .slide-page {
    transform: scale(0.85);
    transform-origin: top center;
    margin-bottom: -100px;
  }
}

@media screen and (max-width: 1024px) {
  .slide-page {
    transform: scale(0.65);
    transform-origin: top center;
    margin-bottom: -220px;
  }
}
