/* Cancer de Mama 2026 visual adaptation for Enfold staging. */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@500;600;700;800&family=Titillium+Web:wght@600;700;800&display=swap');

:root {
  --cm26-rose: #9f2d67;
  --cm26-rose-dark: #6f204c;
  --cm26-pink: #e878ad;
  --cm26-soft: #fff4f8;
  --cm26-blush: #f9d7e5;
  --cm26-peach: #ffe8dc;
  --cm26-navy: #11213f;
  --cm26-ink: #17213f;
  --cm26-muted: #6e6470;
  --cm26-line: rgba(159, 45, 103, 0.16);
  --cm26-shadow: 0 14px 34px rgba(17, 33, 63, 0.09);
}

html,
body,
#top,
#wrap_all {
  overflow-x: hidden;
}

body,
body .container_wrap,
body p,
body li {
  color: var(--cm26-ink);
  font-family: "Jost", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5,
.av-special-heading-tag {
  color: var(--cm26-navy);
  font-family: "Titillium Web", "Jost", Helvetica, Arial, sans-serif !important;
  letter-spacing: 0;
}

a,
.main_color a,
.footer_color a {
  color: var(--cm26-rose);
}

#top #header_meta {
  display: none;
}

#top #header {
  background: #fff;
  box-shadow: 0 8px 30px rgba(17, 33, 63, 0.08);
}

#top #header_main,
#top #header_main_alternate {
  border: 0;
  background: #fff;
}

#top #main {
  padding-top: 0 !important;
}

#top #menu-item-search,
#top .cm26-menu-hidden {
  display: none !important;
}

#top #avia-menu > li > a,
#top #avia-menu-0 > li > a {
  color: var(--cm26-navy);
  font-family: "Jost", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

#top #avia-menu > li.current-menu-item > a .avia-menu-text,
#top #avia-menu > li > a:hover .avia-menu-text,
#top #avia-menu-0 > li.current-menu-item > a .avia-menu-text,
#top #avia-menu-0 > li > a:hover .avia-menu-text {
  color: var(--cm26-rose);
}

#top #avia-menu .avia-menu-fx,
#top #avia-menu-0 .avia-menu-fx {
  background: var(--cm26-rose);
}

@media only screen and (min-width: 990px) {
  #top #main {
    padding-top: 92px !important;
  }

  #top #header,
  #top #header_main,
  #top #header_main_alternate {
    height: 92px;
  }

  #top #header_main .container,
  #top #header_main .av-logo-container,
  #top #header_main_alternate .container {
    height: 92px !important;
    line-height: 92px !important;
  }

  #top #header_main_alternate {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 5;
    background: transparent !important;
    pointer-events: none;
  }

  #top #header_main_alternate nav {
    float: none;
    pointer-events: auto;
  }

  #top nav.main_menu {
    inset: 0 !important;
    width: 100% !important;
    height: 92px !important;
    display: block;
  }

  #top nav.main_menu .avia-menu.av-main-nav-wrap {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    height: 92px;
    position: relative;
  }

  #top #avia-menu,
  #top #avia-menu-0 {
    display: flex;
    float: none !important;
    position: relative !important;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100% !important;
    max-width: none !important;
    height: 92px;
    min-height: 92px;
    margin: 0;
    padding: 0 148px 0 210px;
    box-sizing: border-box;
  }

  #top #avia-menu > li,
  #top #avia-menu-0 > li {
    float: none !important;
    height: 92px;
    display: flex;
    align-items: center;
    transform: none !important;
  }

  #top #avia-menu > li > a,
  #top #avia-menu-0 > li > a {
    display: flex !important;
    align-items: center;
    height: 92px !important;
    line-height: 1 !important;
    padding: 0 9px;
  }

  #top #avia-menu > li.av-burger-menu-main,
  #top #avia-menu-0 > li.av-burger-menu-main {
    display: none !important;
  }

  #top .html_header_top.html_logo_center .logo,
  #top .logo {
    top: 16px;
    left: 30px;
    right: auto;
    width: 170px;
    height: 56px;
    transform: none;
    z-index: 20;
  }

  #top .logo a {
    display: block;
    position: relative;
    width: 170px;
    height: 56px;
    max-height: 56px !important;
    background: url("https://cancerdemama2026.existalia.es/wp-content/uploads/2026/05/logo-cancer-mama-2026.png") center / contain no-repeat;
  }

  #top .logo a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: url("https://cancerdemama2026.existalia.es/wp-content/uploads/2026/05/logo-cancer-mama-2026.png") center / contain no-repeat;
    pointer-events: none;
  }

  #top .logo img {
    opacity: 0 !important;
  }

  #top #avia-menu > li.cm26-access-link,
  #top #avia-menu-0 > li.cm26-access-link {
    position: absolute;
    top: 25px;
    right: 0;
    height: 42px;
  }

  #top #avia-menu > li.cm26-access-link > a,
  #top #avia-menu-0 > li.cm26-access-link > a {
    min-width: 92px;
    height: 42px !important;
    padding: 0 18px !important;
    border-radius: 7px;
    background: var(--cm26-navy);
    color: #fff !important;
    justify-content: center;
  }

  #top #avia-menu > li.cm26-access-link > a .avia-menu-text,
  #top #avia-menu-0 > li.cm26-access-link > a .avia-menu-text {
    color: #fff !important;
  }
}

