html:has(.digital-display) {
  font-size: 13px;
}
/* Copied and slightly modified CSS for custom BUX events list component (COPIED from OnCampus email 8/7/2024 */
ul.bux-event-list {
  margin-bottom: 24px;
}
.event-list__item {
  margin-top: 24px;
  position: relative;
  padding: 0 0 0 16px;
  border-style: none;
  border-left-style: solid;
  border-left-color: #ba0d2f;
  border-left-width: 4px;
}
.views-row-1 > .event-list__item {
  margin-top: 0;
}
.event-list__date {
  margin-top: 0px;
  margin-bottom: 4px;
  font-family: BuckeyeSans, Arial, sans-serif;
  color: #ba0c2f;
  font-size: 16px;
  font-weight: 700;
}
.bux-event-list__heading--link {
  margin-top: 0px;
  margin-bottom: 0px;
  font-family: BuckeyeSans, Arial, sans-serif;
  color: #212325;
  margin-right: 32px;
}
/* h3.bux-event-list__heading--link {
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
} */
h4.bux-event-list__heading--link {
  /* font-size: 22px; */
  /* line-height: 28px; */
  /* font-weight: 700; */
}
.bux-event-list__heading--link a {
  margin-top: 0px;
  margin-bottom: 0px;
  color: #212325;
  /* font-size: 20px; */
  line-height: 28px;
  font-weight: 700;
}
.bux-event-list__heading--link a::after {
  content: "\f005";
  font-size: 1.2rem;
  font-family: "bux-icons";
  color: #ba0c2f;
  transition-duration: 0.05s;
  float: right;
  padding-inline: 8px;
  position: absolute;
  top: calc(50% - 0.8rem);
  right: 0;
}
/* .event-list__date + .bux-event-list__heading--link a::after {
  padding-top: 28px;
} */

/* Custom classes for card and tile collections to make items uniform height */
div.fill-height > .bux-card {
  height: 100%;
}

div.fill-height > .bux-tile {
  height: 100%;
  display: flex;
  flex-direction: column;
}

div.fill-height > .bux-tile > .bux-tile__content {
  flex: 1 1 auto;
}

/* @media only screen and (max-width: 959px) {
  .bux-page {
    margin-inline: -32px !important;
    width: auto;
    padding-inline: 8px !important;
  }
} */
@media only screen and (min-width: 960px) {
  .main-content-padding {
    padding-inline: 16px;
  }
}

/* allow centering of grid content */
.bux-grid-center {
  justify-content: center;
}

/* Custom styling for Q+A to account for <p> or any other html types */

.bux-qa .bux-qa__answer-text *:last-child {
  margin-bottom: 0px;
}

/* Custom styling for Custom Hero component's page intro */

.page-intro > div {
  margin-left: auto;
  margin-right: auto;
  max-width: 90%;
}
.page-intro > div > p {
  font-size: 1.1rem;
  margin-bottom: 0;
}
@media only screen and (min-width: 960px) {
  .page-intro > div {
    max-width: min(800px, 70%);
  }
  .page-intro > div > p {
    font-size: 1.2rem;
  }
}

/* Makes all standard icons in tiles square / 1:1 */
.bux-tile__std_icon {
  aspect-ratio: 1;
}
.bux-hidden-content {
  border: 2px solid gray !important;
  background-color: rgba(0, 0, 0, 0.1);
}
.bux-hidden-content > .bux-grid {
  max-height: 150px;
  overflow: auto;
  border: 1px solid black;
}

/* Added on 9/6/2024 for spacing fixes */
div.page-subhead {
  font-weight: 600;
  padding-bottom: 25px;
  margin-bottom: 32px;
  border-bottom-width: 2px;
}

div.page-subhead:not(.hero-with-heading + .page-subhead) {
  font-size: 24px;
}

/* .bux-page
  div.bux-grid__cell
  *:first-child:not(.card-collection *):not(.tile-collection > div):not(
    .people-grid > div
  ) {
  margin-top: 0px !important;
} */
.bux-grid > .bux-grid__cell:first-child > *:first-child,
.bux-gray-background > *:first-child {
  margin-top: 0px !important;
}
@media only screen and (min-width: 960px) {
  .bux-grid > .bux-grid__cell:not(:first-child) > *:first-child {
    margin-top: 0px !important;
  }
}

.bux-grid--2-col,
.bux-grid--3-col {
  margin-top: 12px;
}

