/* ==========================================================================
   ADI WEBSITE STYLESHEET
   Version: 3.1
   Bootstrap 5 First Architecture
   Production CSS
   Reorganized and updated: 2026-08-09
   ========================================================================== */

 /* --------------------------------------------------------------------------
    CONTENT MAP
    1. Root variables and brand tokens
    2. Base element defaults
    3. Typography
    4. Layout utilities
    5. Navigation and Drupal regions
    6. Buttons and navigation controls
    7. Badges, cards, and images
    8. Hero system
    9. CTA system
   10. Options, project history, and trust
   11. Why Us and testimonials
   12. Alerts, forms, and Drupal dialogs
   13. Books and documentation
   14. Video and modal helpers
   15. Footer, translate, and Drupal fixes
   16. Core responsive rules
   17. Decide section
   18. Front-page foundation
   19. ADI iframe modal
   20. Direct-page recovery guide
   21. Final responsive refinements
   22. Front-page icon overrides
   23. Webform submit button
    -------------------------------------------------------------------------- */
 

/* ==========================================================================
   1. ROOT VARIABLES
   ========================================================================== */

:root {
  --brand-blue: #111188;
  --brand-blue-light: #f7f8ff;
  --brand-green: #118811;
  --brand-green-hover: #0c660c;
  --brand-yellow: #ffdd44;
  --brand-yellow-hover: #e6c63d;

  --adi-white: #ffffff;
  --adi-off-white: #fafafa;
  --adi-light: #f4f6fb;
  --adi-gray: #d8dce6;
  --adi-dark-gray: #4b5563;
  --adi-black: #202124;

  --body-background-color: #e5e5e5;
  --body-background: #e5e5e5;

  --font-heading: "Outfit", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --content-width: 1320px;
  --wide-width: 1500px;
  --reading-width: 860px;

  --radius-sm: .25rem;
  --radius: .5rem;
  --radius-lg: .75rem;
  --radius-xl: 1rem;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);

  --transition-fast: .18s ease;
  --transition: .25s ease;

  /* One authoritative vertical rhythm for all sections. */
  --section-space: 2.5rem;
  --section-space-mobile: 2rem;
  --page-edge-space: 1rem;
}

.adi-border-yellow-6 {
  border-top: 6px solid #FFDD44 !important;
  border-bottom: 6px solid #FFDD44 !important;
}
.adi-border-yellow-6-left {
  border-left: 6px solid #FFDD44 !important;		
}


/* ==========================================================================
   2. BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--brand-blue);
  background-color: var(--body-background-color);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
  margin-top: 5.75rem;
}

article {
  margin-top: 0;
}

section {
  position: relative;
  margin: 0;
  padding: var(--section-space) 0;
  background-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
}

table {
  caption-side: unset;
}

code {
  overflow-y: auto;
}

em.placeholder {
  display: unset;
  min-height: unset;
  vertical-align: unset;
  cursor: unset;
  background-color: unset;
  opacity: unset;
}

::selection {
  background-color: var(--brand-yellow);
  color: var(--brand-blue);
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: var(--font-heading);
  color: var(--brand-blue);
  font-weight: 700;
  line-height: 1.2;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--brand-green);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-green-hover);
  text-decoration: none;
}

.display-title,
.adi-display-title {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
}

.section-title,
.adi-section-title {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-bottom: .75rem;
}

.section-subtitle,
.adi-section-subtitle {
  max-width: 920px;
  margin: 0 auto 2rem;
  color: var(--adi-dark-gray);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 400;
  line-height: 1.65;
}

.lead {
  color: var(--adi-dark-gray);
  font-size: 1.2rem;
  line-height: 1.8;
}

p.topics {
  font-size: 1.3rem;
  font-weight: 300;
}


/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */

.container-wide,
.adi-container-wide {
  width: min(100% - 2rem, var(--wide-width));
  margin-inline: auto;
}

.container-reading,
.section-reading,
.adi-reading {
  width: min(100% - 2rem, var(--reading-width));
  margin-inline: auto;
}

.section-white {
  background-color: var(--adi-white);
}

.section-light {
  background-color: var(--adi-light);
}

.section-blue {
  background-color: var(--brand-blue);
  color: var(--adi-white);
}

.section-blue h1,
.section-blue h2,
.section-blue h3,
.section-blue h4,
.section-blue h5,
.section-blue h6 {
  color: var(--adi-white);
}


/* ==========================================================================
   5. NAVIGATION & DRUPAL REGIONS
   ========================================================================== */

