@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&family=Source+Serif+4:ital,wght@0,400;0,500;0,700;1,400&family=Source+Sans+3:wght@400;500&display=swap');
/* Erblin Vukaj: newspaper presentation for the existing Gema theme.
   No content, URLs, publication dates, plugins, or theme templates are changed.
   The approved #ev-home and #ev-reprint designs keep their own layout rules. */
body.wp-theme-gema {
  --ev-paper:#111110; --ev-ink:#f7f7f2; --ev-yellow:#f2da7b;
  --ev-muted:#d5d5ce; --ev-rule:#77746c;
  background-color:var(--ev-paper)!important; color:var(--ev-ink);
  background-image:radial-gradient(rgba(255,255,255,.035) .65px,transparent .75px),repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(255,255,255,.012) 4px);
  background-size:5px 5px,100% 4px;
}
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) { font:18px/1.75 'Source Serif 4',Georgia,serif; opacity:1!important; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #page { background:transparent; display:block; width:100%; max-width:none; margin:0; padding:0; transform:none; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(#content,#primary,#main) { display:block; float:none; width:100%; max-width:none; min-width:0; margin:0; padding:0; box-sizing:border-box; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #content { max-width:1120px; margin:0 auto; padding:0 36px; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(h1,h2,h3,h4,h5,h6) {
  color:var(--ev-yellow); font-family:'Source Serif 4',Georgia,serif;
  font-weight:400; text-transform:none; letter-spacing:normal; line-height:1.3;
  text-decoration:underline; text-decoration-color:var(--ev-yellow); text-decoration-thickness:1.5px; text-underline-offset:.16em;
  overflow-wrap:break-word; hyphens:none; -webkit-hyphens:none;
}
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(p,li) { hyphens:none; -webkit-hyphens:none; word-break:normal; overflow-wrap:break-word; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(.entry-content,.comment__content) p { color:inherit; font:inherit; margin:0 0 1.2em; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(.entry-content,.comment__content,.entry-meta,.entry-footer,.post-navigation,.archive-navigation,.widget) a {
  color:#17170f!important; background:var(--ev-yellow); text-decoration:underline;
  text-underline-offset:.14em; box-decoration-break:clone; -webkit-box-decoration-break:clone; overflow-wrap:anywhere;
}
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(h1,h2,h3,h4,h5,h6) a { color:var(--ev-yellow)!important; background:transparent; text-decoration:inherit; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(a,button,input,textarea,select,summary):focus-visible { outline:2px solid var(--ev-ink); outline-offset:4px; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) ::selection { color:#17170f; background:var(--ev-yellow); }

/* A permanently visible, wrapping navigation replaces the theme's mobile overlay.
   Set Primary Menu to the approved five links in WordPress before release. */
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #masthead { display:flex; flex-direction:column; align-items:center; position:static; float:none; transform:none; opacity:1!important; visibility:visible; overflow:visible; width:100%; max-width:1120px; margin:0 auto 24px; padding:12px 36px 0; border:0; box-sizing:border-box; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #masthead .site-branding { width:auto; max-width:100%; margin:0 0 10px; padding:0; text-align:center; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #masthead .site-branding:has(.site-title a span:empty):not(:has(img)) { display:none; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #masthead .site-title { font:400 clamp(38px,6vw,56px)/1.15 'Libre Caslon Display',Georgia,serif; margin:0; padding:0; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #masthead .site-title a { color:var(--ev-ink); background:transparent; text-decoration:none; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #site-navigation { display:block!important; position:static!important; transform:none!important; width:100%; max-width:100%; height:auto!important; max-height:none; margin:0; padding:0; overflow:visible; background:transparent; opacity:1; visibility:visible; text-transform:none; font:14px/1.4 'Source Sans 3',Arial,sans-serif; border-bottom:1px solid var(--ev-rule); }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #primary-menu { font:inherit; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:2px 8px; width:100%; margin:0; padding:0 0 8px; list-style:none; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #primary-menu > li { display:block; width:auto; margin:0; padding:0; line-height:1.4; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #primary-menu a { display:inline-flex; align-items:center; min-height:44px; padding:7px 6px; box-sizing:border-box; font:inherit; color:var(--ev-ink); background:transparent; text-decoration:none; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #primary-menu a:is(:hover,:focus-visible) { background:var(--ev-yellow); color:#17170f; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #primary-menu::before,body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #primary-menu::after,body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #primary-menu a::before,body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #primary-menu a::after { content:none; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #primary-menu .current-menu-item > a { text-decoration:underline; text-underline-offset:5px; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(.mobile-header-wrapper,#site-navigation .menu-toggle,#secondary .sidebar-toggle) { display:none!important; }

/* Native posts/pages: remove Gema's overlapping white title panel without
   hiding the native title, featured image, byline, date, or article content. */
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))).singular #main > .hentry { display:flex; flex-direction:column; width:100%; max-width:800px; margin:0 auto; padding:0; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))).singular .entry-header { order:-1; position:static!important; transform:none!important; float:none; width:100%; max-width:none; margin:0 0 24px!important; padding:0 0 22px; border:0; border-bottom:3px double var(--ev-rule); background:transparent; text-align:left; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))).singular .entry-header::after { content:none; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))).singular .entry-title { font-size:clamp(30px,4.5vw,44px); line-height:1.3; margin:0 0 16px; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))).singular .entry-featured { position:static!important; float:none!important; display:block; min-height:0; width:100%; max-width:100%!important; margin:0 0 26px!important; padding:0; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))).singular .entry-featured img { display:block; width:auto; max-width:100%; height:auto; margin:auto; filter:none!important; -webkit-filter:none!important; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))).singular :is(.post__content,.entry-content) { width:100%; max-width:none; min-width:0; float:none; margin:0; padding:0; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))).singular .entry-content > * { max-width:100%; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content :is(h2,h3,h4,h5,h6) { margin:1.3em 0 .65em; scroll-margin-top:24px; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content h2 { font-size:30px; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content h3 { font-size:25px; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(.entry-meta,.entry-meta .cat-links,.entry-meta .byline,.entry-meta .author,.entry-meta .posted-on,.entry-footer,.wp-caption-text,figcaption,.comment-metadata) { color:var(--ev-muted); font:14px/1.6 'Source Sans 3',Arial,sans-serif; text-transform:none; letter-spacing:normal; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content :is(img,video,iframe,object,embed,figure,.wp-caption) { max-width:100%; box-sizing:border-box; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content :is(img,video) { height:auto; filter:none!important; -webkit-filter:none!important; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content :is(.alignleft,.alignright,.aligncenter) { max-width:100%; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content a:has(img) { background:transparent; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content :is(blockquote,.wp-block-pullquote) { color:var(--ev-ink); background:none; border:0; border-left:2px solid var(--ev-yellow); max-width:100%; padding:0 0 0 22px; margin:28px 0; font-weight:400; text-transform:none; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content :is(blockquote,.wp-block-pullquote) p { font:inherit; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(.entry-content,.comment__content) li::before { color:var(--ev-ink); }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content :is(pre,code) { color:var(--ev-ink); background:#20201f; overflow:auto; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content table { display:block; max-width:100%; overflow-x:auto; border-color:var(--ev-rule); }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content :is(th,td) { color:inherit; border-color:var(--ev-rule); }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(.post-navigation,.comments-area) { width:100%; max-width:800px; margin:32px auto 0; padding:24px 0 0; border-top:1px solid var(--ev-rule); box-sizing:border-box; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(.post-navigation .nav-links,.comments-area > *) { max-width:100%; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .post-navigation .nav-links { display:flex; flex-wrap:wrap; gap:20px; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .post-navigation .nav-links > * { min-width:0; flex:1 1 220px; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #commentform { max-width:100%; width:100%; margin:0; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(input,textarea,select) { max-width:100%; box-sizing:border-box; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(input[type="text"],input[type="email"],input[type="url"],input[type="search"],textarea,select) { color:var(--ev-ink); background:#20201f; border:1px solid var(--ev-rule); padding:10px; font:16px/1.5 'Source Sans 3',Arial,sans-serif; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(input,textarea)::placeholder { color:var(--ev-muted); opacity:1; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(input[type="submit"],button[type="submit"],.more-link,#infinite-handle button) { min-height:44px; color:#17170f; background:var(--ev-yellow); border:1px solid var(--ev-yellow); padding:10px 16px; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .sd-content a.sd-button { color:#17170f!important; background:var(--ev-yellow)!important; border-color:var(--ev-yellow)!important; }

/* Archive/category/search results retain their native links and pagination.
   Flatten only masonry wrappers, keeping all results in a readable one-column
   newspaper index. No lazy-image media wrapper or caption is hidden. */
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main > .grid { display:block!important; width:100%!important; max-width:100%; margin:0; opacity:1!important; overflow:visible; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main > .grid .bricklayer-column { display:contents; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main > .grid .grid__item { width:100%!important; max-width:800px; margin:0 auto 30px!important; padding:0!important; box-sizing:border-box; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main .header #masthead { padding-left:0; padding-right:0; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main .card { max-width:800px; margin:0 auto 30px!important; padding:0!important; background:transparent; text-align:left; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main :is(.card__mask,.card__hover,.card__wrap,.card__title,.card-title-wrap,.card__meta) { position:static!important; transform:none!important; opacity:1!important; background:transparent; border:0; box-shadow:none; width:auto; max-width:100%; margin:0!important; padding:0; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main .card__wrap { padding:0 0 24px; border-bottom:1px solid #494841; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main :is(.card__wrap,.card__shadow)::before,body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main :is(.card__wrap,.card__shadow)::after { content:none; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main .card__image { padding:0; border:0; background:transparent; margin:0 0 18px; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main .card-title-wrap { line-height:1.6; text-align:left; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main .card__title h2 { margin:0 0 14px; font-size:clamp(25px,3.5vw,34px); text-align:left; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main .card__title a { color:var(--ev-yellow)!important; background:transparent; text-decoration:underline; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main .card__meta { font:13px/1.6 'Source Sans 3',Arial,sans-serif; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main .card__meta a { color:#17170f!important; background:var(--ev-yellow); }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main .archive-title { font-size:clamp(30px,5vw,44px); margin:12px 0 24px; text-align:left; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))):not(.singular) #main .archive-title span { white-space:normal; word-break:normal; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .archive-navigation { display:block!important; max-width:800px; margin:24px auto; padding:20px 0; border-top:1px solid var(--ev-rule); }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .archive-navigation .nav-links { display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .archive-navigation a { display:inline-block; min-height:44px; padding:8px; box-sizing:border-box; }

/* Existing sidebar resources remain accessible below the reading column. */
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #secondary { position:static!important; transform:none!important; float:none; height:auto!important; width:100%; max-width:800px; margin:40px auto 0; padding:24px 0; overflow:visible; background:transparent; color:var(--ev-ink); border-top:3px double var(--ev-rule); box-sizing:border-box; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #secondary .widget { margin:0 0 26px; max-width:100%; }
body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #secondary .widget__title { font-size:23px; }

/* Restore, rather than remove, the theme footer on the two embedded layouts.
   WordPress credit and any present/future legal or privacy links stay visible. */
body.wp-theme-gema #colophon,body.wp-theme-gema:has(#ev-home) #colophon,body.wp-theme-gema:has(#ev-reprint) #colophon { display:flex!important; position:static; flex-direction:column; align-items:flex-start; gap:16px; width:100%; max-width:1120px; margin:30px auto 0; padding:22px 36px 28px; color:var(--ev-muted); background:transparent; border-top:1px solid var(--ev-rule); box-sizing:border-box; font:13px/1.6 'Source Sans 3',Arial,sans-serif; }
body.wp-theme-gema #colophon > * { flex-basis:auto; max-width:100%; }
body.wp-theme-gema #colophon a { color:#17170f; background:var(--ev-yellow); text-decoration:underline; text-underline-offset:.14em; }
body.wp-theme-gema #footer-menu ul { display:flex; flex-wrap:wrap; gap:8px 20px; list-style:none; padding:0; margin:0; }
body.wp-theme-gema #footer-menu li { margin:0; padding:0; }
body.wp-theme-gema #footer-menu a { display:inline-flex; align-items:center; min-height:44px; padding:4px; box-sizing:border-box; }
body.wp-theme-gema #colophon a:focus-visible { outline:2px solid var(--ev-ink); outline-offset:4px; }

/* Documentary images stay in colour. The existing homepage's own
   grayscale(1) sepia(.16) rule remains confined to its lead/card photographs. */
@media(max-width:600px) {
  body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #content { padding:0 18px; }
  body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #masthead { padding:12px 18px 0; }
  body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content h2 { font-size:27px; }
  body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content h3 { font-size:24px; }
  body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) .entry-content :is(.alignleft,.alignright) { float:none; margin-left:0; margin-right:0; }
  body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(.post-navigation,.comments-area) { margin-top:24px; }
  body.wp-theme-gema #colophon,body.wp-theme-gema:has(#ev-home) #colophon,body.wp-theme-gema:has(#ev-reprint) #colophon { padding:20px 18px 26px; }
}
@media(max-width:480px) {
  body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #content { padding:0 16px; }
  body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #masthead { padding:12px 16px 0; margin-bottom:20px; }
  body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #site-navigation { font-size:13px; }
  body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #primary-menu { gap:0 4px; }
  body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) #primary-menu a { padding:6px 4px; }
}
@media(prefers-reduced-motion:reduce) {
  body.wp-theme-gema:not(:has(#ev-home)):not(:has(#ev-reprint)):not(:has(:where(#ev-page))) :is(.card__mask,.card__hover,.card__wrap,.card-title-wrap,.card__meta) { transition:none!important; animation:none!important; }
}

/* Article spacing and citation links, 7 October 2026. */
body.wp-theme-gema.single-post .entry-content > p,
body.wp-theme-gema.single-post .entry-content #ev-reprint > p:not(.meta):not([style*="font"]) {
  margin-top:0!important;
  margin-bottom:1em!important;
}
body.wp-theme-gema.single-post #page #content .entry-content a.ev-body-link {
  color:#fff!important;
  background-color:rgba(242,218,123,.28)!important;
  font-weight:700!important;
  text-decoration:underline;
  text-decoration-color:#f2da7b;
  text-underline-offset:.14em;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
  overflow-wrap:anywhere;
}
body.wp-theme-gema.single-post #page #content .entry-content a.ev-body-link :is(span,mark,strong,b,em,i) {
  color:inherit!important;
  background:transparent!important;
  font-weight:inherit!important;
}
body.wp-theme-gema.single-post #page #content .entry-content a.ev-body-link:hover {
  background-color:rgba(242,218,123,.38)!important;
}
body.wp-theme-gema.single-post #page #content .entry-content a.ev-body-link:focus-visible {
  outline:2px solid #f2da7b;
  outline-offset:3px;
}

