/**handles:film-geezers-style**/
/*
Theme Name: The Film Geezers
Author: ApolloWeb
Author URI: https://github.com/ApolloWeb
Theme URI: https://github.com/ApolloWeb/the-film-geezers
Description: A custom theme for The Film Geezers using Bootstrap 5 and Font Awesome 6.
Version: 1.0.1
License: MIT
Text Domain: film-geezers
*/

/* Base styles */
:root {
  --primary-color: #ee1c25;      /* Red from thefilmgeezers.com */
  --dark-color: #212121;         /* Dark background */
  --secondary-dark: #333333;     /* Secondary dark */  
  --text-light: #FFFFFF;
  --text-dark: #000000;
  --text-muted: #999999;
  --border-color: #E3E3E3;
  --hover-color: #c41921;        /* Darker red for hover states */
  --light-bg: #f8f8f8;           /* Light background color */
}

/* UK Releases Section */
.uk-releases {
  background-color: #f2f3f5;
  padding: 3rem 0;
}

.uk-releases .film-card .position-relative {
  height: 220px;
}

.uk-releases .truncate-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Rating Badge */
.rating-badge {
  width: fit-content;
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ffc107;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Coming Soon Badge */
.coming-soon-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #dc3545;
  color: white;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Add responsiveness for UK releases section */
@media (max-width: 767px) {
  .uk-releases .film-card .position-relative {
    height: 180px;
  }
  
  .uk-releases .truncate-text {
    -webkit-line-clamp: 2;
  }
}

/* Consistent image styling for people and movie posters */
.card-img-top {
  width: 100%;
  object-fit: cover;
}

/* Person cards - square aspect ratio */
.person-card .card-img-top {
  aspect-ratio: 1/1;
}

/* Movie poster cards - standard poster aspect ratio */
.film-card .card-img-top {
  aspect-ratio: 2/3;
}

/* Default placeholders */
.card-img-top.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e0e0e0;
}

/* Person Card Styling for Films */
.person-card {
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.person-card:hover {
  transform: translateY(-5px);
}

.person-card .position-relative {
  margin-bottom: 8px;
  aspect-ratio: 1/1.5; /* Movie poster-like aspect ratio */
  overflow: hidden;
}

.person-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card .default-profile-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #757575;
  background-color: #e0e0e0;
}

.person-name {
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.person-role {
  font-size: 0.8rem;
}

/* Adjust for mobile */
@media (max-width: 767px) {
  .person-name {
    font-size: 0.8rem;
  }
  
  .person-role {
    font-size: 0.7rem;
  }
}

/* Breadcrumb styles */
#breadcrumbs {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

#breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

#breadcrumbs a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

#breadcrumbs span + span:before {
    padding: 0 0.5rem;
}