/* Herramientas hub */

/* Hero CTA button (node 744:10363): reuses the shared .qs-hero-btn (white
   pill, orange border/text) already established by avances-y-progresos.html
   — just adds the hover feedback every other .btn variant has, scoped so it
   only touches herramientas.html's own hero. */

.qs-hero .qs-hero-btn:hover {
  opacity: 0.85;
}

.herramientas-cards-section {
  position: relative;
  background: var(--color-cream);
  padding: 32px 0 64px;
  overflow: hidden;
  scroll-margin-top: 112px;
}

.herramientas-cards-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.herramientas-cards-bg img {
  position: absolute;
  display: block;
}

.herramientas-cards-bg-1 {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.herramientas-cards-bg-2 {
  left: 0;
  top: -1.32%;
  width: 100%;
  height: 131.92%;
  object-fit: cover;
}

.herramientas-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.herramientas-cards .explore-card {
  min-height: 373px;
}

.herramientas-cards .explore-card .btn,
.explore-tools .explore-card .btn {
  margin-top: auto;
  white-space: normal;
  text-align: center;
}

.herramientas-cards .explore-card .btn {
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
}

.herramientas-cards .explore-card--light .btn {
  min-width: 222px;
}

.explore-card-text {
  position: relative;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-white);
  margin: 0;
}

/* Milena: back-to-hub link above the flipbook (node 744:10386/744:10391) */

.milena-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-brown);
}

.milena-back-link:hover {
  opacity: 1;
}

/* Milena / Compendio detail pages: download + share bar */

.tool-detail-bar {
  background: var(--color-brown);
  border: 1px solid var(--color-orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  padding: 13px 24px;
  margin-bottom: 40px;
}

.tool-detail-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 50px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 18px;
  white-space: nowrap;
}

.tool-detail-download:hover {
  opacity: 0.85;
}

.tool-detail-share {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tool-detail-share-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.tool-detail-share p {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-white);
  margin: 0;
  white-space: nowrap;
}

.tool-detail-share .social-icon {
  width: 47px;
  height: 47px;
}

.tool-flipbook-wrap {
  padding: 34px 90px 54px;
}

.tool-flipbook {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tool-flipbook-stage {
  width: min(100%, calc(72vh * 1190 / 842));
  aspect-ratio: 1190 / 842;
  max-height: 72vh;
  margin-inline: auto;
  background: #f4ece6;
  border-radius: 8px;
  overflow: hidden;
}

.tool-flipbook-book {
  position: relative;
  width: 100%;
  height: 100%;
}

.tool-flipbook-page {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.tool-flipbook-page.is-current,
.tool-flipbook-page.is-exit-left,
.tool-flipbook-page.is-exit-right,
.tool-flipbook-page.is-enter-left,
.tool-flipbook-page.is-enter-right {
  display: flex;
}

.tool-flipbook-page.is-exit-left {
  animation: flipbook-out-left 0.4s ease;
}

.tool-flipbook-page.is-exit-right {
  animation: flipbook-out-right 0.4s ease;
}

.tool-flipbook-page.is-enter-right {
  animation: flipbook-in-right 0.4s ease;
}

.tool-flipbook-page.is-enter-left {
  animation: flipbook-in-left 0.4s ease;
}

.tool-flipbook-page canvas {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes flipbook-out-left {
  to { transform: translateX(-24px); opacity: 0; }
}

@keyframes flipbook-out-right {
  to { transform: translateX(24px); opacity: 0; }
}

@keyframes flipbook-in-right {
  from { transform: translateX(24px); opacity: 0; }
}

@keyframes flipbook-in-left {
  from { transform: translateX(-24px); opacity: 0; }
}

.tool-flipbook-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.tool-flipbook-status {
  min-width: 88px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-brown);
}

.tool-flipbook-nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.tool-flipbook-nav:hover {
  opacity: 0.85;
}

.tool-flipbook-nav:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Compendio hero + wheel */

.compendio-hero {
  position: relative;
  background: var(--color-cream);
  padding: 34px 90px;
  display: flex;
  align-items: center;
  gap: 41px;
}

.compendio-hero-copy {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--color-black);
}

.compendio-hero-copy h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.25;
  color: var(--color-brown);
  margin: 0;
}

