/* ==========================================================================
   AZANSYS — Solution pages (Military / Logistic / Firefighter / Emergency /
   Events) and the banner refresh for the form pages (find-dealer,
   sales-enquiry, become-dealer, request-quote, products).

   Layout/behaviour comes from the agriculture design system
   (css/agriculture.css). The palette below re-maps that system's colours to
   the homepage theme (css/style.css tokens):
     --blue #0878f9  --blue-dark #0566d7  --navy #09254a  --ink #102b50
     --muted #5e7089  --line #dce9f8
   Loaded after agriculture.css, so the overrides win on source order.
   ========================================================================== */

/* ---------- palette swap: agriculture green -> homepage blue/navy ---------- */
.agriculture-page.agr-brand{color:#102b50}
.agr-brand{
  --agr-green:#0878f9;        /* brand accent (buttons, icons, chips) */
  --agr-green-dark:#0566d7;   /* hover accent */
  --agr-deep:#09254a;         /* deep surface */
  --agr-band:#09254a;         /* dark band */
  --agr-ink:#102b50;          /* headline ink */
  --agr-muted:#5e7089;        /* secondary text */
  --agr-line:#dce9f8;         /* hairlines */
}
.agr-brand h1,.agr-brand h2,.agr-brand h3,.agr-brand h4{color:#09254a}
.agr-brand .agr-eyebrow,.agr-brand .agr-eyebrow-green{color:#0878f9}
.agr-brand .agr-section-head-stack>p{color:#5e7089}
.agr-brand .agr-button-outline{border-color:#9bc8ff;color:#09254a}
.agr-brand .agr-button-outline:hover{background:#f2f8ff}
.agr-brand .agr-button-white{color:#09254a}
.agr-brand .agr-button:hover{box-shadow:0 8px 18px rgba(8,120,249,.25)}

/* hero */
.agr-brand .agr-hero{position: relative;
    isolation: isolate;
    background-color: #e8f1fb;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;}
.agr-brand .agr-hero h1 span{color:#0878f9}
.agr-brand .agr-hero-sub{color:#09254a}
.agr-brand .agr-hero-copy{color:#5e7089}
.agr-brand .agr-hero-stats{background:rgb(4 4 4 / 88%)}
.agr-brand .agr-stat small{color:#d7e6f8}
.agr-brand .agr-hero-slide{filter:drop-shadow(0 12px 20px rgba(9,37,74,.22))}

/* about */
.agr-brand .agr-about-copy>p:not(.agr-eyebrow){color:#5e7089}
.agr-brand .agr-orbit{border-color:#e8f4ff;box-shadow:inset 0 0 0 2px #cfe2f8}
.agr-brand .agr-product-label i{color:#0878f9}
.agr-brand .agr-product-shot{filter:drop-shadow(0 15px 12px rgba(9,37,74,.16))}

/* dark highlight bands */
.agr-brand .agr-highlights{background-image:var(--agr-img)}
.agr-brand .agr-highlights-head .agr-eyebrow{color:#bcd9ff}
.agr-brand .agr-highlights-head>p{color:#e6efff}
.agr-brand .agr-highlight-card small{color:#54677f}
.agr-brand .agr-highlights-head h2{color:#ffffff}

/* feature (image) cards */
.agr-brand .agr-feature-card{border-color:#dce9f8}
.agr-brand .agr-feature-body p{color:#5e7089}
.agr-brand .agr-feature-body>a{border-color:#9bc8ff;color:#0878f9}

/* benefits + testimonial */
.agr-brand .agr-benefit-grid article{border-color:#dce9f8}
.agr-brand .agr-benefit-grid article:hover{border-color:#9ccaff}
.agr-brand .agr-benefit-grid small{color:#5e7089}
.agr-brand .agr-testimonial{border-color:#dce9f8;box-shadow:0 7px 25px rgba(23,87,149,.10)}
.agr-brand .agr-testimonial p{color:#3f4f66}
.agr-brand .agr-avatar{background:#e8f4ff;color:#0566d7}
.agr-brand .agr-reviewer small{color:#5e7089}

/* faq */
.agr-brand .agr-faq-copy>p:not(.agr-eyebrow){color:#5e7089}
.agr-brand .agr-faq-list details{border-color:#dce9f8}
.agr-brand .agr-faq-list summary:after{color:#0878f9}
.agr-brand .agr-faq-list details p{color:#5e7089}

/* specifications */
.agr-brand .agr-specs{background:#f5faff}
.agr-brand .agr-spec-card{border-color:#dce9f8;box-shadow:0 5px 16px rgba(23,87,149,.07)}
.agr-brand .agr-spec-card>h3{border-bottom-color:#e8f4ff}
.agr-brand .agr-spec-card>h3 span{background:#e8f4ff;color:#0566d7}
.agr-brand .agr-spec-row{border-bottom-color:#eef6ff}
.agr-brand .agr-spec-row:hover{background:#f2f8ff}
.agr-brand .agr-spec-row dt{color:#5e7089}
.agr-brand .agr-spec-row dd{color:#102b50}

/* gallery */
.agr-brand .agr-shot{border-color:#dce9f8;box-shadow:0 5px 16px rgba(23,87,149,.07)}
.agr-brand .agr-shot:hover{border-color:#9ccaff;box-shadow:0 14px 30px rgba(23,87,149,.11)}
.agr-brand .agr-shot figcaption{color:#5e7089;border-top-color:#eef6ff}

/* why band */
.agr-brand .agr-why{background-image:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(248,252,255,.96) 34%,rgba(245,250,255,.92) 50%,rgba(240,248,255,.7) 66%,rgba(236,246,255,.26) 84%,rgba(236,246,255,.14) 100%),var(--agr-img)}
.agr-brand .agr-why-copy>p:not(.agr-eyebrow){color:#5e7089}

/* overlays */
.agr-brand .agr-lightbox,.agr-brand .agr-video-modal{background:rgba(4,16,34,.92)}
.agr-brand .agr-toast{background:#09254a}
.agr-brand .agr-hero-image {
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.72) 25%,
        rgba(255, 255, 255, 0.42) 38%,
        rgba(255, 255, 255, 0.12) 48%,
        rgba(255, 255, 255, 0) 60%
    ), var(--agr-img);

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
@media(max-width:700px){
  .agr-brand .agr-hero-image{background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.72) 25%,
        rgba(255, 255, 255, 0.42) 38%,
        rgba(255, 255, 255, 0.12) 48%,
        rgba(255, 255, 255, 0) 60%
    ), var(--agr-img);}
}

/* ==========================================================================
   Solution page extensions
   ========================================================================== */

/* paragraph blocks inside content sections */
.solution-page .sol-prose{display:grid;gap:12px;max-width:920px}
.solution-page .sol-prose p{font-size:14px;line-height:1.7;color:#5e7089;margin:0}

/* benefit grids: 3 / 4 column variants */
.solution-page .sol-cols-3 .agr-benefit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.solution-page .sol-cols-4 .agr-benefit-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.solution-page .sol-showcase .agr-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.solution-page .sol-showcase .agr-feature-image{height:190px}

/* gallery: solution pages carry 4 shots, so lay them out 4-up for a clean row */
.solution-page .agr-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}

/* events — minimal, scannable list */
.solution-page .ev-head{max-width:780px}
.solution-page .ev-head h2{margin:8px 0 0;font-size:clamp(26px,3vw,40px);line-height:1.1;letter-spacing:-1px;font-weight:850}
.solution-page .ev-head h2 span{color:#0878f9}
.solution-page .ev-head-sub{margin:12px 0 0;font-size:14px;line-height:1.65;color:#5e7089}
.solution-page .ev-list{margin-top:34px;border-top:1px solid #dce9f8}
.solution-page .ev-item{display:grid;grid-template-columns:260px minmax(0,1fr);gap:34px;padding:32px 0;border-bottom:1px solid #dce9f8}
.solution-page .ev-thumb{margin:0;aspect-ratio:4/3;border-radius:14px;overflow:hidden;border:1px solid #dce9f8;background:#eef5ff}
.solution-page .ev-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.solution-page .ev-body{display:flex;flex-direction:column;gap:10px}
.solution-page .ev-topline{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.solution-page .ev-kind{font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#0878f9}
.solution-page .ev-date{font-size:12px;font-weight:600;color:#09254a;background:#eef6ff;border:1px solid #dce9f8;border-radius:999px;padding:3px 12px}
.solution-page .ev-title{margin:0;font-size:clamp(20px,2.2vw,27px);line-height:1.2;font-weight:800}
.solution-page .ev-meta{display:flex;flex-wrap:wrap;gap:6px 20px;margin:0;font-size:13px;color:#5e7089}
.solution-page .ev-guest{margin:0;font-size:13px;line-height:1.6;color:#5e7089;background:#f5faff;border-left:3px solid #0878f9;border-radius:0 8px 8px 0;padding:9px 14px}
.solution-page .ev-guest strong{color:#09254a}
.solution-page .ev-desc{display:grid;gap:8px;max-width:760px}
.solution-page .ev-desc p{margin:0;font-size:13.5px;line-height:1.72;color:#5e7089}
.solution-page .ev-tag-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:2px 0 0;padding:0}
.solution-page .ev-tag-list li{font-size:11.5px;font-weight:600;color:#09254a;background:#eef6ff;border:1px solid #dce9f8;border-radius:999px;padding:5px 13px}
.solution-page .ev-link{align-self:flex-start;margin-top:4px;color:#0878f9;font-weight:700;font-size:12.5px;text-decoration:none;display:inline-flex;gap:6px;align-items:center}
.solution-page .ev-link:hover{color:#0566d7}

/* hero-only banner pages (task-1 pages): keep the hero tight on small print pages */
.banner-hero-page .agr-hero{min-height:520px}

@media(max-width:1100px){
  .solution-page .sol-cols-4 .agr-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .solution-page .sol-cols-3 .agr-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .solution-page .sol-showcase .agr-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .solution-page .agr-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:860px){
  .solution-page .ev-item{grid-template-columns:1fr;gap:20px}
  .solution-page .ev-thumb{max-width:560px}
}
@media(max-width:700px){
  .solution-page .sol-cols-4 .agr-benefit-grid,
  .solution-page .sol-cols-3 .agr-benefit-grid,
  .solution-page .sol-showcase .agr-feature-grid,
  .solution-page .agr-gallery-grid{grid-template-columns:1fr}
  .solution-page .sol-showcase .agr-feature-image{height:150px}
  .banner-hero-page .agr-hero{min-height:0}
}
