/*
Theme Name: Toughtalk
Description: Main stylesheet for the Toughtalk theme.
Version: 1.0.0
Author: Deep Chanda
*/

@import url("basic.css");
@import url("theme_setting.css");
@import url("button.css");
@import url("404-page.css");

/* =============================================
   MAIN CONTENT
   ============================================= */
.site-main {
    padding: calc(var(--spacing-unit) * 2) 0;
}

/* =============================================
   SIDEBAR
   ============================================= */
.widget {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}
.widget-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-unit);
}

/* =============================================
   CARD BLOCK (used in archives, etc.)
   ============================================= */
.card-block {
    height: 440px;
    background: var(--color-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}
.card-block .box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.card-block .box .img-block {
    width: 100%;
    height: 70%;
    transition: all 0.6s ease-in-out;
}
.card-block .box .img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-block .box:hover .img-block {
    width: 100%;
    height: 100%;
}
.card-block .box .text-block {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 100px;
    transition: all 0.5s ease-in-out;
}
.card-block .box .text-block .text-sec {
    position: relative;
    z-index: 1;
    padding: 10px;
}
.card-block .box .text-block .text-sec h2 {
    font-size: 25px;
    line-height: 1;
    color: black;
    font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
    transition: all 0.5s ease-in-out;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow-wrap: break-word;
    display: -webkit-box !important;
    overflow: hidden;
}
.card-block .box .text-block .text-sec h2 a,
.video-duration-meta {
    color: var(--color-bgcolor);
}
.card-block .meta-box {
    transition: all 0.5s ease-in-out;
}
.card-block .box .text-block::after {
    z-index: 0;
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--btn-colour);
    transition: all 0.5s ease-in-out;
}
.card-block .box:hover .text-block::after {
    bottom: -100%;
}
.card-block .box:hover .text-block {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 9, 1, 1) 100%);
}
.card-block .box:hover .text-block h2 a,
.card-block .box:hover .meta-box,
.card-block .box:hover .video-duration-meta {
    color: var(--color-text);
}
.card-block .box .play {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 80%;
    bottom: 23.5%;
    transition: all 0.5s ease-in-out;
}
.card-block .box .play img {
    width: 100%;
    height: 100%;
}
.card-block .box:hover .play {
    width: 90px;
    height: 90px;
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform: translateY(+50%) translateX(-50%);
}
.ad-wrapper {
    /* background: var(--color-adbg); */
background: #292929!important;
    background: transparent;
overflow: hidden;
}
.ad-wrapper a{
    display: inline-block;
}
.ad-wrapper p {
    color: #9D9D9D;
}
.archive-title span {
    font-size: inherit;
}
.archive-title{
display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
@media screen and (max-width:640px){
.archive-title{
flex-flow: column;
}

}

/* Swiper navigation */
.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 50%;
    color: var(--color-text);
    z-index: 40;
    transition: all 0.5s ease-out;
}
.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: 0;
    cursor: auto;
    pointer-events: none;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(255, 0, 0, 1);
}
.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
    font-weight: bold;
}
@media screen and (max-width: 920px) {
    .singlePost h1,
    .archive-header h1 {
        line-height: inherit;
    }
    .singlePost .breadcrumb {
        white-space: nowrap;
        overflow-x: scroll;
        overflow-y: hidden;
        flex-wrap: nowrap;
    }
    .singlePost .breadcrumb .breadcrumb-item + .breadcrumb-item {
        padding-right: 0.8rem;
    }
}

/* =============================================
   ARCHIVE PAGE STYLES
   ============================================= */
.archive-title .search-query {
    color: var(--secondary-color);
    font-style: italic;
}
.archive-taxonomy-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    background: #ccc;
    color: #000;
}
.term-count {
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
.parent-category {
    margin-left: auto;
}
.parent-category-link {
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 0.9rem;
}
.parent-category-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
.author-info-archive {
    display: flex;
    gap: var(--spacing-unit);
    margin-top: calc(var(--spacing-unit) * 2);
    padding: var(--spacing-unit);
    background: var(--light-gray);
    border-radius: 8px;
    align-items: center;
}
.author-info-archive img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
}
.author-details {
    flex: 1;
}
.author-name {
    margin: 0 0 5px 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}
.author-bio {
    margin: 0 0 10px 0;
    color: var(--medium-gray);
    line-height: 1.5;
}
.author-stats {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--medium-gray);
}
.author-posts-count {
    font-weight: 500;
}
.author-website {
    color: var(--secondary-color);
    text-decoration: none;
}
.author-website:hover {
    text-decoration: underline;
}
.archive-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(var(--spacing-unit) * 2);
    padding: var(--spacing-unit);
    background: var(--light-gray);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: var(--spacing-unit);
}
.archive-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-unit);
}
.posts-count {
    font-weight: 500;
    color: var(--primary-color);
}
.search-modify-btn {
    padding: 6px 12px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}
