/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/
.content-area .site-main p a {
    text-decoration: underline red;
	text-decoration-thickness: 2px;
    color: inherit; /* Ensures the link color remains unchanged */
}

.content-area .site-main p a:hover {
    background-color: red; /* Background color turns red on hover */
    text-decoration: none; /* Removes the underline on hover */
}
.footer-widget-1 p a {
    text-decoration: underline red;
	text-decoration-thickness: 2px;
    color: inherit; /* Ensures the link color remains unchanged */
}

.footer-widget-1 p a:hover {
    background-color: red; /* Background color turns red on hover */
    text-decoration: none; /* Removes the underline on hover */
}

/* Alternatives Section Styling */
.alternatives-section {
  padding: 50px 0;
  background-color: #f9f9fb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.alternatives-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.alternatives-header {
  margin-bottom: 30px;
  text-align: center;
}

.alternatives-title {
  font-size: 32px;
  margin-bottom: 25px;
  font-weight: 700;
  color: #333;
  position: relative;
  display: inline-block;
}

.alternatives-title:after {
  content: "";
  position: absolute;
  width: 70px;
  height: 3px;
  background: linear-gradient(to right, #4a90e2, #67c2e4);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.alternatives-filters {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background-color: #f1f1f1;
  border: none;
  color: #555;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  background-color: #e0e0e0;
}

.filter-btn.active {
  background-color: #4a90e2;
  color: white;
}

.alternatives-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.alternative-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  height: 80px; /* Fixed height for consistent sizing */
}

.alternative-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.alternative-icon {
  width: 60px;
  height: 60px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alternative-icon img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  object-fit: contain;
}

.alternative-info {
  flex-grow: 1;
}

.alternative-info h3 {
  color: #333;
  font-size: 18px;
  margin: 0 0 3px 0;
  font-weight: 600;
  line-height: 1.2;
}

.alternative-category {
  color: #777;
  font-size: 12px;
  margin: 0;
  line-height: 1.3;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .alternatives-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .alternatives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .alternative-item {
    height: 70px;
  }
}

@media screen and (max-width: 480px) {
  .alternatives-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .alternatives-title {
    font-size: 24px;
  }
  
  .alternatives-section {
    padding: 30px 0;
  }
  
  .alternative-item {
    padding: 10px;
    height: 60px;
  }
  
  .alternative-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  
  .alternative-info h3 {
    font-size: 13px;
  }
  
  .alternative-category {
    font-size: 10px;
  }
}
.custom-breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
    color: #555;
}
.custom-breadcrumb a {
    color: #0073aa;
    text-decoration: none;
}
.custom-breadcrumb a:hover {
    text-decoration: underline;
}
.custom-breadcrumb span {
    font-weight: bold;
}

body.single-movie .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none;
}

/*this is for movie archieve page where all movies display */
/* === Grid Layout for Movie Archive Page === */

/* === Wrapper === */
.movie-archive-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #fafafa;
    min-height: 100vh;
}

/* === Header === */
.movie-archive-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.movie-archive-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.movie-archive-description {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* === Grid === */
.movie-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* === Card === */
.movie-archive-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.movie-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.movie-archive-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* === Poster === */
.movie-archive-poster {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: #f5f5f5;
}

.movie-archive-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-archive-card:hover .movie-archive-poster img {
    transform: scale(1.05);
}

.movie-archive-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

/* === Info === */
.movie-archive-info {
    padding: 20px;
}

.movie-archive-title-small {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-archive-year {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
}

.movie-archive-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.movie-archive-genre {
    background-color: #f8f9fa;
    color: #495057;
    padding: 4px 10px;
    font-size: 0.85rem;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.movie-archive-card:hover .movie-archive-genre {
    background-color: #e3f2fd;
    color: #1976d2;
    border-color: #bbdefb;
}

/* === Pagination === */
.movie-archive-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px 0;
}

.movie-archive-pagination a,
.movie-archive-pagination span {
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: white;
}

.movie-archive-pagination a:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #333;
}

.movie-archive-pagination .current {
    background: #333;
    color: white;
    border-color: #333;
}

.movie-archive-pagination .dots {
    border: none;
    background: none;
    color: #999;
}

/* === No Results === */
.movie-archive-empty {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.movie-archive-empty p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .movie-archive-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .movie-archive-wrapper {
        padding: 30px 15px;
    }
    
    .movie-archive-title {
        font-size: 2rem;
    }
    
    .movie-archive-description {
        font-size: 1rem;
    }
    
    .movie-archive-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .movie-archive-poster {
        height: 280px;
    }
    
    .movie-archive-info {
        padding: 15px;
    }
    
    .movie-archive-title-small {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .movie-archive-header {
        margin-bottom: 30px;
    }
    
    .movie-archive-title {
        font-size: 1.8rem;
    }
    
    .movie-archive-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .movie-archive-poster {
        height: 250px;
    }
    
    .movie-archive-pagination {
        gap: 5px;
    }
    
    .movie-archive-pagination a,
    .movie-archive-pagination span {
        padding: 8px 12px;
        font-size: 13px;
    }
}
