/* ============================================================
   GRC MONITORING SOLUTION — shared sub-page template styles
   Figma "Subpage N GRC Monitoring" frames (starts at node 2409:46318).
   Used by all 5 GRC Monitoring sub-pages via page-grc-solution.php.
   Self-contained .grcsol-* prefix, fully fluid (no max-width cap),
   light theme throughout, matching the IT Advisory / Cybersecurity /
   GRC Monitoring parent pattern.
   ============================================================ */

.grcsol-page {
  --gutter: clamp(20px, 4vw, 50px);
  --gold: var(--ds-gold, #f6b43f);
  --navy: var(--ds-navy, #1e2e4c);
  --ink:  var(--ds-dark-900, #141414);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--t-bg);
  overflow-x: clip;
}

@media (scripting: enabled) {
  .grcsol-page .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s var(--ease-out); }
}
.grcsol-page .reveal.in { opacity: 1; transform: none; }

.grcsol-page a:focus-visible,
.grcsol-btn:focus-visible,
.grcsol-cta__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Inline-link highlight removed 2026-07-13: the page-wide `a` rule
   (gold background + underline + forced color) was styling buttons,
   breadcrumb links and links over dark bands as if they were inline
   hyperlinks. Links now inherit their component styles. */

/* ── shared atoms ── */
.grcsol-kicker { font-family: var(--ds-font-heading); font-size: clamp(13px, 1.1vw, 16px); font-weight: 500; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.02em; color: var(--t-text-muted, #5b6472); margin: 0 0 clamp(18px, 2.2vw, 32px); }
.grcsol-h2 { font-family: var(--ds-font-heading); font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; line-height: 1.16; text-transform: uppercase; color: var(--navy); margin: 0 0 clamp(24px, 3vw, 40px); max-width: 26ch; }
[data-theme="dark"] .grcsol-h2 { color: var(--t-text); }
.grcsol-body { font-family: var(--ds-font-heading); font-size: clamp(15px, 1.4vw, 18px); font-weight: 400; line-height: 1.5; color: var(--t-text); margin: 0 0 16px; max-width: 90ch; }
.grcsol-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 2px solid var(--ink); padding: 16px 32px; font-family: var(--ds-font-heading); font-size: clamp(14px, 1.3vw, 16px); font-weight: 600; line-height: normal; text-transform: uppercase; text-decoration: none; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.grcsol-btn:hover { background: var(--gold); border-color: var(--gold); color: #141414; }
.grcsol-btn--outline { background: transparent; color: var(--t-text); border-color: var(--t-text); }
.grcsol-btn--outline:hover { background: var(--t-text); color: var(--t-bg); border-color: var(--t-text); }
[data-theme="dark"] .grcsol-btn { background: #f4f6f9; color: #141414; border-color: #f4f6f9; }
[data-theme="dark"] .grcsol-btn:hover { background: var(--gold); border-color: var(--gold); color: #141414; }
[data-theme="dark"] .grcsol-btn--outline { background: transparent; color: var(--t-text); border-color: var(--t-text); }
[data-theme="dark"] .grcsol-btn--outline:hover { background: var(--t-text); color: var(--t-bg); }

.grcsol-split-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 48px); align-items: start; margin-bottom: clamp(32px, 4.5vw, 64px); }
.grcsol-split-head__label { font-family: var(--ds-font-heading); font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.15; text-transform: uppercase; color: var(--t-text); margin: 0; }
.grcsol-split-head__lead { font-family: var(--ds-font-heading); font-size: clamp(15px, 1.5vw, 18px); font-weight: 500; line-height: 1.3; color: var(--t-text); margin: 0; justify-self: end; text-align: right; max-width: 40ch; }

.grcsol-plain-card { background: var(--t-surface); padding: clamp(24px, 2vw, 40px) clamp(18px, 1.4vw, 24px); min-height: clamp(320px, 39vw, 560px); transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease; }
.grcsol-plain-card:hover { transform: translateY(-6px); box-shadow: var(--t-shadow, 0 18px 48px rgba(9,16,29,0.12)); }
.grcsol-plain-card__title { font-family: var(--ds-font-heading); font-size: clamp(17px, 1.7vw, 20px); font-weight: 700; text-transform: uppercase; line-height: 1.25; color: var(--t-text); margin: 0 0 12px; }
.grcsol-plain-card__body { font-family: var(--ds-font-heading); font-size: clamp(13px, 1.3vw, 15px); line-height: 1.45; color: var(--t-text-muted, #5b6472); margin: 0; }


/* ════ 1. HERO ════ */
.grcsol-hero { background: var(--t-bg); padding: clamp(80px, 12vw, 100px) var(--gutter) clamp(40px, 5vw, 72px); }
.grcsol-hero__inner { margin: 0 auto; }
.grcsol-hero__rule { display: block; height: 1px; margin-bottom: clamp(28px, 4vw, 56px); }
.grcsol-hero .grcsol-kicker { margin-bottom: clamp(18px, 2vw, 28px); }
.grcsol-hero__title { font-family: var(--ds-font-heading); font-size: clamp(36px, 5.6vw, 76px); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; text-transform: uppercase; margin: 0; max-width: 22ch; color: var(--t-text); }
.grcsol-hero__title.is-clip-text { filter: brightness(0.65); background-color: var(--t-text); background-repeat: no-repeat; background-attachment: fixed; background-size: cover; background-position: center top; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.grcsol-hero__band { margin: clamp(32px, 5vw, 60px) auto 0; height: clamp(150px, 20vw, 280px); background-repeat: no-repeat; background-size: cover; background-position: center; background-attachment: fixed; }


/* ════ 2. INTRO ════ */
.grcsol-intro { background: var(--t-bg); padding: clamp(40px, 5vw, 72px) var(--gutter); }
.grcsol-intro__inner { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 48px); }
.grcsol-intro__lead { font-family: var(--ds-font-heading); font-size: clamp(18px, 1.8vw, 24px); font-weight: 400; line-height: 1.4; color: var(--t-text); margin: 0; max-width: 95ch; padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--t-border-strong, #d3dae4); }
.grcsol-intro__btns { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.5vw, 20px); }
.grcsol-intro__media { overflow: hidden; aspect-ratio: 1280 / 436; }
.grcsol-intro__media img { width: 100%; height: 100%; object-fit: cover; display: block; }


/* ════ 3. THE CHALLENGE ════ */
.grcsol-challenge { display: grid; grid-template-columns: clamp(280px, 30vw, 460px) minmax(0, 1fr); background: var(--t-surface); align-items: stretch; }
.grcsol-challenge__media { overflow: hidden; min-height: 320px; }
.grcsol-challenge__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grcsol-challenge__text { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.grcsol-challenge__card { background: var(--t-bg); border-left: 6px solid var(--gold); padding: clamp(24px, 2.6vw, 40px); margin-top: clamp(24px, 3vw, 40px); }
.grcsol-challenge__card-title { font-family: var(--ds-font-heading); font-size: clamp(18px, 1.9vw, 24px); font-weight: 700; line-height: 1.25; color: var(--t-text); margin: 0 0 clamp(16px, 2vw, 24px); }
.grcsol-challenge__card .grcsol-btn { margin-top: clamp(12px, 1.6vw, 20px); }

/* plain variant — no image, no inset card (used when 'challenge_image' is omitted) */
.grcsol-challenge--plain { display: block; background: var(--t-surface); }
.grcsol-challenge__plain-inner { padding: clamp(40px, 5vw, 72px) var(--gutter); }
.grcsol-challenge__plain-inner .grcsol-btn { margin-top: clamp(12px, 1.6vw, 20px); }


/* ════ 4. CORE CAPABILITIES ════ */
.grcsol-capabilities { background: var(--t-bg); padding: clamp(40px, 5vw, 80px) var(--gutter); }
.grcsol-capabilities__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 20px); }


/* ════ 6. BUSINESS OUTCOMES ════ */
.grcsol-outcomes { background: var(--t-bg); padding: clamp(40px, 5vw, 80px) var(--gutter); border-top: 1px solid var(--t-text); }
.grcsol-outcomes__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.grcsol-outcome-card { background: var(--t-surface); padding: clamp(20px, 2vw, 28px) clamp(20px, 2.2vw, 32px); }
.grcsol-outcome-card__title { font-family: var(--ds-font-heading); font-size: clamp(15px, 1.5vw, 17px); font-weight: 700; line-height: 1.3; color: var(--t-text); margin: 0 0 6px; }
.grcsol-outcome-card__body { font-family: var(--ds-font-heading); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.4; color: var(--t-text-muted, #5b6472); margin: 0; }


/* ════ 7. POWERED BY EAGLEEYE365® ════ */
.grcsol-platform { background: var(--t-surface); padding: clamp(48px, 6vw, 80px) var(--gutter); }
.grcsol-platform__inner { max-width: 90ch; }
.grcsol-platform .grcsol-body { margin-bottom: clamp(24px, 3vw, 36px); }


/* ════ 8. FAQ (optional — only rendered when a sub-page config has 'faqs') ════ */
.grcsol-faq { background: var(--t-bg); padding: clamp(40px, 5vw, 80px) var(--gutter) clamp(56px, 7vw, 100px); }
.grcsol-faq__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 48px); align-items: start; margin-bottom: clamp(24px, 3vw, 40px); }
.grcsol-faq__title { font-family: var(--ds-font-heading); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; text-transform: uppercase; color: var(--t-text); margin: 0; }
.grcsol-faq__sub { font-family: var(--ds-font-heading); font-size: clamp(15px, 1.5vw, 18px); font-weight: 600; color: var(--t-text); margin: 0; justify-self: end; text-align: right; }
.grcsol-faq__search { border-top: 1px solid var(--t-border-strong, #d3dae4); padding-top: clamp(20px, 2.4vw, 32px); margin-bottom: 8px; }
.grcsol-faq__input { width: 100%; max-width: 100%; padding: 14px 18px; font-family: var(--ds-font-heading); font-size: 16px; color: var(--t-text); background: var(--t-bg); border: 1px solid var(--t-border-strong, #d3dae4); border-radius: 0; }
.grcsol-faq__input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.grcsol-faq__item { border-bottom: 1px solid var(--t-border, rgba(9,16,29,0.12)); }
.grcsol-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(18px, 2vw, 24px) 0; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--ds-font-heading); font-size: 1rem; font-weight: 400; color: var(--t-text); }
.grcsol-faq__q span { flex: 1; min-width: 0; overflow-wrap: break-word; }
.grcsol-faq__chev { flex: 0 0 auto; color: var(--t-text); transition: transform 0.3s ease; }
.grcsol-faq__item.is-open .grcsol-faq__chev { transform: rotate(180deg); }
.grcsol-faq__item:not(.is-open) .grcsol-faq__a { display: none; }
.grcsol-faq__a p { margin: 0; padding: 0 0 clamp(18px, 2vw, 24px); font-family: var(--ds-font-heading); font-size: clamp(14px, 1.5vw, 18px); line-height: 1.5; color: var(--t-text-muted, #5b6472); max-width: 110ch; }
.grcsol-faq__empty { font-family: var(--ds-font-heading); font-size: 16px; color: var(--t-text-muted, #5b6472); padding-top: 20px; }


/* ════ 9. CTA ════ */
.grcsol-cta { background: var(--t-bg); }
.grcsol-cta__panel { padding: clamp(48px, 6vw, 96px) var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; }
.grcsol-cta__title { font-family: var(--ds-font-heading); font-size: clamp(26px, 4.2vw, 52px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; text-transform: uppercase; color: var(--t-text); margin: 0 0 clamp(16px, 2vw, 28px); max-width: 22ch; }
.grcsol-cta__title.is-clip-text { filter: brightness(0.65); background-color: var(--t-text); background-repeat: no-repeat; background-attachment: fixed; background-size: cover; background-position: center; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.grcsol-cta__sub { font-family: var(--ds-font-heading); font-size: clamp(15px, 1.5vw, 20px); font-weight: 400; line-height: 1.4; color: var(--t-text); margin: 0 0 clamp(24px, 3vw, 36px); }
.grcsol-cta__btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 clamp(28px, 3vw, 44px); background: var(--ink); color: #fff; font-family: var(--ds-font-heading); font-size: clamp(15px, 1.4vw, 20px); font-weight: 600; text-transform: uppercase; text-decoration: none; transition: background 0.25s ease, color 0.25s ease; }
.grcsol-cta__btn:hover { background: var(--gold); color: #141414; }
[data-theme="dark"] .grcsol-cta__btn { background: #f4f6f9; color: #141414; }
[data-theme="dark"] .grcsol-cta__btn:hover { background: var(--gold); color: #141414; }
.grcsol-cta__band { height: clamp(160px, 22vw, 300px); background-repeat: no-repeat; background-size: cover; background-position: center; background-attachment: fixed; }


/* ════ RESPONSIVE ════ */
@media (hover: none), (max-width: 1024px) {
  .grcsol-hero__title.is-clip-text, .grcsol-hero__band,
  .grcsol-cta__title.is-clip-text, .grcsol-cta__band { background-attachment: scroll; }
}
@media (max-width: 1024px) {
  .grcsol-capabilities__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  /* Increase top padding to clear fixed header (~64px) + absolute breadcrumb (~48px).
     This template's pages nest under GRC Monitoring Services, so their breadcrumb
     trail is longer than most (Home / GRC Monitoring Services / {sub-page title}) —
     the shared .intone-breadcrumb--over-hero mobile fix bounds it to one scrollable
     line regardless, so the same clearance still applies. */
  .grcsol-hero { padding-top: clamp(110px, 20vw, 130px); }
  .grcsol-hero__title.is-clip-text { background-image: none !important; background-color: transparent; -webkit-background-clip: unset; background-clip: unset; -webkit-text-fill-color: var(--t-text); color: var(--t-text); }
  .grcsol-split-head { grid-template-columns: 1fr; }
  .grcsol-split-head__lead { justify-self: start; text-align: left; }
  .grcsol-challenge { grid-template-columns: 1fr; }
  .grcsol-challenge__media { order: -1; aspect-ratio: 16/9; min-height: 0; }
  .grcsol-capabilities__grid { grid-template-columns: repeat(2, 1fr); }
  .grcsol-plain-card { min-height: 0; }
  .grcsol-outcomes__grid { grid-template-columns: 1fr; }
  .grcsol-faq__head { grid-template-columns: 1fr; }
  .grcsol-faq__sub { justify-self: start; text-align: left; }
}
@media (max-width: 560px) {
  .grcsol-capabilities__grid { grid-template-columns: 1fr; }
  .grcsol-cta__title.is-clip-text { background-image: none !important; background-color: transparent; -webkit-background-clip: unset; background-clip: unset; -webkit-text-fill-color: var(--t-text); color: var(--t-text); }
}
@media (prefers-reduced-motion: reduce) {
  .grcsol-page .reveal { opacity: 1; transform: none; transition: none; }
  .grcsol-hero__title.is-clip-text, .grcsol-hero__band, .grcsol-cta__title.is-clip-text, .grcsol-cta__band { background-attachment: scroll; }
  .grcsol-page *, .grcsol-page *::before { transition: none !important; }
}

.grcsol-midcta { background: var(--t-surface); padding: clamp(28px, 3.5vw, 44px) var(--gutter); }
.grcsol-midcta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(16px, 2vw, 28px); }
.grcsol-midcta__text { font-family: var(--ds-font-heading); font-size: clamp(17px, 2.4vw, 38px); font-weight: 600; line-height: 1.3; color: var(--t-text); margin: 0; max-width: 46ch; }
@media (max-width: 860px) { .grcsol-midcta__inner { flex-direction: column; align-items: flex-start; } }