.compendio-hero-copy p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.compendio-hero-copy strong {
  color: var(--color-orange);
}

.compendio-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Wheel */

.wheel-wrap {
  flex: 0 0 auto;
  width: 520px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
}

.wheel-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--color-brown);
  background: var(--color-white);
}

.wheel-hit-area {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

/* Thin white dividers between wedges, matching the ring's white border. */
.wheel-spokes {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.wheel-spoke {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 2px;
  background: var(--color-orange);
  transform-origin: 0 50%;
}

.wheel-slice {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform-origin: 50% 50%;
  transition: transform 0.2s ease;
}

/* The clip-path lives on ::before (the wedge fill only) rather than on
   .wheel-slice itself, so it never clips .wheel-slice-content: the text can
   pop fully into view (even past the ring) instead of being cut off by its
   own wedge's diagonal edge. */
.wheel-slice::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wheel-color, var(--color-white));
  transition: background 0.2s ease, filter 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .wheel-slice.is-active,
  .wheel-slice:focus-visible {
    z-index: 3;
    transform: scale(1.18);
  }

  .wheel-slice.is-active::before,
  .wheel-slice:focus-visible::before {
    background: var(--color-orange);
    /* A plain CSS border can't trace clip-path's internal wedge cuts (it only
       ever draws along the element's actual box edges), so the white "border"
       is faked with stacked zero-blur drop-shadows: filter operates on the
       rendered (post-clip-path) alpha shape, so each one traces the wedge's
       real outline, including the two straight radial edges. */
    filter: drop-shadow(2px 0 0 var(--color-white)) drop-shadow(-2px 0 0 var(--color-white))
      drop-shadow(0 2px 0 var(--color-white)) drop-shadow(0 -2px 0 var(--color-white))
      drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45));
  }

  .wheel-slice.is-active .wheel-slice-desc,
  .wheel-slice:focus-visible .wheel-slice-desc {
    text-align: left;
  }

  .wheel-slice.is-active .wheel-slice-icon-wrap,
  .wheel-slice.is-active .wheel-slice-title,
  .wheel-slice:focus-visible .wheel-slice-icon-wrap,
  .wheel-slice:focus-visible .wheel-slice-title {
    display: none;
  }

  .wheel-slice.is-active .wheel-slice-desc,
  .wheel-slice.is-active .wheel-slice-arrow,
  .wheel-slice:focus-visible .wheel-slice-desc,
  .wheel-slice:focus-visible .wheel-slice-arrow {
    display: flex;
  }
}

.wheel-slice--eliminar::before {
  clip-path: polygon(50% 50%, 50.0% -2.0%, 56.52% -1.59%, 62.93% -0.37%, 69.14% 1.65%, 75.05% 4.43%, 80.56% 7.93%, 85.6% 12.09%, 90.07% 16.85%, 93.91% 22.14%, 97.05% 27.86%, 99.45% 33.93%);
}

.wheel-slice--acceso-educativa::before {
  clip-path: polygon(50% 50%, 99.45% 33.93%, 101.08% 40.26%, 101.9% 46.73%, 101.9% 53.27%, 101.08% 59.74%, 99.45% 66.07%, 97.05% 72.14%, 93.91% 77.86%, 90.07% 83.15%, 85.6% 87.91%, 80.56% 92.07%);
}

.wheel-slice--impulsar::before {
  clip-path: polygon(50% 50%, 80.56% 92.07%, 75.05% 95.57%, 69.14% 98.35%, 62.93% 100.37%, 56.52% 101.59%, 50.0% 102.0%, 43.48% 101.59%, 37.07% 100.37%, 30.86% 98.35%, 24.95% 95.57%, 19.44% 92.07%);
}

