/*
Theme Name: Executive Protection Journal
Description: Lightweight block theme for Executive Protection Journal. No page builder.
Version: 0.1.6
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: epjournal
*/

/* Dark mode: night bands stay; page and cards switch. */
@media (prefers-color-scheme: dark) {
  :root {
    --wp--preset--color--page: #0B0F19;
    --wp--preset--color--surface: #121A2A;
    --wp--preset--color--ink: #E7EAF0;
    --wp--preset--color--muted: #9AA3B5;
    --wp--preset--color--rule: #253048;
    --wp--preset--color--gold: #D2A75A;
    --wp--preset--color--night: #070B15;
    --wp--preset--color--night-2: #0F1728;
    --wp--preset--color--night-rule: #222C44;
    color-scheme: dark;
  }
}

:root {
  --epj-ui: var(--wp--preset--font-family--ui);
  --epj-gutter: max(16px, env(safe-area-inset-left, 0px));
  --epj-gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
body { margin: 0; -webkit-font-smoothing: antialiased; }
.wp-site-blocks > * + * { margin-block-start: 0; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--wp--preset--color--brass); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.01em; }

.epj-wrap { max-width: 1240px; margin-inline: auto; padding-left: var(--epj-gutter); padding-right: var(--epj-gutter-r); box-sizing: border-box; }
.epj-night { background: var(--wp--preset--color--night); color: var(--wp--preset--color--on-night); }
.epj-night a { color: inherit; }

/* kicker = section label (post terms or plain text) */
.epj-kicker, .epj-kicker a {
  font-family: var(--epj-ui); font-stretch: 75%; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--gold); text-decoration: none; margin: 0;
}
.epj-night .epj-kicker, .epj-night .epj-kicker a { color: var(--wp--preset--color--brass); }
.epj-kicker .wp-block-post-terms__separator { display: none; }
.epj-kicker a + a::before { content: " · "; }

/* ===== Header ===== */
.epj-masthead { background: var(--wp--preset--color--night); color: var(--wp--preset--color--on-night); }
.epj-brandrow { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; flex-wrap: wrap; }
.epj-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--wp--preset--color--on-night) !important; }
.epj-mark { font-family: var(--epj-ui); font-weight: 900; font-size: 3.1rem; line-height: 0.8; letter-spacing: -0.045em; display: flex; }
.epj-mark .p { color: var(--wp--preset--color--brass); }
.epj-divider { width: 2px; align-self: stretch; background: var(--wp--preset--color--brass); opacity: 0.85; }
.epj-words { display: flex; flex-direction: column; font-family: var(--epj-ui); font-weight: 800; font-size: 1.02rem; line-height: 1.02; letter-spacing: 0.02em; text-transform: uppercase; }
.epj-words .j { color: var(--wp--preset--color--brass); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.62em; margin-top: 5px; }
.epj-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.epj-tagline { font-family: var(--epj-ui); font-stretch: 80%; font-size: 0.82rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--wp--preset--color--on-night-muted); display: flex; gap: 10px; align-items: center; }
.epj-tagline i { width: 5px; height: 5px; background: var(--wp--preset--color--brass); display: inline-block; transform: rotate(45deg); }
.epj-subscribe { font-family: var(--epj-ui); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--on-night) !important; border: 1px solid var(--wp--preset--color--brass); padding: 10px 16px; text-decoration: none; white-space: nowrap; }
.epj-subscribe:hover { background: var(--wp--preset--color--brass); color: var(--wp--preset--color--night) !important; }

.epj-sections { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--wp--preset--color--night-2); border-top: 1px solid var(--wp--preset--color--night-rule); border-bottom: 1px solid var(--wp--preset--color--night-rule); }
.admin-bar .epj-sections { top: 32px; }
.epj-sections .epj-wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.epj-sections .epj-wrap::-webkit-scrollbar { display: none; }
.epj-sections a { font-family: var(--epj-ui); font-stretch: 80%; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--on-night-muted); text-decoration: none; padding: 14px 12px; white-space: nowrap; border-bottom: 2px solid transparent; }
.epj-sections a:hover, .epj-sections a[aria-current] { color: var(--wp--preset--color--on-night); }
.epj-sections a[aria-current] { border-bottom-color: var(--wp--preset--color--brass); }

