table,
table th,
table td {
  padding: 1px 1px;
  font-size: 0.9em;
  line-height: 1;  /* reduce vertical spacing */
}

.book-header-banner {
  text-align: center;   /* Centers the image */
  background-color: #f0f2f5; /* Light gray shading */
  padding: 20px 0;      /* Add space above and below */
}

.book-header-banner img {
  max-width: 300px;     /* Shrinks the image nicely */
  height: auto;         /* Prevents squishing */
  display: block;
  margin: 0 auto;
}

.book-footer {
  font-size: 0.85rem;
  color: #555;
  margin-top: 40px;
  padding: 15px 30px;
  border-top: 1px solid #ddd;
  background-color: #f0f2f5; /* Light gray footer background */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 25px;  /* Small, clean logo */
  width: auto;
}

.footer-right a {
  color: #004080; /* BYU blue */
  text-decoration: none;
  margin: 0 5px;
}

.footer-right a:hover {
  text-decoration: underline;
}

/* Center everything on mobile */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
}



.tweet-center {
  display: flex;
  justify-content: center;
}
.tweet-center .twitter-tweet {
  margin: 0 auto;      /* removes extra left offset */
  display: inline-block;
}

.embed-center {
  display: flex;
  justify-content: center;
}


.responsive-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio, adjust if needed */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}