/*
Theme Name: DJRTR Magazine
Theme URI: https://blog.djrtr.online/
Author: DJRTR
Description: Responsive magazine/blog theme with a screenshot-inspired homepage and newsletter footer.
Version: 4.0.0
Text Domain: djrtr-magazine
*/
:root{--navy:#101b58;--teal:#48aa96;--ink:#151515;--muted:#667085;--bg:#f5f6f7;--white:#fff;--accent:#3b3aa8;--border:#e7e7ea;--max:1400px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.container{width:min(var(--max),calc(100% - 42px));margin-inline:auto}
.site-header{background:linear-gradient(108deg,#101b58 0%,#153269 35%,#48aa96 100%);color:#fff}.header-inner{min-height:160px;display:flex;align-items:center;gap:35px}.brand{font-size:42px;font-weight:900;letter-spacing:-2.6px;white-space:nowrap}.brand a{color:#fff}.brand-dot{color:#55cbb1}.main-nav{margin-left:auto;display:flex;align-items:center;gap:38px}.main-nav a{font-size:17px;color:#fff;font-weight:500}.main-nav a:hover{opacity:.8}.search-form{margin-left:18px;position:relative}.search-form input{width:205px;height:56px;border:2px solid #3b3aa8;border-radius:15px;background:#fff;color:#111;padding:0 48px 0 16px;outline:none}.search-form button{position:absolute;right:7px;top:7px;height:42px;width:42px;border:0;border-radius:11px;background:#3b3aa8;color:#fff;cursor:pointer}
.site-main{padding:30px 0 0;background:#f5f6f7}.featured{background:#fff;padding:28px;display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:38px;align-items:center;margin-bottom:55px}.featured-media img,.placeholder-image{width:100%;height:257px;object-fit:cover;background:#e9ecef}.featured-title{font-size:42px;line-height:1.08;letter-spacing:-1px;margin:0 0 20px;font-weight:900}.meta{font-size:15px;color:#344054}.meta a{color:#3b3aa8}.excerpt{font-size:19px;line-height:1.55;margin:0}.category-badge{display:inline-block;background:#3b3aa8;color:#fff;border-radius:10px;padding:6px 12px;font-size:13px;font-weight:700;margin-bottom:20px}.read-more{display:inline-block;color:#3b3aa8;margin-top:10px;font-weight:600}.read-more:hover{text-decoration:underline}
.section-heading{font-size:28px;line-height:1.2;margin:0 0 28px;font-weight:900;position:relative;padding-bottom:12px}.section-heading:after{content:"";display:block;width:94px;height:5px;background:#3b3aa8;border-radius:3px;position:absolute;left:0;bottom:0}.posts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.post-card{background:#fff;padding:0 0 28px;overflow:hidden}.post-card h2{font-size:29px;line-height:1.15;letter-spacing:-.5px;margin:0 18px 12px;font-weight:900}.post-card .meta{margin:0 18px 15px}.post-card .thumb{margin:0 0 18px}.post-card .thumb img{width:100%;height:235px;object-fit:cover}.post-card .excerpt{font-size:16px;margin:0 18px}.post-card .read-more{margin-left:18px}.pagination{display:flex;gap:8px;justify-content:center;align-items:center;margin:55px 0 45px;padding-bottom:4px}.pagination a,.pagination span{min-width:48px;height:48px;background:#fff;border:1px solid #e1e2e6;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;font-weight:700}.pagination .current{background:#3b3aa8;color:#fff;border-color:#3b3aa8}.pagination .dots{background:transparent;border:0;min-width:28px}
.related-section{background:#fff;padding:50px 0 72px}.related-section .section-heading{font-size:28px;margin:0 0 34px;padding-bottom:12px}.related-section .section-heading:after{width:94px;height:5px}.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.related-card{overflow:hidden;background:transparent}.related-image{display:block;border-radius:6px;overflow:hidden}.related-image img,.related-image span{width:100%;height:252px;object-fit:cover;background:#e8e9eb;display:block}.related-card h3{font-size:21px;line-height:1.35;color:#3b3aa8;margin:13px 16px 0;font-weight:800}.related-card h3 a{color:#3b3aa8}.related-card h3 a:hover{color:#2d2b8f}
.archive-header{background:#fff;padding:35px;margin-bottom:30px}.archive-header h1{margin:0;font-size:42px;line-height:1.1}.article-shell{background:#fff;padding:45px;max-width:1000px;margin:0 auto 55px}.article-shell h1{font-size:52px;line-height:1.08;margin:10px 0 20px}.article-shell .article-image{margin:28px 0}.article-shell .article-image img{width:100%}.article-content{font-size:19px;line-height:1.8}.article-content h2{font-size:32px;line-height:1.2;margin-top:38px}.article-content h3{font-size:25px}.article-content a{color:#3b3aa8;text-decoration:underline}
.site-footer{background:#222;color:#fff;padding-top:58px}.footer-inner{text-align:center}.footer-logo{font-size:52px;line-height:1;font-weight:900;letter-spacing:-3px;color:#fff;margin-bottom:38px}.footer-nav{display:flex;justify-content:center;gap:28px;flex-wrap:wrap}.footer-nav a{font-weight:700;color:#fff}.newsletter{max-width:540px;margin:52px auto 0}.newsletter h2{color:#4544ae;font-size:28px;font-weight:500;margin:0 0 2px}.newsletter p{font-size:17px;line-height:1.5;margin:0 0 25px}.newsletter-form{display:grid;gap:14px}.newsletter-form input{width:100%;height:50px;border:0;background:#f5f6f8;padding:0 18px;font-size:16px}.newsletter-form button{height:62px;border:0;background:#403eae;color:#fff;font-size:18px;font-weight:900;cursor:pointer}.newsletter-form button:hover{background:#4b49c0}.footer-mini-brand{font-family:monospace;font-size:25px;font-weight:900;letter-spacing:1px;display:inline-block;margin:52px 0 60px;border:3px solid #fff;padding:3px 10px;position:relative}.footer-mini-brand:before,.footer-mini-brand:after{content:"";position:absolute;width:38px;height:3px;background:#fff}.footer-mini-brand:before{left:-3px;top:-8px}.footer-mini-brand:after{right:-3px;bottom:-8px}.footer-bottom{background:#fff;color:#5f6368;padding:26px 0}.footer-bottom-inner{display:grid;grid-template-columns:140px 1fr;gap:25px;align-items:center}.ads-brand{font-size:38px;letter-spacing:-2px;color:#111}.footer-bottom p{margin:0;font-size:13px;line-height:1.6}
@media(max-width:1050px){.header-inner{flex-wrap:wrap;padding:24px 0}.main-nav{order:3;width:100%;justify-content:center;margin:0;gap:22px}.search-form{margin-left:auto}.featured{grid-template-columns:1fr 1fr}.featured-copy{grid-column:1}.featured-media{grid-column:2}.featured-excerpt{grid-column:1/-1}.posts-grid,.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.container{width:min(100% - 24px,var(--max))}.brand{font-size:36px}.header-inner{min-height:auto;padding:22px 0}.main-nav{gap:15px;overflow:auto;justify-content:flex-start;padding-bottom:3px}.main-nav a{font-size:14px;white-space:nowrap}.search-form{width:100%;margin:5px 0 0}.search-form input{width:100%}.featured{grid-template-columns:1fr;padding:20px;gap:20px}.featured-copy,.featured-media,.featured-excerpt{grid-column:auto}.featured-title{font-size:34px}.featured-media img,.placeholder-image{height:230px}.posts-grid,.related-grid{grid-template-columns:1fr;gap:24px}.post-card h2{font-size:28px}.post-card .thumb img{height:220px}.article-shell{padding:25px 20px}.article-shell h1{font-size:38px}.article-content{font-size:17px}.footer-logo{font-size:45px}.footer-nav{gap:16px;font-size:14px}.newsletter{margin-top:42px}.footer-bottom-inner{grid-template-columns:1fr;text-align:center}.ads-brand{font-size:34px}.pagination{margin:40px 0}.related-section{padding:40px 0 55px}.related-image img,.related-image span{height:230px}}

/* Screenshot-inspired refinements */
.site-main{min-height:300px}
.featured{box-shadow:none}
.post-card{box-shadow:none}
.post-card h2 a:hover,.related-card h3 a:hover{color:#2d2b8f}
.site-footer{margin-top:0}
@media(min-width:701px){.related-section{margin-top:0}.pagination{min-height:48px}}
