
/* Movie Review Styles */
.movie-synopsis {
    margin-bottom: 30px;
    line-height: 1.6;
}

.movie-synopsis p {
    margin-bottom: 15px;
}

h1, h2, h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    color: #333;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.5em;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.movie-overview-list {
    position: relative;
}

.synopsis-full {
    display: none;
}

.show-more-synopsis {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
    font-size: 14px;
    text-decoration: underline;
}

.show-more-synopsis:hover {
    color: #0056b3;
}

.cast-section table {
  width: 100%; /* Optional: Make the table take up the full width */
  border-collapse: collapse; /* Ensures borders don't double up */
}

.cast-section th, 
.cast-section td {
  border: 1px solid white; /* White borders */
  padding: 8px; /* Adds some space inside cells */
  text-align: left; /* Aligns text to the left */
}

.cast-section th {
  background-color: #333; /* Optional: Dark background for headers */
  color: white; /* Optional: White text for headers */
}

.cast-section tr:nth-child(even) {
  background-color: #f2f2f2; /* Optional: Light gray for alternate rows */
}


/* Animation for smooth transition */
.synopsis-short,
.synopsis-full {
    transition: opacity 0.3s ease;
}

iframe {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 20px 0;
}


.author-box {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #1F1F1F;
    border-radius: 8px;
    margin: 30px 0;
    align-items: center;
}

.author-avatar img {
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.author-description {
    margin-bottom: 12px;
    line-height: 1.5;
}

.author-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #555;
    font-size: 1.2em;
    transition: color 0.3s;
}

.social-link:hover {
    color: #000;
}

.instagram:hover { color: #E1306C; }
.twitter:hover { color: #1DA1F2; }
.facebook:hover { color: #1877F2; }
.post-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    padding: 20px 0;
}
.movie-card {
    background: #181818;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    text-align: center;
    transition: transform 0.2s;
}
.movie-card:hover {
    transform: translateY(-5px) scale(1.03);
}
.movie-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-bottom: 1px solid #222;
}
.movie-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 12px 0;
    padding: 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 600px) {
    .movie-card img {
        height: 180px;
    }
    .movie-card h3 {
        font-size: 1rem;
    }
}