.wheel-slice--acceso-servicios::before {
  clip-path: polygon(50% 50%, 19.44% 92.07%, 14.4% 87.91%, 9.93% 83.15%, 6.09% 77.86%, 2.95% 72.14%, 0.55% 66.07%, -1.08% 59.74%, -1.9% 53.27%, -1.9% 46.73%, -1.08% 40.26%, 0.55% 33.93%);
}

.wheel-slice--prevenir::before {
  clip-path: polygon(50% 50%, 0.55% 33.93%, 2.95% 27.86%, 6.09% 22.14%, 9.93% 16.85%, 14.4% 12.09%, 19.44% 7.93%, 24.95% 4.43%, 30.86% 1.65%, 37.07% -0.37%, 43.48% -1.59%, 50.0% -2.0%);
}

.wheel-slice-content {
  position: absolute;
  left: var(--content-x, 50%);
  top: var(--content-y, 50%);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  width: 128px;
  pointer-events: none;
}

.wheel-slice--eliminar .wheel-slice-content { --content-x: 68%; --content-y: 27%; }
.wheel-slice--acceso-educativa .wheel-slice-content { --content-x: 82%; --content-y: 63%; }
.wheel-slice--impulsar .wheel-slice-content { --content-x: 50%; --content-y: 80%; }
.wheel-slice--acceso-servicios .wheel-slice-content { --content-x: 18%; --content-y: 63%; }
.wheel-slice--prevenir .wheel-slice-content { --content-x: 32%; --content-y: 27%; }

/* Neutral-state icons form their own ring close to the hub, independent of
   where the title/description text sits further out toward the rim. */
.wheel-slice-icon-wrap {
  position: absolute;
  left: var(--icon-x, 50%);
  top: var(--icon-y, 50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: hidden;
}

.wheel-slice--eliminar .wheel-slice-icon-wrap { --icon-x: 59.4%; --icon-y: 37.1%; }
.wheel-slice--acceso-educativa .wheel-slice-icon-wrap { --icon-x: 65.2%; --icon-y: 54.9%; }
.wheel-slice--impulsar .wheel-slice-icon-wrap { --icon-x: 50%; --icon-y: 66%; }
.wheel-slice--acceso-servicios .wheel-slice-icon-wrap { --icon-x: 34.8%; --icon-y: 54.9%; }
.wheel-slice--prevenir .wheel-slice-icon-wrap { --icon-x: 40.6%; --icon-y: 37.1%; }

.wheel-slice-icon {
  width: 36px;
  height: 36px;
  display: block;
  overflow: hidden;
}

.wheel-slice-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  line-height: 1.25;
  color: var(--color-gray);
  margin: 0;
}

.wheel-slice-desc {
  display: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.25;
  color: var(--color-white);
  margin: 0;
}

.wheel-slice-arrow {
  position: relative;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  margin-top: 4px;
  pointer-events: auto;
  cursor: pointer;
}

.wheel-slice-arrow img {
  width: 20px;
  height: 20px;
}

@media (min-width: 901px) {
  .wheel-slice-title,
  .wheel-slice-desc {
    font-size: 13px;
  }
}

/* Compendio: "¿Cómo usar...?" panels */

.compendio-panels {
  padding: 34px 90px;
}

#panel-aceleradores {
  border-radius: 16px;
  /* Base elevation straight from the Figma card (744:10497); hover below
     just deepens it as a hover affordance, since the card has no shadow at
     rest otherwise and reads as flat against the page. */
  box-shadow: 0 4px 4.35px rgba(74, 87, 101, 0.25);
  transition: box-shadow 0.2s ease;
}

#panel-aceleradores:hover {
  box-shadow: 0 10px 24px rgba(74, 87, 101, 0.35);
}

.compendio-panel-header {
  background: var(--color-brown);
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 34px;
  min-height: 86px;
}

.compendio-panel-header img {
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
}

.compendio-panel-header h2 {
  font-family: var(--font-ux);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.22px;
  color: var(--color-white);
  margin: 0;
   transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.compendio-panel-body:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.compendio-panel-body {
  background: var(--color-white);
  border-radius: 0 0 16px 16px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--color-ux-navy);
  font-family: var(--font-ux);
}

