/* container responsive widths */
/* sm:max-w-[540px] md:max-w-[720px]  lg:max-w-[960px] xl:max-w-[1140px] w-full mx-auto px-[15px] md:px-auto */

/* Investment management Select container widths if it has padding X 120px */
/* w-full mx-auto px-[15px] sm:max-w-[540px] md:max-w-[720px]  lg:max-w-[960px]  xl:max-w-none   xl:px-[120px]  */

/* text-base font-normal  mb-[1rem] tracking-[0.03em] leading-[1.8] text-[#333]   p tag or content or description  which is having 16px in old website then maintain these all over  */

/* <div class="grid grid-cols-1 md:grid-cols-12 items-center">
        <div class="md:col-span-8">
        </div>
        <div class="md:col-span-4">
        </div>
 </div>   use these type grid to get boostrap columns type widths*/

/* a tag hover styles */
/* text-[#333] hover:text-red-500 transition-all duration-300 ease-in-out */
@import url("https://fonts.googleapis.com/css2?family=Gayathri:wght@100;400;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");

/* WCAG 2.1 AA: Visible focus indicators */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid #003c7a;
  outline-offset: 2px;
}

/* WCAG 2.1 AA: Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.font-urbanist {
  font-family: "Urbanist", sans-serif;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: #aaa;
}

::-webkit-scrollbar-thumb {
  background-color: #000;
  border-radius: 5px;
}

::selection {
  background: #222;
  color: #fff;
}

::-moz-selection {
  background: #222;
  color: #fff;
}

::-moz-placeholder {
  color: #6b7280;
  opacity: 1;
}

::-ms-input-placeholder {
  color: #6b7280;
  opacity: 1;
}

::-webkit-input-placeholder {
  color: #6b7280;
  opacity: 1;
}

body {
  font-family: "Jost", sans-serif;
}
.accordion {
  transition: border-color 0.3s ease;
}

.accordion.active {
  border-color: #003c7a;
}

.accordion-button {
  transition: color 0.3s ease;
}

.accordion-button.text-red-500 {
  color: #757575;
}

.affix {
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
  background: #fff;
  padding-block: 24px !important;
  -webkit-box-shadow: 0 0 1.25rem rgba(30, 34, 40, 0.06);
  box-shadow: 0 0 1.25rem rgba(30, 34, 40, 0.06);
  color: #000 !important;
}
.font-urbanist {
  font-family: "Poppins", serif;
}

.font-authentic {
  font-family: "Poppins", serif;
}

.font-manrope {
  font-family: "Poppins", serif;
}

.active-link {
  color: #1fa674 !important;
}

#list-items a:hover,
#list-items-sub a:hover {
  color: #1fa674 !important;
}

.nav-links {
  transition: top 0.3s ease;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.swiper-button-prev:not(.testimonials-button-prev)::after,
.swiper-button-next:not(.testimonials-button-next)::after {
  content: "" !important;
  display: none !important;
}

.testimonials-swiper .swiper-wrapper {
  position: relative;
}

.transaction-swiper .swiper-wrapper {
  position: relative;
}

.transaction-swiper .swiper-button-prev:after {
  font-size: 1.875rem !important; /* 30px */
}

.transaction-swiper .swiper-button-next:after {
  font-size: 1.875rem !important; /* 30px */
}

.clientSection {
  background: #fff;
  padding-bottom: 70px;
}

.clientSection .clientHead {
  font-size: 1.125rem; /* 18px */
}

.clientScroll {
  padding-bottom: 30px;
}

.clientScroll .clientBox {
  width: 100%;
  height: 0;
  padding-bottom: 60%;
  position: relative;
}

.clientScroll .clientBox img {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: contain;
  transition: all 0.3s ease;
}

.clientScroll .swiper-slide:nth-child(2) .clientBox {
  transition-delay: 0.1s;
}

.clientScroll .swiper-slide:nth-child(3) .clientBox {
  transition-delay: 0.2s;
}

.clientScroll .swiper-slide:nth-child(4) .clientBox {
  transition-delay: 0.3s;
}

.clientScroll .swiper-slide:nth-child(5) .clientBox {
  transition-delay: 0.4s;
}

