/*
Theme Name: Reliant Post
Theme URI: https://example.com/reliant-post
Author: Reliant Post
Description: Editorial magazine theme for Reliant Post - Sense of Creativity.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: reliant-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 .reliant-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 .reliant-contextual-reading strong{display:block;font-size:13px;text-transform:uppercase;letter-spacing:1.4px;color:#172e26;margin-bottom:10px}
.article-content .reliant-contextual-links{display:flex;flex-direction:column;gap:9px}
.article-content .reliant-contextual-reading a.reliant-internal-link{display:block;color:#21634a;font-size:16px;font-weight:700;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.article-content .reliant-contextual-reading a.reliant-internal-link:hover{text-decoration:underline}
.article-content a.reliant-external-link{color:#b94e2d;text-decoration:underline;text-underline-offset:3px}
@media(max-width:540px){.article-content .reliant-contextual-reading{padding:16px;margin:22px 0}}

/* Reliant Post editorial layout: namespaced and responsive */
:root{--rp-ink:#12282c;--rp-green:#0b483b;--rp-rust:#c35c35;--rp-cream:#fbf7f0}html,body{max-width:100%;overflow-x:clip}*,*:before,*:after{box-sizing:border-box}img{max-width:100%;height:auto} .site-header{background:#fffdf9}.brand strong{color:var(--rp-ink)}.brand small{letter-spacing:.13em}.header-subscribe{background:var(--rp-green);color:white!important;padding:11px 20px;border-radius:30px;text-decoration:none;white-space:nowrap}.rp-hero{background:linear-gradient(100deg,#fffcf8,#f8eee4);padding:34px 0 24px}.rp-hero-grid{display:grid;grid-template-columns:43% 57%;align-items:center;min-width:0;gap:0}.rp-hero-copy{padding:32px 20px 24px 0}.rp-hero h1{font-family:Georgia,serif;font-size:clamp(48px,5.5vw,84px);line-height:.99;letter-spacing:-.045em;margin:22px 0}.rp-hero h1 em{color:var(--rp-rust);font-style:normal}.rp-hero-copy>p{max-width:400px;font-size:17px;line-height:1.6}.rp-hero-visual{position:relative;min-width:0;min-height:460px;overflow:hidden;border-radius:48% 3px 3px 12%;background:#e2e9e2}.rp-hero-visual>img{width:100%;height:500px;object-fit:cover;display:block}.rp-stamp{position:absolute;bottom:24px;right:22px;background:#fff8e9;color:var(--rp-rust);padding:23px;letter-spacing:.18em;font-size:12px;line-height:1.8;box-shadow:0 8px 28px #0002}.rp-hand{position:absolute;top:30px;left:25px;color:white;font:italic 32px Georgia,serif;text-shadow:0 2px 10px #0009;transform:rotate(-8deg)}.rp-stats{display:flex;gap:26px;margin-top:32px;flex-wrap:wrap}.rp-stats span{display:flex;flex-direction:column;color:#556565;font-size:12px}.rp-stats strong{font-size:22px;color:var(--rp-ink)}.rp-trending{grid-template-columns:repeat(4,minmax(0,1fr))}.rp-trending .post-card{min-width:0;border:1px solid #e9e8e4;border-radius:9px;overflow:hidden;background:white}.rp-trending .post-card img{width:100%;aspect-ratio:1.5;object-fit:cover}.rp-trending .post-card h3,.rp-trending .post-card p,.rp-trending .post-card .post-meta,.rp-trending .post-card>a:last-child{margin-left:12px;margin-right:12px}.rp-trending .post-card p{display:none}.rp-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.rp-category-grid a{display:flex;align-items:center;flex-direction:column;gap:9px;padding:22px 7px;border:1px solid #e9e8e4;border-radius:10px;text-decoration:none;color:var(--rp-ink);background:#fffcf9}.rp-category-grid span{font-size:30px;color:var(--rp-rust)}.rp-category-grid small{font-size:11px;color:#62736f}.rp-feature{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:36px;background:#f7f6f1;border-radius:12px}.rp-feature-text h2{font-size:clamp(34px,4vw,54px);line-height:1.08}.rp-feature-list article{display:flex;align-items:center;gap:16px;border-bottom:1px solid #d8dcd6;padding:12px 0}.rp-feature-list img{width:112px;height:78px;object-fit:cover;border-radius:8px}.rp-feature-list h3{font-size:18px;margin:5px 0}.rp-feature-list small{color:#71817a}.rp-newsletter{padding:50px 0;background:#f3e9db}.rp-newsletter-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.rp-newsletter h2{font: bold 32px Georgia,serif;margin:8px 0}.rp-newsletter form{display:flex;max-width:440px;width:100%;gap:8px}.rp-newsletter input{min-width:0;flex:1;border:1px solid #d9d8d2;padding:14px;border-radius:6px}.rp-newsletter button{background:var(--rp-green);color:white;border:0;padding:13px 20px;border-radius:6px;cursor:pointer}.article-content{overflow-wrap:anywhere;min-width:0}.article-content a:not(.reliant-external-link){color:#13664e}.article-content a.reliant-external-link{color:#bc4d25}.reliant-contextual-reading{background:#eef5ef;border-left:4px solid #1e644e;padding:20px;margin:28px 0;border-radius:8px}.reliant-contextual-links{display:grid;gap:10px;margin-top:10px}.reliant-internal-link{color:#12604d!important}.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.related-grid article{min-width:0} .related-grid img{width:100%;aspect-ratio:1.5;object-fit:cover}.site-footer{background:#082d27!important}.site-footer .wrap{max-width:1200px}
@media(max-width:900px){.rp-hero-grid{grid-template-columns:1fr 1fr}.rp-hero-visual{min-height:330px}.rp-hero-visual>img{height:380px}.rp-trending{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.header-subscribe{display:none}}@media(max-width:640px){.rp-hero-grid,.rp-feature{grid-template-columns:1fr}.rp-hero-copy{padding:15px 0 25px}.rp-hero h1{font-size:52px}.rp-hero-visual{border-radius:20px}.rp-hero-visual>img{height:320px}.rp-newsletter-inner{flex-direction:column;align-items:stretch}.rp-trending{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-feature{padding:20px}.rp-stats{gap:18px}.related-grid{grid-template-columns:1fr}.rp-newsletter form{max-width:100%}}
