/*
 * Body contents in the original JECA presentation (also loaded in the block editor).
 * Values follow files/design/46/css/design.css and the original page markup.
 */
@font-face {
    font-family: "JECA TsukuGo";
    /* Original file with xAvgCharWidth corrected; see fonts/README.md. */
    src: url("fonts/BIZUDGothic-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "JECA FontAwesome";
    src: url("/css/font/font-awesome-4.2.0/fonts/fontawesome-webfont.woff2") format("woff2");
    font-weight: 400;
    font-display: block;
}

.jeca-content {
    --jeca-blue: #154793;
    --jeca-link: #0b5394;
    --jeca-link-hover: #3d85c6;
    --jeca-heading-font: "JECA TsukuGo", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
    --wp--style--block-gap: 0;
    /* Snow Monkey's automatic gap between blocks; the original lines have none. */
    --_margin1: 0px;
    color: #444;
    font-family: Meiryo, "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: normal;
}
.jeca-content a { color: var(--jeca-link); text-decoration: underline; text-underline-offset: auto; }
.jeca-content a:visited { color: var(--jeca-link-hover); }
.jeca-content a:hover, .jeca-content a:active { color: var(--jeca-link-hover); }
.jeca-content :where(p, ul, ol, figure, .wp-block-table, .wp-block-group) { margin-block: 0; }
.jeca-content :where(ul, ol) { padding-left: 2em; }
.jeca-content li { margin-block: 0; }
.jeca-content strong { font-weight: 700; }

/* Original "block": a titled section, 40px apart. */
.jeca-site-content > .smb-section { margin-block: 0; padding: 0; }
.jeca-site-content > .smb-section + .smb-section { margin-top: 40px; }
.jeca-site-content .jeca-section { --smb-section--padding: 0; padding-block: 0; }
.jeca-site-content .smb-section__contents-wrapper > * + * { margin-top: 0; }
.jeca-site-content .smb-section__body { margin-top: 0; }
.jeca-site-content .smb-section__body > * + * { margin-top: 20px; }
.jeca-site-content .smb-section__header { margin: 0; padding: 0; border: 0; }

/* Block title: grey bar (b_title.png). */
.jeca-site-content .jeca-section .smb-section__title {
    margin: 0 0 20px;
    padding: 0 10px 0 20px;
    height: 57px;
    overflow: hidden;
    background: url("/files/libs/3180/b_title.png?1610073564") no-repeat left top / 100% 56px;
    border-bottom: 1px solid transparent;
    color: #444;
    font-family: var(--jeca-heading-font);
    font-size: 20.02px;
    font-weight: 400;
    line-height: 56px;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.jeca-site-content .jeca-section .smb-section__title::after { display: none; }

/* Record title: blue arrow (midashi.png). Record titles were imported as level 3 headings. */
.jeca-site-content h3.wp-block-heading {
    margin: 0 0 15px;
    padding: 0 0 0 20px;
    min-height: 45px;
    background: url("/files/libs/3182/midashi.png?1610073565") no-repeat left top / auto 44px;
    border-bottom: 1px solid transparent;
    color: #444;
    font-family: var(--jeca-heading-font);
    font-size: 18.06px;
    font-weight: 400;
    line-height: 44px;
}
.jeca-site-content :where(h2, h4, h5, h6).wp-block-heading { margin: 0 0 10px; color: #444; font-weight: 700; line-height: 1.5; }
.jeca-site-content h2.wp-block-heading { font-size: 18px; }
.jeca-site-content h4.wp-block-heading { font-size: 16px; }

.jeca-site-content .wp-block-image { margin-block: 0; }
.jeca-site-content .wp-block-image img { height: auto; max-width: 100%; }
.jeca-site-content .wp-block-separator { margin: 14px 0; border: 0; border-top: 1px solid #ccc; opacity: 1; }

/* Tables: the original froala tables (thin grey grid). */
.jeca-site-content .wp-block-table { overflow-x: auto; font-size: inherit; }
.jeca-site-content .wp-block-table table { width: 100%; border-collapse: collapse; }
.jeca-site-content .wp-block-table :where(td, th) { padding: 2px 5px; border: 1px solid #ddd; vertical-align: top; text-align: left; }
.jeca-site-content .wp-block-table .has-text-align-center { text-align: center; }
.jeca-site-content .wp-block-table .has-text-align-right { text-align: right; }
.jeca-site-content .wp-block-table th { background: #ececec; font-weight: 400; }

/* Icon characters from the original text editor. */
.jeca-fa { font-family: "JECA FontAwesome"; font-style: normal; font-weight: 400; margin-right: 3px; }

/* Paragraphs with the colour bar of the original boxes. */
.jeca-site-content p.has-background { padding: 6px 10px; }
.jeca-site-content p.has-background a { text-decoration: none; }

/* Publication detail (type015). */
.jeca-site-content .jeca-rule-below { margin-block: 30px 15px; padding-bottom: 12px; border-bottom: 1px dotted rgba(51, 51, 51, .5); }
.jeca-site-content .jeca-item-status { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-block: 15px; }
/* A button box with no link (kept as text). */
.jeca-site-content .jeca-preset-button { margin-block: 30px; text-align: center; }
/* Order button: Snow Monkey Blocks button, block style 「注文ボタン」 (colours and corners are block settings). */
.smb-btn-wrapper.is-style-jeca-order .smb-btn { width: 470px; max-width: 100%; padding: 10px 15px; font-weight: 700; white-space: normal; }
.smb-btn-wrapper.is-style-jeca-order .smb-btn:hover { filter: none; opacity: .7; }

/* File type icon beside a download link. */
.jeca-fileicon { vertical-align: middle; max-width: none; }

/* Record rows of the original (record-row2 to record-row5). */
.jeca-site-content .jeca-records { display: grid; gap: 20px; align-items: start; }
.jeca-site-content .jeca-records > * { margin: 0; min-width: 0; }
.jeca-records-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jeca-records-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jeca-records-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jeca-records-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.jeca-records-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* Picture beside its text. */
.jeca-site-content .jeca-media-text { gap: 20px; margin: 0; align-items: flex-start; flex-wrap: nowrap; }
.jeca-site-content .jeca-media-text > .wp-block-column { min-width: 0; }
.jeca-site-content .jeca-media-text > .wp-block-column[style*="flex-basis"] { flex-grow: 0; flex-shrink: 0; }

/* Slider (type003): one 870x650 picture at a time. */
.jeca-slider { position: relative; overflow: hidden; }
.jeca-slider > .wp-block-image { display: none; margin: 0; line-height: 0; text-align: center; }
.jeca-slider > .wp-block-image.is-active, .jeca-slider:not(:has(> .is-active)) > .wp-block-image:first-child { display: block; }
.jeca-slider__button { position: absolute; top: 50%; width: 36px; height: 72px; margin-top: -36px; padding: 0; border: 0; background: rgba(0, 0, 0, .35); color: #fff; font: 28px/72px "JECA FontAwesome"; cursor: pointer; opacity: 0; transition: opacity .2s; }
.jeca-slider__button--prev { left: 0; }
.jeca-slider__button--next { right: 0; }
.jeca-slider__button--prev::before { content: "\f104"; }
.jeca-slider__button--next::before { content: "\f105"; }
.jeca-slider:hover .jeca-slider__button, .jeca-slider__button:focus-visible { opacity: 1; }

/* News list rows (type013): date with a play icon, then the title, dotted rule below. */
.jeca-site-content .jeca-news-row { display: flex; margin: 0; padding-block: 20px; border-bottom: 1px dotted rgba(68, 68, 68, .5); }
.jeca-site-content .jeca-news-row:first-child, .jeca-site-content :not(.jeca-news-row) + .jeca-news-row { padding-top: 0; }
.jeca-site-content .jeca-news-row > p { margin: 0; }
.jeca-site-content .jeca-news-row > p:first-child { flex: 0 0 114px; padding-left: 5px; box-sizing: border-box; white-space: nowrap; }
.jeca-site-content .jeca-news-row > p:first-child::before { content: "\f144"; margin-right: 10px; font: 126%/1 "JECA FontAwesome"; }
.jeca-site-content .jeca-news-row > p + p { flex: 1; min-width: 0; padding-left: 20px; }
/* Link list (type011): play icon, then the title; rows split by a dotted rule. */
.jeca-site-content .jeca-link-row { margin: 0; padding-block: 20px 15px; border-bottom: 1px dotted rgba(68, 68, 68, .5); }
.jeca-site-content .wp-block-group:has(> .jeca-link-row) { margin-block: 0; }
.jeca-site-content :first-child > .jeca-link-row:first-child { padding-top: 0; }
.jeca-site-content .jeca-link-row figure, .jeca-site-content .jeca-link-row table { margin: 0; border: 0; }
.jeca-site-content .jeca-link-row td { padding: 0; border: 0; vertical-align: top; }
.jeca-site-content .jeca-link-row td:first-child { width: 1px; padding: 0 10px 0 5px; white-space: nowrap; }
.jeca-site-content .jeca-link-row a { color: #444; text-decoration: none; }
.jeca-site-content .jeca-link-row a:hover { opacity: .5; }
.jeca-site-content .jeca-link-row td:first-child a { color: rgba(68, 68, 68, .5); }
.jeca-site-content .jeca-link-row td:first-child a::before { content: "\f144"; font: 126%/1 "JECA FontAwesome"; }
.jeca-site-content .jeca-badge { display: inline-block; min-width: 58px; height: 20px; margin: 0 5px 0 10px; padding: 0 2px; border: 1px solid #fff; background: #00a3d9; color: #fff; font: normal 12px/20px "Hiragino Kaku Gothic Pro", Meiryo, sans-serif; text-align: center; vertical-align: middle; }
.jeca-site-content .jeca-badge-new { width: 44px; background: #ff8000; }
.jeca-site-content .jeca-badge-2 { background: #008c23; }
.jeca-site-content .jeca-badge-3 { background: #7a4dff; }
.jeca-site-content .jeca-badge-4 { background: #d90000; }

/* Publication detail gallery (original vertical slider: 80px thumbnails, 20px gap). */
.jeca-gallery.is-ready { display: flex; gap: 20px; align-items: flex-start; }
.jeca-gallery__main { flex: 1; min-width: 0; text-align: center; }
.jeca-gallery__main > .wp-block-image { display: none; margin: 0; }
.jeca-gallery__main > .wp-block-image.is-active { display: block; }
.jeca-gallery__main img { max-width: 100%; }
.jeca-gallery__side { flex: 0 0 80px; display: flex; flex-direction: column; }
.jeca-gallery__panel { max-height: 410px; overflow: hidden; }
.jeca-gallery__thumb { display: block; width: 100%; margin: 0 0 4px; padding: 0; border: 1px solid #c6c6c6; background: #fff; line-height: 0; cursor: pointer; }
.jeca-gallery__thumb[aria-pressed="true"] { border-color: #888; }
.jeca-gallery__thumb img { width: 100%; height: auto; }
.jeca-gallery__arrow { display: block; height: 20px; margin: 0; padding: 0; border: 2px solid #c6c6c6; background: #fff; color: #c6c6c6; font: 32px/0 "JECA FontAwesome"; cursor: pointer; overflow: hidden; }
.jeca-gallery__arrow--up::before { content: "\f106"; position: relative; top: 6px; }
.jeca-gallery__arrow--down::before { content: "\f107"; position: relative; top: 4px; }
.jeca-gallery__panel { margin-block: 4px; }

/* ---------- Top page ---------- */
.jeca-site-content .jeca-hero {
    --smb-section--background-color: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: none;
}
.jeca-site-content .jeca-hero .smb-section__fixed-background { display: none; }
.jeca-site-content .jeca-hero .smb-section__header { padding-bottom: 35px; border-bottom: 1px solid #ccc; margin-bottom: 15px; }
.jeca-site-content .jeca-hero .smb-section__title {
    color: #444;
    font-family: inherit;
    font-size: 25.2px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-wrap: wrap;
}
.jeca-site-content .jeca-hero .smb-section__title::after { display: none; }
.jeca-site-content .jeca-hero .smb-section__body { margin-top: 0; }
.jeca-site-content .jeca-hero > .smb-section__inner > .c-container { padding-inline: 0; }
.jeca-site-content .jeca-notices {
    --smb-box--background-color: transparent;
    padding: 20px 0 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
.jeca-notices .smb-box__background,
.jeca-service-box .smb-box__background { display: none; }
.jeca-notices .smb-box__body > p { margin: 20px 0 0; font-size: 21px; line-height: 1; }
.jeca-notices .smb-box__body > p:first-child { margin: 0; color: #f00; font-size: 23.8px; line-height: 1.5; }
.jeca-notices p:first-child strong { font-weight: 700; }
.jeca-notices .smb-box__body > p.jeca-notice-continued { margin-top: 0; padding-left: 3em; }
.jeca-notices a { font-weight: 400; }

.jeca-site-content .jeca-services {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 158px));
    gap: 20px;
    align-items: start;
    justify-content: start;
}
.jeca-site-content .jeca-services > .jeca-service { margin: 0; min-width: 0; }
.jeca-site-content .jeca-service-box {
    --smb-box--border-width: 0px;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    overflow: visible;
}
.jeca-service-box .smb-box__body > * + * { margin-top: 0; }
.jeca-service-box .wp-block-image,
.jeca-service-box .wp-block-image a { display: block; margin: 0; line-height: 0; }
.jeca-service-box .wp-block-image img { width: 100%; transition: opacity .2s; }
/* Photo-only cards: no badge on the photo (the original "MORE" design is not reused); the photo dims on hover. */
.jeca-service-box .wp-block-image { margin-bottom: 8px; }
.jeca-service-box .wp-block-image a:hover img,
.jeca-service-box .wp-block-image a:focus-visible img { opacity: .8; }
/* "詳しく見る" label: a common rounded label in the site font, not the original blue "MORE" box.
   The "/ ''" alternative text keeps screen readers from announcing it after the image's alt text. */
.jeca-service-box .wp-block-image a { position: relative; }
.jeca-service-box .wp-block-image a::after {
    content: "詳しく見る ›";
    content: "詳しく見る ›" / "";
    position: absolute; right: 6px; bottom: 6px;
    padding: 4px 9px 4px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    color: var(--jeca-blue); font: 11px/1 var(--jeca-heading-font); letter-spacing: .02em; white-space: nowrap;
    transition: background-color .2s, color .2s;
}
/* English top: the same card photos (apply-replacement-images.php) with the same label, in English. */
.jeca-records .wp-block-image a:has(> img[src*="-card."]) { position: relative; display: inline-block; line-height: 0; }
.jeca-records .wp-block-image a:has(> img[src*="-card."]) > img { transition: opacity .2s; }
.jeca-records .wp-block-image a:has(> img[src*="-card."]):is(:hover, :focus-visible) > img { opacity: .8; }
.jeca-records .wp-block-image a:has(> img[src*="-card."])::after {
    content: "More ›";
    content: "More ›" / "";
    position: absolute; right: 8px; bottom: 8px;
    padding: 5px 11px 5px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    color: var(--jeca-blue); font: 12px/1 var(--jeca-heading-font); letter-spacing: .02em; white-space: nowrap;
}
/* The whole card is the link: the heading link (same destination as the photo) is stretched over the card. */
.jeca-site-content .jeca-service-box { position: relative; }
.jeca-service-box .smb-box__body,
.jeca-service-box .wp-block-image + p,
.jeca-service-box h3.wp-block-heading,
.jeca-service-box h3.wp-block-heading a { position: static; }
.jeca-service-box .wp-block-image + p a::after,
.jeca-service-box h3.wp-block-heading a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.jeca-service-box h3.wp-block-heading a:focus-visible,
.jeca-service-box .wp-block-image + p a:focus-visible { outline: none; }
.jeca-service-box h3.wp-block-heading a:focus-visible::after,
.jeca-service-box .wp-block-image + p a:focus-visible::after { outline: 2px solid var(--jeca-blue); outline-offset: 3px; }
/* The heading and text link to the same page, so hovering anywhere on the card highlights the label and photo. */
.jeca-service-box:hover .wp-block-image a::after,
.jeca-service-box:focus-within .wp-block-image a::after { background: var(--jeca-blue); color: #fff; }
.jeca-service-box:hover .wp-block-image img,
.jeca-service-box:focus-within .wp-block-image img { opacity: .8; }
.jeca-service-box .wp-block-image + p,
.jeca-service-box h3.wp-block-heading {
    margin: 10px 15px 5px;
    padding: 3px 0 2px;
    min-height: 0;
    background: none;
    color: #444;
    font-family: inherit;
    font-size: 15.4px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.3;
}
.jeca-service-box .wp-block-image + p::before,
.jeca-service-box h3.wp-block-heading::before { content: "\f0da"; margin-right: 6px; color: var(--jeca-blue); font: 14px/1 "JECA FontAwesome"; }
.jeca-service-box .wp-block-image + p a,
.jeca-service-box h3.wp-block-heading a { color: #444; text-decoration: none; }
.jeca-service-box .wp-block-image + p ~ p,
.jeca-service-box h3.wp-block-heading ~ p { margin: 0 15px 20px; color: #333; font-size: 14px; line-height: 1.5; }

/* News rows (type013): play icon, date, title, dotted rule. */
.jeca-site-content .wp-block-list:has(> li > .jeca-news-date),
.jeca-site-content #block314 .wp-block-list { list-style: none; margin: 0; padding: 0; }
.jeca-site-content .wp-block-list > li:has(> .jeca-news-date) {
    display: flex;
    align-items: baseline;
    padding: 20px 0 20px 5px;
    border-bottom: 1px dotted rgba(68, 68, 68, .5);
}
.jeca-site-content .wp-block-list > li:has(> .jeca-news-date):first-child { padding-top: 0; }
.jeca-site-content .wp-block-list > li:has(> .jeca-news-date)::before { content: "\f144"; flex: none; margin-right: 10px; font: 17.64px/1 "JECA FontAwesome"; }
.jeca-news-date { flex: 0 0 84px; }
.jeca-site-content .wp-block-list > li > .jeca-news-date + a { margin-left: 20px; margin-right: 10px; }
.jeca-new { display: inline-block; flex: none; padding: 0 2px; margin-right: 5px; background: #ff8000; color: #fff; font-size: 12px; line-height: 20px; }

/* Link rows (type011). */
.jeca-site-content #block314 .wp-block-list > li { display: flex; align-items: baseline; padding: 20px 0 20px 5px; border-bottom: 1px dotted rgba(68, 68, 68, .5); }
.jeca-site-content #block314 .wp-block-list > li:first-child { padding-top: 0; }
.jeca-site-content #block314 .wp-block-list > li::before { content: "\f144"; flex: none; width: 27px; color: rgba(68, 68, 68, .5); font: 20px/1 "JECA FontAwesome"; }
.jeca-site-content #block314 .wp-block-list a { text-decoration: none; }

@media (max-width: 1023px) {
    .jeca-site-content .jeca-services { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .jeca-site-content .jeca-section .smb-section__title { white-space: normal; height: auto; line-height: 1.5; padding-block: 15px; background-size: 100% 100%; }
}
@media (max-width: 600px) {
    .jeca-site-content .jeca-records { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
    .jeca-site-content .jeca-media-text { flex-wrap: wrap; }
    .jeca-notices .smb-box__body > p { line-height: 1.2; }
    .jeca-notices .smb-box__body > p.jeca-notice-continued { padding-left: 1.5em; }
    .jeca-site-content .jeca-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
    .jeca-news-date { flex-basis: auto; }
    .jeca-site-content .wp-block-list > li:has(> .jeca-news-date) { flex-wrap: wrap; }
    .jeca-site-content .wp-block-list > li > .jeca-news-date + a { flex-basis: 100%; margin: 4px 0 0; }
}

/* ---------- Publications list (registered items) ---------- */
.jeca-publications .wp-block-post { margin-block: 0 3rem; }
.jeca-publication .wp-block-image { float: left; width: 160px; margin: 0 28px 20px 0; }
.jeca-publication::after { content: ""; display: table; clear: both; }
@media (max-width: 600px) {
    .jeca-publication .wp-block-image { float: none; margin: 0 0 20px; }
    .jeca-content .wp-block-table table:not(:is(.jeca-link-row, .jeca-media-card) table):not(:has(.jeca-fileicon)) { min-width: 550px; }
}

/* ---------- Header menu images ---------- */
.jeca-cms-site .l-header .p-global-nav > .c-navbar > .c-navbar__item { flex: 0 0 110px; }
.jeca-cms-site .l-header .p-global-nav > .c-navbar > .c-navbar__item > a { color: #154793; padding: 0; min-height: 100px; }
.jeca-cms-site .l-header .p-global-nav > .c-navbar > .c-navbar__item > a:focus-visible { outline: 2px solid #154793; outline-offset: -2px; }
.jeca-menu-image { display: block; position: relative; width: 110px; height: 100px; }
.jeca-menu-image img { display: block; width: 110px; height: 100px; object-fit: contain; }
.jeca-menu-image__hover { position: absolute; inset: 0; opacity: 0; }
.jeca-menu-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Icon tiles: the label is text in the site font (the original vendor's English font is not reused). */
.jeca-menu-text {
    position: absolute; top: 57px; left: 0; width: 107px;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    font-family: "JECA TsukuGo", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif; line-height: 1.2; text-align: center; white-space: nowrap;
}
/* The tile labels use a system gothic in bold, like the original's image labels: at 12px the heading font
   (BIZ UDゴシック) blurs dense kanji such as 「電」 and its full-width 「・」 pushes 「刊行物・統計資料等」 (108px)
   out of the 107px tile. "palt" narrows the punctuation. 游ゴシック, not Yu Gothic UI: Chrome on Windows does
   not pick the UI font's bold face from font-weight. */
.jeca-menu-text__ja { color: #444; font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif; font-size: 12px; font-weight: 700; font-feature-settings: "palt"; letter-spacing: 0; }
.jeca-menu-text__en { color: #1f57a8; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
/* Label images (label-images.php): 110px-wide lines, so they sit on whole pixels without centring. */
.jeca-menu-text--image { width: 110px; gap: 0; }
.jeca-menu-text--image img { display: block; width: 110px; height: auto; }
a:hover .jeca-menu-image--has-hover .jeca-menu-image__normal,
a:focus .jeca-menu-image--has-hover .jeca-menu-image__normal { opacity: 0; }
a:hover .jeca-menu-image__hover, a:focus .jeca-menu-image__hover { opacity: 1; }
.jeca-cms-site .l-header__content > .l-1row-header .p-global-nav > .c-navbar > .c-navbar__item[data-submenu-visibility="visible"] .jeca-menu-image--has-hover .jeca-menu-image__normal { opacity: 0; }
.jeca-cms-site .l-header__content > .l-1row-header .p-global-nav > .c-navbar > .c-navbar__item[data-submenu-visibility="visible"] .jeca-menu-image__hover { opacity: 1; }

.jeca-form-reference { border-left: 4px solid #d5dfed; padding-left: 20px; }

/* Site map (type021): two columns of sections, a grey heading link, then indented links. */
.jeca-site-content .jeca-sitemap ul { margin: 0; padding: 0; list-style: none; }
.jeca-site-content .jeca-sitemap li { margin: 0; }
.jeca-site-content .jeca-sitemap > ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: start; margin-top: 20px; }
.jeca-site-content .jeca-sitemap > ul > li { margin-bottom: 20px; }
.jeca-site-content .jeca-sitemap > ul > li:not(:has(ul)) { margin-bottom: 15px; }
.jeca-site-content .jeca-sitemap > ul > li > a { display: block; padding: 5px 10px; background: rgba(204, 204, 204, .5); font-weight: 700; }
.jeca-site-content .jeca-sitemap li li > a { display: block; padding: 15px 10px 0 10px; line-height: 1.25; }
.jeca-site-content .jeca-sitemap li li li > a { padding-left: 20px; }
.jeca-site-content .jeca-sitemap .jeca-fa { margin-right: 5px; color: #000; }

/* Q&A (type016): grey question bars with a boxed plus button; answers stay closed until opened. */
.jeca-site-content .jeca-faq-all { margin: 0 0 20px; }
.jeca-faq-all__button { display: inline-block; padding: 8px 5px; border: 2px solid rgba(0, 0, 0, .3); background: none; color: inherit; font: inherit; line-height: inherit; cursor: pointer; }
.jeca-faq-all__button:hover { opacity: .7; }
/* Each question is the only child of its record group, so this must outrank the theme's first-child reset. */
.jeca-site-content .wp-block-group > .jeca-faq { margin-block: 5px 0; }
/* The first record has no gap above it ("m-top-0" on the original). */
.jeca-site-content .wp-block-group > .jeca-faq--first { margin-top: 0; }
.jeca-site-content .jeca-faq > summary { display: flex; align-items: center; gap: 15px; padding: 20px 15px; background: #eee; list-style: none; cursor: pointer; }
.jeca-site-content .jeca-faq > summary::-webkit-details-marker { display: none; }
.jeca-site-content .jeca-faq > summary::after {
    content: "\f067"; flex: none; margin-left: auto; padding: 5px; width: 1.15em; border: 2px solid #999; border-radius: 3px;
    color: #999; font: 200%/1 "JECA FontAwesome"; text-align: center;
}
.jeca-site-content .jeca-faq[open] > summary::after { content: "\f068"; }
.jeca-site-content .jeca-faq > summary:focus-visible { outline: 2px solid #154793; outline-offset: 2px; }
.jeca-site-content .jeca-faq > :not(summary) { margin-block: 20px 0; }
.jeca-site-content .jeca-faq > :last-child:not(summary) { padding-bottom: 20px; }

/* Framed list item (publication lists): cover in a 4:3 box on the left, title and price beside it. */
.jeca-site-content .jeca-media-card { padding: 10px 10px 15px; border: 1px solid #d3d3d3; background: rgba(255, 255, 255, .5); }
.jeca-site-content .jeca-media-card .jeca-media-text { flex-wrap: nowrap; }
.jeca-site-content .jeca-media-card .wp-block-column:first-child .wp-block-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; margin: 0; }
.jeca-site-content .jeca-media-card .wp-block-column > :first-child { margin-top: 10px; }
.jeca-site-content .jeca-media-card .wp-block-column:first-child > :first-child { margin-top: 0; }
.jeca-site-content .jeca-media-card .wp-block-table { margin: 10px 0 0; }
.jeca-site-content .jeca-media-card .wp-block-table table { table-layout: fixed; word-break: break-all; }
.jeca-site-content .jeca-media-card .wp-block-table td { padding: 0; border: 0; vertical-align: top; }
.jeca-site-content .jeca-media-card .wp-block-table td + td { padding-inline: 20px; }

.jeca-search-where { margin: 4px 0 0; color: #777; font-size: 13px; }
