/* Outage Prep guide pages (home-standby-buying-guide.html, portable-generator-care.html).
   Builds on base.css; uses the site's navy #091A46, orange #E6411B, and the gold from the logo badge. */
:root {
  --op-navy: #091A46;
  --op-orange: #CC3814; /* site orange #E6411B, deepened slightly so white text passes contrast */
  --op-gold: #F2A93B;
  --op-cream: #F6F1E6;
  --op-line: #E3DCCD;
  --op-text: #2b2f38;
}

.op-kicker {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--op-gold);
  margin-bottom: .35rem;
}
.page-header .op-kicker { text-align: center; }

/* Guide switcher: two tabs that link the guides together */
.op-switcher {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 2.5rem;
}
.op-switcher a {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--op-navy);
  border: 2px solid var(--op-navy);
  padding: .45rem 1.1rem;
  border-radius: 2px;
  line-height: 1.2;
}
.op-switcher a:hover { background: var(--op-cream); }
.op-switcher a[aria-current="page"] {
  background: var(--op-navy);
  color: #fff;
}

/* Intro: text + photo */
.op-intro {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 992px) {
  .op-intro { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
}
.op-tagline {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--op-navy);
  margin: 0 0 1rem;
}
.op-tagline span { color: var(--op-orange); }
.op-intro p { color: var(--op-text); }
.op-intro-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 8px solid #fff;
  outline: 1px solid var(--op-line);
  box-shadow: 0 10px 24px rgba(9, 26, 70, .12);
}

.op-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
  margin-top: 1.5rem;
}
.op-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  padding: .7rem 1.4rem;
  border-radius: 2px;
  border: 2px solid var(--op-orange);
  background: var(--op-orange);
  color: #fff;
  line-height: 1;
}
.op-btn:hover { background: #A82E0F; border-color: #A82E0F; color: #fff; }
.op-btn svg { width: 1.15em; height: 1.15em; flex: none; }
.op-btn-outline { background: transparent; color: var(--op-navy); border-color: var(--op-navy); }
.op-btn-outline:hover { background: var(--op-navy); color: #fff; border-color: var(--op-navy); }
.op-call {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--op-navy);
  text-decoration: none;
}
.op-call:hover { color: var(--op-orange); }

/* Steps section */
.op-steps-section {
  background: var(--op-cream);
  padding: 3.5rem 0 4rem;
}
.op-steps-section .section-title { margin-bottom: 2.25rem; }
.op-steps-layout { display: grid; gap: 1.75rem; }
@media (min-width: 992px) {
  .op-steps-layout.has-aside { grid-template-columns: 1fr 300px; align-items: start; }
}
.op-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 992px) {
  .op-steps.two-col { grid-template-columns: 1fr 1fr; }
}
.op-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--op-line);
  border-left: 4px solid var(--op-orange);
  padding: 1.25rem 1.25rem 1.25rem 1rem;
}
.op-step-num {
  width: 64px;
  height: 64px;
  background: var(--op-navy);
  color: var(--op-gold);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%);
  padding-right: 10px;
}
.op-step h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--op-navy);
  margin: .1rem 0 .45rem;
}
.op-step h3 .op-icon {
  width: 1.05em;
  height: 1.05em;
  vertical-align: -.15em;
  margin-right: .3rem;
  color: var(--op-orange);
}
.op-step p { margin: 0 0 .5rem; color: var(--op-text); }
.op-step p:last-child { margin-bottom: 0; }
.op-note {
  display: block;
  background: #FDF3E4;
  border-left: 3px solid var(--op-gold);
  padding: .5rem .75rem;
  font-weight: 700;
  color: var(--op-navy);
}

/* Recommended electricians box */
.op-aside {
  background: var(--op-navy);
  color: #fff;
  padding: 1.5rem;
  border-top: 5px solid var(--op-gold);
}
@media (min-width: 992px) { .op-aside { position: sticky; top: 1.5rem; } }
.op-aside h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 1rem;
}
.op-partner { padding: .9rem 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.op-partner strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--op-gold);
  line-height: 1.1;
}
.op-partner span { display: block; font-size: .95rem; color: #DADDE5; }
.op-partner a {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
}
.op-partner a:hover { color: var(--op-gold); }
.op-aside-note {
  font-size: .9rem;
  font-style: italic;
  color: #DADDE5;
  margin: .9rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

/* Orange band: what we do + call to action (matches the homepage "Why Choose" band) */
.op-band {
  background: var(--op-orange);
  color: #fff;
  padding: 3rem 0;
}
.op-badges {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 576px) { .op-badges { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .op-badges { grid-template-columns: repeat(4, 1fr); } }
.op-badges li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: .75rem;
  align-items: start;
}
.op-badges svg { width: 34px; height: 34px; }
.op-badges strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  line-height: 1.1;
}
.op-badges span { font-size: .95rem; line-height: 1.35; display: block; }
.op-badges a { color: #fff; }
.op-cta {
  border-top: 2px dashed rgba(255, 255, 255, .55);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.op-cta h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 .25rem;
  line-height: 1.05;
}
.op-cta p { margin: 0; }
.op-cta .op-btn { background: #fff; color: var(--op-orange); border-color: #fff; }
.op-cta .op-btn:hover { background: var(--op-navy); border-color: var(--op-navy); color: #fff; }
.op-cta .op-btn-outline { background: transparent; color: #fff; border-color: #fff; }

/* When someone prints the web page itself, keep it clean */
@media print {
  .site-header, .logo-strip, footer, .op-switcher, .op-actions, .op-cta .op-btn { display: none !important; }
  .op-band { background: none; color: #000; }
}

/* Keep the long guide titles to one or two lines */
.op-steps-section .section-title h2 {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem);
  line-height: 1.05;
  max-width: 22ch;
  margin-inline: auto;
}

/* Links inside paragraphs: underline so they stand out without relying on color */
.op-step p a, .op-intro p a, .op-badges a { text-decoration: underline; text-underline-offset: 2px; color: inherit; font-weight: 600; }
.op-step p a { color: var(--op-navy); }