@media only screen and (min-width: 990px) and (max-width: 1279px) {
  #top #avia-menu,
  #top #avia-menu-0 {
    justify-content: flex-end;
    padding: 0;
  }

  #top #avia-menu > li.menu-item-top-level:not(.av-burger-menu-main):not(.cm26-access-link),
  #top #avia-menu-0 > li.menu-item-top-level:not(.av-burger-menu-main):not(.cm26-access-link) {
    display: none !important;
  }

  #top #avia-menu > li.av-burger-menu-main,
  #top #avia-menu-0 > li.av-burger-menu-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 46px;
    height: 92px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

@media only screen and (max-width: 989px) {
  #top #header,
  #top #header_main,
  #top #header_main .container,
  #top #header_main .av-logo-container {
    min-height: 78px;
    height: 78px !important;
    line-height: 78px !important;
  }

  #top .responsive .logo,
  #top .logo {
    left: 22px;
    width: 176px;
    height: 58px;
  }

  #top .logo img {
    max-height: 58px !important;
  }

  #top .av-burger-menu-main a {
    height: 78px !important;
    line-height: 78px !important;
  }
}

.cm26-button,
#top .avia-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0 !important;
  border-radius: 7px !important;
  background: var(--cm26-rose) !important;
  color: #fff !important;
  font-family: "Jost", Helvetica, Arial, sans-serif;
  font-weight: 800;
  text-decoration: none !important;
  text-transform: uppercase;
}

.cm26-button:hover,
#top .avia-button:hover {
  background: var(--cm26-navy) !important;
  color: #fff !important;
}

.cm26-button--dark {
  background: var(--cm26-navy) !important;
}

.cm26-button--ghost {
  background: #fff !important;
  color: var(--cm26-navy) !important;
}

.cm26-hero-section {
  min-height: 628px !important;
  background: linear-gradient(90deg, #fff 0%, #fff 34%, #fff3f7 34%, #fff9f3 100%);
  overflow: hidden;
  contain: paint;
}

.cm26-hero-section::before {
  content: "";
  position: absolute;
  top: -2px;
  right: 0;
  width: 70%;
  height: 54%;
  border-bottom: 26px solid var(--cm26-pink);
  border-radius: 0 0 55% 55%;
  opacity: 0.72;
  pointer-events: none;
}

.cm26-hero-section .av-section-color-overlay {
  display: none;
}

.cm26-hero-section .container {
  max-width: 1240px;
  position: relative;
  z-index: 2;
}

.cm26-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 42px;
  align-items: center;
  min-height: 548px;
  padding: 34px 0 46px;
}

.cm26-hero__logo {
  width: 210px;
  max-width: 70%;
  height: auto;
  margin-bottom: 20px;
}

.cm26-eyebrow,
.cm26-kicker {
  margin: 0 0 9px;
  color: var(--cm26-rose);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cm26-hero h1 {
  margin: 0;
  color: var(--cm26-navy);
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 0.9;
  text-transform: uppercase;
}

.cm26-hero__claim {
  max-width: 530px;
  margin: 14px 0 0;
  color: var(--cm26-navy);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.22;
}

.cm26-hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 540px;
  margin: 24px 0;
}