/* Custom 'bux-grid--gaps-only' class uses no cell margins, just interior padding.
   The goal is to largely matche the default bux-grid margins, but align a 66/33 layout with a 33/33/33 layout */
.bux-grid.bux-grid--gaps-only {
  margin-inline: 0;
}
/* 1 Column Grid */
.bux-grid--gaps-only.bux-grid--1-col > div {
  padding-inline: 0;
}
@media only screen and (min-width: 960px) {
  /* 2 Column Grid */
  .bux-grid--gaps-only.bux-grid--2-col > .bux-grid__cell--3\@lg {
    padding-inline: calc(16px);
  }
  .bux-grid--gaps-only.bux-grid--2-col > .bux-grid__cell--4\@lg {
    padding-inline: calc(64px / 3);
  }
  .bux-grid--gaps-only.bux-grid--2-col > .bux-grid__cell--6\@lg {
    padding-inline: 16px;
  }
  .bux-grid--gaps-only.bux-grid--2-col > .bux-grid__cell--8\@lg {
    padding-inline: calc(64px / 6);
  }
  .bux-grid--gaps-only.bux-grid--2-col > .bux-grid__cell--9\@lg {
    padding-inline: calc(16px);
  }
  .bux-grid--gaps-only.bux-grid--2-col > div:nth-child(2n-1) {
    padding-left: 0;
  }
  .bux-grid--gaps-only.bux-grid--2-col > div:nth-child(2n) {
    padding-right: 0;
  }
  /* 3 Column Grid */
  .bux-grid--gaps-only.bux-grid--3-col > div:nth-child(3n-2) {
    padding-inline: 0 calc(64px / 3);
  }
  .bux-grid--gaps-only.bux-grid--3-col > div:nth-child(3n-1) {
    padding-inline: calc(64px / 6);
  }
  .bux-grid--gaps-only.bux-grid--3-col > div:nth-child(3n) {
    padding-inline: calc(64px / 3) 0;
  }
}

.bux-image-holder {
  margin-inline: auto;
}
.bux-image-holder > .bux-image {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* Visually combine adjacent accordions. Added 9/26/24 so that accordions can be added to library and reused. */
div:has(> div.bux-accordion) + div:has(> div.bux-accordion) {
  margin-top: 0 !important;
}
div:has(> div.bux-accordion)
  + div:has(> div.bux-accordion)
  > div.bux-accordion
  > .bux-accordion__heading:first-child
  > button {
  border-top: none;
}

/* Allow custom display of storytelling elements outside of cards (ones without links) Added 10/9/2024 */
h3.storytelling {
  font-family: "BuckeyeSerif", Georgia, serif;
  font-weight: 700;
}
.bux-text > h3.storytelling {
  font-size: 1.5rem;
}
p.taxonomy,
span.taxonomy {
  color: #ba0c2f;
  text-transform: uppercase;
  font-size: 0.875rem;
  line-height: 1.125rem;
  margin-bottom: 8px;
}
p.taxonomy.gray,
span.taxonomy.gray {
  color: #646a63;
}
.text-gray {
  color: #646a63;
}

.taxonomy > a {
  color: inherit;
  /* border-bottom: 1px solid #ba0c2f; */
}

#main-regions > .bux-container > .bux-grid > .bux-grid__cell--12:not(.sidebar) {
  padding-top: 32px;
}
@media (min-width: 960px) {
  #main-regions
    > .bux-container
    > .bux-grid
    > .bux-grid__cell--12:not(.sidebar):not(.digital-display) {
    padding-top: 64px;
  }
}
@media (max-width: 959px) {
  .mobile-margins,
  #block-dylanbux-breadcrumbs {
    margin-inline: -16px;
  }
}

div.bux-container__menu .bux-menu__search:not(.bux-menu--mobile) {
  padding-right: inherit;
}

@media (min-width: 960px) {
  div.bux-hero__carousel-items {
    padding: 0;
  }
}

.background-ltgray {
  background-color: #eff1f2;
}

.background-ltltgray {
  background-color: #f6f7f8;
}

div.end-cta {
  position: relative;
  left: -54px;
  width: calc(100% + 102px);
  padding: 48px !important;
  padding-left: 54px !important;
  margin-top: 64px;
}

.sans-font {
  font-family: BuckeyeSans, HelveticaNeue, Helvetica, Arial, sans-serif;
}

.subhead {
  font-weight: 600;
  color: #646a63;
  font-size: 18px;
  font-family: BuckeyeSans, HelveticaNeue, Helvetica, Arial, sans-serif;
}
.subhead.dark-subhead {
  color: #3f4443;
}