.navbar {
  background-color: var(--brand-blue);
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.navbar-brand {
  position: relative;
  min-height: 5rem;
  padding-left: 1rem;
  color: var(--adi-white) !important;
  white-space: normal;
}

.navbar-brand img {
  position: absolute;
  z-index: 100;
  width: auto;
  height: 120px;
  margin: 0 1rem 0 0;
}

.navbar-brand .site-title {
  display: block;
  margin-left: 140px;
  color: var(--adi-white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.navbar-brand .site-slogan {
  color: var(--brand-yellow);
}

.nav-link {
  color: rgba(255,255,255,.88) !important;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand-yellow) !important;
}

.region-nav-branding,
.region-nav-additional {
  flex-shrink: 0;
}


/* ==========================================================================
   6. BUTTONS
   ========================================================================== */

.btn-primary-custom,
.btn-book,
.adi-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background-color: var(--brand-green);
  border: 2px solid var(--brand-green);
  color: var(--adi-white) !important;
  font-weight: 600;
  border-radius: var(--radius);
  padding: .85rem 1.6rem;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-primary-custom:hover,
.btn-book:hover,
.adi-btn-primary:hover {
  background-color: var(--brand-green-hover);
  border-color: var(--brand-green-hover);
  color: var(--adi-white) !important;
  transform: translateY(-2px);
}

.btn-outline-custom,
.adi-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background-color: transparent;
  border: 2px solid var(--brand-green);
  color: var(--brand-green) !important;
  font-weight: 600;
  border-radius: var(--radius);
  padding: .85rem 1.6rem;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-outline-custom:hover,
.adi-btn-outline:hover {
  background-color: var(--brand-green);
  color: var(--adi-white) !important;
}

.button-couple-border {
  border: 1px solid var(--brand-green);
  border-radius: var(--radius-sm);
  background-color: var(--brand-green);
}


/* Back / Forward book navigation buttons */

.back-link-btn,
.forward-link-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 36px;
  background-color: var(--brand-green);
  color: var(--adi-white) !important;
  font-weight: 400;
  text-decoration: none;
  transition: all var(--transition);
}

.back-link-btn {
  justify-content: flex-start;
  padding: 0 15px 0 12px;
  border-radius: 15px 4px 4px 15px;
}

.forward-link-btn {
  justify-content: flex-end;
  padding: 0 12px 0 15px;
  border-radius: 4px 15px 15px 4px;
}

.back-link-btn:hover,
.forward-link-btn:hover {
  background-color: var(--brand-green-hover);
  color: var(--adi-white) !important;
}

.back-link-btn:hover {
  padding: 0 18px 0 9px;
}

.forward-link-btn:hover {
  padding: 0 9px 0 18px;
}

.arrow,
.arrow-forward {
  display: inline-block;
  font-size: 130%;
  line-height: 1;
}

.arrow {
  transform: translateY(-1px);
}

.arrow-forward {
  transform: translateY(1px);
}


/* ==========================================================================
   7. BADGES, CARDS, IMAGES
   ========================================================================== */

.badge-custom {
  display: inline-block;
  background-color: var(--brand-yellow);
  color: var(--brand-blue);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .375rem .75rem;
  border-radius: var(--radius-sm);
}

.adi-card,
.feature-card,
.menu-card,
.reason-card,
.info-card,
.option-card {
  background-color: var(--adi-white);
  border: 1px solid rgba(17,17,136,.09);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.adi-card:hover,
.feature-card:hover,
.menu-card:hover,
.reason-card:hover,
.info-card:hover,
.option-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(17,17,136,.18);
}

.feature-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(17,17,136,.09);
}

.feature-title {
  padding: 1rem 1rem 0;
  color: var(--brand-green);
  font-size: 2rem;
}

.feature-text {
  padding: 0 1rem;
  color: var(--brand-blue);
  font-size: 1rem;
}

.img-rounded {
  border-radius: var(--radius);
}

.img-shadow {
  box-shadow: var(--shadow);
}


/* ==========================================================================
   8. HERO SYSTEM
   ========================================================================== */

.hero-section,
.adi-hero {
  background-color: var(--body-background-color);
}

.hero-shell {
  width: min(100% - 2rem, var(--wide-width));
  margin-inline: auto;
  padding: 0;
}

.hero-chapter,
.hero-hook,
.hero-fold-inner,
.hero-panel {
  background-color: var(--adi-white);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.hero-chapter .hero-points,
.hero-hook .hero-points,
.hero-fold-inner .hero-points {
  display: inline-block;
  text-align: left;
}

.hero-points {
  padding-left: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
  color: var(--brand-blue);
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.45;
}

.hero-points em {
  font-style: normal;
}

.hero-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--adi-white);
  border: 1px solid rgba(17,17,136,.08);
  color: var(--brand-green);
  font-size: 1.45rem;
  line-height: 1;
}

.hero-points li.hero-caution .hero-point-icon,
.hero-caution .hero-point-icon {
  background-color: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: var(--brand-blue);
}

.hero-caution {
  font-weight: 600;
}

.hero-question-list {
  width: min(100%, 860px);
  margin: 1.5rem auto 0;
  padding: 0;
  list-style: none;
}

.hero-question-list li {
  margin-bottom: .75rem;
  padding: .9rem 1.1rem;
  background-color: var(--brand-blue-light);
  border-left: 5px solid var(--brand-yellow);
  border-radius: var(--radius);
  color: var(--brand-blue);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

.hero-answer {
  width: min(100%, 980px);
  margin: 1.5rem auto 0;
  padding: 1.5rem;
  background-color: var(--brand-blue-light);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(17,17,136,.08);
}

.hero-fold-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border: none;
  border-radius: var(--radius);
  background-color: var(--brand-green);
  color: var(--adi-white);
  font-size: 1.15rem;
  font-weight: 600;
  padding: .9rem 1.25rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.hero-fold-bar:hover {
  background-color: var(--brand-green-hover);
}

.hero-bottom-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}


/* ==========================================================================
   9. CTA SYSTEM
   CTA section classes control appearance and layout only.
   Vertical section spacing comes exclusively from the section rule.
   ========================================================================== */

.cta-section,
.cta15-section,
.cta25-section,
.cta35-section,
.cta45-section,
.cta55-section,
.cta65-section {
  background-color: var(--adi-white);
  border-top: 2px solid var(--brand-yellow);
  border-bottom: 2px solid var(--brand-yellow);
}

.cta75-section {
  background-color: var(--adi-white);
  border-top: 2px solid var(--brand-yellow);
}

