html {
  scroll-behavior: smooth;
}

html, body {
  font-family: "Montserrat", sans-serif;
  background-color: #f7f7f7;
}

.tran-all {
  transition: all 0.3s ease-in-out;
}

.scroll {
  scroll-margin-top: 60px;
}

#wrapper {
  max-width: 1920px;
  margin: 0 auto;
}

ul.list li {
  list-style-type: disc;
  margin-left: 25px;
}

/* Scrollbar Styling */
.hero {
  --hero-overlay: linear-gradient(90deg, rgba(23, 42, 58, 0.55) 0%, rgba(62, 110, 134, 0.35) 50%, rgba(62, 110, 134, 0) 100%);
  background-image: var(--hero-overlay), url("../img/hero_mobile.webp") !important;
  background-position: top center;
  background-size: cover;
}
@media screen and (min-width: 768px) {
  .hero {
    background-image: var(--hero-overlay), url("../img/hero_ipad.webp") !important;
  }
}
@media screen and (min-width: 1200px) {
  .hero {
    background-image: var(--hero-overlay), url("../img/hero.webp") !important;
  }
}

/* Logo P2P BRCA Próstata (composición vectorial + texto) */
.logo-brca {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: 659px;
  aspect-ratio: 659 / 156;
  height: auto;
  align-self: center;
  color: #fff;
}
.logo-brca img,
.logo-brca span {
  position: absolute;
  display: block;
  white-space: nowrap;
}
.logo-brca .lb-p2p { left: 0; top: 0.5%; width: 41.46%; height: auto; }
.logo-brca .lb-frame { left: 44.16%; top: 0; width: 55.84%; height: auto; }
.logo-brca .lb-brca {
  left: 46.88%;
  top: 12.47%;
  font-family: "Big Shoulders Stencil", "Big Shoulders Stencil Display", Impact, sans-serif;
  font-weight: 800;
  font-size: 17.22cqw;
  line-height: normal;
}
.logo-brca .lb-brca span { position: static; display: inline; font-size: 1.0845em; }
.logo-brca .lb-pro {
  left: 47.64%;
  top: 10.45%;
  font-family: "Big Shoulders Stencil", "Big Shoulders Stencil Display", Impact, sans-serif;
  font-weight: 800;
  font-size: 3.07cqw;
  line-height: normal;
}
.logo-brca .lb-pro span { position: static; display: inline; font-size: 1.0725em; }
.logo-brca .lb-tag {
  left: 84.24%;
  top: 50.3%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 2.365cqw;
  line-height: 1.2;
}
.logo-brca--menu { max-width: 15rem; }

/* Objetivos */
.obj-icon {
  display: block;
  align-self: flex-start;
  width: auto;
  height: 72px;
}

/* Taller box */
.taller-box {
  position: relative;
  padding: 2.5rem 3rem;
  border-top: 2px solid rgb(255, 15, 0);
  border-right: 2px solid rgb(255, 15, 0);
  border-bottom: 2px solid rgb(255, 15, 0);
  border-left: 2px solid rgb(255, 15, 0);
}
.taller-box::before,
.taller-box::after {
  content: "";
  position: absolute;
  width: 45px;
  height: 45px;
  border: 0 solid rgb(9, 98, 168);
}
.taller-box::before {
  top: -5px;
  left: -5px;
  border-top-width: 8px;
  border-left-width: 8px;
}
.taller-box::after {
  bottom: -5px;
  right: -5px;
  border-bottom-width: 8px;
  border-right-width: 8px;
}
.taller-box > div::before {
  content: "";
  position: absolute;
  width: 45px;
  height: 45px;
  border: 0 solid rgb(9, 98, 168);
  bottom: -5px;
  left: -5px;
  border-bottom-width: 8px;
  border-left-width: 8px;
}
.taller-box > div::after {
    position: absolute;
    content: "";
    top: -43px;
    right: -18px;
    width: 70px;
    height: 120px;
    background-color: white;
    transition: all 0.2s ease-out;
    border-left: solid 2px rgb(255, 15, 0);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* Comité científico */
.dr-photo {
  flex: none;
  width: 90px;
  height: auto;
}
@media screen and (min-width: 640px) {
  .dr-photo { width: 115px; }
}

.corners_hero::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  background-image: url("../img/corner_hero_left.png");
  background-size: cover;
  width: 60px;
  height: 56px;
  transition: all 0.2s ease-out;
}
@media screen and (min-width: 1024px) {
  .corners_hero::after {
    width: 90px;
    height: 84px;
  }
}
@media screen and (min-width: 1536px) {
  .corners_hero::after {
    width: 100px;
    height: 94px;
  }
}
.corners_hero::before {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  background-image: url("../img/corner_hero_right.png");
  background-size: cover;
  width: 60px;
  height: 56px;
  transition: all 0.2s ease-out;
}
@media screen and (min-width: 1024px) {
  .corners_hero::before {
    width: 90px;
    height: 84px;
  }
}
@media screen and (min-width: 1536px) {
  .corners_hero::before {
    width: 100px;
    height: 94px;
  }
}