/* ===== Cards (query loops) ===== */
.epj-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.epj-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.epj-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.epj-list > li { margin: 0; min-width: 0; }
.epj-card { display: grid; gap: 10px; align-content: start; }
.epj-card > * { margin: 0 !important; }
.epj-card .wp-block-post-featured-image { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wp--preset--color--rule); }
.epj-card .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.epj-card:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.epj-card .wp-block-post-title { font-size: 1.32rem; line-height: 1.18; font-weight: 600; }
.epj-card .wp-block-post-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.epj-card .wp-block-post-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.epj-card .wp-block-post-excerpt__excerpt { margin: 0; color: var(--wp--preset--color--muted); font-size: 1rem; line-height: 1.5; }
.epj-card-big .wp-block-post-title { font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.1; }

.epj-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-family: var(--epj-ui); font-size: 0.76rem; color: var(--wp--preset--color--muted); }
.epj-meta > * { margin: 0 !important; font-size: inherit; font-family: inherit; }
.epj-meta .wp-block-post-author-name::before { content: "By "; }
.epj-meta a { color: inherit; text-decoration: none; }

/* ===== Home ===== */
.epj-lead-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); min-height: 460px; }
.epj-lead .wp-block-post-template, .epj-lead li { list-style: none; margin: 0; padding: 0; }
.epj-lead-copy { padding-block: 56px 48px; padding-right: 32px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.epj-lead-copy > * { margin: 0 !important; }
.epj-lead .wp-block-post-title { font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1.02; letter-spacing: -0.02em; font-weight: 600; }
.epj-lead .wp-block-post-title a { color: var(--wp--preset--color--on-night); text-decoration: none; }
.epj-lead .wp-block-post-title a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--brass); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.epj-lead .wp-block-post-excerpt__excerpt { font-size: 1.25rem; line-height: 1.45; color: var(--wp--preset--color--on-night-muted); margin: 0; max-width: 34em; }
.epj-lead .epj-meta { color: var(--wp--preset--color--on-night-muted); font-size: 0.82rem; }
.epj-lead .epj-meta .wp-block-post-author-name { color: var(--wp--preset--color--on-night); font-weight: 600; }
.epj-lead-img { position: relative; margin: 0 calc(-1 * var(--epj-gutter-r)) 0 0 !important; }
.epj-lead-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.epj-lead-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--wp--preset--color--night) 0%, transparent 38%); z-index: 1; pointer-events: none; }

.epj-block { padding-block: 48px; }
.epj-blockhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 3px solid var(--wp--preset--color--ink); padding-top: 12px; margin: 0 0 24px; }
.epj-blockhead h2, h2.epj-blockhead { font-family: var(--epj-ui); font-stretch: 75%; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0; }
.epj-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
.epj-feature { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.epj-feature .epj-stack .wp-block-post-excerpt { display: none; }
.epj-more { margin-top: 44px; }

.epj-panel { background: var(--wp--preset--color--night); color: var(--wp--preset--color--on-night); padding: 22px 22px 8px; }
.epj-panel h2 { font-family: var(--epj-ui); font-stretch: 75%; font-weight: 800; font-size: 0.86rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wp--preset--color--brass); padding-bottom: 12px; border-bottom: 1px solid var(--wp--preset--color--night-rule); margin: 0; }
.epj-panel .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.epj-panel li { border-bottom: 1px solid var(--wp--preset--color--night-rule); padding-block: 14px; margin: 0; }
.epj-panel li:last-child { border-bottom: 0; }
.epj-panel .epj-kicker, .epj-panel .epj-kicker a { color: var(--wp--preset--color--on-night-muted); font-size: 0.7rem; letter-spacing: 0.14em; font-stretch: 100%; font-weight: 400; }
.epj-panel .wp-block-post-title { font-size: 1.02rem; line-height: 1.3; font-weight: 500; margin: 4px 0 0; }
.epj-panel .wp-block-post-title a { color: var(--wp--preset--color--on-night); text-decoration: none; }
.epj-panel .wp-block-post-title a:hover { color: var(--wp--preset--color--brass); }

