/* === Iris Publishers Exact Theme === */
:root {
  --ip-red: #cc1f1f;
  --ip-red-dark: #a81818;
  --ip-black: #1a1a1a;
  --ip-topbar: #1a1a1a;
  --ip-white: #ffffff;
  --ip-bg: #f8f8f8;
  --ip-border: #e2e2e2;
  --ip-text: #333333;
  --ip-muted: #666666;
  --ip-highlight: #fff5f5;
  --warn-bg: #fff8e6;
  --warn-border: #f0d08a;
  --radius: 8px;
  --max-width: 960px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  background: var(--ip-white);
  color: var(--ip-text);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Sora', 'Segoe UI', Arial, sans-serif;
  color: var(--ip-black);
  line-height: 1.25;
}

a { color: var(--ip-red); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--ip-red-dark); }

/* ── Skip link ── */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ip-red); color: #fff;
  padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ── Top black bar ── */
.iris-topbar {
  background: var(--ip-topbar);
  color: #ccc;
  font-size: 0.78rem;
  padding: 7px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.iris-topbar a { color: #ccc; text-decoration: none; }
.iris-topbar a:hover { color: #fff; }
.iris-topbar-left {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.iris-topbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.iris-topbar-right a { color: #fff; font-weight: 500; }
.iris-topbar-right a:hover { color: #ffcccc; }

/* ── Main white nav header ── */
header.site-header {
  background: var(--ip-white);
  border-bottom: 1px solid var(--ip-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

/* Logo matching Iris Publishers style */
.iris-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.iris-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--ip-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  font-family: 'Sora', sans-serif;
}
.iris-logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ip-black);
  letter-spacing: -0.01em;
}
.iris-logo-text strong { color: var(--ip-red); font-weight: 700; }

/* Desktop nav */
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
nav.main-nav > a {
  display: block;
  padding: 22px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ip-black);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
nav.main-nav > a:hover,
nav.main-nav > a.active {
  color: var(--ip-red);
  border-bottom-color: var(--ip-red);
  text-decoration: none;
}

/* Account Guides dropdown nav item */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 22px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ip-black);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.nav-dropdown > a::after {
  content: '▾';
  font-size: 0.75rem;
  margin-left: 2px;
}
.nav-dropdown:hover > a,
.nav-dropdown > a:hover {
  color: var(--ip-red);
  border-bottom-color: var(--ip-red);
  text-decoration: none;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--ip-border);
  border-top: 3px solid var(--ip-red);
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 200;
  padding: 8px 0;
  border-radius: 0 0 6px 6px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 0.86rem;
  color: var(--ip-text);
  font-weight: 500;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.1s, border-color 0.1s;
}
.nav-dropdown-menu a:hover {
  background: var(--ip-highlight);
  border-left-color: var(--ip-red);
  color: var(--ip-red);
  text-decoration: none;
}
.nav-dropdown-menu .menu-section {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ip-muted);
  padding: 10px 18px 4px;
  font-weight: 700;
  border-top: 1px solid var(--ip-border);
  margin-top: 4px;
}
.nav-dropdown-menu .menu-section:first-child { border-top: none; margin-top: 0; }

/* Red CTA submit button */
nav.main-nav .nav-cta {
  background: var(--ip-red);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 4px;
  border-bottom: 3px solid transparent !important;
  margin-left: 10px;
  font-size: 0.88rem;
  transition: background 0.15s !important;
}
nav.main-nav .nav-cta:hover {
  background: var(--ip-red-dark);
  border-bottom-color: transparent !important;
  text-decoration: none;
}

/* Breadcrumb */
.page-breadcrumb {
  background: var(--ip-bg);
  border-bottom: 1px solid var(--ip-border);
  padding: 9px 24px;
  font-size: 0.82rem;
  color: var(--ip-muted);
}
.page-breadcrumb-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-breadcrumb a { color: var(--ip-muted); }
.page-breadcrumb a:hover { color: var(--ip-red); }
.page-breadcrumb span[aria-current] { color: var(--ip-red); font-weight: 600; }

/* ── Main content ── */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 36px 24px 72px;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #cc1f1f 0%, #8b0000 100%);
  color: #fff;
  padding: 40px 40px 36px;
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.hero .eyebrow {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.75);
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin: 0 0 14px;
  font-weight: 800;
}
.hero .lede {
  color: rgba(255,255,255,0.85);
  font-size: 1.02rem;
  max-width: 620px;
  margin: 0;
}

/* ── Quick Answer ── */
.quick-answer {
  background: var(--ip-highlight);
  border: 1px solid #f0c0c0;
  border-left: 5px solid var(--ip-red);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 0 0 34px;
}
.quick-answer .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ip-red);
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}
.quick-answer p { margin: 0; }