.cta-inner,
.cta15-inner,
.cta25-inner,
.cta35-inner,
.cta45-inner,
.cta55-inner,
.cta65-inner,
.cta75-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1rem;
}

/* Drupal may wrap CTA links in paragraphs. Flex gap controls this spacing. */
.cta-inner > p,
.cta15-inner > p,
.cta25-inner > p,
.cta35-inner > p,
.cta45-inner > p,
.cta55-inner > p,
.cta65-inner > p,
.cta75-inner > p {
  margin: 0;
  padding: 0;
}

.cta45-inner,
.cta65-inner,
.cta75-inner {
  flex-direction: column;
}

.cta35-inner {
  justify-content: flex-start;
}

.cta25-inner,
.cta55-inner {
  justify-content: flex-end;
}

.cta-tagline,
.cta15-tagline,
.cta25-tagline,
.cta35-tagline,
.cta45-tagline,
.cta55-tagline,
.cta65-tagline,
.cta75-tagline {
  display: inline-block;
  color: var(--brand-blue);
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.4;
}

.cta15-tagline-line1,
.cta25-tagline-line1,
.cta35-tagline-line1,
.cta45-tagline-line1,
.cta55-tagline-line1,
.cta65-tagline-line1,
.cta75-tagline-line1,
.cta15-tagline-line2,
.cta25-tagline-line2,
.cta35-tagline-line2,
.cta45-tagline-line2,
.cta55-tagline-line2,
.cta65-tagline-line2,
.cta75-tagline-line2 {
  display: block;
  white-space: normal;
}

.cta-btn,
.cta15-btn,
.cta25-btn,
.cta35-btn,
.cta45-btn,
.cta55-btn,
.cta65-btn,
.cta75-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-width: 260px;
  max-width: 100%;
  padding: .85rem 1.6rem;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--brand-green);
  color: var(--adi-white) !important;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.cta-btn:hover,
.cta-btn:focus,
.cta15-btn:hover,
.cta15-btn:focus,
.cta25-btn:hover,
.cta25-btn:focus,
.cta35-btn:hover,
.cta35-btn:focus,
.cta45-btn:hover,
.cta45-btn:focus,
.cta55-btn:hover,
.cta55-btn:focus,
.cta65-btn:hover,
.cta65-btn:focus,
.cta75-btn:hover,
.cta75-btn:focus {
  background-color: var(--brand-green-hover);
  color: var(--adi-white) !important;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cta-btn-icon,
.cta15-btn-icon,
.cta25-btn-icon,
.cta35-btn-icon,
.cta45-btn-icon,
.cta55-btn-icon,
.cta65-btn-icon,
.cta75-btn-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-size: 1.45rem;
  font-style: normal;
  line-height: 1;
}

.cta-btn-icon::before,
.cta15-btn-icon::before,
.cta25-btn-icon::before,
.cta35-btn-icon::before,
.cta45-btn-icon::before,
.cta55-btn-icon::before,
.cta65-btn-icon::before,
.cta75-btn-icon::before {
  color: inherit;
  line-height: 1;
}

.cta-btn-text,
.cta15-btn-text,
.cta25-btn-text,
.cta35-btn-text,
.cta45-btn-text,
.cta55-btn-text,
.cta65-btn-text,
.cta75-btn-text,
.cta15-btn-line1,
.cta25-btn-line1,
.cta35-btn-line1,
.cta45-btn-line1,
.cta55-btn-line1,
.cta65-btn-line1,
.cta75-btn-line1,
.cta15-btn-line2,
.cta25-btn-line2,
.cta35-btn-line2,
.cta45-btn-line2,
.cta55-btn-line2,
.cta65-btn-line2,
.cta75-btn-line2 {
  display: inline;
  flex: 0 1 auto;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.cta-search-note {
  margin: 1.5rem 0 0;
  padding: .75rem 1rem;
  background-color: #ffff88;
  border-bottom: 5px solid var(--brand-blue);
  color: var(--brand-blue);
  font-size: 1.3rem;
  text-align: center;
}


/* ==========================================================================
   10. OPTIONS / PROJECT HISTORY / TRUST
   ========================================================================== */

.options-section {
  background-color: var(--adi-white);
}

.options-section .section-title {
  color: var(--brand-blue);
}

.top-card-wrapper,
.top-card {
  max-width: 980px;
  margin-inline: auto;
}

.options-section .bottom-cards + .bottom-cards {
  margin-top: 1.5rem;
}

.option-card {
  height: 100%;
  padding: 1.5rem;
}

.option-card .card-icon {
  color: var(--brand-green);
  font-size: 2rem;
  line-height: 1;
}

.option-card .card-icon i,
.option-card .card-icon .bi {
  color: inherit;
  font-style: normal;
  line-height: 1;
}

.option-card .card-icon i::before,
.option-card .card-icon .bi::before {
  color: inherit;
  font-size: 2rem;
  line-height: 1;
}

.option-card h3 {
  color: var(--brand-blue);
  font-size: 1.35rem;
}

.option-card p {
  color: var(--adi-dark-gray);
}

.bottom-cards {
  display: flex;
  gap: 1.5rem;
}

.bottom-cards .option-card {
  flex: 1 1 0;
}

.options-modal .modal-dialog {
  max-width: 920px;
}

.options-modal .modal-header {
  background-color: var(--brand-blue);
  color: var(--adi-white);
}

.options-modal .modal-header .btn-close {
  filter: invert(1);
}

.options-modal .modal-body h4 {
  color: var(--brand-green);
}

.options-modal .modal-body p {
  color: var(--brand-blue);
}

#drupal-modal .projects .col-md-4,
.ui-dialog-content .projects .col-md-4 {
  flex: 0 0 100%;
  max-width: 100%;
}


/* Project history modal trigger below testimonials.
   Secondary information button:
   - keeps the existing clock icon appearance unchanged
   - reserves border space at rest
   - reveals a green border on hover/focus
   - retains support for the older projects-btn markup
   -------------------------------------------------------------------------- */

.project-history-btn,
.projects-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .5rem .85rem;
  color: var(--brand-blue);
  background: transparent;
  border: 6px solid transparent !important;
  border-radius: var(--radius);
  outline: 0;
  box-shadow: none;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    transform var(--transition-fast),
    color var(--transition-fast);
}

