/* styles.css */
/* RESET */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: Arial, sans-serif;
	background: #1a1a1a;
	color: #eaeaea;
	line-height: 1.6;
}
/* HEADER */
header {
	background: #2b2b2b;
	padding: 20px 30px;
	display: flex;
	justify-content: space-between;
	border-bottom: 2px solid #444;
}
.logo {
	font-size: 1.8em;
	font-weight: bold;
	color: #fc9997;
}
.search-bar input {
	padding: 8px;
	border: none;
	border-radius: 4px;
	width: 200px;
}
/* NAVIGATION */
nav {
	background: #222;
	padding: 10px 30px;
	display: flex;
	justify-content: space-between;
	position: relative;
}
nav .nav-links {
	list-style: none;
	display: flex;
}
nav .nav-links li {
	margin: 0 15px;
}
nav .nav-links a {
	color: #eaeaea;
	text-decoration: none;
	padding: 10px;
	transition: color 0.3s;
}
nav .nav-links a:hover {
	color: #fc9997;
}
/* BURGER (mobile) */
.burger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	z-index: 1001;
}
.burger div {
	width: 25px;
	height: 3px;
	background: #eaeaea;
	margin: 4px;
	transition: all 0.3s ease;
}
/* TWO-COLUMN */
.container {
	display: flex;
	flex-direction: row;
	padding: 20px 30px;
}
.main-content {
	flex: 3;
	margin-right: 20px;
}
.sidebar {
	flex: 1;
}
/* MAIN CONTENT */
.main-content h2 {
	margin-bottom: 15px;
	padding-bottom: 5px;
	border-bottom: 2px solid #444;
	color:#fc9997;
}
.news-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.news-item {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #444;
}
.news-img img {
	width: 120px;
	height: 80px;
	object-fit: cover;
	border-radius: 6px;
}
.news-content h3 {
	margin: 0;
	font-size: 1.1rem;
}
.news-date {
	font-size: 0.85rem;
	color: #666;
	margin: 0.2rem 0 0.5rem;
}
.news-content p {
	line-height: 1.5;
	margin-top: 0.3rem;
}
.news-content a {
	color: #fc9997;
}
/* BADGES */
.news-badge, .review-badge {
	background: #fc9997;
	color: #000;
	font-size: 0.7rem;
	padding: 2px 6px;
	border-radius: 4px;
	margin-right: 6px;
}
/* SIDEBAR */
.sidebar section {
	background: #2b2b2b;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 4px;
}
.sidebar h3 {
	color: #fc9997;
	margin-bottom: 10px;
}
.movie-list li a {
	color: #fc9997;
	text-decoration: none;
}
.on-this-day__img-wrap img {
	width: 100%;
	max-width: 500px;
	height: auto;
}
/* FOOTER */
footer {
	background: #2b2b2b;
	padding: 30px 30px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	border-top: 2px solid #444;
}
.footer-section {
	flex: 1;
	min-width: 200px;
	margin-bottom: 20px;
}
.footer-section h4 {
	color: #fc9997;
	margin-bottom: 10px;
}
footer a {
	color: #eaeaea;
	text-decoration: none;
}
.footer-contact a {
	color: #fc9997;
}
.news-slider {
	margin-bottom: 2rem;
	/* adjust to taste */
}
/* --- Slider: full‐width / taller images --- */
.news-slider.swiper {
	height: 300px;
	/* bump up height as needed */
}
.news-slider .swiper-wrapper {
	/* let Swiper handle the slide translation */
	width: 100% !important;
}
.news-slider .swiper-slide {
	/* remove any flex‐centering so images fill */
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}
.news-slider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* cover the whole slide container */
	display: block;
}
.slide-caption {
	position: absolute;
	bottom: 12px;
	left: 16px;
	background: rgba(0,0,0,0.6);
	color: #fff;
	padding: 6px 10px;
	border-radius: 4px;
}
/* keep your nav arrows vertically centered */
.news-slider .swiper-button-prev,.news-slider .swiper-button-next {
	top: 50%;
	transform: translateY(-50%);
}
.news-slider .swiper-pagination-bullet {
	background: #fc9997;
	opacity: 0.8;
}
/* RESPONSIVE */
@media (max-width: 768px) {
	.container {
		flex-direction: column;
	}
	.main-content {
		margin-right: 0;
	}
	.burger {
		display: flex;
	}
	nav .nav-links {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 60px;
		right: 0;
		width: 200px;
		background: #222;
		z-index: 1000;
	}
	nav .nav-links.nav-active {
		display: flex;
	}
	.search-bar input {
		width: 150px;
	}
}
/* --- “Latest Added Movies” list styling --- */
.movie-list {
	list-style: decimal inside;
	padding-left: 20px;
}
.movie-list li {
	margin-bottom: 0.5em;
}
.movie-list li a {
	color: #fc9997;
	/* pink links */
	text-decoration: none;
	transition: color 0.3s;
}
.movie-list li a:hover {
	color: #eaeaea;
	/* lighten on hover */
}
/* ——————————————————————————————Lost Souls A–Z nav (override broken selectors)—————————————————————————————— */
.soul-count-container.navbar {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 20px auto;
	/* if you want same spacing as before */
}
.soul-count-container.navbar .soul-count-item {
	background-color: #111;
	border: 2px solid #3CB3ED;
	border-radius: 12px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: background-color 0.2s, transform 0.2s;
}
.soul-count-container.navbar .soul-count-item:hover {
	background-color: #3CB3ED;
	transform: scale(1.05);
}
.soul-count-container.navbar .soul-count-number {
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* ——————————————————————————————Total souls lost badge (the “#” link)—————————————————————————————— */
.soul-count-container.navbar .soul-count-item:first-child {
	/* any special tweaks for the “#” */
}
/* ——————————————————————————————Lost Souls detail list (“souls-list”)—————————————————————————————— */
.souls-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 1rem 0 2rem;
}
.soul-item {
	background: #2b2b2b;
	border: 1px solid #333;
	border-radius: 6px;
	padding: 0.75rem 1rem;
	flex: 1 1 calc(33.333% - 2rem);
	box-sizing: border-box;
}
.soul-time {
	display: block;
	font-size: 0.9rem;
	font-weight: bold;
	color: #fc9997;
	margin-bottom: 0.25rem;
}
.soul-victim {
	display: block;
	font-size: 1rem;
	font-weight: bold;
	color: #eaeaea;
}
.soul-cause {
	display: block;
	font-size: 0.8rem;
	color: #eaeaea;
}
/* Ensure small screens wrap nicely */
@media (max-width: 768px) {
	.soul-item {
		flex: 1 1 calc(50% - 1rem);
	}
}
@media (max-width: 480px) {
	.soul-item {
		flex: 1 1 100%;
	}
}
/* ——————————————————————————————Movie Lost Souls Timeline—————————————————————————————— */
/* Timeline track */
.timeline-container {
	position: relative;
	width: 100%;
	height: 36px;
	background: #222;
	border: 1px solid #444;
	border-radius: 4px;
	margin: 1.5rem 0;
	overflow: hidden;
}
/* Individual marker */
.icon-marker {
	position: absolute;
	top: 0;
	width: 24px;
	height: 36px;
	transform: translateX(-50%);
	cursor: pointer;
}
.icon-marker img {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 6px;
	/* adjust vertical alignment of the skull */
}
/* Hide default inline tooltip text */
.icon-marker .tooltip {
	display: none;
}
/* Hover tooltip container at bottom */
.tooltip-container {
	position: relative;
	width: 100%;
	text-align: center;
	margin-top: 0.5rem;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.tooltip-container.active {
	opacity: 1;
}
.tooltip-container .tooltip-content {
	display: inline-block;
	background: rgba(0,0,0,0.8);
	color: #fff;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	font-size: 0.9rem;
	max-width: 90%;
	white-space: nowrap;
	box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
/* ——————————————————————————————Cast Section Styling—————————————————————————————— */
/* Space around the cast block */
h2 + article {
	margin: 1.5rem 0 2rem;
}
/* Ensure each actor line has a bit of breathing room */
h2 + article p {
	line-height: 1.5;
	font-size: 1rem;
}
/* Style the little icons inline with the link */
h2 + article p img {
	vertical-align: middle;
	margin-right: 6px;
	height: 16px;
	/* consistent sizing */
}
/* Actor links */
h2 + article p a {
	color: #fc9997;
	text-decoration: none;
	transition: color 0.2s;
}
h2 + article p a:hover {
	color: #eaeaea;
}
/* Wrap lines cleanly at the <br> tags */
h2 + article p br {
	content: "";
	display: block;
	margin: 0.5rem 0;
}
/* ——————————————————————————————All Articles Listing (news-list)—————————————————————————————— */
h2 + .news-list {
	margin: 1.5rem 0;
}
.news-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.news-item {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	padding: 1rem 0;
	border-bottom: 1px solid #444;
}
.news-img img {
	width: 120px;
	height: 80px;
	object-fit: cover;
	border-radius: 6px;
}
.news-content h3 {
	margin: 0 0 0.3rem;
	font-size: 1.2rem;
}
.news-date {
	font-size: 0.85rem;
	color: #666;
	margin-bottom: 0.5rem;
}
.news-content p {
	line-height: 1.6;
	margin-top: 0.3rem;
}
.news-content a {
	color: #fc9997;
	text-decoration: none;
}
.news-content a:hover {
	text-decoration: underline;
}
/* ——————————————————————————————Article Page Layout—————————————————————————————— */
.article-hero {
	text-align: center;
	margin-bottom: 2rem;
}
.article-hero .article-title {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}
.article-hero .article-date {
	font-style: italic;
	color: #bbb;
	margin-bottom: 1rem;
	display: inline-block;
}
.article-header-img {
	width: 100%;
	max-width: 720px;
	height: auto;
	border-radius: 8px;
	margin: 0 auto;
	display: block;
}
/* Body text */
.article-body {
	max-width: 70ch;
	margin: 0 auto 2rem;
	line-height: 1.8;
	font-size: 1.05rem;
	text-align: justify;
}
.article-body p {
	margin-bottom: 1.2rem;
}
/* Next / Previous navigation */
.article-nav {
	display: flex;
	justify-content: space-between;
	max-width: 70ch;
	margin: 2rem auto;
	font-size: 0.95rem;
}
.article-nav a {
	color: #3CB3ED;
	text-decoration: none;
}
.article-nav a:hover {
	color: #fc9997;
}
/* ——————————————————————————————Actor Bio / Profile—————————————————————————————— */
.actor-bio {
	background: #2b2b2b;
	padding: 20px;
	border-radius: 6px;
	margin-bottom: 2rem;
	margin-top: 2rem;
}
.actor-bio h2 {
	margin-top: 0;
	margin-bottom: 0.75rem;
	color:#fc9997;
	font-size: 1.5rem;
}
.actor-bio p {
	line-height: 1.7;
	font-size: 1rem;
	color: #eaeaea;
	margin-bottom: 1.5rem;
}
/* ——————————————————————————————Movies List under Profile—————————————————————————————— */
.movie-list-wrapper {
	background: #2b2b2b;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
	margin-bottom: 3rem;
}
.movie-list-wrapper .movie-list {
	list-style: decimal inside;
	padding-left: 1rem;
	margin: 0;
}
.movie-list-wrapper .movie-list li {
	margin-bottom: 0.5rem;
	font-size: 1rem;
}
.movie-list-wrapper .movie-list li a {
	color: #3CB3ED;
	text-decoration: none;
	transition: color 0.2s;
}
.movie-list-wrapper .movie-list li a:hover {
	color: #fc9997;
}
/* ——————————————————————————————1) Lost Souls A–Z Navigation—————————————————————————————— */
.soul-count-container.navbar {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 20px auto;
}
.soul-count-container.navbar .soul-count-item {
	background-color: #111;
	border: 2px solid #3CB3ED;
	border-radius: 12px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s, transform 0.2s;
}
.soul-count-container.navbar .soul-count-item:hover {
	background-color: #3CB3ED;
	transform: scale(1.05);
}
.soul-count-container.navbar .soul-count-number {
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* ——————————————————————————————2) Total Souls Lost Grid—————————————————————————————— */
#souls-section {
	margin-bottom: 1rem;
	color: #fc9997;
}
.movie-souls {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px,1fr));
	gap: 1rem;
	margin: 1rem 0 2rem;
}
.movie-soul-item {
	background: #2b2b2b;
	border:1px solid #444;
	border-radius:8px;
	padding:1rem;
	text-align:center;
}
.movie-soul-number {
	font-size:2rem;
	font-weight:bold;
	color:#3CB3ED;
	margin-bottom:0.5rem;
}
.movie-soul-label {
	font-size:0.85rem;
	color:#eaeaea;
	text-transform:uppercase;
	letter-spacing:0.5px;
}
/* ——————————————————————————————3) Lost Souls Detail List—————————————————————————————— */
.souls-list {
	display: flex;
	flex-wrap: wrap;
	gap:1rem;
	margin:1rem 0 2rem;
}
.soul-item {
	background:#2b2b2b;
	border:1px solid #333;
	border-radius:6px;
	padding:0.75rem 1rem;
	flex:1 1 calc(33.333% - 2rem);
	box-sizing:border-box;
}
.soul-time {
	display:block;
	font-size:0.9rem;
	font-weight:bold;
	color:#fc9997;
	margin-bottom:0.25rem;
}
.soul-victim {
	display:block;
	font-size:1rem;
	color:#eaeaea;
}
@media (max-width:768px) {
	.soul-item {
		flex:1 1 calc(50% - 1rem);
	}
}
@media (max-width:480px) {
	.soul-item {
		flex:1 1 100%;
	}
}
/* ——————————————————————————————4) Movie Lost Souls Timeline—————————————————————————————— */
.timeline-container {
	position:relative;
	width:100%;
	height:36px;
	background:#222;
	border:1px solid #444;
	border-radius:4px;
	margin:1.5rem 0;
	overflow:hidden;
}
.icon-marker {
	position:absolute;
	top:0;
	width:24px;
	height:36px;
	transform:translateX(-50%);
	cursor:pointer;
}
.icon-marker img {
	display:block;
	width:100%;
	height:auto;
	margin-top:6px;
}
.icon-marker .tooltip {
	display:none;
}
.tooltip-container {
	position:relative;
	width:100%;
	text-align:center;
	margin-top:0.5rem;
	pointer-events:none;
	opacity:0;
	transition:opacity 0.2s ease;
}
.tooltip-container.active {
	opacity:1;
}
.tooltip-container .tooltip-content {
	display:inline-block;
	background:rgba(0,0,0,0.8);
	color:#fff;
	padding:0.5rem 1rem;
	border-radius:4px;
	font-size:0.9rem;
}
/* ——————————————————————————————5) Cast Section—————————————————————————————— */
h2 + article {
	margin:1.5rem 0 2rem;
}
h2 + article p {
	line-height:1.5;
	font-size:1rem;
	margin-bottom:1rem;
}
h2 + article p img {
	vertical-align:middle;
	margin-right:6px;
	height:16px;
}
h2 + article p a {
	color:#fc9997;
	text-decoration:none;
	transition:color 0.2s;
}
h2 + article p a:hover {
	color:#eaeaea;
}
/* ——————————————————————————————6) All Articles Listing—————————————————————————————— */
h2 + .news-list {
	margin:1.5rem 0;
}
.news-list {
	display:flex;
	flex-direction:column;
	gap:1.5rem;
}
.news-item {
	display:flex;
	align-items:flex-start;
	gap:1.5rem;
	padding:1rem 0;
	border-bottom:1px solid #444;
}
.news-img img {
	width:120px;
	height:80px;
	object-fit:cover;
	border-radius:6px;
}
.news-content h3 {
	margin:0 0 0.3rem;
	font-size:1.2rem;
}
.news-date {
	font-size:0.85rem;
	color:#666;
	margin-bottom:0.5rem;
}
.news-content p {
	line-height:1.6;
	margin-top:0.3rem;
}
.news-content a {
	color:#fc9997;
	text-decoration:none;
}
.news-content a:hover {
	text-decoration:underline;
}
/* ——————————————————————————————7) Article Page Layout—————————————————————————————— */
.article-hero {
	text-align:center;
	margin-bottom:2rem;
}
.article-hero .article-title {
	font-size:2rem;
	margin-bottom:0.5rem;
}
.article-hero .article-date {
	font-style:italic;
	color:#bbb;
	margin-bottom:1rem;
	display:inline-block;
}
.article-header-img {
	width:100%;
	max-width:720px;
	border-radius:8px;
	margin:0 auto;
	display:block;
}
.article-body {
	max-width:70ch;
	margin:0 auto 2rem;
	line-height:1.8;
	font-size:1.05rem;
	text-align:justify;
}
.article-body p {
	margin-bottom:1.2rem;
}
.article-nav {
	display:flex;
	justify-content:space-between;
	max-width:70ch;
	margin:2rem auto;
	font-size:0.95rem;
}
.article-nav a {
	color:#3CB3ED;
	text-decoration:none;
	transition:color 0.2s;
}
.article-nav a:hover {
	color:#fc9997;
}
/* ——————————————————————————————8) Actor Profile & Movies List—————————————————————————————— */
.actor-bio {
	background:#2b2b2b;
	padding:20px;
	border-radius:6px;
	margin-bottom:2rem;
}
.actor-bio h2 {
	margin:0 0 0.75rem;
	color:#fc9997;
	font-size:1.5rem;
}
.actor-bio p {
	line-height:1.7;
	font-size:1rem;
	color:#eaeaea;
	margin-bottom:1.5rem;
}
.movie-list-wrapper {
	background:#2b2b2b;
	padding:20px;
	border-radius:8px;
	box-shadow:0 0 8px rgba(0,0,0,0.5);
	margin-bottom:3rem;
}
.movie-list-wrapper .movie-list {
	list-style:decimal inside;
	padding-left:1rem;
	margin:0;
}
.movie-list-wrapper .movie-list li {
	margin-bottom:0.5rem;
	font-size:1rem;
}
.movie-list-wrapper .movie-list li a {
	color:#3CB3ED;
	text-decoration:none;
	transition:color 0.2s;
}
.movie-list-wrapper .movie-list li a:hover {
	color:#fc9997;
}
/* ——————————————————————————————9) Sidebar “Latest Added Movies” List—————————————————————————————— */
.sidebar .movie-list {
	list-style:decimal inside;
	padding-left:20px;
}
.sidebar .movie-list li {
	margin-bottom:0.5em;
}
.sidebar .movie-list li a {
	color:#fc9997;
	text-decoration:none;
	transition:color 0.3s;
}
.sidebar .movie-list li a:hover {
	color:#eaeaea;
}
.actor-profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1rem;
	/* space between name and image */
	margin-bottom: 2rem;
	/* extra room before the bio */
}
.actor-profile img {
	border-radius: 50%;
	/* make it round */
	width: 200px;
	/* keep your intended dimensions */
	height: 200px;
	object-fit: cover;
	/* preserve aspect ratio */
}
/* ----- Desktop only: blurred BG + centered foreground ----- */
@media (min-width: 1024px) {
  .news-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
  }
  .news-slider .swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(12px);
    transform: scale(1.1);
    z-index: 1;
  }
  .news-slider .swiper-slide .slide-foreground {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 40%;       /* Enlarge to ~90% of slide */
    height: auto;
    z-index: 2;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  }
  .news-slider .swiper-slide .slide-caption {
    position: absolute;
    bottom: 20px;         /* Caption anchored to bottom */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
  }
}

