@import "_vars.css";
@import "_title.css";
@import "_card-nav.css";
@import "_figure.css";
@import "_hero-banner.css";

/* improve font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero.hero-overlay::before{
	 background:none;
}

.hero-overlay .container > .wysiwyg,
.hero-overlay .container > .wysiwyg-x {
    background-color: rgba(1,33,105,.85);
    padding: 3rem;
    border-radius:10px;
    display:block;
}

.hero {
    max-height: 60vh !important;
    overflow: hidden !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Target the img inside hero */
.hero img {
    height: auto;
    width: auto;
    max-height: 100% !important;
    max-width: 100%;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
}

#anchor-programs-and-events a.btn-primary.btn.text-white, #anchor-programs-and-events .card-text, #anchor-programs-and-events .card-title, #anchor-hatchery-staff-communities a.btn-primary.btn.text-white, #anchor-hatchery-staff-communities .card-text, #anchor-hatchery-staff-communities .card-title {
    margin-left: 10%;
    width:80%;
    margin-right: 10%;
}

.section:last-of-type {
    padding-bottom: 1.5rem;
}
span.anchor:last-of-type {
    margin-bottom: 2rem;
}

#anchor-visitor-information section,  #anchor-stories-from-the-hatchery section{
    background-image:url("//template.emory.edu/shared-assets/images/pattern-bg-blue.svg");
    background-repeat:repeat;
    background-position:center top;
}

 #anchor-stories-from-the-hatchery section{
    background-color: #ebf5f9;  
}

#anchor-frequently-asked-questions, #anchor-calendar-of-events{
    padding-bottom: 3rem;
}

.figure .figure-img {
    margin-bottom: 0;
    display: block;
    margin: 0 auto;
}

.calendar.card .card-header p {
    font-size: 1.2rem;
    padding-top: 1rem;
}


ul.juicer-feed {
    max-width: 100%;
}

li.feed-item.j-instagram {
    border: solid 1px #007dba !important;
}

.juicer-feed.modern .j-poster h3{
    font-size: 1.2rem !important;
    color: #012169;
    font-weight: 700;
}
.juicer-feed.modern .j-poster .j-date {
    font-size: .9rem !important;
    color: #012169;
    font-weight: 700;
}

.nonVisual{
  font-size: 0;
  width: 1px;
  height: 1px;
  display: inline-block;
  overflow: hidden;
  position: absolute!important;
  border: 0!important;
  padding: 0!important;
  margin: 0!important;
  clip: rect(1px,1px,1px,1px);
}

 span#anchor-other-giving-options {
        margin-top: -175px;
        padding-bottom: 100px;
    }

@media (min-width: 992px){
    .hero > .container {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2;
    }
    .hero > img {
        position: relative;
        z-index: 1;
    }
   #anchor-stories-from-the-hatchery h2{ 
         text-align: center;
   } 
    #anchor-stories-from-the-hatchery .carousel.slide {
        margin-left: 20%;
        width: 60%;
        margin-right: 20%;
    }
    span#anchor-other-giving-options {
        margin-top: -140px;
    }
    
}

@media (min-width: 767px){
    article h1 {
    font-size: 3rem;
  }
}


@media (max-width: 991px){
    .hero-overlay .container{
        background-color: #012169;
        max-width:none;
    }
}


@media (max-width: 767px){
    #anchor-the-hatchery-supports-student {
        padding-top: 20px;
    }
}

.second-btn-row {
    margin-left: 20px;
}

.wysiwyg h2{
    max-width: 100%;
}

.wysiwyg{
    width: 100%;
}

#anchor-by-the-numbers h3.card-title {
 font-size: 5rem;   
 color: #007dba;
}

#anchor-by-the-numbers p.card-text {
 font-weight: 600; 
  font-size: 1.5rem;   
}

.airtable-embed{
    width: 100%;
    height:600px;
}
.program-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.program-box {
  flex: 1 1 45%;
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.program-box h2 {
  margin-top: 0;
}
.program-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  background-color: #00477b; /* Emory blue or your preferred color */
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.program-button:hover {
  background-color: #00345a; /* darker hover state */
}