/* Contact CTA shared by original articles and attributed republications. */
body .entry-content .ev-tip-cta,body #ev-reprint .ev-tip-cta{clear:both;border-top:3px double #77746c;margin-top:40px;padding-top:24px;max-width:100%;}
body .entry-content .ev-tip-cta h2,body #ev-reprint .ev-tip-cta h2{font-size:clamp(25px,5vw,32px);line-height:1.3;margin:0 0 14px;}
body .entry-content .ev-tip-cta p,body #ev-reprint .ev-tip-cta p{font-size:17px;line-height:1.65;margin:0 0 14px;word-spacing:normal;white-space:normal;}
body .entry-content .ev-tip-cta p.meta,body #ev-reprint .ev-tip-cta p.meta{font:14px/1.6 'Source Sans 3',Arial,sans-serif;color:#d5d5ce;}
body #ev-reprint .reading-nav{gap:2px 8px;font-size:15px;}
body #ev-reprint .reading-nav a{min-height:44px;padding:8px;}
@media(max-width:480px){body #ev-reprint .reading-nav{font-size:14px;gap:0 4px;}body #ev-reprint .reading-nav a{padding:7px;}}

/* Six clear navigation targets at phone width; keep older page comments contained. */
body:has(#ev-page) .comments-area,body:has(#ev-page) #commentform{box-sizing:border-box!important;width:calc(100% - 32px)!important;max-width:760px!important;margin:32px auto!important;}
body:has(#ev-page) #commentform input,body:has(#ev-page) #commentform textarea{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;}
#ev-page .ev-contact-form .required{color:#f2da7b!important;}
@media(max-width:480px){body #ev-home-nav,body #ev-page-nav,body #ev-reprint .reading-nav,body.wp-theme-gema #primary-menu{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 4px!important;font-size:14px!important;}body #ev-home-nav a,body #ev-page-nav a,body #ev-reprint .reading-nav a,body.wp-theme-gema #primary-menu a{justify-content:center;min-height:44px!important;text-align:center;padding:7px!important;}body.wp-theme-gema #primary-menu a{width:100%;}}

/* Extend the approved article citation-link treatment to marked page prose only.
   Markers exclude navigation, linked headings/cards, dossier lists and local jumps. */
body.wp-theme-gema.page #page #content .entry-content a.ev-body-link {
  color:#fff!important;
  background-color:rgba(242,218,123,.28)!important;
  font-weight:700!important;
  text-decoration:underline;
  text-decoration-color:#f2da7b;
  text-underline-offset:.14em;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
  overflow-wrap:anywhere;
}
body.wp-theme-gema.page #page #content .entry-content a.ev-body-link :is(span,mark,strong,b,em,i) {
  color:inherit!important;
  background:transparent!important;
  font-weight:inherit!important;
}
body.wp-theme-gema.page #page #content .entry-content a.ev-body-link:hover {
  background-color:rgba(242,218,123,.38)!important;
}
body.wp-theme-gema.page #page #content .entry-content a.ev-body-link:focus-visible {
  outline:2px solid #f2da7b;
  outline-offset:3px;
}

