/* Turismo frente al Fenómeno El Niño — visual system based on the gob.pe style guide. */

@font-face {
  font-family: "Roboto";
  src: url("../assets/fonts/Roboto-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --gobpe-text-color: #26292e;
  --gobpe-link-color: #0056ac;
  --gobpe-link-hover-color: #184397;
  --gobpe-brand-color: #bf0909;
  --gobpe-brand-secondary: #dc362e;
  --gobpe-background-color: #fff;
  --gobpe-background-alt: #f4f8fb;
  --gobpe-border-color: #dee3ea;
  --gobpe-focus-color: #ffd147;
  --ink: #18334c;
  --muted: #555869;
  --blue-pale: #e8f2f7;
  --red-pale: #fceeee;
  --green: #126b49;
  --green-pale: #e3f3ec;
  --amber: #795a00;
  --amber-pale: #fff9e8;
  --white: #fff;
  --radius: 4px;
  --max-width: 1200px;
  --shadow: 0 8px 28px rgb(24 51 76 / 7%);
}

/* Foundations */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--gobpe-background-color);
  color: var(--gobpe-text-color);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.modal-open, body.scrolllock { overflow: hidden; }
img, video, svg { max-width: 100%; }
img { display: block; height: auto; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, summary, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
input, select, textarea { color: var(--gobpe-text-color); }
select { max-width: 100%; }
textarea { resize: vertical; }
a { color: var(--gobpe-link-color); text-underline-offset: 3px; }
a:hover { color: var(--gobpe-link-hover-color); text-decoration-thickness: 2px; }
a, p, li, h1, h2, h3, h4 { overflow-wrap: break-word; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0 0 16px; color: inherit; letter-spacing: 0; }
h1 { font-size: 36px; line-height: 1.12; font-weight: 800; }
h2 { font-size: 30px; line-height: 1.2; font-weight: 700; }
h3 { font-size: 23px; line-height: 1.3; font-weight: 700; }
h4 { font-size: 18px; line-height: 1.4; font-weight: 700; }
strong { font-weight: 700; }
small, .small { font-size: 13px; line-height: 1.6; }
ul, ol { padding-left: 23px; }
li + li { margin-top: 8px; }
hr { margin: 32px 0; border: 0; border-top: 1px solid var(--gobpe-border-color); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { margin-bottom: 16px; padding: 0; font-weight: 700; }
[hidden] { display: none !important; }
:focus-visible {
  outline: 3px solid var(--gobpe-focus-color);
  outline-offset: 4px;
  box-shadow: 0 0 0 1px var(--gobpe-text-color);
}
::selection { background: var(--gobpe-focus-color); color: var(--gobpe-text-color); }
.container { width: calc(100% - 64px); max-width: var(--max-width); margin-inline: auto; }
.muted, .field-help { color: var(--muted); }
.accent { color: var(--gobpe-brand-color); }
.intro { max-width: 760px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -90px;
  left: 24px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--gobpe-focus-color);
  color: var(--gobpe-text-color);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Institutional masthead */
.site-topline { background: var(--gobpe-background-alt); border-bottom: 1px solid #e7edf2; }
.site-topline .container { min-height: 33px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-topline, .site-topline a { color: var(--ink); font-size: 12px; line-height: 20px; }
.site-topline a { font-weight: 500; text-decoration: none; }
.site-topline a:hover { text-decoration: underline; }
.site-header { background: var(--white); border-bottom: 3px solid var(--gobpe-brand-color); }
.brand-row { min-height: 105px; display: flex; align-items: center; gap: 28px; }
.brand-mincetur, .brand-peru { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand-mincetur img { width: 275px; max-height: 63px; object-fit: contain; }
.brand-peru img, img.brand-peru { width: 156px; height: auto; max-height: 66px; object-fit: contain; }
.brand-divider { width: 1px; height: 48px; background: var(--gobpe-border-color); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 21px; }
.header-tools a { font-size: 14px; line-height: 21px; font-weight: 500; text-decoration: none; }
.header-tools a:hover { text-decoration: underline; }
.header-tools .icon { width: 19px; height: 19px; margin-right: 5px; }
.menu-toggle { display: none; min-height: 44px; padding: 8px 13px; background: var(--white); border: 1px solid var(--gobpe-border-color); border-radius: var(--radius); color: var(--ink); font-weight: 700; }
.menu-toggle .icon { width: 21px; height: 21px; margin-left: 7px; }
.nav-bar { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--gobpe-border-color); }
.nav-links { min-height: 63px; display: flex; align-items: stretch; gap: 28px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 63px; padding: 17px 0 14px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 500; line-height: 23px; text-decoration: none; color: var(--gobpe-text-color); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active, .nav-links a[aria-current="page"] { color: var(--gobpe-link-color); border-bottom-color: var(--gobpe-link-color); }
.breadcrumb { padding: 17px 0; background: var(--gobpe-background-alt); font-size: 13px; line-height: 20px; }
.breadcrumb .container, nav.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--muted); }

/* Buttons and navigation helpers */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 47px;
  padding: 11px 19px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s, border-color .16s, color .16s;
}
.button .icon { width: 20px; height: 20px; }
.button-primary { color: var(--white); background: var(--gobpe-link-color); border-color: var(--gobpe-link-color); }
.button-primary:hover { background: var(--gobpe-link-hover-color); border-color: var(--gobpe-link-hover-color); color: var(--white); }
.button-secondary { color: var(--gobpe-link-color); background: var(--white); border-color: var(--gobpe-link-color); }
.button-secondary:hover { color: var(--gobpe-link-hover-color); background: var(--blue-pale); border-color: var(--gobpe-link-hover-color); }
.button-quiet { color: var(--gobpe-link-color); background: transparent; border-color: transparent; padding-inline: 4px; }
.button-quiet:hover { text-decoration: underline; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; color: var(--gobpe-link-color); font-size: 15px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 18px; height: 18px; }
.jump-links { display: flex; flex-wrap: wrap; gap: 9px 21px; padding: 17px 0; margin-block: 24px 0; border-top: 1px solid var(--gobpe-border-color); border-bottom: 1px solid var(--gobpe-border-color); }
.jump-links a { min-height: 28px; font-size: 14px; line-height: 26px; font-weight: 500; }

/* Hero and page introductions */
.hero { padding: 47px 0 48px; background: var(--gobpe-background-alt); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.06fr; align-items: center; gap: 62px; }
.hero-copy { padding: 13px 0; min-width: 0; }
.eyebrow, .section-label { margin-bottom: 12px; color: var(--gobpe-brand-color); font-size: 12px; line-height: 20px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.hero h1 { overflow-wrap: break-word; text-wrap: balance; max-width: 540px; margin-bottom: 21px; font-size: 40px; line-height: 1.12; font-weight: 800; }
.hero h1 span { color: var(--gobpe-brand-color); }
.hero-lead { max-width: 520px; margin-bottom: 16px; color: var(--ink); font-size: 20px; line-height: 1.55; font-weight: 500; }
.hero-copy > p:not(.eyebrow):not(.hero-lead) { color: var(--muted); max-width: 500px; }
.hero-actions { margin-top: 27px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-visual { min-width: 0; position: relative; }
.hero-visual img { width: 100%; height: 365px; object-fit: cover; object-position: 56% center; border-radius: 3px; }
.hero-visual figcaption, .hero-caption { margin-top: 12px; padding-left: 13px; border-left: 3px solid var(--gobpe-brand-color); color: var(--muted); font-size: 12px; line-height: 19px; }
.hero-visual figcaption strong, .hero-caption strong { display: block; color: var(--gobpe-text-color); font-size: 14px; line-height: 22px; margin-bottom: 2px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--gobpe-border-color); margin-top: 35px; padding-top: 22px; gap: 20px; }
.hero-stats strong { display: block; color: var(--ink); font-size: 21px; line-height: 29px; }
.hero-stats span { font-size: 12px; line-height: 19px; color: var(--muted); }
.page-intro { padding: 40px 0 43px; background: var(--gobpe-background-alt); border-bottom: 1px solid var(--gobpe-border-color); }
.page-intro h1 { max-width: 830px; margin-bottom: 18px; }
.page-intro .intro { max-width: 850px; }
.page-intro .hero-actions { margin-top: 22px; }

/* Page rhythm and shared blocks */
.section { padding: 68px 0; scroll-margin-top: 75px; }
.section-soft { background: var(--gobpe-background-alt); }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink .section-label { color: #ffb9b2; }
.section-ink .intro, .section-ink .muted { color: #e0e9f0; }
.section-ink a:not(.button) { color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 31px; }
.section-head h2 { max-width: 700px; margin-bottom: 0; }
.section-head > p, .section-head > .intro { max-width: 430px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 26px; }
.section-head > .text-link { flex-shrink: 0; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.four-col { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 40px; align-items: start; }
.content-main, .sidebar { min-width: 0; }
.content-main > section + section, .sidebar > * + * { margin-top: 32px; }
.sticky-panel { position: sticky; top: 91px; }
.panel { padding: 29px; background: var(--white); border: 1px solid var(--gobpe-border-color); border-radius: var(--radius); }
.panel + .panel { margin-top: 22px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 17px; margin-bottom: 18px; }
.panel-heading h2, .panel-heading h3 { margin-bottom: 0; }
.notice { display: flex; align-items: flex-start; gap: 12px; margin: 23px 0; padding: 17px 21px; border-left: 4px solid var(--gobpe-link-color); background: var(--blue-pale); font-size: 14px; line-height: 23px; }
.notice .icon { color: var(--gobpe-link-color); margin-top: 1px; width: 22px; height: 22px; }
.notice > div { min-width: 0; }
.notice p { margin-bottom: 7px; }
.notice strong { color: var(--gobpe-text-color); }
.notice-warning { border-color: #c69810; background: var(--amber-pale); }
.notice-warning .icon { color: var(--amber); }
.notice-info { border-color: var(--gobpe-link-color); background: var(--blue-pale); }
.notice:first-child { margin-top: 0; }
.rule-list { margin: 0; padding: 0; list-style: none; }
.rule-list li { padding: 16px 0; margin: 0; border-bottom: 1px solid var(--gobpe-border-color); }
.rule-list li:first-child { padding-top: 0; }
.rule-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.rule-list strong { display: block; margin-bottom: 5px; color: var(--ink); }
.flow-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 24px 0 0; list-style: none; counter-reset: flow; }
.flow-list li { position: relative; padding-top: 52px; margin: 0; counter-increment: flow; font-size: 14px; line-height: 23px; color: var(--muted); }
.flow-list li::before { content: counter(flow, decimal-leading-zero); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--gobpe-border-color); color: var(--gobpe-link-color); background: var(--white); border-radius: 50%; font-weight: 700; }
.flow-list li::after { content: ""; position: absolute; top: 17px; left: 48px; right: 0; height: 1px; background: var(--gobpe-border-color); }
.flow-list li:last-child::after { display: none; }
.flow-list strong { display: block; margin-bottom: 7px; font-size: 16px; line-height: 23px; color: var(--ink); }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; margin-bottom: 12px; border-radius: 3px; background: #edf0f4; color: var(--muted); font-size: 11px; line-height: 17px; font-weight: 700; letter-spacing: .2px; }
.tag-green { color: var(--green); background: var(--green-pale); }
.tag-blue { color: var(--gobpe-link-color); background: var(--blue-pale); }
.tag-amber { color: var(--amber); background: var(--amber-pale); }
.stat { font-size: 32px; line-height: 1.15; color: var(--ink); font-weight: 700; }

/* Three visitor paths */
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.profile-card { position: relative; display: flex; flex-direction: column; min-height: 255px; padding: 27px 28px 25px; border: 1px solid var(--gobpe-border-color); border-top: 3px solid var(--gobpe-link-color); border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--gobpe-text-color); transition: border-color .16s, box-shadow .16s, transform .16s; }
.profile-card:hover { color: var(--gobpe-text-color); border-color: var(--gobpe-link-color); box-shadow: var(--shadow); transform: translateY(-3px); }
.profile-card:nth-child(2) { border-top-color: var(--gobpe-brand-color); }
.profile-card:nth-child(3) { border-top-color: var(--green); }
.profile-number { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; font-size: 12px; line-height: 20px; letter-spacing: .8px; color: var(--muted); font-weight: 700; }
.profile-number .icon { width: 25px; height: 25px; color: var(--gobpe-link-color); }
.profile-title, .profile-card h3 { font-size: 23px; line-height: 29px; margin-bottom: 12px; font-weight: 700; }
.profile-description, .profile-card p { margin-bottom: 24px; color: var(--muted); font-size: 15px; line-height: 24px; }
.profile-arrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; color: var(--gobpe-link-color); font-size: 14px; font-weight: 700; }
.profile-card:hover .profile-arrow { text-decoration: underline; }

/* Official links */
.source-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.source-card { display: flex; flex-direction: column; padding: 23px 22px; border: 1px solid var(--gobpe-border-color); border-radius: var(--radius); background: var(--white); color: var(--gobpe-text-color); text-decoration: none; transition: border-color .16s; }
.source-card:hover { border-color: var(--gobpe-link-color); color: var(--gobpe-text-color); }
.source-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; background: var(--gobpe-background-alt); border-radius: var(--radius); color: var(--gobpe-link-color); }
.source-card h3 { margin-bottom: 9px; font-size: 19px; line-height: 26px; }
.source-card p { margin-bottom: 17px; color: var(--muted); font-size: 14px; line-height: 23px; }
.source-card small { margin-bottom: 6px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.source-card .text-link { margin-top: auto; font-size: 14px; }
.source-card:hover .text-link { text-decoration: underline; }

/* Team and public action */
.team-band { padding: 37px 40px; border-left: 4px solid var(--gobpe-brand-color); background: var(--gobpe-background-alt); border-radius: 0 var(--radius) var(--radius) 0; }
.team-summary { max-width: 900px; }
.team-summary h3 { font-size: 26px; line-height: 34px; max-width: 800px; }
.team-summary p { max-width: 850px; color: var(--muted); }
.team-coordination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 25px; margin-top: 25px; border-top: 1px solid var(--gobpe-border-color); }
.team-coordination > div { min-width: 0; }
.team-coordination span, .team-coordination small { display: block; color: var(--muted); font-size: 12px; line-height: 20px; margin-bottom: 5px; }
.team-coordination strong { display: block; color: var(--ink); font-size: 19px; line-height: 27px; }
.team-coordination p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 22px; }
.team-members { margin-top: 29px; }
.team-members details { border-top: 1px solid var(--gobpe-border-color); }
.team-members details:last-child { border-bottom: 1px solid var(--gobpe-border-color); }
.team-members summary { font-size: 15px; }
.team-members summary strong { display: inline-block; min-width: 80px; color: var(--ink); }
.team-members .details-body { max-width: 880px; }
.agenda-list { margin: 0; padding: 0; list-style: none; }
.agenda-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; margin: 0; padding: 26px 0; border-top: 1px solid var(--gobpe-border-color); }
.agenda-item:last-child { border-bottom: 1px solid var(--gobpe-border-color); }
.agenda-index { color: var(--gobpe-brand-color); font-size: 25px; font-weight: 700; line-height: 30px; }
.agenda-item h3 { margin-bottom: 8px; font-size: 21px; line-height: 28px; }
.agenda-item p { max-width: 850px; color: var(--muted); font-size: 15px; line-height: 25px; }