.search-modify-btn:hover {
    background: color-mix(in srgb, var(--secondary-color) 90%, black);
}
.archive-filters {
    display: flex;
    align-items: center;
    gap: var(--spacing-unit);
    flex-wrap: wrap;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
    white-space: nowrap;
}
.filter-select {
    padding: 6px 10px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    background: white;
    font-size: 0.9rem;
    color: var(--primary-color);
    cursor: pointer;
    min-width: 120px;
}
.filter-select:focus {
    outline: none;
    border-color: var(--secondary-color);
}
.view-toggle {
    display: flex;
    gap: 5px;
    margin-left: auto;
}
.view-btn {
    padding: 6px;
    background: white;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.view-btn:hover {
    border-color: var(--secondary-color);
    background: var(--light-gray);
}
.view-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}
.view-btn svg {
    width: 18px;
    height: 18px;
}

/* =============================================
   POSTS GRID & LIST VIEWS (Flexbox version)
   ============================================= */
.posts-grid {
   /* display: flex;
    flex-wrap: wrap;*/
    display: grid;
    gap: calc(var(--spacing-unit) * 2);
    transition: all 0.3s ease;

   }
.posts-grid.grid-view .archive-post {
    /*min-width: 250px;
    width: 30.8%;*/
 width: 100%;
    min-width: 0;
}

/* Desktop: 3 columns */
@media screen and (min-width: 1024px) {
    .posts-grid.grid-view {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet: 2 columns */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .posts-grid.grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 column */
@media screen and (max-width: 767px) {
    .posts-grid.grid-view {
        grid-template-columns: 1fr;
    }
}



.posts-grid.list-view {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    justify-content: start;
    align-items: flex-start;
    flex-flow: column;
}
.posts-grid.list-view .archive-post {
    width: 100%;
}
.posts-grid.list-view .archive-post .card-block {
    height: 250px;
}
.posts-grid.list-view .archive-post .card-block .box:hover .text-block {
    background: transparent;
}
.posts-grid.list-view .archive-post .card-block .box {
    display: flex;
}
.posts-grid.list-view .archive-post .card-block .img-block {
    flex: 0 0 300px;
    max-width: 300px;
    height: 100%;
}
.posts-grid.list-view .archive-post .card-block .play {
    display: none;
}
.posts-grid.list-view .archive-post .card-block .text-block {
    flex: 1;
    position: relative;
    min-width: 200px;
}
.posts-grid.list-view .archive-post .card-block .box:hover .text-block h2 a,
.posts-grid.list-view .archive-post .card-block .box:hover .meta-box,
.posts-grid.list-view .archive-post .card-block .box:hover .video-duration-meta {
    color: black;
}
@media (max-width: 992px) {
    .posts-grid.grid-view .archive-post {
        flex: 1 1 calc(50% - calc(var(--spacing-unit) * 2));
    }
}
@media (max-width: 768px) {
    .posts-grid.grid-view .archive-post {
        flex: 1 1 100%;
    }
    .posts-grid.list-view .archive-post {
        flex-direction: column;
        gap: 15px;
    }
    .posts-grid.list-view .archive-post .post-thumbnail-wrapper {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
}
/*.ad-after_two_rows {
    width: 100%;
    flex: 0 0 100%;
}*/
.posts-grid.grid-view .ad-after_two_rows {
    grid-column: 1 / -1; /* Spans all columns */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


/* =============================================
   ARCHIVE POST ITEM (generic)
   ============================================= */
.archive-post.list-view {
    flex-direction: row;
    min-height: 200px;
}
.post-thumbnail-wrapper {
    position: relative;
}
.archive-post.list-view .post-thumbnail-wrapper {
    flex: 0 0 300px;
    max-width: 300px;
}
.post-thumbnail {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
}
.archive-post.list-view .post-thumbnail {
    height: 100%;
}
.post-thumbnail img {
    object-fit: cover;
    transition: transform 0.5s ease;
}
.post-thumbnail:hover img {
    transform: scale(1.05);
}
.no-thumbnail {
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumbnail-placeholder {
    color: var(--medium-gray);
    text-align: center;
}
.thumbnail-placeholder svg {
    opacity: 0.5;
}
.category-thumbnail-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    z-index: 2;
    transition: background-color 0.3s ease;
}
.category-thumbnail-badge:hover {
    background: var(--secondary-color);
}
.post-category-top {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}
.category-link {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.category-link:hover {
    background: var(--secondary-color);
}
.post-content-wrapper {
    padding: var(--spacing-unit);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.archive-post.list-view .post-content-wrapper {
    padding: var(--spacing-unit);
}
.entry-date {
    display: flex;
    align-items: center;
    gap: 4px;
}
.entry-author a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.entry-author a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
.entry-excerpt p {
    margin: unset;
}
.comments-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--medium-gray);
    font-size: 0.85rem;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .entry-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .footer-right {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }
    .read-more-button {
        width: auto;
        padding: 8px 20px;
    }
}
.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.category-tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--light-gray);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}
.category-tag:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}
.more-categories {
    font-size: 0.75rem;
    color: var(--medium-gray);
}

/* =============================================
   RELATED CATEGORIES & TAGS
   ============================================= */
.related-categories,
.popular-tags {
    margin-top: calc(var(--spacing-unit) * 3);
    padding: var(--spacing-unit);
    background: var(--light-gray);
    border-radius: 8px;
}
.related-categories h3,
.popular-tags h3 {
    margin: 0 0 var(--spacing-unit) 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}
.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.category-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.category-item:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}
.category-count {
    font-size: 0.8rem;
    color: var(--medium-gray);
}
.category-item:hover .category-count {
    color: rgba(255, 255, 255, 0.8);
}
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-item {
    display: inline-block;
    padding: 4px 10px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.tag-item:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}
