/* Radio Tribe Productions Website Template
   HTML5 / Bootstrap 5 friendly / responsive
*/

:root {
  --rtp-bg: #090909;
  --rtp-bg-soft: #121212;
  --rtp-card: #171717;
  --rtp-card-2: #1f1f1f;
  --rtp-text: #f4efe6;
  --rtp-muted: #b8b0a6;
  --rtp-accent: #c4934a;
  --rtp-accent-2: #7e2f2f;
  --rtp-border: rgba(244, 239, 230, 0.14);
  --rtp-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--rtp-bg);
  color: var(--rtp-text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--rtp-accent);
  text-decoration: none;
}

a:hover,
a:focus {
  color: #e1b569;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: .75rem 1rem;
  background: var(--rtp-accent);
  color: #000;
  z-index: 2000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-navbar {
  background: rgba(9, 9, 9, 0.92);
  border-bottom: 1px solid var(--rtp-border);
  backdrop-filter: blur(12px);
}

.navbar-brand {
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(244, 239, 230, 0.82);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--rtp-accent);
}

.social-nav a {
  font-size: .86rem;
  color: var(--rtp-muted);
  margin-left: .75rem;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9,9,9,.92), rgba(9,9,9,.72), rgba(9,9,9,.28)),
    radial-gradient(circle at 72% 20%, rgba(196,147,74,.18), transparent 34%),
    linear-gradient(135deg, #151515 0%, #050505 100%);
}

