/* SIP 2027 site-specific overrides. Loaded after the theme styles. */

/* Preserve the intrinsic 515 × 123 logo ratio. The theme previously applied
   only a maximum height while the HTML width attribute remained fixed, which
   stretched the logo horizontally. */
.navbar-brand.logochange,
.navbar-brand {
  flex: 0 0 auto;
}

.navbar-brand.logochange img,
.navbar-brand img#logo,
.navbar-brand img {
  display: block;
  width: auto !important;
  height: 72px !important;
  max-width: min(100%, 360px);
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.scrollHeader .navbar-brand.logochange img,
.scrollHeader .navbar-brand img#logo,
.scrollHeader .navbar-brand img {
  width: auto !important;
  height: 58px !important;
  max-height: 58px;
}

.footer-logo img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(100%, 360px);
  object-fit: contain;
}

@media screen and (max-width: 1199px) {
  .navbar-brand.logochange img,
  .navbar-brand img#logo,
  .navbar-brand img {
    width: auto !important;
    height: 64px !important;
    max-width: 300px;
    max-height: 64px;
  }
}

@media screen and (max-width: 991px) {
  .navbar-brand.logochange img,
  .navbar-brand img#logo,
  .navbar-brand img {
    width: auto !important;
    height: 54px !important;
    max-width: 245px;
    max-height: 54px;
  }
}

@media screen and (max-width: 575px) {
  .navbar-brand.logochange img,
  .navbar-brand img#logo,
  .navbar-brand img {
    width: auto !important;
    height: 46px !important;
    max-width: 205px;
    max-height: 46px;
  }
}

/* Accessible keyboard focus without changing the visual theme. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(15, 119, 116, 0.45);
  outline-offset: 3px;
}

/* Prevent disabled payment links from behaving like active controls. */
a.disabled[aria-disabled="true"] {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.58;
}

/* Keep wide fee tables readable on small screens. */
.table-responsive th,
.table-responsive td {
  vertical-align: middle;
}

.table-responsive thead small {
  display: inline-block;
  margin-top: 4px;
  font-weight: 500;
  line-height: 1.35;
}


/* AIGS 2027 — Section heading spacing */
.inner-title.mt-5 {
    margin-top: 4rem !important;
}


/* AIGS Scopus — Final Spacing Correction */

#aigs-scopus-verification {
    display: block !important;
    padding: 0 !important;
    margin: 22px 0 24px !important;
    min-height: 0 !important;
    height: auto !important;
}

#aigs-scopus-verification .scopus-feature {
    margin: 0 !important;
    padding: 28px 30px !important;
}

#aigs-scopus-verification + p {
    margin-top: 0 !important;
}

/* Reduce the space below the introductory title */
.section-title:has(+ p + #aigs-scopus-verification) {
    margin-bottom: 22px !important;
}

/* Mobile */
@media (max-width: 767px) {
    #aigs-scopus-verification {
        margin: 16px 0 20px !important;
    }

    #aigs-scopus-verification .scopus-feature {
        padding: 20px 16px !important;
    }
}

