/*
Theme Name: Inspire Post
Theme URI: https://example.com/inspire-post
Author: Inspire Post
Description: Editorial magazine theme for Inspire Post - Sense of Creativity.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: inspire-post
*/
:root{--ink:#10221c;--green:#173e30;--clay:#b35337;--muted:#65716c;--cream:#f8f5ef;--line:#e9e6df}*{box-sizing:border-box}html{overflow-x:hidden}body{margin:0;color:#17202c;background:#fff;font-family:Arial,Helvetica,sans-serif;line-height:1.65;overflow-wrap:anywhere}img{max-width:100%;height:auto}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}.wrap{width:min(1240px,calc(100% - 44px));margin:auto}.site-header{border-bottom:1px solid var(--line);background:white}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:82px}.brand{display:flex;align-items:center;gap:12px;color:#101a17}.brand svg{width:42px;height:54px}.brand strong{display:block;font:700 27px Georgia,serif;line-height:1}.brand small{display:block;font-size:11px;letter-spacing:2px}.menu{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.menu a{font-size:13px;color:#19231f}.search-toggle{border:0;background:none;font-size:22px;cursor:pointer}.search-area{padding:0 0 14px}.search-area form{display:flex;gap:8px}.search-area input{width:100%;padding:12px;border:1px solid #ccc}.btn{display:inline-block;padding:12px 25px;border-radius:28px;background:var(--green);color:white;font-weight:700;font-size:13px}.btn:hover{color:white}.btn-outline{background:transparent;border:1px solid var(--green);color:var(--green)}.hero{background:linear-gradient(90deg,#fbf8f2 0%,#faf6ee 43%,transparent 75%),url('assets/hero.jpg') center/cover;min-height:430px;display:flex;align-items:center}.hero-copy{padding:58px 0;max-width:600px}.eyebrow{text-transform:uppercase;letter-spacing:2px;color:var(--green);font-size:11px;font-weight:700}.hero h1{font:700 clamp(42px,5.4vw,75px)/.99 Georgia,serif;margin:15px 0;color:#101c28}.hero h1 em{color:var(--clay);font-style:normal}.hero p{max-width:450px}.hero-actions{display:flex;gap:12px;margin-top:22px}.category-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:-22px;position:relative}.category-strip a{padding:18px 10px;background:white;border:1px solid var(--line);border-radius:8px;text-align:center;font-size:13px;box-shadow:0 5px 18px #00000008}.category-strip span{display:block;font-size:23px}.section{padding:48px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:20px}.section h2,.section-head h2{font:700 clamp(29px,3vw,39px) Georgia,serif;margin:0;line-height:1.2}.feature{display:grid;grid-template-columns:1fr 1.6fr 1.1fr;gap:22px;align-items:center}.feature-image{position:relative}.feature-image img{width:100%;height:280px;object-fit:cover;border-radius:9px}.feature-image h3{position:absolute;bottom:0;left:0;right:0;color:white;padding:35px 14px 12px;margin:0;background:linear-gradient(transparent,#000b);font:700 22px Georgia,serif}.feature-list article{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.feature-list img{width:100px;height:72px;object-fit:cover;border-radius:6px}.feature-list h3{font:700 17px Georgia,serif;margin:0}.posts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.post-card img{width:100%;height:170px;object-fit:cover;border-radius:7px}.post-card h3{font:700 21px/1.15 Georgia,serif;margin:8px 0}.post-card p{font-size:13px;color:var(--muted)}.post-meta{font-size:11px;color:var(--green);text-transform:uppercase;letter-spacing:1px}.newsletter{background:#f7efe7;padding:35px 0}.newsletter-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.newsletter h2{font:700 29px Georgia,serif;margin:0}.newsletter form{display:flex;gap:7px;max-width:420px;width:100%}.newsletter input{flex:1;min-width:0;border:1px solid #ddd;border-radius:30px;padding:12px 18px}.newsletter button{border:0;cursor:pointer}.site-footer{background:#0d2b22;color:#edf4ef;padding:52px 0 20px;clear:both;width:100%}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:38px}.site-footer a{color:#f1eee8}.site-footer h3{font-size:14px}.site-footer ul{padding:0;list-style:none}.site-footer li{margin:6px 0;font-size:13px}.site-footer p{font-size:13px;color:#c7d5ce}.copyright{border-top:1px solid #ffffff30;margin-top:30px;padding-top:16px;font-size:12px}.article-wrap{max-width:1000px;margin:50px auto;padding:0 22px}.article-wrap h1{font:700 clamp(36px,4vw,56px)/1.08 Georgia,serif;margin:12px 0}.article-cover{width:100%;max-height:430px;object-fit:cover;border-radius:10px;margin:24px 0}.article-content{max-width:800px;font-size:17px;line-height:1.85}.article-content p,.article-content li{overflow-wrap:anywhere;word-break:normal}.article-content h2{font:700 30px Georgia,serif;line-height:1.25;margin-top:28px}.article-content a{color:#b94e2d;text-decoration:underline}.article-content a[href^='/'],.article-content a[href*='inspirepost']{color:#21634a}.related{border-top:1px solid var(--line);margin-top:40px;padding-top:24px}.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.related-grid img{height:135px;width:100%;object-fit:cover}.related-grid h3{font:700 18px Georgia,serif}.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}@media(max-width:850px){.header-inner{flex-wrap:wrap;padding:15px 0}.menu{gap:12px}.feature{grid-template-columns:1fr 1fr}.feature-list{grid-column:1/-1}.posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-strip{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.hero{background-position:65% center}}@media(max-width:540px){.wrap{width:min(100% - 28px,1240px)}.menu{width:100%;overflow-x:auto;flex-wrap:nowrap;white-space:nowrap}.hero{min-height:430px;background:linear-gradient(90deg,#fbf8f2ed,#fbf8f2a6),url('assets/hero.jpg') center/cover}.feature,.posts-grid,.archive-grid,.related-grid,.footer-grid{grid-template-columns:1fr}.category-strip{grid-template-columns:repeat(2,1fr)}.newsletter-inner{display:block}.newsletter form{margin-top:18px}.feature-list{grid-column:auto}.hero h1{font-size:47px}}

/* Contextual editorial reading: isolated styles to avoid plugin layout collisions. */
.article-content .inspire-contextual-reading{display:block;clear:both;width:100%;max-width:100%;margin:28px 0;padding:20px 24px;border-left:4px solid #b35337;background:#faf5ee;border-radius:0 9px 9px 0;box-sizing:border-box;overflow-wrap:anywhere}
.article-content .inspire-contextual-reading strong{display:block;font-size:13px;text-transform:uppercase;letter-spacing:1.4px;color:#172e26;margin-bottom:10px}
.article-content .inspire-contextual-links{display:flex;flex-direction:column;gap:9px}
.article-content .inspire-contextual-reading a.inspire-internal-link{display:block;color:#21634a;font-size:16px;font-weight:700;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.article-content .inspire-contextual-reading a.inspire-internal-link:hover{text-decoration:underline}
.article-content a.inspire-external-link{color:#b94e2d;text-decoration:underline;text-underline-offset:3px}
@media(max-width:540px){.article-content .inspire-contextual-reading{padding:16px;margin:22px 0}}