.compendio-panel-body > p {
  font-size: 16px;
  letter-spacing: -0.176px;
  margin: 0;
}

.compendio-panel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compendio-panel-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compendio-panel-item img {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
}

.compendio-panel-item p {
  font-size: 16px;
  letter-spacing: -0.176px;
  margin: 0;
}

.compendio-panel-sublist {
  display: flex;
  gap: 24px;
  padding-top: 12px;
}

.compendio-panel-sublist ul {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding-left: 21px;
  font-size: 14px;
  letter-spacing: -0.154px;
  list-style: disc;
}

.compendio-panel-sublist li {
  margin-bottom: 8px;
}

/* Accelerator detail pages (Prevenir violencia, etc.) */

.accelerator-hero {
  position: relative;
  background: var(--color-cream) url("../assets/prevenir-violencia/images/hero-bg.jpg") center / cover no-repeat;
  padding: 24px 90px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accelerator-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  color: var(--color-brown);
  font-family: var(--font-ux);
  font-size: 18px;
  font-weight: 400;
}

.accelerator-back-icon {
  width: 20px;
  height: 20px;
}

.accelerator-hero-row {
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: 0;
  width: 100%;
}

.accelerator-hero-photo {
  flex: 0 0 auto;
  width: 350px;
  height: 201px;
  border-radius: 12px;
  overflow: hidden;
}

.accelerator-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
  display: block;
}

.accelerator-hero h1 {
  font-family: var(--font-ux);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.352px;
  color: var(--color-gray);
  margin: 0;
  overflow-wrap: break-word;
  max-width: 100%;
}

.accelerator-content {
  background: var(--color-white);
  padding: 0 90px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  overflow-x: clip;
}

.accelerator-tabs-row {
  display: flex;
  justify-content: center;
}

.accelerator-tabs {
  flex: 0 1 480px;
  max-width: 480px;
  min-width: 0;
  width: 100%;
}

/* Descripción/Estrategias panels: laid out as a flex column so the
   "Ver referencias" button can align itself to the end, after the
   scrollable description card (node 744:10902). Scoped to this page via
   the .accelerator-content ancestor, which is unique to prevenir-violencia. */
.accelerator-content .avances-tab-panel.is-active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accelerator-description {
  background: var(--color-white);
  border: 1px solid var(--color-orange);
  box-shadow: 0 4px 8.7px rgba(74, 87, 101, 0.25);
  border-radius: 16px;
  padding: 32px 16px;
  color: var(--color-black);
  font-family: var(--font-ux);
  font-size: 16px;
  letter-spacing: 0.16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.accelerator-description p {
  margin: 0;
  line-height: 1.5;
}

.accelerator-description ul {
  margin: 0;
  padding-left: 24px;
  list-style: disc;
}

.accelerator-description li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.accelerator-description li::marker {
  color: #000;
}

.accelerator-references-btn {
  align-self: flex-end;
  min-width: 264px;
}

/* "Ver referencias" modal (nodes 915:29331 / 915:16093): a simple fixed
   overlay + centered white panel. No modal pattern existed anywhere else in
   the codebase (css/style.css, css/quienes-somos.css,
   css/avances-y-progresos.css, js/main.js were all checked), so this is a
   small vanilla implementation scoped to these page-unique classnames. */
.reference-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.reference-modal[hidden] {
  display: none;
}

.reference-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 40, 38, 0.6);
}