.tag-count {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-left: 3px;
}

/* =============================================
   PAGINATION STYLES
   ============================================= */
.pagination-standard .pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 40px 0;
    width: 100%;
}
.pagination-standard .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.pagination-standard .page-numbers:hover {
    background: var(--color-primary);
    border-color:var(--color-secondary);
    color:  var(--color-secondary);
}
.pagination-standard .page-numbers.current {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-primary);
}
.pagination-standard .prev,
.pagination-standard .next {
    padding: 0 16px;
}
.pagination-standard .prev:hover,
.pagination-standard .next:hover {
    background: var(--color-primary);
    border-color:var(--color-secondary);
    color:  var(--color-secondary);
}
.pagination-prev-next .pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}
.pagination-prev-next .prev,
.pagination-prev-next .next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.pagination-prev-next .prev:hover,
.pagination-prev-next .next:hover {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}
.pagination-prev-next .prev.disabled,
.pagination-prev-next .next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: #f8f9fa;
    color: #999;
    border-color: #dee2e6;
}
.pagination-simple .pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 40px 0;
}
.pagination-simple .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
}
.pagination-simple .page-numbers.current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}
.pagination-simple .page-numbers.dots {
    border: none;
    background: transparent;
    color: #999;
}
.pagination-numeric .pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 40px 0;
}
.pagination-numeric .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
}
.pagination-numeric .page-numbers.current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}
.pagination-load-more {
    text-align: center;
    margin: 40px 0;
}
.load-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.load-more-button:hover {
    background: #005a87;
    transform: translateY(-2px);
}
.load-more-button .spinner {
    display: none;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.load-more-button.loading .spinner {
    display: inline-block;
}
.load-more-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.pagination-infinite {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
}
.infinite-scroll-trigger {
    height: 1px;
    visibility: hidden;
}
.infinite-scroll-loader {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
}
.pagination-infinite.loading .infinite-scroll-loader {
    display: flex;
}
.infinite-scroll-loader .spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #e9ecef;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.no-more-posts {
    display: block;
    text-align: center;
    padding: 20px;
    color: #999;
    font-style: italic;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* =============================================
   NO RESULTS STYLES
   ============================================= */
.no-results-content {
    text-align: center;
    padding: calc(var(--spacing-unit) * 3);
    max-width: 600px;
    margin: 0 auto;
}
.no-results-content p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-unit);
    color: var(--medium-gray);
}
.search-again {
    max-width: 400px;
    margin: var(--spacing-unit) auto;
}
.suggestions {
    margin-top: calc(var(--spacing-unit) * 2);
    text-align: left;
}
.suggestions h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.suggestions ul {
    list-style: none;
    padding: 0;
}
.suggestions li {
    padding: 5px 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 20px;
}
.suggestions li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* =============================================
   CONTENT WITHOUT TITLE (used on some pages)
   ============================================= */
.entry-content-no-title {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-color);
}
.entry-content-no-title p {
    margin-bottom: 1.5em;
}
.entry-content-no-title h2 {
    font-size: 2rem;
    margin: 2em 0 1em;
    color: var(--primary-color);
}
.entry-content-no-title h3 {
    font-size: 1.5rem;
    margin: 1.5em 0 0.75em;
    color: var(--primary-color);
}
.entry-content-no-title h4 {
    font-size: 1.25rem;
    margin: 1.25em 0 0.5em;
    color: var(--primary-color);
}
.entry-content-no-title img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.entry-content-no-title figure {
    margin: 2em 0;
    text-align: center;
}
.entry-content-no-title figcaption {
    font-style: italic;
    color: var(--medium-gray);
    margin-top: 10px;
    font-size: 0.9rem;
}
.entry-content-no-title blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: var(--spacing-unit);
    margin: 2em 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary-color);
    background: var(--light-gray);
    padding: var(--spacing-unit);
    border-radius: 8px;
}
.entry-content-no-title pre {
    background: #1a1a1a;
    color: #ffffff;
    padding: var(--spacing-unit);
    border-radius: 8px;
    overflow-x: auto;
    margin: 2em 0;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}