.hero-sm {
  min-height: 46vh;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.kicker {
  color: var(--rtp-accent);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
}

.display-title,
.section-title,
h1,
h2,
h3,
h4 {
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  letter-spacing: .015em;
}

.display-title {
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: .95;
  text-transform: uppercase;
  max-width: 980px;
}

.hero-copy {
  max-width: 700px;
  color: var(--rtp-muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.section-pad {
  padding: 5rem 0;
}

.section-pad-sm {
  padding: 3rem 0;
}

.bg-soft {
  background: var(--rtp-bg-soft);
}

.text-muted-rtp {
  color: var(--rtp-muted);
}

.btn-rtp {
  --bs-btn-bg: var(--rtp-accent);
  --bs-btn-border-color: var(--rtp-accent);
  --bs-btn-color: #15100a;
  --bs-btn-hover-bg: #e1b569;
  --bs-btn-hover-border-color: #e1b569;
  --bs-btn-hover-color: #100c07;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.btn-outline-rtp {
  --bs-btn-color: var(--rtp-text);
  --bs-btn-border-color: rgba(244,239,230,.42);
  --bs-btn-hover-bg: var(--rtp-text);
  --bs-btn-hover-border-color: var(--rtp-text);
  --bs-btn-hover-color: #090909;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.rtp-card {
  background: linear-gradient(180deg, var(--rtp-card), #111);
  border: 1px solid var(--rtp-border);
  box-shadow: var(--rtp-shadow);
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
}

.rtp-card .card-body {
  padding: 1.5rem;
}

.rtp-card img,
.placeholder-img {
  object-fit: cover;
  width: 100%;
  display: block;
}

.placeholder-img {
  background:
    radial-gradient(circle at 32% 30%, rgba(196,147,74,.35), transparent 28%),
    linear-gradient(135deg, #2a2a2a, #0d0d0d);
  min-height: 190px;
}

.placeholder-img.tall {
  aspect-ratio: 4 / 5;
}

.status-badge {
  display: inline-block;
  padding: .35rem .65rem;
  border: 1px solid rgba(196,147,74,.5);
  color: var(--rtp-accent);
  border-radius: 999px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
}

.feature-panel {
  background:
    radial-gradient(circle at top right, rgba(196,147,74,.16), transparent 28%),
    linear-gradient(135deg, #1a1a1a, #0b0b0b);
  border: 1px solid var(--rtp-border);
  border-radius: 1.25rem;
  box-shadow: var(--rtp-shadow);
  overflow: hidden;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(196,147,74,.12);
  border: 1px solid rgba(196,147,74,.38);
  display: grid;
  place-items: center;
  color: var(--rtp-accent);
  font-weight: 900;
}

.filter-bar {
  gap: .75rem;
}

.filter-btn {
  border: 1px solid var(--rtp-border);
  background: transparent;
  color: var(--rtp-muted);
  border-radius: 999px;
  padding: .55rem 1rem;
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus {
  color: #090909;
  background: var(--rtp-accent);
  border-color: var(--rtp-accent);
}

.news-meta {
  color: var(--rtp-muted);
  font-size: .9rem;
}

.sidebar-box {
  border: 1px solid var(--rtp-border);
  border-radius: 1rem;
  background: var(--rtp-card);
  padding: 1.25rem;
}

.social-feed-placeholder {
  min-height: 300px;
  border: 1px dashed rgba(244,239,230,.28);
  border-radius: 1rem;
  display: grid;
  place-items: center;
  color: var(--rtp-muted);
  padding: 2rem;
  background: rgba(255,255,255,.03);
}

.form-control,
.form-select {
  background: #0f0f0f;
  border: 1px solid var(--rtp-border);
  color: var(--rtp-text);
}

.form-control:focus,
.form-select:focus {
  background: #101010;
  color: var(--rtp-text);
  border-color: var(--rtp-accent);
  box-shadow: 0 0 0 .25rem rgba(196,147,74,.18);
}

.form-label {
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--rtp-border);
  background: #050505;
  color: var(--rtp-muted);
  padding: 3rem 0 2rem;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: var(--rtp-text);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .45rem;
}

.footer-links a {
  color: var(--rtp-muted);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--rtp-accent);
}

.carousel-caption-rtp {
  position: static;
  text-align: left;
  padding: 1.25rem;
}

.ratio iframe {
  border: 0;
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 64vh;
  }

  .hero-content {
    padding: 5rem 0 4rem;
  }

  .section-pad {
    padding: 3.5rem 0;
  }

  .social-nav {
    margin-top: 1rem;
  }

  .social-nav a {
    margin-left: 0;
    margin-right: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* Radio Tribe frame-grab aspect ratios
   Use 16:9 for standard widescreen frames.
   Use 2.39:1 for cinematic scope frames.
*/

.frame-16x9,
.frame-scope {
  width: 100%;
  display: block;
  object-fit: cover;
  background:
    radial-gradient(circle at 32% 30%, rgba(196,147,74,.35), transparent 28%),
    linear-gradient(135deg, #2a2a2a, #0d0d0d);
}

.frame-16x9 {
  aspect-ratio: 16 / 9;
}

.frame-scope {
  aspect-ratio: 2.39 / 1;
}

.project-card .frame-scope,
.news-card .frame-scope {
  min-height: 150px;
}

@media (max-width: 767.98px) {
  .project-card .frame-scope,
  .news-card .frame-scope {
    min-height: 130px;
  }
}

/* Placeholder graphics safety rules
   These keep all placeholder graphics responsive, contained, and correctly cropped.
*/

.temp-graphic,
.frame-16x9,
.frame-scope,
.placeholder-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  overflow: hidden;
}

.frame-16x9,
.ratio-frame-16x9 {
  aspect-ratio: 16 / 9;
}

.frame-scope,
.ratio-frame-scope {
  aspect-ratio: 2.39 / 1;
}

.placeholder-img.tall,
.frame-tall {
  aspect-ratio: 4 / 5;
}

.rtp-card > img,
.rtp-card .frame-16x9,
.rtp-card .frame-scope,
.feature-panel img,
.carousel-item img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}

.rtp-card {
  min-width: 0;
}

.carousel,
.carousel-inner,
.carousel-item {
  overflow: hidden;
}

.carousel-item > img,
.carousel-item .frame-16x9,
.carousel-item .frame-scope {
  width: 100%;
}

.rounded-4 {
  overflow: hidden;
}

.image-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 30%, rgba(196,147,74,.35), transparent 28%),
    linear-gradient(135deg, #2a2a2a, #0d0d0d);
}

.image-frame > img,
.image-frame > picture,
.image-frame > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame.is-16x9 {
  aspect-ratio: 16 / 9;
}

.image-frame.is-scope {
  aspect-ratio: 2.39 / 1;
}

.image-frame.is-tall {
  aspect-ratio: 4 / 5;
}

@media (max-width: 767.98px) {
  .display-title {
    overflow-wrap: anywhere;
  }

  .feature-panel .row.g-0 > [class*="col-"] {
    min-width: 0;
  }
}

/* Project stills/gallery carousel sizing
   Keeps the gallery from becoming too tall while preserving 16:9 and 2.39:1 frame ratios.
*/

.project-gallery-carousel,
.project-gallery-carousel .carousel-inner,
.project-gallery-carousel .carousel-item {
  height: auto;
  min-height: 0;
}

.project-gallery-carousel .image-frame {
  margin: 0;
}

.project-gallery-carousel .image-frame.is-scope {
  aspect-ratio: 2.39 / 1;
}

.project-gallery-carousel .image-frame.is-16x9 {
  aspect-ratio: 16 / 9;
}

.project-gallery-carousel .carousel-item > .image-frame,
.project-gallery-carousel .carousel-item > img {
  width: 100%;
  max-height: none;
}

.project-gallery-carousel .carousel-control-prev,
.project-gallery-carousel .carousel-control-next {
  top: 0;
  bottom: 0;
  align-items: center;
}

@media (min-width: 992px) {
  .project-gallery-carousel {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .project-gallery-carousel .carousel-control-prev,
  .project-gallery-carousel .carousel-control-next {
    width: 18%;
  }
}

/* Project detail page spacing
   Prevents large empty gaps between Project Overview and Stills / Gallery.
*/

.project-detail-main .section-pad {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.project-overview-section {
  padding-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.project-gallery-section {
  padding-top: 0;
}

.project-overview-section .row {
  align-items: start;
}

.project-overview-section .project-copy {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .project-overview-section {
    padding-bottom: 2rem;
  }
}

/* Hard fix for project detail vertical gap
   The Project Overview and Stills / Gallery sections should stack naturally.
*/

.project-detail-main {
  min-height: 0;
}

.project-detail-main .section-pad,
.project-detail-main section {
  min-height: 0;
}

.project-detail-body {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.project-detail-body .project-overview-section {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  padding: 0;
}

.project-detail-body .project-gallery-section {
  margin: 0;
  padding: 0;
}

.project-detail-body .project-overview-section .row,
.project-detail-body .project-gallery-section .row {
  margin-top: 0;
  margin-bottom: 0;
}

.project-detail-body .project-overview-section .project-copy:last-child,
.project-detail-body .project-overview-section p:last-child {
  margin-bottom: 0;
}

.project-detail-body .project-gallery-section h2,
.project-detail-body .project-gallery-section .section-title {
  margin-top: 0;
}

.project-detail-main .feature-panel,
.project-detail-main .sidebar-box,
.project-detail-main .rtp-card {
  min-height: 0;
}

/* Optional project video embeds
   Do not include empty about:blank video blocks. Add this section only when a real trailer/embed exists.
*/

.project-video-embed {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
}

/* Balanced spacing between Project Overview and Stills / Gallery
   Adds breathing room without restoring the old empty video gap.
*/

.project-detail-body .project-overview-section {
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}

.project-detail-body .project-gallery-section {
  margin-top: 0;
}

.project-detail-body .project-gallery-section .section-title,
.project-detail-body .project-gallery-section h2 {
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.project-detail-body .project-overview-section p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .project-detail-body .project-overview-section {
    margin-bottom: 2rem;
  }
}

/* Visible spacer between Project Overview and Stills / Gallery
   This is intentionally structural, not dependent on section margin inheritance.
*/

.overview-gallery-spacer {
  height: clamp(1.75rem, 3vw, 2.75rem);
  min-height: 28px;
  flex: 0 0 auto;
}

.project-gallery-section {
  clear: both;
}

.project-gallery-section .section-title,
.project-gallery-section h2 {
  margin-top: 0;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}

/* Final project detail body layout
   This removes ambiguity from the previous Bootstrap row/section layout.
*/

.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, .95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.project-detail-primary,
.project-detail-aside {
  min-width: 0;
}

.project-detail-primary > .image-frame {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.project-detail-overview {
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.project-detail-overview p:last-child {
  margin-bottom: 0;
}

.project-detail-gallery {
  margin-top: 0;
}

.project-detail-gallery h2 {
  margin-top: 0;
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.project-detail-aside {
  display: grid;
  gap: 1.5rem;
}

.project-detail-aside .sidebar-box {
  margin: 0;
}

@media (max-width: 991.98px) {
  .project-detail-layout {
    display: block;
  }

  .project-detail-aside {
    margin-top: 2rem;
  }
}

/* Site logo */

.site-logo {
  display: block;
  width: min(138px, 40vw);
  height: auto;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  padding-top: .35rem;
  padding-bottom: .35rem;
}

@media (max-width: 575.98px) {
  .site-logo {
    width: min(125px, 48vw);
  }
}

/* Footer social icons */

.social-icon-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  padding-left: 0;
  margin: .75rem 0 0;
  list-style: none;
}

.social-icon-link {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 239, 230, .28);
  border-radius: 999px;
  color: #f4efe6;
  text-decoration: none;
  background: rgba(255, 255, 255, .04);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.social-icon-link:hover,
.social-icon-link:focus {
  color: #fff;
  border-color: rgba(244, 239, 230, .75);
  background: rgba(255, 255, 255, .12);
  transform: translateY(-1px);
}

.social-icon-link svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  fill: currentColor;
}

/* Bluesky text icon fallback */

.social-icon-link .bsky-mark {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  color: currentColor;
  text-transform: lowercase;
}

/* Real page hero image backgrounds
   These rules intentionally use the full background shorthand so they override
   the base `.hero` gradient-only background.
*/

.hero.hero-home,
.hero.hero-projects,
.hero.hero-news,
.hero.hero-about,
.hero.hero-contact {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero.hero-home {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .74) 45%, rgba(9, 9, 9, .30) 100%),
    url("../img/general/heroes/home-hero.png") center center / cover no-repeat;
}

.hero.hero-projects {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .74) 45%, rgba(9, 9, 9, .30) 100%),
    url("../img/general/heroes/projects-hero.png") center center / cover no-repeat;
}

.hero.hero-news {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .74) 45%, rgba(9, 9, 9, .30) 100%),
    url("../img/general/heroes/news-hero.png") center center / cover no-repeat;
}

.hero.hero-about {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .74) 45%, rgba(9, 9, 9, .30) 100%),
    url("../img/general/heroes/about-hero.png") center center / cover no-repeat;
}

.hero.hero-contact {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .74) 45%, rgba(9, 9, 9, .30) 100%),
    url("../img/general/heroes/contact-hero.png") center center / cover no-repeat;
}