.epj-desks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--wp--preset--color--rule); border-left: 1px solid var(--wp--preset--color--rule); }
.epj-desk { border-right: 1px solid var(--wp--preset--color--rule); border-bottom: 1px solid var(--wp--preset--color--rule); padding: 22px; display: grid; gap: 8px; align-content: start; text-decoration: none; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink) !important; }
.epj-desk:hover { background: var(--wp--preset--color--page); }
.epj-desk h3 { font-size: 1.35rem; margin: 0; }
.epj-desk p { margin: 0; font-size: 0.98rem; color: var(--wp--preset--color--muted); line-height: 1.45; }

/* ===== Briefing ===== */
.epj-briefing .epj-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-block: 52px; align-items: center; }
.epj-briefing h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; margin: 8px 0 0; color: var(--wp--preset--color--on-night); }
.epj-briefing p { color: var(--wp--preset--color--on-night-muted); margin: 10px 0 0; }
.epj-signup { display: grid; gap: 10px; }
.epj-signup .row { display: flex; flex-wrap: wrap; }
.epj-signup label { font-family: var(--epj-ui); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--on-night-muted); }
.epj-signup input { flex: 1 1 220px; min-width: 0; font-family: var(--epj-ui); font-size: 1rem; padding: 14px; border: 1px solid var(--wp--preset--color--night-rule); background: var(--wp--preset--color--night-2); color: var(--wp--preset--color--on-night); border-radius: 0; }
.epj-signup button { font-family: var(--epj-ui); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 14px 20px; border: 0; background: var(--wp--preset--color--brass); color: var(--wp--preset--color--night); cursor: pointer; }
.epj-signup button:hover { background: var(--wp--preset--color--on-night); }

/* ===== Article ===== */
.epj-article-head .epj-wrap { padding-block: 40px 34px; display: grid; gap: 14px; }
.epj-article-head .epj-wrap > * { margin: 0 !important; }
.epj-article-head .wp-block-post-title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.05; max-width: 22ch; color: var(--wp--preset--color--on-night); }
.epj-article-head .wp-block-post-excerpt__excerpt { font-size: 1.25rem; line-height: 1.45; color: var(--wp--preset--color--on-night-muted); max-width: 40rem; margin: 0; }
.epj-article-head .epj-meta { color: var(--wp--preset--color--on-night-muted); font-size: 0.82rem; }
.epj-article-head .epj-meta .wp-block-post-author-name { color: var(--wp--preset--color--on-night); font-weight: 600; }
.epj-article-body .epj-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-block: 40px 56px; }
.epj-article-fig { margin: 0 0 24px !important; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wp--preset--color--rule); }
.epj-article-fig img { width: 100%; height: 100%; object-fit: cover; }
.epj-prose { max-width: 40rem; font-size: 1.15rem; line-height: 1.65; }
.epj-prose > * { margin-block: 0 1.1em; }
.epj-prose h2 { font-size: 1.65rem; line-height: 1.2; margin: 1.6em 0 0.55em; }
.epj-prose h3 { font-size: 1.3rem; margin: 1.4em 0 0.5em; }
.epj-prose ol, .epj-prose ul { padding-left: 1.3em; }
.epj-prose li { margin-bottom: 0.6em; }
.epj-prose ol li::marker { font-family: var(--epj-ui); font-weight: 700; color: var(--wp--preset--color--gold); }
.epj-prose a { color: var(--wp--preset--color--gold); text-underline-offset: 3px; }
.single .epj-prose > p:first-child::first-letter { float: left; font-size: 3.6em; line-height: 0.82; font-weight: 600; padding: 0.06em 0.1em 0 0; }
.epj-aside { display: grid; gap: 24px; align-content: start; }
.epj-author { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--rule); padding: 20px; display: grid; gap: 6px; }
.epj-author > * { margin: 0 !important; }
.epj-author .wp-block-post-author-name { font-size: 1.25rem; font-weight: 600; }
.epj-author .wp-block-post-author-biography { font-family: var(--epj-ui); font-size: 0.86rem; color: var(--wp--preset--color--muted); line-height: 1.5; }
.epj-mini { border-top: 3px solid var(--wp--preset--color--ink); }
.epj-mini h2 { font-family: var(--epj-ui); font-stretch: 75%; font-weight: 800; font-size: 0.86rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 12px 0; margin: 0; }
.epj-mini .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.epj-mini li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--wp--preset--color--rule); margin: 0; }
.epj-mini .wp-block-post-featured-image { margin: 0; width: 84px; aspect-ratio: 1; overflow: hidden; }
.epj-mini .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.epj-mini .wp-block-post-title { font-size: 1rem; line-height: 1.3; font-weight: 500; margin: 0; }
.epj-mini .wp-block-post-title a { color: var(--wp--preset--color--ink); text-decoration: none; }