/* Filters and resource library */
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 28px; }
.filter-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 9px 15px; background: var(--white); border: 1px solid #c5cdda; border-radius: 3px; color: var(--gobpe-text-color); font-size: 14px; line-height: 22px; font-weight: 500; text-decoration: none; }
.filter-chip:hover { border-color: var(--gobpe-link-color); color: var(--gobpe-link-color); }
.filter-chip.active, .filter-chip[aria-pressed="true"], .filter-chip[aria-selected="true"] { background: var(--gobpe-link-color); border-color: var(--gobpe-link-color); color: var(--white); }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 26px; }
.toolbar .filter-bar { margin: 0; }
.search-field { position: relative; min-width: 250px; max-width: 420px; flex: 1; }
.search-field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 500; }
.search-field input { width: 100%; min-height: 46px; padding: 10px 15px; border: 1px solid #979fa8; border-radius: var(--radius); background: var(--white); }
.search-field .icon { position: absolute; right: 13px; bottom: 12px; width: 21px; height: 21px; color: var(--muted); pointer-events: none; }
.search-field:has(.icon) input { padding-right: 43px; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.resource-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--gobpe-border-color); background: var(--white); border-radius: var(--radius); }
.resource-cover { display: block; overflow: hidden; position: relative; background: #edf1f3; border-bottom: 1px solid var(--gobpe-border-color); }
.resource-cover img { width: 100%; height: 215px; object-fit: cover; object-position: center top; transition: transform .22s; }
a.resource-cover:hover img { transform: scale(1.025); }
.resource-cover .tag { position: absolute; bottom: 11px; left: 13px; margin: 0; background: var(--white); }
.resource-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 23px 24px 24px; }
.resource-body h3 { font-size: 21px; line-height: 28px; margin-bottom: 9px; }
.resource-body > p { font-size: 14px; line-height: 23px; color: var(--muted); margin-bottom: 20px; }
.resource-body .tag { align-self: flex-start; }
.resource-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; margin-top: auto; padding-top: 3px; }
.resource-actions .button { min-height: 42px; padding: 8px 12px; font-size: 13px; line-height: 20px; }
.resource-actions .text-link { font-size: 13px; min-height: 42px; }
.video-card { overflow: hidden; background: var(--white); border: 1px solid var(--gobpe-border-color); border-radius: var(--radius); }
.video-card video { display: block; width: 100%; max-height: 460px; aspect-ratio: 16 / 9; background: #101c28; object-fit: contain; }
.video-caption { padding: 23px 25px; }
.video-caption h3 { margin-bottom: 10px; font-size: 23px; line-height: 30px; }
.video-caption p { color: var(--muted); font-size: 14px; line-height: 23px; }
.transcript { margin-top: 19px; border-top: 1px solid var(--gobpe-border-color); }
.transcript .details-body { white-space: pre-line; max-height: 330px; overflow-y: auto; padding-right: 16px; font-size: 14px; line-height: 25px; }
.no-results, .empty-state { padding: 32px; border: 1px solid var(--gobpe-border-color); border-radius: var(--radius); background: var(--gobpe-background-alt); color: var(--muted); text-align: center; }
.no-results h3, .empty-state h3 { color: var(--gobpe-text-color); font-size: 21px; }

/* Location selectors and directory */
.location-panel { padding: 29px 32px; background: var(--gobpe-background-alt); border: 1px solid var(--gobpe-border-color); border-top: 3px solid var(--gobpe-link-color); border-radius: var(--radius); }
.location-panel h2, .location-panel h3 { margin-bottom: 10px; }
.location-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; margin: 22px 0; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; line-height: 22px; font-weight: 700; }
.field label span { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; background: var(--white); border: 1px solid #858d98; border-radius: 3px; font-size: 15px; line-height: 24px; }
.field select { padding-right: 31px; }
.field textarea { min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gobpe-link-color); }
.field input:disabled, .field select:disabled { background: #edf0f4; color: #656a75; border-color: #c5cdda; cursor: not-allowed; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--gobpe-brand-color); box-shadow: inset 0 0 0 1px var(--gobpe-brand-color); }
.field-help { display: block; margin-top: 7px; font-size: 12px; line-height: 20px; }
.status-message, .form-status { margin-top: 14px; font-size: 14px; line-height: 23px; color: var(--ink); }
.status-message:empty, .form-status:empty { display: none; }
.status-message.error, .form-status.error { color: var(--gobpe-brand-color); }
.status-message.success, .form-status.success { color: var(--green); }
.directory-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 27px 0 19px; font-size: 14px; line-height: 23px; color: var(--muted); }
.directory-summary h3 { margin: 0; color: var(--ink); font-size: 22px; line-height: 29px; }
.directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-card { display: flex; flex-direction: column; min-width: 0; padding: 25px 26px; border: 1px solid var(--gobpe-border-color); border-radius: var(--radius); background: var(--white); }
.contact-type { display: block; margin-bottom: 9px; color: var(--gobpe-link-color); font-size: 11px; font-weight: 700; line-height: 18px; letter-spacing: .8px; text-transform: uppercase; }
.contact-title, .contact-card h3, .contact-card h4 { margin-bottom: 12px; color: var(--ink); font-size: 20px; line-height: 27px; }
.contact-meta { color: var(--muted); font-size: 13px; line-height: 22px; }
.contact-meta p, .contact-card > p { margin-bottom: 9px; }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 17px; }
.contact-links a { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 22px; font-weight: 700; }
.contact-links .button { min-height: 42px; padding: 8px 12px; font-size: 13px; }
.contact-card .small { margin-top: 15px; padding-top: 12px; border-top: 1px solid #edf0f4; color: var(--muted); }
.coverage-note { margin-top: 18px; padding: 13px 17px; border-left: 3px solid #a6bdce; background: var(--gobpe-background-alt); color: var(--muted); font-size: 12px; line-height: 21px; }

/* Assistance and contact forms */
.assist-banner { display: grid; grid-template-columns: minmax(0, 1fr) 155px; gap: 31px; align-items: center; padding: 31px 34px; background: var(--blue-pale); border-left: 4px solid var(--gobpe-link-color); border-radius: 0 var(--radius) var(--radius) 0; }
.assist-banner h2, .assist-banner h3 { font-size: 25px; line-height: 32px; margin-bottom: 12px; }
.assist-banner p { font-size: 15px; line-height: 24px; color: var(--muted); }
.assist-banner .button { margin-top: 8px; }
.qr-block { margin: 0; text-align: center; }
.qr-block img { width: 150px; height: 150px; margin-inline: auto; padding: 5px; object-fit: contain; background: var(--white); }
.qr-block figcaption, .qr-block p { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 18px; }
.form-card { padding: 32px; border: 1px solid var(--gobpe-border-color); border-radius: var(--radius); background: var(--white); }
.form-card h2, .form-card h3 { font-size: 25px; line-height: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.field-full { grid-column: 1 / -1; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 23px; }
.checkbox-field input { width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--gobpe-link-color); flex-shrink: 0; }
.checkbox-field label { font-weight: 400; margin: 0; }
.form-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.request-preview { margin-top: 24px; padding: 21px; border: 1px solid #b4c7d7; border-radius: var(--radius); background: var(--gobpe-background-alt); white-space: pre-wrap; font-size: 13px; line-height: 23px; overflow-wrap: anywhere; }
.request-preview h3 { font-size: 19px; }

/* Local regional map */
.map-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .9fr); gap: 32px; align-items: start; }
.map-stage { position: relative; min-height: 480px; padding: 22px; overflow: hidden; border: 1px solid var(--gobpe-border-color); border-radius: var(--radius); background: #edf4f8; }
.map-stage > svg, .map-svg { display: block; width: 100%; height: 540px; max-height: 65vh; margin: auto; }
.map-region { fill: #d0e0ea; stroke: var(--white); stroke-width: 1.1; cursor: pointer; transition: fill .15s; vector-effect: non-scaling-stroke; }
.map-region:hover { fill: #73a5cc; }
.map-region.selected, .map-region[aria-pressed="true"] { fill: var(--gobpe-link-color); stroke: var(--ink); stroke-width: 1.5; }
.map-region:focus-visible { fill: #ffd147; outline: none; stroke: var(--gobpe-text-color); stroke-width: 2; }
.map-sidebar { min-width: 0; padding: 29px; background: var(--white); border: 1px solid var(--gobpe-border-color); border-top: 3px solid var(--gobpe-link-color); border-radius: var(--radius); }
.map-sidebar h2, .map-sidebar h3 { font-size: 24px; line-height: 31px; margin-bottom: 15px; }
.map-sidebar .source-grid { grid-template-columns: 1fr; }
.map-sidebar .source-card { padding: 19px 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--gobpe-border-color); }
.map-sidebar .source-card:last-child { border-bottom: 0; padding-bottom: 0; }
.map-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; align-items: center; }
.map-tools .button { min-height: 43px; padding: 9px 14px; font-size: 13px; }
.map-stage iframe { width: 100%; height: 600px; border: 0; display: block; background: var(--white); }

/* Publications */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.news-card { display: flex; flex-direction: column; min-width: 0; padding: 27px 26px; border: 1px solid var(--gobpe-border-color); border-radius: var(--radius); background: var(--white); }
.news-card > img { width: calc(100% + 52px); max-width: none; height: 180px; object-fit: cover; margin: -27px -26px 23px; }
.news-meta { display: flex; flex-wrap: wrap; gap: 7px 10px; align-items: center; margin-bottom: 15px; color: var(--muted); font-size: 11px; line-height: 18px; }
.news-meta .tag { margin-bottom: 0; }
.news-title, .news-card h3 { margin-bottom: 12px; font-size: 21px; line-height: 28px; color: var(--ink); }
.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { color: var(--gobpe-link-color); text-decoration: underline; }
.news-summary { color: var(--muted); font-size: 14px; line-height: 24px; margin-bottom: 23px; }
.news-card .text-link { margin-top: auto; font-size: 13px; }

/* Emergency numbers: one consistent treatment */
.emergency-strip { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, .8fr)); background: var(--white); border: 1px solid var(--gobpe-border-color); border-top: 3px solid var(--gobpe-brand-color); border-radius: var(--radius); }
.emergency-item { padding: 24px 25px; display: flex; align-items: center; gap: 16px; color: var(--gobpe-text-color); text-decoration: none; }
.emergency-item { border-left: 1px solid var(--gobpe-border-color); }
.emergency-item:hover { background: var(--gobpe-background-alt); color: var(--gobpe-text-color); }
.phone-number { color: var(--gobpe-brand-color); font-size: 35px; font-weight: 700; line-height: 43px; }
.emergency-item strong:not(.phone-number) { font-size: 14px; line-height: 22px; }
.emergency-item small { display: block; color: var(--muted); font-size: 11px; line-height: 18px; }

/* Disclosures */
details { min-width: 0; }
summary { position: relative; min-height: 52px; padding: 18px 35px 18px 0; font-weight: 700; cursor: pointer; list-style: none; line-height: 25px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 3px; top: 15px; font-size: 26px; line-height: 28px; font-weight: 400; color: var(--gobpe-link-color); }
details[open] > summary::after { content: "−"; }
summary:hover { color: var(--gobpe-link-color); }
.details-body { padding: 0 28px 20px 0; color: var(--muted); font-size: 15px; line-height: 25px; }
.details-body a { font-weight: 500; }
.details-body ul, .details-body ol { margin-top: 0; }
.accordion details { border-top: 1px solid var(--gobpe-border-color); }
.accordion details:last-child { border-bottom: 1px solid var(--gobpe-border-color); }
.accordion summary { font-size: 16px; }

/* Source documentation */
.source-list { padding-left: 22px; margin: 0; }
.source-list li { padding: 8px 0; margin: 0; color: var(--muted); font-size: 14px; line-height: 24px; }
.source-list a { font-weight: 500; }
.source-list small { display: block; margin-top: 4px; }
.sources-table { width: 100%; border-collapse: collapse; margin-top: 23px; font-size: 14px; line-height: 23px; }
.sources-table th, .sources-table td { padding: 15px 17px; text-align: left; vertical-align: top; border: 1px solid var(--gobpe-border-color); }
.sources-table th { background: var(--gobpe-background-alt); color: var(--ink); font-weight: 700; }
.sources-table td { color: var(--muted); }

/* Modal media and resource detail */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: center; padding: 28px; }
dialog.modal { margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; background: transparent; }
dialog.modal::backdrop { background: rgb(12 27 40 / 75%); }
dialog.modal:not([open]) { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgb(12 27 40 / 75%); }
.modal-panel { position: relative; z-index: 1; width: min(940px, 100%); max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); overflow: auto; padding: 33px; background: var(--white); border-radius: 5px; box-shadow: 0 15px 70px rgb(0 0 0 / 22%); }
.modal-panel h2 { padding-right: 40px; font-size: 27px; line-height: 35px; }
.modal-close { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px; background: var(--gobpe-background-alt); color: var(--ink); border: 1px solid var(--gobpe-border-color); border-radius: 3px; font-size: 24px; line-height: 1; }
.modal-close:hover { background: var(--blue-pale); }
.modal-content video { display: block; width: 100%; max-height: 60vh; aspect-ratio: 16 / 9; background: #101c28; }
.modal-content iframe { width: 100%; height: 65vh; border: 1px solid var(--gobpe-border-color); }
.modal-content .resource-actions { margin-top: 22px; }
.modal-content .two-col { margin-top: 25px; }

/* Footer */
.site-footer { padding-top: 43px; background: var(--gobpe-text-color); color: var(--white); border-top: 4px solid var(--gobpe-brand-color); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; padding-bottom: 35px; }
.footer-grid h2, .footer-grid h3, .footer-grid h4 { color: var(--white); font-size: 16px; line-height: 24px; margin-bottom: 15px; }
.footer-grid > div > img { width: 260px; max-height: 70px; object-fit: contain; object-position: left center; margin-bottom: 20px; }
.footer-grid p { color: #e0e3e7; font-size: 13px; line-height: 23px; max-width: 330px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links a, .site-footer a { color: var(--white); font-size: 13px; line-height: 23px; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 25px; padding-block: 20px; border-top: 1px solid #505359; color: #d7dbe0; font-size: 11px; line-height: 20px; }
.footer-bottom p { margin: 0; }
.back-top { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 700; }

/* Integration with the final document structure */
.reading-width { max-width: 800px; }
.reading-width h2 { margin-top: 34px; font-size: 25px; line-height: 33px; }
.reading-width h2:first-child { margin-top: 0; }
.reading-width p { color: var(--muted); }
.compact-panels { margin-top: 25px; }
.linked-panel { display: flex; flex-direction: column; color: var(--gobpe-text-color); text-decoration: none; }
.linked-panel p { color: var(--muted); }
.linked-panel:hover { color: var(--gobpe-text-color); border-color: var(--gobpe-link-color); }
.linked-panel .text-link { margin-top: auto; }
.linked-panel:hover .text-link { text-decoration: underline; }
.system-pcm { margin-bottom: 23px; border-left: 4px solid var(--gobpe-link-color); background: var(--blue-pale); }
.system-pcm h3 { font-size: 24px; line-height: 31px; }
.science-links { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 7px; }
.science-links a { min-height: 33px; display: inline-flex; align-items: center; font-size: 14px; line-height: 23px; font-weight: 700; }
.profile-card > .icon { position: absolute; right: 26px; top: 25px; width: 32px; height: 32px; color: var(--gobpe-link-color); }
.profile-card:nth-child(2) > .icon { color: var(--gobpe-brand-color); }
.profile-card:nth-child(3) > .icon { color: var(--green); }
.source-card > .small { display: block; color: var(--muted); font-size: 10px; line-height: 17px; letter-spacing: .65px; font-weight: 700; margin-bottom: 7px; }
.agenda-list { margin-top: 34px; margin-bottom: 22px; }
.flow-list + p { margin-top: 21px; }
.emergency-strip > div { padding: 23px 25px; background: #fdf7f7; }
.emergency-strip > div > strong { display: block; font-size: 15px; line-height: 24px; margin-bottom: 5px; }
.emergency-strip > div > span { display: block; max-width: 260px; color: var(--muted); font-size: 12px; line-height: 21px; }
.emergency-strip + .section-head { margin-top: 38px; }
.three-col + .emergency-strip { margin-top: 28px; }
.section .emergency-item { font-size: 14px; line-height: 22px; }
.location-panel .panel-heading > .button { flex-shrink: 0; margin-top: 3px; }
.location-panel .panel-heading > div > p { font-size: 14px; line-height: 23px; }
.two-col + .location-panel { margin-top: 29px; }
.location-panel + .small { margin-top: 18px; }
.directory-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.directory-actions:empty { display: none; }
.coverage-note > summary { min-height: 43px; padding-block: 8px; font-size: 12px; line-height: 22px; }
.coverage-note > summary::after { top: 4px; font-size: 23px; }
.coverage-note > p { margin-block: 8px 13px; font-size: 12px; line-height: 21px; }
.contact-email { display: block; margin-bottom: 20px; font-size: 14px; line-height: 24px; overflow-wrap: anywhere; }
.iperu-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 30px; margin-top: 28px; }
.iperu-panel h3 { font-size: 21px; line-height: 29px; }
.iperu-panel p { font-size: 14px; line-height: 23px; color: var(--muted); }
.iperu-panel > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.iperu-panel > div:last-child > a:not(.button) { font-size: 14px; }
.form-card > .checkbox-field { margin-top: 24px; }
.request-preview pre { font-family: inherit; font-size: 13px; line-height: 23px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 17px 0; }
.map-stage .map-tools:first-child { margin-top: 0; margin-bottom: 18px; justify-content: space-between; }
.map-stage .map-tools .tag { margin: 0; }
#territory-map .fen-region-map { height: 540px !important; max-height: none !important; }
.map-caption { padding-top: 14px; border-top: 1px solid #d2e0e9; font-size: 11px; line-height: 19px; }
#map-region-details { margin-top: 25px; }
#map-region-details h2 { margin-bottom: 12px; }
.map-official-links { margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--gobpe-border-color); display: flex; flex-direction: column; gap: 10px; }
.map-official-links a { display: inline-flex; align-items: center; min-height: 35px; font-size: 13px; line-height: 22px; font-weight: 500; }
#integrated-map { margin-top: 30px; }
#integrated-map iframe { display: block; width: 100%; height: 650px; border: 1px solid var(--gobpe-border-color); border-radius: var(--radius); }
.noscript-note { padding-block: 18px; font-size: 13px; line-height: 23px; }
.resource-grid.resource-single { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
.resource-single .resource-cover img { height: 420px; object-fit: contain; }
.featured-resource { margin-bottom: 30px; }
.featured-resource > h3 { margin-bottom: 23px; font-size: 25px; line-height: 32px; }
.featured-resource .panel h4 { margin-bottom: 12px; color: var(--ink); font-size: 18px; }
.featured-resource .panel ul, .featured-resource .panel ol { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 24px; }
.featured-resource .panel li + li { margin-top: 12px; }
.modal-header { padding-right: 44px; margin-bottom: 23px; }
.modal-header h2 { padding-right: 0; margin-bottom: 0; }
.modal-content > video { width: 100%; max-height: 60vh; object-fit: contain; }
.modal-content > video.video-vertical {
  width: auto;
  max-width: 100%;
  height: 70vh;
  height: 70dvh;
  max-height: 70vh;
  max-height: 70dvh;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  object-fit: contain;
}
.modal-content > p { margin-top: 15px; font-size: 13px; line-height: 22px; color: var(--muted); }
.footer-grid img.footer-logo { background: var(--white); padding: 10px 13px; max-height: none; width: 270px; }
.source-list.container { padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 50px; }
.source-list.container > section { min-width: 0; }
.source-list.container h2 { margin-bottom: 18px; font-size: 23px; line-height: 30px; }
.source-list.container ul { margin: 0; padding-left: 20px; }
.source-list.container p { font-size: 14px; line-height: 24px; color: var(--muted); }

/* Local publication editor: supplements its component styles without changing public pages. */
body[data-page="editor"] .editor-workspace > *,
body[data-page="editor"] .editor-layout-title > * { min-width: 0; }
body[data-page="editor"] .editor-entry,
body[data-page="editor"] .editor-state,
body[data-page="editor"] .editor-source-note { overflow-wrap: anywhere; }
body[data-page="editor"] .editor-list { padding: 5px; margin-inline: -5px; scrollbar-gutter: stable; }
body[data-page="editor"] .editor-entry { min-height: 60px; }
body[data-page="editor"] .editor-profile-options label { min-height: 44px; cursor: pointer; }
body[data-page="editor"] .editor-profile-options input { flex-shrink: 0; margin: 0; }
body[data-page="editor"] .field label .editor-required { color: var(--gobpe-brand-color); font-weight: 700; }
body[data-page="editor"] .editor-preview .tag { align-self: flex-start; }
body[data-page="editor"] .editor-preview .news-card > p:not(.small) { font-size: 14px; line-height: 24px; color: var(--muted); }
body[data-page="editor"] .editor-import input[type="file"] { max-width: 100%; overflow: hidden; font-size: 14px; }
body[data-page="editor"] .editor-import input[type="file"]::file-selector-button { min-height: 34px; padding: 6px 11px; margin-right: 12px; border: 1px solid var(--gobpe-link-color); border-radius: 3px; background: var(--white); color: var(--gobpe-link-color); font: inherit; font-weight: 500; cursor: pointer; }
body[data-page="editor"] .editor-layout-title .tag { flex-shrink: 0; }
body[data-page="editor"] .editor-destructive:hover { color: #8b0808 !important; border-color: #8b0808 !important; }

/* Tablet */
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 13px; }
  .brand-row { gap: 23px; }
  .header-tools { gap: 16px; }
  .header-tools a { font-size: 13px; }
  .brand-mincetur img { width: 250px; }
  .brand-peru img, img.brand-peru { width: 140px; }
  .hero-grid { gap: 38px; }
  .hero h1 { font-size: 38px; }
  .hero-visual img { height: 375px; }
  .section-head { gap: 30px; }
  .profile-card { padding: 25px 23px; }
  .profile-title, .profile-card h3 { font-size: 21px; }
  .source-card { padding: 22px 19px; }
  .resource-grid, .news-grid { gap: 21px; }
  .resource-body { padding: 21px; }
  .resource-body h3 { font-size: 20px; }
  .resource-cover img { height: 190px; }
  .page-grid { gap: 28px; }
  .map-layout { gap: 26px; }
  .map-sidebar { padding: 25px; }
  .emergency-item { gap: 12px; padding: 22px 19px; }
  .phone-number { font-size: 31px; }
  .footer-grid { gap: 35px; }
}

@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .brand-row { min-height: 92px; gap: 21px; }
  .brand-mincetur img { width: 225px; }
  .brand-peru img, img.brand-peru { width: 126px; }
  .header-tools a { max-width: 145px; }
  .header-tools a .icon { display: none; }
  .nav-links { gap: 18px; min-height: 58px; }
  .nav-links a { min-height: 58px; font-size: 12px; padding-block: 15px 12px; }
  .hero { padding-block: 33px 38px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: 35px; line-height: 1.15; }
  .hero-lead { font-size: 18px; line-height: 29px; }
  .hero-copy > p:not(.eyebrow):not(.hero-lead) { font-size: 15px; line-height: 24px; }
  .hero-actions { gap: 10px; margin-top: 23px; }
  .hero-actions .button { width: 100%; font-size: 14px; }
  .hero-visual img { height: 400px; }
  .section { padding-block: 53px; }
  .section-head { align-items: flex-start; gap: 25px; }
  .section-head > p, .section-head > .intro { max-width: 350px; font-size: 15px; line-height: 24px; }
  .section-head h2 { font-size: 28px; line-height: 35px; }
  .profile-grid { gap: 16px; }
  .profile-card { padding: 23px 21px; }
  .profile-title, .profile-card h3 { font-size: 20px; line-height: 27px; }
  .profile-description, .profile-card p { font-size: 14px; line-height: 23px; }
  .profile-arrow { font-size: 13px; }
  .source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .source-card { padding: 25px; }
  .source-card h3 { font-size: 21px; }
  .four-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-grid { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
  .sidebar > * + * { margin-top: 0; }
  .sticky-panel { position: static; }
  .team-band { padding: 30px 31px; }
  .resource-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-cover img { height: 215px; }
  .resource-body { padding: 23px; }
  .location-panel { padding: 26px; }
  .location-grid { gap: 14px; }
  .field select { font-size: 14px; }
  .directory-grid { gap: 18px; }
  .contact-card { padding: 23px; }
  .contact-title, .contact-card h3, .contact-card h4 { font-size: 19px; }
  .assist-banner { padding: 27px; gap: 24px; }
  .map-layout { grid-template-columns: 1fr 1fr; gap: 22px; }
  .map-stage { padding: 15px; min-height: 450px; }
  .map-stage > svg, .map-svg { height: 490px; max-height: none; }
  .map-sidebar { padding: 23px; }
  .map-sidebar h2, .map-sidebar h3 { font-size: 22px; }
  .map-sidebar p { font-size: 14px; line-height: 23px; }
  .emergency-strip { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .8fr)); }
  .emergency-item { flex-direction: column; align-items: flex-start; gap: 7px; padding: 20px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 25px; }
  .footer-grid > div > img { max-width: 225px; }
}

