:root {
  --bg: #05070b;
  --surface: #0b0f15;
  --surface-2: #10161e;
  --surface-3: #151c25;
  --border: rgba(255,255,255,.09);
  --text: #f6f7f9;
  --muted: #9da6b2;
  --accent: #e50914;
  --accent-2: #ff3b30;
  --shadow: 0 18px 45px rgba(0,0,0,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(229,9,20,.07), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* NAVBAR */
.professional-navbar {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(5,7,11,.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.navbar-inner {
  width: min(1440px, calc(100% - 32px));
  min-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-logo { width: 178px; height: 48px; object-fit: contain; }
.navbar-menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 0; }
.nav-main-links, .nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #aeb6c1;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  transition: .2s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.065); }
.nav-link.active { box-shadow: inset 0 -2px 0 var(--accent); }
.mobile-menu-btn { display: none; }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  padding: 7px;
  background: #0b0f15;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: .18s ease;
}
.nav-dropdown:hover .dropdown-menu, .dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu button {
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #cbd1d9;
  text-align: left;
}
.dropdown-menu button:hover { background: rgba(255,255,255,.06); color: #fff; }

.professional-search {
  width: 250px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}
.professional-search:focus-within { border-color: rgba(229,9,20,.7); box-shadow: 0 0 0 3px rgba(229,9,20,.10); }
.professional-search > span { color: #89929d; font-size: 20px; }
.professional-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #fff; }
.professional-search input::placeholder { color: #7e8792; }
.professional-search button {
  width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: #777; font-size: 17px;
}
.professional-search button:hover { color: #fff; background: rgba(255,255,255,.08); }

/* HERO */
.hero {
  position: relative; isolation: isolate; min-height: 520px; overflow: hidden; background: #05070b;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity .75s ease; overflow: hidden; background: #05070b; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide-backdrop { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; filter:blur(18px) brightness(.32) saturate(.9); transform:scale(1.06); }
.hero-slide.is-active .hero-slide-backdrop { animation: heroBackdrop 7s ease both; }
.hero-slide-poster-wrap { position:absolute; z-index:2; right: clamp(24px, 5vw, 88px); top: 6%; height: 88%; width: min(30vw, 360px); display:flex; align-items:center; justify-content:center; }
.hero-slide-poster { width:100%; height:100%; object-fit:contain; object-position:center; background:transparent; filter:drop-shadow(0 24px 45px rgba(0,0,0,.62)); border-radius:16px; }
@keyframes heroBackdrop { from { transform: scale(1.04); } to { transform: scale(1.09); } }
.hero-slide-poster-wrap img { max-width:100%; max-height:100%; }

.hero::after {
  content: ""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg,rgba(5,7,11,.98) 0%,rgba(5,7,11,.90) 31%,rgba(5,7,11,.58) 55%,rgba(5,7,11,.32) 76%,rgba(5,7,11,.64) 100%),linear-gradient(0deg,#05070b 0%,transparent 25%);
}
.hero-overlay { position:absolute; inset:0; z-index:2; background:transparent; }
.hero-content {
  position:relative; z-index:3; min-height:520px; width:min(1440px,calc(100% - 64px));
  margin:0 auto; display:flex; flex-direction:column; justify-content:center; padding:56px min(42vw,620px) 74px 0;
}
.hero-tagline { color:#c0c8d3; font-size:.82rem; text-transform:uppercase; letter-spacing:2px; margin-bottom:14px; }
.hero-content h1:not(.main-title), .hero-content h2 { font-size:clamp(1.45rem,2.6vw,2.2rem); line-height:1.12; margin:0 0 12px; }
.hero-content p:not(.hero-tagline) {
  max-width:590px;
  color:#d2d7de;
  font-size:1rem;
  margin:0 0 24px;
  line-height:1.55;
  min-height:4.65em;
  max-height:4.65em;
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
}
.hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.hero-content button {
  width:auto; margin:0; padding:12px 18px; border:1px solid rgba(255,255,255,.18); border-radius:11px;
  color:#fff; font-weight:750; transition:transform .2s ease,background .2s ease,border-color .2s ease; white-space:nowrap;
}
.hero-content .hero-primary { background:var(--accent); border-color:var(--accent); box-shadow:0 8px 24px rgba(229,9,20,.25); }
.hero-content .hero-secondary { background:rgba(10,14,20,.72); backdrop-filter:blur(6px); }
.hero-content button:hover { transform:translateY(-2px); }
.hero-content .hero-primary:hover { background:#ff1621; }
.hero-content .hero-secondary:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.28); }
.hero-dots { position:absolute; z-index:4; left:50%; bottom:22px; display:flex; gap:8px; transform:translateX(-50%); }
.hero-dot { width:8px; height:8px; padding:0; border:0; border-radius:999px; background:rgba(255,255,255,.42); transition:.25s ease; }
.hero-dot.is-active { width:28px; background:var(--accent); }

/* QUICK CATEGORIES */
.quick-categories {
  width: min(1440px, calc(100% - 32px));
  margin: -28px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(7, minmax(0,1fr));
  gap: 10px;
}
.quick-category {
  min-height: 74px;
  padding: 11px 13px;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) 18px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(15,20,27,.93);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  text-align: left;
  transition: .2s ease;
}
.quick-category:hover { transform: translateY(-3px); border-color: rgba(229,9,20,.4); background: #141a22; }
.quick-icon {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 11px; background: rgba(229,9,20,.12); font-size: 18px;
}
.quick-category b { display: block; font-size: .83rem; }
.quick-category small { display: block; margin-top: 2px; color: #8e98a4; font-size: .62rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick-category strong { color: #8f98a3; text-align: right; }

/* MOVIE SECTION */
#moviesSection { scroll-margin-top: 82px; }
.section-title {
  width: min(1440px, calc(100% - 32px));
  margin: 44px auto 8px;
  padding: 0 2px 10px;
  text-align: left !important;
  font-size: 1.65rem;
  font-weight: 850;
  position: relative;
}
.section-title::before { content: ""; display: inline-block; width: 5px; height: 22px; margin-right: 10px; background: var(--accent); border-radius: 5px; vertical-align: -3px; }
.movie-container {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 10px;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 16px;
  align-items: stretch;
}
.movie-card {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: linear-gradient(180deg, #10161e 0%, #0b0f15 100%);
  box-shadow: 0 9px 24px rgba(0,0,0,.18);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.movie-card:hover { transform: translateY(-5px); border-color: rgba(229,9,20,.35); box-shadow: 0 16px 32px rgba(0,0,0,.38); }
.movie-seo-link { display: block; width: 100%; aspect-ratio: 2/3; overflow: hidden; background: #0f1319; }
.movie-poster { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; object-position: center; transition: transform .35s ease, filter .35s ease; }
.movie-card:hover .movie-poster { transform: scale(1.04); filter: saturate(1.05); }
.movie-info { position: relative; padding: 11px 11px 12px; min-width: 0; }
.movie-info h3 { margin: 0 32px 7px 0; font-size: .92rem; line-height: 1.25; }
.movie-title-link { text-decoration: none; }
.movie-title-link:hover { color: #fff; }
.fav-btn {
  position: absolute; top: 8px; right: 9px;
  width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.08); border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff; font-size: 14px;
}
.rating, .movie-info p:not(.description) { margin: 4px 0; color: #aeb6c0; font-size: .73rem; }
.rating { color: #ffd54a !important; font-weight: 700; }
.category {
  display: inline-flex; align-items: center;
  margin: 4px 0; padding: 3px 7px;
  border: 1px solid rgba(229,9,20,.22); border-radius: 999px;
  background: rgba(229,9,20,.08); color: #ff747c; font-size: .64rem; font-weight: 700;
}
.description { margin-top: 6px; color: #818b97; font-size: .7rem; line-height: 1.4; height: 2.94em; max-height: 2.94em; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.edit-btn, .delete-btn { margin: 0 8px 10px; padding: 7px 9px; border: 0; border-radius: 8px; color: #fff; font-size: .72rem; }
.edit-btn { background: #3159c7; }
.delete-btn { background: #a5262d; }

.scroll-loader { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 70px; color: #9da6b2; }
.spinner { width: 26px; height: 26px; border: 3px solid rgba(255,255,255,.13); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* MODALS / ADMIN */
.modal { position: fixed; inset: 0; z-index: 20000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.74); backdrop-filter: blur(5px); }
.modal-content { width: min(900px, 100%); position: relative; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: #0c1118; box-shadow: var(--shadow); }
.close-btn { position: absolute; top: 8px; right: 13px; color: #aaa; font-size: 28px; cursor: pointer; }
#youtubePlayer { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 10px; background: #000; }
.admin-panel { width: min(920px, calc(100% - 32px)); margin: 28px auto; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: #0d1219; box-shadow: var(--shadow); }
.admin-panel h3 { margin-bottom: 16px; color: #fff; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.admin-panel input, .admin-panel select, .admin-panel textarea, .admin-login-content input { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 9px; outline: 0; background: #121923; color: #fff; }
.admin-panel textarea { margin: 12px 0; resize: vertical; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-actions button {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  color: #fff !important;
  background: #1b2430;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
  transition: .18s ease;
}
.admin-actions button:hover {
  background: #273444;
  border-color: rgba(255,255,255,.22);
  transform: translateY(-1px);
}
.admin-actions #updateAllTMDBBtn { background: #245a8f; }
.admin-actions #updateAllTMDBBtn:hover { background: #2e70ad; }
#saveBtn { background: #c62828 !important; border-color: rgba(255,120,120,.3); }
#saveBtn:hover { background: #e53935 !important; }
.cancel-btn { background: #424b57 !important; }
.cancel-btn:hover { background: #56616f !important; }
.logout-btn { background: #8d2c2f !important; }
.logout-btn:hover { background: #ad373b !important; }
.admin-login-content { width: min(420px,100%); }
.admin-login-content h3 { margin-bottom: 14px; }
.admin-login-content input { margin-bottom: 10px; }
.admin-login-content button { width: 100%; padding: 11px; border: 0; border-radius: 9px; background: var(--accent); color: #fff; font-weight: 750; }

/* FOOTER */
.professional-footer { margin-top: 60px; border-top: 1px solid var(--border); background: #070a0f; }
.footer-container { width: min(1440px, calc(100% - 32px)); margin: auto; padding: 38px 0; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer-logo { width: 170px; }
.footer-brand p { max-width: 320px; margin-top: 10px; color: #7f8995; font-size: .8rem; }
.footer-column { display: flex; flex-direction: column; gap: 8px; }
.footer-column h3 { margin-bottom: 4px; font-size: .9rem; }
.footer-column a { color: #818b97; text-decoration: none; font-size: .78rem; }
.footer-column a:hover { color: #fff; }
.footer-bottom { width: min(1440px, calc(100% - 32px)); margin: auto; padding: 14px 0 22px; display: flex; justify-content: space-between; gap: 12px; color: #626c77; font-size: .7rem; border-top: 1px solid rgba(255,255,255,.05); }
.footer-bottom b { color: var(--accent); }

#scrollTopBtn { position: fixed; right: 18px; bottom: 18px; z-index: 9000; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: rgba(16,22,30,.95); color: #fff; opacity: 0; pointer-events: none; transition: .2s ease; }
#scrollTopBtn.show { opacity: 1; pointer-events: auto; }

@media (max-width: 1180px) {
  .movie-container { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .quick-categories { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .nav-main-links { gap: 0; }
  .professional-search { width: 210px; }
}
@media (max-width: 850px) {
  .navbar-inner { min-height: 62px; width: calc(100% - 20px); }
  .brand-logo { width: 145px; height: 42px; }
  .mobile-menu-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border: 1px solid var(--border); border-radius: 9px; background: rgba(255,255,255,.06); color: #fff; font-size: 21px; }
  .navbar-menu { position: absolute; top: calc(100% + 6px); left: 10px; right: 10px; display: none; flex-direction: column; align-items: stretch; padding: 9px; border: 1px solid var(--border); border-radius: 14px; background: rgba(8,11,16,.98); box-shadow: var(--shadow); }
  .navbar-menu.mobile-open { display: flex; }
  .nav-main-links, .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-link { width: 100%; }
  .professional-search { width: 100%; }
  .hero { min-height: 520px; }
  .hero-content { margin-left: 18px; width: calc(100% - 36px); padding-right: 34%; padding-bottom: 55px; }
  .hero-slide-poster-wrap { right: 20px; width: 34vw; }
  .quick-categories { width: calc(100% - 20px); grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: -18px; }
  .movie-container { width: calc(100% - 20px); grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  .section-title { width: calc(100% - 20px); }
  .footer-container { width: calc(100% - 20px); grid-template-columns: 1fr 1fr; }
  .footer-bottom { width: calc(100% - 20px); flex-direction: column; }
  .admin-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { min-height: 450px; }
  .hero::after { background:linear-gradient(90deg,rgba(5,7,11,.98) 0%,rgba(5,7,11,.88) 54%,rgba(5,7,11,.45) 100%),linear-gradient(0deg,#05070b 0%,transparent 25%); }
  .hero-content { padding-right: 46%; }
  .hero-slide-poster-wrap { right: 14px; top: 9%; height: 80%; width: 40vw; }
  .main-title { font-size: 2.6rem; }
  .hero-content { padding-right: 0; padding-top: 170px; justify-content:flex-end; }
  .hero-slide-poster-wrap { top: 16px; right: 12px; width: 142px; height: 200px; opacity: .98; }
  .hero-slide-wide .hero-slide-backdrop { object-position: 65% center; }
  .hero-tagline { font-size: .65rem; letter-spacing: 1.4px; }
  .hero-content h1:not(.main-title), .hero-content h2 { font-size: 1.3rem; }
  .hero-content p:not(.hero-tagline) { font-size: .79rem; }
  .hero-actions { gap: 8px; }
  .hero-content button { padding: 10px 14px; font-size: .76rem; min-width: 132px; }
  .movie-container { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .movie-info { padding: 8px; }
  .movie-info h3 { font-size: .78rem; }
  .movie-info p:not(.description) { font-size: .63rem; }
  .category { font-size: .56rem; }
  .description { font-size: .61rem; }
  .quick-category { min-height: 68px; padding: 9px; grid-template-columns: 32px minmax(0,1fr) 12px; gap: 7px; }
  .quick-icon { width: 32px; height: 32px; font-size: 16px; }
  .quick-category b { font-size: .74rem; }
  .quick-category small { font-size: .54rem; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 380px) {
  .brand-logo { width: 130px; }
  .main-title { font-size: 2.35rem; }
  .quick-categories { width: calc(100% - 14px); gap: 7px; }
  .movie-container { width: calc(100% - 14px); gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Mobile hero: use the movie artwork as a full-screen backdrop so copy sits over the image. */
@media (max-width: 560px) {
  .hero {
    min-height: 600px;
    height: 600px;
  }
  .hero-slides, .hero-slide {
    inset: 0;
  }
  .hero-slide-backdrop {
    display: none;
  }
  .hero-slide-poster-wrap {
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    right: auto;
    top: auto;
    opacity: 1;
    display: block;
  }
  .hero-slide-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 0;
    filter: brightness(.84) saturate(1.04) contrast(1.04);
    box-shadow: none;
  }
  .hero::after {
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.04) 32%, rgba(0,0,0,.62) 70%, rgba(0,0,0,.96) 100%),
      linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 58%, rgba(0,0,0,.14) 100%);
  }
  .hero-content {
    z-index: 3;
    min-height: 600px;
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 0 0 66px;
    justify-content: flex-end;
  }
  .hero-tagline { margin-bottom: 8px; font-size: .62rem; letter-spacing: 1.5px; }
  .hero-content .main-title,
  .hero-content h1.main-title {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    line-height: .98;
    margin-bottom: 8px;
    text-shadow: 0 3px 16px rgba(0,0,0,.65);
  }
  .hero-content h2 { font-size: 1rem !important; margin-bottom: 7px; text-shadow: 0 2px 10px rgba(0,0,0,.75); }
  .hero-content p:not(.hero-tagline) {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: .76rem;
    line-height: 1.45;
    min-height: 4.35em;
    max-height: 4.35em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0,0,0,.8);
  }
  .hero-actions { gap: 9px; flex-wrap: nowrap; }
  .hero-content button {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 9px;
    font-size: .74rem;
  }
  .hero-dots { bottom: 19px; }
}


/* === HERO COPY ALIGNMENT: ONE FIXED LAYOUT FOR EVERY SLIDE === */
.hero-content #heroTagline {
  height: 1.25em;
  min-height: 1.25em;
  margin-bottom: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hero-content #heroTitle {
  height: 2.35em;
  min-height: 2.35em;
  max-height: 2.35em;
  margin: 0 0 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.hero-content #heroSubtitle {
  height: 1.35em;
  min-height: 1.35em;
  max-height: 1.35em;
  margin: 0 0 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hero-content #heroDescription {
  height: 4.35em !important;
  min-height: 4.35em !important;
  max-height: 4.35em !important;
  margin: 0 0 18px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
}
.hero-content .hero-actions {
  min-height: 46px;
  height: 46px;
}

@media (max-width: 560px) {
  .hero-content #heroTagline {
    height: 1.25em;
    min-height: 1.25em;
    margin-bottom: 8px;
  }
  .hero-content #heroTitle {
    height: 1.96em;
    min-height: 1.96em;
    max-height: 1.96em;
    margin-bottom: 8px;
  }
  .hero-content #heroSubtitle {
    height: 1.45em;
    min-height: 1.45em;
    max-height: 1.45em;
    margin-bottom: 8px;
  }
  .hero-content #heroDescription {
    height: 4.35em !important;
    min-height: 4.35em !important;
    max-height: 4.35em !important;
    margin-bottom: 14px !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
  }
  .hero-content .hero-actions {
    min-height: 46px;
    height: 46px;
  }
}


/* MoviesExplain: show descriptions in a maximum of 3 lines */
.description-3line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