/* —————————————————————————————— network‐buttons: equal width, max 100px high —————————————————————————————— */
.network-buttons {
  display: flex;
  gap: 1rem;                      /* space between each button */
  margin-bottom: 10px;
}

.network-buttons .network-btn {
  flex: 1;                        /* each button takes equal share of the row */
  height: 75px;                  /* fix the height */
  display: flex;                  /* center the img inside */
  justify-content: center;
  align-items: center;
  overflow: hidden;               /* in case an image is slightly bigger */
  border: 2px solid #444;         /* optional: add a border to show the button edge */
  border-radius: 6px;             /* match the style elsewhere */
  background: #2b2b2b;            /* optional: same background as your sidebar cards */
  padding: 10px;
}

.network-buttons .network-logo {
  max-height: 100%;               /* never exceed the 100px container height */
  max-width: 100%;                /* never overflow container width */
  object-fit: contain;            /* preserve aspect ratio */
  display: block;                 /* remove inline-img whitespace quirks */
}

/* on mobile: let text wrap around the thumbnail */
@media (max-width: 768px) {
  .news-list .news-item {
    display: block;              /* drop the flex row */
    margin-bottom: 1.5rem;       /* add some breathing room */
  }
  .news-list .news-item .news-img {
    float: left;                 /* take it out of the flow */
    margin: 0 1rem 1rem 0;        /* text can wrap on the right & below */
    width: 120px;                 /* keep your intended width */
    height: auto;                /* let height scale with the image */
  }
  .news-list .news-item::after {
    content: "";
    display: table;
    clear: both;                 /* make each item expand under its float */
  }
}

