body.itemid-249 .sppb-row-container.fpg-row-full {
  width: 100% !important;
  max-width: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  overflow: visible !important;
}

body.itemid-249 .fpg-row-full > .sppb-row,
body.itemid-249 .fpg-row-full .sppb-col-md-12,
body.itemid-249 .fpg-row-full .sppb-column,
body.itemid-249 .fpg-row-full .sppb-column-addons,
body.itemid-249 .fpg-row-full .sppb-addon-wrapper,
body.itemid-249 .fpg-row-full .sppb-addon-content {
  width: 100% !important;
  max-width: none !important;
}

body.itemid-249 .fpg-row-full > .sppb-row,
body.itemid-249 .fpg-row-full #contenido_articulo_2 > .sppb-container-inner > .sppb-nested-row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.itemid-249 .fpg-row-full > .sppb-row > .sppb-col-md-12,
body.itemid-249 .fpg-row-full #contenido_articulo_2 > .sppb-container-inner > .sppb-nested-row > .sppb-col-md-12 {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.itemid-249 .fpg-heading-share-container {
  box-sizing: border-box;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 576px) {
  body.itemid-249 .fpg-heading-share-container { max-width: 510px; }
}

@media (min-width: 768px) {
  body.itemid-249 .fpg-heading-share-container { max-width: 690px; }
}

@media (min-width: 992px) {
  body.itemid-249 .fpg-heading-share-container { max-width: 930px; }
}

@media (min-width: 1200px) {
  body.itemid-249 .fpg-heading-share-container { max-width: 1110px; }
}

@media (min-width: 1400px) {
  body.itemid-249 .fpg-heading-share-container { max-width: 1290px; }
}

#fahenn-project-gallery,
#fahenn-project-gallery * {
  box-sizing: border-box;
}

#fahenn-project-gallery {
  --fpg-ink: #101b1e;
  --fpg-teal: #35c8c0;
  width: var(--fpg-viewport-width, 100vw);
  max-width: none;
  margin-left: calc(50% - var(--fpg-half-width, 50vw));
  background: var(--fpg-ink);
  color: #f5f8f7;
  font-family: Arial, sans-serif;
}

#fahenn-project-gallery .fpg-bar {
  min-height: 68px;
  padding: 15px clamp(18px, 3vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #f4f7f6;
  color: #112023;
}

#fahenn-project-gallery .fpg-bar__title {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

#fahenn-project-gallery .fpg-bar__count {
  flex: none;
  color: #486066;
  font-size: 13px;
  font-weight: 700;
}

#fahenn-project-gallery .fpg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  background: #fff;
}

#fahenn-project-gallery .fpg-grid.fpg-ready {
  display: flex;
  flex-direction: column;
}

@media (min-width: 2200px) {
  #fahenn-project-gallery .fpg-grid:not(.fpg-ready) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

#fahenn-project-gallery .fpg-row {
  display: flex;
  align-items: stretch;
  gap: 1px;
  width: 100%;
}

#fahenn-project-gallery .fpg-card {
  min-width: 0;
  min-height: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: none;
  box-shadow: inset 0 0 0 1px #101b1e;
  background: #17272a;
}

#fahenn-project-gallery .fpg-card__media {
  position: relative;
  display: block;
  flex: none;
  width: 100%;
  height: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #273b3d;
  color: #fff;
  cursor: zoom-in;
}

#fahenn-project-gallery .fpg-card__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
}

#fahenn-project-gallery .fpg-ready .fpg-card__media {
  height: var(--fpg-row-height);
}

#fahenn-project-gallery .fpg-ready .fpg-card__media img {
  height: 100%;
}

#fahenn-project-gallery .fpg-card__view {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 12px;
  background: rgba(9, 24, 27, .88);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s ease, transform .2s ease;
}

#fahenn-project-gallery .fpg-card__media:hover .fpg-card__view,
#fahenn-project-gallery .fpg-card__media:focus-visible .fpg-card__view {
  opacity: 1;
  transform: none;
}

#fahenn-project-gallery .fpg-card__caption {
  flex: 1;
  min-height: 188px;
  padding: 18px clamp(16px, 1.6vw, 28px) 22px;
  border-top: 3px solid var(--fpg-teal);
  background: #17272a;
}

#fahenn-project-gallery .fpg-card__number {
  display: block;
  margin-bottom: 7px;
  color: #71dad4;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
}

#fahenn-project-gallery .fpg-card__title {
  margin: 0 0 8px !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere;
}

#fahenn-project-gallery .fpg-card__summary {
  margin: 0 !important;
  color: #c7d6d6 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  overflow-wrap: anywhere;
}

