/**
 * The Film Geezers - Theme Styles
 * Colors matched from https://thefilmgeezers.com
 */
/* 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 */
}

/* Bootstrap-compatible form styling */
:root {
  --bs-border-width: 1px;
  --bs-border-color: #dee2e6;
  --bs-border-radius: 0.375rem;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
}

.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: calc(var(--bs-border-width) * -1);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),
.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,
.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,
.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group>.form-control,
.input-group>.form-floating,
.input-group>.form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Sidebar search form styling */
.widget_search .search-form {
    display: flex;
}

.widget_search .search-field {
    flex: 1;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.widget_search .search-field:focus {
    border-color: #ffc107;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(255,193,7,.25);
}

.widget_search .search-submit {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    background-color: #ffc107;
    border: 1px solid #ffc107;
    border-left: none;
    border-radius: 0.375rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    color: #000;
    transition: all 0.3s ease;
}

.widget_search .search-submit:hover {
    background-color: #ffca2c;
    border-color: #ffca2c;
}

.widget_search .screen-reader-text {
    display: none;
}

/* Apply these Bootstrap styles to the sidebar search specifically */
.widget_search .search-form {
    display: flex;
    flex-wrap: nowrap;
}

.widget_search .search-field {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.widget_search .search-submit {
    margin-left: calc(var(--bs-border-width) * -1);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: var(--light-bg);
  line-height: 1.6;
}

a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

/* Body with hero background */
body.has-hero-background {
  position: relative;
}

body.has-hero-background .site {
  background-color: transparent;
  position: relative;
}

body.has-hero-background .latest-posts,
body.has-hero-background .newsletter-section,
body.has-hero-background .site-footer {
  position: relative;
  z-index: 2;
  background-color: var(--dark-color);
}

body.has-hero-background .latest-posts {
  background-color: rgba(33, 33, 33, 0.9);
  padding-top: 2rem;
}

body.has-hero-background .site-header {
  background-color: transparent;
  position: relative;
  z-index: 20;
}

body.has-hero-background .main-navigation-wrapper {
  background-color: rgba(238, 28, 37, 0.9) !important;
}

/* Hero section - Fixed styling */
.hero-section {
  position: relative;
  color: white;
  overflow: hidden;
  min-height: 500px;
  background-color: var(--dark-color);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.hero-section .film-excerpt {
  max-width: 90%;
}

/* Added specific stylings for featured image on hero section */
.hero-section .img-fluid.rounded.shadow {
  width: 100%;
  max-width: 300px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
  border: 3px solid rgba(255,255,255,0.1);
}

/* Film cards */
.film-card {
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.film-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Fix for image size consistency */
.film-card .position-relative {
  height: 280px;
  overflow: hidden;
}

.film-card .card-img-top {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

.film-card .card-title {
  font-weight: 500;
}

.film-card .card-title a {
  color: #333;
}

.film-card .card-title a:hover {
  color: var(--primary-color);
}

.rating-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
}

.star-rating {
  color: var(--primary-color);
}

.rating-text {
  color: var(--text-dark);
  margin-left: 5px;
}

.badge.bg-warning {
  background-color: var(--primary-color) !important;
  color: var(--text-light);
}

.badge.bg-secondary {
  background-color: var(--secondary-dark) !important;
}

/* Podcast cards */
.podcast-card {
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.podcast-card:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Fix for podcast image consistency */
.podcast-card .col-md-4 {
  height: 200px;
  overflow: hidden;
}

.podcast-card .img-fluid.rounded-start {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.podcast-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.podcast-social a:hover {
  color: var(--primary-color) !important;
}

/* Custom podcast player styling */
.podcast-custom-player {
  border-radius: 8px;
  overflow: hidden;
}

.podcast-custom-player audio {
  width: 100%;
  height: 50px;
}

.podcast-custom-player img {
  max-height: 150px;
  width: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

/* Genre cards */
.genre-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.genre-card:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.genre-icon {
  color: var(--primary-color);
}

.genre-card:hover .genre-icon {
  color: var(--text-light);
}

/* Genre Search Widget Styling */
.genre-search-widget {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.genre-search-widget .btn-outline-secondary {
    margin: 2px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.genre-search-widget .btn-outline-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Single film */
.film-header {
  background-color: var(--dark-color);
  padding: 2rem 0;
}

.film-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.film-details {
  font-size: 1rem;
}

.film-details a {
  color: var(--primary-color);
}

.film-details a:hover {
  text-decoration: underline;
}

.film-sidebar .card-header {
  background-color: var(--primary-color) !important;
}

/* Single podcast */
.podcast-header {
  background-color: var(--dark-color);
}

.podcast-title {
  font-size: 2.2rem;
  font-weight: 700;
}

/* Filters */
.filters .form-select {
  border-radius: 3px;
  border: 1px solid var(--border-color);
}

/* Newsletter */
.newsletter-section {
  background-color: var(--dark-color) !important;
}

/* Footer */
.site-footer {
  background-color: var(--dark-color) !important;
}

.site-footer a {
  color: var(--text-light);
}

.site-footer a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.site-footer h4 {
  color: var(--primary-color);
  margin-bottom: 1.2rem;
}

/* Footer Social Links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Increased spacing between icons */
}

.social-links .social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.social-links .social-link:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* List-horizontal for Quick Links */
.list-horizontal li {
  margin-bottom: 0.5rem;
}

.site-info {
  background-color: #000 !important;
  color: var(--text-light);
}

/* Comments */
.comment-reply-title {
  color: var(--dark-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  display: inline-block;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(238, 28, 37, 0.25);
}

.required {
  color: var(--primary-color);
}

/* Responsive fixes */
@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
  }
  
  .hero-bg {
    height: 100%;
    min-height: 100%;
  }
  
  .hero-content {
    padding: 2rem 0;
  }
  
  .film-title, .podcast-title {
    font-size: 1.8rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start !important;
  }
  
  .section-header .btn {
    margin-top: 1rem;
  }
}

/* Related films section */
.related-films .card-img-top {
  height: 180px;
  object-fit: cover;
  object-position: center top;
}

/* Popular reviews sidebar thumbnails */
.film-sidebar .img-fluid {
  height: 70px;
  width: 60px;
  object-fit: cover;
  object-position: center top;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .film-card .position-relative {
    height: 200px;
  }
  
  .podcast-card .col-md-4 {
    height: 150px;
  }
}

/* Header */
.site-header {
  position: relative;
  background-color: var(--dark-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.top-header {
  background-color: var(--dark-color) !important;
  color: var(--text-light); /* Ensure all text is white */
}

.site-title a {
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.8rem; /* Slightly larger for better visibility */
}

/* Always keep the site title white even on hover */
.site-title a:hover,
.site-title a:focus,
.site-title a:active {
  color: var(--text-light) !important;
  text-decoration: none;
}

.site-branding img {
  max-height: 50px;
  width: auto;
}

/* Header Social Links */
.header-social-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0;
}

.header-social-links .social-link {
  color: var(--text-light);
  margin-left: 16px; /* Increased spacing for larger icons */
  transition: color 0.3s ease;
}

/* Larger social icons */
.header-social-links .social-link i {
  font-size: 1.75rem; /* Larger size - equivalent to fa-2x but more controlled */
}

.header-social-links .social-link:hover {
  color: var(--primary-color);
}

/* Media queries for responsive header with larger icons */
@media (max-width: 767px) {
  .header-social-links {
    justify-content: center;
    margin-top: 12px;
    margin-bottom: 8px;
  }
  
  .header-social-links .social-link {
    margin-left: 10px;
    margin-right: 10px;
  }
  
  .header-social-links .social-link i {
    font-size: 1.5rem; /* Slightly smaller on mobile but still prominent */
  }
}

/* Latest Posts section */
.latest-posts {
  background-color: #fff;
}

.latest-posts .divider {
  height: 2px;
  background-color: var(--border-color);
  opacity: 0.5;
}

/* Make sure "View All" button aligns properly on mobile */
@media (max-width: 767px) {
  .latest-posts .section-header {
    flex-direction: column;
    align-items: start;
  }
  
  .latest-posts .section-header .btn {
    margin-top: 1rem;
  }
}

/* Latest Reviews section */
.latest-reviews {
  background-color: #f8f9fa;
}

.latest-reviews .film-card .position-relative {
  height: 220px;
}

.latest-reviews .film-card .rating-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

/* Latest Podcasts section */
.latest-podcasts {
  background-color: #212529;
}

.latest-podcasts .podcast-card {
  transition: all 0.3s ease;
}

.latest-podcasts .podcast-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.latest-podcasts .podcast-card .col-md-4 {
  max-height: 180px;
  overflow: hidden;
}

.latest-podcasts .podcast-card .object-cover {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .latest-reviews .film-card .position-relative {
    height: 180px;
  }
  
  .latest-podcasts .podcast-card .col-md-4 {
    max-height: 150px;
  }
  
  .latest-podcasts .podcast-card .col-md-8 {
    padding: 1rem;
  }
}

/* Single film with hero background styling */
body.has-film-background {
  position: relative;
}

body.has-film-background .site {
  background-color: transparent;
  position: relative;
}

body.has-film-background .container {
  position: relative;
  z-index: 2;
}

body.has-film-background .site-header {
  background-color: transparent;
  position: relative;
  z-index: 20;
}

body.has-film-background .main-navigation-wrapper {
  background-color: rgba(238, 28, 37, 0.9) !important;
}

/* Make Related Film Reviews section white with padding */
body.has-film-background .related-films {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

/* Add padding to comments container */
body.has-film-background .comments-area {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 8px;
}

body.has-film-background .film-sidebar .card, 
body.has-film-background .author-box,
body.has-film-background .related-films .card {
  background-color: rgba(255, 255, 255, 0.95) !important;
}

body.has-film-background .site-footer,
body.has-film-background .newsletter-section {
  position: relative;
  z-index: 5;
}

/* Make sure text is readable with the background image */
body.has-film-background .entry-content {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

/* Breadcrumbs styling */
.breadcrumb-wrapper {
    padding: 0.75rem 0;
    background: #f8f9fa;
}

#breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

#breadcrumbs span {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #666;
}

#breadcrumbs span:not(:last-child):after {
    content: '/';
    margin: 0 0.5rem;
    color: #adb5bd;
}

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

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

#breadcrumbs span:last-child {
    color: var(--text-muted);
}

/* Dark background support */
body.has-film-background .breadcrumb-wrapper {
    background: transparent;
}

body.has-film-background #breadcrumbs span {
    color: rgba(255, 255, 255, 0.7);
}

body.has-film-background #breadcrumbs a {
    color: #fff;
}

body.has-film-background #breadcrumbs span:not(:last-child):after {
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #breadcrumbs {
        font-size: 0.9rem;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #breadcrumbs span {
        height: 28px;
        line-height: 28px;
        padding: 0 25px 0 15px;
        font-size: 0.85rem;
    }
    
    #breadcrumbs span:after {
        border-top-width: 14px;
        border-bottom-width: 14px;
        border-left-width: 14px;
    }
    
    #breadcrumbs span:before {
        border-top-width: 14px;
        border-bottom-width: 14px;
        border-left-width: 14px;
    }
}

/* Person cards for actors and directors */
.person-card {
  transition: all 0.3s ease;
}

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

.person-image {
  width: 100%;
  position: relative;
  overflow: hidden;
  max-width: 100px; /* Limit the maximum width */
  margin: 0 auto; /* Center the image container */
}

.person-image img {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  border: 2px solid #fff;
  transition: all 0.3s ease;
  border-radius: 50%; /* Make images circular for a cleaner look */
}

.person-card:hover .person-image img {
  border-color: var(--primary-color);
}

.person-name {
  font-size: 0.8rem; /* Slightly smaller font size */
  margin-bottom: 0.1rem;
  text-align: center; /* Center the name */
}

.person-role {
  font-size: 0.7rem; /* Smaller font size for role */
  text-align: center; /* Center the role text */
}

/* Adjust layout for mobile view */
@media (max-width: 767px) {
  .person-image {
    max-width: 80px; /* Even smaller on mobile */
  }
  
  .person-name {
    font-size: 0.7rem;
  }
}

/* Create default profile image in WordPress media library */
.directors-section h3,
.actors-section h3 {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .person-name {
    font-size: 0.8rem;
  }
}

/* Person taxonomy page styling */
.person-profile-image img {
  width: 100%;
  max-width: 300px;
  border: 3px solid #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.person-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.person-meta {
  margin-bottom: 1rem;
}

.person-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tmdb-link {
  background-color: #01b4e4 !important;
  color: #fff;
  margin-left: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tmdb-link:hover {
  background-color: #0099c7 !important;
  color: #fff;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  color: var(--dark-color);
  border-bottom: 2px solid var(--primary-color);
}

@media (max-width: 767px) {
  .person-profile-image {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .person-profile-image img {
    max-width: 200px;
  }
}

/* Person biography styling */
.person-biography {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.person-biography p:first-of-type {
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.person-biography p:last-child {
  margin-bottom: 0;
}

.person-details {
  font-size: 0.9rem;
  color: #555;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

/* Expand the height of the person profile section */
@media (min-width: 768px) {
  .person-profile-image img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
  }
}

/* Add a "Read More" for long biographies */
.person-biography {
  position: relative;
  max-height: 300px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.person-biography.expanded {
  max-height: 5000px;
}

.biography-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}

.biography-expand {
  position: relative;
  text-align: center;
  margin-top: -20px;
  padding-top: 40px;
  z-index: 2;
}

.biography-expand button {
  border: none;
  background: #f8f9fa;
  padding: 5px 15px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  cursor: pointer;
  font-size: 0.8rem;
}

.biography-expand button:hover {
  background: #e9ecef;
}

/* Sidebar Search Styling - Updated to align with site search inputs */
.widget_search form,
.widget_search .wp-block-search__inside-wrapper {
  display: flex;
  width: 100%;
  margin-bottom: 1.5rem;
}

.widget_search input[type="search"],
.widget_search .wp-block-search__input {
  display: block;
  width: 100%;
  padding: 0; /* Adjusted padding for consistency */
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  flex: 1 1 auto;
  margin: 0;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.widget_search input[type="submit"],
.widget_search button[type="submit"],
.widget_search .wp-block-search__button {
  background-color: #ffc107; /* Yellow color */
  color: #000; /* Black text */
  border-color: #ffc107;
  padding: 0.5rem 1rem; /* Adjusted padding for consistency */
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  border-radius: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.widget_search input[type="submit"]:hover,
.widget_search button[type="submit"]:hover,
.widget_search .wp-block-search__button:hover {
  background-color: #e0a800; /* Darker yellow for hover */
  border-color: #d39e00;
  color: #000;
}

.widget_search input[type="search"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(238, 28, 37, 0.25);
  outline: 0;
}

.widget_search .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-warning {
    background-color: #ffc107; /* Yellow color */
    color: #000; /* Black text */
    border-color: #ffc107;
}

.btn-warning:hover {
    background-color: #ffc107; /* Yellow color */
    color: #000; /* Black text */
    border-color: #ffc107;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 5px;
}

.pagination li {
    display: inline;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #ffc107;
    color: #000;
    border-color: #ffc107;
}

.pagination .current {
    background-color: #ffc107;
    color: #000;
    border-color: #ffc107;
}

/* Post Taxonomy Links Styling */
.taxonomy-links {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.taxonomy-links .categories,
.taxonomy-links .tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.taxonomy-links i {
  color: var(--text-muted);
  width: 20px;
}

.taxonomy-links a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #f8f9fa;
  border-radius: 50rem;
  color: var(--text-dark);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
}

.taxonomy-links a:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

/* Film Taxonomies Styling */
.film-taxonomies {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.taxonomy-group {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.taxonomy-label {
  font-weight: 500;
  min-width: 80px;
  color: var(--text-muted);
}

.taxonomy-group .badge {
  background-color: #f8f9fa;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  font-weight: normal;
  font-size: 0.875rem;
}

.taxonomy-group .badge:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}
