/*
Theme Name: Jon Domingues HQ (Independente)
Theme URI: https://jondomingues.com/
Author: Jon Domingues
Description: Proposta independente para avaliação visual e homologação, integrada ao catálogo WordPress existente.
Version: 0.2.12
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: jon-domingues-hq
*/

:root {
	color-scheme: dark;
	--jd-bg: #11100f;
	--jd-surface: #1a1917;
	--jd-raised: #211f1c;
	--jd-line: #35312d;
	--jd-ink: #f7f2ea;
	--jd-muted: #aaa39a;
	--jd-orange: #f47a38;
	--jd-soft: #ffad77;
	--jd-page: 1180px;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--jd-bg); color: var(--jd-ink); line-height: 1.55; }
body, button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { color: inherit; }
:focus-visible { outline: 2px solid var(--jd-soft); outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); border-radius: 8px; background: var(--jd-orange); color: #21120b; }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid #ffffff12; background: #11100fee; backdrop-filter: blur(14px); }
.nav-wrap { width: min(var(--jd-page), calc(100% - 40px)); min-height: 76px; margin-inline: auto; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 210px; margin-right: auto; font-weight: 850; letter-spacing: -.045em; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border: 1px solid #ffffff30; border-radius: 13px 13px 13px 4px; color: var(--jd-soft); background: linear-gradient(145deg,#4b2c1c,#1c1713 70%); font: 900 23px Georgia,serif; }
.custom-logo-link { display: inline-flex; flex: 0 0 auto; align-items: center; }
.custom-logo { display: block; width: auto; max-width: 48px; max-height: 48px; object-fit: contain; }
.brand-name { font-size: 16px; line-height: 1.05; }
.brand-name small { display: block; margin-top: 5px; color: var(--jd-muted); font-size: 10px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.main-nav { min-width: 0; display: flex; align-items: center; gap: 5px; }
.main-nav ul { display: flex; align-items: center; gap: 5px; margin: 0; padding: 0; list-style: none; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 11px; border-radius: 10px; color: #c6c0b7; font-size: 11px; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav .current-menu-item > a { color: var(--jd-ink); background: #ffffff0d; }
.main-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 210px; display: none; padding: 7px; border: 1px solid var(--jd-line); border-radius: 12px; background: #191816; box-shadow: 0 15px 35px #0008; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu a { white-space: normal; }
.nav-search { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--jd-line); border-radius: 12px; color: var(--jd-ink); font-size: 19px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--jd-line); border-radius: 11px; background: #ffffff06; font-size: 19px; cursor: pointer; }

.home-hero { position: relative; isolation: isolate; overflow: hidden; width: min(var(--jd-page), calc(100% - 40px)); margin: 37px auto 0; padding: clamp(28px,5vw,60px); border: 1px solid #ffffff14; border-radius: 26px; background: radial-gradient(ellipse at 82% 10%,#8f482544,transparent 32%),linear-gradient(112deg,#211b17 0%,#181614 56%,#1e1714 100%); }
.home-hero::after { position: absolute; z-index: -1; right: 5%; bottom: -190px; width: 260px; height: 260px; border: 1px solid #f47a3838; border-radius: 50%; box-shadow: 0 0 0 32px #f47a3809,0 0 0 64px #f47a3807; content: ""; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--jd-soft); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 22px; height: 2px; border-radius: 2px; background: var(--jd-orange); content: ""; }
.home-hero h1 { max-width: 790px; margin: 0; font-size: clamp(32px,5.1vw,60px); line-height: 1.05; letter-spacing: -.052em; text-wrap: balance; }
.home-hero h1 span { color: var(--jd-orange); }
.hero-copy { max-width: 610px; margin: 17px 0 26px; color: #c7bfb4; font-size: 15px; }
.search-form { position: relative; z-index: 1; display: flex; width: min(680px,100%); padding: 5px; border: 1px solid #ffffff20; border-radius: 14px; background: #100f0eee; box-shadow: 0 14px 42px #0005; }
.search-form input { min-width: 0; flex: 1; padding: 12px 14px; border: 0; color: var(--jd-ink); background: transparent; font-size: 14px; }
.search-form input::placeholder { color: #817a72; }
.search-form button { padding: 0 19px; border: 0; border-radius: 10px; color: #21120b; background: var(--jd-orange); font-size: 12px; font-weight: 850; cursor: pointer; }
.quick-categories { width: min(var(--jd-page),calc(100% - 40px)); margin: 20px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quick-categories a { padding: 8px 13px; border: 1px solid var(--jd-line); border-radius: 999px; color: #c7c0b7; background: #ffffff04; font-size: 12px; font-weight: 650; }
.quick-categories a:hover { border-color: #f47a3870; color: var(--jd-soft); background: #f47a380d; }

.page-wrap { width: min(var(--jd-page),calc(100% - 40px)); margin: 42px auto 80px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 18px; }
.section-head h2 { margin: 0; font-size: 21px; letter-spacing: -.035em; }
.section-head p { margin: 5px 0 0; color: var(--jd-muted); font-size: 12px; }
.text-link { color: var(--jd-soft); font-size: 12px; font-weight: 750; white-space: nowrap; }
.comic-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.comic-card { min-width: 0; overflow: hidden; border: 1px solid var(--jd-line); border-radius: 18px; background: var(--jd-surface); transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.comic-card:hover { transform: translateY(-4px); border-color: #f47a385c; box-shadow: 0 18px 34px #0005; }
.card-cover { position: relative; isolation: isolate; overflow: hidden; display: block; aspect-ratio: 3/4; background: linear-gradient(145deg,#632f1c,#191411 68%); }
.card-cover::before { position: absolute; z-index: -1; top: 22%; left: -42%; width: 170%; aspect-ratio: 1; border: 1px solid #ffffff24; border-radius: 50%; box-shadow: 0 0 0 15px #ffffff09,0 0 0 33px #ffffff08,0 0 0 55px #ffffff06; content: ""; }
.card-cover::after { position: absolute; z-index: -1; right: -23px; bottom: -38px; width: 110px; height: 210px; transform: rotate(24deg); background: linear-gradient(135deg,#f58b42a3,#ef4d2c08); filter: blur(1px); content: ""; }
.card-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.cover-fallback { position: absolute; inset: auto 14px 16px; color: white; font: 900 clamp(21px,3vw,38px)/.92 Georgia,serif; letter-spacing: -.06em; text-shadow: 0 3px 16px #000b; text-transform: uppercase; }
.card-label { position: absolute; top: 13px; left: 13px; padding: 5px 8px; border: 1px solid #ffffff49; border-radius: 999px; color: #fff0e7; background: #100d0ba8; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.card-body { padding: 14px; }
.card-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; color: var(--jd-soft); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-meta::before { width: 3px; height: 3px; border-radius: 50%; background: #81786f; content: ""; }
.card-body h3 { min-height: 42px; margin: 0; font-size: 15px; line-height: 1.35; letter-spacing: -.025em; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; }
.read-link { display: inline-flex; align-items: center; gap: 7px; color: var(--jd-ink); font-size: 11px; font-weight: 800; }
.read-link::after { color: var(--jd-orange); font-size: 15px; content: "↗"; }
.issue { color: var(--jd-muted); font-size: 10px; }
.series-band { margin-top: 44px; padding: 23px; border: 1px solid var(--jd-line); border-radius: 20px; background: linear-gradient(100deg,#1c1b19,#171615); }
.series-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.series-head h2 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.series-list { display: flex; flex-wrap: wrap; gap: 9px; }
.series-list a { padding: 9px 12px; border: 1px solid #ffffff16; border-radius: 10px; color: #d2cbc2; background: #ffffff05; font-size: 12px; }
.series-list a:hover { border-color: var(--jd-orange); color: var(--jd-soft); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.page-numbers { min-width: 38px; padding: 8px 12px; border: 1px solid var(--jd-line); border-radius: 9px; color: #d2cbc2; text-align: center; }
.page-numbers.current { border-color: var(--jd-orange); color: #24150d; background: var(--jd-orange); }
.empty-state { padding: 28px; border: 1px solid var(--jd-line); border-radius: 16px; color: var(--jd-muted); background: var(--jd-surface); }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--jd-muted); font-size: 11px; }
.breadcrumbs a:hover { color: var(--jd-soft); }
.standard-entry { padding: clamp(22px,4vw,42px); border: 1px solid #ffffff14; border-radius: 24px; background: radial-gradient(ellipse at 20% 0%,#8f482522,transparent 45%),linear-gradient(115deg,#211b17,#181614 65%,#1e1714); }
.standard-entry h1 { margin: 0 0 18px; font-size: clamp(31px,4.5vw,49px); line-height: 1.06; letter-spacing: -.055em; }
.standard-entry .entry-meta { margin-bottom: 22px; color: var(--jd-soft); font-size: 11px; }
.entry-content { color: #d4cec5; line-height: 1.8; overflow-wrap: anywhere; }
.entry-content h2,.entry-content h3 { margin: 1.8em 0 .7em; color: var(--jd-ink); }
.entry-content img { border-radius: 12px; }
.entry-content a { color: var(--jd-soft); text-decoration: underline; text-underline-offset: 3px; }

/* Existing catalog plugin output remains responsible for the post data and actions. */
.jd-home-wrapper { width: min(1200px,calc(100% - 36px)); margin-inline: auto; padding-block: 28px 56px; }
.jd-single-layout-wrapper { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,290px); align-items: start; gap: 24px; max-width: 1120px; margin-inline: auto; }
.jd-single-main-content { min-width: 0; grid-column: 1; }
.jd-sidebar { min-width: 0; grid-column: 2; grid-row: 1; margin-top: 0 !important; }
.jd-sidebar { display: grid; align-content: start; gap: 17px; }
.jd-sidebar .jd-widget:not(.jd-widget-ad) { min-width: 0; padding: 18px; border: 1px solid var(--jd-line); border-radius: 14px; background: var(--jd-surface); }
.jd-sidebar .jd-widget-title { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--jd-orange); color: var(--jd-ink); font-size: 15px; font-weight: 820; letter-spacing: -.025em; }
.jd-widget-search form { display: flex; gap: 6px; }
.jd-widget-search input[type="search"] { min-width: 0; width: 100%; padding: 10px 11px; border: 1px solid var(--jd-line); border-radius: 8px; color: var(--jd-ink); background: #11100f; font-size: 12px; }
.jd-widget-search button { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 0; border-radius: 8px; color: #24150d; background: var(--jd-orange); cursor: pointer; }
.jd-widget-search button svg { width: 17px; height: 17px; }
.jd-widget-categories ul { display: grid; margin: 0; padding: 0; list-style: none; }
.jd-widget-categories li + li { border-top: 1px solid #ffffff12; }
.jd-widget-categories li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; color: #d0c9c0; font-size: 12px; font-weight: 650; }
.jd-widget-categories li a:hover { color: var(--jd-soft); }
.jd-widget-categories li a span { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; color: var(--jd-muted); background: #ffffff0d; font-size: 10px; }
.jd-widget-recent .jd-recent-list { display: grid; gap: 9px; }
.jd-widget-recent .jd-recent-item { display: grid; grid-template-columns: 56px minmax(0,1fr); align-items: center; gap: 10px; padding: 8px; border: 1px solid #ffffff12; border-radius: 10px; background: #ffffff04; }
.jd-widget-recent .jd-recent-thumb { overflow: hidden; width: 50px; height: 64px; border-radius: 6px; background: #11100f; }
.jd-widget-recent .jd-recent-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jd-widget-recent .jd-recent-info { min-width: 0; }
.jd-widget-recent .jd-recent-info h4 { display: -webkit-box; overflow: hidden; margin: 0 0 5px; color: var(--jd-ink); font-size: 11px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.jd-widget-recent .jd-recent-info span { color: var(--jd-muted); font-size: 10px; }
.jd-sidebar .jd-ad-label { display: block; margin-bottom: 7px; color: var(--jd-muted); font-size: 9px; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.jd-sidebar .jd-sidebar-ad ins { display: block; max-width: 100%; overflow: hidden; }
.jd-single-hero { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: clamp(24px,4vw,48px); margin-block: 18px 28px; padding: clamp(20px,4vw,40px); border: 1px solid #ffffff1f; border-radius: 22px; background: radial-gradient(ellipse at 15% 0%,#8f48252b,transparent 45%),linear-gradient(115deg,#211b17,#181614 68%,#1e1714); box-shadow: 0 18px 48px #0004; }
.jd-single-top-header,.jd-single-body,.jd-single-bottom-footer { grid-column: 1/-1; min-width: 0; }
.jd-single-title { margin: 0 0 12px; color: var(--jd-ink); font-size: clamp(2rem,4.2vw,3.2rem); font-weight: 850; letter-spacing: -.045em; line-height: 1.08; }
.jd-single-meta { color: var(--jd-muted); }
.jd-single-body { display: grid; grid-template-columns: minmax(190px,300px) minmax(0,1fr); align-items: start; gap: clamp(22px,4vw,42px); }
.jd-single-cover { width: 100%; max-width: 300px; margin: 0; }
.jd-single-cover img { display: block; width: 100%; height: auto; border: 1px solid #ffffff33; border-radius: 15px; box-shadow: 0 20px 45px #0007; }
.jd-single-info { display: block; width: 100%; min-width: 0; }
.jd-single-content,.jd-single-content p,.jd-single-content li { color: #d4cec5; line-height: 1.8; }
.jd-single-content h2,.jd-single-content h3,.jd-section-title { margin: 1.7em 0 .8em; padding: 14px 17px; border: 1px solid var(--jd-line); border-left: 3px solid var(--jd-orange); border-radius: 12px; color: var(--jd-ink); background: linear-gradient(110deg,#211b17,var(--jd-surface) 70%); font-size: clamp(1.2rem,2.2vw,1.6rem); font-weight: 780; letter-spacing: -.03em; }
.jd-single-content ul,.jd-single-content ol { padding: 18px 22px 18px 42px; border: 1px solid var(--jd-line); border-radius: 14px; background: var(--jd-surface); }
.jd-action-buttons { display: flex; flex-wrap: wrap; gap: 11px; margin-block: 18px 24px; }
.jd-btn,.jd-btn-sm { max-width: 100%; min-height: 44px; padding: 11px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--jd-line); border-radius: 11px; color: var(--jd-ink); background: #ffffff0d; font-weight: 800; text-align: center; text-decoration: none; }
.jd-btn-ler,.jd-btn-baixar { border-color: var(--jd-orange); color: #24150d; background: var(--jd-orange); }
.jd-single-bottom-footer,.jd-relacionados,.jd-comments { margin-top: 28px; padding: clamp(18px,3vw,28px); border: 1px solid var(--jd-line); border-radius: 17px; background: var(--jd-surface); }
.jd-grid { gap: 16px; }
.jd-card-link,.jd-card-body { color: var(--jd-ink); }
.jd-card-link { overflow: hidden; border: 1px solid var(--jd-line); border-radius: 14px; background: var(--jd-surface); }
.jd-card-link:hover { border-color: #f47a3880; transform: translateY(-3px); }
.jd-card-thumb { display: block; overflow: hidden; aspect-ratio: 2/3; background: #11100f; }
.jd-card-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.jd-card-body { padding: 13px; }

/* Post detail layout follows the approved visual preview while retaining catalog data and links. */
body.single-post .jd-single-layout-wrapper { display: block; max-width: 1120px; }
body.single-post .jd-sidebar { display: none; }
.jd-post-page { width: 100%; }
.jd-post-hero { display: grid; grid-template-columns: minmax(205px,290px) minmax(0,1fr); align-items: center; gap: clamp(24px,5vw,55px); margin: 18px 0 30px; padding: clamp(22px,4vw,42px); border: 1px solid #ffffff14; border-radius: 24px; background: radial-gradient(ellipse at 20% 0%,#8f482522,transparent 45%),linear-gradient(115deg,#211b17,#181614 65%,#1e1714); }
.jd-post-hero .jd-single-cover { width: 100%; max-width: 290px; margin: 0; }
.jd-post-hero .jd-single-cover img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border: 1px solid #ffffff25; border-radius: 15px; box-shadow: 0 20px 45px #0006; }
.jd-post-summary { min-width: 0; }
.jd-post-summary-meta { margin-bottom: 10px; }
.jd-post-summary-meta .jd-single-meta { color: var(--jd-soft); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.jd-post-summary .jd-single-title { margin: 0; font-size: clamp(31px,4.5vw,49px); line-height: 1.06; letter-spacing: -.055em; }
.jd-post-deck { max-width: 640px; margin: 14px 0 20px; color: #c7bfb4; font-size: 14px; line-height: 1.65; }
.jd-post-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.jd-post-actions .jd-btn { min-height: 45px; padding: 0 18px; border-radius: 11px; font-size: 11px; letter-spacing: .04em; }
.jd-post-layout { display: grid; grid-template-columns: minmax(0,1fr) 275px; align-items: start; gap: 28px; margin: 0 0 32px; }
.jd-post-sections { min-width: 0; }
.jd-post-sidebar-stack { display: grid; align-content: start; gap: 16px; min-width: 0; }
.jd-post-section { margin-bottom: 16px; padding: 22px 24px; border: 1px solid var(--jd-line); border-radius: 17px; background: var(--jd-surface); }
.jd-post-section h2,.jd-post-section h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 11px; padding: 0; border: 0; border-radius: 0; color: var(--jd-ink); background: transparent; font-size: 17px; letter-spacing: -.035em; }
.jd-post-section h2::before,.jd-post-section h3::before { width: 3px; height: 18px; flex: 0 0 3px; border-radius: 3px; background: var(--jd-orange); content: ""; }
.jd-post-section p { margin: 0 0 12px; color: #c9c2b9; font-size: 13px; line-height: 1.6; }
.jd-post-section p:last-child { margin-bottom: 0; }
.jd-post-section ul.wp-block-list,.jd-post-section ol.wp-block-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; list-style: none; }
.jd-post-section ul.wp-block-list > li,.jd-post-section ol.wp-block-list > li { min-width: 0; padding: 10px 0; border-bottom: 1px solid #ffffff10; color: #eee7de; font-size: 12px; }
.jd-post-section ul.wp-block-list > li strong,.jd-post-section ol.wp-block-list > li strong { display: block; color: var(--jd-muted); font-size: 10px; font-weight: 500; }
.jd-post-section .jd-catalog-ad { margin-block: 10px; }
.jd-series-sidebar { position: static; padding: 19px; border: 1px solid var(--jd-line); border-radius: 16px; background: linear-gradient(145deg,#201e1b,#191816); }
.jd-series-tag { display: inline-flex; margin-bottom: 12px; padding: 6px 9px; border: 1px solid #f47a3842; border-radius: 999px; color: var(--jd-soft); background: #f47a3810; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.jd-series-sidebar > h2 { margin: 0 0 12px; color: var(--jd-ink); font-size: 15px; letter-spacing: -.03em; }
.jd-series-issues { display: grid; gap: 8px; margin-bottom: 10px; }
.jd-series-issue { display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: center; gap: 10px; min-width: 0; padding: 8px; border: 1px solid #ffffff12; border-radius: 10px; color: #d7d0c7; background: #ffffff04; text-decoration: none; transition: border-color .2s ease,background .2s ease; }
.jd-series-issue:hover { border-color: #f47a3860; background: #ffffff08; }
.jd-series-issue-cover { display: block; overflow: hidden; width: 64px; aspect-ratio: 2/3; border-radius: 6px; background: #0d0c0b; }
.jd-series-issue-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.jd-series-issue-copy { display: block; min-width: 0; }
.jd-series-issue-copy > span { display: block; margin-bottom: 4px; color: var(--jd-muted); font-size: 9px; text-transform: uppercase; }
.jd-series-issue-copy strong { display: -webkit-box; overflow: hidden; color: #d7d0c7; font-size: 11px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.jd-series-links { display: grid; gap: 8px; }
.jd-series-links a { padding: 10px; border: 1px solid #ffffff12; border-radius: 10px; color: #d7d0c7; background: #ffffff04; font-size: 11px; }
.jd-series-links a span { display: block; margin-bottom: 3px; color: var(--jd-muted); font-size: 9px; text-transform: uppercase; }
.jd-series-reading-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.jd-series-reading-nav a { color: var(--jd-soft); font-size: 10px; font-weight: 800; }
.jd-series-share { margin-top: 18px; padding-top: 14px; border-top: 1px solid #ffffff12; }
.jd-series-share h2,.jd-series-share h3 { margin: 0 0 10px; color: var(--jd-muted); font-size: 10px; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.jd-recent-sidebar { padding: 18px; border: 1px solid var(--jd-line); border-radius: 16px; background: linear-gradient(145deg,#201e1b,#191816); }
.jd-recent-sidebar > h2 { margin: 0 0 12px; color: var(--jd-ink); font-size: 15px; line-height: 1.3; letter-spacing: -.03em; }
.jd-recent-list { display: grid; gap: 8px; }
.jd-recent-item { display: grid; grid-template-columns: 56px minmax(0,1fr); align-items: center; gap: 9px; min-width: 0; padding: 7px; border: 1px solid #ffffff12; border-radius: 10px; color: #d7d0c7; background: #ffffff04; text-decoration: none; transition: border-color .2s ease,background .2s ease; }
.jd-recent-item:hover { border-color: #f47a3860; background: #ffffff08; }
.jd-recent-item > img,.jd-recent-placeholder { display: block; width: 56px; height: 80px; border-radius: 5px; background: #0d0c0b; }
.jd-recent-item > img { object-fit: contain; }
.jd-recent-placeholder { display: grid; place-items: center; color: var(--jd-soft); font-size: 10px; font-weight: 850; }
.jd-recent-copy { display: block; min-width: 0; }
.jd-recent-date { display: block; margin-bottom: 4px; color: var(--jd-muted); font-size: 9px; text-transform: uppercase; }
.jd-recent-copy strong { display: -webkit-box; overflow: hidden; color: #d7d0c7; font-size: 11px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.jd-recent-status { margin: 0; color: var(--jd-muted); font-size: 11px; line-height: 1.5; }
body.single-post .jd-relacionados { margin-top: 34px; }
body.single-post .jd-relacionados .jd-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
body.single-post .jd-relacionados .jd-card-link { min-width: 0; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
body.single-post .jd-relacionados .jd-card-link:hover { box-shadow: 0 14px 28px #0005; }
body.single-post .jd-relacionados .jd-card-body { min-width: 0; padding: 13px; }
body.single-post .jd-relacionados .jd-card-body h3 { margin: 0; color: var(--jd-ink); font-size: 14px; line-height: 1.35; }

/* Reader routes are rendered by the existing reader plugin. */
#jd-smart-topbar { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid #ffffff1a; background: #151412f5; box-shadow: 0 8px 24px #0004; backdrop-filter: blur(14px); }
body.admin-bar #jd-smart-topbar { top: 32px; }
.jd-topbar-inner { width: min(1160px,calc(100% - 32px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px 18px; padding-block: 9px; }
.jd-topbar-linha1,.jd-topbar-linha2 { display: flex; align-items: center; gap: 12px; }
.jd-topbar-linha2 { justify-content: flex-end; }
.jd-topbar-titulo { overflow: hidden; color: var(--jd-ink); font-size: 15px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.jd-topbar-contador { color: #d1c8be; font-variant-numeric: tabular-nums; }
#jd-smart-topbar a,#jd-smart-topbar button { border-radius: 10px; }
.jd-reader-pages { max-width: 1120px; margin-inline: auto; padding: 18px 16px 54px; background: #0d0d0d; }
.jd-reader-pages img { display: block; max-width: 100%; height: auto; margin: 0 auto 16px; border: 1px solid #ffffff1f; border-radius: 4px; box-shadow: 0 10px 30px #0005; }
.jd-leitura-container,.jd-leitura-container > .jd-reader-ad,.jd-reader-ad { background: var(--jd-bg); }

.site-footer { border-top: 1px solid #ffffff12; color: var(--jd-muted); }
.footer-inner { width: min(var(--jd-page),calc(100% - 40px)); margin-inline: auto; padding: 25px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links ul { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.footer-links a:hover { color: var(--jd-soft); }

@media (max-width: 900px) {
	.nav-wrap { min-height: 68px; gap: 12px; }
	.brand { min-width: 0; }
	.main-nav a { padding-inline: 7px; font-size: 9px; }
	.comic-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
	body.single-post .jd-relacionados .jd-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 980px) {
	.jd-single-layout-wrapper { grid-template-columns: minmax(0,1fr); gap: 22px; }
	.jd-single-main-content { grid-column: 1; }
	.jd-sidebar { grid-column: 1; grid-row: 2; }
	.jd-post-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 18px; }
}
@media (max-width: 680px) {
	.nav-wrap { width: calc(100% - 28px); min-height: 62px; gap: 9px; }
	.brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
	.brand-name { font-size: 14px; }
	.main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 10px 14px 15px; border-bottom: 1px solid var(--jd-line); background: #151412; }
	.main-nav.is-open { display: block; }
	.main-nav ul { align-items: stretch; flex-direction: column; }
	.main-nav a { padding: 11px; font-size: 11px; }
	.main-nav .sub-menu { position: static; display: block; padding: 0 0 0 12px; border: 0; background: transparent; box-shadow: none; }
	.menu-toggle { display: grid; place-items: center; }
	.nav-search { width: 38px; height: 38px; flex-basis: 38px; }
	.home-hero { width: calc(100% - 28px); margin-top: 18px; padding: 28px 21px; border-radius: 20px; }
	.home-hero h1 { font-size: clamp(32px,9vw,46px); }
	.hero-copy { font-size: 13px; }
	.search-form button { padding-inline: 13px; }
	.quick-categories { width: calc(100% - 28px); flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
	.quick-categories::-webkit-scrollbar { display: none; }
	.quick-categories a { flex: 0 0 auto; }
	.page-wrap { width: calc(100% - 28px); margin-top: 32px; }
	.section-head h2 { font-size: 18px; }
	.section-head p { max-width: 260px; }
	.comic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
	body.single-post .jd-relacionados .jd-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
	.card-cover .cover-fallback { inset-inline: 10px; bottom: 11px; font-size: clamp(19px,7vw,30px); }
	.card-label { top: 9px; left: 9px; font-size: 7px; }
	.card-body { padding: 11px; }
	.card-body h3 { min-height: 36px; font-size: 13px; }
	body.single-post .jd-relacionados .jd-card-body { padding: 10px; }
	body.single-post .jd-relacionados .jd-card-body h3 { font-size: 12px; }
	.card-actions { align-items: flex-start; flex-direction: column; }
	.series-band { margin-top: 32px; padding: 17px; }
	.footer-inner { width: calc(100% - 28px); align-items: flex-start; flex-direction: column; gap: 11px; }
	.jd-home-wrapper { width: calc(100% - 24px); padding-block: 18px 40px; }
	.jd-single-hero { gap: 18px; padding: 18px; border-radius: 16px; }
	.jd-single-body { grid-template-columns: minmax(0,1fr); gap: 18px; }
	.jd-single-cover { width: min(100%,300px); margin-inline: auto; }
	.jd-post-hero { grid-template-columns: 115px minmax(0,1fr); gap: 15px; margin-top: 14px; padding: 16px; border-radius: 18px; }
	.jd-post-hero .jd-single-cover { width: 115px; }
	.jd-post-hero .jd-single-cover img { min-height: 0; border-radius: 10px; }
	.jd-post-summary-meta { margin-bottom: 7px; }
	.jd-post-summary-meta .jd-single-meta { font-size: 8px; }
	.jd-post-summary .jd-single-title { font-size: 26px; }
	.jd-post-deck { margin: 8px 0 0; font-size: 11px; line-height: 1.5; }
	.jd-post-actions { gap: 7px; margin-top: 13px; }
	.jd-post-actions .jd-btn { min-height: 40px; flex: 1 1 45%; padding: 0 8px; font-size: 9px; }
	.jd-post-layout { grid-template-columns: minmax(0,1fr); gap: 13px; margin-top: 17px; }
	.jd-post-sidebar-stack { grid-row: 1; gap: 12px; }
	.jd-series-sidebar { position: static; grid-row: 1; padding: 15px; }
	.jd-post-sections { grid-row: 2; }
	.jd-recent-sidebar { padding: 15px; }
	.jd-post-section { padding: 18px; }
	.jd-post-section ul.wp-block-list,.jd-post-section ol.wp-block-list { gap: 0 13px; }
	.jd-topbar-inner { width: calc(100% - 20px); grid-template-columns: 1fr; gap: 5px; }
	.jd-topbar-linha1 { justify-content: space-between; }
	.jd-topbar-linha2 { justify-content: space-between; }
	.jd-reader-pages { padding: 12px 8px 40px; }
	.jd-reader-pages img { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Capas maiores na lista de HQs recentes */
body.single-post .jd-recent-sidebar .jd-recent-item {
  grid-template-columns: 76px minmax(0, 1fr) !important;
  gap: 12px;
  padding: 9px;
  min-height: 130px;
}
body.single-post .jd-recent-sidebar .jd-recent-item > img,
body.single-post .jd-recent-sidebar .jd-recent-placeholder {
  width: 76px !important;
  height: 112px !important;
  object-fit: contain;
}
body.single-post .jd-recent-sidebar .jd-recent-copy strong {
  font-size: 12px;
  line-height: 1.4;
}

/* Archive and search pages use the same catalog card markup as the plugin.
   Bring those views in line with the new home design without changing content. */
body.archive:not(.home) .jd-home-wrapper,
body.search .jd-home-wrapper {
	width: min(var(--jd-page),calc(100% - 40px));
	margin: 37px auto 80px;
	padding: 0;
}

body.archive:not(.home) .jd-home-wrapper > .jd-hero,
body.search .jd-home-wrapper > .jd-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0 0 26px;
	padding: clamp(30px,5vw,58px);
	padding-bottom: clamp(30px,5vw,58px) !important;
	border: 1px solid #ffffff14;
	border-radius: 26px;
	background: radial-gradient(ellipse at 82% 10%,#8f482544,transparent 32%),linear-gradient(112deg,#211b17 0%,#181614 56%,#1e1714 100%);
	text-align: center;
}

body.archive:not(.home) .jd-home-wrapper > .jd-hero::after,
body.search .jd-home-wrapper > .jd-hero::after {
	position: absolute;
	z-index: -1;
	right: 8%;
	bottom: -200px;
	width: 280px;
	height: 280px;
	border: 1px solid #f47a3838;
	border-radius: 50%;
	box-shadow: 0 0 0 32px #f47a3809,0 0 0 64px #f47a3807;
	content: "";
}

body.archive:not(.home) .jd-hero-text,
body.search .jd-hero-text {
	position: relative;
	z-index: 1;
	max-width: 850px;
	margin-inline: auto;
}

body.archive:not(.home) .jd-hero-text::before,
body.search .jd-hero-text::before {
	display: block;
	margin: 0 0 13px;
	color: var(--jd-soft);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .16em;
	text-transform: uppercase;
}

body.archive:not(.home) .jd-hero-text::before { content: "Explore por editora"; }
body.search .jd-hero-text::before { content: "Pesquisa no catálogo"; }

body.archive:not(.home) .jd-hero-title,
body.search .jd-hero-title {
	margin: 0;
	color: var(--jd-ink);
	font-size: clamp(34px,5vw,58px);
	font-weight: 850;
	letter-spacing: -.052em;
	line-height: 1.05;
	text-wrap: balance;
}

body.archive:not(.home) .jd-hero-title span { color: inherit; }
body.search .jd-hero-title span { color: var(--jd-orange); }

body.archive:not(.home) .jd-hero-subtitle,
body.search .jd-hero-subtitle {
	margin: 15px 0 0;
	color: #c7bfb4;
	font-size: 14px;
	line-height: 1.65;
}

body.archive:not(.home) .jd-showcase,
body.search .jd-showcase {
	min-width: 0;
}

body.archive:not(.home) .jd-grid.jd-grid-large,
body.search .jd-grid.jd-grid-large {
	display: grid !important;
	grid-template-columns: repeat(4,minmax(0,1fr)) !important;
	align-items: stretch;
	gap: 16px;
	width: 100%;
	margin: 0;
}

body.archive:not(.home) .jd-grid-large > .jd-card,
body.search .jd-grid-large > .jd-card {
	min-width: 0;
	width: auto !important;
	max-width: none;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--jd-line);
	border-radius: 16px;
	background: var(--jd-surface);
	transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

body.archive:not(.home) .jd-grid-large > .jd-card:hover,
body.search .jd-grid-large > .jd-card:hover {
	transform: translateY(-4px);
	border-color: #f47a3880;
	box-shadow: 0 18px 34px #0005;
}

body.archive:not(.home) .jd-card-link,
body.search .jd-card-link {
	display: block;
	height: 100%;
	color: var(--jd-ink);
}

body.archive:not(.home) .jd-card-thumb,
body.search .jd-card-thumb {
	position: relative;
	width: 100%;
	height: auto !important;
	aspect-ratio: 2/3;
	background: #11100f;
}

body.archive:not(.home) .jd-card-thumb img,
body.search .jd-card-thumb img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
}

body.archive:not(.home) .jd-action-badge,
body.search .jd-action-badge {
	position: absolute;
	right: 10px;
	bottom: 10px;
	left: 10px;
	width: max-content;
	max-width: calc(100% - 20px);
	padding: 6px 9px;
	border: 1px solid #ffffff36;
	border-radius: 999px;
	color: var(--jd-ink);
	background: #11100fd9;
	font-size: 9px;
	font-weight: 800;
}

body.archive:not(.home) .jd-card-body,
body.search .jd-card-body {
	min-width: 0;
	padding: 13px;
}

body.archive:not(.home) .jd-card-title,
body.search .jd-card-title {
	display: -webkit-box;
	min-height: 38px;
	overflow: hidden;
	margin: 0;
	color: var(--jd-ink);
	font-size: 14px;
	font-weight: 750;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.archive:not(.home) .jd-home-wrapper nav.navigation.pagination,
body.search .jd-home-wrapper nav.navigation.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 28px 0 0;
}

body.archive:not(.home) .jd-home-wrapper .page-numbers,
body.search .jd-home-wrapper .page-numbers {
	min-width: 40px;
	padding: 9px 13px;
	border: 1px solid var(--jd-line);
	border-radius: 10px;
	color: #d2cbc2;
	background: var(--jd-surface);
	text-align: center;
}

body.archive:not(.home) .jd-home-wrapper .page-numbers.current,
body.search .jd-home-wrapper .page-numbers.current {
	border-color: var(--jd-orange);
	color: #24150d;
	background: var(--jd-orange);
}

@media (max-width: 900px) {
	body.archive:not(.home) .jd-grid.jd-grid-large,
	body.search .jd-grid.jd-grid-large { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}

@media (max-width: 680px) {
	body.archive:not(.home) .jd-home-wrapper,
	body.search .jd-home-wrapper { width: calc(100% - 28px); margin-top: 22px; }
	body.archive:not(.home) .jd-home-wrapper > .jd-hero,
	body.search .jd-home-wrapper > .jd-hero { margin-bottom: 18px; padding: 30px 20px; border-radius: 20px; }
	body.archive:not(.home) .jd-hero-title,
	body.search .jd-hero-title { font-size: clamp(31px,8vw,44px); }
	body.archive:not(.home) .jd-hero-subtitle,
	body.search .jd-hero-subtitle { font-size: 13px; }
	body.archive:not(.home) .jd-grid.jd-grid-large,
	body.search .jd-grid.jd-grid-large { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px; }
	body.archive:not(.home) .jd-card-body,
	body.search .jd-card-body { padding: 10px; }
	body.archive:not(.home) .jd-card-title,
	body.search .jd-card-title { min-height: 34px; font-size: 12px; }
}

/* 3D cube treatment is limited to the two primary actions on comic posts. */
body.single-post .jd-post-actions .jd-btn {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 164px;
	height: 56px;
	min-width: 0;
	min-height: 56px;
	padding: 0;
	overflow: visible;
	border: 0;
	border-radius: 11px;
	color: transparent;
	background: transparent;
	transform: perspective(1000px) rotateX(0deg);
	transform-style: preserve-3d;
	transition: transform .9s cubic-bezier(.2,.75,.25,1);
}

body.single-post .jd-post-actions .jd-btn-baixar { width: 205px; }

body.single-post .jd-post-actions .jd-btn:hover,
body.single-post .jd-post-actions .jd-btn:focus-visible {
	transform: perspective(1000px) rotateX(360deg);
}

body.single-post .jd-post-actions .jd-btn-face {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	border: 1px solid #ffad77;
	border-radius: 11px;
	color: #24150d;
	background: var(--jd-orange);
	box-shadow: inset 0 8px 20px #0002;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .06em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	backface-visibility: hidden;
	transition: color .35s ease,background-color .35s ease;
}

body.single-post .jd-post-actions .jd-btn-face:nth-child(1) { transform: rotateX(0deg) translateZ(28px); }
body.single-post .jd-post-actions .jd-btn-face:nth-child(2) { transform: rotateX(90deg) translateZ(28px); }
body.single-post .jd-post-actions .jd-btn-face:nth-child(3) { transform: rotateX(180deg) translateZ(28px); }
body.single-post .jd-post-actions .jd-btn-face:nth-child(4) { transform: rotateX(270deg) translateZ(28px); }

body.single-post .jd-post-actions .jd-btn:hover .jd-btn-face,
body.single-post .jd-post-actions .jd-btn:focus-visible .jd-btn-face {
	color: #1b100a;
	background: var(--jd-soft);
}

@media (max-width: 680px) {
	body.single-post .jd-post-actions .jd-btn { flex: 1 1 150px; width: auto; }
	body.single-post .jd-post-actions .jd-btn-baixar { flex-basis: 185px; }
}

@media (prefers-reduced-motion: reduce) {
	body.single-post .jd-post-actions .jd-btn { transition: none; }
	body.single-post .jd-post-actions .jd-btn:hover,
	body.single-post .jd-post-actions .jd-btn:focus-visible { transform: perspective(1000px) rotateX(0deg); }
}

/* Reader pages follow the dark, orange-accented catalog design. */
body.jd-leitura-body {
	background: var(--jd-bg);
}

body.jd-leitura-body #jd-smart-topbar {
	border-bottom-color: var(--jd-line);
	background: rgba(21,20,18,.96);
}

body.jd-leitura-body .jd-topbar-inner {
	width: min(var(--jd-page),calc(100% - 40px));
	min-height: 68px;
}

body.jd-leitura-body .jd-topbar-linha1,
body.jd-leitura-body .jd-topbar-linha2 {
	min-width: 0;
}

body.jd-leitura-body .jd-leitura-voltar {
	flex: 0 0 auto;
	color: var(--jd-muted);
	font-weight: 700;
	transition: color .18s ease;
}

body.jd-leitura-body .jd-leitura-voltar:hover,
body.jd-leitura-body .jd-leitura-voltar:focus-visible {
	color: var(--jd-orange);
}

body.jd-leitura-body .jd-topbar-titulo {
	min-width: 0;
	margin: 0;
	font-size: 14px;
}

body.jd-leitura-body .jd-title-highlight {
	color: var(--jd-orange);
}

body.jd-leitura-body .jd-topbar-contador {
	padding: 8px 12px;
	border: 1px solid var(--jd-line);
	border-radius: 10px;
	background: var(--jd-surface);
	font-size: 13px;
	font-weight: 750;
}

body.jd-leitura-body #jd-smart-topbar .jd-btn-sm {
	min-height: 42px;
	padding: 10px 16px;
	border: 1px solid var(--jd-line);
	border-radius: 11px;
	font-size: 12px;
	font-weight: 800;
	transition: transform .18s ease,border-color .18s ease,background .18s ease;
}

body.jd-leitura-body #jd-smart-topbar .jd-btn-secundario {
	background: var(--jd-surface);
}

body.jd-leitura-body #jd-smart-topbar .jd-btn-secundario:hover,
body.jd-leitura-body #jd-smart-topbar .jd-btn-secundario:focus-visible {
	border-color: var(--jd-orange);
	background: var(--jd-raised);
}

body.jd-leitura-body #jd-smart-topbar .jd-btn-scroll {
	border-color: var(--jd-orange);
	background: var(--jd-orange);
	color: #1b100a;
}

body.jd-leitura-body #jd-smart-topbar .jd-btn-scroll:hover,
body.jd-leitura-body #jd-smart-topbar .jd-btn-scroll:focus-visible {
	transform: translateY(-1px);
	background: var(--jd-soft);
}

body.jd-leitura-body .jd-leitura-container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 1px 0 44px;
	background: var(--jd-bg);
}

body.jd-leitura-body .jd-reader-ad {
	box-sizing: border-box;
	width: min(1000px,calc(100% - 40px));
	min-height: 110px;
	margin: 22px auto;
	padding: 12px;
	border: 1px solid var(--jd-line);
	border-radius: 16px;
	background: var(--jd-surface);
	text-align: center;
}

body.jd-leitura-body .jd-reader-ad .jd-catalog-ad-label {
	margin: 0 0 10px;
	color: var(--jd-muted);
	font-size: 9px;
	font-weight: 750;
	letter-spacing: .14em;
	line-height: 1.4;
	text-transform: uppercase;
}

body.jd-leitura-body .jd-reader-ad ins.adsbygoogle {
	max-width: 970px;
	margin-inline: auto;
}

body.jd-leitura-body #jd-reader-pages {
	box-sizing: border-box;
	width: min(1024px,100%);
	max-width: 1024px;
	margin: 0 auto;
	padding: 8px 12px 42px;
	background: var(--jd-bg);
}

body.jd-leitura-body #jd-reader-pages > .wp-block-gallery {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin: 0;
}

body.jd-leitura-body #jd-reader-pages figure.wp-block-image {
	flex: 0 0 auto;
	width: 100%;
	max-width: 1000px;
	margin: 0 !important;
}

body.jd-leitura-body #jd-reader-pages figure.wp-block-image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border: 1px solid #ffffff1a;
	border-radius: 6px;
	box-shadow: 0 14px 38px #0006;
}

body.jd-leitura-body #jd-reader-pages .post-views {
	width: fit-content;
	margin: 18px auto 0;
	padding: 9px 14px;
	border: 1px solid var(--jd-line);
	border-radius: 999px;
	background: var(--jd-surface);
	color: var(--jd-muted);
}

body.jd-leitura-body .jd-leitura-footer-box {
	box-sizing: border-box;
	width: min(1000px,calc(100% - 40px));
	margin: 24px auto 0;
	padding: clamp(20px,4vw,34px);
	border: 1px solid var(--jd-line);
	border-radius: 20px;
	background: radial-gradient(ellipse at 90% 0%,#8f482522,transparent 38%),var(--jd-surface);
	text-align: center;
}

body.jd-leitura-body .jd-leitura-thanks {
	margin: 0;
	color: var(--jd-ink);
	font-size: clamp(22px,3vw,30px);
	font-weight: 850;
}

body.jd-leitura-body .jd-leitura-finished {
	margin: 9px 0 20px;
	color: var(--jd-muted);
}

body.jd-leitura-body .jd-leitura-actions-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

body.jd-leitura-body .jd-leitura-actions-footer .jd-btn-leitura {
	min-height: 42px;
	padding: 11px 16px;
	border: 1px solid var(--jd-line);
	border-radius: 11px;
	background: var(--jd-raised);
	color: var(--jd-ink);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

body.jd-leitura-body .jd-leitura-actions-footer .jd-btn-leitura:hover,
body.jd-leitura-body .jd-leitura-actions-footer .jd-btn-leitura:focus-visible {
	border-color: var(--jd-orange);
	color: var(--jd-soft);
}

/* Brand identity on the reader toolbar and chapter ending panel. */
body.jd-leitura-body .jd-topbar-inner {
	grid-template-columns: 190px minmax(0,1fr) auto;
	gap: 8px 14px;
}

body.jd-leitura-body .jd-topbar-inner::before {
	content: "";
	grid-column: 1;
	grid-row: 1;
	width: 176px;
	height: 42px;
	background: url("assets/images/logo-jon-domingues.svg") center / contain no-repeat;
}

body.jd-leitura-body .jd-topbar-linha1 {
	grid-column: 2;
	grid-row: 1;
}

body.jd-leitura-body .jd-topbar-linha2 {
	grid-column: 3;
	grid-row: 1;
}

body.jd-leitura-body .jd-leitura-footer-box {
	border-top: 2px solid var(--jd-orange);
	box-shadow: 0 18px 48px #0003;
}

body.jd-leitura-body .jd-leitura-footer-box::before {
	content: "";
	display: block;
	width: min(220px,70%);
	height: 50px;
	margin: 0 auto 14px;
	background: url("assets/images/logo-jon-domingues.svg") center / contain no-repeat;
}

@media (max-width: 900px) {
	body.jd-leitura-body .jd-topbar-inner {
		grid-template-columns: 156px minmax(0,1fr);
		gap: 6px 12px;
	}
	body.jd-leitura-body .jd-topbar-inner::before {
		grid-column: 1;
		grid-row: 1;
		width: 148px;
		height: 36px;
	}
	body.jd-leitura-body .jd-topbar-linha1 {
		grid-column: 2;
		grid-row: 1;
	}
	body.jd-leitura-body .jd-topbar-linha2 {
		grid-column: 2;
		grid-row: 2;
	}
}

@media (max-width: 680px) {
	body.jd-leitura-body .jd-topbar-inner {
		grid-template-columns: 94px minmax(0,1fr);
		gap: 5px 8px;
	}
	body.jd-leitura-body .jd-topbar-inner::before {
		grid-column: 1;
		grid-row: 1;
		width: 90px;
		height: 22px;
	}
	body.jd-leitura-body .jd-topbar-linha1 {
		grid-column: 2;
		grid-row: 1;
	}
	body.jd-leitura-body .jd-topbar-linha2 {
		grid-column: 1 / -1;
		grid-row: 2;
	}
	body.jd-leitura-body .jd-topbar-inner { width: calc(100% - 20px); }
	body.jd-leitura-body .jd-topbar-titulo { font-size: 12px; }
	body.jd-leitura-body .jd-topbar-linha1 { gap: 8px; }
	body.jd-leitura-body .jd-topbar-linha2 { gap: 7px; }
	body.jd-leitura-body .jd-topbar-contador { padding: 7px 9px; font-size: 11px; }
	body.jd-leitura-body #jd-smart-topbar .jd-btn-sm { min-height: 38px; padding: 8px 10px; font-size: 10px; }
	body.jd-leitura-body .jd-reader-ad { width: calc(100% - 20px); min-height: 82px; margin: 14px auto; padding: 9px; border-radius: 12px; }
	body.jd-leitura-body #jd-reader-pages { padding: 4px 8px 28px; }
	body.jd-leitura-body #jd-reader-pages > .wp-block-gallery { gap: 10px; }
	body.jd-leitura-body .jd-leitura-footer-box { width: calc(100% - 20px); margin-top: 14px; padding: 20px 14px; border-radius: 16px; }
}
