/* The shared frame belongs to one complete story or editorial block. */
#page-top {
  --pub-block-edge: rgb(56 80 96 / 12%);
  --pub-line: var(--pub-block-edge);
  --story-edge: var(--pub-block-edge);
  --story-radius: 16px;
  --story-shadow: 0 5px 16px rgb(24 55 66 / 5%);
  --action-ink: #112f74;
  --panel-radius: 20px;
  --panel-gutter: clamp(14px,2.4vw,36px);
  --panel-gap: clamp(16px,2vw,30px);
  --panel-shadow: 0 10px 28px -20px color-mix(in srgb,var(--pub-text) 34%,transparent);
}
.main-layout .publisher-panel {
  min-width: 0;
  padding: var(--panel-padding,var(--panel-gutter));
  border: 1px solid var(--pub-line); border-radius: var(--panel-radius);
  background: var(--pub-page); box-shadow: var(--panel-shadow);
}
.main-layout.is-home { padding-top: var(--panel-gap); }
.is-home .publisher-section { margin-block: 0 var(--panel-gap); }
.is-home .publisher-section:last-child { margin-bottom: 0; }
.publisher-header .submit-manuscript {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 9px 16px; border-radius: 10px;
  background: var(--action-ink); color: #fff; text-decoration: none;
  font: 650 15px/1.25 var(--pub-body);
  box-shadow: 0 5px 12px color-mix(in srgb,var(--action-ink) 13%,transparent);
}
.submit-manuscript { white-space: nowrap; }
.publisher-header .submit-manuscript:hover { background: color-mix(in srgb,var(--action-ink) 85%,black); text-decoration: none; }
.main-layout .story-link {
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 72px; aspect-ratio: 1; box-sizing: border-box; flex: none;
  padding: 5px; border: 2.5px solid var(--action-ink); border-radius: 50%;
  background: var(--pub-page,#fff); color: var(--action-ink);
  font: 600 14px/1.2 var(--pub-body); text-align: center; overflow-wrap: anywhere; text-decoration: none;
  box-shadow: 0 6px 12px -4px color-mix(in srgb,var(--action-ink) 22%,transparent);
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.main-layout .story-link:is(:hover,:focus-visible) {
  background: color-mix(in srgb,var(--action-ink) 5%,var(--pub-page,#fff)); text-decoration: none;
  box-shadow: 0 8px 14px -4px color-mix(in srgb,var(--action-ink) 28%,transparent);
}
.main-layout .story-link:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 3px; }
.submit-manuscript:active, .story-link:active { transform: translateY(1px); }
.masthead .menu-row { white-space: nowrap; }
.masthead .publisher-wordmark {
  display: block; color: var(--action-ink); font: 600 clamp(30px,2.5vw,40px)/1.12 var(--pub-heading);
}
.masthead .publisher-wordmark small {
  margin: 4px 0 0; color: var(--pub-text); font: 400 14px/1.25 var(--pub-heading); letter-spacing: .055em;
}
.masthead .publisher-mark:has(.publisher-wordmark):hover { text-decoration: none; }
.masthead .publisher-mark img {
  width: clamp(206px,16.5vw,246px); height: auto; max-width: 100%; max-height: 98px; object-fit: contain;
}
@media(max-width:600px) {
  .masthead .publisher-wordmark { text-align: center; }
  .masthead .publisher-mark img { width: clamp(196px,53.5vw,214px); max-height: 85px; }
}
.masthead .menu-row { font-size: clamp(16px, 1.12vw, 18px); font-weight: 550; }
.masthead .menu-row.is-current > :is(a, button) { text-decoration: underline; text-underline-offset: 6px; }
.masthead .menu-panel-trigger { display: inline-flex; align-items: center; gap: 6px; padding-inline: 0; font: inherit; }
.masthead .menu-portals, #publisher-mobile summary.menu-portals {
  display: flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
  min-block-size: 44px; padding: 8px 15px; border: 1px solid transparent; border-radius: 9px;
  background-color: var(--pub-hero-bg, #1a63a3); color: #fff; line-height: 1; cursor: pointer;
}
.masthead .menu-portals { font-size: 1.05em; font-weight: 500; }
/* Oswald's visible letters sit slightly below the centre of its line box. */
.menu-portals .menu-label { line-height: 1; transform: translateY(-.075em); }
.menu-portals :is(svg, img) { display: block; flex: none; }
.menu-portals .publisher-control-icon { filter: brightness(0) invert(1); }
.masthead .menu-portals:is(:hover, [aria-expanded="true"]), #publisher-mobile details[open] > summary.menu-portals {
  background-color: color-mix(in srgb, var(--pub-hero-bg, #1a63a3) 88%, #082844);
}
.masthead .menu-portals:focus-visible, #publisher-mobile summary.menu-portals:focus-visible {
  outline: 2px solid var(--pub-hero-bg, #1a63a3); outline-offset: 3px;
}
#publisher-mobile summary.menu-portals { margin-block: 5px; min-block-size: 48px; list-style: none; }
#publisher-mobile summary.menu-portals::after, #publisher-mobile summary.menu-portals::-webkit-details-marker { display: none; }
#publisher-mobile details[open] > .menu-portals :is(svg, img) { transform: rotate(180deg); }
.masthead .main-menu :is(a, button), #publisher-mobile nav :is(a, summary) {
  font-family: var(--pub-heading);
}
#mega-portals .mega-links a, #publisher-mobile details:has(> .menu-portals) a {
  font: 450 clamp(17px, 1vw, 18px)/1.5 var(--pub-heading);
}
#portals, #advertising-contact { scroll-margin-top: calc(var(--header-height, 90px) + 12px); }
.main-layout .publisher-search-result { margin-block: 12px; }
.publisher-search-result h2 { margin-top: 0; }
.header-tools [data-search-open], #publisher-search .search-close {
  border-color: var(--pub-hero-bg, #1a63a3); color: var(--action-ink);
}
#publisher-search {
  padding: 0; border: 0; overflow: visible; background: transparent; box-shadow: none;
}
#publisher-search .search-close {
  display: flex; align-items: center; justify-content: center; margin: 0 0 8px auto;
  width: 46px; height: 46px; border-radius: 50%; background: var(--pub-page, #fff);
  box-shadow: 0 3px 12px rgb(17 47 116 / 18%);
}
#publisher-search .search-panel {
  max-height: calc(100dvh - 86px); overflow: auto; padding: clamp(18px, 3vw, 26px);
  background: var(--pub-page, #fff); border: 1px solid var(--story-edge); border-radius: clamp(16px, 2vw, 24px);
  box-shadow: 0 20px 60px -16px rgb(17 47 116 / 30%);
}
.masthead .menu-row .submenu-arrow { min-width: 30px; min-height: 44px; justify-content: center; }
#publisher-mobile .mobile-section-row { position: relative; }
#publisher-mobile .mobile-section-row > a { position: absolute; inset: 0 48px auto 0; display: flex; align-items: center; min-height: 48px; font: 23px/1.3 var(--pub-heading); }
#publisher-mobile .mobile-section-row summary { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; margin-left: auto; list-style: none; }
#publisher-mobile .mobile-section-row summary::after, #publisher-mobile .mobile-section-row summary::-webkit-details-marker { display: none; }
#publisher-search::backdrop { background: rgb(13 35 68 / 38%); }
#publisher-search h2, .main-layout:has(.publisher-search-form) .internal-heading h1 {
  color: var(--action-ink);
}
:is(#publisher-search, .publisher-search-form) input[type=search] {
  border-radius: 9px; color: var(--pub-text); caret-color: var(--pub-hero-bg, #1a63a3);
}
:is(#publisher-search, .publisher-search-form) input[type=search]:focus {
  border-color: var(--pub-hero-bg, #1a63a3);
  outline: 2px solid var(--pub-hero-bg, #1a63a3); outline-offset: 2px;
}
#publisher-search .search-submit, .publisher-search-form button {
  min-height: 44px; border-color: var(--pub-hero-bg, #1a63a3); border-radius: 9px;
  background: var(--pub-hero-bg, #1a63a3); color: var(--pub-hero-ink, #fff);
  font-weight: 600;
}
#publisher-search .search-submit:hover, .publisher-search-form button:hover {
  background: color-mix(in srgb, var(--pub-hero-bg, #1a63a3) 85%, black);
}
#publisher-search a, .publisher-search-form label, .publisher-search-result h2 a { color: var(--action-ink); }
#publisher-search :is(a, button):focus-visible, .publisher-search-form button:focus-visible {
  outline-color: var(--pub-hero-bg, #1a63a3);
}
#publisher-results a:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--pub-hero-bg, #1a63a3) 5%, var(--pub-page)); }
@media(min-width:1281px) {
  #page-top { --publisher-content-width: min(1510px, calc(100% - 64px)); }
  .shell.masthead, .publisher-main-frame .main-layout { width: var(--publisher-content-width); }
  .masthead .mega-panel { width: calc(var(--publisher-content-width) + 24px); }
  .masthead { grid-template-columns: max-content minmax(0,1fr) max-content; min-height: 80px; }
  .masthead .main-menu { gap: 0 clamp(8px,1.2vw,24px); }
  .masthead .main-menu:has(> li:nth-child(5):last-child) {
    display: grid; align-items: center; justify-items: center;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) max-content minmax(0, 1.5fr) minmax(0, 1.1fr);
    max-width: 880px; margin-inline: auto;
  }
}
.main-layout .news-grid .news-card, .main-layout .views-row > .news-card,
.main-layout .publisher-contact-card,
.main-layout .thematic-list article, .main-layout .full-article,
.main-layout .topic-hero, .main-layout .topic-side, .main-layout .publisher-search-result {
  background: var(--pub-page,#fff); border: 1px solid var(--story-edge);
  border-radius: var(--story-radius); box-shadow: var(--story-shadow);
  padding: clamp(17px,1.65vw,28px);
}
.main-layout .news-grid .news-card, .main-layout .views-row > .news-card, .main-layout .thematic-list article {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px clamp(12px,1.4vw,20px); align-items: center;
}
.main-layout .news-card:has(> .news-image) { grid-template-columns: auto minmax(0,1fr) auto; }
.main-layout .thematic-list { grid-template-columns: minmax(0,1fr); gap: 16px; }
.main-layout .views-row > .news-card { margin-bottom: 16px; }
.news-copy, .story-copy { min-width: 0; overflow-wrap: anywhere; }
.news-card .news-copy p, .story-copy p { margin: .5em 0 0; font-family: var(--pub-body); }
.story-actions {
  display: flex; align-self: stretch; align-items: center; justify-content: center;
  padding-inline-start: clamp(10px,1.4vw,20px); border-inline-start: 1px solid var(--story-edge);
}
.story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font: 500 13px/1.4 var(--pub-body); }
.story-meta span { color: var(--action-ink); border-inline-start: 2px solid currentColor; padding-inline-start: 7px; }
.full-article > .article-body { margin: 0; }
.main-layout .full-article:has(.topic-layout) { max-width: none; }
.main-layout .full-article:has(.author-journals) { max-width: 1100px; }
.main-layout .author-journals { margin-top: 24px; display: grid; gap: 10px; }
.author-journal {
  min-width: 0; border: 1px solid var(--story-edge); border-radius: var(--story-radius);
  background: var(--pub-page,#fff); box-shadow: var(--story-shadow);
  scroll-margin-block-start: 150px;
  --guide-gutter: clamp(16px,2.2vw,30px);
}
.author-journal[open] { border-color: color-mix(in srgb,var(--action-ink) 35%,white); }
.author-journal summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px var(--guide-gutter); border-radius: inherit; cursor: pointer;
}
.author-journal summary::-webkit-details-marker { display: none; }
.author-journal summary:hover, .author-journal[open] summary { background: color-mix(in srgb,var(--action-ink) 4%,white); }
.author-journal[open] summary { border-radius: var(--story-radius) var(--story-radius) 0 0; }
.author-journal summary:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 2px; }
.author-journals summary h2 { margin: 0; font-size: clamp(20px,1.6vw,25px); line-height: 1.26; overflow-wrap: anywhere; }
.author-journal summary::after {
  content: ''; border: 1px solid var(--story-edge); border-radius: 50%; width: 32px; height: 32px; flex: none;
  color: var(--action-ink); background: linear-gradient(currentColor,currentColor) center/12px 2px no-repeat,
    linear-gradient(currentColor,currentColor) center/2px 12px no-repeat;
}
.author-journal[open] summary::after { background-size: 12px 2px,0 0; }
.author-panel { padding: 0 var(--guide-gutter) 22px; border-top: 1px solid var(--story-edge); overflow-wrap: anywhere; }
.author-actions, .author-files { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 16px; margin-top: 14px; }
.author-actions > span, .author-files > strong { font-size: .92rem; font-weight: 600; }
.author-panel a { color: var(--action-ink); text-underline-offset: .17em; }
.author-panel a:focus-visible { outline: 2px solid var(--action-ink); outline-offset: 3px; }
.author-contents:not([hidden]) { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0; padding-block: 12px; border-block: 1px solid var(--story-edge); }
.author-contents a { font-size: .88rem; line-height: 1.6; }
.author-guide { max-width: 80ch; line-height: 1.65; }
.author-guide p, .author-guide ul, .author-guide ol { margin: .65em 0; }
.author-guide :is(ul,ol) { padding-inline-start: 1.5em; }
.author-guide :is(h3,h4) { margin: 1.25em 0 .4em; line-height: 1.27; scroll-margin-block-start: 150px; }
.author-guide h3 { font-size: clamp(21px,1.6vw,25px); }
.author-guide h4 { font-size: 1.15rem; }
.author-panel-footer { display: flex; flex-wrap: wrap; gap: 10px 24px; border-top: 1px solid var(--story-edge); padding-top: 14px; margin-top: 20px; font-size: .93rem; }
.author-back { font-weight: 600; }
@media (max-width:700px) {
  .main-layout .story-link { inline-size: 62px; font-size: 13px; }
  .story-actions { padding-inline-start: 9px; }
  .publisher-header .submit-manuscript { padding-inline: 11px; font-size: 14px; }
  .author-journals summary { min-height: 58px; }
}
@media (max-width:767px) {
  .is-home .news-grid .news-card {
    --read-radius: 31px;
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "headline" "excerpt";
  }
  .is-home .news-grid .news-card:has(> .news-image) { grid-template-areas: "image" "headline" "excerpt"; }
  .is-home .news-grid .news-image { grid-area: image; }
  .is-home .news-grid .news-copy { display: contents; }
  .is-home .news-headline { grid-area: headline; }
  .is-home .news-headline h3 { margin-bottom: 0; }
  .is-home .news-excerpt { grid-area: excerpt; align-self: stretch; }
  .is-home .news-excerpt p { margin: 0 0 1lh; }
  /* Reserve only the part of each line that meets the link in the lower corner. */
  .is-home .news-excerpt::before {
    content: ""; float: right; height: 100%; min-height: calc(2 * var(--read-radius));
    width: calc(2 * var(--read-radius) + 10px);
    shape-outside: circle(var(--read-radius) at right var(--read-radius) bottom var(--read-radius));
    shape-margin: 8px;
  }
  .is-home .news-grid .story-actions {
    grid-area: excerpt; place-self: end; border: 0; padding: 0;
  }
  .is-home .news-grid .story-link { inline-size: calc(2 * var(--read-radius)); font-size: 13px; }
}
@media (max-width:359px) {
  .masthead .header-tools { flex-wrap: wrap; justify-content: center; }
}

#page-top { padding-block-end: var(--cookie-notice-height, 0px); }
html { scroll-padding-block-end: var(--cookie-notice-height, 0px); }
.back-top.icon-button {
  bottom: calc(24px + var(--cookie-notice-height, 0px)); width: 48px; height: 48px;
  background: var(--pub-hero-bg, #1a63a3); color: #fff; border: 1px solid rgb(255 255 255 / 85%);
  font: 600 25px/1 var(--pub-body); text-decoration: none; box-shadow: 0 4px 14px rgb(20 71 113 / 27%);
}
.back-top.icon-button:hover { background: var(--pub-hero-bg, #1a63a3); color: #fff; box-shadow: 0 5px 17px rgb(20 71 113 / 40%); }
.back-top.icon-button:focus-visible { outline: 3px solid var(--pub-hero-bg, #1a63a3); outline-offset: 3px; }
.back-top .publisher-control-icon { filter: brightness(0) invert(1); }

.masthead > .languages { justify-self: center; align-self: center; margin: 0; gap: 2px; }
.masthead > .languages a {
  position: relative; display: grid; place-items: center; width: 38px; height: 30px; padding: 0;
  border: 0; border-radius: 5px; background: transparent;
}
.masthead > .languages img {
  display: block; width: 27px; height: 18px; object-fit: contain; border-radius: 2px;
  box-shadow: 0 0 0 1px rgb(24 48 76 / 22%);
}
.masthead > .languages a[aria-current]::after {
  content: ''; position: absolute; bottom: 1px; width: 25px; height: 2px;
  border-radius: 2px; background: var(--progress-color, #ef682d);
}
.masthead > .languages a:is(:hover,:focus-visible) { background: color-mix(in srgb, var(--pub-hero-bg, #1a63a3) 8%, white); }
@media (min-width: 1281px) {
  .shell.masthead {
    grid-template-columns: minmax(220px, 1fr) minmax(0, 3.35fr) minmax(220px, 1fr);
    /* Equal space above and below the navigation keeps its centre on the logo and search axis. */
    grid-template-rows: 1fr auto 1fr;
    grid-template-areas: "brand languages actions" "brand nav actions" "brand . actions";
    padding-block: 2px; row-gap: 2px;
  }
  .masthead > .publisher-mark { grid-area: brand; justify-self: start; }
  .masthead > .languages { grid-area: languages; align-self: end; }
  .masthead > .languages a { height: 26px; }
  .masthead > .desktop-navigation { grid-area: nav; }
  .masthead .menu-row > a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
  .masthead > .header-tools { grid-area: actions; }
}
@media (max-width: 1280px) {
  .shell.masthead { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
  .masthead > .publisher-mark { justify-self: start; max-width: 100%; }
  .masthead > .languages a { width: 42px; height: 44px; }
  .masthead > .languages a[aria-current]::after { bottom: 8px; }
}
@media (min-width: 560px) and (max-width: 660px) {
  .shell.masthead { grid-template-columns: minmax(0,1fr) auto max-content; }
}
@media (max-width: 559px) {
  .shell.masthead { grid-template-columns: minmax(0,1fr) auto; gap: 5px 8px; }
  .masthead > .header-tools { grid-column: 1/-1; justify-content: center; }
}
.cookie-notice {
  background: var(--action-ink, #112f74); color: #fff; font: 400 15px/1.45 var(--pub-body);
  padding: 10px 0 max(10px, env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / 35%);
}
.js .cookie-notice:not([data-ready]), .cookie-notice[hidden] { display: none; }
.cookie-notice[data-ready] {
  position: fixed; inset: auto 0 0; z-index: 95; max-height: 48vh; max-height: 48dvh;
  overflow-y: auto; box-shadow: 0 -3px 12px rgb(17 47 116 / 14%);
}
.cookie-notice-inner, .cookie-notice-actions { display: flex; align-items: center; gap: 8px 20px; }
.cookie-notice-inner { justify-content: center; }
.cookie-notice p { margin: 0; overflow-wrap: anywhere; }
.cookie-notice-actions { flex-wrap: wrap; }
.cookie-notice-actions a, .cookie-notice-actions button { display: inline-flex; align-items: center; min-height: 44px; }
.cookie-notice-actions a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.cookie-notice-actions button {
  border: 0; border-radius: 8px; background: #fff; color: #112f74;
  padding: 7px 18px; font-weight: 600;
}
.cookie-notice-actions button[hidden] { display: none; }
.cookie-notice-actions :focus-visible { outline: 2px solid white; outline-offset: 3px; }
@media (max-width:767px) {
  .cookie-notice-inner { flex-direction: column; align-items: stretch; gap: 4px; }
  .cookie-notice-actions { justify-content: space-between; }
}
@media print {
  .cookie-notice { display: none; }
  #page-top { padding-block-end: 0; }
}
