/*
Theme Name: Vijay Custom Theme Secure
Author: Vijay Yadav
Version: 2.1
*/
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;}
    
/* HEADER */
.custom-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 15px;
    background:#000;
    border-bottom:2px solid #ff6666;
    position:relative;
    z-index:1000;
}

.icon-btn i {
    color:#fff;
    font-size: 20px;
}

.site-title{
    color:#fff;
}

/* Logo image fixed size */
.header-center img {
    width: 150px;
    height: 50px;
    object-fit: contain;
    display: block;
}

/* SIDEBAR MENU */
.side-menu{
    position:fixed;
    top:0;
    left:-100%;
    width:85%;
    height:100%;
    background:#fff;
    transition:.3s;
    z-index:9999;
}

#menuToggle:checked ~ .side-menu{
    left:0;
}

.close-btn{
    display:block;
    text-align:right;
    padding:15px;
    font-size:28px;
    cursor:pointer;
}

.category-menu{
    list-style:none;
    margin:0;
    padding:0;
}

.category-menu li a{
    display:flex;
    justify-content:space-between;
    padding:18px 15px;
    border-bottom:1px solid #e5e5e5;
    text-decoration:none;
    color:#111;
}

/* SEARCH OVERLAY */
.search-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.4);
    display:none;
    z-index:10000;
}

#searchToggle:checked ~ .search-overlay{
    display:block;
}

.search-inner{
    background:#8dddf6;
    margin:50px auto;
    max-width:500px;
    padding:25px;
    border-radius:20px;
    position:relative;
}

.search-close{
    position:absolute;
    right:15px;
    top:10px;
    font-size:28px;
    cursor:pointer;
}

.search-inner input{
    width:100%;
    padding:14px 18px;
    border-radius:30px;
    border:none;
}

.search-inner button{
    width:100%;
    margin-top:15px;
    padding:14px;
    border-radius:30px;
    background:#4b47d6;
    color:#fff;
    border:none;
    font-size:18px;
}

.search-categories{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.search-categories a{
    padding:10px 18px;
    border:2px solid #111;
    border-radius:30px;
    text-decoration:none;
    color:#111;
}

/* ======================================================
   GLOBAL RESET
====================================================== */
*{
    box-sizing:border-box;
}

/* CATEGORY HEADER */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000000;
    padding: 6px 6px;
    border-radius: 6px;
    margin: 0px 0 0px;
}

/* CATEGORY NAME BUTTON */
.category-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e50914;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none !important;
}

/* CATEGORY ICON */
.cat-icon {
    font-size: 18px;
}

/* ALL VIEW BUTTON */
.allview-button {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff !important;
    border: 1px solid #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none !important;
}

/* HOVER */
.category-button:hover {
    background: #b20710;
}

.allview-button:hover {
    background: #ffffff;
    color: #000000 !important;
}

/* ===============================
   HERO SECTION
================================ */
.hero-section{
    width:100%;
    height:20vh;                     /* Full-screen hero */
    margin:0;                         /* No top/bottom gap */
    padding:0;
    background: url('<?php echo get_template_directory_uri(); ?>/images/hero-bg.jpg') no-repeat center center/cover;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
}

.hero-overlay{
    position:absolute;
    top:0; left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.55);   /* stylish dark overlay */
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-content{
    text-align:center;
    color:#fff;
    max-width:850px;
    padding:0 15px;                 /* minimal padding */
}

/* HERO TITLE */
.hero-title{
    font-size:3rem;
    font-weight:800;
    margin:0 0 12px 0;               /* gap between title & subtitle */
    line-height:1.2;
    letter-spacing:1px;
    text-transform:uppercase;
}

/* HERO SUBTITLE */
.hero-subtitle{
    font-size:1.2rem;
    margin:0 0 20px 0;               /* minimal gap to button */
    line-height:1.4;
    font-weight:400;
    color:#ddd;
}