.project-history-btn:hover,
.project-history-btn:focus,
.projects-btn:hover,
.projects-btn:focus {
  color: var(--brand-blue);
  border-color: var(--brand-green) !important;
  text-decoration: none;
  transform: translateY(-2px);
}

.project-history-btn__text,
.projects-btn-text-left,
.projects-btn-text-right {
  color: var(--brand-blue);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.project-history-btn__icon,
.projects-btn-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--brand-yellow);
  color: var(--brand-blue);
  border: 0;
  box-shadow: 0 3px 8px rgba(17,17,136,.18);
}

/* Keep the icon exactly the same on hover/focus. */
.project-history-btn:hover .project-history-btn__icon,
.project-history-btn:focus .project-history-btn__icon,
.projects-btn:hover .projects-btn-circle,
.projects-btn:focus .projects-btn-circle {
  background-color: var(--brand-yellow);
  color: var(--brand-blue);
  box-shadow: 0 3px 8px rgba(17,17,136,.18);
}

.project-history-btn__icon i,
.project-history-btn__icon .bi,
.projects-btn-circle i,
.projects-btn-circle .bi,
.projects-btn-circle icon,
.projects-btn-circle .projects-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  color: inherit;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1;
}

.project-history-btn__icon i::before,
.project-history-btn__icon .bi::before,
.projects-btn-circle i::before,
.projects-btn-circle .bi::before,
.projects-btn-circle icon::before,
.projects-btn-circle .projects-btn-icon::before {
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
}


/* Trust bar: blue confidence strip with white text and circular icon badges.
   Desktop layout is three items on the first row and two centered below. */

.trust-bar {
  background-color: var(--brand-blue);
  color: var(--adi-white);
}

.trust-bar .section-title {
  color: var(--adi-white);
  border-bottom: 0;
  padding-bottom: 0;
}

.trust-bar h2,
.trust-bar h3,
.trust-bar p,
.trust-bar span {
  color: var(--adi-white);
}

.trust-bar .badge-custom {
  display: inline-block;
  background-color: var(--brand-yellow);
  color: var(--brand-blue);
}

.trust-container {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .35rem;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

.trust-item:hover {
  transform: none !important;
  box-shadow: none !important;
}

.trust-item h3 {
  margin: 0;
  color: var(--adi-white);
  line-height: 1.2;
}

.icon-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--adi-white);
  color: var(--brand-green);
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}

.icon-bg i,
.icon-bg .bi,
.icon-bg icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  color: inherit;
  font-size: 1.85rem;
  line-height: 1;
  font-style: normal;
}

.icon-bg i::before,
.icon-bg .bi::before,
.icon-bg icon::before {
  color: inherit;
  font-size: 1.85rem;
  line-height: 1;
}

.why-bulleted-text {
  display: block;
  color: var(--adi-white) !important;
  white-space: nowrap;
}

.why-bulleted-text:first-child {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.15;
}

.why-bulleted-text-muted {
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.25;
}

/* Tighten trust-bar two-line labels */

.trust-item h3 br {
  display: none;
}

.trust-item h3 {
  line-height: 1;
}

.why-bulleted-text {
  line-height: 1.05;
}

.why-bulleted-text:first-child {
  margin-bottom: .15rem;
  line-height: 1.05;
}

.why-bulleted-text-muted {
  line-height: 1.05;
}

@media (min-width: 1200px) {
  .trust-item {
    flex: 0 1 calc((100% - 5rem) / 3);
    max-width: calc((100% - 5rem) / 3);
    min-width: 0;
  }
}

@media (min-width: 821px) and (max-width: 1199.98px) {
  .trust-item {
    flex: 0 1 360px;
    max-width: 360px;
  }
}