.entry-content-no-title code {
    background: var(--light-gray);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}
.entry-content-no-title table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.entry-content-no-title th,
.entry-content-no-title td {
    padding: 12px;
    border: 1px solid var(--medium-gray);
    text-align: left;
}
.entry-content-no-title th {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--primary-color);
}
.entry-content-no-title tr:nth-child(even) {
    background: var(--light-gray);
}
.page-links-no-title {
    margin: 2em 0;
    padding: var(--spacing-unit);
    background: var(--light-gray);
    border-radius: 8px;
}
.page-links-no-title .page-number {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    background: white;
    border-radius: 4px;
    text-decoration: none;
    color: var(--primary-color);
}
.page-links-no-title .page-number:hover {
    background: var(--secondary-color);
    color: white;
}
.comments-link a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 0.9rem;
}
.comments-link a:hover {
    color: var(--secondary-color);
}
.edit-post-link-no-title {
    margin: calc(var(--spacing-unit) * 2) 0;
    text-align: center;
}
.edit-post-link-no-title .edit-link a {
    display: inline-block;
    padding: 8px 20px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}
.edit-post-link-no-title .edit-link a:hover {
    background: color-mix(in srgb, var(--secondary-color) 90%, black);
}
.post-navigation-no-title {
    margin: calc(var(--spacing-unit) * 3) 0;
}
.post-navigation-no-title .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-unit);
}
.related-content-no-title {
    margin: calc(var(--spacing-unit) * 4) 0;
    padding: calc(var(--spacing-unit) * 3) 0;
    background: var(--light-gray);
    border-radius: 12px;
}
.related-heading {
    font-size: 2rem;
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--primary-color);
}
.related-meta {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 10px;
}
.related-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--medium-gray);
    margin-bottom: 15px;
}
.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}
.read-more-link:hover {
    gap: 10px;
}
.read-more-link .arrow {
    transition: transform 0.3s ease;
}
.read-more-link:hover .arrow {
    transform: translateX(5px);
}
.comments-section-no-title {
    margin-top: calc(var(--spacing-unit) * 3);
    padding-top: calc(var(--spacing-unit) * 2);
    border-top: 2px solid var(--light-gray);
}
@media (max-width: 768px) {
    .post-navigation-no-title .nav-links {
        grid-template-columns: 1fr;
    }
    .social-sharing-no-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .share-buttons {
        width: 100%;
        justify-content: center;
    }
    .entry-content-no-title h2 {
        font-size: 1.75rem;
    }
    .entry-content-no-title h3 {
        font-size: 1.5rem;
    }
}
.full-content * {
    color: var(--color-text);
    font-weight: normal;
    line-height: 1.5;
}
.series,
.tags,
.share,
.series a,
.statistics,
.post-meta,
.post-meta a {
    color: var(--color-text);
}
.statistics * {
    font-weight: 400;
}
.breadcrumb {
    --bs-breadcrumb-divider-color: var(--color-text);
    --bs-breadcrumb-item-active-color: var(--color-text);
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.site-header {
    padding: var(--spacing-unit) 0;
    border-bottom: 1px solid var(--light-gray);
    background: var(--color-primary);
}
.header-footer {
    background: var(--color-bgcolor);
}
.site-branding {
    display: flex;
    align-items: center;
    gap: var(--spacing-unit);
    margin-bottom: var(--spacing-unit);
}
.site-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}
.site-title a {
    color: var(--primary-color);
    text-decoration: none;
}
.site-description {
    color: var(--medium-gray);
    margin: 0;
    font-size: 1rem;
}
.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.primary-menu-container ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-unit);
}
.primary-menu-container a {
    color: var(--color-secondary);
    text-decoration: none;
    padding: 5px 0;
    font-weight: 500;
}
.primary-menu-container a:hover {
    color: var(--color-secondary);
}

/* Sidebar Header Layouts (A & B) */
body.header-layout-sidebar_a .site-content,
body.header-layout-sidebar_b .site-content {
    /* padding-left: 360px; */
    box-sizing: border-box;
}
body.header-layout-sidebar_a .site-header,
body.header-layout-sidebar_b .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 23.674%;
    max-width: 360px;
    height: 100vh;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding-bottom: unset;
    border-right: 2px solid var(--color-secondary);
}