/* Used for site headline */
.bux-text > h1.text-align-center {
  font-size: 32px;
  line-height: 40px;
}
.site-subheadline {
  font-size: 22px;
  font-weight: 600;
  padding: 0;
}
@media only screen and (min-width: 960px) {
  .bux-text > h1.text-align-center {
    font-size: 48px;
    line-height: 56px;
  }
  .site-subheadline {
    font-size: 24px;
  }
}

/* Hide empty read times */

span.bux-card__read-time:empty {
  display: none;
}

/* CARD SELECTOR STYLING */

.bux-cardselector .bux-card {
  background: transparent;
  border-bottom: none;
  padding-bottom: 0;
  position: relative;
}

.bux-cardselector .bux-card .bux-card__heading {
  margin-bottom: 0;
}

.bux-cardselector .bux-card .bux-card__body {
  margin-top: 0;
}

.bux-cardselector ul > li {
  margin-top: 0;
  padding-left: 54px;
  border-bottom: none;
  list-style: none;
  position: relative;
}

.bux-cardselector ul > li:has(button[aria-selected="true"]):before {
  position: absolute;
  color: #ba0c2f;
  font-size: 20px;
  font-weight: 600;
  left: 24px;
  top: 15px;
  content: "\f005";
  font-family: bux-icons;
}

.bux-cardselector ul > li:hover,
.bux-cardselector ul > li:has(button[aria-selected="true"]) {
  background-color: #eff1f2;
}

.bux-cardselector ul > li > button {
  font-size: 22px;
  font-weight: 600;
  display: block;
  border-bottom: none;
  white-space: normal;
  padding: 16px;
  text-decoration: none;
  color: #212325;
  line-height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  left: -56px;
  width: calc(100% + 56px);
}

@media only screen and (max-width: 959px) {
  .bux-cardselector ul {
    position: relative;
    height: 60px;
    z-index: 10;
  }
  .bux-cardselector ul > li:before {
    transform: rotate(90deg);
  }
  .bux-cardselector ul > li {
    background-color: #eff1f2;
  }
  .bux-cardselector ul > li > button {
    text-align: left;
    padding-left: 64px;
  }
}

@media only screen and (min-width: 960px) {
  .bux-cardselector h2 {
    margin: 0;
  }
  .bux-cardselector ul {
    padding: 24px 0;
  }
  .bux-cardselector ul > li {
    width: calc(100% + 32px);
  }
}

.bux-cardselector .mobile .bux-card {
  padding: 0 12px 12px;
}

.bux-cardselector .bux-card > .bux-card__content {
  padding-right: 0;
  animation: slideUp 1s;
}

.bux-cardselector .bux-card > img {
  animation: fadeInRight 1s;
}
.bux-cardselector .desktop .bux-card > img {
  max-width: 55%;
  margin-right: 24px;
}

/* END CARD SELECTOR STYLING */

nav.bux-breadcrumb {
  margin-top: 0;
}

aside.sidebar--1 {
  padding-right: 22px;
  align-self: stretch;
}
aside.sidebar--1 > div {
  padding-top: 64px;
  border-right: 2px solid #eff1f2;
  padding-right: 22px;
  height: 100%;
}

.sidebar-title {
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 12px;
}

div.bux-container--sidebar-nav nav.disclosure-nav-orientation-vertical ul {
  margin-bottom: 20px;
}
div.bux-container--sidebar-nav
  nav.disclosure-nav-orientation-vertical
  > ul
  > li:first-child {
  border-top: 2px solid #eff1f2;
}

.bux-form-label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}
.bux-form-helper-text {
  display: block;
  font-size: 0.875rem;
  color: #212325;
  margin-top: 8px;
}
.bux-form__error-message {
  display: block;
  padding-left: 20px;
  font-size: 0.875rem;
  color: #ba0c2f;
  margin-top: 5px;
}
.bux-form__error-message:before {
  content: "\f106";
  font-family: bux-icons;
  color: #ba0c2f;
  position: absolute;
  left: 0;
  font-size: 16px;
  height: 16px;
  width: 16px;
  line-height: 1.3;
}