/* ── Sections ── */
section { margin: 42px 0; }
section > h2 {
  font-size: 1.45rem;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ip-border);
  color: var(--ip-black);
}
section > h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: var(--ip-red);
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 2px;
}
section > h3 {
  font-size: 1.1rem;
  margin: 26px 0 10px;
  color: var(--ip-black);
}

/* ── Entity pills ── */
.entity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.entity-list li {
  background: var(--ip-white);
  border: 1px solid var(--ip-border);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.84rem;
  color: var(--ip-black);
  font-weight: 600;
}

/* ── Step rail ── */
.step-rail {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  border-left: 3px solid var(--ip-border);
}
.step-rail li {
  position: relative;
  padding: 4px 0 20px 36px;
  margin-left: 4px;
}
.step-rail li::before {
  content: attr(data-step);
  position: absolute;
  left: -20px;
  top: 0;
  width: 34px;
  height: 34px;
  background: var(--ip-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.step-rail li .step-title { display: block; margin-bottom: 3px; color: var(--ip-black); font-weight: 700; }

/* ── Tip / Warn boxes ── */
.tip-box {
  background: #fff;
  border: 1px dashed var(--ip-red);
  border-radius: var(--radius);
  padding: 13px 17px;
  margin: 14px 0;
  font-size: 0.94rem;
}
.tip-box strong { color: var(--ip-red); }

.warn-box {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-left: 5px solid #f59e0b;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 0.94rem;
}
.warn-box strong { color: #7a5200; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; margin: 14px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ip-white);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.92rem;
  border: 1px solid var(--ip-border);
}
th, td {
  text-align: left;
  padding: 11px 15px;
  border-bottom: 1px solid var(--ip-border);
  vertical-align: top;
}
th {
  background: var(--ip-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.87rem;
}
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: #fafafa; }

/* ── Related cards ── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.related-card {
  background: var(--ip-white);
  border: 1px solid var(--ip-border);
  border-radius: var(--radius);
  border-top: 3px solid var(--ip-red);
  padding: 15px 17px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.related-card:hover {
  box-shadow: 0 4px 16px rgba(204,31,31,0.1);
  transform: translateY(-2px);
}
.related-card a {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ip-black);
}
.related-card a:hover { color: var(--ip-red); }
.related-card p {
  margin: 6px 0 0;
  font-size: 0.84rem;
  color: var(--ip-muted);
}

/* ── FAQ ── */
.faq-item {
  background: var(--ip-white);
  border: 1px solid var(--ip-border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ip-black);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.35rem;
  color: var(--ip-red);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--ip-red); background: var(--ip-highlight); }
.faq-item .faq-answer {
  padding: 0 18px 16px;
  font-size: 0.95rem;
  border-top: 1px solid var(--ip-border);
  padding-top: 14px;
}

/* ── Footer ── */
footer.site-footer {
  background: #1a1a1a;
  color: #aaa;
  margin-top: 0;
  font-size: 0.87rem;
}
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 24px 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-about .foot-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.foot-logo-icon {
  width: 32px; height: 32px;
  background: var(--ip-red);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
}
.footer-about .foot-logo strong { color: var(--ip-red); }
.footer-about .foot-tag {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-about p { color: #888; font-size: 0.85rem; line-height: 1.65; margin: 0 0 14px; }
.footer-about .foot-contact { font-size: 0.82rem; color: #777; line-height: 2; }
.footer-about .foot-contact a { color: #cc6666; }
.footer-about .foot-contact a:hover { color: #ff9999; }

.footer-col h4 {
  color: #fff;
  font-size: 0.87rem;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid #333;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #888; font-size: 0.84rem; }
.footer-col ul li a:hover { color: #cc6666; text-decoration: none; }

.footer-bottom {
  background: #111;
  padding: 14px 24px;
  text-align: center;
  font-size: 0.77rem;
  color: #555;
  border-top: 1px solid #222;
}
.footer-bottom a { color: #777; }
.footer-bottom a:hover { color: #aaa; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ip-black);
  border-radius: 2px;
}

@media (max-width: 960px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .iris-topbar { display: none; }
  .hero { padding: 26px 20px; border-radius: 6px; }
  .hero h1 { font-size: 1.6rem; }
  main { padding: 22px 16px 56px; }
  .footer-main { grid-template-columns: 1fr; gap: 22px; }
  .nav-toggle { display: flex; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    border-top: 3px solid var(--ip-red);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 99;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav > a,
  .nav-dropdown > a {
    padding: 14px 22px;
    border-bottom: 1px solid var(--ip-border) !important;
    border-left: 3px solid transparent;
  }
  nav.main-nav > a:hover,
  .nav-dropdown > a:hover { border-left-color: var(--ip-red); }
  .nav-dropdown-menu {
    position: static;
    display: none;
    border: none;
    border-top: 1px solid var(--ip-border);
    box-shadow: none;
    background: #fafafa;
    padding: 4px 0;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding-left: 36px; }
  nav.main-nav .nav-cta { margin: 12px 16px; text-align: center; border-radius: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .related-card { transition: none; }
}

/* Key takeaways callout — used on every article page.
   Neutral slate so it reads as secondary to the red .quick-answer above it
   and stays cluster-agnostic (Hotmail / Gmail / Facebook). Matches .trust-box tokens.
   Note: gmail-login/ carries an inline blue variant that overrides this by cascade order. */
.key-takeaways {
  border-left: 4px solid #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #64748b;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 18px 0;
}
/* On-page table of contents. Added 2026-08-13 per the seo-content skill
   ("table of contents for long-form content") — also improves the structural
   readability signal the seo-geo skill scores for AI citation. */
.toc {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 22px 0;
}
.toc strong { display: block; margin-bottom: 8px; color: #0b1220; font-family: 'Sora', sans-serif; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: #2563eb; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

.key-takeaways .kt-title { display: block; margin-bottom: 6px; color: #0b1220; font-weight: 700; font-family: 'Sora', sans-serif; }
.key-takeaways ul { margin: 0; padding-left: 18px; }
.key-takeaways li { margin: 4px 0; }

/* ══ AD RESERVE ═══════════════════════════════════════════════════════════
   Added 2026-09-29.

   WHY. Field CLS measured 2026-09-27 (CrUX p75, mobile): origin 0.110, and
   0.160 / 0.180 / 0.180 on the three ad-carrying pages, against Google's
   0.100 pass mark. Already failing. Then on 2026-09-25 an auto-ads change
   took ad impressions per pageview from 2.43 to 3.38 (+39%), which acts
   directly on the metric that was already out of bounds.

   WHAT WAS ALREADY FINE, so that nobody "fixes" it again. The MANUAL slots
   were never the problem. .ad-slot and .ad-slot--lead already reserve their
   height, and measured live on a 375px viewport their wrappers render at
   415px and 375px BEFORE any ad arrives. Nothing below them moves.

   WHAT ACTUALLY SHIFTS. The units Google injects itself. Measured on the
   live page: <ins class="adsbygoogle adsbygoogle-noablate"> sitting directly
   in <body>, position:static so it is IN DOCUMENT FLOW, with min-height 0.
   It occupies nothing until the ad lands, then shoves every element below it
   down by the full height of the ad. AdSense reports these as the "In-page"
   format: 60.2% of all impressions on 25-28 Sept, and the single largest
   block of inventory on the site.

   THE TRADE-OFF, STATED. Reserving height fixes the filled case and would
   introduce a smaller shift in the unfilled case, because Google sets
   display:none on an unfilled unit and the reserved box then collapses.
   That risk is measured, not assumed: 5 unfilled impressions out of 7,841
   over 25-28 Sept, a 99.94% fill rate. The trade is overwhelmingly positive
   here. It would NOT be on a site with weak fill.

   250px IS A FLOOR, NOT AN EXACT FIT. It is the height of a 300x250, the
   most common in-page unit. A taller ad still shifts, but by the difference
   rather than by its whole height. It cannot be measured from here because
   ads do not serve into an automation browser -- every slot returned
   data-ad-status null. Refine it against CrUX after 28 days, not by guessing.

   ANCHOR ADS ARE DELIBERATELY EXCLUDED. They are position:fixed overlays,
   out of flow, and contribute no CLS at all -- while earning $19.99 CPM, the
   best format on the site. Giving one a min-height would hang a 250px panel
   over the page and break the thing that is working.
   ════════════════════════════════════════════════════════════════════════ */

/* Auto-injected, in-flow display units: the actual source of the shift. */
ins.adsbygoogle.adsbygoogle-noablate,
.google-auto-placed > ins.adsbygoogle,
.google-auto-placed { min-height: 250px; }

/* Manual slots already have their space held by the wrapper. Reserving again
   on the <ins> would stack two reserves and add dead whitespace. */
.ad-slot ins.adsbygoogle,
.ad-slot .google-auto-placed { min-height: 0; }

/* Out-of-flow and small inline formats must never be given a block reserve:
   anchor overlays (fixed), and the ad-intent chip/link units, which are
   inline text elements a few tens of pixels tall. */
ins.adsbygoogle[data-anchor-status],
ins.adsbygoogle[data-ad-format="link"],
ins.adsbygoogle[data-full-width-responsive="false"][data-ad-format="fluid"] {
  min-height: 0 !important;
}

/* An unfilled unit is collapsed by Google anyway; make that explicit so the
   reserve can never strand a permanent blank box if that behaviour changes. */
ins.adsbygoogle[data-ad-status="unfilled"],
.google-auto-placed:empty { min-height: 0 !important; }

/* ══ 2026-11-11 LAYOUT & COMPONENT FIXES ══════════════════════════════════
   1. Real two-column layout: the old .side-ad was position:fixed at right:24px
      over a centred 960px <main>, so between ~1200px and ~1650px wide it covered
      the article and slid over the footer. The ad now lives in a grid column.
   2. Footer gap: footer margin-top 56px + main padding-bottom 72px left ~130px
      of blank space. Both reduced.
   3. Empty ad reserves collapse when AdSense returns no ad.
   4. Former per-page inline <style> blocks moved here (one cached file).
═══════════════════════════════════════════════════════════════════════════ */
.page-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}
.page-layout main { max-width: none; margin: 0; padding: 32px 0 48px; min-width: 0; }
.page-sidebar { padding-top: 32px; }
.sidebar-sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.side-toc { border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; background: #fff; max-height: 50vh; overflow: auto; }
.side-toc .side-label, .side-ad-box .ad-label { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 6px; font-weight: 700; }
.side-toc ol { margin: 0; padding-left: 18px; font-size: .88rem; line-height: 1.45; }
.side-toc li { margin: 5px 0; }
.side-toc a { color: #334155; }
.side-toc a:hover { color: var(--ip-red); }
.side-ad-box { width: 300px; min-height: 250px; text-align: center; }
.side-ad-box:has(ins[data-ad-status="unfilled"]) { display: none; }
@media (max-width: 1099px) {
  .page-layout { grid-template-columns: minmax(0, 1fr); max-width: 960px; }
  .page-sidebar { display: none; }
}
@media (max-width: 640px) {
  .page-layout { padding: 0 16px; }
  .hero { padding: 28px 20px 24px; }
}
.side-ad { display: none !important; }            /* retire the old floating banner */

/* hero byline */
.byline{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0 2px;font-size:.95rem;color:rgba(255,255,255,.92)}
.byline .avatar{width:38px;height:38px;border-radius:50%;background:#fff;color:#d2322c;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-family:'Sora',sans-serif;box-shadow:0 0 0 2px rgba(255,255,255,.4)}
.byline a{color:#fff;text-decoration:underline;font-weight:600}
.byline .sep{color:rgba(255,255,255,.45)}
.byline time{color:#fff}

/* official link button */
.official-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin:0 0 26px}
.official-btn{display:inline-block;background:var(--ip-red);color:#fff;font-weight:700;padding:12px 20px;border-radius:10px;font-family:'Sora',sans-serif;font-size:.98rem}
.official-btn:hover{background:var(--ip-red-dark);color:#fff;text-decoration:none}
.official-cta p{margin:0;flex:1;min-width:220px;font-size:.88rem;color:#64748b;line-height:1.5}

/* figures, trust box, sources */
.post-figure{margin:26px 0;text-align:center}
.post-figure img{max-width:100%;height:auto;border-radius:14px;border:1px solid #e5e7eb;box-shadow:0 6px 20px rgba(15,23,42,.08)}
.post-figure figcaption{margin-top:10px;font-size:.9rem;color:#64748b}
.trust-box{border:1px solid #e2e8f0;background:#f8fafc;border-radius:12px;padding:16px 20px;margin:22px 0}
.trust-box p:first-child{margin-top:0}.trust-box p:last-child{margin-bottom:0}
.trust-box ul{margin:8px 0 0;padding-left:18px}.trust-box li{margin:4px 0}
.tip-box p, .warn-box p { margin: 0 0 6px; } .tip-box p:last-child, .warn-box p:last-child { margin-bottom: 0; }
.sources-list{list-style:none;padding:0;margin:10px 0 0}
.sources-list li{padding:8px 0;border-bottom:1px solid #eef2f7}
.sources-list a{color:#2563eb;text-decoration:none;font-weight:600}
.sources-list span{display:block;color:#64748b;font-size:.88rem}

/* ads: reserve space against layout shift, collapse when unfilled */
.ad-slot{margin:30px auto;text-align:center;min-height:280px;clear:both}
.ad-slot--lead{min-height:250px;margin:6px auto 28px}
@media(max-width:480px){.ad-slot{min-height:min(calc(100vw + 40px),470px)}.ad-slot--lead{min-height:min(100vw,400px)}}
.ad-slot .ad-label{display:block;font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:#94a3b8;margin-bottom:6px}
.ad-slot ins{display:block}
.ad-slot:has(ins[data-ad-status="unfilled"]){display:none}

/* next step */
.next-step{border:1px solid #e2e8f0;background:#f8fafc;border-radius:12px;padding:15px 18px;margin:28px 0}
.next-step .ns-label{display:block;font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:#64748b;margin-bottom:6px;font-weight:700}
.next-step a{color:#2563eb;font-weight:700;font-size:1.02rem}
.next-step p{margin:6px 0 0;font-size:.92rem;color:#475569}

/* username checker tool (password tester removed) */
.tool{border:1px solid #dbe4f0;border-radius:14px;padding:20px 22px;margin:26px 0;background:linear-gradient(180deg,#f7faff,#ffffff)}
.tool h3{margin:0 0 4px;font-size:1.15rem}
.tool .muted{color:#64748b;font-size:.9rem;margin:0 0 14px;line-height:1.55}
.tool label{display:block;font-weight:600;font-size:.9rem;margin-bottom:6px;color:#0b1220}
.tool input[type=text]{width:100%;padding:12px 14px;border:1.5px solid #cbd5e1;border-radius:10px;font-size:1rem;font-family:inherit;outline:none}
.tool input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.15)}
.uname-row{display:flex;gap:8px;flex-wrap:wrap}
.checks{list-style:none;padding:0;margin:14px 0 0}
.checks li{padding:4px 0;font-size:.93rem}
.checks .ok{color:#15803d}.checks .bad{color:#b91c1c}.checks .pending{color:#94a3b8}
.verdict{margin-top:14px;padding:12px 14px;border-radius:10px;font-weight:600;font-size:.95rem;display:none}
.verdict.good{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0;display:block}
.verdict.bad{background:#fef2f2;color:#991b1b;border:1px solid #fecaca;display:block}
.domain-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.domain-pills a{background:#eef4ff;color:#1d4ed8;border:1px solid #c7d7f5;border-radius:999px;padding:6px 12px;font-size:.85rem;font-family:'JetBrains Mono',monospace}

/* tables & misc */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-wrap table{width:100%;border-collapse:collapse;font-size:.94rem}
.table-wrap th,.table-wrap td{border:1px solid var(--ip-border);padding:9px 12px;text-align:left;vertical-align:top}
.table-wrap th{background:#f8fafc;font-family:'Sora',sans-serif;font-size:.86rem}
.menu-all{font-weight:700;border-top:1px solid var(--ip-border);margin-top:6px}
.footer-disclaimer{margin-top:6px;display:block}
main code{font-family:'JetBrains Mono',monospace;font-size:.86em;background:#f1f5f9;padding:1px 5px;border-radius:4px}
.hub-group{margin:34px 0}
main section, main [id] { scroll-margin-top: 96px; }   /* anchors land below the sticky header */
.side-ad-box { max-height: 620px; overflow: hidden; }

/* ══ 2026-11-11 (round 2): MATCH THE MAIN irispublishers.com THEME ══════════
   Header, top bar and footer now use the site's real markup + its own CSS
   (bootstrap.min.css, assets/css/style.css, colors/color-1.css). Below: keep the
   article styles from leaking into that chrome and align colours/fonts with it. */
:root { --ip-red: #f44336; --ip-red-dark: #d32f2f; --ip-highlight: #fff5f4; }
body { font-family: "Open Sans", Arial, sans-serif; background: #fff; color: #333; }
.page-layout h1, .page-layout h2, .page-layout h3, .page-layout h4,
.page-layout .kt-title, .page-layout .toc strong, .official-btn { font-family: "Poppins", Arial, sans-serif; }
header h3.title, .footer-wrapper h2, .footer-wrapper h2 span { font-family: "Poppins", Arial, sans-serif; }
.hero { background: linear-gradient(135deg, #f44336 0%, #c62828 100%); }
.page-layout a { color: #d32f2f; }
.page-layout .toc a, .page-layout .sources-list a, .page-layout .next-step a, .page-layout .related-card a { color: #1f5fbf; }
.page-layout .official-btn, .page-layout .official-btn:hover { color: #fff; }
.page-layout .byline a { color: #fff; }
.page-breadcrumb { background: #f7f7f7; border-bottom: 1px solid #eee; }
.page-breadcrumb-inner { max-width: 1280px; margin: 0 auto; padding: 10px 24px; font-size: .9rem; }
.sidebar-sticky { top: 24px; }
main section, main [id] { scroll-margin-top: 24px; }
.intro { font-size: 1.05rem; margin: 0 0 22px; }

/* section navigation (users + crawlers can reach every guide in the cluster) */
.cluster-nav { border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; background: #fff; }
.cluster-nav .side-label { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 6px; font-weight: 700; }
.cluster-nav ol { list-style: none; margin: 0; padding: 0; font-size: .9rem; line-height: 1.4; }
.cluster-nav li { border-bottom: 1px solid #f1f5f9; }
.cluster-nav li a, .cluster-nav li span { display: block; padding: 7px 0; color: #334155; }
.cluster-nav li.current span { color: #d32f2f; font-weight: 700; }
.cluster-nav .cluster-all { display: inline-block; margin-top: 8px; font-weight: 700; font-size: .88rem; }
.cluster-nav--inline { margin: 32px 0 8px; }
.cluster-nav--inline ol { columns: 2; column-gap: 28px; }
.cluster-nav--inline li { break-inside: avoid; }
@media (max-width: 640px) { .cluster-nav--inline ol { columns: 1; } }
/* section guide list now always shown at the end of the article (removed from the sidebar) */
.side-toc { max-height: 40vh; }

/* footer note under the site's footer */
.guides-footer-note { background: #111; color: #9a9a9a; font-size: .82rem; padding: 14px 0; }
.guides-footer-note a { color: #ddd; }
.guides-footer-note span { display: block; margin-top: 4px; }

/* ══ Round 4: sidebar = "In this guide" on top + live-site sticky ad ══ */
.side-toc { padding: 0; overflow: hidden; max-height: none; border-top: 3px solid #f44336; }
.side-toc-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #fff5f4; border-bottom: 1px solid #fde0dd;
  font-family: "Poppins", Arial, sans-serif; font-weight: 600; font-size: .95rem; color: #1a1a1a; }
.side-toc-icon { color: #f44336; font-size: 1rem; line-height: 1; }
.side-toc-count { margin-left: auto; font-size: .72rem; font-weight: 500; color: #888; background: #fff; border: 1px solid #f3d3cf; border-radius: 999px; padding: 2px 8px; }
.side-toc ol { margin: 0; padding: 10px 16px 12px 34px; max-height: calc(100vh - 420px); min-height: 160px; overflow-y: auto; font-size: .88rem; line-height: 1.45; }
.side-toc li { margin: 6px 0; }
.side-toc a { color: #333; }
.side-toc a.active { color: #d32f2f; font-weight: 600; }
.side-ad-box { margin-top: 0; }
.cluster-nav--inline { display: block; }

/* ══ Round 5: Account Guides mega menu + "In this guide" typography ══ */
@media (min-width: 992px) {
  header ul.nav-menu > li > ul.sub-menu.guides-mega { width: 720px !important; min-width: 720px !important; }
  header ul.nav-menu .guides-mega .title { font-family: "Poppins", Arial, sans-serif; font-size: 15px; font-weight: 600; text-transform: none !important; line-height: 1.3; padding: 20px 0 0 8px !important; margin-bottom: 8px; }
  header ul.nav-menu > li ul.sub-menu.guides-mega li ul li a { font-family: "Poppins", Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 1.6; text-transform: none; white-space: nowrap; padding: 3px 12px 3px 4px; }
  header ul.nav-menu > li ul.sub-menu.guides-mega li ul li a:hover { padding-left: 8px; }
}
.side-toc ol { font-family: "Poppins", Arial, sans-serif; font-size: 13.5px; line-height: 1.5; scrollbar-width: thin; scrollbar-color: #e5b4ae transparent; }
.side-toc ol::-webkit-scrollbar { width: 6px; }
.side-toc ol::-webkit-scrollbar-thumb { background: #e5b4ae; border-radius: 3px; }
.side-toc a { color: #333; font-weight: 400; }
.side-toc a.active { color: #d32f2f; font-weight: 500; }
