a {
  text-decoration: underline;
}

a.roll-button {
  text-decoration: none;
}

/* === PUBLICATIONS === */
/* This adds top and bottom space around paper download buttons */
div.wp-block-coblocks-accordion-item__content p {
  margin-bottom: 10px !important;
}

div.wp-block-coblocks-accordion-item__content div.wp-block-buttons {
  margin: 0px 0 25px !important;
}

.bio-padding {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.people-margin {
  margin-top: 28px !important;
}

#social-icons {
  margin-bottom: -20px;
}

div.entry-content {
  margin-top: 0 !important;
  margin-bottom: 40px !important;
}


/* === PRESS COVERAGE === */
.card {
  border-radius: 10px;
}

.center-align {
  text-align: center;
}

.card-image-container {
  position: relative;
  display: inline-block;
  height: 150px;
  width: 150px;
}

.card-image-container img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.5s ease;
}

.card-image-container:hover img {
  opacity: 0.3;
}

.media-button {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
}

/* Overlays the YouTube play button on hover over video cards */
/*.video-button {*/
/*  background: url("https://moralitylab.bc.edu/wp-content/uploads/sites/192/2023/10/youtube-play-button.webp")*/
/*    no-repeat center;*/
/*}*/

/* Overlays the Spotify play button on hover over audio cards */
/*.audio-button {*/
/*  background: url("https://moralitylab.bc.edu/wp-content/uploads/sites/192/2023/10/audio-button.webp")*/
/*    no-repeat center;*/
/*}*/

/* Overlays the Mac cursor icon on hover over web article cards */
/*.webpage-button {*/
/*  background: url("https://moralitylab.bc.edu/wp-content/uploads/sites/101/2023/05/cursor.png")*/
/*    no-repeat center;*/
/*}*/

.card-image-container:hover .video-button,
.card-image-container:hover .audio-button,
.card-image-container:hover .webpage-button {
  display: block;
}

/* === PEOPLE === */

/* Add a basic shadow to the element initially */
.profile-rectangle {
  background-color: #292929;
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 2.5px 10px rgba(0, 0, 0, 0.3);
}

/* Increase the shadow on hover to make it pop out */
.profile-rectangle:hover {
  background-color: #2f2f2f;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Add some extra padding above each profile picture */
.profile-picture-heading {
  padding-top: 25px;
}

/* Add some extra padding above each profile picture */
.profile-rectangle-padding {
  padding-top: 15px;
}

/* Tooltip */

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  width: 120px;
  top: 100%;
  left: 50%;
  margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
}

/* Triangle "tip" of the tooltip */
.tooltip .tooltip-text::after {
  content: " ";
  position: absolute;
  bottom: 100%; /* At the top of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #000 transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltip-text {
  visibility: visible;
}


/* === ALUMNI === */
.alum-name {
  margin: 0; 
  padding: 10px 0 0; 
  line-height: 1.8;
}

.timeline-wrapper {
  display: flex;
  justify-content: center;
}

/* Timeline Container */
.timeline {
  background: var(--primary-color);
  margin: 20px auto;
  padding: 20px;
}

/* Outer layer with the timeline border */
.timeline-card-wrapper {
  border-left: 2px solid gray;
}

/* Card container */
.timeline-card {
  position: relative;
  margin: 0 0 20px 20px;
  padding: 10px;
  background: #333;
  color: gray;
  border-radius: 8px;
  max-width: 400px;
}

/* Information about the timeline */
.timeline-card-info {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

/* Title of the card */
.timeline-card-title {
  position: relative;
  font-size: 12pt !important;
  margin: 5px 0 0 !important;
  padding: 0 !important;
}

/* Timeline dot  */
.timeline-card-title::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 999px;
  left: -49px;
  top: 10px;
  border: 3px solid #6bd620;
}

/* JOIN US */
.rounded-corners {
  border-radius: 8px;
}