div.chosen-container > ul.chosen-choices {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  border: 2px solid #212325;
  border-radius: 1px;
  width: 100%;
  min-height: 44px;
  padding-left: 8px;
}
.chosen-container-multi ul.chosen-choices li.search-field:first-child {
  margin-top: 5px;
}
.chosen-container-multi ul.chosen-choices li.search-choice {
  border: none;
  background-color: #eff1f2;
  color: #ba0c2f;
  padding: 6px 26px 6px 5px;
  font-size: 16px;
  line-height: 16px;
}
.chosen-container button.search-choice-close {
  right: 5px;
}
.chosen-container button.search-choice-close,
.chosen-container button.search-choice-close:hover {
  background: none;
}
.chosen-container button.search-choice-close:before {
  content: "\f106";
  font-family: bux-icons;
  color: #ba0c2f;
  font-size: 16px;
  height: 16px;
  width: 16px;
  line-height: 1.3;
  position: absolute;
  top: -3px;
  left: 0;
}
.chosen-container-multi ul.chosen-choices li.search-field input[type="text"] {
  font-family: inherit;
  font-size: 1rem;
}

.relative {
  position: relative;
}

.hero-with-heading + .page-subhead {
  font-size: 24px;
}

h2 + h3 {
  margin-top: 18px;
}

/* Styling for BUX Person */
/* Styling for BUX Person */

/* .bux-person:not(:last-child) {
  border-bottom: 2px solid #eff1f2;
}
@media only screen and (min-width: 960px) {
  .bux-person--teaser {
    padding-block: 16px;
  }
  .bux-person--teaser:nth-last-child(2) {
    border-bottom: none;
  }
}

div.bux-person > div,
div.bux-person > div.bux-person__info > div {
  margin-inline: 0 !important;
}

div.bux-person > div.bux-person__info > div.bux-person__info--left,
div.bux-person > div.bux-person__info > div.bux-person__info--right,
div.bux-person > div.bux-person__info > div.bux-person__info--solo {
  padding-bottom: 16px;
}

div.bux-person > div.img-holder {
  padding-bottom: 24px;
}
div.bux-person > div.img-holder:last-child {
  padding-left: 32px;
}
div.bux-person > div.img-holder:first-child {
  padding-right: 32px;
}
@media only screen and (min-width: 960px) {
  div.bux-person > div.img-holder {
    flex: 0 0 152px;
  }
}
.bux-person img {
  max-width: 40%;
}
@media only screen and (min-width: 640px) {
  .bux-person > div > img {
    max-width: 256px;
  }
}
@media only screen and (min-width: 960px) {
  .bux-person > div > img {
    max-width: 120px;
  }
}
.bux-person__info {
  column-gap: 60px;
}
div.bux-person > div.bux-person__info > div.bux-person__info--left > div {
  margin-bottom: 8px;
}
.bux-person .person-name > a {
  font-size: 1.375rem;
  font-weight: bold;
  width: fit-content;
  position: relative;
}
.bux-person .person-name > a:after {
  font-size: 1.2rem;
  top: 0;
  right: -24px;
}

.bux-person .person-pronouns {
  color: #646a6e;
  font-size: 0.875rem;
  font-weight: 600;
  margin-block: 9px;
}

.bux-person .person-division,
.bux-person .person-research-interests {
  color: #646a6e;
  font-weight: 600;
  font-size: 0.875rem;
}
.bux-person .person-research-interests > .label {
  font-weight: 800;
}
.bux-person .person-email > .label,
.bux-person .person-phone > .label {
  font-weight: 700;
}

.bux-person .person-email,
.bux-person .person-phone {
  padding-left: 12px;
  margin-left: 28px;
  position: relative;
}

.bux-person .person-phone {
  margin-top: 16px;
}

.bux-person .person-email:before,
.bux-person .person-phone:before {
  font-family: bux-icons;
  color: #bd1d27;
  content: "\f013";
  font-size: 1.45rem;
  position: absolute;
  top: -5px;
  left: -25px;
}
.bux-person .person-email:before {
  content: "\f013";
}

.bux-person .person-phone:before {
  content: "\f30e";
} */

/* End styling for BUX Person */
/* End styling for BUX Person */

/* #bux-main-menu {
  margin-inline: -16px;
}
.bux-header__col {
  margin-inline: 0px;
}
.bux-osu-nav__wrapper > .bux-container {
  margin-inline: -16px;
} */

span.bux-tag {
  border: none;
  background-color: #eff1f2;
  color: #ba0c2f;
  padding: 6px;
  margin-block: 5px;
  margin-right: 10px;
  font-size: 16px;
  line-height: 16px;
  display: inline-block;
}
span.bux-tag > a:visited {
  color: #ba0c2f;
  border-bottom-color: #ba0c2f;
}
.text-bold,
.bold-label {
  font-weight: 700;
}
.bux-selection-dropdown__input:has(select[multiple="multiple"]):before {
  display: none;
}

