/* Blog styles (blog page, archives, search, single article).
   Part 1 is copied word for word from the site page files (rules every page has but that are not in global.css).
   Part 2 copies the Home "SEO Journal" card rules. Part 3 is new blog layout built from the same tokens. */

    /* 1. Base, header and CTA (from book-a-strategy-call.css) */
    button{font:inherit;color:inherit}
    h1,h2,h3,p{margin-top:0}
    h1,h2,h3{font-weight:780;letter-spacing:-.045em;line-height:1.02}
    p{color:var(--ink-2)}
    .section{padding:112px 0}
    .eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0 0 18px;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--brand-strong)}
    .eyebrow::before{content:"";width:28px;height:1px;background:currentColor}
    .skip-link{position:absolute;left:16px;top:-70px;z-index:1000;background:var(--ink);color:#fff;padding:12px 16px;border-radius:10px}
    .button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 22px;border:1px solid var(--ink);border-radius:999px;font-weight:750;letter-spacing:-.01em;background:transparent;transition:transform .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease}
    .button.light{background:#fff;border-color:#fff;color:var(--dark)}
    .button.light:hover{background:#edf5e7;border-color:#edf5e7}
    .arrow{transition:transform .2s ease}.button:hover .arrow,.text-link:hover .arrow{transform:translateX(3px)}
    .text-link{display:inline-flex;align-items:center;gap:8px;color:var(--brand-strong);font-weight:760}
    .nav-action{justify-self:end;display:flex;align-items:center}
    .menu-toggle{display:none;justify-self:end;width:46px;height:46px;border:1px solid rgba(25,52,29,.14);border-radius:50%;background:#fff;align-items:center;justify-content:center;cursor:pointer;padding:0;box-shadow:none}
    .cta-action{position:relative;z-index:2;display:grid;gap:14px;justify-items:center;max-width:300px}
    .cta-action small{font-size:.78rem;line-height:1.5;color:#9fb0a1;text-align:center}
    .cta-wrap{padding:112px 0;background:var(--paper)}
    .cta{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:52px;align-items:center;padding:58px 64px;border-radius:32px;background:var(--dark);color:#fff;box-shadow:var(--shadow)}
    .cta::after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-120px;top:-150px;box-shadow:0 0 0 56px rgba(255,255,255,.025),0 0 0 112px rgba(255,255,255,.018);pointer-events:none}
    .cta h2{font-size:clamp(2.45rem,4.5vw,4.5rem);margin:0 0 16px;color:#fff;max-width:850px}.cta p{margin:0;color:#c0cdc1;max-width:620px;font-size:1.04rem}.cta .button{position:relative;z-index:2;min-height:56px;padding:0 30px}
    .cta .accent{color:#9fd06f}
    [data-reveal]{opacity:0;transform:translateY(16px);transition:opacity .55s ease,transform .55s ease}
    [data-reveal].is-visible{opacity:1;transform:none}

    /* 2. SEO Journal cards and section head (from home.css) */
    .section-head{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.7fr);gap:48px;align-items:end;margin-bottom:54px}
    .section-head h2{margin:0;font-size:clamp(2.25rem,4.4vw,4.4rem)}
    .section-head p{max-width:560px;margin:0;font-size:1.04rem}
    .insight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
    .insight-card{display:flex;flex-direction:column;min-height:470px;padding:0;overflow:hidden;background:white;border-radius:22px;box-shadow:0 1px 0 var(--line);transition:transform .22s ease,box-shadow .22s ease}
    .insight-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-soft)}
    .insight-image{aspect-ratio:16/10;overflow:hidden;background:#e9eee5}
    .insight-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
    .insight-card:hover .insight-image img{transform:scale(1.025)}
    .insight-body{display:flex;flex:1;flex-direction:column;padding:25px 26px 27px;border-top:3px solid var(--brand)}
    .insight-meta{font-size:.73rem;text-transform:uppercase;letter-spacing:.1em;font-weight:820;color:var(--brand);margin-bottom:15px}
    .insight-card h2,.insight-card h3{font-size:1.42rem;line-height:1.18;margin-bottom:13px}
    .insight-card p{font-size:.92rem;line-height:1.62}
    .insight-card .text-link{margin-top:auto;padding-top:18px}

    /* 3. Blog layout */
    .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

    /* Dark hero (listing and article) */
    .blog-hero{position:relative;isolation:isolate;overflow:hidden;padding:96px 0 104px;color:#fff;background-color:var(--dark);background-image:radial-gradient(circle at 82% 18%,rgba(108,174,46,.2),transparent 44%),linear-gradient(180deg,var(--dark) 0%,#0b170d 100%)}
    .blog-hero::before{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(255,255,255,.07);border-radius:50%;right:-160px;top:-220px;box-shadow:0 0 0 64px rgba(255,255,255,.022),0 0 0 128px rgba(255,255,255,.015);pointer-events:none;z-index:-1}
    .blog-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(255,255,255,.12);pointer-events:none}
    .blog-hero .eyebrow{color:#b7e58e}
    .blog-hero .eyebrow a:hover{color:#fff}
    .blog-hero h1{margin:0 0 22px;max-width:960px;font-size:clamp(2.9rem,5.4vw,5.3rem);color:#fff;text-wrap:balance}
    .blog-hero h1 .accent{color:#b7e58e}
    .blog-lead{margin:0;max-width:640px;font-size:clamp(1.05rem,1.35vw,1.2rem);line-height:1.62;color:rgba(244,249,245,.86)}

    /* Search form */
    .blog-search{display:flex;gap:8px;max-width:560px;margin-top:36px;padding:6px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.06);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
    .blog-search input{flex:1;min-width:0;height:50px;padding:0 20px;border:0;border-radius:999px;background:transparent;color:#fff;font:inherit;font-size:.95rem}
    .blog-search input::placeholder{color:rgba(232,240,233,.62)}
    .blog-search input::-webkit-search-cancel-button{filter:invert(1)}
    .blog-search input:focus-visible{outline-offset:0}
    .blog-search .button{flex:0 0 auto}
    .blog-empty .blog-search{margin:30px auto 0;border-color:var(--line);background:var(--paper)}
    .blog-empty .blog-search input{color:var(--ink)}
    .blog-empty .blog-search input::placeholder{color:#8e998f}
    .blog-empty .blog-search input::-webkit-search-cancel-button{filter:none}

    /* Listing */
    .blog-list{background:var(--paper)}
    .blog-filter{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 44px;padding:0;list-style:none}
    .blog-filter a,.post-tags a{display:inline-flex;align-items:center;min-height:40px;padding:0 18px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:.86rem;font-weight:720;color:var(--ink-2);transition:border-color .18s ease,color .18s ease,background-color .18s ease}
    .blog-filter a:hover,.post-tags a:hover{border-color:var(--brand);color:var(--brand-strong)}
    .blog-filter a[aria-current="page"]{background:var(--brand-strong);border-color:var(--brand-strong);color:#fff}
    .insight-card h2 a{transition:color .18s ease}
    .insight-card h2 a:hover{color:var(--brand-strong)}

    /* Pagination */
    .pagination{margin-top:56px}
    .pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
    .pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:46px;height:46px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:.92rem;font-weight:750;color:var(--ink-2);transition:transform .2s ease,border-color .2s ease,color .2s ease}
    .pagination a.page-numbers:hover{border-color:var(--brand);color:var(--brand-strong);transform:translateY(-2px)}
    .pagination .page-numbers.current{background:var(--brand-strong);border-color:var(--brand-strong);color:#fff}
    .pagination .page-numbers.dots{min-width:0;padding:0 4px;border:0;background:none}

    /* Empty state */
    .blog-empty{max-width:680px;margin:0 auto;padding:56px 44px;border-radius:var(--radius);background:#fff;box-shadow:0 1px 0 var(--line);text-align:center}
    .blog-empty h2{margin-bottom:14px;font-size:clamp(2rem,3.4vw,2.8rem)}
    .blog-empty p{margin:0 auto;max-width:520px}
    .blog-empty .text-link{margin-top:24px}

    /* Article */
    .post-hero{padding:80px 0 104px}
    .has-cover .post-hero{padding-bottom:180px}
    .post-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 30px;font-size:.82rem;font-weight:650;color:rgba(232,240,233,.68)}
    .post-breadcrumb a{transition:color .18s ease}
    .post-breadcrumb a:hover{color:#fff}
    .post-hero h1{max-width:980px;font-size:clamp(2.5rem,4.6vw,4.4rem)}
    .post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:30px;font-size:.86rem;font-weight:700;color:rgba(232,240,233,.78)}
    .post-meta-dot{width:4px;height:4px;border-radius:50%;background:#b7e58e}
    .post-cover{position:relative;z-index:1;margin:-120px auto 0}
    .post-cover img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:28px;background:#e9eee5;box-shadow:var(--shadow)}
    .post-body{padding:80px 0 104px;background:var(--paper)}
    .entry-content{max-width:760px;margin:0 auto;font-size:1.08rem;line-height:1.8;color:var(--ink-2)}
    .entry-content::after{content:"";display:table;clear:both}
    .entry-content>*{margin-top:0;margin-bottom:1.35em}
    .entry-content>:last-child{margin-bottom:0}
    .entry-content h2,.entry-content h3,.entry-content h4{color:var(--ink);text-wrap:balance}
    .entry-content h2{margin:1.9em 0 .6em;font-size:clamp(1.8rem,2.8vw,2.4rem);line-height:1.12}
    .entry-content h3{margin:1.7em 0 .55em;font-size:clamp(1.35rem,2vw,1.6rem);line-height:1.2;letter-spacing:-.03em}
    .entry-content h4{margin:1.6em 0 .5em;font-size:1.12rem;font-weight:780;letter-spacing:-.02em}
    .entry-content p{color:var(--ink-2)}
    .entry-content a{color:var(--brand-strong);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
    .entry-content a:hover{color:var(--brand)}
    .entry-content strong{color:var(--ink);font-weight:760}
    .entry-content ul,.entry-content ol{padding-left:1.3em}
    .entry-content li{margin-bottom:.5em}
    .entry-content li::marker{color:var(--brand);font-weight:800}
    .entry-content blockquote{margin:2em 0;padding:26px 30px;border-left:3px solid var(--brand);border-radius:0 18px 18px 0;background:var(--brand-soft);font-size:1.16rem;font-weight:650;line-height:1.6;color:var(--ink)}
    .entry-content blockquote p{color:inherit}
    .entry-content blockquote>:last-child{margin-bottom:0}
    .entry-content blockquote cite{display:block;margin-top:12px;font-size:.86rem;font-style:normal;font-weight:720;color:var(--muted)}
    .entry-content img{border-radius:18px}
    .entry-content figure{margin:2em 0}
    .entry-content figcaption,.entry-content .wp-caption-text{margin-top:10px;font-size:.84rem;line-height:1.5;color:var(--muted);text-align:center}
    .entry-content hr{margin:2.5em 0;border:0;border-top:1px solid var(--line)}
    .entry-content table{width:100%;border-collapse:collapse;font-size:.95rem}
    .entry-content th,.entry-content td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
    .entry-content th{font-weight:760;color:var(--ink)}
    .entry-content pre{overflow:auto;padding:20px 22px;border-radius:14px;background:var(--dark);color:#e4ece5;font-size:.9rem;line-height:1.6}
    .entry-content code{padding:.1em .35em;border-radius:6px;background:var(--paper-2);font-size:.92em}
    .entry-content pre code{padding:0;background:none}
    .entry-content .aligncenter{margin-inline:auto}
    .entry-content .alignleft{float:left;max-width:50%;margin:.3em 28px 16px 0}
    .entry-content .alignright{float:right;max-width:50%;margin:.3em 0 16px 28px}
    .entry-content .wp-block-image img,.entry-content .wp-caption img{height:auto}
    .entry-content .wp-block-button__link{display:inline-flex;align-items:center;min-height:50px;padding:0 22px;border-radius:999px;background:var(--brand-strong);color:#fff;font-weight:750;text-decoration:none}
    .entry-content .wp-block-button__link:hover{background:var(--brand);color:#fff}
    .post-pages{max-width:760px;margin:36px auto 0;font-weight:720}
    .post-tags{display:flex;flex-wrap:wrap;gap:8px;max-width:760px;margin:48px auto 0;padding:28px 0 0;border-top:1px solid var(--line);list-style:none}
    .post-tags a{min-height:36px;padding:0 15px;font-size:.82rem}
    .blog-related{background:var(--surface);border-top:1px solid var(--line)}
    .blog-related+.cta-wrap{background:var(--surface);padding-top:0}

    @media (max-width:1080px){
      .insight-grid{grid-template-columns:repeat(2,1fr)}
    }
    @media (max-width:860px){
      .menu-toggle{display:flex;flex-direction:column}
      .cta{grid-template-columns:1fr;padding:48px 42px}.cta-action{justify-items:start;max-width:none}.cta-action small{text-align:left}
      .section-head{grid-template-columns:1fr;gap:18px;margin-bottom:38px}
      .blog-hero{padding:72px 0 80px}
      .post-hero{padding:64px 0 84px}
      .has-cover .post-hero{padding-bottom:140px}
      .post-cover{margin-top:-90px}
    }
    @media (max-width:700px){
      .insight-grid{grid-template-columns:1fr;max-width:560px}
      .insight-card{min-height:0}
    }
    @media (max-width:620px){
      .container{width:min(calc(100% - 28px),var(--container))}.section{padding:82px 0}
      html{scroll-padding-top:104px}
      .top-bar-inner{min-height:34px;gap:8px}.top-bar-contact{gap:10px}.top-bar-link{gap:5px;font-size:.64rem;white-space:nowrap}.top-bar-link svg{width:12px;height:12px}
      .top-bar-social{gap:2px}.top-bar-social-link{width:23px;height:23px}.top-bar-social-link svg{width:12px;height:12px}
      .nav-shell{min-height:66px}.brand img{width:142px}
      .cta-wrap{padding:72px 0}.cta{padding:38px 28px;border-radius:26px;gap:30px}.cta h2{font-size:clamp(2.25rem,11vw,3.5rem)}.cta .button{width:100%}
      .footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child,.footer-grid>div:last-child{grid-column:1/-1}.footer-bottom{align-items:flex-start;flex-direction:column}
      .section-head h2{font-size:clamp(2.3rem,10.5vw,3.4rem)}
      .blog-hero{padding:52px 0 60px}
      .blog-hero h1{font-size:clamp(2.4rem,11vw,3.4rem);margin-bottom:18px}
      .blog-search{flex-direction:column;border-radius:24px}
      .blog-search input{height:48px}
      .blog-search .button{width:100%}
      .blog-filter{flex-wrap:nowrap;overflow-x:auto;margin:0 -14px 32px;padding:0 14px 4px;scrollbar-width:none}
      .blog-filter a{white-space:nowrap}
      .blog-empty{padding:40px 22px;border-radius:22px}
      .post-hero{padding:44px 0 64px}
      .has-cover .post-hero{padding-bottom:110px}
      .post-hero h1{font-size:clamp(2.1rem,9.5vw,3rem)}
      .post-cover{margin-top:-74px}
      .post-cover img{border-radius:20px}
      .post-body{padding:52px 0 72px}
      .entry-content{font-size:1rem;line-height:1.75}
      .entry-content blockquote{padding:22px 22px;font-size:1.05rem}
      .entry-content .alignleft,.entry-content .alignright{float:none;max-width:100%;margin:0 0 1.35em}
      .entry-content table{display:block;overflow-x:auto}
    }
    @media (prefers-reduced-motion:reduce){
      html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}[data-reveal]{opacity:1;transform:none}
    }