@media (max-width: 820px) {
  .trust-bar-inner {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .trust-item {
    width: 100%;
    max-width: 330px;
    gap: .65rem;
  }

  .icon-bg {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .icon-bg i::before,
  .icon-bg .bi::before,
  .icon-bg icon::before {
    font-size: 1.55rem;
  }

  .why-bulleted-text:first-child {
    font-size: 1rem;
  }

  .why-bulleted-text-muted {
    font-size: .78rem;
  }
}

@media (max-width: 480px) {
  .project-history-btn,
  .projects-btn {
    gap: .45rem;
  }

  .project-history-btn__text,
  .projects-btn-text-left,
  .projects-btn-text-right {
    font-size: .85rem;
  }

  .project-history-btn__icon,
  .projects-btn-circle {
    flex-basis: 2.2rem;
    width: 2.2rem;
    height: 2.2rem;
  }

  .project-history-btn__icon i::before,
  .project-history-btn__icon .bi::before,
  .projects-btn-circle i::before,
  .projects-btn-circle .bi::before,
  .projects-btn-circle icon::before,
  .projects-btn-circle .projects-btn-icon::before {
    font-size: 1.1rem;
  }
}


/* ==========================================================================
   11. WHY US / TESTIMONIALS
   ========================================================================== */

.testimonial-section,
.why-us-section {
  background-color: var(--adi-white);
}

.testimonial-card {
  border: 1px solid rgba(17,17,136,.07);
}

.testimonial-card p {
  color: var(--brand-blue);
}

.testimonial-card strong {
  color: var(--brand-blue);
}

.testimonial-photo-wrap {
  flex: 0 0 75px;
  width: 75px;
  min-width: 75px;
  max-width: 75px;
  height: 75px;
  margin: 0;
  padding: 0;
}

.testimonial-photo-wrap p {
  width: 75px;
  height: 75px;
  margin: 0;
  padding: 0;
}

.testimonial-photo {
  display: block;
  flex: 0 0 75px;
  width: 75px;
  min-width: 75px;
  max-width: 75px;
  height: 75px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.reason-card {
  padding: 1.75rem;
}

.reason-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  background-color: var(--brand-yellow);
  color: var(--brand-blue);
  border-radius: 50%;
  font-weight: 800;
}

.reason-title {
  color: var(--brand-green);
}

@media (max-width: 575.98px) {
  .testimonial-card .d-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


/* ==========================================================================
   12. ALERTS / FORMS / DRUPAL AJAX DIALOGS
   ========================================================================== */

.brand-alert-box {
  border: 4px solid var(--brand-yellow) !important;
  background-color: var(--brand-blue-light) !important;
  border-radius: var(--radius);
  padding: 1.5rem;
}

.brand-alert-box h4 {
  color: var(--brand-blue) !important;
}

button.webform-button--submit.btn-primary {
  background-color: var(--brand-green) !important;
  border-color: var(--brand-green-hover) !important;
  color: var(--adi-white) !important;
}

button.webform-button--submit.btn-primary:hover {
  background-color: var(--brand-green-hover) !important;
  border-color: var(--brand-green-hover) !important;
  color: var(--adi-white) !important;
}

.webform-submission-form,
.ui-dialog .webform-submission-form,
.ui-dialog .ui-widget-content {
  color: var(--brand-blue);
}

.webform-submission-form a {
  color: var(--brand-blue);
}

.webform-submission-form a:hover {
  color: var(--brand-green-hover);
}

.ui-dialog {
  top: .5rem !important;
  max-width: min(96vw, 760px) !important;
  max-height: calc(100vh - 1rem) !important;
  margin-top: 0 !important;
}

.ui-dialog .ui-dialog-titlebar {
  position: relative;
  background-color: var(--brand-blue);
  color: var(--adi-white);
  border: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: .75rem 3rem .75rem 1rem;
}

.ui-dialog .ui-dialog-title,
.ui-dialog-title {
  float: none;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  color: var(--adi-white);
  font-size: 130%;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ui-dialog .ui-dialog-titlebar-close {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  right: .75rem;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--brand-yellow);
  color: var(--brand-blue);
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 1;
}

.ui-dialog .ui-dialog-titlebar-close::before {
  content: "×";
  display: block;
  color: var(--brand-blue);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.ui-dialog .ui-dialog-titlebar-close .ui-icon,
.ui-dialog .ui-dialog-titlebar-close .ui-button-icon,
.ui-dialog .ui-dialog-titlebar-close .ui-button-icon-space,
.ui-dialog .ui-dialog-titlebar-close .ui-button-text {
  display: none !important;
}

.ui-dialog .ui-dialog-titlebar-close:hover,
.ui-dialog .ui-dialog-titlebar-close:focus {
  background-color: var(--brand-green);
  color: var(--adi-white);
}

.ui-dialog .ui-dialog-titlebar-close:hover::before,
.ui-dialog .ui-dialog-titlebar-close:focus::before {
  color: var(--adi-white);
}

.ui-dialog .ui-dialog-content {
  max-height: calc(100vh - 4.5rem) !important;
  overflow-y: auto;
  overflow-x: hidden;
}


/* ==========================================================================
   13. BOOKS / DOCUMENTATION
   ========================================================================== */

.book-page {
  background-color: var(--adi-white);
  padding: clamp(2rem, 4vw, 4rem);
  margin-bottom: 2.5rem;
  border: 1px solid rgba(17,17,136,.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.title-page {
  text-align: center;
  padding-top: clamp(3rem, 8vw, 7rem);
}

.title-page h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: .2em;
}

.title-page h2 {
  color: var(--adi-dark-gray);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.toc-page ul.toc {
  list-style: none;
  padding: 0;
}

.toc-page ul.toc li {
  margin: .75rem 0;
  font-size: 1.1rem;
}

.toc-page ul.toc a,
.return-to-toc a {
  color: var(--brand-green);
  text-decoration: none;
  font-weight: 700;
}

.chapter-title {
  margin-top: 2.5rem;
  padding-bottom: .75rem;
  border-bottom: 3px solid var(--brand-yellow);
  color: var(--brand-blue);
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.book-header {
  background-color: var(--brand-blue);
  padding: 2rem;
  margin-bottom: 3rem;
  border-radius: var(--radius-lg);
}

.book-header h1 {
  color: var(--adi-white);
  font-weight: 900;
  letter-spacing: -.02em;
}

.book-header .subtitle {
  color: var(--brand-yellow);
  font-size: 1.25rem;
}

.book-content {
  background-color: var(--adi-white);
  border: 1px solid rgba(17,17,136,.09);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 2rem;
}

.orientation-box {
  background-color: var(--brand-blue-light);
  border-left: 4px solid var(--brand-yellow);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--radius);
}

.orientation-box ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.orientation-box li {
  position: relative;
  padding: .5rem 0 .5rem 1.5rem;
}

.orientation-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 8px;
  height: 8px;
  background-color: var(--brand-green);
  border-radius: 50%;
}

.info-card {
  height: 100%;
  padding: 1.5rem;
}

.info-card h4 {
  color: var(--brand-green);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.info-card p {
  color: rgba(17,17,136,.72);
  margin-bottom: 0;
  font-size: .95rem;
}

.note-box {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background-color: rgba(17,17,136,.05);
  border: 1px solid rgba(17,17,136,.1);
  border-radius: var(--radius);
  color: rgba(17,17,136,.72);
  font-size: .9rem;
}

.note-box i {
  color: var(--brand-yellow);
  margin-right: .5rem;
}

.metadata {
  margin-top: 5rem;
  color: var(--adi-dark-gray);
  font-size: 1.05rem;
}


/* Feature book cover */

.page {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  text-align: center;
}

.page1 {
  background-color: var(--adi-white);
}

.page2 {
  background-color: var(--adi-light);
  padding: 5rem 1.25rem;
}

.logo {
  max-width: 5rem;
  width: 60%;
  height: auto;
  margin-bottom: 2rem;
}

.tagline {
  width: min(80%, 760px);
  margin: 2.5rem auto 1rem;
  color: var(--brand-blue);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.description {
  max-width: 750px;
  color: var(--adi-black);
  font-size: 1.2rem;
  line-height: 1.7;
}


/* ==========================================================================
   14. VIDEO / MODALS
   ========================================================================== */

.video-js .vjs-control-bar {
  display: flex !important;
  height: 10px !important;
  background-color: rgba(0,0,0,.4) !important;
  bottom: 0 !important;
  align-items: center !important;
  padding: 0 5px !important;
}

.video-js .vjs-control-bar .vjs-control .vjs-icon-placeholder::before {
  font-size: 10px !important;
  line-height: 10px !important;
  top: 0 !important;
  height: 10px !important;
}

.video-js .vjs-progress-control,
.video-js .vjs-remaining-time-display,
.video-js .vjs-current-time-display,
.video-js .vjs-time-divider,
.video-js .vjs-duration-display,
.video-js .vjs-fullscreen-control,
.video-js .vjs-picture-in-picture-control,
.video-js .vjs-captions-button,
.video-js .vjs-subs-caps-button {
  display: none !important;
}

.video-js .vjs-play-control,
.video-js .vjs-volume-panel {
  width: auto !important;
  min-width: 20px !important;
  height: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.video-js .vjs-volume-bar.vjs-slider-horizontal {
  height: 3px !important;
  margin-top: 3px !important;
}

.ratio-18x9 {
  --bs-aspect-ratio: 50%;
}

.feature-icon {
  color: var(--brand-green);
  font-size: 1.2em;
  vertical-align: -.125em;
  margin-right: .3em;
}

#drupal-modal .features-section .col-lg-6 {
  flex: 0 0 100%;
  max-width: 100%;
}


/* ==========================================================================
   15. FOOTER / TRANSLATE / DRUPAL FIXES
   ========================================================================== */

.block-user-menu-block {
  display: block;
}

.block-user-menu-block ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: auto !important;
  margin-top: 4rem !important;
  padding-left: 0;
  color: var(--adi-white) !important;
  list-style: none;
}

#block-adib5subtheme-verticalmenu,
.block-contact-block,
#block-adib5subtheme-addressblock {
  float: left;
  max-width: 25%;
  min-width: 300px;
  padding: 1rem;
  margin: 1rem;
  color: var(--adi-black);
  border-radius: 16px;
}

#block-adib5subtheme-verticalmenu a {
  text-decoration: none;
}

#google_translate_element,
#google_translate_element * {
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

.view-fontyourface-font-manager .fontyourface-font-manager-item {
  height: 280px !important;
}


/* ==========================================================================
   16. RESPONSIVE
   ========================================================================== */

@media (min-width: 1400px) {
  .container-wide,
  .adi-container-wide,
  .hero-shell {
    width: min(100% - 4rem, var(--wide-width));
  }
}

@media (min-width: 992px) {
  .navbar-brand .site-slogan {
    display: block;
  }

  .region-nav-additional {
    display: flex;
  }
}

@media (max-width: 991.98px) {
  main {
    margin-top: 4.5rem;
  }


  .navbar-brand img {
    height: 86px;
  }

  .navbar-brand .site-title {
    margin-left: 104px;
  }

  .bottom-cards {
    flex-direction: column;
  }

  #block-adib5subtheme-verticalmenu,
  .block-contact-block,
  #block-adib5subtheme-addressblock {
    float: none;
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: var(--section-space-mobile) 0;
  }

  .cta-inner,
  .cta15-inner,
  .cta25-inner,
  .cta35-inner,
  .cta45-inner,
  .cta55-inner,
  .cta65-inner,
  .cta75-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    margin-inline: auto;
  }

  .cta15-tagline-line1,
  .cta25-tagline-line1,
  .cta35-tagline-line1,
  .cta45-tagline-line1,
  .cta55-tagline-line1,
  .cta65-tagline-line1,
  .cta75-tagline-line1 {
    white-space: normal;
  }

  .tabs-wrapper .nav-tabs {
    border: var(--bs-border-width) solid var(--bs-border-color);
  }

  .hero-float-image {
    float: none;
    display: block;
    width: 100%;
    margin: 0 0 1.5rem;
  }

  .book-content,
  .menu-card,
  .book-page {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 1rem;
  }

  main {
    margin-top: 4rem;
  }


  .navbar-brand {
    min-height: 4rem;
  }

  .navbar-brand img {
    height: 72px;
  }

  .navbar-brand .site-title {
    margin-left: 88px;
    font-size: .78rem;
    letter-spacing: .1em;
  }

  .hero-chapter,
  .hero-hook,
  .hero-fold-inner,
  .hero-panel {
    padding: 1.25rem;
    border-radius: var(--radius);
  }

  .hero-points li {
    align-items: flex-start;
  }

  .feature-list li {
    flex-direction: column;
    gap: .5rem;
  }

  .cta-btn,
  .cta15-btn,
  .cta25-btn,
  .cta35-btn,
  .cta45-btn,
  .cta55-btn,
  .cta65-btn,
  .cta75-btn {
    width: min(100%, 360px);
    min-width: 0;
  }
}

@media print {
  body {
    background: var(--adi-white);
  }

  .book-page {
    box-shadow: none;
    border: none;
    margin-bottom: 0;
    page-break-after: always;
  }

  .book-page:last-child {
    page-break-after: avoid;
  }
}

/* ==========================================================================
   17. DECIDE SECTION
   Final non-CTA front-page choice section.
   ========================================================================== */

#decide-section {
  background-color: var(--adi-white);
}

#decide-section .decide-section-intro {
  max-width: 760px;
  margin-inline: auto;
}

