/* =====================================================================
   MELOGIA — new-style.css
   One stylesheet for the Sarantos screenplay pages. It replaces
   css/style.css, css/normalize.css, css/responsivemobilemenu.css and every
   <style> block / style="" attribute that used to live in the HTML.

   The header and footer rules below are carried over from the old
   style.css value for value, so they render exactly as before.
   Fonts and colours are the original ones (sans-serif, #ededed text on
   the pat.png texture, orange #e36b00 / #c14e00 / #ff6d25 accents).

   CONTENTS
    1. Base (the parts of normalize.css these pages rely on)
    2. Page frame: wrapper, hanger, content box
    3. Header  (unchanged from style.css)
    4. Mobile menu (.tm / .rmm)
    5. Footer  (unchanged from style.css)
    6. Content: text, lists, dividers
    7. Screenplay page: poster, logline, availability, trailer
    8. Awards, contest badges, ad concepts
    9. Theme song card & videos (The Heart Remembers)
   10. Press links, spotlight tile, scene reading, extras
   11. Script viewer & "Follow Sarantos" list
   12. Screenplays page
   13. Utilities & content protection
   14. Responsive adjustments for the content area
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. BASE
   --------------------------------------------------------------------- */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body { margin: 0;    background-color: rgba(0, 0, 0); }

a {
  background: transparent;
  color: #e36b00;
  text-decoration: none;
}
a:active,
a:hover { outline: 0; }

b, strong { font-weight: bold; }

hr {
  box-sizing: content-box;
  height: 0;
}

img { border: 0; }
svg:not(:root) { overflow: hidden; }

button, input, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button, input { line-height: normal; }
button { cursor: pointer; }

section { display: block; }

table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* ---------------------------------------------------------------------
   2. PAGE FRAME
   --------------------------------------------------------------------- */
.wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

@media (max-width: 959px) {
  .wrapper { width: 95%; }
}

.mnwrp { margin-top: -15px; }