select[multiple="multiple"]:not([data-once="chosen"]) > option {
  display: none;
}

#osu-navbar {
  z-index: 1;
}

.contents {
  display: contents;
}

.inline-block {
  display: inline-block;
}

/* Hide gray border for last horizontal storytelling card in collection */
.bux-grid__cell--12\@lg:last-child > .bux-card--horizontal-storytelling {
  border: none;
  padding-bottom: 0;
}

/* Hide Hero buttons without links */
.bux-hero__content > a.bux-button[href=""] {
  display: none;
}

.double-line-height {
  line-height: 2;
}

.bux-gray-background > .card-collection {
  margin-inline: 0;
}

.full-bleed.background-ltltgray {
  box-shadow: 0 0 0 100vmax #f6f7f8;
}

.bux-person .bux-person__research_interests {
  color: #646a6e;
  font-weight: 600;
  font-size: 0.875rem;
}
.bux-person .bux-person__research_interests > .label {
  font-weight: 800;
}
.bux-person__details:has(.bux-person__research_interests) {
  margin-right: 50px;
}
#block-dylanbux-content {
  margin-bottom: 40px;
}

.bux-page > .bux-grid > div > .bux-gray-background:last-child {
  padding-bottom: 0 !important;
  clip-path: inset(0rem 0rem -40px 0rem);
}

.background-ltgray {
  background-color: #eff1f2;
}

/* Non-Extended End of Page CTAs */
.bux-page
  > .bux-grid
  > div
  > .bux-gray-background:last-child:not(.background-ltltgray) {
  box-shadow: 0 40px 0 100px #eff1f2;
}
.bux-page
  > .bux-grid
  > div
  > .bux-gray-background:last-child.background-ltltgray {
  box-shadow: 0 40px 0 100px #f6f7f8;
}

/* First line is for division pages */
.bux-page > .bux-grid > div > div > .bux-gray-background:last-child.full-bleed,
.bux-page > .bux-grid > div > .bux-gray-background:last-child,
.bux-page > div > .bux-gray-background:last-child {
  padding-bottom: 8px !important;
}

/* Extended End of Page CTAs */
.bux-page > .bux-grid > div > div > .bux-gray-background:last-child.full-bleed,
.bux-page > .bux-grid > div > .bux-gray-background:last-child.full-bleed,
.bux-page > div > .bux-gray-background:last-child.full-bleed {
  clip-path: inset(0rem -1000rem -40px);
}
.bux-page
  > .bux-grid
  > div
  > .bux-gray-background:last-child:not(.background-ltltgray).full-bleed {
  box-shadow: 0 40px 0 1000px #eff1f2;
}
.bux-page
  > .bux-grid
  > div
  > .bux-gray-background:last-child.background-ltltgray.full-bleed,
.bux-page
  > div
  > .bux-gray-background:last-child.background-ltltgray.full-bleed {
  box-shadow: 0 40px 0 1000px #f6f7f8;
}

.bux-gray-background {
  overflow-y: auto;
  overflow-x: hidden;
}

@media (max-width: 960px) {
  .bux-gray-background {
    padding-block: 24px;
  }
  .bux-gray-background:not(.full-bleed) {
    padding-inline: 24px;
  }
}

@media (min-width: 961px) {
  .bux-gray-background {
    padding-block: 32px;
  }
  .bux-gray-background:not(.full-bleed) {
    padding-inline: 32px;
  }
}

.text-right {
  text-align: right;
}

/* In a View with cards, add this class to the view to make the first card image larger */
.large-first .bux-grid__cell:first-child > .bux-card > .bux-image {
  max-width: 55%;
}

.tile-collection,
.card-collection {
  margin-bottom: -24px;
}

.bux-card.bux-card--storytelling,
.bux-card--horizontal-storytelling > .bux-card__content,
.bux-card.bux-card--horizontal,
.bux-card--horizontal > .bux-card__content,
.bux-card.bux-card--horizontal-storytelling,
.bux-card--storytelling > .bux-card__content {
  background-color: inherit;
}
/* used in bio pages */
.w-250 {
  width: 250px;
}

.block {
  display: block;
}

.bux-event .bux-icon-dl__item > dt,
.bux-event .bux-icon-dl__item > dd {
  display: inline-block;
}
.bux-event .bux-icon-dl__item > dd {
  margin-left: 0;
}
/* .bux-event .bux-icon-dl__item > dt.icon-clock + dd {
  margin-left: 2.25rem;
}
.bux-event .bux-icon-dl__item > dt.icon-location-pin + dd {
  margin-left: 0.7rem;
} */
.bux-event dt:before {
  vertical-align: bottom;
}