/* The primary menu stays on one line; Archive and Send a tip remain in the footer. */
@media(max-width:480px){
 body #ev-home-nav:has(> a:nth-child(4):last-child),body #ev-page-nav:has(> a:nth-child(4):last-child),body #ev-reprint .reading-nav:has(> a:nth-child(4):last-child),body.wp-theme-gema #primary-menu:has(> li:nth-child(4):last-child){display:flex!important;flex-wrap:nowrap!important;justify-content:center!important;align-items:center!important;gap:0 2px!important;font-size:14px!important;}
 body #ev-home-nav:has(> a:nth-child(4):last-child) a,body #ev-page-nav:has(> a:nth-child(4):last-child) a,body #ev-reprint .reading-nav:has(> a:nth-child(4):last-child) a,body.wp-theme-gema #primary-menu:has(> li:nth-child(4):last-child) a{display:inline-flex!important;justify-content:center!important;align-items:center!important;white-space:nowrap!important;min-height:44px!important;min-width:44px!important;padding:7px 4px!important;text-align:center;box-sizing:border-box;}
 body.wp-theme-gema #primary-menu:has(> li:nth-child(4):last-child) > li{flex:0 0 auto!important;width:auto!important;}
 body.wp-theme-gema #primary-menu:has(> li:nth-child(4):last-child) a{width:auto!important;}
}