@media (min-width: 1921px) and (max-width: 2199px) {
  #fahenn-project-gallery .fpg-card {
    container-type: inline-size;
  }

  #fahenn-project-gallery .fpg-card__media .fpg-card__view {
    right: 3.338550cqw;
    bottom: 3.338550cqw;
    padding: 1.877934cqw 2.503912cqw;
    font-size: 2.503912cqw;
  }

  #fahenn-project-gallery .fpg-card__caption {
    min-height: 39.227960cqw;
    padding: 3.755869cqw 5.842462cqw 4.590506cqw;
    border-top-width: .625978cqw;
  }

  #fahenn-project-gallery .fpg-card__number {
    margin-bottom: 1.460616cqw;
    font-size: 2.295253cqw;
  }

  #fahenn-project-gallery .fpg-card__title {
    margin-bottom: 1.669275cqw !important;
    font-size: 3.755869cqw !important;
  }

  #fahenn-project-gallery .fpg-card__summary {
    font-size: 2.921231cqw !important;
  }
}

@media (min-width: 2200px) {
  #fahenn-project-gallery .fpg-card {
    container-type: inline-size;
  }

  #fahenn-project-gallery .fpg-card__media .fpg-card__view {
    right: 3.642987cqw;
    bottom: 3.642987cqw;
    padding: 2.049180cqw 2.732240cqw;
    font-size: 2.732240cqw;
  }

  #fahenn-project-gallery .fpg-card__caption {
    min-height: 42.805100cqw;
    padding: 4.098361cqw 6.375228cqw 5.009107cqw;
    border-top-width: .683060cqw;
  }

  #fahenn-project-gallery .fpg-card__number {
    margin-bottom: 1.593807cqw;
    font-size: 2.504554cqw;
  }

  #fahenn-project-gallery .fpg-card__title {
    margin-bottom: 1.821494cqw !important;
    font-size: 4.098361cqw !important;
  }

  #fahenn-project-gallery .fpg-card__summary {
    font-size: 3.187614cqw !important;
  }
}

#fahenn-project-gallery .fpg-card__media:focus-visible,
#fahenn-project-gallery .fpg-dialog button:focus-visible {
  outline: 3px solid #65e1d9;
  outline-offset: -3px;
}

.fpg-dialog {
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  height: min(850px, calc(100dvh - 32px));
  max-height: none;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 0;
  background: #101b1e;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.fpg-dialog[open] {
  position: fixed;
  inset: 0;
  margin: auto;
}

.fpg-dialog::backdrop { background: rgba(4, 13, 15, .88); }

.fpg-dialog__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(290px, .6fr);
  width: 100%;
  height: 100%;
}

.fpg-dialog__picture {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  background: #071012;
}

.fpg-dialog__picture img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fpg-dialog__panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow-y: auto;
}

.fpg-dialog__close {
  align-self: flex-end;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.fpg-dialog__number {
  margin: auto 0 14px;
  color: #65dcd4;
  font-size: 12px;
  font-weight: 800;
}

.fpg-dialog__title {
  margin: 0 0 20px !important;
  color: #fff !important;
  font-size: 25px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

.fpg-dialog__description {
  margin: 0 0 auto !important;
  color: #cfdddd !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.fpg-dialog__nav {
  display: flex;
  gap: 8px;
  margin-top: 30px;
}

.fpg-dialog__nav button {
  flex: 1;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #3c575a;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.fpg-dialog__nav button:hover,
.fpg-dialog__close:hover { color: #65dcd4; }

@media (max-width: 1599px) {
  #fahenn-project-gallery .fpg-grid:not(.fpg-ready) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1099px) {
  #fahenn-project-gallery .fpg-grid:not(.fpg-ready) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 699px) {
  #fahenn-project-gallery .fpg-bar { min-height: 58px; padding: 12px 16px; }
  #fahenn-project-gallery .fpg-bar__title { font-size: 16px !important; }
  #fahenn-project-gallery .fpg-grid:not(.fpg-ready) { grid-template-columns: 1fr; }
  #fahenn-project-gallery .fpg-card__caption { min-height: 0; padding: 16px 18px 21px; }
  #fahenn-project-gallery .fpg-card__title { font-size: 18px !important; }
  .fpg-dialog { width: 100vw; height: 100dvh; }
  .fpg-dialog__layout { grid-template-columns: 1fr; grid-template-rows: minmax(0, 58%) minmax(0, 42%); }
  .fpg-dialog__panel { padding: 14px 18px 20px; }
  .fpg-dialog__number { margin: 8px 0 10px; }
  .fpg-dialog__title { font-size: 20px !important; margin-bottom: 10px !important; }
  .fpg-dialog__description { font-size: 14px !important; }
  .fpg-dialog__nav { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  #fahenn-project-gallery .fpg-card__media img,
  #fahenn-project-gallery .fpg-card__view { transition: none; }
}
