.t-cover {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.t-cover__carrier {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.t-cover__filter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.t-cover__wrapper {
  align-items: center;
  display: flex !important;
  justify-content: center;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.t-cover .t-valign_middle,
.t-cover .t-valign_center {
  display: flex !important;
  vertical-align: middle;
}

.t-cover .t-valign_bottom {
  display: table-cell;
  vertical-align: bottom;
}

.t-cover .t-container {
  position: relative;
  z-index: 2;
}

.t-cover .t-col,
.t-cover [data-hook-content="covercontent"],
.t-cover .t001,
.t-cover .t216,
.t-cover .t001__wrapper,
.t-cover .t216__wrapper,
.t-cover .t001__title,
.t-cover .t216__title {
  float: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center !important;
}

/* ponytail: page-specific 50px gap (26px + the title's existing 24px top padding). */
#rec2368752161 .t216__blocklogo {
  padding-bottom: 26px;
}

.mes-home-hero {
  align-items: center;
  background: linear-gradient(rgba(81, 125, 186, .72), rgba(81, 125, 186, .72)),
    url("../images/mes-img-286-whatsapp-image-2025.jpeg") center bottom / cover no-repeat;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  font-family: var(--t-text-font, Arial), Arial, sans-serif;
  justify-content: center;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  padding: 140px 24px 70px;
  text-align: center;
  width: 100vw;
}

.mes-home-hero__inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 1120px;
  width: 100%;
}

.mes-home-hero__kicker {
  font-size: 49.2px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 4px;
}

.mes-home-hero__title {
  font-size: 82px;
  font-weight: 600;
  line-height: 1;
  margin: 0 0 42px;
  overflow-wrap: anywhere;
}

.mes-home-hero__cards {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(3, minmax(0, 230px));
  justify-content: center;
  margin: 0 auto 78px;
}

.mes-home-hero__card {
  align-items: center;
  background: rgba(145, 178, 224, .72);
  border-radius: 25px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  font-size: 24px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.55;
  min-height: 198px;
  padding: 24px 18px;
}

.mes-home-hero__icon {
  display: block;
  height: 72px;
  margin-bottom: 16px;
  width: 72px;
}

.mes-home-hero__notice {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
  overflow-wrap: anywhere;
}

@media screen and (min-width: 1800px) {
  .mes-home-hero {
    background-image: linear-gradient(rgba(81, 125, 186, .72), rgba(81, 125, 186, .72)),
      url("../images/mes-img-035-whatsapp-image-2025.jpg");
  }
}

@media screen and (max-width: 980px) {
  .mes-home-hero {
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    padding: 70px 24px;
  }

  .mes-home-hero__inner {
    transform: none;
  }

  .mes-home-hero__kicker {
    font-size: 26.4px;
    margin-bottom: 6px;
  }

  .mes-home-hero__title {
    font-size: 44px;
    margin-left: auto;
    margin-right: auto;
    max-width: 620px;
    margin-bottom: 34px;
  }

  .mes-home-hero__cards {
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 52px;
  }

  .mes-home-hero__card {
    border-radius: 22px;
    font-size: 18px;
    min-height: 140px;
    padding: 18px 10px;
  }

  .mes-home-hero__icon {
    height: 58px;
    width: 58px;
  }

  .mes-home-hero__notice {
    font-size: 22px;
  }
}

@media screen and (max-width: 560px) {
  .mes-home-hero {
    padding: 70px 28px;
  }

  .mes-home-hero__kicker {
    font-size: 19.2px;
  }

  .mes-home-hero__title {
    font-size: 32px;
    max-width: 330px;
  }

  .mes-home-hero__cards {
    grid-template-columns: 1fr;
  }

  .mes-home-hero__notice {
    font-size: 18px;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
  }
}

.mes-about {
  background: #e9e9e9;
  color: #111;
  font-family: var(--t-text-font, "FuturaPT", Arial, sans-serif);
  padding: 58px 24px 64px;
}

.mes-about__inner {
  display: grid;
  gap: 40px 48px;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  margin: 0 auto;
  max-width: 1200px;
}

.mes-about__copy {
  align-self: center;
}

.mes-about__title {
  color: #517dba;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 34px;
}

.mes-about__copy p {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 26px;
}

.mes-about__copy p:last-child {
  margin-bottom: 0;
}

.mes-about__copy a {
  color: #517dba;
}

.mes-about__media {
  align-self: center;
  margin: 0;
}

.mes-about__media img {
  display: block;
  height: auto;
  width: 100%;
}

.mes-about__forum {
  margin-top: 28px;
  max-width: 500px;
}

.mes-about__stats {
  display: grid;
  gap: 28px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(10, minmax(0, 1fr));
}

.mes-about__stat {
  align-items: center;
  background: #fff;
  border-radius: 25px;
  box-shadow: 5px 5px 10px rgba(169, 161, 161, .33);
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  justify-content: center;
  min-height: 156px;
  padding: 22px 18px;
  text-align: center;
}

.mes-about__stat:nth-child(6) {
  grid-column: 2 / span 2;
}

.mes-about__stat strong {
  color: #517dba;
  display: block;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
}

.mes-about__stat span {
  display: block;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.mes-about__stat:nth-child(4) span {
  font-size: 20px;
}

/* ponytail: shared modifiers keep the Excel colors identical in cards and cells. */
.mes-pastel--date {
  background: #eef2f8;
}

.mes-pastel--school {
  background: #d9f2d0;
}

.mes-pastel--products {
  background: #bdcdff;
}

.mes-pastel--posters {
  background: #e0e5dc;
}

.mes-pastel--exhibition {
  background: #fff0cc;
}

.mes-pastel--plenary {
  background: #dceaf7;
}

.mes-pastel--sections {
  background: #caeefb;
}

.mes-pastel--contest {
  background: #f1ecf8;
}

.mes-pastel--prizes {
  background: #f5e2e7;
}

.mes-about__matrix-wrap {
  grid-column: 1 / -1;
  margin-top: 34px;
  overflow: hidden;
  width: 100%;
}

.mes-about__matrix {
  border-collapse: collapse;
  color: #172337;
  max-width: 100%;
  table-layout: fixed;
  width: calc(100% - 1px);
}

.mes-about__matrix caption {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.mes-about__matrix-date {
  width: 13%;
}

.mes-about__matrix-school {
  width: 20%;
}

.mes-about__matrix-products,
.mes-about__matrix-posters {
  width: 25%;
}

.mes-about__matrix-exhibition {
  width: 17%;
}

.mes-about__matrix th,
.mes-about__matrix td {
  border: 1px solid #172337;
  box-sizing: border-box;
  font-size: 22px;
  font-weight: 500;
  height: 98px;
  line-height: 1.25;
  padding: 18px 20px;
  text-align: center;
  vertical-align: middle;
}

.mes-about__matrix th {
  font-weight: 500;
}

.mes-about__matrix tr:first-child th,
.mes-about__matrix tr:first-child td {
  height: 112px;
}

@media screen and (max-width: 1200px) {
  .mes-about {
    padding-top: 52px;
  }

  .mes-about__inner {
    grid-template-columns: minmax(0, 1fr) 294px;
    max-width: 960px;
  }

  .mes-about__copy p {
    font-size: 24px;
  }

  .mes-about__stats {
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mes-about__stat,
  .mes-about__stat:nth-child(6) {
    grid-column: auto;
  }
}

@media screen and (max-width: 760px) {
  .mes-about {
    padding: 46px 28px 52px;
  }

  .mes-about__inner {
    display: block;
  }

  .mes-about__title {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .mes-about__copy p {
    font-size: 20px;
    line-height: 1.45;
  }

  .mes-about__media {
    margin-top: 30px;
  }

  .mes-about__media img {
    max-width: 332px;
  }

  .mes-about__forum {
    margin-top: 22px;
  }

  .mes-about__stats {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .mes-about__stat {
    grid-column: auto;
    min-height: 112px;
  }

  .mes-about__stat strong {
    font-size: 32px;
  }

  .mes-about__stat span {
    font-size: 20px;
  }

  .mes-about__matrix-wrap {
    margin-top: 26px;
  }

  .mes-about__matrix th,
  .mes-about__matrix td {
    font-size: clamp(9px, 2.8vw, 18px);
    height: auto;
    padding: clamp(5px, 1.5vw, 14px) clamp(2px, 1vw, 16px);
  }

  .mes-about__matrix tr:first-child th,
  .mes-about__matrix tr:first-child td {
    height: auto;
  }
}


/* ponytail: one approved year logo is centered in the shared header. */
#rec1496413591 .t967__logo .mes-year-logos {
  display: block;
  text-decoration: none;
}

#rec1496413591 .t967__logo .mes-year-logos__logo {
  display: block;
  /* Match the previous visible logo width; SVG canvas excludes empty margins. */
  height: auto !important;
  max-width: 100% !important;
  padding: 0 !important;
  width: 312px !important;
}

@media screen and (min-width: 981px) {
  #rec1496413591 {
    padding: 0 0 200px !important;
  }

  #rec1496413591 .t967__top {
    box-sizing: border-box;
    height: 140px !important;
    justify-content: center;
    padding: 50px 0 20px;
  }

  #rec1496413591 .t967__bottomwrapper,
  #rec1496413591 .t967__desktoplist,
  #rec1496413591 .t967__desktoplist .t967__list {
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  #rec1496413591 .t967__desktoplist .t967__list {
    display: flex !important;
    justify-content: space-between;
  }

  #rec1496413591 .t967__desktoplist .t967__list-item {
    margin: 0 !important;
    padding: 0 !important;
  }

  #rec1496413591 .t967__desktoplist .t967__list-item:last-child {
    text-align: right;
  }
}

@media screen and (max-width: 980px) {
  #rec1496413591 .t967__logo {
    display: flex;
    justify-content: center;
    margin: 20px auto !important;
    width: calc(100% - 40px);
  }

  #rec1496413591 .t967__logo .mes-year-logos {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  #rec1496413591 .t967__logo .mes-year-logos__logo {
    height: auto !important;
    max-width: 100% !important;
    width: 178px !important;
  }
}
