/* Trade Source IRE - SEAI Grants page
   Recent Work inspired visual system - 2026-07-29 v20
   All selectors are scoped so the shared site header stays identical. */
.seai-grants-page {
  --grant-orange: #ff8a00;
  --grant-black: #080808;
  --grant-panel: #111;
  --grant-paper: #f6f6f6;
  --grant-line: #e6e6e6;
  --grant-max: 1180px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--grant-paper);
  color: #111;
}

.seai-grants-page main { overflow: hidden; }
.seai-grants-page #seai-grants-page,
.seai-grants-page #seai-grants-page *,
.seai-grants-page #seai-grants-page *::before,
.seai-grants-page #seai-grants-page *::after { box-sizing: border-box; }
.seai-grants-page .grant-container {
  width: min(var(--grant-max), calc(100% - 40px));
  margin-inline: auto;
}

/* Hero now mirrors the Recent Work page: photographic background,
   dark overlay, orange vertical rule and compact content width. */
.seai-grants-page .grant-hero {
  color: #fff;
  padding: 86px 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.97), rgba(0,0,0,.73)),
    url('/images/hero.webp') center / cover no-repeat;
  border-bottom: 1px solid rgba(255,138,0,.24);
}
.seai-grants-page .grant-hero-inner {
  max-width: 930px;
  padding-left: 28px;
  border-left: 5px solid var(--grant-orange);
}
.seai-grants-page .breadcrumbs {
  margin-bottom: 18px;
  color: rgba(255,255,255,.72) !important;
  font-size: 14px;
  font-weight: 800;
}
.seai-grants-page .breadcrumbs a { color: #fff !important; }
.seai-grants-page .grant-kicker {
  margin-bottom: 11px;
  color: var(--grant-orange) !important;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.seai-grants-page .grant-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  color: #fff !important;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .95;
  letter-spacing: -.05em;
  text-transform: uppercase;
  text-shadow: 0 4px 22px rgba(0,0,0,.55);
}
.seai-grants-page .grant-hero h1 span { color: var(--grant-orange) !important; }
.seai-grants-page .grant-hero p {
  max-width: 790px;
  margin: 0;
  color: #f1f1f1 !important;
  opacity: 1 !important;
  font-size: 18px;
  line-height: 1.65 !important;
}
.seai-grants-page .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}
.seai-grants-page .grant-btn {
  min-height: 50px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--grant-orange);
  border-radius: 999px;
  background: var(--grant-orange);
  color: #090909 !important;
  box-shadow: 0 12px 28px rgba(255,138,0,.22);
  font-weight: 950;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.seai-grants-page .grant-btn:hover,
.seai-grants-page .grant-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255,138,0,.3);
}
.seai-grants-page .grant-btn.secondary {
  border-color: rgba(255,255,255,.72);
  background: transparent;
  color: #fff !important;
  box-shadow: none;
}
.seai-grants-page .grant-btn.secondary:hover,
.seai-grants-page .grant-btn.secondary:focus-visible {
  border-color: var(--grant-orange);
  background: rgba(255,138,0,.12);
}

/* Archive-style jump navigation. */
.seai-grants-page .grant-quick-nav {
  padding: 48px 0 24px;
  background: var(--grant-paper);
}
.seai-grants-page .grant-archive-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}
.seai-grants-page .grant-archive-intro > div:first-child { max-width: 640px; }
.seai-grants-page .grant-archive-intro h2 {
  margin: 0 0 9px;
  color: #111 !important;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.seai-grants-page .grant-archive-intro p {
  margin: 0;
  color: #555 !important;
  line-height: 1.65 !important;
}
.seai-grants-page .grant-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  max-width: 480px;
}
.seai-grants-page .grant-pills a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #fff;
  color: #111 !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 7px 18px rgba(0,0,0,.04);
}
.seai-grants-page .grant-pills a:hover,
.seai-grants-page .grant-pills a:focus-visible {
  border-color: var(--grant-orange);
  background: var(--grant-orange);
}