/* Contrast repair for Jetpack share buttons below republications.
   Jetpack controls only; added 2026-10-07. */
body.wp-theme-gema.single-post:has(#ev-reprint) #page #content .sharedaddy .sd-content a.sd-button {
  color:#fff!important;
  background:rgba(242,218,123,.28)!important;
  border-color:#77746c!important;
  font-weight:700!important;
  text-decoration:underline;
  text-underline-offset:.14em;
}
body.wp-theme-gema.single-post:has(#ev-reprint) #page #content .sharedaddy .sd-content a.sd-button > span:not([hidden]) {
  color:inherit!important;
  font-weight:inherit!important;
}
body.wp-theme-gema.single-post:has(#ev-reprint) #page #content .sharedaddy .sd-content a.sd-button::before {
  color:inherit!important;
}
body.wp-theme-gema.single-post:has(#ev-reprint) #page #content .sharedaddy .sd-content a.sd-button:hover {
  color:#fff!important;
  background:rgba(242,218,123,.38)!important;
}
body.wp-theme-gema.single-post:has(#ev-reprint) #page #content .sharedaddy .sd-content a.sd-button:focus-visible {
  outline:2px solid #f2da7b;
  outline-offset:3px;
}

/* White newspaper headings and matching footer navigation, 7 October 2026. */
body.wp-theme-gema #page #content #main :is(h1,h2,h3,h4,h5,h6),
body.wp-theme-gema #page #secondary :is(h1,h2,h3,h4,h5,h6),
body.wp-theme-gema #page #content #main :is(#ev-home,#ev-page) summary {
  color:#fff!important;
  text-decoration-line:underline!important;
  text-decoration-color:#f2da7b!important;
  text-decoration-thickness:1.5px!important;
  text-underline-offset:.16em;
}
body.wp-theme-gema #page #content #main :is(h1,h2,h3,h4,h5,h6) a,
body.wp-theme-gema #page #content #main :is(h1,h2,h3,h4,h5,h6) a:visited {
  color:#fff!important;
  background:transparent!important;
  text-decoration-line:underline!important;
  text-decoration-color:#f2da7b!important;
  text-decoration-thickness:1.5px!important;
  text-underline-offset:.16em;
}
body.wp-theme-gema #page #content #main .ev-name,
body.wp-theme-gema #page #content #main .ev-name a {
  color:#fff!important;
  background:transparent!important;
  text-decoration:none!important;
}
body.wp-theme-gema #page #content #main .ev-name a:focus-visible {
  outline:2px solid #f2da7b;
  outline-offset:5px;
}
body.wp-theme-gema.page #page #content .entry-content #ev-home #selected > p > a.ev-body-link {
  font-weight:400!important;
}
body.wp-theme-gema #colophon #footer-menu {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:2px 8px;
  margin:0;
  padding:0;
  list-style:none;
  font:400 15px/1.4 'Source Sans 3',Arial,sans-serif;
  text-transform:none!important;
  letter-spacing:normal;
}
body.wp-theme-gema #colophon #footer-menu li {
  margin:0;
  padding:0;
}
body.wp-theme-gema #colophon #footer-menu a,
body.wp-theme-gema #colophon #footer-menu a:visited {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  min-height:44px;
  padding:8px;
  font:inherit;
  letter-spacing:normal;
  text-transform:none!important;
  white-space:nowrap;
  color:#fff!important;
  background:transparent!important;
  text-decoration:none;
}
body.wp-theme-gema #colophon #footer-menu :is(.current-menu-item,.current_page_item) > a,
body.wp-theme-gema #colophon #footer-menu a[aria-current="page"] {
  text-decoration-line:underline;
  text-decoration-color:#fff;
  text-decoration-thickness:1px;
  text-underline-offset:5px;
}
body.wp-theme-gema #colophon #footer-menu a:is(:hover,:focus-visible) {
  color:#17170f!important;
  background:#f2da7b!important;
}
body.wp-theme-gema #colophon #footer-menu a:focus-visible {
  outline:2px solid #fff;
  outline-offset:4px;
}
body.wp-theme-gema #colophon #footer-menu a::before,
body.wp-theme-gema #colophon #footer-menu a::after {
  content:none;
}
@media(max-width:480px) {
  body.wp-theme-gema #colophon #footer-menu {font-size:14px;gap:0 4px}
  body.wp-theme-gema #colophon #footer-menu a {padding:7px}
}