/* CTA BUTTON */
.hero-btn{
    display:inline-block;
    padding:14px 32px;
    font-size:14px;
    font-weight:700;
    color:#fff;
    background:#ff6666;
    border-radius:6px;
    text-decoration:none;
    transition:0.3s ease;
    text-transform:uppercase;
}

.hero-btn:hover{
    background:#fff;
    color:#ff6666;
}

/* RESPONSIVE */
@media(max-width:991px){
    .hero-title{font-size:2.2rem;}
    .hero-subtitle{font-size:1rem;}
    .hero-btn{padding:12px 28px;font-size:13px;}
}

@media(max-width:600px){
    .hero-title{font-size:1.8rem;}
    .hero-subtitle{font-size:0.95rem;}
    .hero-btn{padding:10px 24px;font-size:12px;}
}

/* ======================================================
   POST GRID
====================================================== */
.post-grid{
    display:grid;
    gap:4px;
    margin:0 !important;
    padding:4px 8px !important;   /* 8px left-right */
}

/* Mobile → 2 columns */
@media (max-width:767px){
    .post-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

/* Desktop → 4 columns */
@media (min-width:768px){
    .post-grid{
        grid-template-columns:repeat(4,1fr);
    }
}

/* ======================================================
   POST CARD
====================================================== */
.post-card{
    background:#000;
    border:1px solid #ff2b2b;
    border-radius:4px;
    overflow:hidden;
    text-align:center;
    padding:4px;
}

/* Thumbnail – FULL SHOW */
.post-card img{
    width:100%;
    height:auto;
    display:block;
    object-fit:contain;
    background:#000;
    margin-bottom:4px;
    border:4px solid #E2F516;   /* ✅ image border only */
    border-radius:4px;
}

/* Title */
/* TITLE TOP BORDER LINE */
.post-card h3{
    font-size:13.2px;
    font-weight:700;
    color:#eaeaea;
    margin:0;
    padding:6px 2px 2px;
    line-height:1.35;

    border-top:4px solid #ff2b2b;   /* ✅ title ke upar line */
}

/* Link reset */
.post-card a{
    color:inherit;
    text-decoration:none;
    display:block;
}

/* ======================================================
   REMOVE EXTRA SPACE
====================================================== */
.post-grid:last-child{
    margin-bottom:0 !important;
    padding-bottom:4px !important;
}

footer{
    margin:0 !important;
    padding:0 !important;
}

/* ======================================================
   ARCHIVE / TAG / CATEGORY / SEARCH TITLE
====================================================== */
.archive-header{
    background:#000;
    border-bottom:2px solid #ff2b2b;
    padding:10px 12px;
    margin:0;
    text-align:center;
}

.archive-title{
    font-size:18px;
    font-weight:700;
    color:#fff;
    margin:0;
}

.archive-desc{
    font-size:12px;
    color:#aaa;
    margin-top:4px;
}

/* ======================================================
   PAGINATION
====================================================== */
.pagination-wrap{
    padding:8px 8px 8px;
    text-align:center;
}

.pagination-wrap .page-numbers{
    display:inline-block;
    margin:4px 3px;
    padding:6px 14px;
    background:#000;
    color:#fff;
    border:1px solid #ff2b2b;
    border-radius:4px;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
}

.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current{
    background:#ff2b2b;
    color:#000;
}

/* ===============================
   CUSTOM FOOTER (FINAL)
================================ */
.custom-footer{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background:#000;
    padding:28px 15px;            /* TOP & BOTTOM GAP */
    margin-top:30px;              /* content se gap */
    border-top:2px solid #ff6666; /* header jaisa highlight */
    position:relative;
    z-index:1000;
    text-align:center;
}

/* COPYRIGHT */
.footer-copyright{
    color:#fff;
    font-size:14px;
    font-weight:700;              /* BOLD */
    margin-bottom:10px;
}

/* FOOTER LINKS */
.footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    font-size:12px;
    justify-content:center;
}

.footer-links a{
    color:#aaa;
    text-decoration:none;
    padding:2px 6px;
}

.footer-links a:hover{
    color:#fff;
}