div.event-date-row {
  max-height: unset;
  height: fit-content;
}
div.event-date-row > div {
  display: inline-block;
}
div.event-date-row > span {
  padding-inline: 0.5rem;
}
div.event-day,
div.event-month {
  font-weight: 700;
}

dt.icon,
span.icon:not(.bux-back-to-top__icon) {
  margin-bottom: 0;
}

.magazine-logo {
  /* height: 300%; */
  width: 211px;
  aspect-ratio: 2.2;
  margin: 8px auto;
  background-image: url(https://cph.osu.edu/sites/default/files/2024-06/cph-magazine-icon%201.svg);
  background-size: cover;
  transition: all 0.3s ease;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
div.bux-container__menu:has(.magazine-logo) {
  height: unset !important;
  align-items: center;
}
div.bux-container__menu:has(.magazine-logo) .bux-menu__search {
  height: 100%;
}
div.bux-container__menu:has(.magazine-logo) .bux-menu__search > * {
  height: 43px;
  margin-top: auto !important;
  margin-bottom: auto !important;
}

#bux-main-menu:first-child:has(.magazine-logo) {
  width: calc(100% - 100px);
  position: relative;
  left: 55px;
}

#bux-main-menu:nth-child(2) li:has(.magazine-logo) {
  display: none;
}
#bux-main-menu:first-child > ul:has(.magazine-logo) {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#bux-main-menu:first-child > ul:has(.magazine-logo) > li {
  margin-top: 0 !important;
}

#bux-main-menu:first-child > ul:has(.magazine-logo) > li {
  min-width: 100px;
}
#bux-main-menu:first-child > ul > li:has(.magazine-logo) {
  min-width: 350px;
}

#bux-main-menu:first-child li.bux-menu__item:has(.magazine-logo) {
  flex: 1;
}
#bux-main-menu:first-child a:has(.magazine-logo) {
  margin-inline: auto;
}
#bux-main-menu:first-child > ul:has(.magazine-logo) > li:nth-child(4),
#bux-main-menu:first-child > ul:has(.magazine-logo) > li:nth-child(5) {
  position: relative;
  right: 30px;
}
/* Less vertical spacing since these nav lists serve more as lists than menus and thus can be longer */
.disclosure-nav:has(.magazine-logo) .bux-menu > li > ul > li > a {
  padding-block: 8px !important;
}

div.bux-container__menu
  nav.disclosure-nav.disclosure-nav-orientation-vertical
  ul
  a {
  display: block;
  border-bottom: none;
  white-space: normal;
  border-left: 4px solid transparent;
  padding: 12px;
}

.bux-menu__item > span {
  cursor: default;
}

/* For Division Page faculty */
.bux-person__name:has(+ .bux-person__row > .bux-person__contact:empty) {
  margin-bottom: 0;
}
.bux-person__details:only-child,
.bux-person__details:has(+ .bux-person__contact:empty) {
  width: 100%;
}

/* For icon grid */
div.bux-icon-and-heading {
  pointer-events: none;
}
div.bux-icon-and-heading > .bux-tile__content {
  background-color: transparent;
}
div.bux-icon-and-heading > .bux-tile__content > .bux-tile__text {
  pointer-events: none;
  font-size: 1.3rem;
}

/* resusable */

.scarlet-text {
  color: #ba0c2f !important;
}
.views-exposed-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
}

.bux-text-area__text-area {
  min-width: 100px;
  max-width: 100%;
}

.bux-text-field__password-icon {
  bottom: 10px;
}

.bux-accordion ol.bux-list-ol {
  font-family: BuckeyeSans, HelveticaNeue, Helvetica, Arial, sans-serif;
}

/* Used in division page chair */
.min-h-0 {
  min-height: unset !important;
}

.mobile {
  display: block !important;
}
.desktop {
  display: none !important;
}

@media only screen and (min-width: 960px) {
  .mobile {
    display: none !important;
  }
  .desktop {
    display: block !important;
  }
}

/* IMAGE SLIDER STYLING */

