   /*
   Theme Name: Zerif Pro Child
   Theme URI: https://www.themeisle.com/ 
   Description: This is a custom child theme I have created.
   Author: ThemeIsle
   URI: https://www.themeisle.com/ 
   Template: zerif-pro
   Version: 0.1 
   */
/* Footer fixes to override Tailwind */
#footer {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#footer .container {
    margin: 0 auto !important;
    padding: 20px 0 !important;
    max-width: 1170px !important; /* Match your content container width */
}

.footer-box-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start !important;
    padding: 20px 0 !important;
}

.company-details {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure footer text alignment */
.zerif-footer-address,
.zerif-footer-email,
.zerif-footer-phone {
    margin-top: 10px !important;
    text-align: left !important;
}

/* Fix social icons positioning */
.footer-box-wrap .social {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Copyright section alignment */
.copyright {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Aenon readability improvements - 2026-09-24 */
body.home #text-30 p,
body.home #text-33 p {
    text-align: left !important;
}

.team-page-wrapper .team-header p.aenon-grey {
    color: #626b76;
}

#resGrid .res-card-desc {
    font-size: 1rem;
}

.team-page-wrapper .region-button:focus-visible,
#resGrid .res-btn:focus-visible,
#refGrid .ref-readmore-btn:focus-visible {
    outline: 2px solid #17375e !important;
    outline-offset: 4px;
}