.cm26-pill {
  display: block;
  min-height: 74px;
  padding: 15px 18px;
  border: 1px solid var(--cm26-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 33, 63, 0.08);
  color: var(--cm26-navy);
  font-weight: 800;
  text-transform: uppercase;
}

.cm26-pill span {
  display: block;
  margin-top: 5px;
  color: var(--cm26-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.cm26-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cm26-hero__visual {
  position: relative;
  min-height: 432px;
}

.cm26-hero__poster {
  position: absolute;
  right: 10px;
  top: 18px;
  display: block;
  width: min(610px, 92vw);
  border: 9px solid #fff;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(17, 33, 63, 0.20);
  overflow: hidden;
  transform: rotate(-1.1deg);
}

.cm26-hero__poster img {
  display: block;
  width: 100%;
  height: auto;
}

.cm26-hero__notice {
  position: absolute;
  left: 8px;
  top: 304px;
  max-width: 474px;
  padding: 20px 26px;
  border-radius: 8px;
  background: rgba(112, 32, 76, 0.84);
  color: #fff;
  box-shadow: 0 20px 48px rgba(17, 33, 63, 0.20);
}

.cm26-hero__notice strong,
.cm26-hero__notice span {
  display: block;
  color: #fff;
}

.cm26-hero__notice strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.cm26-section {
  padding: 72px 0;
}

.cm26-section--soft {
  background: #f7f4f6;
}

.cm26-section--navy {
  background: var(--cm26-navy);
}

.cm26-section--rose {
  background: linear-gradient(118deg, var(--cm26-rose-dark), var(--cm26-rose));
}

.cm26-section--navy,
.cm26-section--navy *,
.cm26-section--rose,
.cm26-section--rose * {
  color: #fff !important;
}

.cm26-content {
  max-width: 1120px;
  margin: 0 auto;
}

.cm26-content h2 {
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  text-transform: uppercase;
}

.cm26-lead {
  max-width: 100%;
  margin: 0 0 28px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.cm26-card-grid,
.cm26-agenda-grid,
.cm26-people-grid,
.cm26-social-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.cm26-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cm26-agenda-grid,
.cm26-people-grid,
.cm26-social-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cm26-card,
.cm26-info-box,
.cm26-person-card,
.cm26-resource-card,
.cm26-agenda-card {
  padding: 28px;
  border: 1px solid var(--cm26-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--cm26-shadow);
}

.cm26-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  color: var(--cm26-ink) !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cm26-card:hover {
  border-color: rgba(159, 45, 103, 0.40);
  box-shadow: 0 18px 42px rgba(17, 33, 63, 0.12);
  transform: translateY(-2px);
}

.cm26-card strong,
.cm26-card-title,
.cm26-agenda-date,
.cm26-person-card strong,
.cm26-resource-card strong {
  display: block;
  color: var(--cm26-rose);
  font-family: "Titillium Web", "Jost", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.cm26-card-copy {
  display: block;
  margin-top: 12px;
  color: var(--cm26-ink);
  line-height: 1.45;
}

.cm26-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 38px;
  align-items: center;
}

.cm26-welcome p {
  font-size: 17px;
  line-height: 1.72;
}

.cm26-program-cover {
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(17, 33, 63, 0.14);
}

.cm26-program-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.cm26-agenda-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.cm26-agenda-date {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--cm26-navy);
  box-shadow: inset 0 -5px 0 var(--cm26-pink);
  color: #fff !important;
  text-align: center;
}

.cm26-agenda-date strong,
.cm26-agenda-date span,
.cm26-agenda-date small {
  display: block;
  color: #fff !important;
  font-family: "Titillium Web", "Jost", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.cm26-agenda-date strong {
  font-size: 38px;
}

.cm26-agenda-date span {
  margin-top: 6px;
  font-size: 14px;
}

.cm26-agenda-date small {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.78;
}

.cm26-agenda-card h3,
.cm26-person-card h3 {
  margin: 0 0 10px;
  color: var(--cm26-navy);
  font-size: 24px;
  line-height: 1.1;
}

.cm26-person-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.cm26-person-card img {
  display: block;
  width: 118px;
  height: 118px;
  object-fit: cover;
  border-radius: 8px;
}

.cm26-titlebar-section {
  min-height: 232px !important;
  background: linear-gradient(118deg, var(--cm26-rose-dark) 0%, var(--cm26-rose) 54%, var(--cm26-pink) 100%);
  border-bottom: 4px solid var(--cm26-navy) !important;
  overflow: hidden;
}

.cm26-titlebar-section .container {
  max-width: 1120px;
}

.cm26-titlebar {
  padding: 50px 0 48px;
}

.cm26-titlebar__kicker {
  margin: 0 0 8px;
  color: #ffdbe9 !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

#top #wrap_all .all_colors .cm26-titlebar h1,
#top .cm26-titlebar h1,
.cm26-titlebar h1 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(38px, 4.8vw, 60px) !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.cm26-titlebar__meta {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86) !important;
  font-weight: 700;
}

#top:not(.home) #main .container_wrap:not(.cm26-titlebar-section) {
  border: 0;
}

#top:not(.home) #main .container_wrap:not(.cm26-titlebar-section) .container {
  padding-top: 52px;
  padding-bottom: 52px;
}

#top:not(.home) #main .container_wrap:not(.cm26-titlebar-section) .flex_column {
  border-color: var(--cm26-line) !important;
  border-radius: 8px !important;
}