.bux-image-slider {
  width: 100%;
}
.bux-image-slider .bux-hero__button > .icon {
  padding-top: 0.25rem;
}
.bux-image-slider .bux-hero__tabs {
  display: none;
}
.bux-image-slider .bux-hero__image-container,
.bux-image-slider .bux-hero__image-container > figure,
.bux-image-slider .bux-hero__image-container > figure > .bux-hero__image {
  height: 100%;
  width: 100%;
}
.bux-image-slider .bux-hero__image-container > figure > .bux-hero__image {
  padding-top: 0;
}
.bux-image-slider .bux-hero__image-container > figure > .bux-hero__image {
  height: 280px;
}
@media (min-width: 960px) {
  .bux-image-slider .bux-hero__image-container > figure > .bux-hero__image {
    height: 440px;
  }
}
.bux-image-slider .bux-hero__image-container > figure > .bux-hero__image > img {
  object-fit: contain;
}
.bux-image-slider figcaption {
  /* height: 88px; */
  overflow: auto;
}
@media (max-width: 960px) {
  .bux-image-slider figcaption {
    height: auto !important;
  }
}
.bux-image-slider .slide-number {
  position: absolute;
  top: 5px;
  right: 5px;
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: black;
  background: #f6f7f8;
  border-radius: 2px;
  padding: 2px 5px 0;
  z-index: 5;
}

.bux-image-slider .bux-hero__button {
  top: 37%;
}
.bux-image-slider .bux-hero__button--left {
  left: -15px;
}
.bux-image-slider .bux-hero__button--right {
  right: -15px;
}

/* END IMAGE SLIDER STYLING */

/* Increase text size of Q+A questions */
.bux-qa.bux-qa--storytelling .bux-qa__question-text {
  font-size: 1.25rem;
}

.give-link {
  display: inline-flex;
  position: relative;
  margin: 12px 16px 0;
  font-family: BuckeyeSans, HelveticaNeue, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;

  position: absolute;
  right: 175px;
}
.give-link > a {
  float: inline-block;
  padding: 0 0 4px;
  color: #212325;
  text-decoration: none;
  white-space: nowrap;
  color: #ba0c2f;
}
.disclosure-nav-orientation-vertical + .give-link {
  display: none;
}

/* Necessary to show over custom Give link */
.bux-menu__search {
  z-index: 10;
}

/* Nav items indicate when they open an external URL */
.bux-menu__link[href^="http"]:after,
.bux-sidebar-nav__link[href^="http"]:after {
  content: "\f116";
  font-size: 0.875rem;
  font-family: bux-icons;
  padding-left: 4px;
}

/* .bux-text figure {
  margin-top: 1rem;
} */
.bux-text .align-left,
.align-right {
  max-width: calc(50% - 0.5rem);
}
.bux-text .align-right {
  margin-left: 1rem;
}
.bux-text .align-left {
  margin-right: 1rem;
}

.bux-text .media:not(+ figcaption) {
  margin-bottom: 1rem;
}

.bux-text figure > figcaption {
  margin-bottom: 24px;
}

.scarlet-text .bux-social-links .bux-social-links__link {
  color: #ba0c2f !important;
}

.media-oembed-content {
  aspect-ratio: 1.5;
  height: auto;
}

div > .bux-text:first-child {
  margin-top: 0 !important;
}

/* Used in BUX Text */
hr:has(+ p) {
  margin-bottom: 16px;
}

/* Used on biopage link lists */
ul.text-links > li {
  margin-block: 4px;
}

div[data-drupal-selector="edit-actions"] {
  margin-bottom: 32px;
}

/* Fix for title overlapping headshots on people mini */
.bux-person:has(.bux-person__row > .bux-person__contact:empty)
  > div.bux-person__name:not(.image-left),
.bux-person:has(.bux-person__row > .bux-person__contact:empty)
  > div.bux-person__row:not(.image-left) {
  width: calc(100% - 135px);
}

.no-top-tab-padding > .bux-tabpanel > .bux-tabpanel__panel > h2:first-child {
  margin-top: 0 !important;
}

div.news-story-content > div:last-child .bux-image-slider figcaption {
  border-bottom: none;
}

/* used for magazine issue on news stories, and text links */
.float-right {
  float: right;
}

/* used on leadership pages */
.spaced-titles {
  line-height: 1.4rem;
  margin-bottom: 8px;
}

@media (max-width: 960px) {
  .bux-layout:not(.no-mobile-gap) {
    gap: 40px;
  }
}

/* Remove extra spacing above CTA collections at tops of pages */
.bux-interior-hero:has(+ .bux-cta-collection) {
  margin-bottom: -16px;
}

/* Consistent vertical spacing */
.bux-cta-collection {
  margin-block: 16px;
}

