/* Coegi — site-matching styles, extracted from theme CSS */
:root {
  --c-ink: #002f3b;
  --c-body: #24272a;
  --c-muted: #53575a;
  --c-accent: #009ba7;
  --c-accent-dark: #076067;
  --c-line: #e3e6e8;
  --c-bg-soft: #f4f6f7;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  background: #fff;
  color: #000;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* Container — 89% width by default, 1032px on single-post */
.container { width: 89%; max-width: 1032px; margin: 0 auto; }

/* ------------ Header (real coegipartners.com markup) ------------ */
.coegi-header-container {
  width: 100%;
  padding: 25px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99999;
  background: #fff;
  transition: all ease-in-out .1s;
}
.coegi-header-container__brand-container .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  width: 89%;
}
@media screen and (min-width: 1600px) {
  .coegi-header-container__brand-container .container { max-width: 1640px; }
}
.coegi-header-container__logo-link {
  width: 80px; height: 30px;
  display: flex; align-items: center; flex-shrink: 0;
}
@media screen and (min-width: 1366px) {
  .coegi-header-container__logo-link { width: 110px; height: 60px; }
}
.coegi-header-container__logo {
  width: 100%; height: 100%;
  transition: all ease-in-out .3s !important;
}
/* Two logos: bg-color (dark/full-color) shown over white header; bg-white (white logo) hidden */
.coegi-header-container__logo[data-display="bg-color"] { display: block; }
.coegi-header-container__logo[data-display="bg-white"] { display: none; }
.coegi-header-container__right-elm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.coegi-header-container__desktop_nav-list {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0 40px 0;
  padding: 0;
}
.coegi-header-container__desktop_nav-list > li { padding: 9px 0; }
.coegi-header-container__desktop_nav-list li a {
  color: #002F3B;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}
.coegi-header-container__desktop_nav-list li a:hover { color: #009ba7; }

/* btn-outline-white inside header is actually #002F3B bg */
.btn { cursor: pointer; }
.btn-outline {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  text-align: center;
  padding: 5px 38px;
  border-radius: 999px;
  display: inline-block;
  text-decoration: none;
  transition: all ease-in-out .2s;
}
.btn-outline-white {
  color: #fff;
  background: #002F3B;
  border: 1px solid #002F3B;
  padding: 7px 24px;
}
.btn-outline-white:hover {
  background: #fff;
  border-color: #076067;
  color: #076067;
}

@media screen and (max-width: 1199px) {
  .coegi-header-container__desktop_nav-list { display: none; }
  .coegi-header-container__brand-container .container { max-width: 100%; }
}

/* spacer below fixed header */
.header-spacer { height: 110px; }
@media (max-width: 1199px) { .header-spacer { height: 80px; } }

/* ------------ Hero (single-post-hero-new) ------------ */
.hero_banner.single-post-hero-new {
  padding: 96px 0 96px;
  position: relative;
  background: #002f3b url('assets/hero-bg.jpg') center/cover no-repeat;
}
.hero_banner.single-post-hero-new::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,47,59,0.55) 0%, rgba(0,47,59,0.85) 100%);
  z-index: 1;
}
.hero_banner.single-post-hero-new .container {
  position: relative;
  z-index: 2;
  max-width: 1032px;
}
.hero_banner.single-post-hero-new .hero__crumb {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #009ba7;
  margin-bottom: 24px;
}
.hero_banner.single-post-hero-new .hero__crumb a { color: #009ba7; text-decoration: none; }
.hero_banner.single-post-hero-new .section_title {
  margin: 0 0 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero_banner.single-post-hero-new ._text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  color: #fff;
  margin: 0;
  max-width: 820px;
}
.hero_banner.single-post-hero-new .meta_block {
  margin-top: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #cfe7ea;
}
.hero_banner.single-post-hero-new .meta_block ._author { color: #fff; }

@media (max-width: 900px) {
  .hero_banner.single-post-hero-new { padding: 72px 0 72px; }
  .hero_banner.single-post-hero-new .section_title { font-size: 32px; }
  .hero_banner.single-post-hero-new ._text { font-size: 18px; }
}

/* ------------ Text section (body) ------------ */
.text_section { padding: 64px 0; }
.text_section .container { max-width: 1032px; }
.text_section ._text {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #000;
}
.text_section ._text h1,
.text_section ._text h2,
.text_section ._text h3,
.text_section ._text h4,
.text_section ._text h5,
.text_section ._text h6 {
  color: #009ba7;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin: 40px 0 16px;
  line-height: 1.2;
}
.text_section ._text h2 { font-size: 32px; }
.text_section ._text h3 { font-size: 24px; margin-top: 32px; }
.text_section ._text p { margin: 0 0 18px; }
.text_section ._text ul { margin: 20px 0; padding-left: 24px; }
.text_section ._text li { margin-bottom: 8px; }
.text_section ._text strong { font-weight: 600; }

/* TL;DR callout */
.text_section ._text .tldr {
  background: #f4f6f7;
  border-left: 4px solid #009ba7;
  padding: 24px 28px;
  margin: 32px 0;
  font-size: 18px;
  color: #002f3b;
}
.text_section ._text .tldr__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #009ba7;
  margin-bottom: 8px;
}
.text_section ._text .tldr p:last-child { margin-bottom: 0; }

/* FAQ accordion (mirrors site .accordionBlock) */
.accordionBlock { padding: 0; }
.accordionBlock__group { margin-bottom: 56px; }
.accordionBlock__group h2 {
  color: #002f3b !important;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.accordionBlock__group h2::before { content: '/'; color: #009ba7; }
details.accordionBlock__row {
  border-top: 1px solid #e3e6e8;
  padding: 24px 0;
}
details.accordionBlock__row:last-child { border-bottom: 1px solid #e3e6e8; }
details.accordionBlock__row summary {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #002f3b;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
details.accordionBlock__row summary::-webkit-details-marker { display: none; }
details.accordionBlock__row summary::after {
  content: '';
  flex: 0 0 28px; height: 28px; width: 28px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009ba7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 24px;
  transition: transform 0.2s;
  margin-top: 2px;
}
details.accordionBlock__row[open] summary::after { transform: rotate(180deg); }
details.accordionBlock__row p {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: #53575a;
  padding-right: 52px;
}

/* Comparison table */
.cmp-table {
  width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 16px;
  font-family: 'Inter', sans-serif;
}
.cmp-table thead th {
  background: #002f3b; color: #fff;
  text-align: left; padding: 18px 22px;
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.cmp-table tbody td {
  padding: 20px 22px; border-bottom: 1px solid #e3e6e8;
  vertical-align: top; line-height: 1.55;
}
.cmp-table tbody tr:nth-child(even) { background: #f4f6f7; }
.cmp-table tbody td:first-child { color: #53575a; }
.cmp-table tbody td:last-child { color: #002f3b; font-weight: 500; }

/* Glossary index grid */
.gloss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 24px 0 8px;
}
.gloss-card {
  background: #fff;
  border: 1px solid #e3e6e8;
  padding: 28px;
  border-radius: 12px;
  text-decoration: none;
  display: block;
  transition: 0.15s;
}
.gloss-card:hover { border-color: #009ba7; transform: translateY(-2px); }
.gloss-card h3 {
  color: #002f3b !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 8px;
}
.gloss-card p {
  color: #53575a;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.gloss-card__arrow {
  color: #009ba7;
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
  display: inline-block;
}

/* Related glossary terms */
.related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e3e6e8;
}
.related h3 {
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #009ba7 !important;
  margin: 0 0 16px !important;
  font-weight: 600 !important;
}
.related ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  columns: 2;
  column-gap: 32px;
}
.related li { margin-bottom: 8px; }
.related a {
  color: #002f3b;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.related a:hover { color: #009ba7; text-decoration: underline; }

/* CTA section */
.cta-section {
  background: #002f3b;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 36px;
  margin: 0 0 16px;
  color: #fff;
  line-height: 1.2;
}
.cta-section p {
  color: #cfe7ea;
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 32px;
}
.cta-section .btn { background: #009ba7; border-color: #009ba7; }
.cta-section .btn:hover { background: #fff; color: #009ba7; border-color: #fff; }

/* ------------ Footer (real .site_footer markup from theme) ------------ */
.site_footer {
  font-size: 16px;
  line-height: 24px;
  padding: 100px 0 100px;
  color: #fff;
  background-color: #002f3b;
  background-image: url('assets/footer-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  font-style: normal;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  position: relative;
}
.site_footer .container { max-width: 1440px; width: 89%; }
.site_footer a {
  color: inherit;
  text-decoration: none;
  transition: opacity ease-in-out .2s;
}
.site_footer a:hover { opacity: .7; }
.site_footer ul { margin: 0; padding: 0; list-style: none; }
.site_footer .footer_title {
  font-size: 22px;
  text-transform: uppercase;
  color: #5ce1e6;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
}
.site_footer .main_row { display: flex; }
.site_footer ._left { padding-right: 8vw; width: 75%; }
.site_footer ._right {
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.site_footer .menus_row {
  gap: 40px;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}
.site_footer .menus_row li + li { margin-top: 16px; }
.site_footer .menus_row a { font-weight: 500; }
.site_footer .offices_block {
  margin-top: 90px;
  column-gap: 4vw;
  row-gap: 20px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}
.site_footer .offices_block .footer_title { margin-bottom: 0; }
.site_footer .offices_block ._item { margin-bottom: 0; }
.site_footer .contact_block .footer_title { margin-bottom: 16px; }
.site_footer ._email {
  margin-bottom: 20px;
  word-break: break-word;
  display: inline-block;
  text-decoration: underline;
}
.site_footer .footer_logo_block {
  margin-top: 70px;
  max-width: 240px;
  width: 100%;
  align-self: flex-end;
}
.site_footer .footer_logo_block img { width: 100%; height: auto; }
.site_footer .social_block {
  margin-top: 24px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.site_footer .social_block a {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site_footer .social_block img {
  width: 24px;
  height: 22px;
  filter: brightness(0) invert(1);
}
.site_footer .desk { display: block; }
.site_footer .mob { display: none; }

@media (max-width: 1000px) {
  .site_footer .main_row { display: block; }
  .site_footer ._left { padding-right: 0; width: 100%; }
  .site_footer ._right { width: 100%; }
  .site_footer .contact_block { margin-top: 70px; text-align: center; }
  .site_footer .footer_logo_block { margin: 50px auto; max-width: 200px; }
  .site_footer .offices_block { justify-content: center; column-gap: 4vw; }
  .site_footer .social_block { justify-content: center; }
}
@media (max-width: 768px) {
  .site_footer { padding: 60px 0 60px; }
  .site_footer .desk { display: none; }
  .site_footer .mob { display: block; }
  .site_footer .menus_row {
    max-width: 320px;
    margin: 0 auto;
    flex-direction: column;
    gap: 16px;
  }
  .site_footer .offices_block { margin-top: 40px; gap: 16px; flex-direction: column; align-items: center; }
  .site_footer .contact_block { margin-top: 40px; }
}

/* Index page */
.index-list h2 {
  color: #002f3b;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin: 48px 0 16px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.index-list h2::before { content: '/'; color: #009ba7; }
.index-list ul { list-style: none; padding: 0; margin: 0; }
.index-list li {
  padding: 16px 0;
  border-bottom: 1px solid #e3e6e8;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.index-list a {
  color: #002f3b;
  font-weight: 500;
  text-decoration: none;
  font-size: 17px;
}
.index-list a:hover { color: #009ba7; }
.index-list span { color: #53575a; font-size: 14px; }

@media (max-width: 900px) {
  .related ul { columns: 1; }
  .index-list li { flex-direction: column; gap: 4px; }
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
