/* Arcanum WordPress final repair 2.0.12.
 * This file only guards the two layouts that older WordPress/theme CSS could
 * compress or duplicate. All other visual styling remains controlled by the
 * editable Arcanum page content and active theme.
 */

body.arcanum-wordpress .home-hero .hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 450px) !important;
  align-items: center !important;
  gap: clamp(32px, 5vw, 96px) !important;
}

body.arcanum-wordpress .home-hero .hero-grid > :empty,
body.arcanum-wordpress .home-hero .hero-grid > :not(.hero-copy):not(.regulatory-standing-card),
body.arcanum-wordpress .home-hero .hero-grid > .regulatory-standing-card ~ .regulatory-standing-card {
  display: none !important;
}

body.arcanum-wordpress .home-hero .hero-copy {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

body.arcanum-wordpress .home-hero .hero-grid > a.regulatory-standing-card {
  display: flex !important;
  position: relative !important;
  inset: auto !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  flex-direction: column !important;
  justify-self: end !important;
  align-self: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 450px !important;
  min-width: 0 !important;
  min-height: 460px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 38px !important;
  overflow: hidden !important;
  color: #f7f4ef !important;
  background: linear-gradient(145deg, rgba(7, 7, 8, 0.9), rgba(21, 17, 17, 0.87)) !important;
  border: 1px solid rgba(156, 20, 59, 0.45) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
  text-decoration: none !important;
  transform: none !important;
}

body.arcanum-wordpress .home-hero .regulatory-standing-card::before,
body.arcanum-wordpress .home-hero .regulatory-standing-card::after {
  display: none !important;
}

body.arcanum-wordpress .home-hero .regulatory-standing-card .regulatory-standing-top {
  display: flex !important;
  position: relative !important;
  inset: auto !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

body.arcanum-wordpress .home-hero .regulatory-standing-card .regulatory-standing-top img {
  display: block !important;
  width: 44px !important;
  height: 66px !important;
  object-fit: contain !important;
}

body.arcanum-wordpress .home-hero .regulatory-standing-card .regulatory-standing-copy {
  display: flex !important;
  position: relative !important;
  inset: auto !important;
  flex: 1 !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.arcanum-wordpress .home-hero .regulatory-standing-card .regulatory-standing-copy > * {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  max-width: none !important;
}

body.arcanum-wordpress .home-hero .regulatory-standing-card .regulatory-standing-link {
  display: inline-flex !important;
  position: relative !important;
  inset: auto !important;
  width: max-content !important;
  max-width: 100% !important;
  margin-top: 24px !important;
}

body.arcanum-wordpress .leadership-directory-section .leadership-directory-shell {
  display: block !important;
  box-sizing: border-box !important;
  width: min(1200px, calc(100% - 48px)) !important;
  max-width: 1200px !important;
  margin-inline: auto !important;
  padding: 0 !important;
}

body.arcanum-wordpress .leadership-directory-section .leadership-directory-main,
body.arcanum-wordpress .leadership-directory-section .team-directory,
body.arcanum-wordpress .leadership-directory-section .team-directory-list {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
}

body.arcanum-wordpress .leadership-directory-section .team-directory-row {
  display: grid !important;
  grid-template-columns: 14px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 20px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 26px 0 !important;
}

body.arcanum-wordpress .leadership-directory-section .team-directory-copy {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  writing-mode: horizontal-tb !important;
}

body.arcanum-wordpress .leadership-directory-section .team-directory-copy strong,
body.arcanum-wordpress .leadership-directory-section .team-directory-copy span {
  display: block !important;
  position: static !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  writing-mode: horizontal-tb !important;
}

body.arcanum-wordpress .leadership-directory-section .team-directory-copy strong {
  margin: 0 0 6px !important;
  font-size: clamp(1.3rem, 1.7vw, 1.65rem) !important;
  line-height: 1.25 !important;
}

body.arcanum-wordpress .leadership-directory-section .team-directory-copy span {
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

body.arcanum-wordpress .leadership-directory-section .membership-directory {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 40px 0 0 !important;
  gap: 24px !important;
}

body.arcanum-wordpress .leadership-directory-section .membership-directory-card {
  box-sizing: border-box !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

body.arcanum-wordpress .leadership-directory-section .membership-directory-card img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {
  body.arcanum-wordpress .home-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.arcanum-wordpress .home-hero .hero-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.arcanum-wordpress .home-hero .hero-grid > a.regulatory-standing-card {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
    max-width: none !important;
    min-height: 390px !important;
    padding: 32px !important;
  }
}

@media (max-width: 760px) {
  body.arcanum-wordpress .leadership-directory-section .leadership-directory-shell {
    width: min(100% - 32px, 1200px) !important;
  }

  body.arcanum-wordpress .leadership-directory-section .membership-directory {
    grid-template-columns: 1fr !important;
  }
}