#top:not(.home) #main h2,
#top:not(.home) #main h3,
#top:not(.home) #main .av-special-heading-tag {
  color: var(--cm26-navy) !important;
}

#top:not(.home) #main .av-special-heading-tag {
  line-height: 1.05 !important;
}

#top.page-id-814 #main .flex_column,
#top.page-id-904 #main .flex_column,
#top.page-id-966 #main .flex_column,
#top.page-id-1411 #main .flex_column,
#top.page-id-1824 #main .flex_column {
  box-shadow: var(--cm26-shadow);
}

#top.page-id-904 .cm26-titlebar-section + .container_wrap table,
#top.page-id-904 table {
  border-collapse: collapse;
}

#top.page-id-904 table td,
#top.page-id-904 table th {
  border-color: rgba(159, 45, 103, 0.20) !important;
}

#top #footer,
#top #socket {
  background: var(--cm26-navy);
}

#top #footer,
#top #footer *,
#top #socket,
#top #socket * {
  color: #fff;
}

#cookie-notice,
#top #cookie-notice {
  background: var(--cm26-navy) !important;
}

#cookie-notice .cn-button {
  border-radius: 7px !important;
}

@media only screen and (max-width: 989px) {
  #top.home #main,
  #top #main {
    padding-top: 0 !important;
  }

  .cm26-hero-section {
    min-height: 0 !important;
  }

  .cm26-hero-section::before {
    right: -18%;
    width: 106%;
    height: 44%;
    border-bottom-width: 18px;
  }

  .cm26-hero {
    display: block;
    min-height: 0;
    padding: 38px 0 48px;
  }

  .cm26-hero__logo {
    width: 182px;
    max-width: 82%;
  }

  .cm26-hero h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .cm26-hero__claim {
    font-size: 19px;
  }

  .cm26-hero__meta {
    grid-template-columns: 1fr;
  }

  .cm26-hero__visual {
    min-height: 0;
    margin-top: 34px;
  }

  .cm26-hero__poster,
  .cm26-hero__notice {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    transform: none;
  }

  .cm26-hero__notice {
    margin-top: -18px;
  }

  .cm26-card-grid,
  .cm26-agenda-grid,
  .cm26-people-grid,
  .cm26-social-grid,
  .cm26-welcome {
    grid-template-columns: 1fr;
  }

  .cm26-section {
    padding: 54px 0;
  }

  .cm26-person-card,
  .cm26-agenda-card {
    grid-template-columns: 1fr;
  }

  .cm26-person-card img {
    width: 128px;
    height: 128px;
  }

  .cm26-titlebar {
    padding: 42px 0 40px;
  }

  #top:not(.home) #main .container_wrap:not(.cm26-titlebar-section) .container {
    padding-top: 38px;
    padding-bottom: 38px;
  }
}

@media only screen and (max-width: 480px) {
  .cm26-card,
  .cm26-info-box,
  .cm26-person-card,
  .cm26-resource-card,
  .cm26-agenda-card {
    padding: 22px;
  }

  .cm26-titlebar h1 {
    word-break: normal;
    overflow-wrap: anywhere;
  }
}