/* Mobile */
@media (max-width: 700px) {
  html { scroll-padding-top: 20px; }
  .container { width: calc(100% - 40px); }
  .site-topline .container { min-height: 32px; gap: 14px; }
  .site-topline, .site-topline a { font-size: 10px; line-height: 18px; }
  .site-topline .container > :last-child { text-align: right; }
  .brand-row { min-height: 87px; gap: 17px; flex-wrap: wrap; padding-block: 14px; }
  .brand-mincetur img { width: 204px; max-height: 50px; }
  .brand-peru img, img.brand-peru { width: 113px; max-height: 53px; }
  .brand-divider { height: 37px; }
  .header-tools { margin-left: auto; }
  .header-tools > a { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; font-size: 13px; }
  .nav-bar { position: static; }
  .nav-links { flex-wrap: wrap; gap: 0 24px; padding-block: 9px; }
  .nav-links a { min-height: 46px; padding: 11px 0; font-size: 14px; line-height: 23px; border: 0; }
  .nav-links a.active, .nav-links a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
  html.js-ready .nav-bar .nav-links { display: none; }
  html.js-ready .nav-bar.is-open .nav-links { display: flex; }
  html:not(.js-ready) .menu-toggle { display: none; }
  .breadcrumb { padding: 13px 0; font-size: 12px; line-height: 19px; }
  .hero { padding: 27px 0 35px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 560px; font-size: 34px; line-height: 1.16; margin-bottom: 18px; }
  .hero-lead { max-width: 570px; font-size: 19px; line-height: 29px; }
  .hero-copy > p:not(.eyebrow):not(.hero-lead) { max-width: 570px; font-size: 16px; line-height: 26px; }
  .hero-actions { flex-direction: row; }
  .hero-actions .button { width: auto; }
  .hero-visual img { height: 265px; object-position: 50% center; }
  .hero-caption, .hero-visual figcaption { font-size: 11px; line-height: 18px; margin-top: 10px; }
  .hero-stats { padding-top: 19px; margin-top: 24px; gap: 16px; }
  .hero-stats strong { font-size: 19px; }
  .hero-stats span { font-size: 11px; line-height: 18px; }
  .page-intro { padding: 31px 0 32px; }
  .page-intro h1 { font-size: 30px; line-height: 36px; margin-bottom: 15px; }
  .page-intro .intro { font-size: 16px; line-height: 26px; }
  .eyebrow, .section-label { font-size: 11px; line-height: 18px; letter-spacing: 1.1px; margin-bottom: 11px; }
  .section { padding-block: 43px; scroll-margin-top: 15px; }
  .section-head { display: block; margin-bottom: 25px; }
  .section-head h2 { font-size: 26px; line-height: 33px; }
  .section-head > p, .section-head > .intro { max-width: 100%; margin-top: 15px; font-size: 15px; line-height: 25px; }
  .section-head > .text-link { margin-top: 16px; }
  h2 { font-size: 26px; line-height: 33px; }
  h3 { font-size: 21px; line-height: 28px; }
  .two-col, .three-col { grid-template-columns: 1fr; gap: 25px; }
  .four-col { gap: 18px; }
  .panel { padding: 24px; }
  .panel-heading { gap: 12px; }
  .notice { padding: 16px 17px; gap: 10px; font-size: 13px; line-height: 22px; }
  .notice .icon { width: 21px; height: 21px; }
  .profile-grid { grid-template-columns: 1fr; gap: 15px; }
  .profile-card { min-height: auto; padding: 23px 25px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; }
  .profile-number { margin-bottom: 13px; grid-column: 1 / -1; }
  .profile-title, .profile-card h3 { font-size: 22px; line-height: 29px; margin-bottom: 9px; grid-column: 1 / -1; }
  .profile-description, .profile-card p { margin-bottom: 17px; font-size: 14px; line-height: 23px; grid-column: 1 / -1; }
  .profile-arrow { grid-column: 1 / -1; font-size: 14px; }
  .source-grid { gap: 15px; }
  .source-card { padding: 22px; }
  .source-card h3 { font-size: 19px; line-height: 26px; }
  .source-card p { font-size: 13px; line-height: 22px; }
  .source-card .text-link { font-size: 13px; }
  .team-band { padding: 26px; }
  .team-summary h3 { font-size: 23px; line-height: 31px; }
  .team-summary p { font-size: 15px; line-height: 25px; }
  .team-coordination { gap: 19px; padding-top: 22px; margin-top: 22px; }
  .team-coordination strong { font-size: 17px; line-height: 25px; }
  .team-coordination p { font-size: 13px; line-height: 22px; }
  .team-members { margin-top: 24px; }
  .team-members summary { font-size: 14px; line-height: 23px; }
  .team-members summary strong { min-width: 70px; }
  .flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 24px; }
  .flow-list li:nth-child(even)::after { display: none; }
  .agenda-item { grid-template-columns: 38px minmax(0, 1fr); gap: 15px; padding: 23px 0; }
  .agenda-index { font-size: 22px; }
  .agenda-item h3 { font-size: 20px; line-height: 27px; }
  .agenda-item p { font-size: 14px; line-height: 24px; }
  .sidebar { display: block; }
  .sidebar > * + * { margin-top: 24px; }
  .toolbar { gap: 17px; }
  .search-field { flex-basis: 100%; max-width: none; }
  .filter-bar { gap: 8px; margin-block: 18px 23px; }
  .filter-chip { padding: 8px 12px; font-size: 13px; min-height: 42px; }
  .resource-grid, .news-grid { gap: 20px; }
  .resource-cover img { height: 185px; }
  .resource-body { padding: 21px; }
  .resource-body h3 { font-size: 19px; line-height: 26px; }
  .resource-body > p { font-size: 13px; line-height: 22px; }
  .resource-actions { gap: 5px 10px; }
  .resource-actions .button { font-size: 12px; }
  .video-caption { padding: 23px; }
  .video-caption h3 { font-size: 22px; }
  .location-panel { padding: 24px; }
  .location-grid { grid-template-columns: 1fr; gap: 18px; margin-block: 20px; }
  .field label { font-size: 14px; }
  .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { font-size: 16px; }
  .directory-grid { grid-template-columns: 1fr; gap: 18px; }
  .directory-summary { margin-top: 23px; gap: 10px; }
  .directory-summary h3 { font-size: 21px; }
  .contact-card { padding: 24px; }
  .contact-title, .contact-card h3, .contact-card h4 { font-size: 20px; }
  .assist-banner { padding: 26px; grid-template-columns: minmax(0, 1fr) 135px; gap: 22px; }
  .assist-banner h2, .assist-banner h3 { font-size: 22px; line-height: 29px; }
  .assist-banner p { font-size: 14px; line-height: 23px; }
  .qr-block img { width: 135px; height: 135px; }
  .form-card { padding: 26px; }
  .form-card h2, .form-card h3 { font-size: 23px; line-height: 30px; }
  .form-grid { grid-template-columns: 1fr; gap: 21px; margin-top: 23px; }
  .form-actions { gap: 10px; }
  .map-layout { grid-template-columns: 1fr; gap: 23px; }
  .map-stage { min-height: 420px; padding: 20px; }
  .map-stage > svg, .map-svg { height: 480px; max-height: 65vh; }
  .map-sidebar { padding: 25px; }
  .map-sidebar .source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; }
  .map-stage iframe { height: 500px; }
  .news-card { padding: 24px; }
  .news-title, .news-card h3 { font-size: 20px; line-height: 27px; }
  .news-card > img { width: calc(100% + 48px); margin: -24px -24px 21px; height: 165px; }
  .emergency-item { padding: 20px; }
  .emergency-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .emergency-strip > div { grid-column: 1 / -1; padding: 18px 22px; border-bottom: 1px solid var(--gobpe-border-color); }
  .emergency-strip > div > span { max-width: none; }
  .emergency-strip > .emergency-item:nth-child(2) { border-left: 0; }
  .emergency-item strong:not(.phone-number) { font-size: 13px; }
  .phone-number { font-size: 31px; }
  .details-body { font-size: 14px; line-height: 24px; padding-right: 15px; }
  .accordion summary { font-size: 15px; line-height: 24px; }
  .source-list li { font-size: 13px; line-height: 23px; }
  .sources-table { font-size: 12px; line-height: 21px; }
  .sources-table th, .sources-table td { padding: 11px; }
  .modal { padding: 16px; }
  .modal-panel { padding: 27px 23px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
  .modal-panel h2 { font-size: 23px; line-height: 30px; }
  .modal-close { top: 11px; right: 11px; }
  .modal-content .two-col { gap: 21px; }
  .site-footer { padding-top: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 27px; padding-bottom: 30px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > div > img { max-width: 235px; margin-bottom: 17px; }
  .footer-grid p { max-width: 500px; }
  .footer-grid h2, .footer-grid h3, .footer-grid h4 { font-size: 15px; }
  .footer-bottom { font-size: 10px; line-height: 18px; padding-block: 18px; }
  .source-list.container { grid-template-columns: 1fr; gap: 30px; }
  .source-list.container h2 { font-size: 22px; line-height: 29px; }
  .iperu-panel { grid-template-columns: 1fr; gap: 20px; }
  .location-panel .panel-heading { flex-direction: column; gap: 16px; }
  .location-panel .panel-heading > .button { align-self: flex-start; }
  #territory-map .fen-region-map { height: 450px !important; }
  #integrated-map iframe { height: 500px; }
  .reading-width h2 { font-size: 24px; line-height: 31px; }
}

@media (max-width: 600px) {
  .menu-toggle { min-width: 43px; padding-inline: 10px; font-size: 0; }
  .menu-toggle > span { font-size: 0; }
  .menu-toggle .icon { margin-left: 0; }
}

@media (max-width: 470px) {
  .container { width: calc(100% - 32px); }
  .site-topline .container { gap: 9px; }
  .site-topline .container > :last-child { max-width: 45%; }
  .brand-row { gap: 12px; min-height: 81px; padding-block: 15px; }
  .brand-mincetur img { width: 171px; max-height: 44px; }
  .brand-peru img, img.brand-peru { width: 88px; max-height: 46px; }
  .brand-divider { display: none; }
  .header-tools { gap: 0; }
  .menu-toggle { min-width: 41px; min-height: 41px; padding: 8px; font-size: 0; gap: 0; }
  .menu-toggle .icon { width: 21px; height: 21px; margin: 0; }
  .menu-toggle > span { font-size: 0; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 12px 2px; min-height: 47px; border-bottom: 1px solid #edf0f4; }
  .nav-links a:last-child { border-bottom: 0; }
  .hero { padding-block: 25px 30px; }
  .hero h1 { font-size: 32px; line-height: 37px; }
  .hero-lead { font-size: 18px; line-height: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-visual img { height: 220px; }
  .hero-stats { gap: 12px; }
  .hero-stats strong { font-size: 17px; line-height: 25px; }
  .hero-stats span { font-size: 10px; line-height: 17px; }
  .section { padding-block: 38px; }
  .section-head h2, h2 { font-size: 25px; line-height: 32px; }
  .section-head > p, .section-head > .intro { font-size: 14px; line-height: 24px; }
  .page-intro h1 { font-size: 29px; line-height: 35px; }
  .page-intro { padding-block: 27px; }
  .page-intro .intro { font-size: 15px; line-height: 25px; }
  .button { padding-inline: 16px; font-size: 14px; }
  .profile-card { padding: 22px; }
  .source-grid, .resource-grid, .news-grid, .four-col { grid-template-columns: 1fr; gap: 17px; }
  .source-card { position: relative; padding: 23px 23px 23px 82px; }
  .source-icon { position: absolute; top: 24px; left: 23px; width: 40px; height: 40px; margin-bottom: 0; }
  .source-card h3 { font-size: 20px; line-height: 27px; }
  .source-card p { font-size: 14px; line-height: 23px; }
  .source-card small { font-size: 10px; }
  .source-card .text-link { font-size: 14px; }
  .panel { padding: 23px; }
  .team-band { padding: 24px 22px; }
  .team-summary h3 { font-size: 22px; line-height: 29px; }
  .team-coordination { grid-template-columns: 1fr; gap: 18px; }
  .team-coordination > div + div { padding-top: 17px; border-top: 1px solid var(--gobpe-border-color); }
  .team-members summary strong { min-width: 0; display: block; margin-bottom: 4px; }
  .flow-list { gap: 25px 22px; }
  .flow-list li { font-size: 13px; line-height: 22px; }
  .flow-list strong { font-size: 15px; line-height: 23px; }
  .resource-cover img { height: 240px; }
  .resource-body { padding: 24px; }
  .resource-body h3 { font-size: 22px; line-height: 28px; }
  .resource-body > p { font-size: 14px; line-height: 23px; }
  .resource-actions .button { font-size: 13px; padding-inline: 14px; }
  .resource-actions .text-link { font-size: 13px; }
  .location-panel { padding: 23px 21px; }
  .directory-summary { align-items: flex-start; }
  .directory-summary h3 { font-size: 20px; line-height: 27px; }
  .contact-card { padding: 23px; }
  .assist-banner { grid-template-columns: 1fr; padding: 24px; gap: 23px; }
  .assist-banner .button { width: 100%; }
  .qr-block { padding-top: 19px; border-top: 1px solid #c5d6e0; }
  .qr-block img { width: 150px; height: 150px; }
  .qr-block figcaption, .qr-block p { max-width: 230px; margin-inline: auto; }
  .form-card { padding: 24px 21px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .request-preview { padding: 17px; font-size: 12px; line-height: 22px; }
  .map-stage { padding: 16px; min-height: 400px; }
  .map-stage > svg, .map-svg { height: 445px; max-height: 66vh; }
  .map-sidebar { padding: 24px; }
  .map-sidebar .source-grid { grid-template-columns: 1fr; }
  .map-sidebar .source-card { padding: 20px 0; }
  .map-sidebar .source-icon { position: static; margin-bottom: 14px; }
  .news-card { padding: 25px; }
  .news-title, .news-card h3 { font-size: 21px; line-height: 28px; }
  .news-card > img { width: calc(100% + 50px); margin: -25px -25px 22px; height: 195px; }
  .emergency-item { padding: 17px 12px; gap: 6px; }
  .phone-number { font-size: 29px; line-height: 37px; }
  .emergency-item strong:not(.phone-number) { font-size: 12px; line-height: 19px; }
  .emergency-item small { font-size: 10px; line-height: 16px; }
  .sources-table { display: block; overflow-x: auto; }
  .modal { padding: 9px; }
  .modal-panel { padding: 25px 19px; max-height: calc(100vh - 18px); max-height: calc(100dvh - 18px); }
  .modal-panel h2 { font-size: 22px; line-height: 29px; }
  .modal-close { top: 9px; right: 9px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 11px; }
  .resource-grid.resource-single { grid-template-columns: 1fr; }
  .resource-single .resource-cover img { height: 360px; }
  .map-stage .map-tools { gap: 8px; }
  .map-stage .map-tools .tag { font-size: 10px; padding: 4px 7px; }
  .map-stage .map-tools .button { font-size: 12px; padding-inline: 0; }
  #territory-map .fen-region-map { height: 410px !important; }
  .featured-resource > h3 { font-size: 22px; line-height: 29px; }
  .featured-resource .panel { padding: 23px; }
  .iperu-panel .button { width: 100%; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .profile-card:hover, a.resource-cover:hover img { transform: none; }
}

/* Print retains the information hierarchy while removing navigation controls. */
@media print {
  html { scroll-behavior: auto; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.45; }
  .container { width: 100%; max-width: none; }
  .site-topline, .nav-bar, .header-tools, .menu-toggle, .skip-link, .breadcrumb, .filter-bar, .toolbar, .modal, .back-top { display: none !important; }
  .site-header { border-bottom: 2px solid #bf0909; }
  .brand-row { min-height: 70px; padding-block: 10px; }
  .brand-mincetur img { width: 220px; }
  .brand-peru img, img.brand-peru { width: 115px; }
  .section { padding-block: 23px; }
  .hero, .page-intro { padding-block: 24px; background: #fff; }
  .hero-grid { gap: 25px; }
  .hero h1, .page-intro h1 { font-size: 25pt; }
  .hero-lead, .intro { font-size: 12pt; }
  .hero-visual img { height: 180px; }
  .hero-actions { display: none; }
  h2, .section-head h2 { font-size: 20pt; }
  h3 { font-size: 15pt; }
  .section-head { margin-bottom: 18px; }
  .page-grid, .map-layout, .two-col, .three-col { grid-template-columns: 1fr; gap: 22px; }
  .profile-grid, .source-grid, .resource-grid, .news-grid, .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .source-card, .resource-card, .profile-card, .contact-card, .news-card, .panel, .team-band, .assist-banner { break-inside: avoid; }
  .sticky-panel { position: static; }
  .flow-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .resource-cover img { height: 170px; }
  .resource-actions .button, .button { display: none; }
  .location-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .map-stage > svg, .map-svg { height: 380px; max-height: none; }
  .map-region { print-color-adjust: exact; }
  .video-card video { height: 180px; }
  details:not([open]) > *:not(summary) { display: block !important; }
  summary::after { display: none; }
  .details-body { padding-right: 0; }
  a { color: #000; }
  .section-ink { color: #000; background: #fff; }
  .section-ink .intro, .section-ink .muted, .section-ink .section-label { color: #000; }
  .site-footer { background: #fff; color: #000; border-top: 2px solid #bbb; padding-top: 22px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
  .footer-grid h2, .footer-grid h3, .footer-grid h4, .footer-grid p, .site-footer a, .footer-bottom { color: #000; }
  .footer-bottom { border-top-color: #bbb; }
}

/* Offline language selector. Scoped to the enhanced institutional header. */
.fen-language-control { display: flex; flex-direction: column; gap: 3px; flex: 0 0 auto; }
.fen-language-control label { color: #555869; font-size: 12px; line-height: 17px; font-weight: 600; }
.fen-language-control select { width: 136px; min-height: 44px; padding: 9px 28px 9px 12px; border: 1px solid #a7a9b2; border-radius: 5px; background-color: #fff; color: #26292e; font: inherit; font-size: 14px; cursor: pointer; }
.fen-language-control select:focus-visible { outline: 3px solid #0056ac; outline-offset: 3px; }
.fen-language-tools { min-width: 0; }
@media (max-width: 1000px) {
  .fen-language-header .brand-row { flex-wrap: wrap; padding-block: 13px; }
  .fen-language-tools { gap: 14px; }
}
@media (max-width: 700px) {
  .fen-language-tools { flex-basis: 100%; justify-content: space-between; gap: 14px; }
  .fen-language-control { flex-direction: row; align-items: center; gap: 10px; }
  .fen-language-control select { width: 133px; }
}
@media print { .fen-language-control { display: none !important; } }

/* Public directory schedule and contact fields. */
.contact-card .contact-schedule{margin:1rem 0;padding:.8rem 1rem;background:#f4f7fa;border-left:3px solid #0056ac;border-radius:0 5px 5px 0}
.contact-card .contact-schedule>div+div{margin-top:.65rem}
.contact-card .contact-schedule dt{font-size:.8rem;font-weight:700;color:#34445a}
.contact-card .contact-schedule dd{margin:.2rem 0 0;font-size:.9rem;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}
.contact-card .contact-phone{align-items:flex-start;min-height:44px}
.contact-card .contact-phone>span{display:flex;flex-direction:column;gap:.1rem}
.contact-card .contact-phone small{font-weight:400;font-size:.76rem;line-height:1.4}
.contact-card .contact-phone .contact-extension{font-weight:700}
.contact-card .contact-email{overflow-wrap:anywhere;word-break:break-word}

/* Créditos de la fotografía de portada. */
.hero-visual .photo-credit, .hero-visual .photo-context { display: block; }
.hero-visual figcaption a { overflow-wrap: anywhere; }

/* Navegación y acceso PCM — revisión 17 de noviembre de 2026. */
.nav-links { flex-wrap: wrap; column-gap: clamp(14px, 2vw, 28px); }
.nav-links a { white-space: normal; overflow-wrap: break-word; }
.source-card.source-card-pcm { grid-column: 1 / -1; display: flex; flex-direction: row; align-items: center; gap: 24px; padding: 24px; border-left: 4px solid var(--gobpe-brand-color); }
.source-card-pcm .source-icon { position: static; flex: 0 0 48px; margin: 0; }
.pcm-source-copy { flex: 1; min-width: 0; }
.pcm-source-copy > .small { display: block; margin-bottom: 6px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .6px; }
.source-card-pcm h3 { margin-bottom: 5px; }
.source-card-pcm p { margin-bottom: 0; max-width: 70ch; }
.source-card-pcm .text-link { margin: 0; flex-shrink: 0; }
@media (max-width: 600px) { .source-card.source-card-pcm { flex-wrap: wrap; gap: 16px; padding: 23px; } .pcm-source-copy { flex-basis: calc(100% - 72px); } .source-card-pcm .text-link { width: 100%; } }

/* Observatorio entry on the homepage — 25 November 2026. */
.section-data-entry .assist-banner{grid-template-columns:minmax(0,1fr) minmax(180px,auto)}
.section-data-entry .assist-banner>.button{white-space:normal;text-align:center;max-width:320px;min-height:48px}
@media(max-width:700px){.section-data-entry .assist-banner{grid-template-columns:minmax(0,1fr)}.section-data-entry .assist-banner>.button{width:100%;max-width:none}}

/* Direct access to each official tourist PDF edition. */
.resource-editions { margin: 0 0 1.5rem; }
.resource-editions-label { margin-bottom: .6rem; font-weight: 600; }
.resource-language-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.resource-language-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .45rem .75rem; border: 1px solid #c4ccdc; border-radius: .25rem; background: #fff; color: #2449a4; font-size: .9375rem; text-decoration: underline; text-underline-offset: .15em; }
.resource-language-link:hover { border-color: #2449a4; background: #eef3ff; }
.resource-language-link.is-current { border-color: #2449a4; background: #2449a4; color: #fff; font-weight: 600; }
.resource-language-link:focus-visible { outline: 3px solid #2449a4; outline-offset: 3px; }