.hanger {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hanger img {
  display: block;
  width: 100%;
}

.container {
  background: url("../img/pat.png");
  width: 94%;
  margin: -7px auto 0;
  padding: 3%;
  -webkit-box-shadow: inset 0 0 40px 0 rgba(0, 0, 0, 1);
  box-shadow: inset 0 0 40px 0 rgba(0, 0, 0, 1);
  display: inline-block;
  color: #ededed;
}


/* ---------------------------------------------------------------------
   3. HEADER — same rules and values as the old style.css
   --------------------------------------------------------------------- */
.header_new {
  width: 100%;
  display: inline-block;
  margin: -8px 0 0 0;   /* the hanger sits right under the header, as before */
}
.header_new .wrapper { position: relative; }

/* donate button (image input) */
input[type="image"] {
  height: 30px;
  margin-left: -6px;
  margin-top: 15px;
  width: 96px;
}

/* the menu lists keep the spacing they always had on these pages */
.horizontal-list,
.horizontal-ctas { margin-left: 30px; }
.horizontal-list li,
.horizontal-ctas li { margin-top: 15px; }

/* phones */
@media screen and (max-width: 767px) {
  .mscheader {
    width: 100%;
    background-image: url("../img/Header1bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 230px;
    padding-top: 20px;
  }
  .menu-li { display: none; }
  .leftbtn {
    width: 40%;
    float: left;
    margin-top: 18px;
  }
  .leftimg {
    max-height: 15px !important;
    margin-left: 15% !important;
  }
  .l1,
  .l2 { margin-top: 4px !important; }
  .l3 {
    margin-top: 4px !important;
    width: auto !important;
  }
  .middleimg {
    width: 30%;
    height: auto;
    position: absolute;
    top: 25%;
    left: 30%;
  }
  .text1 {
 
    width: 100%;
  }
  .rightbtn {
    width: 35%;
    height: auto;
    margin-top: 20px;
    position: absolute;
    left: 55%;
  }
  .rightimg {
    width: 100%;
    display: block;
  }
  .mn-cta {
    color: #fff;
    font-size: 10px;
    padding: 5px 10px;
    border: 1px solid #ff6d25;
    border-radius: 5px;
    background-color: #00000091;
  }
  .mn-cta:hover { color: #ff6d25; }
  .horizontal-ctas {
    list-style-type: none;
    padding: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    text-align: center;
  }
  .horizontal-ctas li {
    margin-right: 5px;
    display: inline-block;
  }
  .ctas {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 10%;
    left: 0;
  }
}

/* tablets */
@media (min-width: 768px) and (max-width: 980px) {
  .leftimg {
    height: 20px;
    margin-top: 4px !important;
  }
  .mscheader {
    width: 100%;
    background-image: url("../img/Header1bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 15.63%;
    height: 6vh;
  }
  .leftbtn {
    width: 15%;
    position: absolute;
    top: 8.5%;
    left: 1%;
  }
  .l3 {
    margin-left: 0 !important;
    width: auto !important;
  }
  .middleimg {
    width: 14%;
    height: auto;
    position: absolute;
    top: 10%;
    left: 15%;
  }
  .rightbtn {
    width: 23%;
    height: auto;
    position: absolute;
    top: 35%;
    left: 74%;
  }
  .rightimg {
    width: 100%;
    display: block;
  }
  .text1 { width: 100%; }
  .menu-li {
    width: 30%;
    height: auto;
    position: absolute;
    top: 8%;
    left: 62%;
  }
  .ctas {
    width: 100%;
    height: auto;
    position: absolute;
    top: 70%;
    left: 0;
  }
  .mn-txt {
    color: #fff;
    font-size: 11px;
  }
  .mn-txt:hover { color: #ff6d25; }
  .horizontal-list {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
  }
  .horizontal-list li { margin-right: 10px; }
  .mn-cta {
    color: #fff;
    font-size: 13px;
    padding: 5px 10px;
    border: 1px solid #ff6d25;
    border-radius: 5px;
    background-color: #00000091;
  }
  .mn-cta:hover { color: #ff6d25; }
  .horizontal-ctas {
    list-style-type: none;
    padding: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    text-align: center;
  }
  .horizontal-ctas li {
    margin-right: 20px;
    display: inline-block;
  }
}

/* desktop */
@media (min-width: 981px) {
  .mscheader {
    width: 100%;
    background-image: url("../img/Header1bg.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    height: 10vh;
    padding-top: 15.63%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .leftbtn {
    width: 15%;
    position: absolute;
    top: 8.5%;
    left: 1%;
  }
  .leftimg {
    height: 30px;
    margin-top: 4px !important;
  }
  .l3 { margin-left: 0 !important; }
  .middleimg {
    width: 15%;
    height: auto;
    position: absolute;
    top: 10.5%;
    left: 15%;
  }
  .rightbtn {
    width: 23%;
    height: auto;
    position: absolute;
    top: 35%;
    left: 72%;
  }
  .rightimg {
    width: 100%;
    float: left;
    display: block;
    margin-left: 8%;
  }
  .text1 { width: 100%;margin-left: 40px;}
  .menu-li {
    width: 30%;
    height: auto;
    position: absolute;
    top: 8%;
    left: 62%;
  }
  .ctas {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 13%;
    left: 0;
  }
  .mn-txt {
    color: #fff;
    font-size: 12px;
  }
  .mn-txt:hover { color: #ff6d25; }
  .horizontal-list {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
  }
  .horizontal-list li { margin-right: 10px; }
  .mn-cta {
    color: #fff;
    font-size: 13px;
    padding: 10px 20px;
    border: 1px solid #ff6d25;
    border-radius: 5px;
    background-color: #00000091;
  }
  .mn-cta:hover { color: #ff6d25; }
  .horizontal-ctas {
    list-style-type: none;
    padding: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    text-align: center;
  }
  .horizontal-ctas li {
    margin-right: 20px;
    display: inline-block;
  }
}


/* between 768px and 1199px the old menu ran off the right edge of the
   screen; letting it wrap keeps every item visible (1200px+ is unchanged) */
@media (min-width: 768px) and (max-width: 1199px) {
  .horizontal-list { flex-wrap: wrap; }
  .horizontal-list li { margin-top: 3px; }
}

/* ---------------------------------------------------------------------
   4. MOBILE MENU (.tm) — shown on phones only.
   responsivemobilemenu.js builds .rmm-toggled from .rmm-main-list.
   --------------------------------------------------------------------- */
.tm { position: relative; }
.rmm { max-width: 100% !important; }

@media (min-width: 768px) {
  .tm { display: none; }
}

@media screen and (max-width: 767px) {
  .rmm {
    width: auto !important;
    background: #1b1b1b;
    font-family: sans-serif;
  }
  .rmm .rmm-main-list { display: none !important; }
  .rmm .rmm-toggled {
    display: block !important;
    position: relative;
    z-index: 100;
  }

  /* if the menu script doesn't load, show the plain list instead */
  .rmm:not(:has(.rmm-toggled)) .rmm-main-list {
    display: block !important;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    text-align: center;
  }
  .rmm-main-list li {
    display: inline-block;
    margin: 0 6px;
  }
  .rmm-main-list a {
    display: block;
    padding: 8px 4px;
    color: #fff;
    font-size: 13px;
  }

  .rmm-toggled-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 15px;
    border-bottom: 1px solid #ff6d25;
    background: #1b1b1b;
    cursor: pointer;
  }
  .rmm-toggled-title {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  .rmm-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 26px;
    height: 40px;
  }
  .rmm-button span {
    display: block;
    height: 3px;
    overflow: hidden;
    border-radius: 2px;
    background: #fff;
    font-size: 0;
    line-height: 0;
  }
  .rmm-toggled:not(.rmm-closed) .rmm-button span { background: #ff6d25; }

  .rmm-toggled ul {
    display: none;            /* opened by the script */
    margin: 0;
    padding: 0;
    list-style: none;
    background: #262626;
  }
  .rmm-toggled li {
    margin: 0;
    border-bottom: 1px solid #333;
  }
  .rmm-toggled ul a {
    display: block;
    padding: 12px 15px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
  }
  .rmm-toggled ul a:hover { color: #ff6d25; }
}


/* ---------------------------------------------------------------------
   5. FOOTER — same rules and values as the old style.css
   --------------------------------------------------------------------- */
.footer-stores {
  width: 100%;
  display: flex;
}

/* phones */
@media screen and (max-width: 767px) {
  .mscheaderfooter {
    width: 100%;
    background-image: url("../Footerbg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 230px;
    padding-top: 20px;
  }
  .leftbtnfooter {
    width: 100%;
    float: left;
    margin-bottom: 20px;
  }
  .leftimgfooter {
    width: 30%;
    margin-left: 5px;
  }
  .middleimgfooter {
    width: 60%;
    height: auto;
    display: block;
    margin: auto;
    float: left;
  }
  .text1footer {
    margin-top: 20px;
    width: 100%;
  }
  .rightbtnfooter {
    width: 40%;
    position: absolute;
    top: 30%;
    left: 60%;
    margin-top: 20px;
  }
  .rightimgfooter {
    width: 100%;
    float: left;
    display: block;
  }
  .gpfooter {
    float: left;
    width: 70%;
    margin-top: 10px;
  }
  .socialftrfooter {
    position: absolute;
    bottom: 10%;
    left: 15%;
    width: 100%;
  }
  .socialftrfooter img {
    float: left;
    height: 2vh;
  }
}

/* tablets & desktop */
@media (min-width: 768px) {
  .mscheaderfooter {
    width: 100%;
    background-image: url("../Footerbg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 0;
    padding-top: 18.63%;
  }
  .leftbtnfooter {
    width: 18%;
    position: absolute;
    bottom: 2%;
    left: 2%;
  }
  .leftimgfooter {
    width: 100%;
    margin-top: 4%;
    border: 1px solid #ff6d25;
  }
  .middleimgfooter {
    width: 35%;
    height: auto;
    position: absolute;
    bottom: 1%;
    left: 30%;
  }
  .rightbtnfooter {
    width: 30%;
    height: auto;
    position: absolute;
    bottom: 2%;
    left: 70%;
    text-align: center;
  }
  .rightimgfooter {
    width: 100%;
    float: left;
    display: block;
    margin-left: 0;
  }
}


/* these come after the media queries, exactly as in the old file */
.gpfooter {
  float: left;
  width: 70%;
  display: inline-block;
  margin-left: 5px;
}
.text1footer {
  width: 80%;
  margin: auto;
  display: block;
}
.socialftrfooter {
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 100%;
}
.socialftrfooter img {
  float: left;
  height: 2vh;
  margin-right: 1vh;
}

/* phones: the icon row started 15% in and was 100% wide, so it ran past
   the screen edge; 85% keeps every icon where it was */
@media screen and (max-width: 767px) {
  .socialftrfooter { width: 85%; }
}

/* ---------------------------------------------------------------------
   6. CONTENT — text, lists, dividers
   (:where() keeps these at the same low priority they had before, so the
   component styles further down always win)
   --------------------------------------------------------------------- */
:where(.container) p,
:where(.container) h2 {
  margin-top: 20px;
  text-align: justify;
}

:where(.container) p,
:where(.container) li { line-height: 1.5; }

:where(.container) ul { margin-left: 30px; }
:where(.container) ol {
  margin-left: 20px;
  margin-top: 10px;
}
:where(.container) li { margin-top: 15px; }

:where(.container) hr {
  border: 1px solid #c14e00;
  margin: 20px 0;
}

.container h4 { color: #ededed; }


/* ---------------------------------------------------------------------
   7. SCREENPLAY PAGE — poster, logline, availability, trailer
   --------------------------------------------------------------------- */
.container-1 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: auto;
}

/* trailer: third column when there is room, otherwise below */
.container-1 > div:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 720px;
}
.container-1:has(> div:nth-child(3)) {
  grid-template-columns: 1fr 3fr 1fr;
}
.container-1:has(> div:nth-child(3)) > div:nth-child(3) {
  grid-column: auto;
  max-width: none;
}

.container-1 iframe {
  display: block;
  width: 100%;

  border: 0;
}

.poster {
  display: block;
  max-width: 100%;
  max-height: 350px;
  width: auto;
  margin: auto;
  border-radius: 20px;
}

.availability {
  text-align: left;
  margin-top: 30px;
  margin-bottom: 20px;
}
.availability p { margin: 15px 0 0; }
.availability p:first-child { margin-top: 0; }

.avi {
  display: inline-block;
  border: 2px solid #fff;
  border-radius: 20px;
  font-size: 1em;
  color: #fff;
  background-color: green;
  padding: 10px 15px;
}

.avi2 {
  display: inline-block;
  border-radius: 20px;
  font-size: 1em;
  color: #fff;
  background-color: #c14e00;
  padding: 10px 15px;
}

.profile-badge {
  max-height: 50px;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 0;
  vertical-align: middle;
}
.availability .profile-badge {
  display: block;
  border-radius: 20px;
  margin-top: 0;
}


/* ---------------------------------------------------------------------
   8. AWARDS, CONTEST BADGES, AD CONCEPTS
   --------------------------------------------------------------------- */
.awards-1,
.awards-2 {
     display: grid;
    grid-template-columns: repeat(6, auto);
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin: auto;
}
.awards-1 img,
.awards-2 img {
    width: 100%;
    margin-top: 20px;
    border-radius: 20px;
    height: auto;
}

/* Big Break / PAGE badges floated beside the text */
.bb__badges1 {
  float: right;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: fit-content;
  margin: 0 0 18px 24px;
}
.bb__badges1 .bb__badge {
  display: block;

  height: 220px;
  object-fit: contain;
  object-position: top center;
}

/* Ad Concepts */
.poster-ideas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  margin: 20px 0 30px;
  overflow: hidden;
}
.poster-ideas img {
  display: block;
  max-height: 400px;
  margin: auto;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.poster-ideas img:hover { transform: scale(1.02); }


/* ---------------------------------------------------------------------
   9. THEME SONG CARD & VIDEOS (The Heart Remembers)
   --------------------------------------------------------------------- */
.song-release-card {
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 10px auto;
  background: #ffffff09;
  color: #fff;
}

.card-header {
  display: block;
  margin-bottom: 20px;
}

.container .song-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

audio {
  width: 100%;
  margin-bottom: 20px;
  height: 40px;
}

.button-group {
  display: flex;
  gap: 12px;
}

.btn-download {
  flex: 1;
  background-color: #000;
  color: #e36b00;
  text-align: center;
  padding: 12px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-download:hover { background-color: #eaeaea; }

.tvd {
  width: 100%;
  padding: 34px 0;
  font-family: Arial, Helvetica, sans-serif;
}
.tvd *,
.tvd *::before,
.tvd *::after { box-sizing: border-box; }

.tvd__inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.tvd__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.tvd__item { min-width: 0; }
.container .tvd__item p { text-align: center; }

.tvd__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #c14e00;
  border-radius: 8px;
  background: #c14e00;
}
.tvd__frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.container .tvd__caption {
  margin: 0 0 20px 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}
.container .tvd__caption2 {
  margin: 20px 0 0 0;
  font-size: 13px;
  text-decoration: underline;
}
.container .tvd__sub {
  margin: 16px 0 0 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}


/* ---------------------------------------------------------------------
   10. PRESS LINKS, SPOTLIGHT TILE, SCENE READING, EXTRAS
   --------------------------------------------------------------------- */
/* "In the News" (X9) */
.news-link {
  padding: 10px;
  border-radius: 10px;
  background-color: #c14e00;
  color: #fff;
  display: inline-block;
}

/* document buttons (currently commented out in the HTML) */
.doc-links {
  text-align: left;
  margin-top: 15px;
}
.doc-link {
  background-color: #c14e00;
  padding: 5px;
  color: #fff;
  border-radius: 5px;
  margin-left: 5px;
}

/* scene reading (Department of Unseen Affairs) */
.feature-heading {
  text-align: center;
  margin: 15px;
}
.feature-image {
  width: 50%;
  margin: auto;
  display: block;
}

/* Best Film Awards spotlight (The Algorithm of God) */
.tile {
  max-width: 250px;
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.02));
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.7);
  display: inline-block;
  vertical-align: top;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none;
}
.tile:hover { transform: translateY(-6px); }

.tile .visual {
  position: relative;
  width: 100%;
  padding-top: 56%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.tile .visual-bfa { background-image: url("https://www.melogia.com/img/bfa.png"); }

.tile .visual .overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 30%, rgba(0, 0, 0, 0.5) 100%);
}

.tile .content { padding: 16px 16px 18px; }
.tile .title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}
.tile .meta {
  font-size: 13px;
  margin-bottom: 10px;
}
.tile .cta-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.tile .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.tile:hover .btn { background: #ff8c57; }
.tile .btn .icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}


/* ---------------------------------------------------------------------
   11. SCRIPT VIEWER & "FOLLOW SARANTOS" LIST
   --------------------------------------------------------------------- */
.script-viewer {
  display: block;
  width: 100%;
  height: 700px;
  border: none;
}

.follow-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 30px;
  font-family: Arial, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
.container .follow-list li { line-height: 1.8; }
.follow-list i {
  color: #fff;
  margin-right: 8px;
}
.follow-list .fa-amazon    { color: #ff9900; }
.follow-list .fa-book      { color: #8e44ad; }
.follow-list .fa-book-open { color: #27ae60; }
.follow-list .fa-youtube   { color: #ff0000; }
.follow-list .fa-facebook  { color: #1877f2; }
.follow-list .fa-instagram { color: #e1306c; }


/* ---------------------------------------------------------------------
   12. SCREENPLAYS PAGE
   --------------------------------------------------------------------- */
.intro-portrait {
  display: block;
  float: left;
  border-radius: 10px;
  height: 180px;
  max-width: 45%;
  object-fit: cover;
  margin-right: 20px;
}

.highlight-stat { text-decoration: underline; }

.goals-box {
  border-radius: 10px;
  border: 1px solid #fff;
  padding: 20px;
  text-align: center;
}
.container .goals-box p { text-align: center; }

.button-link {
  background-color: #e36b00;
  padding: 5px;
  border-radius: 5px;
  color: #fff;
  display: inline-block;
}

.screenplays-section {
  text-align: center;
  padding: 20px;
}
.container .screenplays-section h2 {
  display: inline-block;
  margin: 20px 0;
  padding: 10px;
  border-radius: 10px;
  background-color: #e36b00;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

/* poster grid: 4 across, each poster up to 200 x 300 */
.screenplays-container,
.screenplays-container1 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 200px));
  gap: 10px;
  justify-content: center;
  align-items: stretch;
  margin-top: 20px;
}
.screenplays-container > a,
.screenplays-container1 > a {
  display: block;
  text-decoration: none;
}
.screenplays-container1 > .bb { grid-column: span 2; }

.screenplay-card {
  position: relative;
  width: 100%;
}
.screenplay-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}
.screenplay-label {
  width: 100%;
  background: #e36b00;
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
  font-weight: bold;
  border-radius: 0 0 8px 8px;
  margin-top: 4px;
}

/* Final Draft Big Break card */
.bb {
  --bb-accent: #c14e00;
  --bb-dark: #fff;
  --bb-border: rgba(193, 78, 0, 0.3);
  --bb-soft: rgba(193, 78, 0, 0.07);
  --bb-soft-hover: rgba(193, 78, 0, 0.13);

  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid var(--bb-border);
  border-radius: 12px;
  background: #1d1d1d;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.11);
  color: var(--bb-dark);
  font-family: inherit;
}

.container .bb__headline {
  flex: 0 0 auto;
  margin: 0 0 10px;
  padding: 0;
  color: var(--bb-dark);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-align: center;
}
.bb__headline strong {
  color: var(--bb-accent);
  font-weight: 700;
}

.bb__body {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 50% minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
}

.bb__award {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 260px;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--bb-border);
  border-radius: 8px;
  background: var(--bb-soft);
}

.bb__list {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
}

.bb__item {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--bb-soft);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.bb__item:hover {
  border-color: var(--bb-border);
  background: var(--bb-soft-hover);
  transform: translateX(3px);
}
.bb__item:focus-visible {
  outline: 2px solid var(--bb-accent);
  outline-offset: 2px;
}

.bb__trophy {
  display: inline-block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: var(--bb-dark);
}
.bb__trophy svg {
  display: block;
  width: 100%;
  height: 100%;
}
.bb__trophy--lead {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: -3px;
}

.bb__title {
  min-width: 0;
  color: var(--bb-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.25;
  text-align: left;
  overflow-wrap: anywhere;
}
.bb__item:hover .bb__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* awards */
.awards-banner {
  display: block;
  width: 100%;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 10px;
}
.image-grid img {
  display: block;
  width: 100%;
  max-height: 350px;
  object-fit: cover;
}
#hiddenDiv .image-grid img { max-height: none; }

.divbt {
  display: flex;
  align-items: center;
  justify-content: center;
}
.byt {
  padding: 10px 20px;
  background: #e36b00;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 20px;
}

#hiddenDiv { display: none; }   /* opened by "View More Awards" */

.container .tagline { text-align: center; }

.profile-badges { clear: both; }
.profile-badges a { display: inline-block; }
.profile-badges a:last-child .profile-badge { border: 1px solid #000; }


/* ---------------------------------------------------------------------
   13. UTILITIES & CONTENT PROTECTION
   --------------------------------------------------------------------- */
.clear:before,
.clear:after {
  content: " ";
  display: table;
}
.clear:after { clear: both; }

.tracking-pixel { display: none; }

.protect-content {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
@media print {
  body.protect-content { display: none; }
}


/* ---------------------------------------------------------------------
   14. RESPONSIVE ADJUSTMENTS FOR THE CONTENT AREA
   --------------------------------------------------------------------- */
@media (max-width: 980px) {
  /* trailer moves under the poster and logline */
  .container-1:has(> div:nth-child(3)) {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .container-1:has(> div:nth-child(3)) > div:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 720px;
  }
}

@media (max-width: 900px) {
  .poster-ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 800px) {
  .mnwrp { margin-top: 0; }
  .hanger { margin-top: -10px; }

  .bb__body { grid-template-columns: 110px minmax(0, 1fr); }
  .awards-1, .awards-2 { grid-template-columns:repeat(4, 1fr); }
}

@media (max-width: 749px) {
  .tvd { padding: 44px 0; }
  .tvd__inner { width: min(100% - 28px, 1180px); }
  .tvd__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  :where(.container) p,
  :where(.container) h2 { text-align: left; }

  .container {
    box-sizing: border-box;
    width: 100%;
    padding: 15px;
  }

  :where(.container) ul { margin-left: 0; }
  :where(.container) ol { margin-left: 0; }

  .container-1,
  .container-1:has(> div:nth-child(3)) { grid-template-columns: 1fr; }

  .availability .avi,
  .availability .avi2 { padding: 7px 12px; }

  
  .awards-1, .awards-2 { grid-template-columns:repeat(2, 1fr); }

  .bb__badges1 {
    gap: 7px;
    margin: 0 0 12px 14px;
  }
  .bb__badges1 .bb__badge {
    width: 75px;
    height: 100px;
  }

  .poster-ideas { grid-template-columns: 1fr; }

  .image-grid { grid-template-columns: repeat(2, 1fr); }

  .screenplays-section { padding: 20px 0; }
  .screenplays-container,
  .screenplays-container1 { grid-template-columns: repeat(2, minmax(0, 200px)); }
  .screenplays-container1 > .bb { grid-column: 1 / -1; }

  .intro-portrait {
    float: none;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 0 10px;
  }

  .feature-image { width: 100%; }

  .follow-list { margin-left: 0; }

  .script-viewer { height: 75vh; }
}

@media (max-width: 480px) {
  .bb {
    padding: 12px;
    border-radius: 9px;
  }
  .container .bb__headline {
    margin-bottom: 8px;
    font-size: 11.5px;
    line-height: 1.35;
  }
  .bb__body {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 9px;
  }
  .bb__award { border-radius: 6px; }
  .bb__list { gap: 4px; }
  .bb__item {
    gap: 7px;
    padding: 5px 7px;
  }
  .bb__trophy {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
  .bb__trophy--lead {
    width: 14px;
    height: 14px;
  }
  .bb__title {
    font-size: 10.5px;
    letter-spacing: 0.025em;
  }
  .tile { max-width: 100%; }
}

@media (max-width: 400px) {
  .container {
    border: 4px solid #32302c;
    margin: -3px auto 60px;
    padding: 10px;
  }
  .awards-1, .awards-2 { grid-template-columns: repeat(2, 1fr); }
  .button-group { flex-direction: column; }
  .poster-ideas { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .bb__item,
  .poster-ideas img,
  .tile { transition: none; }
  .bb__item:hover,
  .poster-ideas img:hover,
  .tile:hover { transform: none; }
}