#decide-section .decide-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

#decide-section .decide-grid > * {
  height: 100%;
  min-width: 0;
}

#decide-section .decide-pick {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 5.25rem;
  padding: .85rem .75rem;
  background-color: var(--adi-white);
  border: 2px solid var(--brand-yellow);
  border-radius: var(--radius);
  color: var(--brand-blue);
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

#decide-section .decide-pick:hover,
#decide-section .decide-pick:focus {
  background-color: var(--brand-blue-light);
  border-color: var(--brand-green);
  color: var(--brand-blue);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

#decide-section .pick-letter {
  display: block;
  color: var(--brand-blue);
  font-size: 1.6rem;
  font-weight: 800;
}

#decide-section .pick-name {
  display: block;
  color: var(--brand-blue);
  font-size: .95rem;
  font-weight: 600;
}

#decide-section .decide-card {
  display: flex !important;
  flex-direction: column;
  scroll-margin-top: 7rem;
  background-color: var(--adi-white);
  border: 2px solid var(--brand-yellow);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: var(--brand-blue);
}

#decide-section .decide-card h4 {
  color: var(--brand-blue);
  font-weight: 800;
}

#decide-section .decide-card .card-line {
  color: var(--brand-blue);
  font-weight: 700;
  margin-bottom: .75rem;
}

