
/* 1. Reset default browser spacing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Centers the whole section on the page */
.movie-reviews-container {
  max-width: 800px;
  margin: 0px auto;
  background-color: floralwhite; /* Keeps the floral white background just for this section */
  padding: 30px;
  border: 2px solid black;
  
}

/* Titles: Royal Blue */
.page-title, .movie-title {
  color: royalblue;
}

.page-title {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 2px dashed black;
  padding-bottom: 10px;
}

/* THE MOVIE CARD (Side-by-side layout) */
.movie-card {
  display: flex;       
  gap: 25px;           
  margin-bottom: 40px; 
  padding: 15px;
  border: 2px solid black; /* Matches your main site aesthetic */
  background-color: white; /* Makes the card pop off the floralwhite background */
}

/* THE POSTER */
.movie-poster {
  width: 150px;  
  height: 225px; 
  object-fit: cover; /* Prevents squishing and stretching */
  border: 1px solid #ccc;
}

/* THE TEXT SECTION */
.movie-info {
  display: flex;
  flex-direction: column; 
  color: black; /* Ensures your text is readable */
}

.movie-title {
  margin-top: 0;
  margin-bottom: 5px;
}

.movie-rating {
  font-weight: bold;
  color: #555;
  margin-top: 0;
}

.movie-review {
  line-height: 1.6;
  margin-bottom: auto; /* Pushes the link down to the bottom */
}

/* THE LINKS: Indian Red */
.movie-link, .movie-link:visited {
  color: indianred;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
}

.movie-link:hover {
  text-decoration: underline;
  color: royalblue; 
}

