@font-face { font-family: 'Gotham'; src: url('fonts/GothamBlack.otf') format('opentype'); font-weight: 900; font-style: normal; }
@font-face { font-family: 'Gotham'; src: url('fonts/GothamBold.ttf') format('truetype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Gotham'; src: url('fonts/GothamBoldItalic.ttf') format('truetype'); font-weight: 700; font-style: italic; }
@font-face { font-family: 'Gotham'; src: url('fonts/GothamMedium.ttf') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Gotham'; src: url('fonts/GothamMediumItalic.ttf') format('truetype'); font-weight: 500; font-style: italic; }
@font-face { font-family: 'Gotham'; src: url('fonts/GothamBook.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Gotham'; src: url('fonts/GothamBookItalic.ttf') format('truetype'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Gotham'; src: url('fonts/GothamLight.ttf') format('truetype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Gotham'; src: url('fonts/GothamLightItalic.ttf') format('truetype'); font-weight: 300; font-style: italic; }
@font-face { font-family: 'Gotham'; src: url('fonts/GothamXLight.otf') format('opentype'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'Gotham'; src: url('fonts/GothamXLightItalic.otf') format('opentype'); font-weight: 200; font-style: italic; }
@font-face { font-family: 'Gotham'; src: url('fonts/GothamThin.otf') format('opentype'); font-weight: 100; font-style: normal; }
@font-face { font-family: 'Gotham'; src: url('fonts/GothamThinItalic.otf') format('opentype'); font-weight: 100; font-style: italic; }

body {
  font-family: "Gotham", sans-serif !important;
  color: #000000;
}
* {
  margin: 0;
  padding: 0;
  /*transition: all 0.3s ease;*/
}
h1 { 
  font-family: "Abril Fatface", serif; 
  font-size: clamp(24px, 2.3vw, 2.3vw) !important;
  color: #302683; 
  font-weight: 600;
}
h2 { 
  font-size: clamp(20px, 1.56vw, 1.56vw) !important; 
  color: #302683; 
  font-style: normal; 
  font-weight: 300;
}

p, li { 
  font-size: clamp(15px, 1.09vw, 1.09vw) !important; 
  font-weight: 300; 
  font-style: normal; 
  line-height: 25px;
}
ul { margin-top: 10px; }
li { margin-bottom: 10px; margin-left: 20px; }

.et-menu-nav {
  font-size: clamp(15px, 1.09vw, 1.09vw) !important;
}

.slideshow { font-size: clamp(50px, 3.91vw, 3.91vw) !important; }

.footer>p { font-size: 10px !important; }

/* GRUPOS PRINCIPALES DE ACTIVIDADES */
.actividades { 
  opacity: 1;
  color: #0836cd; 
  font-size: 55px; 
  font-weight: 400;
  transition: opacity 0.3s ease;
}
.actividades:hover {
  opacity: .5;
  cursor: pointer;
}

/* Encuentros diplomáticos */
.page-id-802 #submenu a[href*="encuentros-del-mundo-diplomatico"] {
  font-weight: 400;
}

/* Estrategias globales */
.page-id-870 #submenu a[href*="estrategias-globales"] {
  font-weight: 400;
}

/* Oficina intereses económicos */
.page-id-881 #submenu a[href*="oficina-de-intereses-economicos"] {
  font-weight: 400;
}

/* Educación y formación */
.page-id-887 #submenu a[href*="educacion-y-formacion"] {
  font-weight: 400;
}

/* Divulgación */
.page-id-876 #submenu a[href*="divulgacion"] {
  font-weight: 400;
} 


/* Centrar verticalmente imagen y texto en cada fila interna */
.et_pb_row_inner {
  display: flex;
  align-items: center; /* centra en vertical */
}

/* Si en móvil Divi apila columnas, evita efectos raros */
@media (max-width: 980px) {
  .et_pb_row_inner {
    flex-wrap: wrap;
  }
}

/* Menú principal Divi */
.et_pb_menu .et-menu#menu-menu > li.current-menu-item > a,
.et_pb_menu .et-menu#menu-menu > li.current_page_item > a,
.et_pb_menu .et-menu#menu-menu > li.current-menu-ancestor > a {
  color: #0836cd !important;
  font-weight: 400 !important;
}