.reference-modal-panel {
  position: relative;
  background: var(--color-white);
  border-radius: 16px;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  padding: 16px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reference-modal-header {
  display: flex;
  justify-content: flex-end;
}

.reference-modal-close {
  background: var(--color-orange);
  border: none;
  border-radius: 100px;
  width: 40px;
  height: 40px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.reference-modal-close img {
  width: 24px;
  height: 24px;
}

.reference-modal-title {
  font-family: var(--font-ux);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-orange);
  margin: 0;
}

.reference-modal-list {
  overflow-y: auto;
  max-height: min(60vh, 600px);
  margin: 0;
  padding-left: 21px;
  list-style: disc;
  color: var(--color-black);
  font-family: var(--font-ux);
  font-size: 14px;
}

.reference-modal-list li {
  margin-bottom: 8px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body.modal-open {
  overflow: hidden;
}

.accelerator-subheading {
  font-family: var(--font-ux);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-ux-navy);
  margin: 0;
}

.accelerator-table-body {
  background: var(--color-white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  overflow-x: clip;
}

.accelerator-row {
  display: flex;
  gap: 8px;
}

.accelerator-label {
  flex: 0 0 210px;
  min-width: 0;
  background: var(--color-cream);
  border-radius: 4px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  font-family: var(--font-ux);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-brown);
  overflow-wrap: anywhere;
}

.accelerator-value {
  flex: 1 1 0;
  min-width: 0;
  background: var(--color-cream);
  border-radius: 4px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--font-ux);
  font-size: 16px;
  color: var(--color-black);
  overflow-wrap: anywhere;
}

.accelerator-value p {
  margin: 0;
  line-height: 1.5;
}

.accelerator-value p + p {
  margin-top: 12px;
}

.accelerator-value ul,
.accelerator-value ol {
  margin: 0;
  padding-left: 24px;
  list-style: disc;
}

.accelerator-value ol {
  list-style: decimal;
}

.accelerator-value li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.accelerator-value--sources {
  font-size: 14px;
}

.accelerator-value a {
  color: inherit;
  text-decoration: none;
}

