/* P789 editorial layout for standard pages and posts. */
body.page-template-default:not(.home) #header .header-main,
body.single-post #header .header-main,
body.home #header .header-main{background:#090707;border-bottom:1px solid #7f1a13;box-shadow:0 3px 16px #ee281b35}
body.page-template-default:not(.home) #header .header-bottom,
body.single-post #header .header-bottom,
body.home #header .header-bottom{background:#100a09}
body.page-template-default:not(.home) #header .header-nav>li>a,
body.single-post #header .header-nav>li>a,
body.home #header .header-nav>li>a{color:#f7f3eb}
body.page-template-default:not(.home) #header .header-nav>li.current-menu-item>a,
body.page-template-default:not(.home) #header .header-nav>li>a:hover,
body.single-post #header .header-nav>li.current-menu-item>a,
body.single-post #header .header-nav>li>a:hover,
body.home #header .header-nav>li.current-menu-item>a,
body.home #header .header-nav>li>a:hover{color:#ffc53b}
body.page-template-default:not(.home) #footer,
body.single-post #footer{border-top:2px solid #e82d1c;background:#090707;box-shadow:0 -5px 20px #f23a2230}

.p789-editorial{--p789-red:#f03321;--p789-orange:#ff7b16;--p789-gold:#ffc332;width:100%;overflow:hidden;background:radial-gradient(ellipse at 50% 0,#1b0a0b 0,#090909 52%);color:#f7f3ed}
.p789-editorial-shell{width:min(1240px,100% - 40px);margin:0 auto}
.p789-editorial-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:13px 0;color:#d6c7ab;font-size:12px}
.p789-editorial-breadcrumb a{color:#edc560;text-decoration:none}
.p789-editorial-breadcrumb a:hover{color:#fff}
.p789-editorial-breadcrumb [aria-current=page]{color:#fff}
.p789-editorial-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:32px;align-items:center;min-height:210px;padding:10px 0 24px;border-bottom:1px solid #692013;background:radial-gradient(ellipse at 85% 50%,#42100d80,transparent 53%)}
.p789-editorial-hero-copy h1{max-width:740px;margin:0 0 10px;color:#fff0c2;font-size:clamp(30px,4vw,46px);font-weight:800;line-height:1.12;text-shadow:0 2px 12px #ff691e40}
.p789-editorial-hero-copy h1::first-letter{color:var(--p789-gold)}
.p789-editorial-hero-copy>p{max-width:680px;margin:0 0 16px;color:#f0e8df;font-size:15px;line-height:1.55}
.p789-editorial-meta{display:flex;flex-wrap:wrap;gap:8px}
.p789-editorial-meta span{padding:6px 10px;border:1px solid #98612c;border-radius:18px;background:#170e0c;color:#f3e4cf;font-size:11px}
.p789-editorial-meta a{color:#ffd05b;text-decoration:none}
.p789-editorial-hero-media{min-width:0}
.p789-editorial-featured-image,.p789-editorial-hero-art{display:block;width:100%;height:auto;aspect-ratio:16/8.7;object-fit:cover;border:1px solid #fa5c24;border-radius:16px;box-shadow:0 0 20px #f73c1745}
.p789-editorial-hero-art{position:relative;display:flex;overflow:hidden;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:radial-gradient(ellipse at 50% 90%,#842112,#220b0c 56%,#090909);text-align:center}
.p789-editorial-art-glow{position:absolute;inset:10px;border:1px solid #ffb33355;border-radius:12px;pointer-events:none}
.p789-editorial-hero-art strong{position:relative;color:#ffba2a;font-size:clamp(48px,7vw,82px);font-style:italic;font-weight:900;line-height:1;text-shadow:0 2px #9d240d,0 0 18px #ff421c}
.p789-editorial-hero-art strong span{color:#fff}
.p789-editorial-hero-art small{position:relative;max-width:75%;color:#fff1d2;font-size:14px;font-weight:700}
.p789-editorial-hero-art i{position:absolute;top:14%;right:14%;color:#ffc332;font-size:25px;font-style:normal;text-shadow:0 0 14px #ff3d17}
.p789-editorial-layout{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(250px,.85fr);gap:24px;align-items:start;padding:18px 0 28px}
.p789-editorial-main{min-width:0}
.p789-editorial-article{margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.p789-editorial-content{color:#eee9e4;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.p789-editorial-content>:first-child{margin-top:0}
.p789-editorial-content h2,.p789-editorial-content h3{position:relative;margin:22px 0 8px;padding:5px 12px;border-left:3px solid var(--p789-orange);border-radius:2px 10px 10px 2px;background:linear-gradient(100deg,#70130f,#210b0a 68%,transparent);color:#ffe7b4;font-weight:800;line-height:1.35;scroll-margin-top:90px}
.p789-editorial-content h2{font-size:23px}
.p789-editorial-content h3{font-size:18px}
.p789-editorial-content p{margin:0 0 12px}
.p789-editorial-content a{color:#ffb52f;text-decoration:underline;text-decoration-color:#ffb52f66;text-underline-offset:2px}
.p789-editorial-content ul,.p789-editorial-content ol{margin:0 0 16px 22px}
.p789-editorial-content li{margin:3px 0}
.p789-editorial-content img{max-width:100%;height:auto;border:1px solid #6c3519;border-radius:10px}
.p789-editorial-content figure{margin:16px auto}
.p789-editorial-content table{display:block;width:100%;max-width:100%;overflow-x:auto;border:1px solid #70421e;border-radius:9px;border-collapse:collapse;color:#f4eee6}
.p789-editorial-content th,.p789-editorial-content td{padding:8px 10px;border:1px solid #523319}
.p789-editorial-content th{background:#33130e;color:#ffd15d}
.p789-editorial-content details{margin:7px 0;border:1px solid #75421e;border-radius:9px;background:#100d0c}
.p789-editorial-content summary{padding:9px 12px;color:#fff0d1;font-weight:700;cursor:pointer}
.p789-editorial-content details>p{padding:0 12px 10px;color:#ddd}
.p789-editorial-sidebar{display:grid;gap:14px;min-width:0}
.p789-editorial-sidebox{overflow:hidden;border:1px solid #a15a19;border-radius:12px;background:linear-gradient(145deg,#17100e,#0b0b0b 68%);box-shadow:0 0 13px #f05b1d18}
.p789-editorial-sidebox h2{margin:0;padding:10px 13px;border-bottom:1px solid #512515;background:linear-gradient(90deg,#35160e,#140d0b);color:#ffd052;font-size:18px;line-height:1.25}
.p789-editorial-toc-list,.p789-editorial-links ul,.p789-editorial-safety ul{margin:0;padding:8px 13px 11px;list-style:none}
.p789-editorial-toc-list li{position:relative;padding:5px 0 5px 16px;border-bottom:1px solid #352821;font-size:12px;line-height:1.4}
.p789-editorial-toc-list li:last-child{border:0}
.p789-editorial-toc-list li::before{position:absolute;top:10px;left:1px;width:6px;height:6px;border-radius:50%;background:#ff8d18;content:""}
.p789-editorial-toc-list li.is-subheading{padding-left:25px;font-size:11px}
.p789-editorial-toc-list a,.p789-editorial-links a{color:#f2e7d8;text-decoration:none}
.p789-editorial-toc-list a:hover,.p789-editorial-links a:hover{color:#ffc332}
.p789-editorial-links li+li{border-top:1px solid #352821}
.p789-editorial-links a{display:flex;justify-content:space-between;gap:12px;padding:9px 0;font-size:13px}
.p789-editorial-links a span{color:#ff9a17;font-size:18px;line-height:1}
.p789-editorial-safety{background:radial-gradient(ellipse at bottom,#55160f,#100b0a 67%)}
.p789-editorial-safety h2{background:linear-gradient(90deg,#68130f,#260b0b)}
.p789-editorial-safety li{position:relative;margin:6px 0;padding-left:21px;color:#eee6dd;font-size:12px;line-height:1.45}
.p789-editorial-safety li::before{position:absolute;left:0;color:#ff9222;content:"●"}
.p789-editorial-lock{padding:0 16px 12px;color:#ff9a20;font-size:38px;text-align:center;text-shadow:0 0 16px #f52218}
.p789-editorial-resources{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px;margin:20px 0 10px;padding:9px 12px;border:1px solid #a36a1b;border-radius:10px;background:#120e0b}
.p789-editorial-resources>strong{color:#ffc332;font-size:13px}
.p789-editorial-resources>div{display:flex;flex-wrap:wrap;gap:6px}
.p789-editorial-resources a{padding:4px 8px;border:1px solid #76501f;border-radius:14px;color:#f8ead3;font-size:10px;text-decoration:none}
.p789-editorial-author-card{display:flex;align-items:center;gap:12px;margin:10px 0 22px;padding:11px 13px;border:1px solid #85521d;border-radius:11px;background:linear-gradient(100deg,#18100d,#0b0b0b)}
.p789-editorial-author-avatar{display:grid;flex:0 0 48px;width:48px;height:48px;place-items:center;border:2px solid #e18a27;border-radius:50%;background:radial-gradient(circle,#527990,#132029);color:#fff;font-weight:800}
.p789-editorial-author-card>div:nth-child(2){min-width:0;flex:1}
.p789-editorial-author-card strong{color:#ffd36a;font-size:13px}
.p789-editorial-author-card p{margin:2px 0;color:#e8e1d9;font-size:12px}
.p789-editorial-author-card a{color:#ff9d2d}
.p789-editorial-author-card small{color:#c9c0b7;font-size:10px}
.p789-editorial-contact{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #ff4c24;border-radius:20px;background:linear-gradient(90deg,#e9281b,#8b0908);color:#fff!important;font-size:11px;font-weight:700;text-decoration:none!important;white-space:nowrap}
.p789-editorial-related h2{margin:0 0 9px;color:#ffd052;font-size:20px}
.p789-editorial-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.p789-editorial-related-card{display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid #7d451b;border-radius:10px;background:#100d0c;color:#fff;text-decoration:none}
.p789-editorial-related-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.p789-editorial-related-card strong{padding:8px 9px 4px;font-size:12px;line-height:1.35}
.p789-editorial-related-card time{margin-top:auto;padding:4px 9px 8px;color:#d2c4b5;font-size:10px}
.p789-editorial-related-card:hover{border-color:#ff9b24;box-shadow:0 0 12px #ed3b1d40}
body.page-template-default:not(.home) .comment-respond,
body.single-post .comment-respond{margin-top:20px;padding:16px;border:1px solid #76451e;border-radius:12px;background:#100d0b;color:#f8f2e9}

.p789-post{--post-red:#ed2c1d;--post-gold:#ffc62e;--post-orange:#ff8718;width:100%;overflow:hidden;background:radial-gradient(ellipse at 55% 0,#1b0908,#080909 58%);color:#f8f3ed}
.p789-post-shell{width:min(1240px,calc(100% - 40px));margin:0 auto}
.p789-post-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0;color:#d7c8a6;font-size:12px}
.p789-post-breadcrumb a{color:#ffcc43;text-decoration:none}
.p789-post-breadcrumb [aria-current=page]{color:#f6f0e8}
.p789-post-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(250px,.85fr);gap:28px;align-items:start;padding:0 0 24px}
.p789-post-main,.p789-post-article{min-width:0;margin:0}
.p789-post-heading h1{margin:0 0 11px;color:#fff0c8;font-size:clamp(27px,3vw,38px);font-weight:850;line-height:1.16;text-shadow:0 2px 14px #ff741d35}
.p789-post-meta{display:flex;flex-wrap:wrap;gap:9px 20px;margin:0 0 12px;color:#eee4d5;font-size:11px}
.p789-post-meta span::first-letter{color:var(--post-gold)}
.p789-post-feature{overflow:hidden;border:1px solid #f07820;border-radius:13px;background:#110909;box-shadow:0 0 12px #ff3a1e30}
.p789-post-feature-image,.p789-post-feature-placeholder{display:block;width:100%;height:auto;aspect-ratio:16/7.8;object-fit:cover}
.p789-post-feature-placeholder{display:grid;place-content:center;gap:8px;background:radial-gradient(ellipse at center,#5e160f,#100808 72%);text-align:center}
.p789-post-feature-placeholder strong{color:#ffbb2d;font-size:clamp(48px,7vw,84px);font-style:italic;text-shadow:0 0 18px #ff351d}
.p789-post-feature-placeholder strong span{color:#fff}
.p789-post-feature-placeholder small{padding:0 15px;color:#ffe8bd;font-size:14px}
.p789-post-lead{margin:10px 0 12px;color:#f2eee8;font-size:13px;line-height:1.55}
.p789-post-toc{margin:10px 0 14px;overflow:hidden;border:1px solid #c8831f;border-radius:12px;background:linear-gradient(135deg,#17100c,#0c0c0c)}
.p789-post-toc summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;background:linear-gradient(100deg,#9a1b10,#350e0b);color:#fff;font-size:16px;cursor:pointer;list-style:none}
.p789-post-toc summary::-webkit-details-marker{display:none}
.p789-post-toc-toggle{color:#ffda65;font-size:11px;font-weight:500}
.p789-post-toc-list{display:grid;gap:0;margin:0;padding:5px 14px 8px;list-style:none}
.p789-post-toc-list li{border-bottom:1px solid #3d2a17;font-size:12px;line-height:1.35}
.p789-post-toc-list li:last-child{border:0}
.p789-post-toc-list a{display:block;padding:5px 3px;color:#eee8df;text-decoration:none}
.p789-post-toc-list a::before{margin-right:8px;color:#ffc629;font-weight:800;content:"◆"}
.p789-post-toc-list .is-subheading a{padding-left:20px;color:#d7cbb9;font-size:11px}
.p789-post-content{color:#f0ece7;font-size:13px;line-height:1.58;overflow-wrap:anywhere}
.p789-post-content>:first-child{margin-top:0}
.p789-post-content h2,.p789-post-content h3{position:relative;width:fit-content;max-width:100%;margin:16px 0 7px;padding:5px 17px 5px 12px;clip-path:polygon(3% 0,100% 0,96% 100%,0 100%);background:linear-gradient(100deg,#f24324,#b71411);color:#fff;font-size:17px;font-weight:800;line-height:1.25;scroll-margin-top:85px}
.p789-post-content h3{margin-top:13px;background:linear-gradient(100deg,#6c260d,#2a110b);color:#ffcf4c;font-size:15px}
.p789-post-content p{margin:0 0 10px}
.p789-post-content a{color:#ffbd27;text-decoration:underline;text-decoration-color:#ffbd2766;text-underline-offset:2px}
.p789-post-content ul,.p789-post-content ol{margin:0 0 12px 21px}
.p789-post-content li{margin:3px 0}
.p789-post-content img{max-width:100%;height:auto;border:1px solid #8c4d1d;border-radius:9px}
.p789-post-content figure{margin:12px auto}
.p789-post-content table{display:block;width:100%;max-width:100%;overflow-x:auto;border:1px solid #81501e;border-collapse:collapse}
.p789-post-content th,.p789-post-content td{padding:7px 9px;border:1px solid #503819}
.p789-post-content th{background:#35140d;color:#ffd15b}
.p789-post-content details{margin:7px 0;border:1px solid #75421e;border-radius:9px;background:#100d0c}
.p789-post-content summary{padding:9px 12px;color:#fff0d1;font-weight:700;cursor:pointer}
.p789-post-content details>p{padding:0 12px 10px;color:#ddd}
.p789-post-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:14px 0;color:#ffd044;font-size:11px}
.p789-post-tags span{padding:4px 9px;border:1px solid #85551e;border-radius:16px;background:#130e0a;color:#fff0d1}
.p789-post-author{display:flex;align-items:center;gap:12px;margin:14px 0 18px;padding:10px 12px;border:1px solid #b7791e;border-radius:12px;background:linear-gradient(100deg,#19120d,#090909)}
.p789-post-author-avatar{display:grid;flex:0 0 45px;width:45px;height:45px;place-items:center;border:2px solid #e5a52c;border-radius:50%;background:linear-gradient(145deg,#536f80,#142028);color:#fff;font-size:19px;font-weight:800}
.p789-post-author-bio{flex:1;min-width:0}
.p789-post-author-bio strong{color:#ffd04a;font-size:13px}
.p789-post-author-bio p{margin:3px 0 0;color:#ddd;font-size:11px;line-height:1.4}
.p789-post-author>a{padding:7px 11px;border:1px solid #ff4b20;border-radius:20px;background:linear-gradient(90deg,#e9281b,#970b08);color:#fff;font-size:10px;font-weight:700;text-decoration:none;white-space:nowrap}
.p789-post-related h2{margin:0 0 8px;color:#ffd04a;font-size:18px}
.p789-post-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.p789-post-related-card{display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid #8a541e;border-radius:9px;background:#100d0c;color:#fff;text-decoration:none}
.p789-post-related-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.p789-post-related-card strong{padding:6px 8px 3px;font-size:11px;line-height:1.3}
.p789-post-related-card time{margin-top:auto;padding:3px 8px 7px;color:#d4c5b2;font-size:9px}
.p789-post-sidebar{display:grid;gap:13px;min-width:0;padding-top:1px}
.p789-post-sidebox{overflow:hidden;border:1px solid #a76519;border-radius:12px;background:linear-gradient(150deg,#1b100b,#0a0a0a 72%);box-shadow:0 0 12px #f03a1920}
.p789-post-sidebox h2{margin:0;padding:9px 12px;border-bottom:1px solid #562613;background:linear-gradient(90deg,#35130c,#120b09);color:#ffd044;font-size:17px;line-height:1.25}
.p789-post-search form{display:flex;gap:6px;padding:10px}
.p789-post-search input{min-width:0;height:36px;margin:0;border:1px solid #d0c7ba;border-radius:9px;background:#fff;color:#222;font-size:12px}
.p789-post-search button{flex:0 0 38px;height:36px;margin:0;border:1px solid #ff6b20;border-radius:9px;background:linear-gradient(#f44524,#b51210);color:#fff;font-size:22px;line-height:1}
.p789-post-featured-list ul,.p789-post-categories ul{margin:0;padding:5px 11px;list-style:none}
.p789-post-featured-list li+li,.p789-post-categories li+li{border-top:1px solid #49301b}
.p789-post-featured-list a{display:flex;align-items:center;gap:9px;padding:7px 0;color:#f4eee6;text-decoration:none}
.p789-post-featured-list img{flex:0 0 82px;width:82px;height:55px;object-fit:cover;border:1px solid #b47b24;border-radius:7px}
.p789-post-featured-list a>span{display:grid;gap:4px;min-width:0}
.p789-post-featured-list strong{font-size:11px;line-height:1.35}
.p789-post-featured-list small{color:#d9c69c;font-size:9px}
.p789-post-categories a{display:flex;justify-content:space-between;gap:8px;padding:7px 2px;color:#eee8de;font-size:12px;text-decoration:none}
.p789-post-categories a::before{margin-right:7px;color:#ffb900;content:"›"}
.p789-post-categories a span{flex:1}
.p789-post-categories a small{color:#ffc840}
.p789-post-promo{position:relative;display:grid;min-height:250px;overflow:hidden;place-items:center;border:1px solid #ff8a1d;border-radius:13px;background:radial-gradient(ellipse at 50% 100%,#b52b0c,#31090b 60%,#100809);box-shadow:0 0 16px #f7311f45;color:#fff;text-align:center;text-decoration:none}
.p789-post-promo-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.p789-post-promo>span{position:relative;display:grid;gap:7px;padding:18px;text-shadow:0 2px 5px #160000}
.p789-post-promo strong{color:#ffd035;font-size:42px;font-style:italic;font-weight:900}
.p789-post-promo b{font-size:21px;line-height:1.3;text-transform:uppercase}
.p789-post-promo em{margin-top:5px;padding:9px 15px;border:1px solid #ffcf38;border-radius:24px;background:linear-gradient(90deg,#ed2418,#940b08);font-size:12px;font-style:normal;font-weight:800}
.p789-post-support p{margin:10px 12px;color:#e4ddd3;font-size:12px;line-height:1.4;text-align:center}
.p789-post-support>a{display:block;margin:0 12px 12px;padding:9px 12px;border:1px solid #f17e23;border-radius:20px;background:linear-gradient(90deg,#e92a1c,#a00d09);color:#fff;font-size:12px;font-weight:700;text-align:center;text-decoration:none}
.p789-post-support>a span{margin-left:8px}

@media(max-width:900px){
	.p789-post-shell{width:min(100% - 30px,760px)}
	.p789-post-layout{grid-template-columns:minmax(0,1fr);gap:20px}
	.p789-post-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
	.p789-post-promo,.p789-post-support{align-self:start}
}
@media(max-width:600px){
	.p789-post-shell{width:calc(100% - 24px)}
	.p789-post-breadcrumb{gap:5px;padding:10px 0;font-size:10px}
	.p789-post-heading h1{font-size:26px}
	.p789-post-meta{gap:6px 12px;font-size:10px}
	.p789-post-feature-image,.p789-post-feature-placeholder{aspect-ratio:16/9}
	.p789-post-lead,.p789-post-content{font-size:12px}
	.p789-post-content h2{font-size:15px}
	.p789-post-content h3{font-size:14px}
	.p789-post-sidebar{grid-template-columns:minmax(0,1fr)}
	.p789-post-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.p789-post-author{align-items:flex-start;flex-wrap:wrap}
	.p789-post-author>a{margin-left:57px}
}

@media(max-width:900px){
	.p789-editorial-shell{width:min(100% - 30px,760px)}
	.p789-editorial-layout{grid-template-columns:minmax(0,1fr);gap:18px}
	.p789-editorial-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
	.p789-editorial-toc{grid-column:1/-1}
	.p789-editorial-hero{grid-template-columns:minmax(0,1fr) minmax(250px,.8fr);gap:20px}
}
@media(max-width:600px){
	.p789-editorial-shell{width:calc(100% - 24px)}
	.p789-editorial-breadcrumb{gap:5px;padding:10px 0;font-size:10px}
	.p789-editorial-hero{grid-template-columns:minmax(0,1fr);gap:12px;padding:6px 0 16px}
	.p789-editorial-hero-copy h1{font-size:30px}
	.p789-editorial-hero-copy>p{font-size:13px}
	.p789-editorial-hero-media{max-width:100%}
	.p789-editorial-meta{gap:5px}
	.p789-editorial-meta span{padding:5px 8px;font-size:9px}
	.p789-editorial-layout{padding:14px 0 22px}
	.p789-editorial-content{font-size:13px;line-height:1.6}
	.p789-editorial-content h2{font-size:20px}
	.p789-editorial-content h3{font-size:17px}
	.p789-editorial-sidebar{grid-template-columns:minmax(0,1fr)}
	.p789-editorial-toc{grid-column:auto}
	.p789-editorial-resources{align-items:flex-start;flex-direction:column}
	.p789-editorial-author-card{align-items:flex-start;flex-wrap:wrap}
	.p789-editorial-contact{margin-left:60px}
	.p789-editorial-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
