/*
Theme Name: MaxLaundry Blog
Theme URI: https://maxlaundry.app
Author: Omegamatrix
Author URI: https://omega-cst.com
Description: Blog theme for MaxLaundry. Renders the same shared site chrome (nav, footer, logo, trust line) as the homepage by reading the MaxLaundry Landing plugin's content option, so the blog matches the rest of the site. Ships self-hosted Poppins and Inter (no Google CDN).
Version: 1.0.0
License: GPL2
Text Domain: maxlaundry-blog
*/

/* Blog styles. Chrome + tokens + fonts come from the enqueued chrome.css.
   Everything is scoped under .ml-root, which header.php opens. */

.ml-root .ml-main{min-height:50vh}

/* Blog index */
.ml-root .ml-blog-hero{background:linear-gradient(140deg,#0E5E6F,#0F6B7E 45%,#229DBB);color:#fff;padding:60px 0}
.ml-root .ml-blog-hero h1{font-size:38px;font-weight:800;letter-spacing:-.02em}
.ml-root .ml-blog-hero p{opacity:.92;font-size:17px;margin-top:10px}
.ml-root .ml-blog-list{padding:60px 0}
.ml-root .ml-post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:26px}
.ml-root .ml-card{background:#fff;border:1px solid var(--ml-line);border-radius:var(--ml-radius);overflow:hidden;transition:.18s;display:flex;flex-direction:column}
.ml-root .ml-card:hover{border-color:var(--ml-teal);box-shadow:var(--ml-shadow);transform:translateY(-3px)}
.ml-root .ml-card-thumb{aspect-ratio:16/9;background:var(--ml-teal-soft);overflow:hidden}
.ml-root .ml-card-thumb img{width:100%;height:100%;object-fit:cover}
.ml-root .ml-card-body{padding:22px 24px;flex:1;display:flex;flex-direction:column}
.ml-root .ml-card-cat{font-family:'Poppins';font-weight:700;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ml-amber-dark)}
.ml-root .ml-card-body h2{font-size:19px;font-weight:600;margin:8px 0 8px;line-height:1.3}
.ml-root .ml-card-body p{color:var(--ml-slate);font-size:14px;margin:0 0 16px}
.ml-root .ml-card-more{margin-top:auto;color:var(--ml-teal-dark);font-weight:600;font-size:14px}

/* Single post */
.ml-root .ml-single{padding:0 0 70px}
.ml-root .ml-single-hero{background:var(--ml-paper);border-bottom:1px solid var(--ml-line);padding:56px 0 40px}
.ml-root .ml-single-hero .container{max-width:800px}
.ml-root .ml-single-cat{font-family:'Poppins';font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ml-teal)}
.ml-root .ml-single-hero h1{font-size:40px;font-weight:800;letter-spacing:-.02em;margin:14px 0 12px;line-height:1.15}
.ml-root .ml-single-meta{color:var(--ml-mist);font-size:14px}
.ml-root .ml-single-feat{max-width:900px;margin:-24px auto 0;padding:0 24px}
.ml-root .ml-single-feat img{width:100%;border-radius:var(--ml-radius);box-shadow:var(--ml-shadow)}
.ml-root .ml-article{max-width:760px;margin:44px auto 0;padding:0 24px;font-size:17px;line-height:1.75;color:#26383F}
.ml-root .ml-article h2{font-family:'Poppins';font-size:26px;font-weight:700;margin:38px 0 12px;color:var(--ml-ink)}
.ml-root .ml-article h3{font-family:'Poppins';font-size:19px;font-weight:600;margin:26px 0 8px;color:var(--ml-ink)}
.ml-root .ml-article p{margin:0 0 18px}
.ml-root .ml-article ul,.ml-root .ml-article ol{margin:0 0 18px;padding-left:22px}
.ml-root .ml-article li{margin-bottom:8px}
.ml-root .ml-article a{color:var(--ml-teal-dark);text-decoration:underline;text-underline-offset:2px}
.ml-root .ml-article a:hover{color:var(--ml-teal)}
.ml-root .ml-article strong{color:var(--ml-ink)}
.ml-root .ml-article blockquote{border-left:4px solid var(--ml-amber);background:var(--ml-amber-soft);margin:0 0 18px;padding:14px 20px;border-radius:0 10px 10px 0}

/* In-post CTA block (appended by the blog import) */
.ml-root .ml-cta-block{margin:44px 0 0;background:linear-gradient(135deg,#0F6B7E,#229DBB);color:#fff;border-radius:var(--ml-radius);padding:34px 32px;text-align:center}
.ml-root .ml-cta-block h3{font-family:'Poppins';font-size:22px;font-weight:700;margin:0 0 10px;color:#fff}
.ml-root .ml-cta-block p{margin:0 0 18px;opacity:.94;font-size:16px}
.ml-root .ml-cta-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* Pagination */
.ml-root .ml-pager{display:flex;justify-content:center;gap:12px;margin-top:44px}
.ml-root .ml-pager a,.ml-root .ml-pager span{padding:10px 18px;border:1px solid var(--ml-line);border-radius:9px;background:#fff;font-weight:600;color:var(--ml-teal-dark)}
.ml-root .ml-pager .current{background:var(--ml-teal);color:#fff;border-color:var(--ml-teal)}

@media(max-width:720px){
  .ml-root .ml-single-hero h1{font-size:30px}
  .ml-root .ml-blog-hero h1{font-size:30px}
}

/* Call to action at the end of every post */
.ml-root .ml-post-cta{margin:44px 0 10px;padding:28px;border-radius:14px;background:var(--ml-teal-soft);border:1px solid #CBE9EF}
.ml-root .ml-post-cta h2{margin:0 0 8px;font-size:22px}
.ml-root .ml-post-cta p{margin:0 0 16px}
.ml-root .ml-post-cta .ml-btn{margin:0 8px 8px 0;text-decoration:none}
