  /* Hero Section */
  header.home-banner {
    background: linear-gradient(135deg, rgba(46,78,52,0.85), rgba(46,72,78,0.85)), url('../images/manuscript.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 6rem 0;
    text-align: center;
  }
  header.home-banner::after {
    content: "";
    position: absolute;
    bottom: -10%;
    left: 0;
    width: 100%;
    height: 20%;
    background: url('wave-divider.svg') repeat-x;
    background-size: contain;
    transform: rotate(180deg);
  }
  header.home-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
  }
  header.home-banner p.lead {
    font-size: 1.5rem;
    animation: fadeInUp 1s ease-out;
  }
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  /* Featured Authors Cards */
  .featured-authors .card {
    transition: transform 0.2s;
  }
  .featured-authors .card:hover {
    transform: translateY(-5px);
  }
  /* About Section */
  .about-section {
    background-color: #e9ecef;
    padding: 3rem 1rem;
    margin-top: 2rem;
  }
  /* Upcoming Events Section */
  .events-section {
    padding: 3rem 1rem;
    background-color: #fff;
    margin-top: 2rem;
  }
  /* Newsletter Section */
  .newsletter-section {
    background-color: #e9ecef;
    padding: 3rem 1rem;
    margin-top: 2rem;
  }
  /* Accent Button Styles */
  .btn-accent {
    background-color: #ebd5b3;
    color: #333;
    border: none;
    transition: background-color 0.2s;
  }
  .btn-accent:hover {
    background-color: #d4bea0;
  }
  /* Manuscripts Section */
  .manuscripts-section .card {
    overflow: hidden;
  }
  .manuscripts-section img {
    transition: transform 0.3s ease;
  }
  .manuscripts-section img:hover {
    transform: scale(1.05);
  }
  .manuscripts-section .card-img-top {
    width: 450px;
    height: 450px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  /* For the static featured authors section */
.featured-authors .card-title {
  font-weight: 500; /*was 600*/
}

/* For the dynamic latest additions section */
.latest-additions h5 {
  font-weight: 500; /*was 600*/
}

/* Manuscript cards: responsive thumbnails */
.manuscripts-section .card-img-top { width: 100%; height: 260px; }
.manuscripts-section .card { border: 0; border-radius: .75rem; transition: box-shadow .2s, transform .2s; }
.manuscripts-section .card:hover { box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.15) !important; transform: translateY(-4px); }
.manuscripts-section .card-footer { background: transparent; border-top: 0; }

/* Detail pages (events, manuscript articles) */
.detail-hero {
  background: linear-gradient(135deg, rgba(46,78,52,.88), rgba(46,72,78,.88)), var(--hero-img, none) center/cover no-repeat;
  color: #fff; text-align: center; padding: 4.5rem 1rem 5rem;
}
.detail-hero h1 { font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 900px; margin: 0 auto; }
.detail-hero .detail-meta { margin-top: 1rem; opacity: .9; }
.detail-hero .detail-meta span { display: inline-block; margin: 0 .75rem; }
.detail-back { display: inline-block; margin-bottom: 1rem; color: #2e4e34; text-decoration: none; font-weight: 500; }
.detail-back:hover { text-decoration: underline; }
.detail-card { margin-top: -3rem; position: relative; border: 0; border-radius: 1rem; box-shadow: 0 .75rem 2rem rgba(0,0,0,.12); }
.detail-body { max-width: 760px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; }
.detail-body > p:first-of-type::first-letter { float: left; font-size: 3.4rem; line-height: 1; padding: .15rem .5rem 0 0; color: #2e4e34; font-weight: 700; }
.detail-body h2 { color: #2e4e34; margin-top: 2.2rem; padding-bottom: .4rem; border-bottom: 2px solid #ebd5b3; }
.detail-body figure { margin: 2rem 0; }
.detail-body figure img { border-radius: .75rem; box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.15); max-height: 480px; }
.detail-body figcaption { font-style: italic; margin-top: .5rem; }
.detail-credit { font-size: .85rem; color: #6c757d; }
.detail-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.detail-more a { display: block; padding: 1rem; border-radius: .75rem; background: #f6efe2; color: #333; text-decoration: none; transition: background .2s; }
.detail-more a:hover { background: #ebd5b3; }