.clientScroll .swiper-slide:nth-child(6) .clientBox {
  transition-delay: 0.5s;
}

.clientScroll .swiper-slide:nth-child(7) .clientBox {
  transition-delay: 0.6s;
}

.clientScroll .swiper-slide:nth-child(8) .clientBox {
  transition-delay: 0.7s;
}

.socialIcons a:before {
  width: 40px;
  height: 40px;
  border: 0 solid #fff;
  background: #007543;
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0) scale(1.8);
  opacity: 0;
  z-index: 0;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  pointer-events: none;
}

.preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 999999;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  transition: all 1s ease;
}

.preloader:before {
  width: 50%;
  height: 100%;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
}

.preloader:after {
  width: 50%;
  height: 100%;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  background: #fff;
}

.preloader.complete:after,
.preloader.complete:before {
  animation: loader 0.5s forwards;
}

.status {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 143px;
  height: 46px;
  z-index: 9;
  opacity: 1;
}

.status img {
  width: 100%;
  height: auto;
}

.preloader.complete .status {
  opacity: 0;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

@-webkit-keyframes loader {
  0% {
    width: 50%;
  }

  100% {
    width: 0%;
  }
}

@-moz-keyframes loader {
  0% {
    width: 50%;
  }

  100% {
    width: 0%;
  }
}

@keyframes loader {
  0% {
    width: 50%;
  }

  100% {
    width: 0%;
  }
}

/* WCAG 2.1 AA: Override inline styles for read-more links to ensure proper contrast */
.read-more {
  color: #dc2626 !important; /* Tailwind red-600 */
  background-color: transparent !important;
}

/* WCAG 1.4.3: Override JS-injected green background on buttons */
a.bg-\[\\#EC2024\],
button.bg-\[\\#EC2024\],
a[href*="transactions"].bg-\[\\#EC2024\],
.group.bg-\[\\#EC2024\] {
  background-color: #ec2024 !important;
  color: #ffffff !important;
}

/* WCAG 1.4.3: Override JS-injected inline styles on dark backgrounds */
.bg-\[\\#003c7a\] {
  background-color: #003c7a !important;
  color: #ffffff !important;
}

/* Offset anchor scroll so the fixed header doesn't cover the heading */
#careers {
  scroll-margin-top: 90px;
}
@media (min-width: 1280px) {
  #careers {
    scroll-margin-top: 150px;
  }
}

/* Apply Now button */
.apply-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 25px;
  border: 1px solid #ffffff;
  border-radius: 50rem;
  background-color: transparent;
  color: #fff;
  font-family: inherit;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}
.apply-now-btn:hover,
.apply-now-btn:focus-visible {
  background-color: #16a34a;
  border-color: #16a34a;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.3);
}
.apply-now-btn:active {
  transform: translateY(-1px) scale(0.97);
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.25);
}
.apply-now-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}
.apply-now-btn__icon { transition: transform 0.3s ease; }
.apply-now-btn:hover .apply-now-btn__icon { transform: translateX(4px); }