@media screen and (min-width: 1024px) {
  /* Firefox & modern browsers (standard properties) */
  body.header-layout-sidebar_a .site-header,
  body.header-layout-sidebar_b .site-header {
    scrollbar-width: none;
    scrollbar-color:var(--color-secondary) var(--color-primary);
  }

  /* WebKit/Blink (Chrome, Edge, Safari) */
  @supports selector(::-webkit-scrollbar) {
    body.header-layout-sidebar_a .site-header::-webkit-scrollbar,
    body.header-layout-sidebar_b .site-header::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    body.header-layout-sidebar_a .site-header::-webkit-scrollbar-track,
    body.header-layout-sidebar_b .site-header::-webkit-scrollbar-track {
      background: var(--color-secondary);
      border-radius: 8px;
    }
    body.header-layout-sidebar_a .site-header::-webkit-scrollbar-thumb,
    body.header-layout-sidebar_b .site-header::-webkit-scrollbar-thumb {
      background: var(--color-secondary);
      border-radius: 8px;
    }
    body.header-layout-sidebar_a .site-header::-webkit-scrollbar-thumb:hover,
    body.header-layout-sidebar_b .site-header::-webkit-scrollbar-thumb:hover {
      background: var(--color-secondary);
    }
  }
}



body.header-layout-sidebar_a .site-branding,
body.header-layout-sidebar_b .site-branding {
    margin-bottom: unset;
    text-align: center;
    gap: unset;
}
body.header-layout-sidebar_a .site-branding img.custom-logo,
body.header-layout-sidebar_b .site-branding img.custom-logo {
    max-width:100%;height:auto;

}
body.header-layout-sidebar_a .offcanvas-body .navbar-nav,
body.header-layout-sidebar_b .offcanvas-body .navbar-nav {
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
body.header-layout-sidebar_b .navbar,
body.header-layout-sidebar_a .navbar {
    height: 100%;
}
body.header-layout-sidebar_b .offcanvas-body,
body.header-layout-sidebar_a .offcanvas-body {
    width: 100%;
    display: block !important;
}
body.header-layout-sidebar_a .offcanvas-body .navbar-nav a,
body.header-layout-sidebar_b .offcanvas-body .navbar-nav a {
    display: block;
    padding: 0.6rem 0rem 0.6rem 0.6rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    font-size: clamp(1rem, 0.9125rem + 0.4375vw, 1.4375rem);
    border-left: 4px solid transparent;
    color: var(--color-secondary);
}
@supports (text-spacing-trim: trim-start) {
    body.header-layout-sidebar_a .offcanvas-body .navbar-nav a,
    body.header-layout-sidebar_b .offcanvas-body .navbar-nav a {
        text-spacing-trim: trim-start;
    }
}
body.header-layout-sidebar_a .offcanvas-body .navbar-nav a:hover,
body.header-layout-sidebar_b .offcanvas-body .navbar-nav a:hover {
    border-left: 4px solid var(--color-secondary);
}
body.header-layout-sidebar_a .offcanvas-body .navbar-nav .current-menu-item > a,
body.header-layout-sidebar_b .offcanvas-body .navbar-nav .current_page_item > a,
body.header-layout-sidebar_a .offcanvas-body .navbar-nav .current-menu-parent > a,
body.header-layout-sidebar_b .offcanvas-body .navbar-nav .current-menu-parent > a {
    border-left: 4px solid var(--color-secondary);
}
body.header-layout-sidebar_a .offcanvas,
body.header-layout-sidebar_b .offcanvas {
    max-width: 90%;
}
body.header-layout-sidebar_a .site-footer {
    margin-top: auto;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}
body.header-layout-sidebar_b .site-footer {
    display: none;
}
@media (max-width: 991px) {
    /* body.header-layout-sidebar_a .site-content,
    body.header-layout-sidebar_b .site-content {
        padding-left: unset;
        padding-top: 154px;
    } */
    body.header-layout-sidebar_a .site-header,
    body.header-layout-sidebar_b .site-header {
        all: unset;
        background: var(--color-primary);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        width: 100%;
    }
    .menu-hamburger {
        min-width: 30px;
        min-height: 30px;
        background: var(--color-secondary);
        padding: 5px;
        border-radius: 5px;
        margin: auto 0;
    }
    .navbar-toggler-icon {
        width: 1.9em;
        height: 1.9em;
        color: var(--color-primary);
    }
    body.header-layout-sidebar_a .main-navigation,
    body.header-layout-sidebar_b .main-navigation {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
        z-index: 999;
    }
    body.header-layout-sidebar_a .main-navigation.active,
    body.header-layout-sidebar_b .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    body.header-layout-sidebar_a .menu-toggle,
    body.header-layout-sidebar_b .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
    }
    body.header-layout-sidebar_a .site-main,
    body.header-layout-sidebar_b .site-main {
        margin-left: 0;
    }
    body.header-layout-sidebar_a .site-footer {
        display: block;
        margin-top: 1rem;
        border-top: 1px solid var(--color-secondary);
        padding-top: 1rem;
    }
    body.header-layout-sidebar_a .site-header .site-footer {
        display: none;
    }
    body.header-layout-sidebar_a .site-branding,
    body.header-layout-sidebar_b .site-branding {
        width: 40%;
    }
}
@media (min-width: 992px) {
    body.header-layout-sidebar_a .site-footer,
    body.header-layout-sidebar_b .site-footer {
        display: none;
    }
}
@media (max-width: 991px) {
    body.header-layout-sidebar_a .header-footer,
    body.header-layout-sidebar_b .header-footer {
        display: none;
    }
    body.header-layout-sidebar_a .site-footer,
    body.header-layout-sidebar_b .site-footer {
        display: block;
    }
    .menu-footer-container {
        margin-bottom: 10px;
    }
}
body.header-layout-sidebar_a .header-footer {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}
body.header-layout-sidebar_a .site-info {
    flex-flow: column;
    padding: unset;
    margin: unset;
    border-top: unset;
}
body.header-layout-sidebar_a .social-follow-icons {
    gap: 5px;
    margin: 0;
    align-items: center; font-size: 20px;
}
body.header-layout-sidebar_a .menu-footer-container ul {
    margin: unset;
    padding: unset;
}
@media (min-width: 992px) {
    body.header-layout-sidebar_a .site-footer,
    body.header-layout-sidebar_b .site-footer {
        display: none;
    }
    body.header-layout-sidebar_a .header-footer {
        display: block;
    }
}
@media (max-width: 991px) {
    body.header-layout-sidebar_a .header-footer,
    body.header-layout-sidebar_b .header-footer {
        display: none;
    }
    body.header-layout-sidebar_a .site-footer,
    body.header-layout-sidebar_b .site-footer {
        display: block;
    }
    .menu-footer-container {
        margin-bottom: 10px;
    }
}

