/* Service guides only. Shared homepage and invoice rules remain in styles.css. */
.guide-page{background:#f7f5ef;color:#173b4a;font-size:17px;line-height:1.65}
.guide-page a{color:#245b40;text-underline-offset:4px}.guide-page a:hover{text-decoration-thickness:2px}
.guide-page :is(a,button,summary):focus-visible{outline:3px solid #ae5d24;outline-offset:5px}
.skip-link{position:fixed;top:-90px;left:16px;z-index:100;background:#fff;padding:12px}.skip-link:focus{top:12px}
.guide-header{background:#0b3047;color:#fff;border-bottom:5px solid #437650}
.guide-nav{display:flex;align-items:center;gap:30px;min-height:110px;padding-top:18px;padding-bottom:18px;flex-wrap:wrap}
.guide-brand{display:block;background:#fff;border-radius:5px;padding:5px 12px;line-height:0;margin-right:auto}
.guide-brand img{width:245px;height:55px;object-fit:contain;max-width:100%}
.guide-nav nav{display:flex;gap:24px;flex-wrap:wrap}.guide-nav nav a{color:#fff;font-size:15px;font-weight:700;text-decoration:none;padding:7px 0}
.guide-page .guide-help{background:#285f40;color:#fff;border:2px solid #285f40;min-height:48px;line-height:1.4;display:inline-block}
.guide-header .guide-help{background:#e8efdf;color:#123a27;border-color:#e8efdf}
.guide-page .guide-help:hover{background:#19432b;color:#fff}
.guide-hero{padding:38px 0 45px;background:#eeeadf;border-bottom:1px solid #d8d8cd}
.guide-breadcrumb{font-size:15px}.guide-hero .section-kicker{margin-top:32px;color:#3e6545}
.guide-hero h1{font:700 clamp(36px,5vw,62px)/1.12 Georgia,serif;margin:16px 0 20px;color:#0b3047;max-width:900px}
.guide-intro{font-size:20px;max-width:820px;line-height:1.7}.guide-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin-top:26px}.guide-hero-actions a{font-weight:700}.guide-context{font-size:14px;margin-bottom:0;color:#466257}
.guide-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:48px;padding-top:45px;padding-bottom:65px;align-items:start}
.guide-sidebar nav{background:#fff;border:1px solid #d6dcd0;border-radius:10px;padding:24px}
.guide-sidebar nav .section-kicker{font-size:11px;margin:0 0 10px;letter-spacing:1.4px;color:#41664a}
.guide-sidebar nav a{display:block;padding:12px 0;border-bottom:1px solid #e4e7de;font-size:16px;line-height:1.45;font-weight:700;text-decoration:none}
.guide-sidebar nav a:last-child{border:0}.guide-sidebar nav a[aria-current]{color:#102f22;text-decoration:underline}
.guide-example{padding:24px 5px}.guide-example h2{font:700 24px/1.25 Georgia}.guide-example p{font-size:16px}
.guide-topic{background:#fff;border:1px solid #d6dcd0;border-radius:10px;padding:32px;margin-bottom:26px;scroll-margin-top:20px}
.guide-topic .section-kicker{color:#41664a;margin:0;font-size:11px}.guide-topic h2,.guide-faq h2,.guide-related h2,.guide-request h2{font:700 31px/1.2 Georgia;color:#0b3047;margin:12px 0 20px}.guide-topic h3{font-size:17px;margin:24px 0 8px}
.guide-topic ol{padding-left:24px}.guide-topic li{padding:0 0 14px 6px}.guide-note{background:#f0f3e9;padding:18px 22px;border-left:4px solid #557b4d;border-radius:4px;margin:8px 0 22px}.guide-note h3{margin:0 0 8px}.guide-note p{margin:0;font-size:16px}.back-top{font-size:14px}
.guide-faq{margin:42px 0}.guide-faq details{border-bottom:1px solid #cbd4c7;padding:18px 0}.guide-faq summary,.guide-sources summary{cursor:pointer;font-weight:700;min-height:36px}.guide-faq details p{margin-bottom:5px}.guide-request{background:#e5eddd;border:1px solid #c7d7bc;padding:30px;border-radius:10px}
.guide-related{margin:38px 0}.guide-related a{display:block;padding:12px 0;border-bottom:1px solid #d7dfcf;font-weight:700}
.guide-sources{font-size:14px;overflow-wrap:anywhere;border-top:1px solid #d5d9cf;padding-top:20px}.guide-sources li{margin:10px 0}.guide-footer{padding:30px 0;background:#0b3047;color:#fff;font-size:15px}.guide-footer a{color:#e4f0d7}
.guide-page .modal{line-height:1.45}.guide-page .modal p{font-size:16px}.guide-page .modal .orange{color:#fff}
@media(max-width:900px){.guide-nav{gap:16px}.guide-nav nav{order:3;width:100%;gap:24px}.guide-layout{grid-template-columns:240px minmax(0,1fr);gap:24px}.guide-topic{padding:24px}}
@media(max-width:640px){.guide-page{font-size:17px}.guide-nav{padding-top:14px;padding-bottom:14px;gap:14px}.guide-brand{padding:4px 8px}.guide-brand img{width:190px;height:45px}.guide-nav>.guide-help{font-size:13px;padding:9px 11px;min-height:44px}.guide-nav nav{gap:20px}.guide-nav nav a{font-size:14px}.guide-hero{padding:25px 0 32px}.guide-hero .section-kicker{font-size:10px;letter-spacing:1px;margin-top:25px}.guide-intro{font-size:18px}.guide-layout{display:block;padding-top:25px}.guide-sidebar{margin-bottom:20px}.guide-example{padding:10px 0}.guide-topic{padding:23px 20px}.guide-topic h2,.guide-faq h2,.guide-related h2,.guide-request h2{font-size:27px}.guide-note{padding:15px}.guide-request{padding:23px 20px}.guide-page .wrap{padding-left:20px;padding-right:20px}.guide-page .modal-card{max-height:94vh}}
@media(max-width:370px){.guide-brand img{width:160px}.guide-nav>.guide-help{font-size:12px;padding:8px}.guide-nav nav{gap:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Match the accepted homepage branding. */
.guide-page{background:#f8fcfc;color:var(--navy)}
.guide-hero{background:linear-gradient(110deg,#f2f8ef,#eaf1e5)}
.guide-hero h1,
.guide-topic h2,.guide-faq h2,
.guide-related h2,.guide-request h2{color:var(--navy)}
.guide-page .section-kicker{color:#a5572e}
.guide-page a{color:var(--blue)}
.guide-page .top .brand{background:transparent}
.guide-page .guide-help{
  background:var(--blue);border-color:var(--blue);color:#fff
}
.guide-page .guide-help:hover{
  background:var(--blue-dark);border-color:var(--blue-dark);color:#fff
}
.guide-note{background:#edf4f7;border-left-color:var(--blue)}
.guide-request{background:#e4f3f8;border-color:#d2e4ef}
.guide-sidebar nav a[aria-current]{color:var(--navy)}
.guide-context{color:#40596b}
.guide-footer{background:var(--navy)}
.guide-footer a{color:#fff}

/* Keep guide footer links readable against navy. */
.guide-page footer a{color:#fff}
.guide-page footer a:hover{color:#edb970}

/* Matching original service artwork on each guide. */
.guide-service-icon{
  float:right;
  display:block;
  width:200px;
  height:200px;
  object-fit:contain;
  image-rendering:auto;
  margin:0 0 20px 36px;
}
.guide-hero>.wrap::after{
  content:"";
  display:block;
  clear:both;
}
@media(max-width:900px){
  .guide-service-icon{
    width:160px;
    height:160px;
    margin-left:24px;
  }
}
@media(max-width:640px){
  .guide-service-icon{
    float:none;
    width:120px;
    height:120px;
    margin:0 0 20px;
  }
}

/* Position guide artwork beside the introduction on desktop. */
.guide-hero>.wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) 200px;
  column-gap:36px;
}
.guide-hero .guide-breadcrumb,
.guide-hero .section-kicker,
.guide-hero h1{
  grid-column:1 / -1;
}
.guide-hero .guide-service-icon{
  float:none;
  grid-column:2;
  grid-row:4 / span 3;
  align-self:center;
  justify-self:center;
  width:200px;
  height:200px;
  margin:0;
}
.guide-hero .guide-intro{
  grid-column:1;
  grid-row:4;
}
.guide-hero .guide-hero-actions{
  grid-column:1;
  grid-row:5;
}
.guide-hero .guide-context{
  grid-column:1;
  grid-row:6;
}
.guide-hero>.wrap::after{display:none}
@media(max-width:700px){
  .guide-hero>.wrap{grid-template-columns:minmax(0,1fr)}
  .guide-hero .guide-service-icon{
    grid-column:1;
    grid-row:4;
    justify-self:start;
    width:120px;
    height:120px;
    margin-bottom:12px;
  }
  .guide-hero .guide-intro{grid-row:5}
  .guide-hero .guide-hero-actions{grid-row:6}
  .guide-hero .guide-context{grid-row:7}
}
