/* Inverness additions on top of the Webflow stylesheet (site.css). */
:root { --ia-blue: #314ef6; --ia-navy: #080331; --ia-ink: #111; --ia-muted: #5b5f73; --ia-line: #e3e5ef; }

/* Home hero copy */
.section_hero .div-block-3 { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ia-hero-title { margin: 2.25rem 0 0; max-width: 46rem; color: #fff; font-family: Approachtrial Md, sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem); font-weight: 400; line-height: 1.15; text-wrap: balance; }
.ia-hero-sub { margin: 1rem 0 0; max-width: 40rem; color: rgba(255,255,255,.86); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.5; }
.ia-hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: center; margin-top: 1.75rem; }
.ia-hero-link { color: #fff; text-decoration: underline; text-underline-offset: 4px; font-size: 1rem; }
.ia-hero-link:hover { opacity: .8; }
.ia-hero-link.ia-dark { color: var(--ia-blue); }

/* FAQ */
.ia-faq { padding: 5rem 0; background: #fff; }
.ia-faq h2 { margin-bottom: 2rem; }
.ia-faq-list { max-width: 56rem; border-top: 1px solid var(--ia-line); }
.ia-faq-item { border-bottom: 1px solid var(--ia-line); padding: 1.25rem 0; }
.ia-faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  font-size: 1.2rem; font-weight: 500; color: var(--ia-ink); }
.ia-faq-item summary::-webkit-details-marker { display: none; }
.ia-faq-item summary::after { content: "+"; color: var(--ia-blue); font-size: 1.5rem; line-height: 1; }
.ia-faq-item[open] summary::after { content: "\2212"; }
.ia-faq-item p { margin: .9rem 0 0; max-width: 48rem; color: var(--ia-muted); font-size: 1.05rem; line-height: 1.6; }
.ia-faq-item a, .ia-prose a, .ia-back a { color: var(--ia-blue); }

/* Transactions filters */
.ia-filters { position: relative; z-index: 2; margin: 0 0 2.5rem; padding: 1.5rem 1.75rem 1.25rem; background: #fff;
  border-radius: 16px; box-shadow: 0 10px 30px rgba(8,3,49,.12); }
.ia-filter-intro { margin: 0 0 1.25rem; color: var(--ia-muted); font-size: 1.05rem; }
.ia-filter-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .75rem; }
.ia-filter-label { min-width: 5.5rem; font-size: .85rem; font-weight: 600; color: var(--ia-ink); }
.ia-pill { border: 1px solid var(--ia-line); background: #fff; color: var(--ia-ink); border-radius: 999px;
  padding: .45rem .9rem; font-size: .9rem; cursor: pointer; transition: all .15s ease; }
.ia-pill span { color: var(--ia-muted); margin-left: .25rem; font-size: .8rem; }
.ia-pill:hover { border-color: var(--ia-blue); }
.ia-pill.is-active { background: var(--ia-blue); border-color: var(--ia-blue); color: #fff; }
.ia-pill.is-active span { color: rgba(255,255,255,.8); }
.ia-pill:focus-visible { outline: 2px solid var(--ia-blue); outline-offset: 2px; }
.ia-filter-count { margin: .5rem 0 0; font-size: .9rem; color: var(--ia-muted); }
[data-sector][hidden] { display: none !important; }

/* Deal pages */
.ia-back { margin-top: 2rem; font-size: 1rem; }

/* Generic content pages (Insights, 404) */
.ia-page-hero { padding: 11rem 0 4rem; background: var(--ia-navy); color: #fff; }
.ia-page-hero .ia-hero-ctas { justify-content: flex-start; }
.ia-page-hero .ia-hero-link.ia-dark { color: #fff; }
.ia-eyebrow { margin: 0 0 1rem; color: #9fb0ff; font-size: .95rem; font-weight: 500; }
.ia-page-title { margin: 0; max-width: 52rem; color: #fff; font-family: Approachtrial Md, sans-serif; font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.75rem); line-height: 1.08; text-wrap: balance; }
.ia-lede { margin: 1.5rem 0 0; max-width: 46rem; color: rgba(255,255,255,.85); font-size: 1.15rem; line-height: 1.6; }
.ia-article { padding: 4.5rem 0 6rem; background: #fff; }
.ia-prose { max-width: 50rem; color: var(--ia-ink); font-size: 1.08rem; line-height: 1.65; }
.ia-prose h2 { margin: 3rem 0 1rem; font-size: 1.9rem; line-height: 1.2; }
.ia-prose h2:first-child { margin-top: 0; }
.ia-prose ul { padding-left: 1.2rem; }
.ia-prose li { margin-bottom: .6rem; }
.ia-stats { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
.ia-stats li { margin: 0; padding: 1.25rem; border: 1px solid var(--ia-line); border-radius: 12px; }
.ia-stats strong { display: block; color: var(--ia-blue); font-size: 2rem; line-height: 1.1; margin-bottom: .4rem; }
.ia-stats span { display: block; color: var(--ia-muted); font-size: .98rem; line-height: 1.45; }
.ia-source { color: var(--ia-muted); font-size: .85rem; }
.ia-callout { margin: 3rem 0 2rem; padding: 1.5rem 1.75rem; background: #f2f4ff; border-radius: 12px; }
.ia-callout p { margin: 0; }
.ia-disclaimer { color: var(--ia-muted); font-size: .8rem; line-height: 1.5; }

@media (max-width: 767px) {
  .ia-hero-title { margin-top: 1.5rem; }
  .ia-page-hero { padding: 8rem 0 3rem; }
  .ia-filter-label { width: 100%; }
}

/* ---- Consistent vertical rhythm across breakpoints ---- */
:root { --sec: 104px; --sec-sm: 72px; }
@media (max-width: 991px) { :root { --sec: 80px; --sec-sm: 56px; } }
@media (max-width: 767px) { :root { --sec: 56px; --sec-sm: 40px; } }

.cta-button, .brix---btn-primary, .brix---btn-primary-2 { white-space: nowrap; }

.section.boxes { padding-top: var(--sec) !important; }
.section.network-access { padding-top: var(--sec) !important; padding-bottom: var(--sec) !important; }
.section.network-access .spacer-xxlarge { padding-top: 0 !important; height: 0 !important; }
.section.featured-d, .section.section_special { padding-top: var(--sec) !important; padding-bottom: var(--sec) !important; }
.section.recent { padding-top: var(--sec) !important; padding-bottom: var(--sec) !important; }
.ia-faq { padding: var(--sec) 0 !important; }
.section.team { padding-top: var(--sec) !important; padding-bottom: var(--sec) !important; }
.article_details.details { padding-top: var(--sec-sm) !important; padding-bottom: var(--sec) !important; }
.section.deal_inner, .section.contact-us-section { padding-top: var(--sec) !important; padding-bottom: var(--sec) !important; }
.ia-article { padding: var(--sec) 0 !important; }
.footer-wrap { padding-top: var(--sec-sm) !important; }

/* Blue "edge" cards: no tall empty gap on tablet and phone */
/* Blue "edge" cards: icon, title and copy start at the top on every screen */
.edge-item { justify-content: flex-start !important; gap: 28px; }
.edge-item-content { gap: 20px; }
@media (max-width: 991px) { .edge-item { min-height: 0 !important; } }
/* Headings on phones */
@media (max-width: 767px) {
  .heading-2, .heading-6 { font-size: 1.85rem !important; line-height: 1.15; }
  .ia-faq h2 { font-size: 1.85rem; }
  .ia-page-hero { padding: 7.5rem 0 var(--sec); }
}
@media (min-width: 768px) and (max-width: 991px) {
  .ia-page-hero { padding: 9rem 0 var(--sec); }
}
/* inner wrappers added their own vertical padding on top of the section's */
.section > .container-large, .ia-faq > .container-large, .ia-article > .container-large { padding-top: 0 !important; padding-bottom: 0 !important; }
.footer-wrap > .container-large { padding-top: 0 !important; }
.brix---footer-top-border-bottom { padding-top: 0 !important; }
.contact-us-section .heading-8 { margin-top: 0 !important; }
.section.network-access .board-content-wrap { padding-bottom: 0 !important; }
.section.recent .spacer-xlarge { padding-top: 2.5rem !important; }
/* Team page hero clears the fixed nav on smaller screens */
@media (max-width: 991px) { .section_our-team-hero.section_our-team-hero_special { padding-top: 130px !important; } }
@media (max-width: 767px) { .section_our-team-hero.section_our-team-hero_special { padding-top: 112px !important; } }
/* Deal pages: "IDEA Pharma Management" style headings wrap cleanly */
.heading-company-name-wrapper { flex-wrap: wrap; column-gap: .3em !important; row-gap: 0 !important; }
@media (max-width: 767px) { .heading-company-name-wrapper .heading-9 { font-size: 1.75rem; } }
@media (min-width: 992px) { .section_our-team-hero.section_our-team-hero_special { padding-top: 150px !important; } }

/* Filter pills: visible outlines; one scrollable row each on tablet/phone */
.ia-pill { background: #f4f5fa; border-color: #dfe2ee; }
@media (max-width: 991px) {
  .ia-filters { padding: 1.25rem 1.25rem 1rem; }
  .ia-filter-row { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: .25rem; }
  .ia-filter-row::-webkit-scrollbar { display: none; }
  .ia-filter-label { flex: none; min-width: 4.75rem; width: auto; }
  .ia-pill { flex: none; white-space: nowrap; }
}
@media (max-width: 767px) {
  .ia-filter-row { flex-wrap: wrap; overflow: visible; }
  .ia-filter-label { width: 100%; margin-bottom: .1rem; }
  .ia-filter-intro { font-size: .95rem; }
}
@media (max-width: 767px) { .section_transaction-hero:not(.details) { padding-top: 150px !important; } }