/* Centered Header Layout */
body.header-layout-centered .site-header .layout-centered,
body.header-layout-centered .site-header .layout-centered .navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
}
body.header-layout-centered .site-branding {
    text-align: center;
    margin-bottom: 1.5rem;
}
body.header-layout-centered .main-navigation {
    width: 100%;
}
body.header-layout-centered .primary-menu-container ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
body.header-layout-centered .primary-menu-container a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
}
@media (max-width: 768px) {
    body.header-layout-centered .primary-menu-container ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}
.offcanvas-header .btn-close {
    background-color: var(--color-secondary);
    background-image: unset;
    --bs-btn-close-opacity: 1;
}
.navbar .navbar-toggler {
    border: none;
    padding: 0;
}
.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: unset !important;
}
.search-icon {
    font-size: 1.2rem;
    color: #212529;
    text-decoration: none;
}
.search-icon:hover {
    color: #B10214;
}
.offcanvas-body .navbar-nav a {
    padding: 0.5rem 0;
}
.offcanvas.hiding,
.offcanvas.show,
.offcanvas.showing {
    background: var(--color-primary);
}

/* =============================================
   YOUTUBE STYLES (unified, no duplicates)
   ============================================= */
.youtube-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #000;
}
.youtube-embed-container.youtube-preview {
    max-width: 300px;
    margin: 0 auto;
}
.youtube-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.youtube-thumbnail {
    position: relative;
    margin-bottom: var(--spacing-unit);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    width: 100%;
}
.youtube-thumbnail-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}
.youtube-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.youtube-thumbnail:hover .youtube-thumb {
    transform: scale(1.05);
}
.youtube-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    transition: transform 0.3s ease;
    z-index: 2;
}
.youtube-play-button-bg {
    fill: #ff0000;
}
.youtube-thumbnail:hover .youtube-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}
.youtube-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}
.youtube-badge svg {
    width: 12px;
    height: 12px;
    fill: #fff;
}
.youtube-thumbnail:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.youtube-thumbnail:hover:before {
    opacity: 1;
}
.youtube-shorts-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding-bottom: 56%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #000;
}
.youtube-shorts-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.shorts-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}
.shorts-header {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
}
.shorts-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #FF0000, #FF416C);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}
.shorts-badge svg {
    width: 18px;
    height: 18px;
}
.shorts-description {
    margin-top: 8px;
    color: var(--medium-gray);
    font-size: 0.9rem;
}
.shorts-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
    padding: 3px 8px;
    background: linear-gradient(135deg, #FF0000, #FF416C);
    color: white;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}
.shorts-meta-badge svg {
    width: 12px;
    height: 12px;
}
.archive-post .youtube-shorts-container {
    max-width: 100%;
    padding-bottom: 56%;
}
.youtube-shorts-thumbnail {
    position: relative;
    margin-bottom: var(--spacing-unit);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 9/16;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}