.footer-links span{
    color:#444;
}

/* ===============================
   SINGLE POST DESIGN
================================ */

.single-title-wrap{
    background:#000;
    border-top:2px solid #ff2d2d;
    border-bottom:2px solid #ff2d2d;

    box-sizing:border-box;
    overflow:hidden;

    /* NO LEFT RIGHT GAP */
    padding:4px 0;
    margin:0;

    display:flex;
    justify-content:center;
}

.single-title{
    color:#fff;
    font-size:22px;
    font-weight:700;
    line-height:1.25;

    margin:0;
    padding:0 6px;   /* sirf text ke liye halka space */

    text-align:center;
    width:100%;
}

.post-meta-buttons {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    margin: 4px 0;
}

.post-meta-buttons .meta-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s;
}

.post-meta-buttons .meta-btn i {
    font-size: 14px;
}

.post-meta-buttons .meta-btn:hover {
    background: #e50914;
    border-color: #e50914;
}

/* EXTRA POST IMAGE WRAPPER */
.custom-post-image {
    margin: 4px 0;
    padding: 8px;
    border: 1px solid #dcdcdc;          /* All sides border */
    border-radius: 6px;
    background: #ffffff;
}

/* IMAGE STYLE */
.custom-post-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* HOVER EFFECT (SUBTLE & PROFESSIONAL) */
.custom-post-image:hover {
    border-color: #e50914;
    transition: 0.3s ease;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 4px 0;
    padding: 10px;
    border: 1px solid #dcdcdc;   /* All side border */
    border-radius: 6px;
    background: #ffffff;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    color: #000000;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background: #f9f9f9;
    transition: 0.3s;
    white-space: nowrap;
}

.share-btn i {
    font-size: 14px;
}

/* Hover */
.share-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Brand hover colors (subtle) */
.share-btn.fb:hover { background:#1877f2; border-color:#1877f2; }
.share-btn.tw:hover { background:#000000; border-color:#000000; }
.share-btn.wa:hover { background:#25d366; border-color:#25d366; }
.share-btn.tg:hover { background:#0088cc; border-color:#0088cc; }
.share-btn.li:hover { background:#0a66c2; border-color:#0a66c2; }

/* MAIN CONTENT WRAPPER */
.episode-content-box {
    margin: 4px 0;        /* top-bottom 4px gap */
    padding: 0 8px;       /* left-right padding */
}

/* HEADLINE STYLE (H2–H6 ONLY) */
.episode-title h2,
.episode-title h3,
.episode-title h4,
.episode-title h5,
.episode-title h6 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;   /* HEADLINE CENTER */
    line-height: 1.3;
    margin: 0 0 4px 0;    /* headline ke niche 4px gap */
    padding: 0 8px;
    color: #222222;
}

/* PARAGRAPH MAIN BOX */
.episode-paragraph-style {
    font-size: 17px;
    line-height: 1.8;
    color: #333333;
    margin: 0 0 4px 0;    /* top-bottom 4px */
    padding: 0 8px;       /* left-right padding */
    text-align: left;     /* PARAGRAPH LEFT */
}

/* PARAGRAPH GAP */
.episode-paragraph-style p {
    margin: 0 0 4px 0;    /* paragraph ke beech bhi 4px */
}

/* LAST PARAGRAPH GAP REMOVE */
.episode-paragraph-style p:last-child {
    margin-bottom: 0;
}

/* RED HIGHLIGHT WORDS */
.episode-paragraph-style strong,
.episode-paragraph-style b {
    color: #e50914;
    font-weight: 600;
}

/* LINKS STYLE */
.episode-paragraph-style a {
    color: #e50914;
    text-decoration: none;
    font-weight: 500;
}

.episode-paragraph-style a:hover {
    text-decoration: underline;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .episode-title h2,
    .episode-title h3,
    .episode-title h4,
    .episode-title h5,
    .episode-title h6 {
        font-size: 26px;
    }

    .episode-paragraph-style {
        font-size: 16px;
    }
}