/* /search/resources/search-site.css */

:root {
  --bg-dark: #141615;
  --nav-grey: #5b5b5b;
  --brand-red: #ed0014;
  --white: #ffffff;
  --maxw: 1100px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", "Liberation Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--white);
}

a {
  color: var(--white);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.search-header {
  background: var(--bg-dark);
  text-align: center;
  padding: 30px 15px;
}

.search-header img {
  margin: 0 auto;
  max-width: 360px; /* keeps it tidy */
  width: 100%;
}

/* Nav */
.search-nav {
  background: var(--nav-grey);
  width: 100%;
  padding: 20px auto;
}

.search-nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
}

.search-nav a {
  display: inline-block;
  padding: 14px 6px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: var(--white);
  font-weight: 500;
}

.search-nav a:hover {
  font-weight: 800; /* “emboldened” on hover */
}

/* Content area with background */
.search-content {
  width: 100%;
  background-image: url("/search/resources/ignition-workwear-background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  padding: 35px 15px 45px 15px;
}

/* Optional readable overlay panel (keeps white text readable on busy backgrounds) */
.content-panel {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 22px;
  background: rgba(20, 22, 21, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

/* Typography helpers */
.h1 {
  margin: 0 0 12px 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  color: #e11b22;
}

.lead {
  margin: 0 0 18px 0;
  line-height: 1.7;
  opacity: 0.95;
  font-size: 16px;
}

.sep {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin: 20px 0;
}

/* SEO text module base (reusable blocks) */
.seo-text-module {
  max-width: var(--maxw);
  margin: 30px auto;
  text-align: left;
}

.seo-text-module h3 {
  color: var(--brand-red);
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 800;
}

.seo-text-module p {
  color: var(--white);
  margin: 0 0 14px 0;
  line-height: 1.7;
  opacity: 0.95;
}

.seo-divider {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

/* CTA button */
.seo-cta {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 22px;
  background: var(--brand-red);
  color: var(--white);
  border-radius: 6px;
  font-weight: 800;
}

.seo-cta:hover {
  opacity: 0.92;
}

/* FAQ Accordion (no-JS) */
.seo-faq {
  max-width: var(--maxw);
  margin: 30px auto;
  text-align: left;
}

.seo-faq-title {
  color: var(--brand-red);
  font-weight: 800;
  margin: 0 0 18px 0;
  font-size: 18px;
}

.seo-faq details {
  padding: 14px 0; /* padding between questions */
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.seo-faq summary {
  cursor: pointer;
  color: var(--white);
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 34px;
}

.seo-faq summary::-webkit-details-marker {
  display: none;
}

.seo-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
  font-weight: 900;
}

.seo-faq details[open] summary::after {
  content: "–";
}

.seo-faq-answer {
  padding-top: 10px;
  color: var(--white);
  line-height: 1.7;
  opacity: 0.95;
}

.seo-faq-answer p {
  margin: 0 0 10px 0;
}

/* Footer */
.search-footer {
  background: var(--bg-dark);
  padding: 26px 15px 18px 15px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
}

.footer-logo {
  max-width: 170px;
}

.footer-col h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 8px 0;
}

.footer-links a {
  color: var(--white);
  opacity: 0.95;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-address {
  max-width: var(--maxw);
  margin: 20px auto 0 auto;
  text-align: center;
  font-size: 14px;
  opacity: 0.95;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .h1 {
    font-size: 26px;
  }
  .search-nav a {
    padding: 12px 6px;
    font-size: 13px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .content-panel {
    padding: 20px 16px;
  }
}
/* Simple image gallery */
.seo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.seo-fig {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.1);
}

.seo-fig img {
  width: 100%;
  height: auto;
  display: block;
}

.seo-cap {
  padding: 10px 12px;
  font-size: 13px;
  opacity: 0.95;
  color: #ffffff;
}

@media (max-width: 720px) {
  .seo-gallery {
    grid-template-columns: 1fr;
  }
}