.youtube-shorts-thumbnail .youtube-badge {
    background: linear-gradient(135deg, #FF0000, #FF416C);
}
.youtube-shorts-thumbnail .youtube-play-button {
    width: 50px;
    height: 35px;
}
.shorts-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #FF0000, #FF416C);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.shorts-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}
.shorts-filter.active {
    background: linear-gradient(135deg, #cc0000, #d9365c);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
.shorts-filter svg {
    width: 14px;
    height: 14px;
}
.video-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px 12px;
    background: #ffebee;
    color: #d32f2f;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}
.video-indicator svg {
    width: 14px;
    height: 14px;
    fill: #d32f2f;
}
.video-duration-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
}
.video-duration-meta svg {
    width: 12px;
    height: 12px;
}
.video-duration-thumbnail {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    z-index: 2;
}
.video-share-options {
    margin-top: calc(var(--spacing-unit) * 2);
    padding: var(--spacing-unit);
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid #ff0000;
}
.video-share-options h4 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}
.video-share-options .share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.video-share-options .share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.video-share-options .share-button.youtube {
    background: #ff0000;
    color: white;
    border: none;
    cursor: pointer;
}
.video-share-options .share-button.copy-video-link {
    background: var(--medium-gray);
    color: white;
    border: none;
    cursor: pointer;
    position: relative;
}
.video-share-options .share-button.youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}
.video-share-options .share-button.copy-video-link:hover {
    background: #555555;
    transform: translateY(-2px);
}
.video-share-options .share-button svg {
    width: 18px;
    height: 18px;
}
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}
.lightbox-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 10000;
}
.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
}
.lightbox-content {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}
.lightbox-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =============================================
   RESPONSIVE STYLES (unified)
   ============================================= */
@media (max-width: 1024px) {
    .archive-post.list-view {
        flex-direction: column;
    }
    .archive-post.list-view .post-thumbnail-wrapper {
        flex: 0 0 auto;
        max-width: 100%;
    }
    .page-title {
        font-size: 2.5rem;
    }
    .full-width-post .entry-title {
        font-size: 2rem;
    }
    .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
@media (max-width: 768px) {
    .site-branding {
        flex-direction: column;
        text-align: center;
    }
    .menu-toggle {
        display: block;
    }
    .primary-menu-container {
        display: none;
        width: 100%;
    }
    .primary-menu-container.active {
        display: block;
    }
    .primary-menu-container ul {
        flex-direction: column;
        gap: 10px;
    }
    .site-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .footer-menu ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    .archive-header {
        margin-bottom: calc(var(--spacing-unit) * 2);
    }
    .archive-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    .archive-filters {
        width: 100%;
        justify-content: space-between;
    }
    .view-toggle {
        margin-left: 0;
    }
    .author-info-archive {
        flex-direction: column;
        text-align: center;
    }
    .author-stats {
        justify-content: center;
    }
    .entry-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .entry-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .footer-left,
    .footer-right {
        width: 100%;
        justify-content: space-between;
    }
    .footer-right {
        margin-left: 0;
    }
    .read-more-button {
        width: auto;
        padding: 8px 20px;
    }
    .youtube-play-button {
        width: 50px;
        height: 35px;
    }
    .youtube-badge {
        top: 5px;
        right: 5px;
        padding: 3px 6px;
        font-size: 0.65rem;
    }
    .youtube-shorts-container {
        max-width: 100%;
        border-radius: 8px;
        padding-bottom: 177.78%;
    }
    .shorts-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    .shorts-badge svg {
        width: 16px;
        height: 16px;
    }
    .youtube-shorts-thumbnail {
        max-width: 100%;
    }
    .pagination-standard .page-numbers {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .pagination-prev-next .prev,
    .pagination-prev-next .next {
        padding: 8px 20px;
        font-size: 14px;
    }
    .load-more-button {
        width: 100%;
        padding: 14px 20px;
    }
    .video-share-options .share-buttons {
        flex-direction: column;
    }
    .video-share-options .share-button {
        justify-content: center;
    }
    .page-title {
        font-size: 2rem;
    }
    .page-subtitle {
        font-size: 1.2rem;
    }
    .full-width-post .entry-title {
        font-size: 1.8rem;
    }
    .full-width-post .entry-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .post-navigation {
        grid-template-columns: 1fr;
    }
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    .page-section {
        padding: calc(var(--spacing-unit) * 2) 0;
    }
    .post-meta-full-width {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .meta-details {
        flex-wrap: wrap;
        gap: 10px;
    }
    .social-sharing-full-width {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .share-buttons {
        width: 100%;
        justify-content: center;
    }
    .author-bio-full-width {
        flex-direction: column;
        text-align: center;
    }
    .author-bio-full-width img {
        margin: 0 auto;
    }
    .post-navigation-full-width .nav-links {
        grid-template-columns: 1fr;
    }
    .related-posts-full-width .related-posts-grid {
        grid-template-columns: 1fr;
    }
    .related-posts-full-width .related-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
@media (max-width: 480px) {
    .parent-category {
        margin-left: 0;
        margin-top: 10px;
    }
    .archive-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .filter-group {
        width: 100%;
    }
    .filter-select {
        flex: 1;
    }
    .view-toggle {
        align-self: center;
    }
}
@media (min-width: 769px) {
    .youtube-shorts-container {
        max-width: 400px;
    }
    .youtube-shorts-thumbnail {
        max-width: 250px;
    }
}

/* =============================================
   CUSTOMIZER NOTES
   ============================================= */
.youtube-settings-note {
    margin-top: 10px;
    padding: 10px;
    background: #f0f8ff;
    border-left: 4px solid #1da1f2;
    font-size: 0.9rem;
    color: #555;
}

/* =============================================
   MISC ELEMENTS
   ============================================= */
.vote-message {
    display: block;
    margin-top: 10px;
    font-style: italic;
    color: var(--medium-gray);
}
.social-follow-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}
.social-follow-icons .social-icon {
    display: inline-block;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}
.social-follow-icons .social-icon:hover {
    color: var(--color-secondary)!important;
}
.social-follow-icons .dashicons,.social-follow-icons span {
    font-size: 24px;
    width: auto;
    height: auto;
}
.category-posts-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}
.category-posts-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}
.category-posts-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}
.category-posts-grid.columns-1 {
    grid-template-columns: 1fr;
}
.category-post-item {
    border: 1px solid #ddd;
  /*padding: 15px;
    border-radius: 5px;*/
    border-radius: 12px;
}
.category-post-item .post-thumbnail img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff0000;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}
.live-video-wrapper {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
margin-bottom:15px;
}
.unmute-button {
    position: absolute;
    /* top: 50%;
    left: 50%; */
    bottom:4%;
    right: 3%;
     margin-bottom: -4px;
    margin-right: -3px;
    /* margin-top: -50px;
    margin-left: -50px; */
    background: rgb(255, 0, 0);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    z-index: 20;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.unmute-button:hover {
    background: rgba(255, 0, 0, 0.9);
}
.unmute-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.verified-badge {
    display: inline-block;
    background: #606060;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-size: 10px;
    margin-left: 4px;
    vertical-align: middle;
}
.video-views,
.video-time {
    margin-left: 8px;
    white-space: nowrap;
}
.youtube-video-info svg {
    width: 24px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 2);
}
.site-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-unit);
    border-top: 1px solid var(--medium-gray);
}
.footer-menu ul {
    list-style: none;
}
.footer-menu a,
.copyright p {
    color: #9D9D9D;
    text-decoration: none;
}
.footer-menu a:hover {
    color: var(--color-secondary);
}
button.vote-button:hover {
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
}
.post-categories-wrapper {
    color: var(--color-secondary);
}
@media screen and (max-width:900px){
    .aboutus_home {
        text-align: center;
    }
}