/* ===== Page / archive heads ===== */
.epj-page-head .epj-wrap { padding-block: 44px 36px; display: grid; gap: 12px; }
.epj-page-head .epj-wrap > * { margin: 0 !important; }
.epj-page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.04; color: var(--wp--preset--color--on-night); }
.epj-page-head p, .epj-page-head .wp-block-term-description { color: var(--wp--preset--color--on-night-muted); max-width: 44rem; font-size: 1.15rem; }
.epj-page-body { padding-block: 40px 64px; }
.wp-block-query-pagination { margin-top: 36px; font-family: var(--epj-ui); }

/* ===== Footer ===== */
.epj-footer { background: var(--wp--preset--color--night); color: var(--wp--preset--color--on-night-muted); font-family: var(--epj-ui); font-size: 0.82rem; border-top: 3px solid var(--wp--preset--color--brass); }
.epj-footer .epj-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding-block: 36px; align-items: center; }
.epj-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.epj-footer a { color: var(--wp--preset--color--on-night-muted); text-decoration: none; }
.epj-footer a:hover { color: var(--wp--preset--color--on-night); }
.epj-footer .epj-mark { font-size: 2.1rem; }
.epj-footer .epj-words { font-size: 0.78rem; }
.epj-footer .epj-words .j { font-size: 0.6rem; }
.epj-legal { grid-column: 1 / -1; border-top: 1px solid var(--wp--preset--color--night-rule); padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .epj-home-grid, .epj-article-body .epj-wrap { grid-template-columns: minmax(0, 1fr); }
  .epj-grid4, .epj-grid3, .epj-desks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .epj-lead-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .epj-lead-img { order: -1; margin: 0 calc(-1 * var(--epj-gutter-r)) 0 calc(-1 * var(--epj-gutter)) !important; aspect-ratio: 4 / 3; max-height: 58vh; }
  .epj-lead-img::before { background: linear-gradient(0deg, var(--wp--preset--color--night) 0%, transparent 45%); }
  .epj-lead-copy { padding-block: 8px 40px; padding-right: 0; }
  .epj-feature, .epj-grid4, .epj-grid3, .epj-desks, .epj-briefing .epj-wrap, .epj-footer .epj-wrap { grid-template-columns: minmax(0, 1fr); }
  .epj-brandrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding-block: 14px 12px; }
  .epj-right { display: contents; }
  .epj-brand { gap: 10px; }
  .epj-mark { font-size: 2.1rem; }
  .epj-words { font-size: 0.72rem; }
  .epj-words .j { font-size: 0.56rem; letter-spacing: 0.5em; margin-top: 3px; }
  .epj-subscribe { grid-column: 2; grid-row: 1; padding: 8px 12px; font-size: 0.7rem; letter-spacing: 0.12em; }
  .epj-tagline { grid-column: 1 / -1; grid-row: 2; font-size: 0.62rem; letter-spacing: 0.24em; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .epj-card .wp-block-post-featured-image img { transition: none; } .epj-card:hover .wp-block-post-featured-image img { transform: none; } }