/* Make CTA collections with at least 4 items more compact */
.bux-cta-collection > ul:has(> :nth-child(4)) > li {
  padding: 0 40px;
}
.bux-interior-hero + .bux-text {
  margin-top: 32px !important;
}
.bux-text > h2:not(:first-child) {
  margin-top: 32px;
}
.bux-h3,
h3 {
  font-weight: 800;
  font-size: 1.3rem;
}
.date-list-item {
  margin-bottom: 6px;
}

@media (max-width: 960px) {
  .bux-mar-lr-sp--16 {
    margin-inline: -16px;
  }
}

@media (max-width: 960px) {
  #osu-navbar > .bux-osu-nav__wrapper > .bux-container {
    padding-left: 16px;
  }
  .bux-header > .bux-container {
    padding-left: 0;
  }
}

.stack-on-mobile {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
@media (max-width: 640px) {
  .stack-on-mobile {
    flex-basis: 100%;
    flex-direction: column;
    margin-block: 1rem;
  }
}
@media (max-width: 640px) {
  .spread-on-mobile {
    width: 100%;
  }
  .spread-on-mobile > * {
    display: flex;
    justify-content: space-around;
  }
}

/* Accessibility fix added 8/22/2025 to make outline fully visible */
.bux-card__heading:not(.bux-card__taxonomy + .bux-card__heading) {
  padding-top: 3px;
}

ul[class]:has(+ p),
ol[class]:has(+ p) {
  margin-bottom: 16px;
}
.max-w-400 {
  max-width: 400px;
}
.order-1 {
  order: 1;
}
.order-2 {
  order: 2;
}
.bux-mar-bottom-sp-16 {
  margin-bottom: 16px;
}
@media (min-width: 960px) {
  .w-300\@lg {
    width: 300px;
  }
  div.bux-grid_cell--min\@lg {
    flex-basis: 0;
    flex-grow: 0;
    width: auto;
  }
  div.bux-mar-bottom-none\@lg {
    margin-bottom: 0 !important;
  }
  .order-1\@lg {
    order: 1;
  }
  .order-2\@lg {
    order: 2;
  }
}
#biopage-contact:nth-child(2) {
  background: red;
}
@media (max-width: 959px) {
  div.bux-tabpanel__panel {
    padding: 16px;
  }
}

.bux-select {
  max-width: 50%;
}

/* Custom Code for Date Lists */

.bux-date-list.bux-listicle__item {
  margin-bottom: 24px;
}
.bux-date-list .bux-listicle__title {
  align-items: center;
}
.bux-date-list .bux-listicle__title-text {
  margin: 0;
}
.bux-date-list .bux-listicle__title-number {
  height: 50px;
  min-width: 50px;
  padding: 4px;
  margin-right: 12px;
}
.bux-date-list__month {
  line-height: 18px;
  font-size: 14px;
}
.bux-date-list__day {
  line-height: 24px;
  font-size: 24px;
}
.bux-date-list .bux-listicle__title,
.bux-date-list .bux-listicle__text {
  margin-bottom: 0px;
}

/* End Custom Code for Date Lists */

p.bux-quote__text {
  font-weight: 700;
}

@media (max-width: 1215px) {
  .floating-sidebar {
    padding-top: 32px;
    border-top: 2px solid #eff1f2;
  }
}
@media (min-width: 1216px) {
  div:has(> .floating-sidebar) {
    position: relative;
    left: calc((240px - (clamp(0px, calc(100vw - 1216px), 240px))) / -2.4);
  }
  .floating-sidebar {
    position: absolute;
    top: 0;
    left: calc(100% + 64px);
    width: 350px;
    padding-left: 32px;
    padding-right: 32px;
    padding-right: calc(min(240px, max(calc(100vw - 1216px), 0px)) / 2.4px);
    border-left: 2px solid #eff1f2;
  }
}
/* aside.left-sidebar:not(:has(> div)) {
  display: none;
} */
/* @media (min-width: 1216px) { */
aside.left-sidebar:not(:has(> div)) {
  width: calc(12.5% - 32px) !important;
  flex-basis: calc(12.5% - 32px) !important;
}
/* } */
.justify-end {
  justify-content: end;
}

.bux-text:has(> h1.visually-hidden) {
  margin-bottom: 0 !important;
}

.bux-cta-in-page > h2 {
  margin-bottom: 16px;
}

/* Temp fix added 1/28/2026 to remove underline from download icon */
.bux-link--alt.bux-link--before {
  border-bottom: none;
}
