.red {
    background-color: red;
}

.blue {
    background-color: blue;
}

.coral {
    background-color: coral;
}

.green {
    background-color: green;
}


.header_background {
	background-color: yellow;
}

.box {
    height: 5.0rem;
    cursor: pointer;
}

.pointer {
    cursor: pointer;
}

.box2 {
    height: 40.0rem;
}


.hideAll {
    display: none;
}

.height-1 {
     height: 10.0rem;
}



.callout {
    background-color: transparent;
    color: white;
    font-weight: bold;
    border: none;
}

body {
    background-color: #0f1b27;
    color: #e6edf3;
}

.header_background {
    background-color: #0b1621;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header_background .grid-x.align-middle {
  align-items: center;
}

.header-search-cell {
  display: flex;
  align-items: center;
  margin-top: 14px;
}

.header-search-cell #search {
  width: 100%;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
}

#search {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #0f2231;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    color: #e6edf3;
}
#search::placeholder { color: #98a6b3; }

.callout.gray-1 {
    background: #112336;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.75rem;
}
.image-container {
    aspect-ratio: 3/4;
    background: #0f2231;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}
.image-container img { width: 100%; height: 100%; object-fit: cover; }
.text-container { padding: 0.75rem; font-weight: 600; }

.placeholder { background: #112336; border: 1px solid rgba(255,255,255,0.08); border-radius: 0.75rem; min-height: 4rem; }
.placeholder-card {
  background: transparent;
  border: none;
  border-radius: 0.75rem;
  aspect-ratio: 16/9;
}

.moviePage-show .casts .placeholder-card,
.moviePage-show .similar .placeholder-card {
  color: #ffffff;
  background: #112336;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 3/4;
}

.moviePage-show .casts .placeholder-card img,
.moviePage-show .similar .placeholder-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1 1 auto;
}

.moviePage-show .casts .card-label,
.moviePage-show .similar .card-label {
  padding: 0.5rem 0.75rem;
  background: #0f2231;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
}
.poster.placeholder { aspect-ratio: 2/3; min-height: 12rem; }
.moviePage-show .movie-detail-layout {
  display: flex;
  gap: 2rem; 
}

.moviePage-show .movie-detail-layout .poster.placeholder {
  aspect-ratio: 2 / 3;
  min-height: 20rem;
  max-height: 26rem;       
  flex: 0 0 auto;
}

.moviePage-show .movie-detail-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;        
  justify-content: space-between; 
  min-height: 20rem;              
}

.moviePage-show .movie-detail-info .detail-block {
  padding: 0.5rem 0;
}

.moviePage-show .movie-detail-info .detail-block-top h1,
.moviePage-show .movie-detail-info .detail-block-top h2 {
  margin: 0;
}

.grid.placeholder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

.pointer { cursor: pointer; }


.image-container img {
    width: 100%;
}

.text-container {
    height: 3.0rem;
}

.gray-1 {
    background-color: rgb(135, 135, 135);
}

.height-1 { height: auto !important; }
.callout.gray-1 { padding: 0; overflow: hidden; }
.image-container img { display: block; }


.site-footer {
  background: #0b1621;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2rem 0;
  color: #e6edf3;
}

.site-footer h5 {
  margin: 0 0 .75rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: #e6edf3;
}

.site-footer .no-bullet {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .no-bullet li + li {
  margin-top: .4rem;
}

.site-footer a {
  color: #e6edf3;
  opacity: .8;
  text-decoration: none;
  transition: opacity .15s ease;
}

.site-footer a:hover,
.site-footer a:focus {
  opacity: 1;
  text-decoration: underline;
}

.site-footer small {
  display: inline-block;
  opacity: .7;
  padding-top: 1rem;
}

.site-footer .grid-margin-y > .cell {
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .site-footer { padding: 1.5rem 0; }
  .site-footer .text-center { margin-top: .5rem; }
}

.hero {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #0f2231;
}
.hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-top: 0.75rem;
}

.header-link {
  color: #e6edf3;
  opacity: .85;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.25rem;
}

.header-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width .2s ease;
}

.header-link:hover::after,
.header-link:focus::after {
  width: 100%;
}

.header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.85);
}

.header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-heading h2 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.callout.gray-1 {
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.callout.gray-1:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.18);
}

.moviePage-show h1.detail-title {
  font-size: 1.8rem;
  margin-top: 1.5rem;
  margin-bottom: .25rem;
}

.moviePage-show h2.detail-subtitle {
  font-size: 1rem;
  font-weight: 500;
  opacity: .85;
  margin-bottom: 1.5rem;
}

.moviePage-show .poster.placeholder img,
.peoplePage-show .people-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0.75rem;
}

.moviePage-show .metadata,
.moviePage-show .plot,
.peoplePage-show .people-metadata,
.peoplePage-show .people-bio {
  padding: 1rem 1.25rem;
  line-height: 1.6;
}

.moviePage-show .plot {
  margin-top: 0.75rem;
}

.moviePage-show h3,
.peoplePage-show h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.moviePage-show .grid.placeholder,
.peoplePage-show .grid.placeholder,
.peoplePage-show .people-similar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  background: transparent;
  border: none;
  padding: 0;
}

@media (max-width: 900px) {
  .moviePage-show .grid.placeholder,
  .peoplePage-show .grid.placeholder,
  .peoplePage-show .people-similar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-nav {
    justify-content: flex-start;
  }

  .moviePage-show .grid.placeholder,
  .peoplePage-show .grid.placeholder,
  .peoplePage-show .people-similar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.card-label {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
}

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

.card-label {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
}

main{
  margin-top: 40px;
}