/* Apply Now modal */
.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.apply-modal.is-open { display: flex; }
.apply-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 32, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.apply-modal.is-visible .apply-modal__backdrop { opacity: 1; }
.apply-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(90deg, #ededed 0%, #f0f4f5 55%, #ebfbff 100%);
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.apply-modal.is-visible .apply-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (max-width: 640px) {
  .apply-modal__panel { border-radius: 12px; max-height: 94vh; }
}
.apply-modal__header {
  position: relative;
  flex-shrink: 0;
  padding: 12px 32px 8px;
}
.apply-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 32px 18px;
}
@media (max-width: 640px) {
  .apply-modal__header { padding: 10px 20px 6px; }
  .apply-modal__body { padding: 0 20px 16px; }
}
.apply-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f2f2f2;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.apply-modal__close:hover { background: #ff0b28; color: #fff; transform: rotate(90deg); }
.apply-modal__close:focus-visible { outline: 2px solid #004780; outline-offset: 2px; }
.apply-modal__title { font-size: 17px; font-weight: 700; color: #333; margin-bottom: 2px; padding-right: 36px; }
.apply-modal__subtitle { font-size: 11.5px; color: #6c757d; margin-bottom: 0; }
.apply-modal__subtitle .req { color: #ec2024; font-weight: 600; }

.apply-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.apply-form__field--full { grid-column: 1 / -1; position: relative; }
@media (max-width: 640px) {
  .apply-form__grid { grid-template-columns: 1fr; }
}
.apply-form__label { display: block; font-size: 12.5px; font-weight: 600; color: #333; margin-bottom: 3px; }
.apply-form__label .req { color: #ec2024; }
.apply-form__control {
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 14px;
  color: #333;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.apply-form__control::placeholder { color: #9a9a9a; }
.apply-form__control:focus {
  outline: none;
  border-color: #004780;
  box-shadow: 0 0 0 3px rgba(0, 71, 128, 0.15);
}
.apply-form__control[aria-invalid="true"] { border-color: #ec2024; }
.apply-form__control[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(236, 32, 36, 0.15); }
textarea.apply-form__control { resize: vertical; min-height: 44px; }
.apply-form__error { display: block; min-height: 12px; font-size: 11.5px; color: #ec2024; margin-top: 2px; }

.apply-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px dashed #b9c6d3;
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.apply-upload:hover { border-color: #004780; background: #f5f9fd; }
#ja_resume {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.apply-upload__icon { flex-shrink: 0; color: #004780; }
.apply-upload__text { font-size: 13px; color: #6c757d; }
.apply-upload__filename {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.apply-upload__remove { border: none; background: none; color: #ec2024; font-size: 12px; text-decoration: underline; cursor: pointer; padding: 0; }
.apply-upload__spinner,
.apply-submit-btn__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #d5d5d5;
  border-top-color: #004780;
  border-radius: 50%;
  animation: apply-spin 0.7s linear infinite;
}
.apply-submit-btn__spinner { width: 18px; height: 18px; border: 2.5px solid rgba(0,71,128,0.3); border-top-color: #004780; }
@keyframes apply-spin { to { transform: rotate(360deg); } }

.apply-form__submit-row { margin-top: 4px; }
.apply-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 1.5px solid #004780;
  border-radius: 50rem;
  background: rgba(0, 71, 128, 0.1);
  color: #004780;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  padding: 10px 20px;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.apply-submit-btn:hover:not(:disabled) { background: #16a34a; border-color: #16a34a; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(22, 163, 74, 0.28); }
.apply-submit-btn:active:not(:disabled) { transform: translateY(0) scale(0.98); }
.apply-submit-btn:focus-visible { outline: 2px solid #004780; outline-offset: 3px; }
.apply-submit-btn:disabled { opacity: 0.75; cursor: not-allowed; }

.apply-form__notice {
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: apply-fade-in 0.3s ease;
}
.apply-form__notice--success { background: #e6f6ec; color: #146c2e; border: 1px solid #b7e4c7; }
.apply-form__notice--error { background: #fdeceb; color: #a4231b; border: 1px solid #f3b7b1; }
@keyframes apply-fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.apply-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  animation: apply-fade-in 0.35s ease;
}
.apply-success-state__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e6f6ec;
  border: 1px solid #b7e4c7;
  margin-bottom: 16px;
}
.apply-success-state__title { font-size: 19px; font-weight: 700; color: #146c2e; margin-bottom: 8px; }
.apply-success-state__text { font-size: 14px; color: #4a5560; max-width: 380px; line-height: 1.5; }

.apply-hidden { display: none !important; }
.apply-modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .apply-now-btn,
  .apply-modal__backdrop,
  .apply-modal__panel,
  .apply-now-btn__icon,
  .apply-modal__close,
  .apply-submit-btn,
  .apply-form__notice {
    transition: none !important;
    animation: none !important;
  }
}

/* Mobile "View All" row transaction-carousel arrows (Latest Transactions,
   homepage): swiper.min.css loads after output.css and sets
   .swiper-button-prev/.swiper-button-next to position:absolute at the
   carousel's vertical center with equal CSS specificity to Tailwind's
   .relative, so it silently wins and floats these buttons over the card
   text instead of sitting inline next to "View All". Force them back into
   normal flex flow. Click-to-navigate still works - Swiper binds to the
   unchanged .swiper-button-prev/.swiper-button-next classes. */
.swiper-button-prev--inline,
.swiper-button-next--inline {
  position: static !important;
  top: auto !important;
  margin-top: 0 !important;
}

/* Desktop-only floating carousel arrows (same section): swiper.min.css's
   base display:flex (no !important) beats Tailwind's plain .hidden at every
   width once it loads after output.css, so this pair stayed visible - and
   centered over the card text - on mobile too, instead of only showing at
   the lg breakpoint as intended. */
.swiper-button-prev--desktop,
.swiper-button-next--desktop {
  display: none !important;
}
@media (min-width: 1024px) {
  .swiper-button-prev--desktop,
  .swiper-button-next--desktop {
    display: flex !important;
  }
}

/* Investment Banking header: same look as the main-site header - same logo size, same text size steps
   (11px at 1024px up to 20px at 1670px and wider), the same spacing between items and the menu
   on the right of the logo, all on one line. */
@media (min-width: 1024px) {
  header.navscroll > div, header > nav > div { max-width: none !important; padding-left: 15px !important; padding-right: 15px !important; }
}
@media (min-width: 1536px) {
  header.navscroll > div, header > nav > div { padding-left: 50px !important; padding-right: 50px !important; }
}
@media (min-width: 1024px) {
  header.navscroll #hero-navbar > ul { flex: 1 1 auto; justify-content: flex-end; margin-left: 24px; }
  header.navscroll #hero-navbar > ul a { white-space: nowrap; }
  header.navscroll #hero-navbar > a img, header #main-logo { width: 200px !important; min-width: 200px; flex-shrink: 0; }
  header:has(#main-logo) #list-items { margin-left: 24px; }
  header:has(#main-logo) #list-items a { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1104px) {
  header.navscroll #hero-navbar > ul { column-gap: 6px; }
  header.navscroll #hero-navbar > ul a { font-size: 11px; }
  header:has(#main-logo) #list-items a { font-size: 11px; }
}
@media (min-width: 1105px) and (max-width: 1189px) {
  header.navscroll #hero-navbar > ul { column-gap: 8px; }
  header.navscroll #hero-navbar > ul a { font-size: 12px; }
  header:has(#main-logo) #list-items a { font-size: 12px; }
}
@media (min-width: 1190px) and (max-width: 1244px) {
  header.navscroll #hero-navbar > ul { column-gap: 14px; }
  header.navscroll #hero-navbar > ul a { font-size: 13px; }
  header:has(#main-logo) #list-items a { font-size: 13px; }
}
@media (min-width: 1245px) and (max-width: 1304px) {
  header.navscroll #hero-navbar > ul { column-gap: 14px; }
  header.navscroll #hero-navbar > ul a { font-size: 14px; }
  header:has(#main-logo) #list-items a { font-size: 14px; }
}
@media (min-width: 1305px) and (max-width: 1359px) {
  header.navscroll #hero-navbar > ul { column-gap: 14px; }
  header.navscroll #hero-navbar > ul a { font-size: 15px; }
  header:has(#main-logo) #list-items a { font-size: 15px; }
}
@media (min-width: 1360px) and (max-width: 1424px) {
  header.navscroll #hero-navbar > ul { column-gap: 14px; }
  header.navscroll #hero-navbar > ul a { font-size: 16px; }
  header:has(#main-logo) #list-items a { font-size: 16px; }
}
@media (min-width: 1425px) and (max-width: 1544px) {
  header.navscroll #hero-navbar > ul { column-gap: 14px; }
  header.navscroll #hero-navbar > ul a { font-size: 17px; }
  header:has(#main-logo) #list-items a { font-size: 17px; }
}
@media (min-width: 1545px) and (max-width: 1669px) {
  header.navscroll #hero-navbar > ul { column-gap: 14px; }
  header.navscroll #hero-navbar > ul a { font-size: 18px; }
  header:has(#main-logo) #list-items a { font-size: 18px; }
}
@media (min-width: 1670px) {
  header.navscroll #hero-navbar > ul { column-gap: clamp(14px, calc(14px + (100vw - 1675px) / 8), 28px); }
  header.navscroll #hero-navbar > ul a { font-size: 20px; }
  header:has(#main-logo) #list-items a { font-size: 20px; }
}


/* Landing page header: between 1024px and 1189px the nine labels need a little more room next to the logo */
@media (min-width: 1024px) and (max-width: 1189px) {
  header:has(#main-logo) #list-items a { padding-left: 4px; padding-right: 4px; }
  header #main-logo { width: 150px !important; min-width: 150px; }
}

/* Investment Banking header: start the menu close to the logo and spread the items evenly to the right edge
   (as on the home page); the spacing set above stays as the minimum gap between items. */
@media (min-width: 1024px) {
  header.navscroll #hero-navbar > ul { justify-content: space-between; margin-left: clamp(10px, calc(10px + (100vw - 1100px) * 0.2), 90px); }
  header:has(#main-logo) #list-items { justify-content: space-between; }
}

/* Header text: larger on wide screens (13px from 1160px, 14px from 1200px, then 19px at 1600px up to 24px at 1920px),
   the largest size that still fits on one line with room between the items. */
@media (min-width: 1160px) and (max-width: 1189px) {
  header.navscroll #hero-navbar > ul a { font-size: 13px; }
  header:has(#main-logo) #list-items a { font-size: 13px; }
}
@media (min-width: 1200px) and (max-width: 1244px) {
  header.navscroll #hero-navbar > ul a { font-size: 14px; }
  header:has(#main-logo) #list-items a { font-size: 14px; }
}
@media (min-width: 1650px) and (max-width: 1699px) {
  header.navscroll #hero-navbar > ul a { font-size: 19px; }
  header:has(#main-logo) #list-items a { font-size: 19px; }
}
@media (min-width: 1700px) and (max-width: 1759px) {
  header.navscroll #hero-navbar > ul a { font-size: 20px; }
  header:has(#main-logo) #list-items a { font-size: 20px; }
}
@media (min-width: 1760px) and (max-width: 1839px) {
  header.navscroll #hero-navbar > ul a { font-size: 21px; }
  header:has(#main-logo) #list-items a { font-size: 21px; }
}
@media (min-width: 1840px) and (max-width: 1879px) {
  header.navscroll #hero-navbar > ul a { font-size: 22px; }
  header:has(#main-logo) #list-items a { font-size: 22px; }
}
@media (min-width: 1880px) and (max-width: 1919px) {
  header.navscroll #hero-navbar > ul a { font-size: 23px; }
  header:has(#main-logo) #list-items a { font-size: 23px; }
}
@media (min-width: 1920px) {
  header.navscroll #hero-navbar > ul a { font-size: 24px; }
  header:has(#main-logo) #list-items a { font-size: 24px; }
}

/* Header text: up to 28px on very wide screens (25px from 2000px, 26px from 2040px, 27px from 2100px, 28px from 2160px);
   below that the sizes above apply, so the menu always stays on one line. */
@media (min-width: 2000px) and (max-width: 2039px) {
  header.navscroll #hero-navbar > ul a { font-size: 25px; }
  header:has(#main-logo) #list-items a { font-size: 25px; }
}
@media (min-width: 2040px) and (max-width: 2099px) {
  header.navscroll #hero-navbar > ul a { font-size: 26px; }
  header:has(#main-logo) #list-items a { font-size: 26px; }
}
@media (min-width: 2100px) and (max-width: 2159px) {
  header.navscroll #hero-navbar > ul a { font-size: 27px; }
  header:has(#main-logo) #list-items a { font-size: 27px; }
}
@media (min-width: 2160px) {
  header.navscroll #hero-navbar > ul a { font-size: 28px; }
  header:has(#main-logo) #list-items a { font-size: 28px; }
}

/* Header text: 16px from 1280px and 15px from 1245px (the size of the live site); the minimum space between items
   is 8px in this range so the menu still fits on one line with the 200px logo. */
@media (min-width: 1245px) and (max-width: 1279px) {
  header.navscroll #hero-navbar > ul a { font-size: 15px; }
  header:has(#main-logo) #list-items a { font-size: 15px; }
  header.navscroll #hero-navbar > ul { column-gap: 8px; }
}
@media (min-width: 1280px) and (max-width: 1359px) {
  header.navscroll #hero-navbar > ul a { font-size: 16px; }
  header:has(#main-logo) #list-items a { font-size: 16px; }
  header.navscroll #hero-navbar > ul { column-gap: 8px; }
}

/* Landing page header: between 1190px and 1359px the nine labels need less space around each label to fit
   next to the 200px logo; the menu pill must never run past the right edge. */
@media (min-width: 1190px) and (max-width: 1359px) {
  header:has(#main-logo) #list-items a { padding-left: 4px; padding-right: 4px; }
}

/* Investment Banking header text: 1px smaller than the main-site size at every width (10px at the smallest). */
@media (min-width: 1024px) and (max-width: 1104px) {
  header.navscroll #hero-navbar > ul a { font-size: 10px; }
  header:has(#main-logo) #list-items a { font-size: 10px; }
}
@media (min-width: 1105px) and (max-width: 1159px) {
  header.navscroll #hero-navbar > ul a { font-size: 11px; }
  header:has(#main-logo) #list-items a { font-size: 11px; }
}
@media (min-width: 1160px) and (max-width: 1199px) {
  header.navscroll #hero-navbar > ul a { font-size: 12px; }
  header:has(#main-logo) #list-items a { font-size: 12px; }
}
@media (min-width: 1200px) and (max-width: 1244px) {
  header.navscroll #hero-navbar > ul a { font-size: 13px; }
  header:has(#main-logo) #list-items a { font-size: 13px; }
}
@media (min-width: 1245px) and (max-width: 1279px) {
  header.navscroll #hero-navbar > ul a { font-size: 14px; }
  header:has(#main-logo) #list-items a { font-size: 14px; }
}
@media (min-width: 1280px) and (max-width: 1424px) {
  header.navscroll #hero-navbar > ul a { font-size: 15px; }
  header:has(#main-logo) #list-items a { font-size: 15px; }
}
@media (min-width: 1425px) and (max-width: 1544px) {
  header.navscroll #hero-navbar > ul a { font-size: 16px; }
  header:has(#main-logo) #list-items a { font-size: 16px; }
}
@media (min-width: 1545px) and (max-width: 1599px) {
  header.navscroll #hero-navbar > ul a { font-size: 17px; }
  header:has(#main-logo) #list-items a { font-size: 17px; }
}
@media (min-width: 1650px) and (max-width: 1699px) {
  header.navscroll #hero-navbar > ul a { font-size: 18px; }
  header:has(#main-logo) #list-items a { font-size: 18px; }
}
@media (min-width: 1700px) and (max-width: 1759px) {
  header.navscroll #hero-navbar > ul a { font-size: 19px; }
  header:has(#main-logo) #list-items a { font-size: 19px; }
}
@media (min-width: 1760px) and (max-width: 1839px) {
  header.navscroll #hero-navbar > ul a { font-size: 20px; }
  header:has(#main-logo) #list-items a { font-size: 20px; }
}
@media (min-width: 1840px) and (max-width: 1879px) {
  header.navscroll #hero-navbar > ul a { font-size: 21px; }
  header:has(#main-logo) #list-items a { font-size: 21px; }
}
@media (min-width: 1880px) and (max-width: 1919px) {
  header.navscroll #hero-navbar > ul a { font-size: 22px; }
  header:has(#main-logo) #list-items a { font-size: 22px; }
}
@media (min-width: 1920px) and (max-width: 1999px) {
  header.navscroll #hero-navbar > ul a { font-size: 23px; }
  header:has(#main-logo) #list-items a { font-size: 23px; }
}
@media (min-width: 2000px) and (max-width: 2039px) {
  header.navscroll #hero-navbar > ul a { font-size: 24px; }
  header:has(#main-logo) #list-items a { font-size: 24px; }
}
@media (min-width: 2040px) and (max-width: 2099px) {
  header.navscroll #hero-navbar > ul a { font-size: 25px; }
  header:has(#main-logo) #list-items a { font-size: 25px; }
}
@media (min-width: 2100px) and (max-width: 2159px) {
  header.navscroll #hero-navbar > ul a { font-size: 26px; }
  header:has(#main-logo) #list-items a { font-size: 26px; }
}
@media (min-width: 2160px) {
  header.navscroll #hero-navbar > ul a { font-size: 27px; }
  header:has(#main-logo) #list-items a { font-size: 27px; }
}

/* Investment Banking home page header: more space between the menu items - 12px beside each label from 1360px
   (24px between items), 6px from 1024px to 1359px - and the menu still fits inside the screen. */
@media (min-width: 1024px) and (max-width: 1359px) {
  header:has(#main-logo) #list-items a { padding-left: 6px !important; padding-right: 6px !important; }
}
@media (min-width: 1360px) {
  header:has(#main-logo) #list-items a { padding-left: 12px; padding-right: 12px; }
}

/* Header balance on large screens: equal space left and right (content capped at 2400px). On the home page the menu is
   spread from the logo to the right edge, like the inner pages. */
@media (min-width: 1536px) {
  header.navscroll > div, header > nav > div { padding-left: max(50px, calc((100vw - 2400px) / 2)) !important; padding-right: max(50px, calc((100vw - 2400px) / 2)) !important; }
}
@media (min-width: 1024px) {
  header > nav > div { max-width: none !important; }
  header.navscroll #hero-navbar > ul { margin-left: clamp(10px, calc(10px + (min(100vw, 2450px) - 1100px) * 0.2), 90px); }
  header:has(#main-logo) div:has(> #list-items) { flex: 1 1 auto; margin-left: clamp(10px, calc(10px + (min(100vw, 2450px) - 1100px) * 0.1), 32px); }
  header:has(#main-logo) #list-items { width: 100%; justify-content: space-between; }
}

/* Investment Banking header text at 1600-1649px: 17px (the larger step starts at 1650px). */
@media (min-width: 1600px) and (max-width: 1649px) {
  header.navscroll #hero-navbar > ul a { font-size: 17px; }
  header:has(#main-logo) #list-items a { font-size: 17px; }
}
/* Offer Document table */
.offer-doc-wrap { position: relative; min-height: 200px; }
.offer-doc-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.offer-doc-table { width: 100%; min-width: 820px; border-collapse: collapse; text-align: left; font-size: 14px; color: #333; }
.offer-doc-table thead { background: #d9ecf7; }
.offer-doc-table th { padding: 12px 16px; font-weight: 500; font-size: 13px; line-height: 1.35; vertical-align: middle; }
.offer-doc-table thead th { font-weight: 700; font-size: 15px; }
.offer-doc-table td { padding: 14px 16px; border-bottom: 1px solid #e5e7eb; vertical-align: middle; }
.offer-doc-table tbody tr:hover { background: #f3f9fd; }
.offer-doc-table .offer-doc-center { text-align: center; }
.offer-doc-links { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.offer-doc-link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 4px; color: #00477f; cursor: pointer; }
.offer-doc-link:hover, .offer-doc-link:focus-visible { background: #d9ecf7; color: #e53935; }
.offer-doc-link svg { width: 18px; height: 18px; }
.offer-doc-loading { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.8); }
.offer-doc-loading[hidden], .offer-doc-state[hidden], .offer-doc-pager[hidden] { display: none; }
.offer-doc-state { text-align: center; padding: 40px 0; color: #4b5563; }
.offer-doc-state-error { color: #dc2626; }
.offer-doc-pager { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 40px; }
.offer-doc-pages { display: flex; gap: 4px; }
.offer-doc-page-btn { width: 30px; height: 30px; border-radius: 30px; font-size: 12px; background: #fff; color: #333; cursor: pointer; }
.offer-doc-page-btn:hover, .offer-doc-page-btn[aria-current="page"] { background: #1d1d1d; color: #fff; }
.offer-doc-nav-btn { padding: 8px 12px; font-size: 14px; color: #000; cursor: pointer; }
.offer-doc-nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.offer-doc-table tbody th { font-size: 14px; line-height: normal; padding: 14px 16px; border-bottom: 1px solid #e5e7eb; vertical-align: middle; }