/* Article contents headings and scoped chronology alignment, 7 October 2026. */
body.wp-theme-gema #page #content #main #ev-reprint details.toc a,
body.wp-theme-gema #page #content #main #ev-reprint details.toc a:visited,
body.wp-theme-gema #page #content #main #ev-reprint details.toc a:hover,
body.wp-theme-gema #page #content #main #ev-reprint details.toc a:focus {
  color:#fff!important;
  background:transparent!important;
  text-decoration-line:underline!important;
  text-decoration-color:#f2da7b!important;
  text-decoration-thickness:1.5px!important;
  text-underline-offset:.16em;
}
body.wp-theme-gema #page #content #main #ev-reprint details.toc a:focus-visible {
  outline:2px solid #f2da7b;
  outline-offset:4px;
}
body.wp-theme-gema #page #content #main #ev-reprint > ul.ev-chronology {
  margin-inline:0!important;
  padding-inline:0!important;
}


/* Additional article contents modules, 7 October 2026. Scoped to the new modules. */
body.wp-theme-gema #page #content #main details.ev-article-toc {
  box-sizing:border-box;
  max-width:100%;
  border-top:1px solid #77746c;
  border-bottom:1px solid #77746c;
  padding:14px 0;
  margin:24px 0;
  color:#efede7;
  background:transparent;
}
body.wp-theme-gema #page #content #main details.ev-article-toc summary {
  display:list-item;
  cursor:pointer;
  color:#efede7;
  font:16px/1.6 Arial,sans-serif;
  min-height:44px;
  padding:9px 0;
  box-sizing:border-box;
}
body.wp-theme-gema #page #content #main details.ev-article-toc ul {
  list-style:disc;
  margin:12px 0 0;
  padding:0 0 0 24px;
  max-width:100%;
  box-sizing:border-box;
}
body.wp-theme-gema #page #content #main details.ev-article-toc li {
  margin:12px 0;
  padding:0;
  line-height:1.6;
}
body.wp-theme-gema #page #content #main details.ev-article-toc li::before {content:none!important;}
body.wp-theme-gema #page #content #main details.ev-article-toc a,
body.wp-theme-gema #page #content #main details.ev-article-toc a:visited,
body.wp-theme-gema #page #content #main details.ev-article-toc a:hover,
body.wp-theme-gema #page #content #main details.ev-article-toc a:focus,
body.wp-theme-gema #page #content #main details.ev-article-toc a strong {
  color:#fff!important;
  background:transparent!important;
  font-weight:700;
  text-decoration-line:underline!important;
  text-decoration-color:#f2da7b!important;
  text-decoration-thickness:1.5px!important;
  text-underline-offset:.16em;
  overflow-wrap:anywhere;
  word-break:normal;
}
body.wp-theme-gema #page #content #main details.ev-article-toc a:focus-visible,
body.wp-theme-gema #page #content #main details.ev-article-toc summary:focus-visible {
  outline:2px solid #f2da7b;
  outline-offset:4px;
}
body.wp-theme-gema #page #content #main .ev-toc-heading {
  color:#efede7;
  line-height:1.3;
  font-size:28px;
  margin:28px 0 14px;
  text-transform:none;
  letter-spacing:normal;
  hyphens:none;
  -webkit-hyphens:none;
  overflow-wrap:break-word;
}
body.wp-theme-gema #page #content #main :is(h1,h2,h3,h4,h5,h6,p)[id] {scroll-margin-top:90px;}
@media(max-width:600px){
  body.wp-theme-gema #page #content #main .ev-toc-heading {font-size:25px;}
}