#decide-section .decide-card ul {
  color: var(--brand-blue);
  padding-left: 1.15rem;
  margin-bottom: .9rem;
}

#decide-section .decide-card li {
  margin-bottom: .4rem;
}

#decide-section .decide-card .card-note {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: .75rem;
  border-top: 2px solid var(--brand-yellow);
  color: var(--brand-blue);
  font-size: .92rem;
  line-height: 1.45;
}

@media (min-width: 576px) and (max-width: 991.98px) {
  #decide-section .decide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  #decide-section .decide-grid {
    grid-template-columns: 1fr;
  }

  #decide-section .decide-pick {
    min-height: 4.5rem;
  }

  #decide-section .decide-card {
    scroll-margin-top: 5rem;
  }
}

/* ==========================================================================
   18. FRONT PAGE FOUNDATION
   Section spacing is controlled only by the base section rule.
   Section classes control backgrounds, borders, and internal layout.
   ========================================================================== */

body,
.path-frontpage main,
.path-frontpage article,
.path-frontpage .node,
.path-frontpage .node__content,
.path-frontpage .region-content {
  background-color: var(--body-background-color);
}

.adi-front-page {
  padding: 0;
  background-color: var(--body-background-color);
}

.adi-front-page > section {
  margin: 0;
  overflow: hidden;
}

/* Minimal page-edge space without assigning spacing to a section class. */
.adi-front-page > section:first-child {
  padding-top: var(--page-edge-space);
}

.adi-front-page > section:last-child {
  padding-bottom: var(--page-edge-space);
}

.adi-front-page > .section-white,
.adi-front-page > .options-section,
.adi-front-page > .testimonial-section,
.adi-front-page > .decide-section {
  background-color: var(--adi-white);
}

.adi-front-page .container.bg-white {
  background-color: transparent !important;
}

.adi-front-page .hero-chapter:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   19. ADI IFRAME MODAL
   Keeps Bootstrap modal content close to the top of the viewport and uses
   the available vertical space efficiently.
   ========================================================================== */

.adi-page-modal {
  padding-top: .5rem !important;
}

.adi-page-modal .modal-dialog {
  width: min(96vw, 1100px);
  max-width: min(96vw, 1100px);
  margin: 0 auto !important;
}

.adi-page-modal .modal-content {
  max-height: calc(100vh - 1rem);
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.adi-page-modal .modal-header {
  flex: 0 0 auto;
  background-color: var(--brand-blue);
  color: var(--adi-white);
  border-bottom: 0;
}

.adi-page-modal .modal-title {
  color: var(--adi-white);
  font-weight: 800;
}

.adi-page-modal .btn-close {
  filter: invert(1);
  opacity: 1;
}

.adi-page-modal .modal-body {
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background-color: var(--adi-white);
}

#adiPageFrame {
  display: block;
  width: 100%;
  height: calc(100vh - 5.5rem);
  max-height: 900px;
  border: 0;
  background-color: var(--adi-white);
}

