/*
Theme Name: My Custom Theme No Sidebar (Minimal)
Theme URI: http://example.com/
Author: Your Name
Description: Minimal clean WordPress theme without sidebar
Version: 1.0
License: GNU GPL v2 or later
Text Domain: mytheme
*/

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* ===== Header ===== */
.site-header {
  background: #111;
  color: #fff;
  padding: 10px 15px;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-toggle, .search-toggle {
  font-size: 22px;
  cursor: pointer;
  color: #fff;
}

/* ===== Logo Styling ===== */
.site-logo, .sidebar-logo {
    font-size: 24px;
    font-weight: bold;
    text-transform: lowercase;
    display: inline-flex;
    align-items: center;       /* vertical alignment fix */
    white-space: nowrap;       /* prevents line break */
}

.site-logo a, .sidebar-logo a {
    text-decoration: none;     /* remove underline */
    display: inline-flex;
    align-items: center;
}

.logo-digit {
    color: #fff;
    display: inline-block;
}

.logo-binge {
    color: #e50914; /* Netflix red */
    display: inline-block;
}

/* ===== Sidebar ===== */
.sidebar {
  position: fixed;
  top: 0; left: -300px;
  width: 280px;
  height: 100%;
  background: #222;
  color: #fff;
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 9999;
}
.sidebar.active { left: 0; }

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #111;
  border-bottom: 1px solid #333;
}
.close-sidebar {
  font-size: 22px;
  cursor: pointer;
}