.hero.hero-home::after,
.hero.hero-projects::after,
.hero.hero-news::after,
.hero.hero-about::after,
.hero.hero-contact::after {
  background:
    radial-gradient(circle at 12% 18%, rgba(196, 147, 74, .16), transparent 30%),
    linear-gradient(180deg, rgba(9, 9, 9, .08), rgba(9, 9, 9, .78));
  opacity: 1;
}

.hero.hero-home .container,
.hero.hero-projects .container,
.hero.hero-news .container,
.hero.hero-about .container,
.hero.hero-contact .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 767.98px) {
  .hero.hero-home,
  .hero.hero-projects,
  .hero.hero-news,
  .hero.hero-about,
  .hero.hero-contact {
    background-position: center center;
  }
}

/* Project detail hero image backgrounds
   These use the existing project graphics as hero background images.
*/

.hero-project-black-iris {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .74) 45%, rgba(9, 9, 9, .30) 100%),
    url("../img/projects/black-iris.jpg") center center / cover no-repeat;
}

.hero-project-shayla {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .74) 45%, rgba(9, 9, 9, .30) 100%),
    url("../img/projects/shayla.jpg") center center / cover no-repeat;
}

.hero-project-fine-baking {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .74) 45%, rgba(9, 9, 9, .30) 100%),
    url("../img/projects/fine-baking.jpg") center center / cover no-repeat;
}

