.owl-theme .owl-nav {
  display: none !important;
}
.owl-theme .owl-dots {
  display: none !important;
}
.scroll-section {
  scroll-margin-top: 120px;
}
body[data-lite="true"] * {
  animation: none !important;
  transition: none !important;
}

body[data-lite="true"] .appear-animation {
  opacity: 1 !important;
  transform: none !important;
}
@media print {

  header,
  footer,
  .owl-carousel-wrapper,
  .video,
  .nav,
  .header-social-icons,
  .btn,
  iframe {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
    font-size: 12pt;
  }

  section {
    page-break-inside: avoid;
    margin-bottom: 40px;
  }

  h1, h2, h3 {
    color: black !important;
    page-break-after: avoid;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
  }
}
.embed-wrapper {
  margin-bottom: 20px;
}

.embed-wrapper iframe {
  width: 100%;
  border: none;
}

body[data-reviewer="true"] .header-social-icons,
body[data-reviewer="true"] footer,
body[data-reviewer="true"] .btn,
body[data-reviewer="true"] iframe {
  display: none !important;
}

body[data-reviewer="true"] {
  background: #fff;
}
.reviewer-banner {
  display: none;
  background: #f4f4f4;
  color: #333;
  text-align: center;
  padding: 10px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

body[data-reviewer="true"] .reviewer-banner {
  display: block;
}
.grant-cover {
  display: none;
  padding: 40px 20px;
  background: #ffffff;
  border-bottom: 2px solid #e5e5e5;
  text-align: center;
}

.grant-cover h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.grant-cover p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  opacity: 0.85;
}

body[data-reviewer="true"] .grant-cover {
  display: block;
}
.submission-id {
  font-size: 0.85rem;
  margin-top: 10px;
  color: #666;
  letter-spacing: 0.5px;
}

body[data-reviewer="true"] .submission-id {
  display: block;
}
@media print {
  body[data-reviewer="true"]::after {
    content: "CONFIDENTIAL — GRANT REVIEW COPY";
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 10pt;
    color: rgba(0,0,0,0.3);
    transform: rotate(-10deg);
  }

  body[data-reviewer="true"] .submission-id::after {
    content: " — Printed on " counter(page);
  }
}
@media print {
  body[data-reviewer="true"]::after {
    content: "CONFIDENTIAL — " attr(data-submission);
  }
}
.grant-cover {
  transition: max-height 0.6s ease, opacity 0.4s ease, margin 0.4s ease;
  overflow: hidden;
  max-height: 500px;
}

body.cover-hidden .grant-cover {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.pdf-button-wrapper {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}
.music-row {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.music-embed {
  width: 100%;
  max-width: 900px;   /* pick ONE width */
}

.music-embed iframe {
  display: block;
  width: 100%;
  height: 200px;      /* same height for all */
  border: none;
}
.icon-featured {
  opacity: 0.85;
}
.icon-featured.fas.fa-eye {
  color: #b08d57;
}
.icon-featured.fa-crown {
  color: #b08d57;   /* muted gold */
}

.grant-timeline {
  max-width: 600px;
  margin: 0 auto;
}

.grant-timeline p {
  text-align: left;
  margin-bottom: 8px;
}
.grant-timeline p {
  letter-spacing: 0.3px;
}
/* === GRANT PAGE BASE === */

.grant-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 1rem;
  line-height: 1.65;
}

/* Paragraph rhythm */
.grant-page p {
  margin-bottom: 1em;
}

/* Headings: calm hierarchy */
.grant-page h1,
.grant-page h2,
.grant-page h3 {
  line-height: 1.3;
  margin-bottom: 0.6em;
}
@media (max-width: 767px) {
  .grant-page {
    padding: 0 16px;
    font-size: 1rem;
  }

  .grant-page h1 {
    font-size: 1.6rem;
  }

  .grant-page h2 {
    font-size: 1.3rem;
  }

  .grant-page h3 {
    font-size: 1.1rem;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .grant-page {
    font-size: 1.02rem;
  }
}
@media (min-width: 1024px) {
  .grant-page {
    font-size: 1.05rem;
  }
}
@media print {
  body {
    background: white;
  }

  .grant-page {
    max-width: 100%;
    padding: 0;
    font-size: 11pt;
    line-height: 1.5;
  }

  a {
    color: black;
    text-decoration: none;
  }

  .pdf-button-wrapper,
  nav,
  footer {
    display: none !important;
  }
}
@media print {

  section {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  h1, h2, h3 {
    page-break-after: avoid;
    break-after: avoid;
  }

}

/* === ARTIST CARD RESET === */

#artists {
  max-width: 100%;
}

#artists .artist-card,
#artists .featured-box {
  max-width: none;
}

#artists img {
  width: 100%;
  height: auto;
  display: block;
}
/* Prevent text overlap on artist images */

#artists .artist-info,
#artists .box-content {
  position: relative;
  background: rgba(0,0,0,0.6);
  padding: 12px;
}

#artists h3,
#artists p {
  margin: 0;
  line-height: 1.4;
}
/* === DESKTOP REBALANCE === */
@media (min-width: 1024px) {

  .owl-carousel .item {
    max-width: 900px;
    padding: 0;
  }

  .owl-carousel .item p,
  .owl-carousel .item h2,
  .owl-carousel .item h3 {
    text-align: left;
  }

}
@media (min-width: 1024px) {

  #artists img {
    min-height: 360px;
    object-fit: cover;
  }

  #artists .featured-box,
  #artists .artist-card {
    margin-bottom: 30px;
  }

}
/* Mobile: text below image */
@media (max-width: 767px) {
  #artists .box-content {
    position: static;
    background: #111;
  }
}

/* Desktop: overlay restored */
@media (min-width: 1024px) {
  #artists .box-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.65);
  }
}
@media (min-width: 1280px) {
  .grant-page {
    max-width: 1100px;
  }
}
.section-intent {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 0.95rem;
  opacity: 0.85;
}
@media print {
  iframe:not(.print-allowed) {
    display: none !important;
  }
}
/* Prevent grant rules from touching visual components */
.grant-page .owl-carousel,
.grant-page #artists {
  all: unset;
}


