/* Estilos propios de RIICS. Los recursos originales del tema se conservan. */
.riics-site {
  color: #30475e;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: visible;
}
.riics-site * {
  box-sizing: border-box;
}
.riics-site h1,
.riics-site h2,
.riics-site h3 {
  color: #0c1f47;
  font-weight: 700;
}
.riics-site h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.2;
}
.riics-site h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin-bottom: 28px;
}
.riics-site h3 {
  font-size: 1.35rem;
  line-height: 1.4;
}
.riics-site p {
  margin: 0 0 20px;
}
.riics-site a {
  color: #006a9f;
  overflow-wrap: anywhere;
}
.riics-site a:hover {
  color: #0c1f47;
  text-decoration: underline;
}
.riics-site a:focus-visible,
.riics-site button:focus-visible,
.riics-site summary:focus-visible {
  outline: 3px solid #007eaf;
  outline-offset: 5px;
}
.riics-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.riics-header {
  background: #fff;
  border-bottom: 1px solid #dbe5ed;
}
.riics-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 100px;
}
.riics-brand {
  flex-shrink: 0;
}
.riics-brand img {
  display: block;
  width: 150px;
  height: 72px;
  object-fit: contain;
}
.riics-header nav ul {
  display: flex;
  gap: 25px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.riics-header nav a {
  display: block;
  color: #0c1f47;
  font-size: 15px;
  font-weight: 700;
  padding: 20px 0;
}
.riics-header nav a[aria-current] {
  color: #006a9f;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}
.riics-menu-toggle {
  display: none;
  background: #0c1f47;
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 9px 18px;
  font-weight: 700;
  cursor: pointer;
}
.riics-menu-toggle[hidden] {
  display: none;
}
.riics-skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: #fff;
  padding: 12px;
}
.riics-skip:focus {
  top: 10px;
}
.riics-hero {
  padding: 65px 0;
  background: #0c1f47;
  color: #fff;
}
.riics-hero-home {
  padding: 100px 0;
  background:
    linear-gradient(90deg, rgba(12, 31, 71, 0.96), rgba(12, 31, 71, 0.78)),
    url("/wp-content/uploads/2025/06/HERO1.png") center/cover;
}
.riics-hero h1 {
  color: #fff;
  max-width: 1000px;
  margin-bottom: 24px;
}
.riics-hero p {
  max-width: 850px;
}
.riics-hero p:last-child {
  margin-bottom: 0;
}
.riics-eyebrow {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #8cddfa;
}
.riics-lead {
  font-size: 21px;
  line-height: 1.6;
}
.riics-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin-top: 28px;
}
.riics-hero .riics-actions a {
  color: #fff;
}
.riics-site .riics-button {
  display: inline-block;
  background: #006a9f;
  color: #fff;
  padding: 12px 24px;
  border: 2px solid #006a9f;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
}
.riics-site .riics-button:hover {
  background: #0c1f47;
  border-color: #0c1f47;
  color: #fff;
}
.riics-site .riics-button-outline {
  background: transparent;
  border-color: #8cddfa;
}
.riics-site .riics-button-outline:hover {
  border-color: #fff;
  background: #fff;
  color: #0c1f47;
}
.riics-site .riics-button-light {
  background: #edf6fb;
  border-color: #c5dfed;
  color: #0c1f47;
}
.riics-site .riics-button-light:hover {
  background: #d9eef9;
}
.riics-section {
  padding: 65px 0;
  scroll-margin-top: 24px;
}
.riics-section p {
  max-width: 100%;
}
.riics-tint {
  background: #f2f7fa;
}
.riics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.riics-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.riics-card {
  background: #fff;
  border: 1px solid #dbe5ed;
  border-radius: 12px;
  padding: 30px;
}
.riics-card > :last-child {
  margin-bottom: 0;
}
.riics-objectives {
  list-style: decimal;
  padding-left: 28px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 55px;
}
.riics-objectives li {
  padding-left: 8px;
}
.riics-objectives li::marker {
  color: #006a9f;
  font-weight: 700;
}
.riics-group {
  margin-top: 48px;
}
.riics-group > h3 {
  margin-bottom: 24px;
  border-bottom: 1px solid #c5d7e2;
  padding-bottom: 14px;
}
.riics-person {
  border: 1px solid #dbe5ed;
  border-radius: 12px;
  background: #fff;
  padding: 26px;
  min-width: 0;
}
.riics-person p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.riics-person h3 {
  font-size: 1.2rem;
}
.riics-portrait,
.riics-initials {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  margin-bottom: 24px;
}
.riics-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: #edf6fb;
  color: #0c1f47;
  font-weight: 700;
}
.riics-person .riics-role {
  color: #006a9f;
  font-weight: 700;
}
.riics-muted {
  color: #50667a;
}
.riics-person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  margin-top: 16px;
}
.riics-person details {
  margin-top: 16px;
}
.riics-person summary {
  cursor: pointer;
  color: #006a9f;
  font-size: 15px;
  margin-bottom: 10px;
}
.riics-congress {
  align-items: start;
  grid-template-columns: 1.1fr 1fr;
}
.riics-congress figure {
  margin: 0;
}
.riics-congress img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #dbe5ed;
}
.riics-congress figure span {
  display: block;
  text-align: center;
  padding-top: 12px;
}
.riics-event-date {
  font-weight: 700;
  color: #006a9f;
}
.riics-activity-list {
  list-style: disc;
  padding-left: 25px;
  margin: 0;
}
.riics-activity-list li {
  padding: 0 0 24px 8px;
}
.riics-publications {
  list-style: decimal;
  padding-left: 28px;
  margin: 0;
}
.riics-publications li {
  padding: 0 0 28px 12px;
  margin-bottom: 28px;
  border-bottom: 1px solid #dbe5ed;
}
.riics-publications li p {
  margin-bottom: 10px;
}
.riics-publications li::marker {
  color: #006a9f;
  font-weight: 700;
}
.riics-status {
  color: #50667a;
  font-size: 15px;
}
.riics-footer {
  background: #0c1f47;
  color: #fff;
  padding: 42px 0;
}
.riics-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-bottom: 20px;
}
.riics-footer a,
.riics-footer a:hover {
  color: #b3e9ff;
}
.riics-footer .riics-copyright {
  font-size: 14px;
  margin: 0;
  color: #c5d7e2;
}
@media (max-width: 1000px) {
  .riics-header-inner {
    flex-wrap: wrap;
    gap: 0;
    min-height: 86px;
    padding: 7px 0;
  }
  .riics-brand img {
    width: 125px;
    height: 64px;
  }
  .riics-menu-toggle:not([hidden]) {
    display: block;
  }
  .riics-header nav {
    width: 100%;
  }
  .riics-header nav ul {
    flex-wrap: wrap;
    gap: 0 24px;
    padding-bottom: 12px;
  }
  .riics-header nav a {
    padding: 12px 0;
  }
  .riics-js .riics-header nav {
    display: none;
  }
  .riics-js .riics-header nav.is-open {
    display: block;
  }
  .riics-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .riics-wrap {
    width: calc(100% - 36px);
  }
  .riics-hero,
  .riics-hero-home {
    padding: 52px 0;
  }
  .riics-section {
    padding: 45px 0;
  }
  .riics-lead {
    font-size: 18px;
  }
  .riics-grid,
  .riics-grid-three,
  .riics-congress,
  .riics-objectives {
    grid-template-columns: minmax(0, 1fr);
  }
  .riics-card,
  .riics-person {
    padding: 24px;
  }
  .riics-header nav ul {
    display: block;
  }
  .riics-actions {
    align-items: stretch;
  }
}
@media (prefers-reduced-motion: reduce) {
  .riics-site a,
  .riics-site button {
    transition: none;
  }
}