.hero-project-dr-faustus {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .74) 45%, rgba(9, 9, 9, .30) 100%),
    url("../img/projects/dr-faustus.jpg") center center / cover no-repeat;
}

.hero-project-weekend-warriors {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .74) 45%, rgba(9, 9, 9, .30) 100%),
    url("../img/projects/weekend-warriors.jpg") center center / cover no-repeat;
}

.hero-project-anika {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .74) 45%, rgba(9, 9, 9, .30) 100%),
    url("../img/projects/anika.jpg") center center / cover no-repeat;
}

.hero-project-grey-david {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .74) 45%, rgba(9, 9, 9, .30) 100%),
    url("../img/projects/grey-david.jpg") center center / cover no-repeat;
}

.hero-project-reel {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .74) 45%, rgba(9, 9, 9, .30) 100%),
    url("../img/projects/radio-tribe-reel.jpg") center center / cover no-repeat;
}

.hero-project-black-iris,
.hero-project-shayla,
.hero-project-fine-baking,
.hero-project-dr-faustus,
.hero-project-weekend-warriors,
.hero-project-anika,
.hero-project-grey-david,
.hero-project-reel {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-project-black-iris::after,
.hero-project-shayla::after,
.hero-project-fine-baking::after,
.hero-project-dr-faustus::after,
.hero-project-weekend-warriors::after,
.hero-project-anika::after,
.hero-project-grey-david::after,
.hero-project-reel::after {
  background:
    radial-gradient(circle at 12% 18%, rgba(196, 147, 74, .16), transparent 30%),
    linear-gradient(180deg, rgba(9, 9, 9, .08), rgba(9, 9, 9, .78));
  opacity: 1;
}

/* Project detail previous / next navigation */

.project-page-nav {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rtp-border);
}

