/* Lupine Publishers — account help articles (/articles/en/, /articles/es/)
   Loaded after the site's own reset.css / style.css / menu11.css, so the header and footer
   look exactly like lupinepublishers.com. Everything below is scoped to the article area. */
:root {
  --lp-navy: #1f2f4c; --lp-steel: #4d749a; --lp-link: #0a71b5; --lp-head: #393939;
  --lp-text: #3f3f46; --lp-muted: #6b6b75; --lp-line: #dde3ea; --lp-soft: #f3f6f9;
  --lp-amber: #e05d07; --lp-amber-soft: #fff4ec; --lp-green: #1d7a46; --lp-green-soft: #eef8f2;
}
.lp-articles-page { background: #fff; }
.lp-articles-page .header { position: relative; z-index: 50; top: auto !important; }   /* site's mobile CSS shifts it 120px down over the content */

/* Articles mega menu (inside the site's navbar) */
.lp-articles-menu .lp-mega { min-width: 640px; padding: 16px 18px 10px; display: none; }
.lp-articles-menu:hover > .lp-mega, .lp-articles-menu.open > .lp-mega { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.lp-mega > li { list-style: none; }
.lp-mega .lp-menu-col { flex: 1 1 180px; }
.lp-mega .lp-menu-head { display: block; font: 700 12px/1.4 Roboto, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-steel); padding: 4px 0 6px; border-bottom: 1px solid var(--lp-line); margin-bottom: 4px; }
.lp-mega .lp-menu-col ul { margin: 0; padding: 0; list-style: none; }
.lp-mega .lp-menu-col a, .lp-mega .lp-menu-all a { display: block; padding: 5px 0 !important; font: 400 13.5px/1.4 "Open Sans", Arial, sans-serif !important; color: #333 !important; text-transform: none !important; white-space: nowrap; background: none !important; }
.lp-mega .lp-menu-col a:hover, .lp-mega .lp-menu-all a:hover { color: var(--lp-link) !important; }
.lp-mega .lp-menu-all { flex: 1 0 100%; border-top: 1px solid var(--lp-line); margin-top: 6px; }
.lp-mega .lp-menu-all a { font-weight: 600 !important; color: var(--lp-link) !important; }
@media (max-width: 991px) {
  .lp-articles-menu .lp-mega { min-width: 0; position: static; float: none; box-shadow: none; }
  .lp-articles-menu.open > .lp-mega { display: block; }
  .lp-mega .lp-menu-col a { white-space: normal; color: #fff !important; }
  .lp-mega .lp-menu-head { color: #cfe0f1; }
}

/* Breadcrumb band */
.lp-articles-page header.header::after { content: ""; display: block; clear: both; }
.page-breadcrumb { background: var(--lp-soft); border-bottom: 1px solid var(--lp-line); clear: both; }
@media (max-width: 991px) {
  .lp-articles-page #navbar-collapse-1.in { float: none; width: 100%; clear: both; }
  .lp-articles-page .page-layout, .lp-articles-page .page-breadcrumb { clear: both; }
}
.page-breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 10px 20px; font: 13px/1.5 "Open Sans", Arial, sans-serif; color: var(--lp-muted); }
.page-breadcrumb a { color: var(--lp-link); }

/* Layout */
.page-layout { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 44px; align-items: start; }
#main-content { padding: 30px 0 50px; min-width: 0; font: 16px/1.75 "Open Sans", Arial, sans-serif; color: var(--lp-text); }
.page-sidebar { padding-top: 30px; }
.sidebar-sticky { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 1023px) { .page-layout { grid-template-columns: minmax(0, 1fr); max-width: 860px; } .page-sidebar { display: none; } }
@media (max-width: 640px) { .page-layout { padding: 0 16px; } #main-content { font-size: 15.5px; } }

/* Typography (undo the site's reset inside articles) */
#main-content h1, #main-content h2, #main-content h3 { font-family: Raleway, "Open Sans", Arial, sans-serif; color: var(--lp-head); letter-spacing: 0; text-transform: none; }
#main-content h1 { font-size: 34px; line-height: 1.22; font-weight: 700; margin: 6px 0 14px; }
#main-content h2 { font-size: 25px; line-height: 1.3; font-weight: 700; margin: 0 0 14px; padding-top: 6px; }
#main-content h3 { font-size: 19px; line-height: 1.35; font-weight: 700; margin: 22px 0 8px; }
#main-content p { margin: 0 0 14px; font-size: inherit; line-height: inherit; color: inherit; }
#main-content ul, #main-content ol { margin: 0 0 16px; padding-left: 24px; }
#main-content ul li { list-style: disc; margin: 4px 0; }
#main-content ol li { list-style: decimal; margin: 4px 0; }
#main-content a { color: var(--lp-link); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
#main-content a:hover { color: var(--lp-navy); }
#main-content strong { color: #26262c; font-weight: 700; }
#main-content code { font-family: Consolas, Menlo, monospace; font-size: .9em; background: #eef2f6; padding: 1px 5px; border-radius: 3px; color: #1f2f4c; }
#main-content section { scroll-margin-top: 16px; padding: 22px 0 6px; border-top: 1px solid var(--lp-line); margin-top: 18px; }
@media (max-width: 640px) { #main-content h1 { font-size: 27px; } #main-content h2 { font-size: 21px; } }

/* Hero */
.hero { border-left: 4px solid var(--lp-steel); padding: 2px 0 4px 20px; margin-bottom: 18px; }
.hero .eyebrow { display: inline-block; font: 700 11.5px/1 Roboto, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(#4d749a, #1f2f4c); padding: 6px 10px; }
.hero .lede { font-size: 17.5px; line-height: 1.7; color: #45454d; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13.5px; color: var(--lp-muted); margin-top: 10px; }
.byline .avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--lp-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 11px/1 Roboto, Arial, sans-serif; }
.byline .sep { color: #b6bcc6; }
#main-content .byline a { text-decoration: none; }

/* Short answer + at a glance */
.quick-answer { background: var(--lp-soft); border: 1px solid var(--lp-line); border-top: 3px solid var(--lp-navy); padding: 16px 20px 6px; margin: 18px 0; }
.quick-answer .label, .glance-title, .kt-title, .ns-label, .side-label { display: block; font: 700 12px/1.3 Roboto, Arial, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--lp-steel); margin-bottom: 8px; }
.glance { margin: 18px 0; }
.glance table { width: 100%; border-collapse: collapse; font-size: 15px; }
.glance th, .glance td { border: 1px solid var(--lp-line); padding: 9px 12px; vertical-align: top; text-align: left; }
.glance th { width: 34%; background: #f8fafc; font-weight: 600; color: #2f3640; }
.intro { font-size: 16.5px; }

/* Official button */
.official-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0; padding: 14px 16px; border: 1px dashed #b9c7d6; }
#main-content .official-btn { display: inline-block; background: linear-gradient(#4d749a, #1f2f4c); color: #fff; text-decoration: none; font: 600 15px/1 Roboto, Arial, sans-serif; padding: 13px 20px; border-radius: 3px; }
#main-content .official-btn:hover { background: var(--lp-navy); color: #fff; }
.official-cta p { margin: 0 !important; font-size: 13.5px !important; color: var(--lp-muted) !important; flex: 1 1 260px; }

/* Takeaways + TOC */
.key-takeaways { border: 1px solid var(--lp-line); padding: 16px 20px 6px; margin: 18px 0; background: #fff; }
.toc { border: 1px solid var(--lp-line); background: #fbfcfd; padding: 14px 20px 6px; margin: 18px 0; }
.toc strong { display: block; font: 700 12px/1.3 Roboto, Arial, sans-serif !important; letter-spacing: .07em; text-transform: uppercase; color: var(--lp-steel) !important; margin-bottom: 6px; }
@media (min-width: 1024px) { .toc { display: none; } }

/* Steps */
#main-content ol.step-rail { list-style: none; counter-reset: s; padding: 0; margin: 10px 0 18px; }
#main-content ol.step-rail li { list-style: none; counter-increment: s; position: relative; padding: 2px 0 14px 52px; margin: 0; border-left: 2px solid var(--lp-line); margin-left: 16px; padding-left: 34px; }
#main-content ol.step-rail li:last-child { border-left-color: transparent; }
#main-content ol.step-rail li::before { content: counter(s); position: absolute; left: -16px; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--lp-navy); color: #fff; font: 700 14px/30px Roboto, Arial, sans-serif; text-align: center; }
.step-rail .step-title { display: block; font-weight: 700; color: #26262c; margin-bottom: 2px; }

/* Callouts */
.tip-box, .warn-box, .trust-box { padding: 14px 18px 2px; margin: 16px 0; border-left: 4px solid; }
.tip-box { background: var(--lp-green-soft); border-color: var(--lp-green); }
.warn-box { background: var(--lp-amber-soft); border-color: var(--lp-amber); }
.trust-box { background: var(--lp-soft); border-color: var(--lp-steel); }

/* Tables */
.table-wrap { overflow-x: auto; margin: 12px 0 18px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.table-wrap th, .table-wrap td { border: 1px solid var(--lp-line); padding: 9px 12px; text-align: left; vertical-align: top; }
.table-wrap th { background: linear-gradient(#4d749a, #1f2f4c); color: #fff; font: 600 14px/1.4 Roboto, Arial, sans-serif; }
.table-wrap tr:nth-child(even) td { background: #f9fbfc; }

/* FAQ */
.faq-item { border: 1px solid var(--lp-line); margin: 8px 0; background: #fff; }
.faq-item summary { cursor: pointer; padding: 12px 16px; font-weight: 600; color: #26262c; list-style: none; position: relative; padding-right: 40px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 9px; font-size: 20px; color: var(--lp-steel); }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 16px 4px; }

/* Sources */
#main-content ul.sources-list { padding-left: 0; }
#main-content ul.sources-list li { list-style: none; padding: 8px 0; border-bottom: 1px dotted var(--lp-line); }
.sources-list span { display: block; font-size: 13.5px; color: var(--lp-muted); }

/* Figure */
.post-figure { margin: 18px 0; }
.post-figure img { width: 100%; height: auto; border: 1px solid var(--lp-line); }
.post-figure figcaption { font-size: 13px; color: var(--lp-muted); margin-top: 6px; }

/* Tool */
.tool { border: 2px solid var(--lp-steel); padding: 16px 18px; margin: 18px 0; background: #fff; }
#main-content .tool h3 { margin-top: 0; }
.tool .muted { font-size: 14px !important; color: var(--lp-muted) !important; }
.tool label { display: block; font-weight: 600; margin: 6px 0 4px; }
.tool input[type=text], .tool input[type=url] { width: 100%; padding: 11px 12px; border: 1px solid #b9c7d6; border-radius: 3px; font: 16px "Open Sans", Arial, sans-serif; box-sizing: border-box; }
.tool .checks { padding-left: 0 !important; } .tool .checks li { list-style: none !important; }
.tool .checks .ok { color: var(--lp-green); } .tool .checks .bad { color: #b42318; } .tool .checks .pending { color: var(--lp-muted); }
.verdict { margin-top: 10px; font-weight: 600; }
.verdict.good { color: var(--lp-green); } .verdict.bad { color: #b42318; }
.domain-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
#main-content .domain-pills a { background: var(--lp-soft); border: 1px solid var(--lp-line); padding: 5px 10px; font-size: 14px; text-decoration: none; }

/* Next / related / cluster */
.next-step { border: 1px solid var(--lp-line); border-left: 4px solid var(--lp-navy); padding: 14px 18px; margin: 26px 0 8px; }
#main-content .next-step a { font: 700 18px/1.4 Raleway, Arial, sans-serif; text-decoration: none; }
.next-step p { margin: 4px 0 0 !important; font-size: 14.5px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.related-card { border: 1px solid var(--lp-line); padding: 12px 14px; }
#main-content .related-card a { font-weight: 700; text-decoration: none; }
.related-card p { margin: 4px 0 0 !important; font-size: 14px; color: var(--lp-muted); }
.cluster-nav { border: 1px solid var(--lp-line); padding: 12px 16px; background: #fff; }
.cluster-nav ol { margin: 0 0 8px; padding-left: 20px; font-size: 14px; }
.cluster-nav li { margin: 4px 0; }
.cluster-nav li.current span { font-weight: 700; color: #26262c; }
.cluster-nav a { color: var(--lp-link); }
.cluster-nav--inline { margin-top: 24px; }
@media (min-width: 1024px) { .cluster-nav--inline { display: none; } }

/* Sidebar TOC */
.side-toc { border: 1px solid var(--lp-line); background: #fff; }
.side-toc-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: linear-gradient(#4d749a, #1f2f4c); color: #fff; font: 600 14px/1.3 Roboto, Arial, sans-serif; }
.side-toc-count { margin-left: auto; font-size: 12px; opacity: .8; font-weight: 400; }
.side-toc ol { margin: 0; padding: 10px 14px 10px 32px; max-height: 52vh; overflow: auto; font: 13.5px/1.5 "Open Sans", Arial, sans-serif; scrollbar-width: thin; }
.side-toc li { margin: 5px 0; list-style: decimal; }
.side-toc a { color: #3a3a40; text-decoration: none; }
.side-toc a:hover, .side-toc a.active { color: var(--lp-link); font-weight: 600; }
.page-sidebar .cluster-nav { font-size: 14px; }

/* Ads (only rendered when ADS_CLIENT is set in build.py) */
.ad-slot, .side-ad-box { margin: 18px 0; text-align: center; min-height: 100px; }
.ad-label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #9aa3ad; }
.ad-slot:has(ins[data-ad-status="unfilled"]), .side-ad-box:has(ins[data-ad-status="unfilled"]) { display: none; }

/* Footer note under the site footer */
.lp-footnote { background: #000; color: #8a8a8a; font: 12.5px/1.6 "Open Sans", Arial, sans-serif; padding: 12px 0 18px; border-top: 1px solid #222; }
.lp-footnote a { color: #b9c7d6; }
.lp-footnote span { display: block; margin-top: 4px; }
.lang-switch { font-weight: 600; }