.actor-movies li a {
  color: #fc9997;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.actor-movies li a:hover {
  color: #eaeaea;
}

.actor-movies {
  list-style: none;
  padding: 0;
  margin: 0;
}

.actor-name {
  color: #fc9997;        /* use your site’s red/pink */
  font-size: 1.3rem;     /* increase size */
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.actor-bio-text {
  text-align: justify;
  font-size: 0.95rem;
  color: #eaeaea;
  margin: 0.5rem 0 1rem;
  line-height: 1.5;
}

.movie-description img {
  max-width: 100%;
  height: auto;
}

/* ———————————————————————————————— */
/* Movie description poster responsive wrapping */
/* ———————————————————————————————— */

.movie-description img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .movie-description {
    display: block !important;
  }

  .movie-description img {
    float: left;
    width: 150px;
    height: auto;
    margin: 0 15px 15px 0;
  }

  .movie-description::after {
    content: "";
    display: table;
    clear: both;
  }
}

      .episode-list {
        list-style: none;
        margin: 1rem 0;
        padding: 0;
      }
      .episode-item {
        background: #2b2b2b;
        border: 1px solid #444;
        border-radius: 6px;
        padding: 0.75rem 1rem;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        transition: background 0.2s;
      }
      .episode-item:hover {
        background: #333;
      }
      .episode-number {
        color: #FFFFFF;
        font-weight: bold;
        margin-right: 1rem;
      }
      .episode-title {
        flex: 1;
      }
      .episode-title a {
        color: #3CB3ED;
        text-decoration: none;
      }
      .episode-title a:hover {
        text-decoration: underline;
      }
	  
	  .delete-link {
  color: #e74c3c;
  text-decoration: none;
  font-weight: bold;
  margin-left: 1rem;
}
.delete-link:hover {
  text-decoration: underline;
}

  /* === Oracle Of Souls – Search page theme (scoped) === */
  :root {
    --oos-ink: #e8e8e8;
    --oos-muted: #a9a9b2;
    --oos-border: #2b2b2f;
    --oos-card: #18181b;
    --oos-card2:#141417;
    --oos-accent: #ff5a66;   /* matches your coral/red */
    --oos-accent-2:#ff8a90;
  }

  /* Header hint under the input */
  .search-head-hint{color:var(--oos-muted);font-size:13px;margin:6px 2px 0}

  /* --- Search input + button (pill group) --- */
  .search {display:flex; align-items:center; gap:8px;}
  .search input{
    flex:1; min-width:220px;
    background:var(--oos-card);
    border:1px solid var(--oos-border);
    color:var(--oos-ink);
    border-radius:999px;
    padding:10px 14px;
    outline:none;
    transition:border-color .15s, box-shadow .15s;
  }
  .search input:focus{
    border-color:var(--oos-accent);
    box-shadow:0 0 0 3px rgba(255,90,102,.15);
  }

  /* Fancy button */
  .oos-btn {
    display:inline-flex; align-items:center; gap:8px;
    border:0; cursor:pointer; white-space:nowrap;
    padding:10px 14px; font-weight:700; color:#0e0e11;
    border-radius:999px;
    background:linear-gradient(180deg,var(--oos-accent),var(--oos-accent-2));
    box-shadow:0 6px 18px rgba(255,90,102,.22), inset 0 1px 0 rgba(255,255,255,.18);
    transition:transform .08s ease, box-shadow .15s ease, filter .15s ease;
  }
  .oos-btn:hover{ filter:brightness(1.05); }
  .oos-btn:active{ transform:translateY(1px); box-shadow:0 3px 12px rgba(255,90,102,.26), inset 0 1px 0 rgba(255,255,255,.18); }
  .oos-btn svg{ width:16px;height:16px; }

  /* --- Tabs --- */
  .search-tabs{
    display:flex; gap:8px; flex-wrap:wrap;
    border-bottom:1px solid var(--oos-border);
    margin:8px 0 16px;
  }
  .search-tab{
    padding:8px 12px;
    background:var(--oos-card2);
    border:1px solid var(--oos-border); border-bottom:none;
    color:var(--oos-ink); cursor:pointer;
    border-top-left-radius:10px; border-top-right-radius:10px;
    transition:background .15s, color .15s, border-color .15s;
  }
  .search-tab[aria-selected="true"]{
    background:#1d1d22; border-color:#3a3a41; color:#fff;
    position:relative;
  }
  .search-tab[aria-selected="true"]::after{
    content:""; position:absolute; left:0; right:0; bottom:-1px; height:1px; background:#1d1d22;
  }
  .search-count{opacity:.7;margin-left:.35rem;font-size:.95em}

  /* --- Panels & grid --- */
  .search-panel{display:none}
  .search-panel.active{display:block}

  .search-grid{
    display:grid; gap:12px;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  }
  .search-card{
    background:var(--oos-card);
    border:1px solid var(--oos-border);
    border-radius:12px; padding:12px;
  }
  .search-card a{ text-decoration:none; color:inherit; }
  .search-title{ font-weight:700; }
  .search-sub{ color:var(--oos-muted); font-size:13px; margin-top:4px; }

  .search-thumb{
    width:100%; aspect-ratio:16/9; object-fit:cover;
    border-radius:10px; background:#0f0f12;
    border:1px solid var(--oos-border); margin-bottom:8px;
  }

  .search-empty{
    color:var(--oos-muted);
    padding:16px; border-radius:12px;
    border:1px dashed var(--oos-border);
    background:var(--oos-card2);
  }

  /* Optional: make the H2 underline match your site */
  .main-content h2 { border-bottom:1px solid var(--oos-border); padding-bottom:8px; }