.project-page-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.project-page-nav .nav-prev {
  justify-self: start;
}

.project-page-nav .nav-all {
  justify-self: center;
}

.project-page-nav .nav-next {
  justify-self: end;
  text-align: right;
}

.project-page-nav .project-nav-label {
  display: block;
  color: var(--rtp-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .15rem;
}

.project-page-nav a {
  text-decoration: none;
}

.project-page-nav a:hover .project-nav-title,
.project-page-nav a:focus .project-nav-title {
  color: #e1b569;
  text-decoration: underline;
}

.project-page-nav .project-nav-title {
  color: var(--rtp-text);
  font-weight: 800;
}

.project-page-nav .btn {
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .project-page-nav-inner {
    grid-template-columns: 1fr;
    gap: .85rem;
  }

  .project-page-nav .nav-prev,
  .project-page-nav .nav-all,
  .project-page-nav .nav-next {
    justify-self: stretch;
    text-align: center;
  }

  .project-page-nav .nav-prev,
  .project-page-nav .nav-next {
    border: 1px solid var(--rtp-border);
    border-radius: .85rem;
    padding: .85rem 1rem;
    background: rgba(255, 255, 255, .03);
  }
}

/* News article graphics */

.news-detail-image,
.news-article-image {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.news-detail-image.image-frame,
.news-article-image.image-frame {
  aspect-ratio: 16 / 9;
}

/* News detail hero image backgrounds */

.hero-news-black-iris {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .76) 45%, rgba(9, 9, 9, .34) 100%),
    url("../img/news/black-iris-news.jpg") center center / cover no-repeat;
}

.hero-news-shayla {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .76) 45%, rgba(9, 9, 9, .34) 100%),
    url("../img/news/shayla-news.jpg") center center / cover no-repeat;
}

.hero-news-fine-baking {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .76) 45%, rgba(9, 9, 9, .34) 100%),
    url("../img/news/fine-baking-news.jpg") center center / cover no-repeat;
}

.hero-news-weekend-warriors {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .76) 45%, rgba(9, 9, 9, .34) 100%),
    url("../img/news/weekend-warriors-news.jpg") center center / cover no-repeat;
}