/*
 * The reduced Drupal page rendered inside the iframe should not inherit
 * the normal full-page top offset.
 */
.adi-modal-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.adi-modal-page > .container-fluid {
  padding-top: .75rem !important;
}


/* ==========================================================================
   20. DIRECT-PAGE RECOVERY GUIDE
   ========================================================================== */

.adi-direct-page-guide {
  max-width: 340px;
  margin: 0 0 1.5rem;
  padding: 1rem;
  border-left: 5px solid var(--brand-yellow);
  border-radius: var(--radius);
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
}

.adi-direct-page-guide__label {
  margin: 0 0 .25rem;
  font-weight: 800;
}

.adi-direct-page-guide__text {
  margin: 0 0 .75rem;
  font-size: .95rem;
  line-height: 1.4;
}

.adi-direct-page-guide__link {
  display: inline-block;
  color: var(--brand-blue);
  font-weight: 800;
  text-decoration: underline;
}

.adi-direct-page-guide__link:hover,
.adi-direct-page-guide__link:focus {
  color: var(--brand-green);
}


/* ==========================================================================
   21. FINAL RESPONSIVE REFINEMENTS
   ========================================================================== */

@media (max-width: 767.98px) {
  .adi-front-page > section:first-child {
    padding-top: .75rem;
  }

  .adi-front-page > section:last-child {
    padding-bottom: .75rem;
  }

  .cta-tagline,
  .cta15-tagline,
  .cta25-tagline,
  .cta35-tagline,
  .cta45-tagline,
  .cta55-tagline,
  .cta65-tagline,
  .cta75-tagline {
    font-size: 1rem;
  }

  #adiPageFrame {
    height: calc(100vh - 5rem);
    max-height: none;
  }
}

@media (max-width: 575.98px) {
  .adi-front-page .hero-shell {
    width: min(100% - 1rem, var(--wide-width));
  }

  .cta-search-note {
    font-size: 1rem;
  }
}
/* ==========================================================================
   22. FRONT-PAGE ICON OVERRIDES
   Makes Bootstrap icons approximately 50% larger, ADI green, and centered
   beside the copy or heading they represent.
   ========================================================================== */

/* Common Bootstrap Icon treatment */
.adi-front-page .bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-green) !important;
  font-style: normal;
  line-height: 1;
  vertical-align: middle;
}

.adi-front-page .bi::before {
  color: inherit !important;
  font-size: inherit;
  line-height: 1;
}


/* List icons beside hero and web-application copy */
.adi-front-page .adi-icon-list li {
  align-items: center !important;
}

.adi-front-page .adi-list-icon {
  flex: 0 0 2.25rem;
  width: 2.25rem;
  min-width: 2.25rem;
  font-size: 1.5rem;
  text-align: center;
  align-self: center;
}


/* Icons above the option-card headings */
.adi-front-page .adi-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: var(--brand-green);
  text-align: center;
}

.adi-front-page .adi-card-icon .bi {
  font-size: 3rem;
}


/* CTA button icons */
.adi-front-page .btn .bi,
.adi-front-page .btn-primary-custom .bi {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 2.25rem !important;
  margin: 0;
}

/*
 * The CTA buttons have green backgrounds. A white circular field keeps
 * the required green icon visible.
 */
.adi-front-page .btn-primary-custom .bi {
  width: 2.65rem;
  height: 2.65rem;
  padding: .2rem;
  background-color: var(--adi-white);
  border-radius: 50%;
}


/* Trust-bar icons */
.adi-front-page .adi-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  color: var(--brand-green);
  background-color: var(--adi-white);
  border-radius: 50%;
  text-align: center;
}

.adi-front-page .adi-trust-icon .bi {
  font-size: 2.75rem;
  padding-left: 10px;
}


/* Project-history icon */
.adi-front-page .project-history-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green) !important;
  font-size: 2.25rem;
  line-height: 1;
  vertical-align: middle;
}


/* Keep icons and adjacent button copy centered together */
.adi-front-page .btn-primary-custom,
.adi-front-page .project-history-btn {
  align-items: center;
  justify-content: center;
}


/* Small-screen adjustment */
@media (max-width: 575.98px) {
  .adi-front-page .adi-list-icon {
    flex-basis: 2rem;
    width: 2rem;
    min-width: 2rem;
    font-size: 1.35rem;
  }

  .adi-front-page .adi-card-icon .bi {
    font-size: 2.65rem;
  }

  .adi-front-page .btn-primary-custom .bi {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 2rem !important;
  }

  .adi-front-page .adi-trust-icon {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .adi-front-page .adi-trust-icon .bi {
    font-size: 2.5rem;
  }
}

/* ---------------------------------------------------------
   23. ADI WEBFORM SUBMIT BUTTON
   --------------------------------------------------------- */

.webform-submission-form .form-actions {
  background: transparent !important;
}

.webform-submission-form .form-actions .form-submit,
.webform-submission-form input[type="submit"] {
  background-color: var(--brand-green) !important;
  border-color: var(--brand-green) !important;
  color: var(--adi-white) !important;
  width: auto;
}

.webform-submission-form .form-actions .form-submit:hover,
.webform-submission-form .form-actions .form-submit:focus,
.webform-submission-form input[type="submit"]:hover,
.webform-submission-form input[type="submit"]:focus {
  background-color: var(--brand-green-hover) !important;
  border-color: var(--brand-green-hover) !important;
  color: var(--adi-white) !important;
}


.maintenance-page img {
  width: 20%;
  height: auto;
  float: left;
  margin: 3em;
}