.seai-grants-page .grant-section {
  padding: 68px 0;
  background: #fff;
}
.seai-grants-page .grant-section.alt,
.seai-grants-page .grant-options { background: var(--grant-paper); }
.seai-grants-page .grant-section-heading { max-width: 920px; }
.seai-grants-page .grant-section h2 {
  max-width: 920px;
  margin: 0 0 16px;
  color: #0b0b0b !important;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.seai-grants-page .lead {
  max-width: 900px;
  margin: 0;
  color: #555 !important;
  font-size: 17px;
  line-height: 1.7 !important;
}
.seai-grants-page .notice {
  margin: 28px 0 0;
  padding: 21px 22px;
  border-left: 6px solid var(--grant-orange);
  border-radius: 16px;
  background: #111;
  color: #f4f4f4 !important;
  line-height: 1.65 !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.1);
}
.seai-grants-page .notice strong { color: #fff !important; }

/* Large white cards with the same rounded/shadowed treatment as Recent Work. */
.seai-grants-page .grant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.seai-grants-page .grant-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--grant-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(0,0,0,.08);
  scroll-margin-top: 130px;
}
.seai-grants-page .grant-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--grant-orange), #d96400);
}
.seai-grants-page .grant-card .amount {
  display: inline-flex;
  margin-bottom: 17px;
  padding: 9px 13px;
  border-radius: 12px;
  background: #111;
  color: #fff !important;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.seai-grants-page .grant-card h3 {
  margin: 0 0 11px;
  color: #111 !important;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.05;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.seai-grants-page .grant-card p {
  margin: 0 0 18px;
  color: #555 !important;
  line-height: 1.68 !important;
}
.seai-grants-page .grant-card a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.seai-grants-page .grant-card a:hover,
.seai-grants-page .grant-card a:focus-visible {
  background: var(--grant-orange);
  color: #111 !important;
}
.seai-grants-page .disclaimer {
  margin: 28px 0 0;
  color: #5d5d5d !important;
  font-size: 14px;
  line-height: 1.7 !important;
}

/* Dark information areas: all readable text is explicitly white. */
.seai-grants-page .grant-help {
  background: #111;
  color: #fff;
}
.seai-grants-page .grant-help h2,
.seai-grants-page .grant-help p,
.seai-grants-page .grant-help li,
.seai-grants-page .grant-help strong { color: #fff !important; }
.seai-grants-page .grant-help .lead { color: #ededed !important; }
.seai-grants-page .check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}
.seai-grants-page .check-list li {
  position: relative;
  padding: 16px 16px 16px 46px;
  border: 1px solid rgba(255,138,0,.28);
  border-radius: 16px;
  background: #181818;
  color: #fff !important;
  line-height: 1.55 !important;
}
.seai-grants-page .check-list li::before {
  content: "✓";
  position: absolute;
  left: 17px;
  top: 14px;
  color: var(--grant-orange);
  font-weight: 950;
}
.seai-grants-page .grant-help .notice {
  border-left-color: var(--grant-orange);
  background: #090909;
  color: #fff !important;
}

.seai-grants-page .grant-steps { background: #fff; }
.seai-grants-page .steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.seai-grants-page .step {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(255,138,0,.28);
  border-radius: 22px;
  background: #111;
  color: #fff !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.09);
}
.seai-grants-page .step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--grant-orange);
  color: #111 !important;
  font-size: 22px;
}
.seai-grants-page .step h3 {
  margin: 0 0 8px;
  color: #fff !important;
  font-size: 21px;
  text-transform: uppercase;
}
.seai-grants-page .step p {
  margin: 0;
  color: #ececec !important;
  line-height: 1.62 !important;
}