.poster-img {
  float: left;          /* pushes image left */
  width: 150px;         /* fixed width */
  height: auto;         /* keeps aspect ratio */
  margin: 0 15px 10px 0;/* space around poster */
  border-radius: 8px;   /* keep your rounded look */
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.series-description::after {
  content: "";
  display: block;
  clear: both; /* ensures footer/sidebar doesn’t collide with float */
}

.series-meta {
  margin: 12px 0 24px;
  padding: 12px 14px;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  display: grid;
  gap: 8px;
}

@media (min-width: 720px) {
  .series-meta {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
}

.series-meta strong {
  font-weight: 600;
  margin-right: 6px;
}

/* Episodes section */
h2 + h3 { margin-top: 18px; }

.episode-list {
  list-style: none;
  margin: 10px 0 28px;
  padding: 0;
  display: grid;
  gap: 8px;               /* spacing between rows */
}

/* Row container */
.episode-item {
  background: #1a1b1d;
  border: 1px solid #2c2d30;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  overflow: hidden;
}

/* Make the whole row feel clickable */
.episode-item:hover {
  transform: translateY(-1px);
  border-color: #3a3b3f;
  box-shadow: 0 6px 16px rgba(0,0,0,.28);
  background: #1d1e20;
}

/* Inner layout (number + title) */
.episode-item .inner {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
}

/* Number badge */
.episode-number {
  font-weight: 700;
  opacity: .9;
  background: #121315;
  border: 1px solid #2a2b2f;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: left;
}

/* Title link */
.episode-title a {
  display: block;            /* gives a bigger click target */
  text-decoration: none;
  padding: 6px 4px;
  border-radius: 6px;
  outline: none;
}

/* Link colors/states (inherit your palette) */
.episode-title a:hover,
.episode-title a:focus {
  text-decoration: underline;
}

/* Compact on small screens */
@media (max-width: 560px) {
  .episode-item .inner {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .episode-number { justify-self: start; }
}