/*--------------------------------------------------*/

/* Blare / placeholder area */
.live-video-blare {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s;
}

/* Default hidden */
.live-video-blare {
    display: none;
}

/* Show blare only when video is floating */
.live-video-wrapper.floating + .live-video-blare,
.live-video-blare.active {
    display: flex;
}

/* Floating video container */
.live-video-wrapper.floating {
    position: sticky;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 320px;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
   transition: all 0.3s ease;
}

.live-video-wrapper.floating .youtube-player-container iframe {
    width: 100%;
    height: 180px;
}

/* Floating controls (hidden by default) */
.live-video-floating-controls {
    display: none;
    position: absolute;
    top: -30px;
    right: 0;
    gap: 8px;
    z-index: 10000;
}

.live-video-wrapper.floating .live-video-floating-controls {
    display: flex;
}

/* Button styles */
.floating-close-btn,
.floating-restore-btn {
    background: rgba(0,0,0,0.7);
    border: none;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}
.floating-close-btn:hover,
.floating-restore-btn:hover {
    background: rgba(0,0,0,0.9);
}

/* Floating video container */
.live-video-wrapper.floating {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    width: 320px !important;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
   transition: all 0.3s ease;
}

/* Ensure the iframe resizes correctly */
.live-video-wrapper.floating .youtube-player-container iframe {
    width: 100% !important;
    height: 180px !important;
}

/* Blare area (optional) */
.live-video-blare.active {
    display: flex;
    background: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 8px;
    min-height: 200px;
    align-items: center;
    justify-content: center;
}
.live-video-wrapper.floating {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    width: 320px !important;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.live-video-wrapper.floating .youtube-player-container iframe {
    width: 100% !important;
    height: 180px !important;
}

.category-sponsor-logo{
max-width:150px;
height:auto!important;
}