@media (max-width: 640px) {
    .team-page-wrapper .team-header {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .team-page-wrapper .team-header h1 {
        margin-bottom: 1.25rem;
    }
}
/* End Aenon readability improvements */

/* Approved Research study body only. Existing site fonts, header and footer are retained. */
.aenon-research-study {
  --aenon-study-navy: #17375e;
  --aenon-study-ink: #293849;
  --aenon-study-muted: #667282;
  --aenon-study-rule: #e2e7ec;
  --aenon-study-pale: #f6f8fa;
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 36px 64px;
  background: #fff;
  color: var(--aenon-study-ink);
  font: 17px/1.7 Lato, Helvetica, Arial, sans-serif;
  text-align: left;
}
.aenon-research-study *,
.aenon-research-study *::before,
.aenon-research-study *::after { box-sizing: border-box; }
.aenon-research-study a { color: var(--aenon-study-navy); text-decoration: none; box-shadow: none; }
.aenon-research-study a:hover { text-decoration: underline; }
.aenon-research-study a:focus-visible { outline: 2px solid var(--aenon-study-navy); outline-offset: 5px; }
.aenon-research-study h1,
.aenon-research-study h2,
.aenon-research-study h3 { margin: 0 0 20px; padding: 0; font-family: Lato, Helvetica, Arial, sans-serif; color: var(--aenon-study-navy); text-transform: none; }
.aenon-research-study h1 { font-size: 48px; line-height: 1.16; font-weight: 300; letter-spacing: -1.2px; margin-bottom: 24px; }
.aenon-research-study h2 { font-size: 26px; font-weight: 400; line-height: 1.3; letter-spacing: normal; }
.aenon-research-study h3 { font-size: 19px; line-height: 1.4; font-weight: 700; letter-spacing: normal; margin-bottom: 8px; }
.aenon-research-study p { margin: 0 0 20px; padding: 0; font-family: inherit; font-size: inherit; line-height: inherit; }
.aenon-research-study .aenon-study-breadcrumb { display: flex; gap: 12px; font-size: 13px; color: var(--aenon-study-muted); margin-bottom: 45px; }
.aenon-research-study .aenon-study-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.aenon-research-study .aenon-study-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 74px; }
.aenon-research-study .aenon-study-article-layout > article { min-width: 0; margin: 0; padding: 0; border: 0; background: none; }
.aenon-research-study .aenon-study-eyebrow { font-size: 11px; line-height: 1.6; text-transform: uppercase; letter-spacing: 1.45px; font-weight: 700; color: #697688; margin-bottom: 18px; }
.aenon-research-study .aenon-study-eyebrow span { margin: 0 10px; }
.aenon-research-study .aenon-study-dek { font-size: 21px; line-height: 1.55; font-weight: 300; color: #52647a; margin-bottom: 24px; }
.aenon-research-study .aenon-study-byline { font-size: 14px; line-height: 1.5; margin-bottom: 6px; }
.aenon-research-study .aenon-study-meta { font-size: 12px; color: var(--aenon-study-muted); line-height: 1.5; }
.aenon-research-study .aenon-study-meta span { margin: 0 9px; }
.aenon-research-study .aenon-study-overview { border-top: 1px solid var(--aenon-study-rule); padding-top: 28px; margin-top: 32px; }
.aenon-research-study .aenon-study-overview p { margin-bottom: 20px; }
.aenon-research-study .aenon-study-takeaways { margin-top: 38px; }
.aenon-research-study .aenon-study-takeaways ol { list-style: none; padding: 0; margin: 0; }
.aenon-research-study .aenon-study-takeaways li { list-style: none; margin: 0; border-top: 1px solid var(--aenon-study-rule); display: flex; gap: 22px; padding: 23px 0; }
.aenon-research-study .aenon-study-takeaways .aenon-study-number { font-size: 25px; font-weight: 300; color: #8b9eb4; min-width: 31px; }
.aenon-research-study .aenon-study-takeaways p { font-size: 16px; line-height: 1.7; margin: 0; }
.aenon-research-study .aenon-study-report { min-width: 0; margin: 0; padding: 6px 0 0; border: 0; background: none; }
.aenon-research-study .aenon-study-report-cover { padding: 22px; background: var(--aenon-study-pale); border: 1px solid var(--aenon-study-rule); border-radius: 5px; margin-bottom: 20px; text-align: center; }
.aenon-research-study .aenon-study-report-cover img { display: block; max-width: 100%; max-height: 340px; width: auto; height: auto; margin: auto; border: 0; box-shadow: 0 5px 17px #182e491a; }
.aenon-research-study .aenon-study-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; background: var(--aenon-study-navy); border: 1px solid var(--aenon-study-navy); border-radius: 5px; color: #fff; padding: 12px 20px; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.5; text-transform: none; letter-spacing: normal; }
.aenon-research-study .aenon-study-button:hover { background: #254a74; color: #fff; text-decoration: none; }
.aenon-research-study .aenon-study-report .aenon-study-button { width: 100%; }
.aenon-research-study .aenon-study-file-meta { font-size: 12px; text-align: center; color: var(--aenon-study-muted); margin-top: 10px; margin-bottom: 32px; }
.aenon-research-study .aenon-study-report h2 { font-size: 18px; }
.aenon-research-study .aenon-study-report ul { margin: 0 0 17px; padding: 0 0 0 17px; font-size: 14px; line-height: 1.7; list-style: disc; }
.aenon-research-study .aenon-study-report li { margin: 0; padding: 0 0 10px; list-style: disc; }
.aenon-research-study .aenon-study-source-note { padding-top: 18px; border-top: 1px solid var(--aenon-study-rule); font-size: 12px; color: var(--aenon-study-muted); }
.aenon-research-study .aenon-study-transaction-link { font-size: 14px; margin-top: 22px; }
.aenon-research-study .aenon-study-transaction-link a { text-decoration: underline; text-underline-offset: 3px; }
.aenon-research-study .aenon-study-related { border-top: 1px solid var(--aenon-study-rule); padding-top: 32px; margin-top: 42px; }
.aenon-research-study .aenon-study-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.aenon-research-study .aenon-study-section-head > a { font-size: 13px; }
.aenon-research-study .aenon-study-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.aenon-research-study .aenon-study-related-item { border: 1px solid var(--aenon-study-rule); border-radius: 6px; padding: 24px; display: block; }
.aenon-research-study .aenon-study-related-item:hover { text-decoration: none; background: var(--aenon-study-pale); }
.aenon-research-study .aenon-study-related-item .aenon-study-eyebrow { display: block; margin-bottom: 10px; }
.aenon-research-study .aenon-study-related-item h3 { font-weight: 400; margin: 0 0 16px; }
.aenon-research-study .aenon-study-read-link { font-size: 13px; }
.aenon-research-study .aenon-study-read-link span { padding-left: 12px; }
.aenon-research-study .aenon-study-mobile-download { display: none; }

@media (max-width: 1000px) {
  .aenon-research-study .aenon-study-article-layout { gap: 38px; grid-template-columns: minmax(0, 1fr) 250px; }
  .aenon-research-study h1 { font-size: 41px; }
}

@media (max-width: 700px) {
  .aenon-research-study { padding: 25px 24px 40px; font-size: 16px; }
  .aenon-research-study .aenon-study-breadcrumb { font-size: 12px; margin-bottom: 28px; flex-wrap: wrap; }
  .aenon-research-study .aenon-study-article-layout { display: flex; flex-direction: column; gap: 30px; }
  .aenon-research-study h1 { font-size: 36px; line-height: 1.16; letter-spacing: -.6px; }
  .aenon-research-study .aenon-study-dek { font-size: 19px; }
  .aenon-research-study .aenon-study-eyebrow { font-size: 10px; letter-spacing: 1.15px; }
  .aenon-research-study .aenon-study-byline { font-size: 13px; }
  .aenon-research-study .aenon-study-takeaways li { gap: 17px; }
  .aenon-research-study .aenon-study-report { background: var(--aenon-study-pale); border-radius: 6px; padding: 23px; }
  .aenon-research-study .aenon-study-report-cover { background: #fff; max-width: 235px; margin: 0 auto 20px; }
  .aenon-research-study .aenon-study-report-cover img { max-height: 260px; }
  .aenon-research-study .aenon-study-related-grid { grid-template-columns: 1fr; }
  .aenon-research-study .aenon-study-section-head { align-items: flex-start; flex-direction: column; margin-bottom: 22px; gap: 0; }
  .aenon-research-study .aenon-study-section-head h2 { margin-bottom: 10px; }
  .aenon-research-study .aenon-study-related { margin-top: 30px; }
  .aenon-research-study .aenon-study-mobile-download { display: block; margin: 20px 0 0; font-size: 14px; }
  .aenon-research-study .aenon-study-mobile-download a { text-decoration: underline; text-underline-offset: 3px; }
}

/* End Aenon Research study styles */

/* Research study template integration — five approved pages only. */
body:is(.page-id-2209, .page-id-2211, .page-id-2213, .page-id-2215, .page-id-2217, .page-id-2262, .page-id-2293, .page-id-2249, .page-id-2251, .page-id-2253, .page-id-2255, .page-id-2259, .page-id-2264, .page-id-2269, .page-id-2274, .page-id-2297, .page-id-2299) #content > .container { width: 100%; max-width: 1180px; padding: 0; }
body:is(.page-id-2209, .page-id-2211, .page-id-2213, .page-id-2215, .page-id-2217, .page-id-2262, .page-id-2293, .page-id-2249, .page-id-2251, .page-id-2253, .page-id-2255, .page-id-2259, .page-id-2264, .page-id-2269, .page-id-2274, .page-id-2297, .page-id-2299) .content-left-wrap { padding: 0; }
body:is(.page-id-2209, .page-id-2211, .page-id-2213, .page-id-2215, .page-id-2217, .page-id-2262, .page-id-2293, .page-id-2249, .page-id-2251, .page-id-2253, .page-id-2255, .page-id-2259, .page-id-2264, .page-id-2269, .page-id-2274, .page-id-2297, .page-id-2299) .entry-content { margin: 0; }
.aenon-research-study p { text-align: left; }
.aenon-research-study .aenon-study-file-meta { text-align: center; }
.aenon-research-study a.aenon-study-button,
.aenon-research-study a.aenon-study-button:link,
.aenon-research-study a.aenon-study-button:visited,
.aenon-research-study a.aenon-study-button:hover,
.aenon-research-study a.aenon-study-button:focus { color: #fff !important; }

/* Keep mobile navigation above the fixed Latest ticker. */
@media (max-width: 767px) {
  #main-nav { z-index: 1030; }
}

/* Footer: copyright in white, on the same line as "Follow us on LinkedIn" and "Contact us via email".
   The LinkedIn icon above it was invisible (same colour as the background) and pushed it down. */
#footer .copyright ul.social { display: none; }
#footer #zerif-copyright { color: #fff; font-size: 16px; margin: 0; padding-top: 10px; }
#footer .zerif-footer-address, #footer .zerif-footer-address p, #footer .zerif-footer-email { text-align: center !important; }

/* Name links to the founder's profile take the size of the surrounding text */
a[href="https://aenon-group.com/our-team/franck-da-silva/"][style^="color:inherit;text-decoration:underline"] {
  font-size: inherit;
}
