:root{
    --rt-ink:#181818;
    --rt-body:#4b4b4b;
    --rt-muted:#767676;
    --rt-bg:#ffffff;
    --rt-bg-alt:#f7f7f5;
    --rt-accent:#2d4fd6;
    --rt-accent-ink:#17307f;
    --rt-border:#e6e5e1;
    --rt-max:1240px;
    --rt-radius:10px;
    font-size:16px;
  }
  *{box-sizing:border-box;}
  html,body{margin:0;padding:0;}
  body.reviewstool-home{
    font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
    color:var(--rt-body);
    background:var(--rt-bg);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  .reviewstool-home a, .reviewstool-chrome a{color:inherit;text-decoration:none;}
  .reviewstool-home img, .reviewstool-chrome img{max-width:100%;display:block;}
  /* .reviewstool-chrome wraps the header/footer when injected site-wide on
     non-homepage pages (see wp_body_open / wp_footer in the main plugin
     file), so it carries its own font-family instead of relying on
     body.reviewstool-home — the rest of each page's own font is untouched. */
  .reviewstool-chrome{
    font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
    color:var(--rt-body);
  }
  .rt-container{max-width:var(--rt-max);margin:0 auto;padding:0 24px;}
  .rt-h1,.rt-h2,.rt-h3{
    color:var(--rt-ink);
    font-weight:700;
    letter-spacing:-0.01em;
    margin:0 0 16px;
  }
  .rt-h1{font-size:clamp(2.25rem,4.5vw,3.5rem);line-height:1.12;font-weight:800;}
  .rt-h2{font-size:clamp(1.6rem,3vw,2.1rem);line-height:1.2;}
  .rt-h3{font-size:clamp(1.15rem,2vw,1.4rem);line-height:1.3;}
  .rt-eyebrow{
    display:inline-block;
    font-size:0.78rem;
    font-weight:600;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--rt-accent);
    margin-bottom:14px;
  }
  .rt-lede{font-size:clamp(1.05rem,1.3vw,1.2rem);color:var(--rt-body);max-width:640px;}

  /* ---------- Header (editorial masthead) ---------- */
  .rt-header{background:var(--rt-bg);}

  .rt-utility{
    border-bottom:1px solid var(--rt-border);
  }
  .rt-utility__inner{
    display:flex;align-items:center;justify-content:space-between;
    height:38px;
  }
  .rt-utility__date{
    font-size:0.68rem;font-weight:500;letter-spacing:0.05em;text-transform:uppercase;
    color:var(--rt-muted);
  }
  .rt-utility__right{display:flex;align-items:center;gap:16px;}
  .rt-utility__right a{
    font-size:0.78rem;color:var(--rt-body);font-weight:500;
  }
  .rt-utility__right a:hover{color:var(--rt-accent);}
  .rt-utility__search{
    width:26px;height:26px;border-radius:50%;border:1px solid var(--rt-border);
    display:flex;align-items:center;justify-content:center;background:none;cursor:pointer;
  }
  .rt-utility__search svg{width:13px;height:13px;stroke:var(--rt-body);}

  .rt-masthead{
    text-align:center;
    padding:34px 24px 26px;
  }
  .rt-masthead__logo{
    font-family:'Source Serif 4',Georgia,Cambria,'Times New Roman',serif;
    font-weight:900;
    letter-spacing:-0.02em;
    font-size:clamp(2.1rem,6vw,3.4rem);
    color:var(--rt-ink);
    line-height:1;
  }
  .rt-masthead__logo span{color:var(--rt-accent);}
  .rt-masthead__tagline{
    font-style:italic;
    color:var(--rt-muted);
    font-size:0.98rem;
    margin-top:10px;
  }

  .rt-rule{border-bottom:2.5px solid var(--rt-ink);}

  .rt-navwrap{
    position:relative;
    border-bottom:1px solid var(--rt-border);
  }
  .rt-navwrap__inner{
    display:flex;align-items:center;gap:6px;
  }
  .rt-navscroll{
    display:flex;align-items:center;gap:30px;
    overflow-x:auto;
    padding:14px 4px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .rt-navscroll::-webkit-scrollbar{display:none;}
  .rt-navscroll a{
    font-size:0.76rem;font-weight:700;letter-spacing:0.04em;text-transform:uppercase;
    color:var(--rt-ink);white-space:nowrap;flex-shrink:0;
  }
  .rt-navscroll a:hover{color:var(--rt-accent);}
  .rt-navscroll a.is-active{color:var(--rt-accent);}
  .rt-navarrow{
    flex-shrink:0;width:26px;height:26px;border:none;background:none;cursor:pointer;
    display:flex;align-items:center;justify-content:center;color:var(--rt-muted);
  }
  .rt-navarrow svg{width:15px;height:15px;}
  .rt-navarrow:hover{color:var(--rt-accent);}

  /* ---------- Hero ---------- */
  .rt-herowrap{
    background:var(--rt-bg-alt);
    border-bottom:1px solid var(--rt-border);
  }
  .rt-hero{
    display:grid;grid-template-columns:1.5fr 1fr;gap:56px;align-items:center;
    padding:68px 0;
  }
  .rt-hero__main{max-width:640px;}
  .rt-h1__accent{color:var(--rt-accent);}
  .rt-hero__meta{display:flex;align-items:center;gap:10px;color:var(--rt-muted);font-size:0.86rem;margin-top:22px;}
  .rt-hero__meta .dot{width:4px;height:4px;border-radius:50%;background:var(--rt-muted);}

  .rt-hero__panel{
    position:relative;overflow:hidden;
    background:var(--rt-bg);
    border:1px solid var(--rt-border);
    border-radius:14px;
    padding:28px 26px 24px;
  }
  .rt-hero__panel-accent{
    position:absolute;top:0;left:0;right:0;height:3px;
    background:linear-gradient(90deg,var(--rt-accent),var(--rt-accent-ink));
  }
  .rt-hero__panel-heading{
    font-size:0.7rem;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;
    color:var(--rt-accent);margin:0 0 18px;
  }
  .rt-hero__feat-cat{
    font-size:0.72rem;font-weight:700;letter-spacing:0.04em;text-transform:uppercase;
    color:var(--rt-accent);margin-bottom:10px;
  }
  .rt-hero__feat-title{
    font-family:'Source Serif 4',Georgia,serif;font-weight:700;font-size:1.3rem;
    color:var(--rt-ink);line-height:1.3;margin:0 0 10px;
  }
  .rt-hero__feat-desc{font-size:0.88rem;color:var(--rt-body);margin:0;line-height:1.55;}
  .rt-hero__panel-link{
    display:inline-flex;align-items:center;gap:7px;
    margin-top:20px;font-size:0.86rem;font-weight:700;color:var(--rt-ink);
  }
  .rt-hero__panel-link svg{width:13px;height:13px;transition:transform .15s;}
  .rt-hero__panel-link:hover{color:var(--rt-accent);}
  .rt-hero__panel-link:hover svg{transform:translateX(3px);}

  /* ---------- Section shell ---------- */
  .rt-section{padding:64px 0;}
  .rt-section--alt{background:var(--rt-bg-alt);}
  .rt-section__head{
    display:flex;align-items:flex-end;justify-content:space-between;gap:24px;
    margin-bottom:36px;flex-wrap:wrap;
  }
  .rt-section__head p{margin:8px 0 0;color:var(--rt-muted);max-width:520px;}
  .rt-viewall{font-size:0.9rem;font-weight:600;color:var(--rt-accent);white-space:nowrap;}

  /* ---------- Article cards ---------- */
  .rt-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
  }
  .rt-card{
    display:flex;flex-direction:column;
    border:1px solid var(--rt-border);
    border-radius:var(--rt-radius);
    background:var(--rt-bg);
    padding:22px;
    height:100%;
    transition:border-color .15s, transform .15s;
  }
  .rt-card:hover{border-color:#c9cbe0;transform:translateY(-2px);}
  .rt-card__cat{
    font-size:0.72rem;font-weight:700;letter-spacing:0.05em;text-transform:uppercase;
    color:var(--rt-accent);margin-bottom:12px;
  }
  .rt-card__title{font-size:1.08rem;font-weight:700;color:var(--rt-ink);line-height:1.35;margin-bottom:10px;}
  .rt-card__desc{font-size:0.92rem;color:var(--rt-body);flex-grow:1;margin-bottom:18px;}
  .rt-card__link{font-size:0.86rem;font-weight:600;color:var(--rt-ink);display:inline-flex;align-items:center;gap:6px;}
  .rt-card__link svg{width:13px;height:13px;transition:transform .15s;}
  .rt-card:hover .rt-card__link svg{transform:translateX(3px);}

  .rt-featured{
    border:1px solid var(--rt-border);border-radius:var(--rt-radius);padding:36px;
    margin-bottom:32px;background:var(--rt-bg);
  }
  .rt-featured__inner{max-width:640px;}

  /* ---------- Latest: main + sidebar ---------- */
  .rt-latestgrid{display:grid;grid-template-columns:1fr 300px;gap:44px;align-items:start;}
  .rt-latestmain{min-width:0;}

  .rt-sidebar{
    position:sticky;top:24px;
    display:flex;flex-direction:column;
  }
  .rt-sidebar__box{
    padding:26px 0;
  }
  .rt-sidebar__box:first-child{padding-top:0;}
  .rt-sidebar__box + .rt-sidebar__box{
    border-top:1px solid var(--rt-border);
  }
  .rt-sidebar__heading{
    font-size:0.7rem;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;
    color:var(--rt-accent);margin:0 0 16px;
  }

  .rt-stats2x2{display:grid;grid-template-columns:1fr 1fr;}
  .rt-stat{padding:0 14px 14px 0;}
  .rt-stat:nth-child(2n){border-left:1px solid var(--rt-border);padding-left:14px;}
  .rt-stat:nth-child(-n+2){padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--rt-border);}
  .rt-stat__num{
    font-family:'Source Serif 4',Georgia,serif;font-weight:900;font-size:1.35rem;
    color:var(--rt-ink);line-height:1.2;
  }
  .rt-stat__label{font-size:0.72rem;color:var(--rt-muted);margin-top:2px;}

  .rt-ranklist{display:flex;flex-direction:column;gap:14px;}
  .rt-rank{
    display:grid;
    grid-template-columns:16px 1fr auto;
    column-gap:10px;
    position:relative;
  }
  .rt-rank__num{font-size:0.82rem;color:var(--rt-muted);font-weight:600;}
  .rt-rank__name{font-size:0.86rem;font-weight:600;color:var(--rt-ink);line-height:1.35;}
  .rt-rank:hover .rt-rank__name{color:var(--rt-accent);}
  .rt-rank__count{font-size:0.8rem;color:var(--rt-muted);}
  .rt-rank__bartrack{
    grid-column:2 / span 2;
    height:2px;background:var(--rt-border);margin-top:8px;border-radius:2px;overflow:hidden;
  }
  .rt-rank__bar{display:block;height:100%;background:var(--rt-accent);}

  .rt-pubs{display:flex;flex-direction:column;}
  .rt-pub{
    display:flex;flex-direction:column;gap:3px;
    padding:12px 0;border-bottom:1px solid var(--rt-border);
  }
  .rt-pub:last-child{border-bottom:none;padding-bottom:0;}
  .rt-pub:first-child{padding-top:0;}
  .rt-pub__cat{font-size:0.68rem;font-weight:700;letter-spacing:0.03em;text-transform:uppercase;color:var(--rt-accent);}
  .rt-pub__title{font-size:0.86rem;font-weight:600;color:var(--rt-ink);line-height:1.4;}
  .rt-pub:hover .rt-pub__title{color:var(--rt-accent);}

  /* ---------- Categories ---------- */
  .rt-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
  .rt-cat{
    border:1px solid var(--rt-border);border-radius:var(--rt-radius);
    padding:24px;background:var(--rt-bg);
  }
  .rt-cat__title{font-size:1.02rem;font-weight:700;color:var(--rt-ink);margin-bottom:8px;display:flex;align-items:center;justify-content:space-between;gap:8px;}
  .rt-cat__title svg{width:14px;height:14px;flex-shrink:0;stroke:var(--rt-muted);}
  .rt-cat__desc{font-size:0.9rem;color:var(--rt-body);margin:0;}
  .rt-cat__soon{font-size:0.72rem;color:var(--rt-muted);text-transform:uppercase;letter-spacing:.04em;font-weight:600;}

  /* ---------- What we cover ---------- */
  .rt-cover{display:grid;grid-template-columns:0.9fr 1.1fr;gap:56px;align-items:start;}
  .rt-cover__intro p{margin:0 0 16px;color:var(--rt-body);}
  .rt-cover__closing{
    margin-top:20px;font-weight:600;color:var(--rt-ink);font-size:1.02rem;
    border-left:3px solid var(--rt-accent);padding-left:16px;
  }
  .rt-qgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
  .rt-qcard{
    border:1px solid var(--rt-border);border-radius:8px;padding:18px 20px;background:var(--rt-bg);
  }
  .rt-qcard__num{font-size:0.75rem;font-weight:700;color:var(--rt-accent);letter-spacing:.04em;}
  .rt-qcard p{margin:8px 0 0;color:var(--rt-ink);font-weight:600;font-size:0.96rem;line-height:1.4;}

  /* ---------- CTA ---------- */
  .rt-cta{
    background:var(--rt-ink);color:#f1f1ef;border-radius:16px;
    padding:56px 48px;display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap;
  }
  .rt-cta__text h2{color:#fff;margin-bottom:12px;}
  .rt-cta__text p{margin:0;color:#c9c9c6;max-width:480px;}
  .rt-cta__btn{
    flex-shrink:0;
    background:var(--rt-accent);color:#fff;font-weight:700;font-size:0.98rem;
    padding:14px 26px;border-radius:8px;white-space:nowrap;
    display:inline-flex;align-items:center;gap:8px;
    transition:background .15s;
  }
  .rt-cta__btn:hover{background:#2340b3;}

  /* ---------- About ---------- */
  .rt-about{max-width:760px;}
  .rt-about p{color:var(--rt-body);margin:0 0 16px;font-size:1.02rem;}

  /* ---------- Footer ---------- */
  .rt-footer{border-top:1px solid var(--rt-border);background:var(--rt-bg-alt);padding:56px 0 28px;}
  .rt-footer__grid{
    display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;margin-bottom:48px;
  }
  .rt-footer__brand .rt-logo{margin-bottom:14px;}
  .rt-footer__brand p{color:var(--rt-muted);font-size:0.9rem;max-width:280px;margin:0;}
  .rt-footer__col h4{
    font-size:0.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;
    color:var(--rt-ink);margin:0 0 16px;
  }
  .rt-footer__col ul{list-style:none;margin:0;padding:0;}
  .rt-footer__col li{margin-bottom:10px;}
  .rt-footer__col a{font-size:0.9rem;color:var(--rt-body);}
  .rt-footer__col a:hover{color:var(--rt-accent);}
  .rt-footer__bottom{
    border-top:1px solid var(--rt-border);padding-top:24px;
    display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;
  }
  .rt-footer__bottom p{margin:0;font-size:0.82rem;color:var(--rt-muted);}

  /* ---------- Responsive ---------- */
  @media (max-width:1024px){
    .rt-cards{grid-template-columns:repeat(2,1fr);}
    .rt-cats{grid-template-columns:repeat(2,1fr);}
    .rt-cover{grid-template-columns:1fr;gap:32px;}
    .rt-footer__grid{grid-template-columns:1.2fr 1fr 1fr;}
    .rt-latestgrid{grid-template-columns:1fr 260px;gap:28px;}
    .rt-hero{grid-template-columns:1fr;gap:36px;padding:52px 0;}
    .rt-hero__main{max-width:none;}
    .rt-hero__panel{max-width:420px;}
  }
  @media (max-width:768px){
    .rt-utility__date{display:none;}
    .rt-masthead{padding:26px 20px 20px;}
    .rt-cards{grid-template-columns:1fr 1fr;}
    .rt-cats{grid-template-columns:1fr;}
    .rt-qgrid{grid-template-columns:1fr;}
    .rt-section{padding:48px 0;}
    .rt-cta{padding:40px 28px;flex-direction:column;align-items:flex-start;}
    .rt-footer__grid{grid-template-columns:1fr 1fr;gap:32px;}
    .rt-latestgrid{grid-template-columns:1fr;gap:36px;}
    .rt-sidebar{position:static;flex-direction:row;flex-wrap:wrap;gap:20px;}
    .rt-sidebar__box{
      flex:1 1 260px;
      border:1px solid var(--rt-border) !important;border-radius:var(--rt-radius);
      padding:20px 22px !important;background:var(--rt-bg);
    }
    .rt-hero{padding:40px 0;}
    .rt-hero__panel{max-width:none;}
  }
  @media (max-width:480px){
    .rt-container{padding:0 18px;}
    .rt-cards{grid-template-columns:1fr;}
    .rt-hero{padding:36px 0;}
    .rt-hero__panel{padding:22px 20px 20px;}
    .rt-masthead__logo{font-size:1.9rem;}
    .rt-footer__grid{grid-template-columns:1fr;gap:28px;}
    .rt-footer__bottom{flex-direction:column;align-items:flex-start;}
  }

/* ---------- Optional featured-image support (additive only) ----------
   These rules only ever apply when a post has a featured image set and
   the template outputs a .rt-card__thumb / .rt-featured__thumb / .rt-hero__feat-thumb
   element for it. Posts without a featured image render exactly as before —
   nothing above this point was changed. Safe to delete this block entirely
   if you don't want thumbnails at all. */
.rt-card__thumb{
  width:100%;height:160px;object-fit:cover;
  border-radius:calc(var(--rt-radius) - 4px);
  margin-bottom:16px;
  border:1px solid var(--rt-border);
}
.rt-featured__thumb{
  width:100%;max-width:640px;height:220px;object-fit:cover;
  border-radius:calc(var(--rt-radius) - 4px);
  margin-bottom:20px;
  border:1px solid var(--rt-border);
}
.rt-hero__feat-thumb{
  width:100%;height:120px;object-fit:cover;
  border-radius:8px;
  margin-bottom:14px;
  border:1px solid var(--rt-border);
}