.hero-news-dr-faustus {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .76) 45%, rgba(9, 9, 9, .34) 100%),
    url("../img/news/dr-faustus-news.jpg") center center / cover no-repeat;
}

.hero-news-grey-david {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, .96) 0%, rgba(9, 9, 9, .76) 45%, rgba(9, 9, 9, .34) 100%),
    url("../img/news/grey-david-news.jpg") center center / cover no-repeat;
}

.hero-news-black-iris,
.hero-news-shayla,
.hero-news-fine-baking,
.hero-news-weekend-warriors,
.hero-news-dr-faustus,
.hero-news-grey-david {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-news-black-iris::after,
.hero-news-shayla::after,
.hero-news-fine-baking::after,
.hero-news-weekend-warriors::after,
.hero-news-dr-faustus::after,
.hero-news-grey-david::after {
  background:
    radial-gradient(circle at 12% 18%, rgba(196, 147, 74, .16), transparent 30%),
    linear-gradient(180deg, rgba(9, 9, 9, .08), rgba(9, 9, 9, .78));
  opacity: 1;
}

/* News detail article image spacing */

.news-detail-featured-image {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

/* News detail previous / next navigation */

.news-page-nav {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rtp-border);
  clear: both;
}

.news-page-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.news-page-nav .nav-prev {
  justify-self: start;
}

.news-page-nav .nav-all {
  justify-self: center;
}

.news-page-nav .nav-next {
  justify-self: end;
  text-align: right;
}

.news-page-nav .news-nav-label {
  display: block;
  color: var(--rtp-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .15rem;
}

.news-page-nav a {
  text-decoration: none;
}

.news-page-nav a:hover .news-nav-title,
.news-page-nav a:focus .news-nav-title {
  color: #e1b569;
  text-decoration: underline;
}

.news-page-nav .news-nav-title {
  color: var(--rtp-text);
  font-weight: 800;
}

.news-page-nav .btn {
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .news-page-nav-inner {
    grid-template-columns: 1fr;
    gap: .85rem;
  }

  .news-page-nav .nav-prev,
  .news-page-nav .nav-all,
  .news-page-nav .nav-next {
    justify-self: stretch;
    text-align: center;
  }

  .news-page-nav .nav-prev,
  .news-page-nav .nav-next {
    border: 1px solid var(--rtp-border);
    border-radius: .85rem;
    padding: .85rem 1rem;
    background: rgba(255, 255, 255, .03);
  }
}


/* Editorial polish for project and news pages */
:root {
  --rtp-complement: #d86f45;
}

.project-detail-overview > .section-title,
.news-article-body h2,
.news-article-body h3,
.news-detail-title {
  color: var(--rtp-accent);
}

.project-detail-gallery > .section-title,
.section-title-featured {
  color: var(--rtp-complement);
}

.project-quick-info {
  display: grid;
  gap: .35rem;
  max-width: 720px;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: rgba(9,9,9,.52);
  border: 1px solid rgba(244,239,230,.18);
  border-left: 4px solid var(--rtp-accent);
  border-radius: .85rem;
  backdrop-filter: blur(4px);
}

.project-quick-info p {
  margin: 0;
}

.project-quick-status {
  color: var(--rtp-accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}

.project-quick-genres {
  color: var(--rtp-text);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
}

.project-quick-logline {
  color: var(--rtp-text);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.project-quick-credit {
  color: var(--rtp-muted);
  font-size: .92rem;
}

.project-facts .fact-label {
  display: block;
  color: var(--rtp-accent);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .25rem;
}

.project-facts p {
  margin-bottom: 1rem;
}

.news-article-body {
  font-size: 1.02rem;
  line-height: 1.75;
}

.news-article-body p {
  margin-bottom: 1.15rem;
}

.news-article-body strong {
  color: var(--rtp-text);
  font-weight: 800;
}

.news-detail-featured-image {
  margin-bottom: 1.75rem;
}

/* News festival update emphasis
   Makes festival names visibly bold in the Shayla festival article.
*/

.news-festival-name {
  color: var(--rtp-text);
  font-weight: 900;
}