.accelerator-value--sources a {
  color: var(--color-orange);
  text-decoration: underline;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Strategy accordions (Prevenir violencia "Estrategias" tab, nodes
   915:16119 / 849:9617 and siblings): white card, orange border, a
   brown-bordered icon circle, and a bare orange chevron — reusing the
   shared .qs-accordion/.qs-chevron structure and rotation from
   quienes-somos.css, only restyled here for this page's strategy list. */

.qs-accordion--strategy .qs-accordion-header {
  background: var(--color-white);
  border: 1px solid var(--color-orange);
  border-radius: 8px;
  gap: 9px;
  padding: 12px;
  list-style: none;
  min-width: 0;
}

.qs-accordion--strategy .qs-accordion-header::marker,
.qs-accordion--strategy .qs-accordion-header::-webkit-details-marker {
  display: none;
  content: none;
}

.qs-accordion--strategy .qs-accordion-body {
  background: var(--color-white);
  color: var(--color-gray);
}

.qs-accordion--strategy .qs-strategy-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 100px;
  border: 1px solid var(--color-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.qs-accordion--strategy .qs-strategy-icon img {
  width: 20px;
  height: 20px;
}

.qs-accordion--strategy .qs-accordion-title {
  color: var(--color-gray);
  font-family: var(--font-ux);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.16px;
}

/* Responsive */

@media (max-width: 1024px) {
  .compendio-hero-break {
    display: none;
  }

  .compendio-hero {
    padding: 36px 72px 36px 40px;
    gap: 20px;
  }

  .compendio-hero-copy {
    gap: 16px;
  }

  .compendio-hero-copy h1 {
    font-size: 24px;
  }

  .compendio-hero-copy p {
    font-size: 13px;
  }

  .wheel-wrap {
    width: 380px;
  }

  .wheel-slice-content {
    width: 108px;
    gap: 6px;
  }

  .wheel-slice-title,
  .wheel-slice-desc {
    font-size: 11px;
  }

  .wheel-slice-icon {
    width: 28px;
    height: 28px;
  }

  .compendio-hero .qs-social-float {
    right: 12px;
  }

  .compendio-panels {
    padding: 34px 40px;
  }

  .compendio-panel-header {
    gap: 16px;
    padding: 12px 24px;
  }

  .compendio-panel-header h2 {
    font-size: 18px;
    line-height: 1.3;
  }

  .compendio-panel-body {
    padding: 20px 24px 24px;
  }

  .compendio-panel-sublist {
    flex-direction: column;
    gap: 0;
  }

  .accelerator-hero {
    padding: 24px 80px 24px 40px;
  }

  .accelerator-hero .qs-social-float {
    right: 16px;
  }

  .accelerator-hero h1 {
    font-size: 26px;
    padding-right: 8px;
  }

  .accelerator-content {
    padding: 0 40px 56px;
  }

  .accelerator-hero-photo {
    width: 280px;
    height: 161px;
  }
}

@media (max-width: 900px) {
  /* Matches the same fix on avances-y-progresos.html's hero: the floating
     social icons drop out of their absolute position on mobile and render
     as an unwanted full-width row instead of disappearing. */
  .qs-hero .qs-social-float,
  .accelerator-hero .qs-social-float {
    display: none;
  }

  .accelerator-hero {
    padding: 24px 20px;
  }

  .accelerator-hero-row {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .accelerator-hero-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 350 / 201;
  }

  .accelerator-hero h1 {
    font-size: 22px;
  }

  .accelerator-content {
    padding: 24px 20px 48px;
  }

  .accelerator-description {
    padding: 24px;
  }

  .accelerator-references-btn {
    align-self: stretch;
    min-width: 0;
  }

  .reference-modal-panel {
    padding: 16px 20px 24px;
  }

  .reference-modal-list {
    max-height: 50vh;
  }

  .accelerator-tabs {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .accelerator-tabs .avances-tab {
    min-width: 0;
    height: auto;
    min-height: 56px;
    font-size: 14px;
    line-height: 1.25;
    padding: 12px 8px;
    white-space: normal;
  }

  .accelerator-row {
    flex-direction: column;
    gap: 8px;
  }

  .accelerator-label {
    flex: 0 0 auto;
    width: 100%;
  }

  .accelerator-table-body {
    padding: 16px;
  }

  .compendio-panels {
    padding: 24px 20px;
  }

  .compendio-panel-sublist {
    flex-direction: column;
    gap: 4px;
  }

  .tool-flipbook-wrap {
    padding: 24px 20px;
  }

  .tool-flipbook-stage {
    width: min(100%, calc(64vh * 1190 / 842));
    max-height: 64vh;
  }

  .compendio-hero {
    flex-direction: column;
    padding: 34px 20px;
  }

  .compendio-hero-actions {
    flex-direction: column;
  }

  .wheel-wrap {
    width: 320px;
  }

  .wheel-slice-title,
  .wheel-slice-desc {
    font-size: 8px;
  }

  .wheel-slice-content {
    width: 96px;
    max-width: 96px;
    gap: 4px;
  }

  /* Icons sit too close to the titles on a 320px wheel; pull them toward
     the hub and shrink them so each slice keeps a clear gap. */
  .wheel-slice-icon {
    width: 20px;
    height: 20px;
  }

  .wheel-slice--eliminar .wheel-slice-icon-wrap { --icon-x: 56.8%; --icon-y: 40.7%; }
  .wheel-slice--acceso-educativa .wheel-slice-icon-wrap { --icon-x: 60.9%; --icon-y: 53.5%; }
  .wheel-slice--impulsar .wheel-slice-icon-wrap { --icon-x: 50%; --icon-y: 61.5%; }
  .wheel-slice--acceso-servicios .wheel-slice-icon-wrap { --icon-x: 39.1%; --icon-y: 53.5%; }
  .wheel-slice--prevenir .wheel-slice-icon-wrap { --icon-x: 43.2%; --icon-y: 40.7%; }
}

@media (max-width: 640px) {
  .herramientas-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-flipbook-wrap {
    padding-bottom: 16px;
  }

  .tool-detail-bar {
    flex-direction: column;
    gap: 24px;
    padding: 20px 24px;
    background: var(--color-cream);
    border-color: var(--color-orange);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    margin-top: 8px;
    margin-inline: calc(-1 * var(--container-pad));
    width: calc(100% + 2 * var(--container-pad));
  }

  .tool-detail-share {
    width: 100%;
    justify-content: center;
  }

  .tool-detail-share p {
    color: var(--color-black);
    letter-spacing: 0.18px;
    line-height: 28px;
  }
}