/* Hide public link notifications; keep genuine reader comments and replies. */
body.wp-theme-gema .comment-list > li:is(.pingback,.trackback):not(:has(li.comment)) {
  display:none!important;
}
body.wp-theme-gema .comment-list > li:is(.pingback,.trackback):has(li.comment) > article {
  display:none!important;
}

/* Uniform high-contrast Jetpack sharing controls on every article and page. */
body.wp-theme-gema:is(.single-post,.page) #page #content #main .sharedaddy .sd-content a.sd-button,
body.wp-theme-gema:is(.single-post,.page) #page #content #main .sharedaddy .sd-content a.sd-button:visited {
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  min-width:44px;
  min-height:44px;
  padding:8px!important;
  gap:6px;
  color:#fff!important;
  background:#20201f!important;
  border:1px solid #aaa!important;
  border-radius:3px;
  box-shadow:none!important;
  text-decoration:none!important;
  opacity:1!important;
}
body.wp-theme-gema:is(.single-post,.page) #page #content #main .sharedaddy .sd-content a.sd-button::before,
body.wp-theme-gema:is(.single-post,.page) #page #content #main .sharedaddy .sd-content a.sd-button > span:not([hidden]) {
  color:#fff!important;
}
body.wp-theme-gema:is(.single-post,.page) #page #content #main .sharedaddy .sd-content a.sd-button::before {
  font-size:20px;
  line-height:1;
  top:0;
}
body.wp-theme-gema:is(.single-post,.page) #page #content #main .sharedaddy .sd-content a.sd-button svg,
body.wp-theme-gema:is(.single-post,.page) #page #content #main .sharedaddy .sd-content a.sd-button svg path {
  color:#fff!important;
  fill:currentColor!important;
}
body.wp-theme-gema:is(.single-post,.page) #page #content #main .sharedaddy .sd-content a.sd-button:is(:hover,:focus-visible) {
  color:#fff!important;
  background:#30302e!important;
  border-color:#f2da7b!important;
  opacity:1!important;
}
body.wp-theme-gema:is(.single-post,.page) #page #content #main .sharedaddy .sd-content a.sd-button:focus-visible {
  outline:2px solid #f2da7b!important;
  outline-offset:4px;
}

