body {
  --ink: #10223b;
  --paper: #f4f7fb;
  --navy: #0b182b;
  --line: #d6e0ec;
  --blue-light: #a8d6ff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 system-ui, sans-serif;
}

body a:focus-visible,
#contenido:focus-visible {
  outline: 2px solid #638df1;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 1;
  top: .7rem;
  left: .7rem;
  padding: .65rem .9rem;
  transform: translateY(-200%);
  border-radius: .5rem;
  background: #143a90;
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.notice-header {
  border-bottom: 1px solid #304762;
  background: var(--navy);
  color: #f3f7ff;
}

.notice-frame {
  box-sizing: border-box;
  width: min(100% - 3.5rem, 74rem);
  margin-inline: auto;
}

.notice-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .1rem 1.7rem;
  min-height: 4.3rem;
}

.notice-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4rem;
}

.notice-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: inherit;
  text-decoration: none;
}

.notice-nav a:is(:hover, [aria-current="page"]) {
  text-decoration: underline;
  text-underline-offset: .21em;
}

.notice-nav nav a {
  font-size: .89rem;
  font-weight: 550;
}

.notice-brand {
  gap: .24em;
  font-size: 1.14rem;
  font-weight: 720;
  letter-spacing: -.03em;
}

.notice-brand strong {
  color: var(--blue-light);
  font-weight: inherit;
}

.notice-main {
  box-sizing: border-box;
  flex: 1;
  width: min(100% - 2.25rem, 54rem);
  margin-inline: auto;
  padding-block: clamp(1.65rem, 5vw, 4rem);
}

.notice-main article {
  padding: clamp(1.12rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: #fff;
  overflow-wrap: anywhere;
}

article h1,
article h2 {
  font-weight: 720;
  line-height: 1.19;
  letter-spacing: -.035em;
}

article h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.9rem, 5.5vw, 3.1rem);
}

article h2 {
  margin: 1.85rem 0 .55rem;
  font-size: 1.26rem;
}

article p {
  margin: 0 0 .8rem;
}

article a {
  color: #143a90;
  text-underline-offset: .18em;
}

.notice-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: #4b6078;
}

.notice-footer p {
  margin: .15rem 0;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 690;
}

@media (max-width: 760px) {
  .notice-frame {
    width: calc(100% - 2.25rem);
  }

  .notice-nav {
    flex-direction: column;
    align-items: flex-start;
    padding-block: .45rem;
  }

  .notice-nav nav {
    gap: 0 1rem;
  }

  .notice-nav nav a {
    font-size: .84rem;
  }
}
