/*
Theme Name: DriveStream Journal
Theme URI: https://blog.drivestream.pro/
Author: DriveStream Pro
Author URI: https://drivestream.pro/
Description: A responsive editorial theme for the DriveStream Pro journal. Native WordPress posts, categories, search and pagination; no plugins or content changes required.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drivestream-journal
Tags: blog, custom-menu, featured-images
*/

:root{--ivory:#f7f3eb;--surface:#fffdfa;--navy:#17243b;--blue:#1949d8;--orange:#d54a26;--muted:#5c6675;--line:rgba(23,36,59,.16);--radius:22px;--heading:'Space Grotesk',Arial,sans-serif;--body:'DM Sans',Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{margin:0;color:var(--navy);background:var(--ivory);font-family:var(--body);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
svg{flex-shrink:0}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:5px}
::selection{background:#d9e3ff;color:var(--navy)}
h1,h2,h3,h4,h5,h6{font-family:var(--heading);font-weight:600;letter-spacing:-.05em;line-height:1.1;margin:0}
p{margin:0 0 1em}
.wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.icon{width:20px;height:20px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:52px;padding:12px 24px;border:1px solid var(--blue);border-radius:999px;background:var(--blue);color:#fff;font-weight:600;font-size:14px;line-height:1.3;transition:background .18s,transform .18s;white-space:nowrap}
.button:hover{background:#1039b2;border-color:#1039b2;transform:translateY(-2px)}
.button-small{min-height:45px;padding:10px 20px;gap:14px;font-size:13px}
.button-outline{background:transparent;color:var(--navy);border-color:var(--line)}
.button-outline:hover{background:var(--surface);border-color:var(--navy)}
.text-link{display:inline-flex;align-items:center;gap:18px;font-weight:600;font-size:14px;border-bottom:1px solid var(--line);padding-bottom:7px}
.text-link:hover{color:var(--blue);border-color:var(--blue)}
.brand{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;font-family:var(--heading);font-size:23px;font-weight:700;letter-spacing:-.05em;line-height:1}
.brand img{width:36px;height:36px}
.brand-pro{font-size:15px;margin-left:4px;font-weight:600;letter-spacing:-.03em}
.brand-link{display:inline-flex;align-items:center}
.site-header{position:sticky;top:0;z-index:20;background:rgba(247,243,235,.97);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:88px}
.site-nav{display:flex;align-items:center;gap:20px}
.nav-links{display:flex;align-items:center;gap:28px;list-style:none;margin:0;padding:0;font-size:13px;font-weight:500}
.nav-links a{padding:14px 0;display:block}
.nav-links a:hover{color:var(--blue)}
.menu-toggle{display:none;align-items:center;gap:12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);min-height:44px;padding:10px 16px;color:var(--navy);font-size:13px}
.menu-lines{width:16px;height:12px;border-block:1.5px solid currentColor;position:relative}
.menu-lines::after{content:'';height:1.5px;background:currentColor;position:absolute;top:4px;left:0;width:100%}
.admin-bar .site-header{top:32px}
.screen-reader-text,.skip-link:not(:focus){border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
.skip-link:focus{position:fixed;top:12px;left:12px;z-index:100000;padding:12px 20px;background:var(--surface);border:2px solid var(--blue);border-radius:12px;font-weight:600}
.journal-main{padding-bottom:110px}
.journal-intro{padding:88px 0 56px;border-bottom:1px solid var(--line)}
.eyebrow{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px;line-height:1.5;font-weight:700;letter-spacing:.16em;text-transform:uppercase;margin:0 0 26px}
.status-dot{width:7px;height:7px;border-radius:50%;background:var(--orange)}
.journal-intro h1{font-size:clamp(44px,5.7vw,78px);max-width:950px;line-height:1.04;letter-spacing:-.065em}
.journal-intro h1 span{color:var(--blue)}
.intro-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-top:30px}
.intro-bottom p{max-width:480px;color:var(--muted);font-size:17px;line-height:1.7;margin:0}
.intro-bottom .text-link{flex-shrink:0;margin-bottom:5px}
.journal-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 0 42px}
.category-nav{display:flex;flex-wrap:wrap;gap:9px;min-width:0}
.category-pill{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:transparent;border-radius:999px;min-height:43px;padding:8px 19px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.category-pill:hover{background:var(--surface);border-color:var(--navy)}
.category-pill.is-current{background:var(--navy);border-color:var(--navy);color:#fff}
.search-form{display:flex;align-items:center;position:relative;width:285px;max-width:100%;flex-shrink:0;margin:0}
.search-form input{width:100%;min-width:0;min-height:46px;border:1px solid var(--line);border-radius:999px;background:var(--surface);padding:10px 50px 10px 19px;color:var(--navy);font-size:13px;appearance:none}
.search-form input::placeholder{color:var(--muted);opacity:1}
.search-form button{display:grid;place-items:center;border:0;background:transparent;position:absolute;right:4px;top:4px;width:38px;height:38px;border-radius:50%;color:var(--navy)}
.search-form button:hover{background:#e6ecfc;color:var(--blue)}
.search-form svg{width:19px;height:19px}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}
.section-heading h2{font-size:21px;letter-spacing:-.035em}
.section-mark{font-size:11px;letter-spacing:.1em;color:var(--muted)}
.post-card{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.card-link{height:100%;display:flex;flex-direction:column}
.card-link:hover .card-title{color:var(--blue)}
.card-link:focus-visible{outline-offset:-5px}
.card-media{position:relative;overflow:hidden;aspect-ratio:1.5;background:#eef1f5}
.post-image{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.card-link:hover .post-image{transform:scale(1.025)}
.card-body{display:flex;flex-direction:column;align-items:flex-start;padding:27px 28px 28px;flex:1}
.post-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:11px;line-height:1.6;letter-spacing:.025em;margin-bottom:18px}
.category-label{color:var(--navy);font-weight:700;text-transform:uppercase;font-size:10px;letter-spacing:.1em}
.meta-dot{color:var(--orange)}
.card-title{font-size:26px;letter-spacing:-.045em;line-height:1.18;overflow-wrap:anywhere;transition:color .18s}
.card-excerpt{color:var(--muted);font-size:14px;line-height:1.7;margin:17px 0 25px}
.card-read{display:inline-flex;align-items:center;gap:18px;color:var(--navy);font-size:13px;font-weight:600;margin-top:auto;padding-top:12px}
.card-read .icon{width:17px;height:17px;color:var(--blue)}
.featured-card{margin-bottom:40px}
.featured-card .card-link{display:grid;grid-template-columns:1.12fr 1fr;align-items:stretch;min-height:380px}
.featured-card .card-media{aspect-ratio:auto;min-height:380px}
.featured-card .card-body{padding:48px 44px;justify-content:center}
.featured-card .card-title{font-size:clamp(30px,3.1vw,44px);letter-spacing:-.055em}
.featured-card .card-excerpt{font-size:16px;max-width:400px;margin-top:23px;margin-bottom:27px}
.featured-card .card-read{margin-top:12px}
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.brand-art{width:100%;height:100%;min-height:220px;position:relative;isolation:isolate;display:grid;place-items:center;background:radial-gradient(ellipse at 18% 100%,#e0e7fc 0,transparent 65%),linear-gradient(120deg,#efe8dd,#f6f0e7 57%,#e5eaf4)}
.brand-art::before{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(23,36,59,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(23,36,59,.04) 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(120deg,transparent,#000);z-index:-1}
.art-tile{position:relative;width:142px;height:142px;display:grid;place-items:center;background:rgba(255,253,250,.95);border:1px solid rgba(255,255,255,.9);box-shadow:0 18px 42px rgba(23,36,59,.1);border-radius:32px;transform:rotate(-8deg)}
.art-tile img{width:90px;height:90px}
.art-orbit{position:absolute;border:1px solid rgba(23,36,59,.12);border-radius:50%;width:270px;height:270px;transform:rotate(-24deg) scaleY(.7)}
.orbit-two{width:350px;height:350px;transform:rotate(27deg) scaleY(.73)}
.art-dot{position:absolute;width:24px;height:24px;border-radius:50%;right:19%;top:22%;background:var(--blue);box-shadow:0 0 0 8px rgba(25,73,216,.06)}
.art-line{position:absolute;width:70px;height:7px;border-radius:8px;background:var(--orange);bottom:24%;left:20%;transform:rotate(-22deg)}
.featured-card .art-tile{width:175px;height:175px;border-radius:40px}
.featured-card .art-tile img{width:112px;height:112px}
.featured-card .orbit-one{width:330px;height:330px}
.featured-card .orbit-two{width:430px;height:430px}
.navigation.pagination{margin-top:50px}
.pagination .nav-links{justify-content:center;flex-wrap:wrap;gap:8px}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:999px;padding:8px 16px;background:var(--surface);font-size:13px}
.pagination .page-numbers.current{background:var(--navy);color:#fff;border-color:var(--navy)}
.pagination a.page-numbers:hover{border-color:var(--blue);color:var(--blue)}
.pagination .dots{border:0;background:transparent}
.site-footer{border-top:1px solid var(--line);background:#efeae0}
.footer-cta{display:flex;align-items:center;justify-content:space-between;gap:50px;padding-block:54px;border-bottom:1px solid var(--line)}
.footer-cta .eyebrow{font-size:10px;margin-bottom:15px}
.footer-cta h2{max-width:530px;font-size:clamp(28px,3vw,39px);letter-spacing:-.05em;line-height:1.14}
.footer-cta .button{flex-shrink:0}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;padding-block:32px 35px}
.footer-bottom .brand{font-size:21px}
.footer-bottom .brand img{width:30px;height:30px}
.copyright{color:var(--muted);font-size:11px;margin:12px 0 0}
.footer-links{display:flex;flex-wrap:wrap;gap:26px;font-size:12px}
.footer-links a:hover{color:var(--blue)}
.archive-intro{padding:64px 0 38px;border-bottom:1px solid var(--line)}
.back-link{display:inline-flex;margin-bottom:35px;color:var(--muted);font-size:13px}
.back-link:hover{color:var(--blue)}
.archive-intro .eyebrow{margin-bottom:17px}
.archive-intro h1{font-size:clamp(36px,5vw,64px);overflow-wrap:anywhere}
.archive-description{max-width:700px;color:var(--muted);margin-top:22px}
.archive-description p:last-child{margin-bottom:0}
.single-main{max-width:1040px;padding:58px 0 90px}
.article-header{max-width:820px;margin:0 auto 46px}
.article-header .back-link{margin-bottom:42px}
.article-header .post-meta{margin-bottom:21px}
.article-header h1{font-size:clamp(40px,5.6vw,72px);line-height:1.07;letter-spacing:-.06em;overflow-wrap:anywhere}
.article-byline{margin:23px 0 0;color:var(--muted);font-size:13px}
.article-image{margin:0 0 45px;border-radius:20px;overflow:hidden}
.article-image img{width:100%;height:auto}
.entry-content,.comments-area,.article-tags,.post-navigation{max-width:760px;margin-inline:auto}
.entry-content{font-size:18px;line-height:1.8;overflow-wrap:anywhere}
.entry-content>*{max-width:100%}
.entry-content h2{font-size:34px;margin:1.6em 0 .65em;line-height:1.2}
.entry-content h3{font-size:27px;margin:1.5em 0 .65em;line-height:1.2}
.entry-content h4{font-size:22px;margin:1.4em 0 .65em}
.entry-content a{color:var(--blue);text-decoration:underline;text-underline-offset:4px}
.entry-content blockquote{margin:2em 0;padding:20px 28px;border-left:3px solid var(--orange);background:var(--surface);font-family:var(--heading);font-size:25px;line-height:1.45}
.entry-content blockquote p:last-child{margin-bottom:0}
.entry-content figure{margin:2em 0}
.entry-content figcaption{font-size:13px;color:var(--muted);line-height:1.5}
.entry-content iframe,.entry-content video{max-width:100%}
.entry-content pre{max-width:100%;overflow-x:auto;padding:22px;border-radius:12px;background:var(--navy);color:var(--surface);font-size:14px}
.entry-content table{border-collapse:collapse;width:100%;font-size:15px}
.entry-content th,.entry-content td{padding:12px;border:1px solid var(--line)}
.entry-content .wp-block-table{overflow-x:auto}
.entry-content .wp-block-button__link{color:#fff;text-decoration:none;background:var(--blue);font-size:15px;border-radius:999px}
.entry-content .wp-block-image img{border-radius:14px}
.entry-content .wp-block-separator{border:none;border-top:1px solid var(--line);margin-block:2em}
.article-tags{margin-top:40px;font-size:12px;display:flex;flex-wrap:wrap;gap:8px}
.article-tags a{border:1px solid var(--line);padding:4px 12px;border-radius:999px}
.post-navigation{margin-top:40px;padding-top:25px;border-top:1px solid var(--line)}
.post-navigation .nav-links{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.post-navigation .nav-next{text-align:right;grid-column:2}
.post-navigation a{padding:0;font-family:var(--heading);font-size:21px;line-height:1.3;overflow-wrap:anywhere}
.nav-label{display:block;font-family:var(--body);font-size:11px;color:var(--muted);margin-bottom:10px}
.comments-area{margin-top:55px;padding-top:35px;border-top:1px solid var(--line);font-size:14px}
.comments-area h2{font-size:27px;margin-bottom:27px}
.comment-list{list-style:none;padding:0;margin:0 0 40px}
.comment-list .children{list-style:none;padding-left:25px}
.comment-body{margin-bottom:25px;padding:23px;border:1px solid var(--line);background:var(--surface);border-radius:16px}
.comment-author{display:flex;align-items:center;gap:10px;font-size:13px}
.comment-author .avatar{border-radius:50%}
.comment-metadata{font-size:11px;color:var(--muted);margin:10px 0}
.comment-content p:last-child{margin-bottom:0}
.reply{margin-top:12px;color:var(--blue);font-size:12px}
.comment-reply-title{font-size:25px;margin-bottom:20px}
.comment-form label{display:block;font-size:13px;margin-bottom:7px}
.comment-form textarea,.comment-form input:not([type=submit]):not([type=checkbox]){width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 16px;background:var(--surface);color:var(--navy)}
.comment-form .submit{background:var(--blue);color:#fff;border:0;padding:13px 24px;border-radius:999px;font-weight:600;font-size:14px}
.comment-form .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:10px}
.comment-form-cookies-consent input{margin-top:7px}
.empty-state{text-align:center;max-width:620px;margin:30px auto 25px;padding:60px 15px}
.empty-state h2{font-size:34px;margin:25px 0 18px;line-height:1.2}
.empty-state p{color:var(--muted);margin-bottom:28px}
.empty-symbol{display:inline-grid;place-items:center;width:75px;height:75px;border-radius:50%;color:var(--blue);background:#e0e7fa;font-size:32px}
.not-found{max-width:750px;margin-top:70px}
.not-found h1{font-size:clamp(40px,5vw,64px);margin-bottom:25px}
.not-found .eyebrow{justify-content:center}
.not-found .search-form{margin:0 auto 32px;width:350px}
.page-links{display:flex;gap:12px;font-size:14px;margin-top:30px}
@media(min-width:1500px){.journal-intro{padding-top:98px}}
@media(max-width:1100px){.nav-links{gap:20px}.site-nav{gap:18px}.brand{font-size:21px}.featured-card .card-body{padding:38px 32px}.featured-card .card-media,.featured-card .card-link{min-height:350px}.post-grid{gap:20px}.card-body{padding:24px}}
@media(max-width:900px){.wrap{width:calc(100% - 48px)}.header-inner{min-height:76px;flex-wrap:wrap;gap:0}.site-nav{width:100%;justify-content:space-between;padding:16px 0 20px}.ds-js .menu-toggle{display:inline-flex}.ds-js .site-nav:not(.is-open){display:none}.nav-links{flex-wrap:wrap;gap:8px 22px}.journal-intro{padding-top:64px}.intro-bottom{gap:25px}.intro-bottom p{font-size:16px;max-width:430px}.featured-card .card-body{padding:30px}.featured-card .card-media,.featured-card .card-link{min-height:320px}.featured-card .card-title{font-size:34px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-cta{gap:35px}.footer-cta h2{font-size:33px}.footer-links{gap:18px}.single-main{padding-top:44px}.article-header h1{font-size:56px}}
@media(max-width:760px){.featured-card .card-link{display:flex}.featured-card .card-media{width:100%;min-height:0;aspect-ratio:1.65}.featured-card .card-body{padding:33px}.featured-card .card-title{font-size:37px}.featured-card .card-read{margin-top:0}.featured-card .card-excerpt{max-width:none}.intro-bottom{display:block}.intro-bottom .text-link{margin-top:24px;margin-bottom:0}.journal-toolbar{align-items:flex-start;gap:16px;flex-wrap:wrap}.search-form{width:100%}.category-nav{width:100%}.footer-cta{align-items:flex-start;flex-direction:column;gap:28px}.footer-bottom{align-items:flex-start;flex-direction:column;gap:27px}.footer-cta h2{max-width:520px}.admin-bar .site-header{top:46px}}
@media(max-width:600px){.wrap{width:calc(100% - 36px)}.header-inner{min-height:72px}.brand{font-size:20px;gap:7px}.brand img{width:31px;height:31px}.brand-pro{font-size:13px}.menu-toggle{font-size:12px;padding-inline:13px}.site-nav{align-items:flex-start;flex-direction:column;gap:17px;padding-bottom:24px}.site-nav .nav-links{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:2px 20px}.site-nav .nav-links a{padding:10px 0}.journal-intro{padding-top:47px;padding-bottom:32px}.eyebrow{font-size:10px;letter-spacing:.14em;margin-bottom:21px}.journal-intro h1{font-size:clamp(38px,9.4vw,56px);line-height:1.08;letter-spacing:-.06em}.intro-bottom{margin-top:22px}.intro-bottom p{font-size:15px;line-height:1.75;max-width:390px}.intro-bottom .text-link{margin-top:20px;font-size:13px}.journal-toolbar{padding:24px 0 29px}.category-pill{font-size:12px;min-height:40px;padding:8px 16px}.section-heading{margin-bottom:17px}.section-heading h2{font-size:18px}.section-mark{font-size:10px}.featured-card{margin-bottom:24px}.featured-card .card-media{aspect-ratio:1.43}.featured-card .card-body{padding:27px 25px}.featured-card .card-title{font-size:34px}.featured-card .card-excerpt{font-size:15px;margin-top:17px;margin-bottom:19px}.post-meta{font-size:10px;gap:8px;margin-bottom:14px}.post-grid{grid-template-columns:minmax(0,1fr);gap:24px}.card-body{padding:25px}.card-title{font-size:28px}.journal-main{padding-bottom:65px}.footer-cta{padding-block:36px;gap:24px}.footer-cta .eyebrow{font-size:9px;letter-spacing:.12em;line-height:1.7}.footer-cta h2{font-size:31px}.footer-bottom{padding-block:27px 30px}.footer-links{gap:12px 22px;font-size:12px}.archive-intro{padding-top:40px;padding-bottom:29px}.back-link{margin-bottom:26px}.archive-intro h1{font-size:38px}.single-main{padding-top:32px;padding-bottom:60px}.article-header{margin-bottom:29px}.article-header .back-link{margin-bottom:29px}.article-header h1{font-size:42px;line-height:1.1}.article-header .post-meta{margin-bottom:17px}.article-byline{margin-top:18px}.entry-content{font-size:17px;line-height:1.8}.entry-content h2{font-size:29px}.entry-content h3{font-size:24px}.entry-content blockquote{font-size:22px;padding:18px 20px}.article-image{margin-bottom:28px;border-radius:14px}.post-navigation a{font-size:18px}.comments-area{margin-top:40px;padding-top:28px}.comment-body{padding:18px}.comment-list .children{padding-left:15px}.empty-state{padding:38px 8px}.empty-state h2{font-size:29px}.not-found{margin-top:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