/* Sidebar Menu */
.sidebar-menu { list-style: none; margin: 0; padding: 0; }
.sidebar-menu li { border-bottom: 1px solid #333; }
.sidebar-menu li a {
  display: block;
  padding: 12px 15px;
  color: #fff;
  text-decoration: none;
  position: relative;
}
.sidebar-menu li a:hover { background: #333; }

/* Submenu */
.sidebar-menu .children {
  display: none;
  background: #2c2c2c;
}
.sidebar-menu .children li a {
  padding-left: 35px;
  font-size: 14px;
}

/* Submenu Icon */
.submenu-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}
.sidebar-menu li.open > .children { display: block; }

/* ===== Search Overlay ===== */
.search-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.search-box {
  position: relative;
  width: 80%;
  max-width: 600px;
}

/* Input Group */
.search-input-group {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 40px;
  padding: 5px 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Search Icon */
.search-input-group .search-icon {
  font-size: 18px;
  margin-left: 10px;
  color: #666;
}

/* Input Field */
.search-input-group .search-field {
  flex: 1;
  border: none;
  padding: 12px 15px;
  font-size: 16px;
  outline: none;
  background: transparent;
  color: #333;
}

/* Submit Button */
.search-input-group .search-submit {
  background: #e50914;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}
.search-input-group .search-submit:hover {
  background: #b20710;
}

/* Close Button */
.search-box .close-btn {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* Main Title Styling */
.custom-main-title {
    text-align: center;            /* Center mein title */
    font-size: 32px;               /* Bada font */
    font-weight: 700;              /* Bold */
    line-height: 1.3;              
    margin: 0;                     /* Top & Bottom margin hata diya */
    padding: 0;                    
    color: #1a1a1a;                /* Dark color */
    text-transform: uppercase;     /* Capital letters */
    letter-spacing: 1px;           /* Stylish spacing */
    background: linear-gradient(90deg, #ff7e5f, #feb47b); /* Gradient text effect */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Table Styling */
.custom-blocks-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;                    /* Top & Bottom gap hata diya */
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Table Header */
.custom-blocks-table th {
    background: #ff7e5f;
    color: #fff;
    font-weight: 600;
    padding: 12px;
    text-align: left;
}

/* Table Cells */
.custom-blocks-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    transition: all 0.3s ease;
}

/* Alternate Row Shading */
.custom-blocks-table tbody tr:nth-child(odd) {
    background: #fff8f5;
}

.custom-blocks-table tbody tr:nth-child(even) {
    background: #fff5f2;
}

/* Row Hover Effect */
.custom-blocks-table tbody tr:hover {
    background: #ffe5dc;
    transform: scale(1.01);
}

/* Responsive Table */
@media screen and (max-width: 768px) {
    .custom-blocks-table, 
    .custom-blocks-table thead, 
    .custom-blocks-table tbody, 
    .custom-blocks-table th, 
    .custom-blocks-table td, 
    .custom-blocks-table tr { 
        display: block; 
    }

    .custom-blocks-table thead tr { 
        display: none; 
    }

    .custom-blocks-table td { 
        position: relative; 
        padding-left: 50%; 
        border: none; 
        border-bottom: 1px solid #eee; 
    }

    .custom-blocks-table td::before { 
        content: attr(data-label); 
        position: absolute; 
        left: 10px; 
        top: 12px; 
        font-weight: 600; 
    }
}

/*footer CSS*/

/* ====== Footer Styling ====== */
.site-footer {
    background-color: #000;   /* Black background */
    color: #fff;              /* White text */
    padding: 30px 20px;
    text-align: center;       /* Center align everything */
    font-family: Arial, sans-serif;
}

.site-footer a {
    color: #ffcc00;           /* Yellow links */
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #fff;              /* Hover par white */
}

.footer-links {
    margin-bottom: 20px;
}

.site-info {
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 14px;
    color: #fff;
}

.site-info p {
    margin: 5px 0;
}

.site-info p:first-child {
    font-weight: bold; /* Copyright bold */
}

.breadcrumb {
    font-size: 14px;
    margin: 10px 0;        /* ऊपर और नीचे कम gap */
    padding: 6px 10px;
    background: #fafafa;   /* हल्का background */
    border: 1px solid #eee;
    border-radius: 4px;
    display: inline-block; /* सिर्फ content जितना space ले */
}

.breadcrumb {
    font-size: 14px;
    margin: 0 0 15px 0;     /* ऊपर का gap कम, नीचे थोड़ा */
    padding: 10px 20px;
    background: #fafafa;    /* हल्का background */
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    border-left: none;
    border-right: none;
    width: 100%;            /* full body width */
    box-sizing: border-box; /* padding भी width में include होगा */
}

.breadcrumb a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #005177;
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
    font-weight: 600;
}

.single-thumbnail {
    width: 100%;
    text-align: center;
    margin: 5px 0;        /* top & bottom minimal gap */
    padding: 0 10px;      /* mobile & small screen left/right padding */
    box-sizing: border-box;
}

.single-thumbnail img {
    display: inline-block;
    width: 100%;
    max-width: 800px;      /* desktop max width */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/*Title CSS*/

.stylish-title {
    font-size: 20px;
    text-align: center;
    position: relative;
    color: #333;
    font-weight: 600;
    margin: 4;          /* Top aur bottom margin hata diya */
    padding: 2px 0;     /* Text aur border ke beech minimal gap */
}

.stylish-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    border-radius: 2px;
}

.stylish-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    border-radius: 2px;
}

/* Archive Hero Wrapper */
.archive-hero-wrapper {
  width: 100%;
  height: 40px;                 
  display: flex;
  align-items: center;          
  justify-content: center;      
  position: relative;
  background: url('https://hostaro.in/wp-content/uploads/2025/09/IMG_20250912_230757-scaled.jpg') center/cover no-repeat;
}

.archive-hero-wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* dark overlay */
  z-index: 0;
}

/* Title */
.archive-hero {
  position: relative;
  margin: 0;
  z-index: 1;                    
  text-align: center;
  line-height: 1;
  color: #fff;        /* white text */
  font-size: 20px;    /* smaller font size */
  font-weight: bold;
}

/* Caption Box */
.archive-description {
  margin: 0;
  padding: 2px 10px;          /* vertical padding 2px, horizontal 10px */
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  color: #000;
  font-size: 14px;
  line-height: 1.2;           /* vertical spacing reduce */
}

/*YouTube video CSS*/

.video-wrapper iframe {
    width: 100%;
    height: 300px;
    display: block;
    margin: 0;
    border-radius: 8px;
}

.compact-description {
    margin: 5px 0;               /* minimal top-bottom gap */
    padding: 8px 12px;
    line-height: 1.6;
    font-size: 1rem;
    color: #444;
    background-color: #f7f7f7;
    border-left: 4px solid #ff6600;  /* stylish accent */
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/*Home page CSS*/

/* Grid Layout */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.post-item {
    border: 1px solid #ccc;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border-radius: 6px;
    margin: 0 5px;       /* left-right gap for the post item */
    padding: 0;
}

.post-description {
    margin: 0;
    padding: 5px 10px;   /* left-right gap inside description */
    background-color: #f7f7f7;
    border-left: 4px solid #e50914;
    border-radius: 4px;
    line-height: 1.5;
    color: #444;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
}

/* Post Thumbnail */
.post-thumb {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px 6px 0 0;
    margin: 0;
}

/* Post Title */
.post-title {
    text-align: center;
    font-weight: bold;
    margin: 3px 0;
    padding-bottom: 3px;          /* border ke liye space */
    border-bottom: 2px solid #e50914; /* title ke niche border */
}

/* Info Row (Year left, Share right) */
.post-info-row {
    display: flex;
    justify-content: space-between;
    width: 90%;
    padding: 0 10px;
    margin: 0;
}

/* Share Button */
.post-share-btn {
    background: #e50914;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-share-btn:hover {
    background: #b20710;
}

/* Pagination */
.pagination-wrapper {
    text-align: center;
    margin: 15px 0;
}

.pagination-wrapper a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    background: #e50914;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

.pagination-wrapper a:hover {
    background: #b20710;
}

/* Actor List Grid */

.actor-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  margin: 0 5px;  /* left-right thoda gap, top/bottom 0 */
  padding: 0;
  scrollbar-width: thin;
}

.actor-inline {
  display: flex;
  align-items: center;
  gap: 6px;
}

.actor-icon {
  font-size: 26px; /* icon bada kar diya */
  color: #0073e6;
}

.actor-name {
  font-weight: 700; /* aur bold kar diya */
  font-size: 16px; /* thoda bada text */
  color: #222;
  text-decoration: none;
}

.actor-name:hover {
  color: #0073e6;
}

.actor-separator {
  color: #555;
  font-weight: 700;
}

/*Related post CSS*/

.related-posts {
    margin-top: 40px;
    text-align: center;
}

.related-posts h3 {
    background: #000;
    color: #fff;
    padding: 10px;
    margin-bottom: 5px;
    font-size: 22px;
}

/* Swiper wrapper center align */
.relatedSwiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

.related-item {
    border: 4px solid #ff6600;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    flex: 0 0 auto;
}

/* Poster image responsive height */
.related-thumb {
    width: 100%;
    height: 160px;     /* Mobile default */
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Tablet */
@media (min-width: 768px) {
    .related-thumb {
        height: 200px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .related-thumb {
        height: 240px;
    }
}