/* Adriatic Advisors – desktop contact card. Replaces the original Contact Form 7 form
   (which needs WordPress to send). Generated by render_mobile.desktop_contact_card(). */
.aa-contact { display: flex; flex-direction: column; gap: 18px; font-family: Mulish, sans-serif; color: #4b535d; text-align: left; }
.aa-contact__intro { margin: 0; font-size: 16px; line-height: 1.6; }
.aa-contact__who { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(18, 28, 39, .1); border-bottom: 1px solid rgba(18, 28, 39, .1); }
.aa-contact__avatar { width: 64px !important; height: 64px !important; max-width: none !important; border-radius: 50% !important; object-fit: cover; object-position: center 15%; flex: none; background: #f5f6f7; }
.aa-contact__who b { display: block; font-family: Urbanist, sans-serif; font-weight: 500; font-size: 20px; line-height: 1.3; color: #121c27; }
.aa-contact__who span { display: block; font-size: 14px; line-height: 1.4; color: #5f6873; }
.aa-contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.aa-contact__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 50px; border: 1px solid rgba(18, 28, 39, .18); background: transparent; color: #121c27 !important; font-family: Mulish, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .7px; text-transform: uppercase; text-decoration: none !important; transition: background-color .2s, color .2s, border-color .2s; }
.aa-contact__btn:hover { border-color: #19294a; }
.aa-contact__btn i { font-size: 16px; line-height: 1; }
.aa-contact__btn--primary { flex: 1 1 100%; background: #19294a; border-color: #19294a; color: #fff !important; }
.aa-contact__btn--primary:hover { background: #04223d; border-color: #04223d; }
.aa-contact__btn:not(.aa-contact__btn--primary) { flex: 1 1 0; text-transform: none; letter-spacing: 0; font-size: 15px; white-space: nowrap; }
.aa-contact__mail { align-self: center; font-size: 14px; color: #4b535d !important; text-decoration: none !important; }
.aa-contact__mail:hover { color: #19294a !important; }

/* ---------- promoted / added <h1> (tools/seo.py ensure_h1) ----------
   A promoted heading carries its old level as a class (.h2/.h3/.h4), which the theme styles like the element.
   The only element-qualified theme rules are for the section-title h2: */
.tm-sc-section-title .title-wrapper h1.aa-h1.h2.title { font-size: var(--section-title-font-size); }
@media (max-width: 767.98px) { .tm-sc-section-title .title-wrapper h1.aa-h1.h2.title { font-size: var(--h2-font-size-mob); } }
/* a bold paragraph promoted to h1 (privacy policy) keeps the paragraph look */
h1.aa-h1--plain { font: inherit; line-height: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; margin: 0 0 20px; }
/* names added where the page showed none (projects, archives) */
h1.aa-h1--project, h1.aa-h1--archive { font-family: var(--heading-font-family); font-weight: var(--headings-font-weight-h2); color: var(--headings-color); font-size: var(--section-title-font-size); line-height: 1.3; margin: 0 0 30px; }
h1.aa-h1--project { font-size: var(--h3-font-size); margin: 0 0 24px; }

/* ---------- sticky header (appears after scrolling, desktop) ----------
   The theme gives every menu item 35px top/bottom padding, which made the bar 151px tall
   with a large empty band under the menu. Compact it to ~80px; the header at the top of the page is unchanged. */
@media (min-width: 1025px) {
  #elementor-header-top-sticky .e-con-inner { padding-top: 6px !important; padding-bottom: 6px !important; }
  #elementor-header-top-sticky .e-con-inner > .e-con { padding-top: 0 !important; padding-bottom: 0 !important; }
  #elementor-header-top-sticky .menuzord-menu > li { padding-top: 12px !important; padding-bottom: 12px !important; }
  /* solid instead of 93% white, so the page text no longer shows through behind the logo and menu */
  #elementor-header-top-sticky > .elementor > .e-con { background-color: #fff !important; }
}

/* ---------- Knowledge Hub: featured research (content/blog-grid/featured-desktop.html) ----------
   Navy band with the report cover (as a small stack of pages) on the left, teaser + download on the right.
   Colours are the cover's own: navy = --theme-color1, gold sampled from the cover title. Stacks below 992px. */
.aa-fr { --fr-navy: var(--theme-color1, #19294a); --fr-gold: #b49469; width: calc(100% - 20px); max-width: 1210px; margin: 64px auto 0; }
.aa-fr__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 72px 64px; background: radial-gradient(110% 90% at 100% 0%, rgba(39, 64, 116, .55) 0%, rgba(39, 64, 116, 0) 60%), var(--fr-navy); }
.aa-fr__cover { position: relative; display: block; margin: 0 16px 16px 0; }
.aa-fr__cover::before, .aa-fr__cover::after { content: ""; position: absolute; inset: 0; background: #f3efe7; pointer-events: none; }
.aa-fr__cover::before { transform: translate(8px, 8px); opacity: .32; }
.aa-fr__cover::after { transform: translate(16px, 16px); opacity: .14; }
.aa-fr__cover img { position: relative; z-index: 1; display: block; width: 100%; height: auto; box-shadow: 0 2px 4px rgba(0, 0, 0, .25), 0 30px 50px -18px rgba(0, 0, 0, .7); transition: transform .35s ease; }
.aa-fr__cover:hover img { transform: translateY(-4px); }
.aa-fr .aa-fr__eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: Mulish, sans-serif; font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--fr-gold); }
.aa-fr .aa-fr__eyebrow::before { content: ""; flex: none; width: 32px; height: 1px; background: currentColor; }
.aa-fr .aa-fr__title { margin: 0 0 16px; font-family: Urbanist, sans-serif; font-weight: 500; font-size: 42px; line-height: 1.12; letter-spacing: -.01em; color: #fff; }
.aa-fr .aa-fr__lead { margin: 0 0 22px; font-family: Urbanist, sans-serif; font-size: 20px; line-height: 1.45; color: #fff; }
.aa-fr .aa-fr__text { margin: 0 0 14px; font-family: Mulish, sans-serif; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .74); }
.aa-fr .aa-fr__meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid rgba(180, 148, 105, .35); font-family: Mulish, sans-serif; font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fr-gold); }
.aa-fr .aa-fr__btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; margin-top: 26px; padding: 0 30px; border-radius: 50px; background: var(--fr-gold); color: var(--fr-navy) !important; font-family: Mulish, sans-serif; font-size: 14px; line-height: 1; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; text-decoration: none !important; transition: background-color .2s; }
.aa-fr .aa-fr__btn:hover { background: #c8ab80; }
.aa-fr .aa-fr__btn:focus-visible, .aa-fr__cover:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.aa-fr .aa-fr__btn i { font-size: 15px; }
/* "Latest Insights" above the existing post grid; the grid's own 110px top padding is reduced to sit under it */
.aa-latest { width: calc(100% - 20px); max-width: 1210px; margin: 96px auto 0; }
.aa-latest .aa-latest__title { margin: 0; font-family: Urbanist, sans-serif; font-weight: 500; font-size: var(--section-title-font-size, 40px); line-height: 1.2; color: var(--headings-color, #121c27); }
.aa-latest .aa-latest__title::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 18px; background: #b49469; }
.aa-latest + .elementor-element.elementor-element-ad87229 { --padding-top: 36px !important; }
@media (max-width: 1199px) {
  .aa-fr__inner { gap: 48px; padding: 56px 48px; }
  .aa-fr .aa-fr__title { font-size: 36px; }
}
@media (max-width: 1024px) { .aa-fr, .aa-latest { width: 90%; } }
@media (max-width: 991px) {
  .aa-fr__inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 40px; }
  .aa-fr__cover { max-width: 600px; }
}
@media (max-width: 767px) {
  .aa-fr { width: 86%; margin-top: 40px; }
  .aa-fr__inner { padding: 32px 22px; gap: 32px; }
  .aa-fr .aa-fr__title { font-size: 28px; }
  .aa-fr .aa-fr__lead { font-size: 18px; }
  .aa-fr .aa-fr__btn { display: flex; justify-content: center; }
  .aa-latest { width: 86%; margin-top: 56px; }
}
