/* Global */
.page-subhead{
    border-bottom: 2px solid #eff1f2;
    font-size: 1.5rem;
    line-height: 2.25rem;
    padding-bottom: 32px;
    color: #646a6e;
    font-weight: 600;
  }

    .error-message{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

    @media screen and (max-width: 640px) {
    .error-message{
     grid-template-columns: 1fr;
    }
  }

  .error{
    border-bottom:none;
    padding-bottom: 0px;
  }

  .main-container{
    margin-top: 64px;
    margin-bottom: 64px;
  }

  @media screen and (max-width: 640px) {
    .main-container{
      margin-top: 32px;
      margin-bottom: 32px;
    }
  }

    .main-container-related{
    margin-top: 64px;
  }

  @media screen and (max-width: 640px) {
    .main-container-related{
      margin-top: 32px;
    }
  }


  .bux-breadcrumb {
    margin: 0;
}


/* Landing Page */
.head-block{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .site-headline{
    font-family: "BuckeyeSerif",Georgia,serif;
    font-size: 48px;
    font-weight: 800;
    text-align: center;
} 

@media screen and (max-width: 640px) {
  .site-headline{
    font-size: 32px;
  }
}

.site-subheadline{
    color: #646a63;
    font-size: 24px;
    /* padding: 0 3rem 0 6rem; */
    text-align: center;
}

@media screen and (max-width: 640px) {
  .site-subheadline{
    font-size: 22px;
  }
}

.news-row-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
  
  }


/* Remove Background from Cards */
.card-no-background{
    background-color: #f6f7f8;
  }


/* Full Bleed Sections */

.full-bleed{
    box-shadow: 0 0 0 100vmax #f6f7f8;
    clip-path: inset(0 -100vmax);
}

.full-bleed-background-ltgray{
    background-color: #f6f7f8;
    padding: 3rem 128px;
}

  @media (max-width: 640px) {
     .full-bleed-background-ltgray{
    padding: 3rem 2rem;
}
  }

.full-bleed-head{
  display: flex;
   justify-content: space-between;
   align-items: center;
}

.full-bleed-card-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

    @media (max-width: 960px) {
      .full-bleed-card-container{
        grid-template-columns: 1fr 1fr;
      }
      .full-bleed-card-container .full-bleed-card:not(:nth-child(1)):not(:nth-child(2)) {
  display: none;
}
    }

        @media (max-width: 640px) {
      .full-bleed-card-container{
        grid-template-columns: 1fr;
      }
      .full-bleed-card-container .full-bleed-card:not(:nth-child(1)){
      display: none;
    }
  }

        /* @media (max-width: 960px) {
      .card-two, .card-three{
        display: none;
      }
    } */


/* Starter Page */
.sample-container{
    background-color: #ffffff!important;
    border: 2px dashed orange;
    color: orange!important;
    display: block;
    font-weight: 700;
    height: 100px;
    padding: 2rem;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
  }



  /* Sidebar */
  .sidebar-rule{
    border-right: 2px solid #dfe3e5;
    padding-right: 32px;
  }

  .sidebar-head{
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px;
  }

  /* Story Page */
  .main-story-card{
    margin-top: 2rem;
    border-bottom: 2px solid #eff1f2;
    margin-bottom: 10px;
    padding-bottom: 30px;
  }

   .story-container{
    border-bottom: solid 2px #eff1f2;
    margin-bottom: 1rem;
  }

  .story-container:last-child{
    border-bottom: none;
    }

  .sm-sans{
    font-family: 'BuckeyeSans';
    margin-bottom: 0;
  }

  .story-by-social{
    display: flex;
    justify-content: space-between;
  }

  .caption-with-rule{
    font-family: 'BuckeyeSans';
    padding: 10px 0;
    border-bottom: 2px solid #dfe3e5;
  }

  .body-with-image{
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }
  
  @media screen and (max-width: 640px) {
    .body-with-image {
      display: block;
    }
  }

    @media screen and (max-width: 960px) {
    .related-story-col{
      display: none;

  }
  }

  .related-story-col-mobile{
    margin: 32px auto;
    border-top: 2px solid #eff1f2;
    border-bottom: 2px solid #eff1f2;
    padding-top: 32px;
    /* padding-bottom: 32px; */
  }

  .related-story-container{
    display: flex;
    gap: 1rem;
    margin-bottom: 24px;
  }

    @media (min-width: 960px) {
    .related-story-col-mobile{
      display: none;
    }
  }


  .related-story-mobile{
    margin: 1rem auto;
    max-width: 300px;
  }

    /* @media screen and (max-width: 640px) {
    .main-story-col{
      width: 100%;
    flex-basis: 100%;

  }
  } */

  .main-story-col{
  max-width: 50%;
  }

      @media screen and (max-width: 960px) {
    .main-story-col{
      max-width: 80%;
      margin:auto;

  }
  }

    @media screen and (max-width: 640px) {
    .main-story-col{
      max-width: 95%;
      margin:auto;

  }
  }


  .related-story{
    border-bottom: solid 2px #eff1f2;
    margin-bottom: 32px;
    padding-bottom: 24px;
  }

  .related-story:last-child{
    border-bottom: none;
    }


  .story-container{
    border-bottom: solid 2px #eff1f2;
    padding-bottom: 1rem;
    margin-top: 1rem;
}

.story-container:last-child{
border-bottom: none;
}

.story-image__main{
    min-width: 60%;
  }

  .story-image{
    float: right; 
    max-width: 300px; 
    padding: 0 2rem ;
    }

      @media screen and (max-width: 640px) {
    .story-image{ 
    float: none; 
    margin: auto;
    padding: 0 2rem 2rem;
    }
  }
    

  /* this is also on event -review */
  .story-main{
    margin: auto;
  }

  .sm-gray{
    color: #646a63;
  }

  .uppercase-gray{
    text-transform: uppercase;
    color: #646a63;
    font-size: 14px;
  }

  .bux-card
{flex: 1 1 0%;}

.tags{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: baseline;
  }


  /* Event Page */
  
  .sm-body{
    font-size: 16px;
  }

  .speaker-name{
    font-size: 18px;
    margin-bottom: 15px;
  }

  .speaker-name{
    font-size: 18px;
    margin-bottom: 15px;
  }

  @media screen and (max-width: 640px) {
    .bux-event-card{ 
      margin-bottom: 2rem;
    }
  }

  .event-head{
    display: flex;
    align-items: center;
  
  }

  .event-container{
    position: relative;
    border-bottom: solid 2px #eff1f2;
    margin-bottom: 1rem;
  }

  .event-container:last-child{
    border-bottom: none;
    }

    .event-details{
    width: 75%;
    line-height: 1.75rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

@media screen and (max-width: 640px) {
.event-details{ 
  flex-direction: column;
  width: 100%;

}
}


 .event-icon{
    display: flex;
    gap: .75rem;
    line-height: 2rem;
    align-items: center;
  }

  .date-container{
    border-right:2px solid #f6f7f8
  }

  .event-date{
    background-color:#f6f7f8;
    max-height: fit-content;
    max-width: fit-content;
    padding: 1rem 2rem;
    text-align: center; 
    color: #ba0c2f;
  }

  @media screen and (max-width: 640px) {
    .event-date{ 
      max-width: fit-content;
      padding: .5rem 2rem;
      display: flex;
      gap: 1rem;
  
    }
  }

  .event-month{
    text-transform: uppercase;
    font-weight: 700;
  }
  @media screen and (max-width: 640px) {
    .event-month{ 
  font-size: 16px;
  
    }
  }

  .event-day{
    font-weight: 800;
    font-size: 1.75rem;
  }

  @media screen and (max-width: 640px) {
    .event-day{ 
  font-size: 16px;
  font-weight: 700;
  
    }
  }

  .event-image{
    max-width: 200px;
    position: absolute;
    top: 0;
    right: 0;
  }
  
  @media screen and (max-width: 640px) {
    .event-image{ 
      max-width: 100%;
      position: relative;
    }
  }

.event-card{
    border-bottom: 2px solid #eff1f2;
    padding-bottom: 2rem;
  }
  
  @media screen and (max-width: 640px) {
    .event-card{ 
      display: flex;
      flex-direction: column;
      flex-direction: column-reverse;
    }
  }

  @media (max-width: 640px) {
    .bux-featured-card--image-left .bux-featured-card--wrapper {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
  }
  
  @media (max-width: 640px) {
    .bux-featured-card .bux-featured-card--image {
        width: 100%;
    }
  }

  .dl-gray{
    background-color: #f6f7f8;
    padding: 2rem 3rem;
    display: flex;
    justify-content:space-between ;
  }

  @media (max-width: 640px) {
    .dl-gray {
       flex-direction: column;
    }
  }

  .event-buttons{
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }
  
  @media (max-width: 640px) {
    .event-buttons {
      flex-direction: column;
      margin-bottom: 1rem;
    }
  }

  .event-button-social{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  @media (max-width: 640px) {
    .event-button-social {
      flex-direction: column;
    }
  }

  .social-share{
    color: #ba0c2f;
  }

  @media (max-width: 640px) {
    .event-social {
      display: flex;
      justify-content: space-between;
      margin-top: 1rem;
    }
  }

  .speakers{
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }

  .speakers .bux-person__name {
      width: 100%;
  }
  
  @media (max-width: 640px) {
    .speakers{
      flex-direction:column;
    }
  }

  .speaker-image{
    max-width: 85px;
  }

  .speaker-contact{
    border-bottom: 2px solid #eff1f2;
    padding-bottom: 2rem;
    width: 100%;
  }

  .heading-icon{
    padding-top: 3px;
  }

  .dl-label{
    display: flex; 
    gap: .75rem; 
  }

  .dl-detail{
    font-weight: 400;
  }

  /* event card */

  .event-card-image-container{
    position: relative;
  }

  .event-card-date-container{
width: fit-content; 
position: absolute; 
bottom: 0;
}




  /* needs review */
/* person page */
  .person-info{
    display: flex;
    vertical-align: text-top;
    justify-content: space-between;
  }

  @media (max-width: 640px) {
    .person-info {
     flex-direction: column-reverse;
     
    }
  }

  /* .icon-list__item{
    display: flex;
    flex-direction: row;
    align-items: start;
  } */

/* .icon-list__item{
    display: flex;
    flex-direction: row;
    align-items: start;
    margin-bottom: 10px;
  } */

  /* .icon-placement{
    max-width: 30px;

    color: #ba0c2f;
    font-size: 24px;
  } */

  .dl-gray-person{
    background-color: #f6f7f8;
    padding: 2rem 3rem;
    width: 72%;
  }

  @media (max-width: 640px) {
    .dl-gray-person {
      width: 100%;
      margin-top: 1rem;
    }
  }

  .person-contact__image{
    width: 25%;
  }

  @media (max-width: 640px) {
    .person-contact__image {
      width: 100%;
    }
  }

  .icon-image{
    color: #ba0c2f;
    width: 24px;
  }

  /* Form Page */

  .field-row{
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }
  @media (max-width: 640px) {
    .field-row {
        flex-direction: column;
    }
  }

  .field-2col{
    width: 50%;
  }
  @media (max-width: 640px) {
    .field-2col {
        width: 100%;
    }
  }
  
  .field-3col{
    width: 33.33%;
  }
  @media (max-width: 640px) {
    .field-3col {
        width: 100%;
    }
  }

  .form-buttons{
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }

  /* Card Collections */
  .card-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
  
  @media (max-width: 960px) {
    .card-container {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 640px) {
    .card-container {
      grid-template-columns: 1fr;
    }
  }

  .card-container-sidebar{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  @media (max-width: 640px) {
    .card-container-sidebar {
      grid-template-columns: 1fr;
    }
  }

  /* Card Collection with Ruled Grid */

  .ruled-grid {
  
    --gap: 3em;
    --line-thickness: 2px;
    --line-color: #DFE3E5;
    --line-offset: calc(var(--gap) / 2);
    
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: minmax(min-content, 1fr); /* same height for all rows */
    align-items: stretch;
    gap: var(--gap);
    overflow: hidden;
  }

  @media (max-width: 960px) {
    .ruled-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 640px) {
    .ruled-grid {
      grid-template-columns: 1fr;
    }
  }

  
  .ruled-grid > .card{
    position: relative; 
    border-bottom: 2px solid #DFE3E5;
    padding-bottom: 3rem;
  }

    @media (max-width: 640px) {

    .ruled-grid > .card, .main-story-card{
       border-bottom: 0;
  }

  

}

 .ruled-grid > .card:nth-last-child(-n+3){
    border-bottom: 0;
  }

   @media (max-width: 960px) {
    .ruled-grid > .card:nth-last-child(-n+3){
    border-bottom: 2px solid #DFE3E5;
  }

  .ruled-grid > .card:nth-last-child(-n+2){
    border-bottom: 0;
  }

  }

     @media (max-width: 640px) {
    .ruled-grid > .card:nth-last-child(-n+3){
    border-bottom: 0;
  }
}


 
   
  
  /* Pseudo Elements */
  
  .ruled-grid > .card::before,
  .ruled-grid > .card::after {
    content: "";
    background-color: var(--line-color);
    position: absolute;
  }
  
  /* Row Lines - line with no gap */
  
  /* .ruled-grid > .card::after {
    inline-size: 100vw;
    block-size: var(--line-thickness);
    inset-block-start: calc(var(--line-offset) * -1);
    inset-inline-start: 0;
  } */
  
  /* Column Lines */
  
  .ruled-grid > .card::before {
    inline-size: var(--line-thickness);
    block-size: 100vh;
    inset-block-start: 0;
    inset-inline-start: calc(var(--line-offset) * -1);
  }

  .bux-icon-dl__item {
      font-size: 16px;
  }

/* Allow interactions inside card content */
.bux-card__content {
  pointer-events: auto;
}