/* CUSTOM STYLE MOBILE */
@media (max-width: 767px) {

  .slideshow { font-size: clamp(28px, 3.91vw, 50px) !important; }

  .et_pb_row_inner_0 {
    border-bottom-style: none !important;
    border-left-width: 0 !important;
    border-left-color: #fff !important;
  }

  .et_pb_section .et_pb_row .et_pb_row_inner_0.et_pb_row_inner { 
    padding-left: 0% !important;
    padding-bottom: 50px !important;
  }

  .et_mobile_menu { border-top: 0px solid #fff !important; }

  ul#mobile_menu1 { margin-top: 20px !important; }

  #main-content { /*padding-bottom: 20px !important;*/ }

  h1 img { height: 18px !important; width: auto; }

  .actividades { font-size: 22px; }
}

/*
.tribe-events-page-template #et-main-area {
  border-left: 1px #000000 solid;
  border-right: 1px #000000 solid;
  width: 97%;
  margin-left: auto !important;
  margin-right: auto !important;
}
.et_pb_menu_0_tb_header.et_pb_menu ul li a,
.et_pb_menu__wrap{
  font-family: "Gotham", sans-serif !important;
  font-weight: 400 !important;
}


.categories_list, 
.regiones_list {
  font-family: "Gotham", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: clamp(15px, 1.09vw, 1.09vw) !important;
  line-height: 25px;
  color: #000000;
  text-transform: uppercase;

  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between; 
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories_list li,
.regiones_list li {
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  margin-right: 20px;
  border-top: #373d3d solid 5px;
  font-size: clamp(12px, 1.09vw, 1.09vw) !important;
  width: min-content;
  padding: 10px 0 0 0;
  margin-top: -20px;
  font-weight: 400;
  list-style-type: none;
}

.categories_list li:last-child,
.rgiones_list li:last-child {
  margin-right: 0; 
}

.categories_list a,
.regiones_list a {
  text-decoration: none; 
  color: inherit; 
}
.highlight {
  color: #302683;
}



.tagcloud a {
  font-size: clamp(18px, 0.78vw, 0.78vw) !important;
  background-color: #ffffff;
  color: #302683;
  display: table;
  border: 1px solid #302683;
  border-radius: 0;
  margin-top: 14px;
  text-transform: uppercase;  
}

/* INDEX *//*
#news_index h2 { 
  font-family: "Gotham", sans-serif;
  font-size: clamp(18px, 0.78vw, 0.78vw) !important; 
  font-weight: bold; 
  color: #000000;
}
#news_index p  { 
  line-height: 20px;
  font-size: clamp(15px, 0.78vw, 0.78vw) !important;
}
#news_index .et_pb_image_container {
  margin: 0 25px 0 0;
  width: 25%;
  float: left;
}
#news_index .et_pb_blog_grid .et_pb_post {
  border: 0px #ffffff none;
}
#news_index .et_pb_blog_grid .et_pb_blog_item_0_0,
#news_index .et_pb_blog_grid .et_pb_blog_item_0_2,
#news_index .et_pb_blog_grid .et_pb_blog_item_0_4,
#news_index .et_pb_blog_grid .et_pb_blog_item_0_6 {
  border: 0px #ffffff none;
  border-right: 1px #000000 dotted; 
}

/* ARTICLE *//*
.article h2 {
  font-family: "Abril Fatface", serif;
  font-size: clamp(50px, 3.91vw, 3.91vw) !important;
  font-weight: 600;
  color: #000000;
}
.article .tagcloud a {
  font-size: clamp(18px, 0.78vw, 0.78vw) !important;
  background-color: #ffffff;
  color: #302683;
  display: inline-block;
  border: 1px solid #302683;
  border-radius: 0;
  margin-top: 14px;
  text-transform: uppercase;  
}
.wp-pagenavi {
  clear: both;
  text-align: right;
  border-top: 1px solid #000000;
  padding-top: 15px;
}
/* CALENDARIO *//*
.mec-calendar.mec-event-container-simple .mec-calendar-row dt, 
.mec-calendar.mec-event-container-simple .mec-calendar-row dt:last-child, 
.mec-calendar.mec-event-container-simple .mec-calendar-table-head dt, 
.mec-calendar.mec-event-container-simple .mec-calendar-table-head dt:last-child,
.mec-calendar.mec-event-container-simple .mec-calendar-row dt {
  border-width: 0;
}
.mec-box-calendar.mec-calendar dt,
.mec-box-calendar.mec-calendar dt:last-child {
  border-bottom: 0 none #ffffff;
  border-left: 0 none #ffffff;
}
.mec-calendar.mec-event-container-simple dl dt.mec-calendar-day,
.mec-calendar.mec-event-container-simple dl dt.mec-calendar-day:last-child {
  font-size: 30px;
  color: #302683;
  /*border-top: 8px solid #302683;*//*
  padding-top:10px;
}
.mec-calendar.mec-event-container-simple dl dt.mec-table-nullday,
.mec-calendar.mec-event-container-simple dl dt.mec-table-nullday:last-child {
  font-size: 30px;
  color: #cccccc;
  /*border-top: 8px solid #302683;*//*
  padding-top:10px;
}
.mec-calendar-day {
  position: relative;
}

.mec-calendar-day:before,
.mec-calendar-day:after,
.mec-table-nullday:before,
.mec-table-nullday:after {
  content: '';
  position: absolute;
  top: 0;
  height: 8px;
  background-color: #302683;
}
.mec-selected-day:before,
.mec-selected-day:after {
  background-color: #0000ff;
  border-bottom: 0px none #fff !important;
}
.mec-calendar.mec-event-container-simple dl dt.mec-selected-day {
  border-bottom: 0px none #fff !important;
}
.mec-calendar-day:before,
.mec-table-nullday:before {
  left: 0;
  width: 90%;
}

.mec-calendar-day:after,
.mec-table-nullday:after {
  right: 0;
  width: 0%;
}
.mec-event-container-simple .mec-monthly-tooltip h4,
mec-event-title {
  font-size: clamp(10px, 0.75vw, 0.75vw) !important;
  font-weight: 500;
  margin: 0;
  color: #444;
}
.mec-event-container-simple .mec-monthly-tooltip.event-single-link-simple {
  border-bottom: 0px none #fff;
  padding: 5px 2px;
  display: block;
}
.mec-calendar.mec-event-calendar-classic dl dt {
  height: 200px;
}
.mec-calendar.mec-event-calendar-classic dl.mec-calendar-table-head {
  background: #ffffff;
  padding-bottom: 61px;
}
.mec-calendar.mec-event-calendar-classic dl.mec-calendar-table-head .mec-calendar-day-head {
  background: 0 0;
  height: unset;
  line-height: 36px;
  border-top-width: 0;
  border-top-style: none;
  border-top-color: #ffffff;
}
.mec-box-calendar.mec-calendar.mec-event-calendar-classic .mec-calendar-side .mec-previous-month {
  left: 0;
  float: right;
  margin-top: 75px;
  font-family: "Gotham", sans-serif !important;
}
.mec-box-calendar.mec-calendar .mec-calendar-header {
  margin-top: 2px;
  margin-bottom: 70px;
  float: inline-start;
  font-family: "Gotham", sans-serif !important;
}
.mec-box-calendar.mec-calendar.mec-event-calendar-classic .mec-calendar-side .mec-next-month {
  right: 0;
  margin-top: 75px;
  font-family: "Gotham", sans-serif !important;
}
.mec-wrap h2, .mec-wrap h3, .mec-wrap h4,
.mec-wrap div:not([class^="elementor-"]) { 
  font-family: "Gotham", sans-serif !important; 
}

/* Lunes *//*
.mec-calendar-day-head:nth-of-type(1) {
  visibility: hidden;
  position: relative;
}

.mec-calendar-day-head:nth-of-type(1)::after {
  content: "LUNES";
  position: absolute;
  top: 0;
  left: 0;
  visibility: visible;
}

/* Martes *//*
.mec-calendar-day-head:nth-of-type(2) {
  visibility: hidden;
  position: relative;
}

.mec-calendar-day-head:nth-of-type(2)::after {
  content: "MARTES";
  position: absolute;
  top: 0;
  left: 0;
  visibility: visible;
}

/* Miércoles *//*
.mec-calendar-day-head:nth-of-type(3) {
  visibility: hidden;
  position: relative;
}

.mec-calendar-day-head:nth-of-type(3)::after {
  content: "MIÉRCOLES";
  position: absolute;
  top: 0;
  left: 0;
  visibility: visible;
}

/* Jueves *//*
.mec-calendar-day-head:nth-of-type(4) {
  visibility: hidden;
  position: relative;
}

.mec-calendar-day-head:nth-of-type(4)::after {
  content: "JUEVES";
  position: absolute;
  top: 0;
  left: 0;
  visibility: visible;
}

/* Viernes *//*
.mec-calendar-day-head:nth-of-type(5) {
  visibility: hidden;
  position: relative;
}

.mec-calendar-day-head:nth-of-type(5)::after {
  content: "VIERNES";
  position: absolute;
  top: 0;
  left: 0;
  visibility: visible;
}

/* Sábado *//*
.mec-calendar-day-head:nth-of-type(6) {
  visibility: hidden;
  position: relative;
}

.mec-calendar-day-head:nth-of-type(6)::after {
  content: "SÁBADO";
  position: absolute;
  top: 0;
  left: 0;
  visibility: visible;
}

/* Domingo *//*
.mec-calendar-day-head:nth-of-type(7) {
  visibility: hidden;
  position: relative;
}

.mec-calendar-day-head:nth-of-type(7)::after {
  content: "DOMINGO";
  position: absolute;
  top: 0;
  left: 0;
  visibility: visible;
}
.mec-searchbar-category-wrap ul li {
  display: inline-block;
  padding-right: 50px;
}
/* CALENDARIO EVENTO SINGLE *//*
.mec-single-event {}

.mec-single-event h1,
.mec-single-event .mec-event-content h1 {
  font-family: "Abril Fatface", serif; 
  font-size: clamp(50px, 3.91vw, 3.91vw) !important; 
  color: #302683; 
  font-weight: 600;
}
.mec-single-event h2, 
.mec-single-event h3,
.mec-single-event h4,
.mec-single-event mec-date h2, 
.mec-single-event mec-date h3,
.mec-single-event mec-date h4,
.mec-single-event mec-time h2, 
.mec-single-event mec-time h3,
.mec-single-event mec-time h4 {
  font-family: "Gotham", sans-serif;
  font-size: clamp(18px, 0.5vw, 0.5vw) !important; 
  color: #302683; 
  font-style: normal; 
  font-weight: 300;
  background-color: #fff;
}
.mec-wrap .mec-totalcal-box {
  background: #fff;
  margin: 0 0 50px;
} 
*/