.corner-white-left::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 60px solid #f7f7f7;
  border-right: 60px solid transparent;
  border-bottom: 60px solid transparent;
}
@media screen and (min-width: 768px) {
  .corner-white-left::after {
    border-left: 100px solid #f7f7f7;
    border-right: 100px solid transparent;
    border-bottom: 100px solid transparent;
  }
}
@media screen and (min-width: 1536px) {
  .corner-white-left::after {
    border-left: 130px solid #f7f7f7;
    border-right: 130px solid transparent;
    border-bottom: 130px solid transparent;
  }
}

.corner_secretaria::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  background-image: url("../img/corner_secretaria.png");
  background-size: cover;
  width: 40px;
  height: 52px;
  transition: all 0.2s ease-out;
}
@media screen and (min-width: 640px) {
  .corner_secretaria::after {
    width: 50px;
    height: 65px;
  }
}
@media screen and (min-width: 1024px) {
  .corner_secretaria::after {
    width: 65px;
    height: 85px;
  }
}
@media screen and (min-width: 1536px) {
  .corner_secretaria::after {
    width: 80px;
    height: 105px;
  }
}

.splide .splide__pagination {
  position: relative;
  align-items: start;
  justify-content: start;
  bottom: 0;
}
.splide .splide__arrows {
  position: relative;
  margin-left: 10px;
  display: flex;
  gap: 20px;
  margin-top: 40px;
}
.splide .splide__arrows .splide__arrow {
  position: sticky;
  transform: none;
  background: transparent;
  border: solid 3px rgb(255, 15, 0);
  width: 3em;
  height: 3em;
  opacity: 1;
}
.splide .splide__arrows .splide__arrow svg {
  fill: rgb(255, 15, 0);
  display: none;
}
.splide .splide__arrows .splide__arrow::before {
  display: block;
  content: "";
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 9px;
  left: 9px;
  background-size: 25px;
  background-image: url(../img/ico-slider.svg);
}
.splide .splide__arrows .splide__arrow.splide__arrow--next::before {
  transform: rotate(180deg);
  top: 9px;
  left: 9px;
}
.splide .splide__track--nav > .splide__list > .splide__slide {
  border-radius: 1rem;
  border: none;
}
.splide .splide__track--nav > .splide__list > .splide__slide.is-active {
  border: none;
}
.splide .aspect-ratio-img img {
  transition: all 0.5s ease-in-out;
}
.splide .aspect-ratio-img:hover img {
  display: block;
  opacity: 1;
}
.splide .splide__video {
  aspect-ratio: 16/9;
  height: auto;
}
.splide .splide__video .splide__video__wrapper {
  background: transparent;
  padding: 1rem 0.5rem;
}
.splide .splide__video .splide__video__wrapper iframe {
  height: auto;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 1rem;
}
.splide #main-carousel-list .splide__video__wrapper {
  padding: 0.5rem;
}
.splide#thumbnail-carousel .splide__pagination--ttb {
  right: -1.2em;
}
.splide#thumbnail-carousel .splide__pagination--ltr {
  bottom: -1.5em;
}
.splide .splide__pagination__page {
  background: #008acb;
}
.splide .splide__pagination__page.is-active {
  background: #003c71;
}

.header-slider {
  display: flex;
  flex-direction: column-reverse;
}