.seai-grants-page .faq details {
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e3e3e3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}
.seai-grants-page .faq summary {
  padding: 19px 52px 19px 20px;
  color: #111 !important;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}
.seai-grants-page .faq details[open] summary {
  border-bottom: 1px solid #ececec;
  background: #111;
  color: #fff !important;
}
.seai-grants-page .faq p {
  margin: 0;
  padding: 18px 20px 21px;
  color: #555 !important;
  line-height: 1.7 !important;
}

.seai-grants-page .official-section { background: #fff; }
.seai-grants-page .official-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 28px;
}
.seai-grants-page .official-links a {
  min-height: 68px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,138,0,.34);
  border-radius: 16px;
  background: #111;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
}
.seai-grants-page .official-links a:hover,
.seai-grants-page .official-links a:focus-visible {
  border-color: var(--grant-orange);
  background: var(--grant-orange);
  color: #111 !important;
}

/* Same bottom-callout structure as Recent Work. */
.seai-grants-page .cta {
  padding: 58px 0;
  background: #111;
  color: #fff;
}
.seai-grants-page .cta .grant-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.seai-grants-page .cta h2 {
  margin: 0 0 8px;
  color: #fff !important;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
}
.seai-grants-page .cta p {
  max-width: 780px;
  margin: 0;
  color: #ededed !important;
  font-size: 17px;
  line-height: 1.65 !important;
}
.seai-grants-page .cta .grant-btn {
  flex: 0 0 auto;
  border-color: #fff;
  background: #fff;
  color: #111 !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
}
.seai-grants-page .cta .grant-btn:hover,
.seai-grants-page .cta .grant-btn:focus-visible {
  border-color: var(--grant-orange);
  background: var(--grant-orange);
}

