/* Offering V2 design pass ("de-AI"), 2026-11-24.
   Two fonts (Caladea headings, Montserrat everything else), OM palette, 8px shapes,
   14px minimum text, 64px section rhythm. Presentation only: no offering text is changed here
   or in offering-deai.js. Loaded after offering-open-v2.css by Views/Partials/Offering.cshtml. */
/* 1. FONTS: Caladea for headings only, Montserrat for everything else */
  body .ovo, body .ov1 { --hp-font-display:'Caladea', Georgia, serif; --hp-font-body:Montserrat, -apple-system, sans-serif; --hp-font-mono:Montserrat, -apple-system, sans-serif; --hp-bg:#f4f7f8; }
  body, body .ovo, body .ov1 { background-color:#f4f7f8 !important; }
  body .ovo-h1, body .ov1-h2, body .ov1-secnav-name { font-family:'Caladea', Georgia, serif !important; font-weight:700 !important; color:#1e2e38 !important; letter-spacing:0 !important; }
  body .ov1-meta, body .ov1-meta * { font-family:Montserrat, -apple-system, sans-serif !important; text-transform:none !important; letter-spacing:0 !important; }
  body .ov1-meta .ovo-st-on { color:#3e6320 !important; font-weight:600 !important; }

  /* 2. TYPE SCALE: 46 title / 28 section / 22 figures / 18 button / 16 body / 15 nav+tabs / 14 labels */
  body .ovo-h1 { font-size:46px !important; line-height:1.1 !important; }
  body .ov1-h2 { font-size:28px !important; line-height:1.2 !important; }
  body .invest-offering-btn, body .invest-offering-btn * { font-size:18px !important; font-weight:700 !important; letter-spacing:0.02em !important; }
  body .ovo-ptab, body .ov1-secnav-pill a { font-size:15px !important; }
  @media (max-width: 767px) {
    body .ovo-h1 { font-size:32px !important; }
    body .ov1-h2 { font-size:24px !important; }
    /* phone: flatten the Overview's card-in-a-card so the text gets the full width */
    body .projectOverview .card-body { padding:20px !important; }
    body .projectOverview div[style*="border: 1px solid #CBD5E1"] { border:0 !important; padding:0 !important; box-shadow:none !important; margin:0 !important; }
    body .projectOverview div[style*="max-width: 920px"] { margin:0 !important; }
  }

  /* 3. SHAPES: one 8px radius, no pills, no frosted glass, no soft shadows */
  body .ov1-secnav-pill, body .ov1-secnav-ind, body .ov1-share, body .ov1-media-count, body .ovo-ptabs, body .ovo-ptab,
  body .ov1-thumb, body .ov1-thumb span, body .ov1-media-stage, body .ovo-tabpanel, body .ovo-docs, body .card,
  body .invest-offering-btn, body .ov1-ask-send, body .summary-item { border-radius:8px !important; }
  body .ovo-ptabs { backdrop-filter:none !important; -webkit-backdrop-filter:none !important; background:#ffffff !important; box-shadow:none !important; }
  body .card, body .ov1-secnav-pill, body .ovo-ptab, body .invest-offering-btn, body .ov1-ask-send, body .ov1-media-nav { box-shadow:none !important; }
  body .card { border:1px solid #dde3e8 !important; }
  body .projectOverview div[style*="box-shadow"], body .info div[style*="box-shadow"] { box-shadow:none !important; }
  body .ovo-ptabs .ovo-ptab.is-on { color:#1e2e38 !important; background-color:#e6edf0 !important; }
  body .ovo-ptabs .ovo-ptab:not(.is-on) { color:#3c4a59 !important; background:transparent !important; }

  /* 4. DECORATION REMOVED: accent bars, tick circles, side stripes, gradients */
  body .ov1-h2::before, body .ov1-h2::after { display:none !important; content:none !important; }
  body div[style*="height: 2px; width: 48px"], body div[style*="width: 60px; height: 3px"] { display:none !important; }
  body #ov1-s-highlights li::before, body #ov1-s-highlights li::after { display:none !important; }
  body #ov1-s-highlights li { border:0 !important; border-bottom:1px solid #dde3e8 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; padding:12px 0 !important; }
  body div[style*="grid-template-columns: repeat(auto-fit, minmax(140px"] { background:transparent !important; border:0 !important; padding:0 !important; }
  body .projectOverview div[style*="border-left"] { border:1px solid #dde3e8 !important; border-radius:8px !important; }
  body div[style*="border-left: 4px solid #C8A44E"] { border-left:0 !important; padding-left:0 !important; }
  body div[style*="border-top: 3px solid #C8A44E"] { border-top:1px solid #dde3e8 !important; }
  body .invest-offering-btn { background:#4e7a28 !important; background-image:none !important; color:#ffffff !important; }
  body .ov1-ask-send { background:#1e2e38 !important; }
  body .info div[style*="background-color: #0f2b46"] { padding:14px 20px !important; }
  body .deai-hide { display:none !important; }
  body #ov1-s-highlights > div, body #ov1-s-highlights > div > div[style*="max-width: 880px"] { width:100% !important; max-width:none !important; box-sizing:border-box !important; }
  body #ov1-s-highlights div[style*="padding: 30px 34px 32px 34px"] { padding:12px 28px 16px !important; }

  /* 5. NO MOTION WITHOUT A REASON */
  body .ov1-rv { opacity:1 !important; transform:none !important; transition:none !important; }
  body .ovo *, body .ov1 * { animation:none !important; transition-timing-function:ease-out !important; }

  /* 6. LAYOUT: narrower left pane, wider gap. Right pane keeps its own scroll. */
  @media (min-width: 1200px) {
    body .ov1-grid > .col-lg-7.col-xl-8.ov1-col { flex:0 0 54% !important; max-width:54% !important; }
    body .ov1-grid > .investment-details { flex:1 1 0 !important; max-width:none !important; padding-left:89px !important; }
  }
  @media (min-width: 992px) and (max-width: 1199px) {
    body .ov1-grid > .col-lg-7.col-xl-8.ov1-col { flex:0 0 56% !important; max-width:56% !important; }
    body .ov1-grid > .investment-details { flex:1 1 0 !important; max-width:none !important; padding-left:40px !important; }
  }
  body .ov1-secnav-pill { flex-wrap:nowrap !important; gap:0 !important; }
  body .ov1-secnav-pill a { font-size:14px !important; padding-left:12px !important; padding-right:12px !important; white-space:nowrap !important; }

  /* 7. SPACING SCALE: 12 related / 16 heading-to-content / 24 inside cards / 64 between sections */
  body .ov1-h2 { margin:0 0 16px !important; }
  body #ov1-s-overview, body #ov1-s-details, body #ov1-s-highlights, body #ov1-s-docs { padding-top:0 !important; }
  body .ovo-ptabs { margin:0 0 16px !important; }
  body .ovo-tabpanel { padding:24px !important; }

  /* 8. ACCESSIBILITY */
  body .ovo-docs li > a > span:first-child { color:#3c4a59 !important; }
  body .ov1-faq i { color:#3e6320 !important; font-family:Montserrat, -apple-system, sans-serif !important; }
  body a:focus-visible, body button:focus-visible, body textarea:focus-visible, body input:focus-visible { outline:3px solid #4e7a28 !important; outline-offset:2px !important; }
  

  body .projectOverview div[style*="border: 1px solid #CBD5E1"] { border:0 !important; padding:0 !important; box-shadow:none !important; background:transparent !important; }
  body .projectOverview div[style*="max-width: 920px"] { margin:0 !important; max-width:none !important; }
  body .projectOverview > .card-body { padding:32px !important; }
  body .projectOverview div[style*="border-left"] { border:0 !important; background:#f4f7f8 !important; border-radius:8px !important; padding:16px 20px !important; margin:20px 0 !important; }
  body .info div[style*="border: 1px solid #E5E7EB; border-radius: 10px"] { border:0 !important; box-shadow:none !important; }
  body div[style*="border-top: 3px solid #C8A44E"] { padding-bottom:0 !important; margin-bottom:0 !important; }
  body .projectOverview .card-body > div > :last-child { margin-bottom:0 !important; }
  @media (max-width: 767px) { body .projectOverview > .card-body { padding:20px !important; } }

  body .info div[style*="background-color: #0f2b46"] { border-bottom:0 !important; box-shadow:none !important; background-image:none !important; }
  body .info div[style*="background-color: #0f2b46"] + * { border-top:0 !important; }

  body #ov1-s-ask .card { border:1px solid #dde3e8 !important; border-radius:8px !important; box-shadow:none !important; background:#ffffff !important; }
  body #ov1-s-ask .card-body { padding:24px 28px !important; }
  body #ov1-s-ask .ov1-ask-lead { font-size:16px !important; font-weight:600 !important; color:#1e2e38 !important; margin:0 0 12px !important; }
  body #questionMessage { border:1px solid #b9c3cc !important; border-radius:8px !important; font-family:Montserrat, -apple-system, sans-serif !important; font-size:16px !important; color:#1e2e38 !important; padding:14px 16px !important; box-shadow:none !important; }
  body #questionMessage::placeholder { color:#5a7180 !important; font-size:16px !important; opacity:1 !important; }
  body #questionMessage:focus { border-color:#4e7a28 !important; outline:3px solid rgba(78,122,40,0.25) !important; outline-offset:0 !important; }
  body #charCount { font-size:14px !important; color:#5a7180 !important; }
  body #askQuestionSubmitBtn { width:100% !important; min-height:48px !important; border-radius:8px !important; border:0 !important; box-shadow:none !important; background:#1e2e38 !important; background-image:none !important; color:#ffffff !important; font-size:16px !important; font-weight:600 !important; opacity:1 !important; margin-top:12px !important; }
  body #askQuestionSubmitBtn:disabled { background:#e6edf0 !important; color:#5a7180 !important; cursor:not-allowed !important; }
  body #askQuestionSubmitBtn:not(:disabled):hover { background:#2b4050 !important; }

  body #ov1-s-details .ovo-ptabs { background:transparent !important; border:0 !important; border-bottom:1px solid #dde3e8 !important; border-radius:0 !important; padding:0 !important; display:flex !important; flex-wrap:wrap !important; column-gap:28px !important; row-gap:0 !important; box-shadow:none !important; }
  body #ov1-s-details .ovo-ptabs .ovo-ptab { background:transparent !important; border-radius:0 !important; padding:12px 0 !important; min-height:44px !important; font-size:15px !important; font-weight:500 !important; color:#3c4a59 !important; border-bottom:3px solid transparent !important; margin-bottom:-1px !important; box-shadow:none !important; }
  body #ov1-s-details .ovo-ptabs .ovo-ptab:hover { color:#1e2e38 !important; }
  body #ov1-s-details .ovo-ptabs .ovo-ptab.is-on { color:#1e2e38 !important; font-weight:700 !important; border-bottom-color:#4e7a28 !important; background:transparent !important; }
  body #ov1-s-details .ovo-ptabs .ovo-secnav-ind, body #ov1-s-details .ovo-ptabs [class*="ind"] { display:none !important; }
  body #ov1-s-details .ovo-tabpanel { padding:28px !important; }

  @media (min-width: 992px) {
    body .invest-details.card .card-body { padding:24px 28px !important; }
  }
  body .summary-grid { display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:12px !important; }
  body .summary-grid .summary-item:first-child:nth-last-child(odd) { grid-column:1 / -1 !important; }   /* odd count: lead tile spans, the rest pair up */
  @media (max-width: 767px) {
    body .summary-grid { grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:10px !important; }   /* phone: two per row; offering-deai.js widens any tile whose figure would clip */
    body .summary-grid .summary-item:not([class*="funded"]) { padding:14px !important; }
    body .summary-grid .summary-item:not([class*="funded"]) .ov1-count { font-size:18px !important; }
    body .invest-details.card .card-body, body .offering-summary { padding:16px !important; }
  }
  body .summary-grid .summary-item:not([class*="funded"]) { display:flex !important; flex-direction:column !important; justify-content:center !important; align-items:flex-start !important; text-align:left !important; padding:18px 20px !important; border-radius:8px !important; gap:4px !important; min-height:0 !important; }
  body .summary-grid .summary-item:not([class*="funded"]) * { text-align:left !important; margin:0 !important; }
  /* funding-progress tiles keep their own centred layout and coloured badges */
  body .summary-grid .summary-item[class*="funded"] { padding:16px !important; border-radius:8px !important; text-align:center !important; }
  body .summary-grid .summary-item:not([class*="funded"]) .ov1-count { font-size:22px !important; font-weight:700 !important; line-height:1.3 !important; color:#1e2e38 !important; }
  /* light tiles: the Invest button is the only solid block in the card */
  body .summary-grid .summary-item { background:#f4f7f8 !important; border:1px solid #dde3e8 !important; }
  body .summary-grid .summary-item:not([class*="funded"]) .summary-label { color:#5a7180 !important; font-weight:600 !important; }
  body .invest-offering-btn { text-transform:none !important; letter-spacing:0 !important; border-radius:8px !important; margin-top:16px !important; }
  body .invest-offering-btn * { text-transform:none !important; letter-spacing:0 !important; }
  body .offering-summary .themometer-investbtn-inFrontOf + *, body .offering-summary p { margin-top:12px !important; }

  body .ov1-play-pill { border-radius:8px !important; background:rgba(30,46,56,0.88) !important; font-size:16px !important; font-weight:600 !important; }
  body .ov1-media-count { font-size:14px !important; font-weight:600 !important; border-radius:8px !important; background:rgba(30,46,56,0.85) !important; padding:4px 10px !important; }
  body .ov1-media-expand { width:44px !important; height:44px !important; background:rgba(30,46,56,0.85) !important; }
  body .ov1-media-nav { background:#ffffff !important; border:1px solid #dde3e8 !important; color:#1e2e38 !important; }
  body .ov1-thumb-more span { background:rgba(30,46,56,0.62) !important; font-size:16px !important; font-weight:600 !important; border-radius:6px !important; }
  body .ov1-thumb, body .ov1-thumb img, body .ov1-media-stage img { transition:none !important; }
  body .ov1-thumb:hover img, body .ov1-thumb:hover, body .ov1-media-stage:hover img { transform:none !important; }
  body .ov1-thumb:focus-visible { outline:3px solid #4e7a28 !important; outline-offset:2px !important; }
  /* photos fill the frame (no grey bars); the expand button still shows each photo uncropped */
  body .ov1-media-stage .ov1-slide-image img, body .ov1-media-stage .ov1-slide img { width:100% !important; height:100% !important; object-fit:cover !important; object-position:center !important; max-width:none !important; }

  body .ovo-h1 { margin:0 !important; }                                   /* + 12px container gap = 12px to the status line */
  body .ov1-meta { margin:0 0 8px !important; align-items:center !important; } /* lands the photo 24px below the status line */
  body .ov1-meta .ovo-st-m { font-weight:500 !important; color:#3c4a59 !important; }
  body .ov1-meta .ovo-st-on { font-weight:600 !important; }
  body .ov1-share { height:32px !important; min-height:32px !important; padding:0 12px !important; border:1px solid #dde3e8 !important; border-radius:8px !important; background:#ffffff !important; color:#1e2e38 !important; font-weight:600 !important; display:inline-flex !important; align-items:center !important; gap:6px !important; margin-left:6px !important; }
  body .ov1-share:hover { border-color:#b9c3cc !important; }
  @media (max-width: 767px) { body .ov1-share { height:44px !important; min-height:44px !important; } }
  body .ov1-secnav-pill a { font-weight:500 !important; color:#3c4a59 !important; }
  body .ov1-secnav-pill a:hover { color:#1e2e38 !important; }
  body .ov1-secnav-pill a.is-on, body .ov1-secnav-pill a[aria-current], body .ov1-secnav-pill a.active { font-weight:700 !important; color:#1e2e38 !important; }
  body .ov1-secnav-ind { background:#e6edf0 !important; border-radius:6px !important; }
  /* Overview card: a site rule outranks "body .card", so name it directly */
  body .ov1-wrap .projectOverview.card { box-shadow:none !important; }