.thumbnail-carousel {
  display: flex;
  flex-direction: column-reverse;
}
.thumbnail-carousel .top-corners::after {
  position: absolute;
  content: "";
  top: 0px;
  left: 0px;
  width: 46px;
  height: 46px;
  transition: all 0.2s ease-out;
  border-top: solid 10px rgb(9, 98, 168);
  border-left: solid 10px rgb(9, 98, 168);
}
.thumbnail-carousel .top-corners::before {
  position: absolute;
  content: "";
  top: -34px;
  right: -34px;
  width: 80px;
  height: 80px;
  background-color: #f7f7f7;
  transition: all 0.2s ease-out;
  border-left: solid 2px rgb(255, 15, 0);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.thumbnail-carousel .bottom-corners::after {
  position: absolute;
  content: "";
  bottom: 0px;
  left: 0px;
  width: 46px;
  height: 46px;
  transition: all 0.2s ease-out;
  border-bottom: solid 10px rgb(9, 98, 168);
  border-left: solid 10px rgb(9, 98, 168);
}
.thumbnail-carousel .bottom-corners::before {
  position: absolute;
  content: "";
  bottom: 0px;
  right: 0px;
  width: 46px;
  height: 46px;
  transition: all 0.2s ease-out;
  border-bottom: solid 10px rgb(9, 98, 168);
  border-right: solid 10px rgb(9, 98, 168);
}

.input-corner::after {
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 20px;
  height: 20px;
  transition: all 0.2s ease-out;
  content: "";
  border-right: solid 5px rgb(9, 98, 168);
  border-bottom: solid 5px rgb(9, 98, 168);
}

@media (max-width: 767px) {
  .navicon {
    width: 1.125em;
    height: 0.125em;
  }
  .navicon::before, .navicon::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.2s ease-out;
    content: "";
    background: white;
  }
  .navicon::before {
    top: 5px;
  }
  .navicon::after {
    top: -5px;
  }
  .menu {
    position: fixed;
    display: block;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 49;
    background-color: rgb(23, 42, 58);
    padding-top: 3rem;
    padding-inline: 1rem;
  }
  .menu li {
    margin-block: 2rem;
  }
  .menu li:first-child {
    margin-top: 0;
  }
  .menu-btn.on .navicon {
    background: transparent;
  }
  .menu-btn.on .navicon::before {
    transform: rotate(-45deg);
  }
  .menu-btn.on .navicon::after {
    transform: rotate(45deg);
  }
  .menu-btn.on .navicon::before,
  .menu-btn.on .navicon::after {
    top: 0;
  }
}
#nav.fixed-nav {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 60;
  margin: 0;
}
#nav.fixed-nav div {
  margin: 0 40px;
  background-color: rgba(128, 172, 207, 0.9);
  border: none;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.nav-placeholder {
  display: none;
  width: 100%;
}

.nav-btns {
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.nav-btns div {
  border: solid 1px rgba(255, 255, 255, 0.7);
  width: 100%;
  max-width: 1536px;
  background-color: rgba(9, 98, 168, 0.3);
}
.nav-btns .active {
  position: relative;
  color: rgb(255, 15, 0);
  font-weight: 700;
}

.accordion {
  position: relative;
  cursor: pointer;
  font-size: 15px;
  transition: 0.5s;
}
.accordion:after {
  position: absolute;
  transition: all 0.3s ease-out;
}
.accordion.active::after {
  transform: rotate(-180deg);
  transform-origin: center center;
}
.accordion.arrow_type_1a:after {
  content: url("../img/arrow_red.svg");
  right: 14px;
  bottom: 48px;
  width: 28px;
  height: 17px;
}
.accordion.arrow_type_1b:after {
  content: url("../img/arrow_red.svg");
  right: 14px;
  bottom: 24px;
  width: 28px;
  height: 17px;
}
.accordion.arrow_type_2:after {
  content: url("../img/arrow_red_circle.svg");
  right: 14px;
  top: 14px;
  width: 51px;
  height: 51px;
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}
@media screen and (max-width: 1023px) {
  .logo-brca:not(.logo-brca--menu) { width: 85%; }
}

/* Utilidades puntuales no incluidas en output.css */
.items-start { align-items: flex-start; }
.gap-6 { gap: 1.5rem; }
.taller-title { font-size: 22px; line-height: 31px; }
@media screen and (min-width: 768px) {
  .md\:gap-10 { gap: 2.5rem; }
  .md\:w-1\/2 { width: 50%; }
}
@media screen and (min-width: 1024px) {
  .lg\:mt-0 { margin-top: 0; }
}
.dr-photo--ring {
  border-radius: 50%;
  border: 4px solid rgb(227 31 23);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