.seai-grants-page .footer {
  margin: 0 !important;
  padding: 34px 0 !important;
  border-top: 1px solid rgba(255,138,0,.3) !important;
  background: #050505 !important;
  color: rgba(255,255,255,.84) !important;
  text-align: center !important;
  text-shadow: none !important;
}
.seai-grants-page .footer .container {
  width: min(var(--grant-max), calc(100% - 40px)) !important;
  margin-inline: auto !important;
}
.seai-grants-page .footer span,
.seai-grants-page .footer div,
.seai-grants-page .footer p,
.seai-grants-page .footer a { color: #fff !important; text-shadow: none !important; }
.seai-grants-page .footer a:hover,
.seai-grants-page .footer a:focus-visible { color: var(--grant-orange) !important; }
.seai-grants-page .footer-links {
  margin-top: 18px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px 18px !important;
}

@media (max-width: 980px) {
  .seai-grants-page .grant-archive-intro { align-items: flex-start; flex-direction: column; }
  .seai-grants-page .grant-pills { justify-content: flex-start; max-width: none; }
  .seai-grants-page .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .seai-grants-page .grant-container { width: calc(100% - 28px); }
  .seai-grants-page .grant-hero { padding: 52px 0; }
  .seai-grants-page .grant-hero-inner { padding-left: 18px; }
  .seai-grants-page .grant-hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .seai-grants-page .grant-hero p { font-size: 17px; line-height: 1.55 !important; }
  .seai-grants-page .hero-buttons { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .seai-grants-page .grant-btn { width: 100%; }
  .seai-grants-page .grant-quick-nav { padding: 42px 0 20px; }
  .seai-grants-page .grant-pills { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); width: 100%; }
  .seai-grants-page .grant-pills a { width: 100%; text-align: center; }
  .seai-grants-page .grant-section { padding: 48px 0; }
  .seai-grants-page .grant-grid,
  .seai-grants-page .steps,
  .seai-grants-page .check-list,
  .seai-grants-page .official-links { grid-template-columns: 1fr; }
  .seai-grants-page .grant-card,
  .seai-grants-page .step { padding: 22px; border-radius: 19px; }
  .seai-grants-page .cta .grant-container { align-items: stretch; flex-direction: column; }
  .seai-grants-page .footer { padding: 28px 0 !important; }
  .seai-grants-page .footer .container { width: calc(100% - 28px) !important; }
  .seai-grants-page .footer-links { gap: 9px 14px !important; }
}

@media (max-width: 420px) {
  .seai-grants-page .grant-pills { grid-template-columns: 1fr; }
}

/* =========================================================
   SEAI FOOTER MATCH - 20260729-v22
   Keep the SEAI page footer identical to the shared site footer.
   ========================================================= */
.seai-grants-page footer.footer {
  margin: 0 !important;
  padding: 26px 0 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  background: #0d0d0d !important;
  color: rgba(255,255,255,.80) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  text-align: center !important;
  text-shadow: none !important;
}
.seai-grants-page footer.footer .container {
  width: min(1320px, calc(100% - 42px)) !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: block !important;
}
.seai-grants-page footer.footer span,
.seai-grants-page footer.footer div,
.seai-grants-page footer.footer p {
  color: rgba(255,255,255,.86) !important;
  text-shadow: none !important;
}
.seai-grants-page footer.footer a,
.seai-grants-page footer.footer .footer-links a {
  color: #fff !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}
.seai-grants-page footer.footer a:hover,
.seai-grants-page footer.footer a:focus-visible,
.seai-grants-page footer.footer .footer-links a:hover,
.seai-grants-page footer.footer .footer-links a:focus-visible {
  color: #ff8a00 !important;
}
.seai-grants-page footer.footer .footer-links {
  margin-top: 14px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px 18px !important;
}
@media (max-width: 700px) {
  .seai-grants-page footer.footer {
    padding: 26px 0 !important;
  }
  .seai-grants-page footer.footer .container {
    width: calc(100% - 28px) !important;
  }
  .seai-grants-page footer.footer .footer-links {
    gap: 10px 14px !important;
  }
}

/* =========================================================
   RELATED ENERGY TRADES - 20260729-v23
   Crawlable internal links between the grants guide and the
   most relevant nationwide trade pages.
   ========================================================= */
.seai-grants-page .grant-related-trades {
  background: #f6f6f6;
}
.seai-grants-page .grant-related-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  margin-top: 28px;
}
.seai-grants-page .grant-related-grid a {
  min-width: 0;
  min-height: 150px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 13px;
  border: 1px solid #e0e0e0;
  border-radius: 19px;
  background: #fff;
  color: #111 !important;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(0,0,0,.06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.seai-grants-page .grant-related-grid a:hover,
.seai-grants-page .grant-related-grid a:focus-visible {
  transform: translateY(-3px);
  border-color: #ff8a00;
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
}
.seai-grants-page .grant-related-grid strong {
  color: #111 !important;
  font-size: 17px;
  line-height: 1.12;
  text-transform: uppercase;
}
.seai-grants-page .grant-related-grid span {
  color: #555 !important;
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 1040px) {
  .seai-grants-page .grant-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .seai-grants-page .grant-related-grid {
    grid-template-columns: 1fr;
  }
  .seai-grants-page .grant-related-grid a {
    min-height: 0;
  }
}


/* SEAI subtle enquiry link - 2026-08-25 */
.grant-inline-request-wrap{padding:0 0 10px;background:#f5f5f5}
.grant-inline-request{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px 12px 16px;border:1px solid #d8d8d8;border-left:4px solid var(--orange,#ff8a00);border-radius:14px;background:#fff}
.grant-inline-request>span{color:#555;font-size:14px;font-weight:700;line-height:1.45}
.grant-inline-request>a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:9px 14px;border:1px solid #111;border-radius:999px;background:#111;color:#fff!important;text-decoration:none;text-transform:uppercase;font-size:11px;font-weight:900;letter-spacing:.035em;transition:background .2s,border-color .2s,color .2s,transform .2s}
.grant-inline-request>a:hover{border-color:var(--orange,#ff8a00);background:var(--orange,#ff8a00);color:#111!important;transform:translateY(-1px)}
@media(max-width:760px){.grant-inline-request{align-items:flex-start;flex-direction:column}.grant-inline-request>a{width:auto}}