/* Reset block-flow margins inside grids and bands */
.epj-home-grid > *, .epj-feature > *, .epj-lead-grid > *, .epj-article-body .epj-wrap > *, .epj-footer .epj-wrap > *, .epj-brandrow > *, .epj-briefing > *, .epj-masthead > *, .epj-lead > *, .epj-page-body > *, .epj-article-head > *, .epj-page-head > *, main > * { margin-block: 0 !important; }
.epj-home-main > * + *, .epj-rail > * + *, .epj-aside > * + * { margin-block-start: 0; }
.epj-main > * + * { margin-block-start: 0; }
.wp-block-post-featured-image a { display: block; height: 100%; }
.epj-lead-img img { height: 100% !important; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.epj-stack .epj-list { gap: 28px; }
.epj-desks-block { padding-top: 0; }
.wp-block-post-featured-image img { object-position: 50% 30%; }

/* ===== Logo: Oded's option No. 2 ("Modern Initials"), redrawn as SVG, Nov 3 2026. Undo = delete this block. ===== */
.epj-brand { display: block; flex: none; width: 193px; height: 58px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -12 413.4 124'%3E%3Cpath fill='%23F2F1EE' d='M0 0H67V17.5H18.5V41.5H62V58.5H18.5V82.5H67V100H0Z'/%3E%3Cpath fill='%23A8885C' fill-rule='evenodd' d='M76 0H111A32 32 0 0 1 111 64H94.5V100H76ZM94.5 18.5V45.5H111A13.5 13.5 0 0 0 111 18.5Z'/%3E%3Cpath fill='%23F2F1EE' d='M154.5 0H173V70.3A29.5 31 0 0 1 115.2 79H135.5A11 12.6 0 0 0 154.5 70.3Z'/%3E%3Crect fill='%23A8885C' x='193.9' y='-12' width='1.2' height='124'/%3E%3Cpath fill='%23F2F1EE' d='M215 32.3V8.98H231.46V12.8H219.51V18.5H230.06V22.32H219.51V28.48H231.64V32.3Z M233.32 32.3 240.77 20.05 234.03 8.98H239.35L243.77 16.63H243.94L248.35 8.98H253.35L246.63 20.03L254.1 32.3H248.8L243.65 23.46H243.46L238.34 32.3Z M256.54 32.3V8.98H273V12.8H261.05V18.5H271.6V22.32H261.05V28.48H273.18V32.3Z M286.16 32.71Q282.83 32.71 280.58 31.43Q278.32 30.15 277.18 27.48Q276.04 24.8 276.04 20.64Q276.04 14.48 278.68 11.53Q281.32 8.58 286.33 8.58Q289.05 8.58 291.13 9.56Q293.21 10.54 294.39 12.57Q295.58 14.6 295.58 17.75H291.07Q291.07 16.02 290.5 14.82Q289.93 13.62 288.86 12.99Q287.79 12.37 286.29 12.37Q284.38 12.37 283.13 13.21Q281.87 14.04 281.27 15.71Q280.67 17.38 280.67 19.89V21.42Q280.67 23.95 281.27 25.61Q281.86 27.27 283.1 28.09Q284.33 28.91 286.26 28.91Q287.82 28.91 288.93 28.31Q290.04 27.71 290.62 26.52Q291.21 25.33 291.21 23.58H295.57Q295.57 26.72 294.37 28.74Q293.18 30.76 291.06 31.73Q288.95 32.71 286.16 32.71Z M307.89 32.71Q305.11 32.71 303.1 31.8Q301.1 30.9 300.03 28.97Q298.95 27.03 298.95 24V8.98H303.46V24.03Q303.46 26.44 304.58 27.68Q305.71 28.92 307.88 28.92Q310.07 28.92 311.22 27.68Q312.37 26.44 312.37 24.03V8.98H316.88V24Q316.88 27.03 315.8 28.97Q314.72 30.9 312.71 31.8Q310.7 32.71 307.89 32.71Z M326.39 32.3V12.85H319.71V8.98H337.58V12.85H330.9V32.3Z M340.56 32.3V8.98H345.07V32.3Z M354.94 32.3 347.67 8.98H352.51L356.84 23.71Q356.97 24.17 357.12 24.81Q357.26 25.45 357.42 26.07Q357.57 26.69 357.68 27.17H357.87Q357.95 26.85 358.08 26.33Q358.21 25.8 358.36 25.13Q358.52 24.47 358.68 23.73L362.99 8.98H367.65L360.38 32.3Z M370.25 32.3V8.98H386.71V12.8H374.76V18.5H385.31V22.32H374.76V28.48H386.89V32.3Z M215 64.1V40.78H225.41Q227.9 40.78 229.47 41.71Q231.05 42.63 231.82 44.29Q232.59 45.96 232.59 48.22Q232.59 50.5 231.77 52.21Q230.95 53.93 229.33 54.88Q227.72 55.84 225.3 55.84H219.51V64.1ZM219.51 52.04H224.79Q226.39 52.04 227.21 51.03Q228.03 50.03 228.03 48.28Q228.03 47.04 227.67 46.22Q227.31 45.41 226.58 45Q225.86 44.59 224.71 44.59H219.51Z M235.55 64.1V40.78H246.35Q248.92 40.78 250.53 41.68Q252.14 42.58 252.9 44.18Q253.66 45.78 253.66 47.87Q253.66 50.14 252.77 51.87Q251.88 53.61 250.13 54.49L254.49 64.1H249.62L245.82 55.47H240.06V64.1ZM240.06 51.73H245.84Q247.46 51.73 248.27 50.75Q249.09 49.76 249.09 48.02Q249.09 46.88 248.73 46.12Q248.37 45.36 247.65 44.97Q246.92 44.58 245.78 44.58H240.06Z M267.17 64.51Q263.84 64.51 261.46 63.21Q259.09 61.91 257.84 59.23Q256.59 56.55 256.59 52.45Q256.59 48.32 257.84 45.65Q259.09 42.98 261.46 41.68Q263.84 40.38 267.17 40.38Q270.53 40.38 272.9 41.68Q275.27 42.98 276.51 45.65Q277.76 48.32 277.76 52.45Q277.76 56.55 276.51 59.23Q275.27 61.91 272.9 63.21Q270.53 64.51 267.17 64.51ZM267.17 60.71Q268.66 60.71 269.77 60.23Q270.88 59.75 271.63 58.8Q272.39 57.85 272.77 56.46Q273.15 55.06 273.15 53.23V51.69Q273.15 49.83 272.77 48.43Q272.39 47.02 271.63 46.08Q270.88 45.13 269.77 44.65Q268.66 44.17 267.17 44.17Q265.69 44.17 264.58 44.65Q263.46 45.13 262.71 46.08Q261.96 47.02 261.59 48.43Q261.22 49.83 261.22 51.69V53.23Q261.22 55.06 261.59 56.46Q261.96 57.85 262.71 58.8Q263.46 59.75 264.58 60.23Q265.69 60.71 267.17 60.71Z M286.49 64.1V44.65H279.81V40.78H297.68V44.65H291V64.1Z M300.66 64.1V40.78H317.12V44.6H305.18V50.3H315.72V54.12H305.18V60.28H317.31V64.1Z M330.29 64.51Q326.96 64.51 324.7 63.23Q322.45 61.95 321.31 59.28Q320.17 56.6 320.17 52.44Q320.17 46.28 322.81 43.33Q325.44 40.38 330.46 40.38Q333.17 40.38 335.25 41.36Q337.33 42.34 338.52 44.37Q339.7 46.4 339.7 49.55H335.19Q335.19 47.82 334.62 46.62Q334.05 45.42 332.98 44.79Q331.91 44.17 330.42 44.17Q328.51 44.17 327.25 45.01Q325.99 45.84 325.4 47.51Q324.8 49.18 324.8 51.69V53.22Q324.8 55.75 325.39 57.41Q325.99 59.07 327.22 59.89Q328.46 60.71 330.39 60.71Q331.94 60.71 333.05 60.11Q334.16 59.51 334.75 58.32Q335.34 57.13 335.34 55.38H339.69Q339.69 58.52 338.5 60.54Q337.3 62.56 335.19 63.53Q333.08 64.51 330.29 64.51Z M348.3 64.1V44.65H341.62V40.78H359.5V44.65H352.81V64.1Z M362.47 64.1V40.78H366.98V64.1Z M381.22 64.51Q377.89 64.51 375.52 63.21Q373.14 61.91 371.89 59.23Q370.64 56.55 370.64 52.45Q370.64 48.32 371.89 45.65Q373.14 42.98 375.52 41.68Q377.89 40.38 381.22 40.38Q384.59 40.38 386.95 41.68Q389.32 42.98 390.56 45.65Q391.81 48.32 391.81 52.45Q391.81 56.55 390.56 59.23Q389.32 61.91 386.95 63.21Q384.59 64.51 381.22 64.51ZM381.22 60.71Q382.71 60.71 383.82 60.23Q384.93 59.75 385.69 58.8Q386.44 57.85 386.82 56.46Q387.2 55.06 387.2 53.23V51.69Q387.2 49.83 386.82 48.43Q386.44 47.02 385.69 46.08Q384.93 45.13 383.82 44.65Q382.71 44.17 381.22 44.17Q379.74 44.17 378.63 44.65Q377.51 45.13 376.76 46.08Q376.01 47.02 375.64 48.43Q375.27 49.83 375.27 51.69V53.23Q375.27 55.06 375.64 56.46Q376.01 57.85 376.76 58.8Q377.51 59.75 378.63 60.23Q379.74 60.71 381.22 60.71Z M395.45 64.1V40.78H399.7L407.85 53.61Q408.01 53.83 408.23 54.22Q408.45 54.6 408.65 54.99Q408.85 55.38 408.94 55.66L409.11 55.66Q409.1 55.09 409.1 54.56Q409.1 54.02 409.1 53.61V40.78H413.4V64.1H409.18L400.95 51.12Q400.7 50.7 400.38 50.08Q400.07 49.46 399.9 49.03L399.74 49.04Q399.75 49.52 399.75 50.07Q399.75 50.62 399.75 51.12V64.1Z'/%3E%3Cpath fill='%23A8885C' d='M220.66 91.6Q218.87 91.6 217.6 91.03Q216.33 90.47 215.67 89.38Q215 88.29 215 86.65V85.81H217.75V86.71Q217.75 87.94 218.49 88.59Q219.23 89.25 220.66 89.25Q222.09 89.25 222.82 88.31Q223.56 87.37 223.56 85.6V74.3H226.34V85.54Q226.34 87.56 225.67 88.91Q225 90.26 223.74 90.93Q222.47 91.6 220.66 91.6Z M246.68 91.6Q244.03 91.6 242.11 90.63Q240.2 89.67 239.17 87.71Q238.15 85.76 238.15 82.8Q238.15 79.82 239.17 77.87Q240.2 75.93 242.11 74.97Q244.03 74 246.68 74Q249.35 74 251.26 74.97Q253.17 75.93 254.19 77.87Q255.21 79.82 255.21 82.8Q255.21 85.76 254.19 87.71Q253.17 89.67 251.26 90.63Q249.35 91.6 246.68 91.6ZM246.68 89.25Q248.03 89.25 249.08 88.87Q250.14 88.49 250.87 87.72Q251.6 86.96 251.99 85.8Q252.37 84.64 252.37 83.09V82.55Q252.37 80.98 251.99 79.81Q251.6 78.64 250.87 77.88Q250.14 77.11 249.08 76.73Q248.03 76.35 246.68 76.35Q245.33 76.35 244.28 76.73Q243.23 77.11 242.49 77.88Q241.76 78.64 241.39 79.81Q241.01 80.98 241.01 82.55V83.09Q241.01 84.64 241.39 85.8Q241.76 86.96 242.49 87.72Q243.23 88.49 244.28 88.87Q245.33 89.25 246.68 89.25Z M274.06 91.6Q271.87 91.6 270.29 90.89Q268.71 90.18 267.87 88.7Q267.02 87.21 267.02 84.93V74.3H269.79V85.01Q269.79 87.11 270.91 88.18Q272.03 89.24 274.06 89.24Q276.12 89.24 277.27 88.18Q278.42 87.11 278.42 85.01V74.3H281.18V84.93Q281.18 87.21 280.32 88.7Q279.47 90.18 277.88 90.89Q276.29 91.6 274.06 91.6Z M293.81 91.3V74.3H302.75Q304.57 74.3 305.76 74.94Q306.95 75.58 307.54 76.73Q308.14 77.88 308.14 79.42Q308.14 81.13 307.36 82.4Q306.59 83.67 305.18 84.27L308.73 91.3H305.71L302.49 84.74H296.58V91.3ZM296.58 82.41H302.52Q303.86 82.41 304.6 81.61Q305.34 80.81 305.34 79.42Q305.34 78.54 305.02 77.93Q304.69 77.33 304.07 77Q303.45 76.67 302.52 76.67H296.58Z M320.38 91.3V74.3H323.04L330.82 84.95Q330.95 85.11 331.13 85.38Q331.32 85.66 331.49 85.93Q331.67 86.2 331.75 86.38H331.87Q331.87 86.01 331.87 85.66Q331.87 85.3 331.87 84.95V74.3H334.54V91.3H331.97L324.12 80.51Q323.93 80.23 323.63 79.76Q323.33 79.3 323.17 79.05H323.05Q323.05 79.41 323.05 79.77Q323.05 80.13 323.05 80.51V91.3Z M345.39 91.3 352.06 74.3H355.6L362.29 91.3H359.3L357.79 87.37H349.74L348.23 91.3ZM350.63 85.02H356.88L354.98 80.03Q354.89 79.79 354.75 79.4Q354.61 79.02 354.45 78.54Q354.29 78.07 354.12 77.58Q353.96 77.09 353.82 76.7H353.68Q353.53 77.19 353.31 77.83Q353.09 78.47 352.88 79.07Q352.67 79.66 352.53 80.03Z M373.15 91.3V74.3H375.91V88.89H384.4V91.3Z'/%3E%3C/svg%3E") no-repeat left center / contain; }
.epj-brand > span { display: none; }
.epj-footer .epj-brand { justify-self: start; width: 133px; height: 40px; }
@media (max-width: 760px) {
  .epj-brand { width: 140px; height: 42px; }
}

/* ===== Motion (ASC-style), Nov 3 2026. Only active when site.js sets html.epj-motion. Undo = delete this block. ===== */
html.epj-motion .epj-rv { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); transition-delay: var(--epj-d, 0s); }
html.epj-motion .epj-rv.epj-in { opacity: 1; transform: none; }
html.epj-motion .epj-rv .wp-block-post-featured-image img, html.epj-motion .epj-rv.wp-block-image img, html.epj-motion .epj-rv > img { transform: scale(1.06); transition: transform 1.3s cubic-bezier(.22,.61,.36,1); transition-delay: var(--epj-d, 0s); }
html.epj-motion .epj-rv.epj-in .wp-block-post-featured-image img, html.epj-motion .epj-rv.epj-in.wp-block-image img, html.epj-motion .epj-rv.epj-in > img { transform: none; }
html.epj-motion .epj-prose .wp-block-image { overflow: hidden; }
html.epj-motion .epj-blockhead { position: relative; }
html.epj-motion .epj-blockhead::after { content: ""; position: absolute; left: 0; top: -3px; width: 100%; height: 3px; background: var(--wp--preset--color--gold); transform: scaleX(0); transform-origin: left center; transition: transform 1.1s cubic-bezier(.22,.61,.36,1) .15s; pointer-events: none; }
html.epj-motion .epj-blockhead.epj-line-in::after { transform: scaleX(1); }
html.epj-motion .epj-prose > h2 { position: relative; }
html.epj-motion .epj-prose > h2::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 48px; height: 2px; background: var(--wp--preset--color--gold); transform: scaleX(0); transform-origin: left center; transition: transform .9s cubic-bezier(.22,.61,.36,1) .25s; pointer-events: none; }
html.epj-motion .epj-prose > h2.epj-line-in::after { transform: scaleX(1); }
html.epj-motion .epj-lead-img, html.epj-motion .epj-article-fig { overflow: hidden; }
html.epj-motion .epj-lead-img img, html.epj-motion .epj-article-fig img { animation: epjPush 16s ease-out both; }
@keyframes epjPush { from { transform: scale(1); } to { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { html.epj-motion .epj-rv { opacity: 1; transform: none; transition: none; } html.epj-motion .epj-lead-img img, html.epj-motion .epj-article-fig img { animation: none; } }