/* Gema list markers are not part of Jetpack sharing controls. */
body.wp-theme-gema #page #content #main .sharedaddy .sd-content ul,
body.wp-theme-gema #page #content #main .sharedaddy .sd-content ul > li {
  list-style:none!important;
}
body.wp-theme-gema #page #content #main .sharedaddy .sd-content ul > li::before,
body.wp-theme-gema #page #content #main .sharedaddy .sd-content ul > li::after {
  content:none!important;
}

/* Audit repair: legible legacy sidebar cards, retaining navigation and links. */
body.wp-theme-gema #secondary :is(#blog-stats-6,#wpcom_instagram_widget-5) {
  background:#20201f!important;
  color:#fff!important;
}
body.wp-theme-gema #secondary :is(#blog-stats-6,#wpcom_instagram_widget-5) :is(h2,p,ul,li,span,a) {
  color:#fff!important;
}
body.wp-theme-gema #secondary :is(#blog-stats-6,#wpcom_instagram_widget-5) a:focus-visible {
  outline:2px solid #f2da7b;
  outline-offset:4px;
}

/* Do not announce a reader discussion when its only entries are hidden link notifications. */
body.wp-theme-gema #comments:has(.comment-list):not(:has(.comment-list li.comment)) > .comments-title {
  display:none!important;
}

/* Legacy sidebar cards share one dark surface; native highlighted links remain unchanged. */
body.wp-theme-gema #page #secondary .widget {
  background-color:#20201f!important;
  color:#fff;
}

/* Homepage photo captions hidden at the author’s request, 8 October 2026. */
body.page-id-3234 #ev-home figcaption,
body.page-id-911342 #ev-home figcaption {
  display:none!important;
}


/* Uniform editorial title family and weight, 8 October 2026.
   Source Serif 4 Bold / 700, subject to final user approval.
   Keep all layout, size, line-height, body, navigation and control rules. */
body.wp-theme-gema #page #content #main :is(#ev-home,#ev-page,#ev-reprint) :is(h1,h2,h3,h4,h5,h6):not(.ev-featured-label),
body.wp-theme-gema #page #content #main .entry-title,
body.wp-theme-gema #page #content #main .card__title :is(h1,h2,h3,h4,h5,h6),
body.wp-theme-gema.single-post:not(:has(#ev-reprint)) #page #content #main .entry-content :is(h1,h2,h3,h4,h5,h6):not(.sd-title,.jp-relatedposts-headline,.screen-reader-text),
body.wp-theme-gema.single-post #page #content #main .ev-toc-heading {
  font-family:'Source Serif 4',Georgia,serif!important;
  font-style:normal!important;
  font-weight:700!important;
}

/* Preserve semantic markup without letting nested bold restore a heavier face. */
body.wp-theme-gema #page #content #main :is(#ev-home,#ev-page,#ev-reprint) :is(h1,h2,h3,h4,h5,h6):not(.ev-featured-label) :is(a,span,strong,b,em,i),
body.wp-theme-gema #page #content #main .entry-title :is(a,span,strong,b,em,i),
body.wp-theme-gema #page #content #main .card__title :is(h1,h2,h3,h4,h5,h6) :is(a,span,strong,b,em,i),
body.wp-theme-gema.single-post:not(:has(#ev-reprint)) #page #content #main .entry-content :is(h1,h2,h3,h4,h5,h6):not(.sd-title,.jp-relatedposts-headline,.screen-reader-text) :is(a,span,strong,b,em,i),
body.wp-theme-gema.single-post #page #content #main .ev-toc-heading :is(a,span,strong,b,em,i) {
  font-family:inherit!important;
  font-style:inherit!important;
  font-weight:inherit!important;
}

/* Existing brand text only; do not create, resize or relink any masthead. */
body.wp-theme-gema #page #content #main :is(#ev-home,#ev-page,#ev-reprint) .ev-name,
body.wp-theme-gema #page #masthead .site-title,
body.wp-theme-gema #page #content #main #ev-page .page-topline > a {
  font-family:'Source Serif 4',Georgia,serif!important;
  font-style:normal!important;
  font-weight:700!important;
}
body.wp-theme-gema #page #content #main :is(#ev-home,#ev-page,#ev-reprint) .ev-name a,
body.wp-theme-gema #page #masthead .site-title a,
body.wp-theme-gema #page #masthead .site-title a span {
  font-family:inherit!important;
  font-style:inherit!important;
  font-weight:inherit!important;
}
body.wp-theme-gema #page #content #main :is(#ev-home,#ev-page,#ev-reprint) .ev-name a,
body.wp-theme-gema #page #masthead .site-title a,
body.wp-theme-gema #page #content #main #ev-page .page-topline > a {
  color:#fff!important;
  background:transparent!important;
  text-decoration-line:underline!important;
  text-decoration-color:#f2da7b!important;
  text-decoration-thickness:1.5px!important;
  text-underline-offset:.16em;
  text-decoration-skip-ink:auto;
}
