/* Latest Posts Section Styles */
.latest-posts-section .tgpbaze-section-border {
    margin: 30px 0;
    padding: 20px 0;
}

.section-title {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    padding-bottom: 8px;
    border-bottom: 3px solid #000;
}

.section-title-inner {
    display: inline-block;
    background: #fff;
    padding-right: 15px;
}

/* Latest Posts List */
.latest-posts-list {
    display: block;
    margin-bottom: 30px;
}

.latest-post-item {
    background: #fff;
    border: 2px solid #000;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 15px;
}

.latest-post-inner {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 140px; /* Reduced height */
}

/* Post Thumbnail - Square box that matches image proportions */
.latest-post-thumbnail {
    margin: 10px;
    position: relative;
    overflow: hidden;
    flex: 0 0 120px; /* Square dimensions */
    max-width: 130px;
    height: 120px; /* Fixed height to match width */
    border: 2px solid #000;
    background: #fff;
}

.latest-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Force ALL images to fill container completely */
.latest-post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
}

/* Post Content */
.latest-post-content {
    padding: 15px 20px 15px 15px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.latest-post-title {
    margin: 0 0 0 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    flex: 0 0 auto;
}

.latest-post-title a {
    color: #000;
    text-decoration: none;
}

.latest-post-title a:hover {
    color: #e64946;
}

/* Post Meta */
.latest-post-meta {
    margin: 20px 0 0 0;
    flex: 0 0 auto;
}

.post-date {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

/* Category Badge */
.latest-post-category {
    position: absolute;
    bottom: -2px;
    right: -2px;
    z-index: 2;
}

.latest-post-category a {
    display: inline-block;
    background: #000;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0;
    border: 2px solid #000;
}

.latest-post-category a:hover {
    background: #000;
    color: #fff !important;
    border-color: #000;
}

/* Pagination */
.latest-posts-pagination {
    text-align: center;
    margin-top: 30px;
}

.latest-posts-pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
}

.latest-posts-pagination .page-numbers li {
    margin: 0;
}

.latest-posts-pagination .page-numbers a,
.latest-posts-pagination .page-numbers span {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid #000;
    text-decoration: none;
    font-weight: 700;
    color: #000;
    background: #fff;
    font-size: 11px;
    line-height: 1;
    min-width: 30px;
    text-align: center;
}

.latest-posts-pagination .page-numbers a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.latest-posts-pagination .page-numbers .current {
    background: #000;
    color: #fff;
    border-color: #000;
}

.latest-posts-pagination .page-numbers a:hover,
.latest-posts-pagination .page-numbers .current {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
    background: #f9f9f9;
    border: 2px dashed #ddd;
}

/* Mobile */
@media screen and (max-width: 768px) {
    .latest-post-inner {
        min-height: 120px; /* Reduced height */
    }
    
    .latest-post-thumbnail {
        flex: 0 0 100px; /* Square dimensions */
        max-width: 100px;
        height: 100px; /* Fixed height to match width */
        margin: 8px;
    }
    
    .latest-post-content {
        padding: 12px 15px 12px 12px;
    }
    
    .latest-post-title {
        font-size: 15px;
    }
    
    .latest-post-meta {
        margin: 15px 0 0 0;
    }
    
    .post-date {
        font-size: 12px;
    }
    
    .latest-post-category a {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .latest-posts-pagination .page-numbers a,
    .latest-posts-pagination .page-numbers span {
        padding: 3px 6px;
        font-size: 10px;
        min-width: 25px;
    }
}

@media screen and (max-width: 480px) {
    .latest-posts-section {
        margin: 20px 0;
        padding: 15px 0;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .latest-post-item {
        margin-bottom: 12px;
    }
    
    .latest-post-inner {
        min-height: 100px; /* Reduced height */
    }
    
    .latest-post-thumbnail {
        flex: 0 0 80px; /* Square dimensions */
        max-width: 80px;
        height: 80px; /* Fixed height to match width */
        margin: 6px;
    }
    
    .latest-post-content {
        padding: 10px 12px 10px 10px;
    }
    
    .latest-post-title {
        font-size: 14px;
    }
    
    .latest-post-meta {
        margin: 12px 0 0 0;
    }
    
    .post-date {
        font-size: 11px;
    }
    
    .latest-posts-pagination .page-numbers {
        gap: 1px;
    }
    
    .latest-posts-pagination .page-numbers a,
    .latest-posts-pagination .page-numbers span {
        padding: 2px 5px;
        font-size: 9px;
        min-width: 22px;
    }
}

@media screen and (max-width: 360px) {
    .latest-post-inner {
        min-height: 90px; /* Reduced height */
    }
    
    .latest-post-thumbnail {
        flex: 0 0 70px; /* Square dimensions */
        max-width: 70px;
        height: 70px; /* Fixed height to match width */
        margin: 5px;
    }
    
    .latest-post-content {
        padding: 8px 10px 8px 8px;
    }
    
    .latest-post-title {
        font-size: 13px;
    }
    
    .latest-post-meta {
        margin: 10px 0 0 0;
    }
    
    .post-date {
        font-size: 10px;
    }
    
    .latest-posts-pagination .page-numbers a,
    .latest-posts-pagination .page-numbers span {
        padding: 2px 4px;
        font-size: 8px;
        min-width: 20px;
    }
}

/* Sidebar Widgets Styles */
.sidebar-widgets {
    margin-top: 30px;
}

.sidebar-widget {
    margin-bottom: 30px;
    background: #fff;
    padding: 0;
}

/* Remove all section borders */
.sidebar-widget {
    border: none !important;
}

.widget-title {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 6px;
    border-bottom: 2px solid #000;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #e64946;
}

/* Search Widget */
.search-widget .widget-title {
    margin-bottom: 15px;
}

.search-form-wrapper {
    width: 100%;
    overflow: hidden;
}

.search-form-wrapper form {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.search-form-wrapper .search-field {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #000;
    border-right: none;
    font-size: 14px;
    background: #fff;
    color: #000;
    box-sizing: border-box;
    border-radius: 0;
    min-width: 0;
    width: 100%;
}

.search-form-wrapper .search-field:focus {
    outline: none;
    border-color: #e64946;
}

.search-form-wrapper .search-submit {
    display: block !important;
    padding: 12px 20px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 0;
    flex-shrink: 0;
    min-width: auto;
}

.search-form-wrapper .search-submit:hover {
    background: #e64946;
    border-color: #e64946;
}

/* Trending Posts Widget */
.trending-widget {
    border: none !important;
    padding: 0;
}

.trending-posts-list {
    display: block;
}

.trending-post-item {
    margin-bottom: 15px;
    background: #fff;
    border: 2px solid #000;
    padding: 0;
    overflow: hidden;
}

.trending-post-item:last-child {
    margin-bottom: 0;
}

.trending-post-inner {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 100px;
}

/* Trending Post Thumbnail */
.trending-post-thumbnail {
    margin: 10px;
    position: relative;
    overflow: hidden;
    flex: 0 0 80px;
    max-width: 80px;
    height: 80px;
    border: 2px solid #000;
    background: #fff;
}

.trending-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trending-post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Trending Post Content */
.trending-post-content {
    padding: 12px 15px 12px 0;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}

.trending-post-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.trending-post-title a {
    color: #000;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-post-title a:hover {
    color: #e64946;
}

/* Trending Post Meta - FIXED ICONS */
.trending-post-meta {
    display: flex;
    align-items: center;
    gap: 10px; /* Reduced gap */
    font-size: 11px;
    color: #666;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-top: 2px;
}

.trending-post-meta span {
    display: flex;
    align-items: center;
    gap: 3px; /* Reduced gap between icon and text */
    white-space: nowrap;
    font-weight: normal !important;
}

/* FIXED: Proper Font Awesome icon styling - outlined icons */
.trending-post-meta .post-date,
.trending-post-meta .post-comments {
    display: flex;
    align-items: center;
    gap: 3px;
}

.trending-post-meta .post-date::before,
.trending-post-meta .post-comments::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 400; /* Regular weight for outlined icons */
    font-size: 11px;
    color: #666; /* Grey color like text */
    display: inline-block;
}

.trending-post-meta .post-date::before {
    content: "\f017"; /* Clock icon - outlined */
}

.trending-post-meta .post-comments::before {
    content: "\f0e5"; /* Comment icon - outlined (far) */
}

/* Make comment count clickable */
.trending-post-meta .post-comments a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 3px;
}

.trending-post-meta .post-comments a:hover {
    color: #e64946;
}

/* Hide the original <i> elements if they exist */
.trending-post-meta .post-date i,
.trending-post-meta .post-comments i {
    display: none !important;
}

/* Trending Post Category */
.trending-post-category {
    position: absolute;
    bottom: -2px;
    right: -2px;
    z-index: 2;
}

.trending-post-category a {
    display: inline-block;
    background: #000;
    color: #fff !important;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0;
    border: 2px solid #000;
}

.trending-post-category a:hover {
    background: #000;
    color: #fff !important;
    border-color: #000;
}

/* No Posts Message */
.no-trending-posts {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #666;
    background: #f9f9f9;
    border: 1px dashed #ddd;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .sidebar-widget {
        margin-bottom: 20px;
    }
    
    .widget-title {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .search-form-wrapper .search-field {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .search-form-wrapper .search-submit {
        padding: 10px 15px;
        font-size: 11px;
    }
    
    .trending-post-inner {
        min-height: 90px;
    }
    
    .trending-post-thumbnail {
        flex: 0 0 70px;
        max-width: 70px;
        height: 70px;
        margin: 8px;
    }
    
    .trending-post-content {
        padding: 10px 12px 10px 0;
    }
    
    .trending-post-title {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .trending-post-meta {
        font-size: 10px;
        gap: 8px; /* Further reduced on mobile */
        margin-top: 2px;
    }
    
    .trending-post-meta span {
        gap: 2px; /* Further reduced on mobile */
    }
    
    /* Hide comments on mobile */
    .trending-post-meta .post-comments {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .sidebar-widgets {
        margin-top: 20px;
    }
    
    .sidebar-widget {
        margin-bottom: 15px;
    }
    
    .widget-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .search-form-wrapper .search-field {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .search-form-wrapper .search-submit {
        padding: 8px 12px;
        font-size: 10px;
    }
    
    .trending-post-item {
        margin-bottom: 12px;
    }
    
    .trending-post-inner {
        min-height: 80px;
    }
    
    .trending-post-thumbnail {
        flex: 0 0 60px;
        max-width: 60px;
        height: 60px;
        margin: 6px;
    }
    
    .trending-post-content {
        padding: 8px 10px 8px 0;
    }
    
    .trending-post-title {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .trending-post-meta {
        font-size: 9px;
        gap: 6px; /* Further reduced on small mobile */
        margin-top: 2px;
    }
    
    .trending-post-meta span {
        gap: 1px; /* Further reduced on small mobile */
    }
    
    /* Hide comments on mobile */
    .trending-post-meta .post-comments {
        display: none !important;
    }
}

/* Mobile Search Widget Fix - Force Full Width */
@media screen and (max-width: 768px) {
    /* Force all parent containers to full width */
    .sidebar-widget,
    .search-widget,
    .widget_search,
    .search-form-wrapper,
    .search-form-wrapper form {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }
    
    .search-form-wrapper form {
        display: flex !important;
        width: 100% !important;
    }
    
    .search-form-wrapper .search-field {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: 100% !important;
        padding: 12px 15px !important;
        font-size: 14px !important;
        border: 2px solid #000 !important;
        border-right: none !important;
        box-sizing: border-box !important;
    }
    
    .search-form-wrapper .search-submit {
        flex: 0 0 auto !important;
        padding: 12px 20px !important;
        border: 2px solid #000 !important;
        font-size: 14px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }
    
    /* Remove any margins/padding that might be limiting width */
    .sidebar-widget {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media screen and (max-width: 480px) {
    .search-form-wrapper .search-field {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
    
    .search-form-wrapper .search-submit {
        padding: 10px 15px !important;
        font-size: 13px !important;
    }
}

/* Home Sections Styles - Using Sidebar Style */
.home-sections-wrapper {
    margin: 40px 0;
}

.home-section-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.home-section-row:last-child {
    margin-bottom: 0;
}

.home-section {
    flex: 1;
    background: #fff;
    padding: 0;
}

.section-title {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 6px;
    border-bottom: 2px solid #000; /* Complete black underline */
}

/* Remove the red accent line */
.section-title:after {
    display: none;
}

/* Section Posts List */
.section-posts-list {
    display: block;
}

.section-post-item {
    margin-bottom: 15px;
    background: #fff;
    border: 2px solid #000;
    padding: 0;
    overflow: hidden;
}

.section-post-item:last-child {
    margin-bottom: 0;
}

.section-post-inner {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 100px;
}

/* Section Post Thumbnail */
.section-post-thumbnail {
    margin: 10px;
    position: relative;
    overflow: hidden;
    flex: 0 0 80px;
    max-width: 80px;
    height: 80px;
    border: 2px solid #000;
    background: #fff;
}

.section-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section-post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Section Post Content */
.section-post-content {
    padding: 12px 15px 12px 0;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}

.section-post-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-post-title a {
    color: #000;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-post-title a:hover {
    color: #e64946;
}

/* Section Post Meta */
.section-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #666;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-top: 2px;
}

.section-post-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    font-weight: normal !important;
}

/* Section Post Meta Icons */
.section-post-meta .post-date,
.section-post-meta .post-comments {
    display: flex;
    align-items: center;
    gap: 3px;
}

.section-post-meta .post-date::before,
.section-post-meta .post-comments::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    font-size: 11px;
    color: #666;
    display: inline-block;
}

.section-post-meta .post-date::before {
    content: "\f017";
}

.section-post-meta .post-comments::before {
    content: "\f0e5";
}

/* Make comment count clickable */
.section-post-meta .post-comments a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 3px;
}

.section-post-meta .post-comments a:hover {
    color: #e64946;
}

/* Hide the original <i> elements */
.section-post-meta .post-date i,
.section-post-meta .post-comments i {
    display: none !important;
}

/* Section Post Category */
.section-post-category {
    position: absolute;
    bottom: -2px;
    right: -2px;
    z-index: 2;
}

.section-post-category a {
    display: inline-block;
    background: #000;
    color: #fff !important;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0;
    border: 2px solid #000;
}

.section-post-category a:hover {
    background: #000;
    color: #fff !important;
    border-color: #000;
}

/* No Posts Message */
.no-section-posts {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #666;
    background: #f9f9f9;
    border: 1px dashed #ddd;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .home-section-row {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .home-section {
        width: 100%;
    }
    
    .section-title {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .section-post-inner {
        min-height: 90px;
    }
    
    .section-post-thumbnail {
        flex: 0 0 70px;
        max-width: 70px;
        height: 70px;
        margin: 8px;
    }
    
    .section-post-content {
        padding: 10px 12px 10px 0;
    }
    
    .section-post-title {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .section-post-meta {
        font-size: 10px;
        gap: 8px;
        margin-top: 2px;
    }
    
    .section-post-meta span {
        gap: 2px;
    }
    
    /* Hide comments on mobile */
    .section-post-meta .post-comments {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .home-sections-wrapper {
        margin: 30px 0;
    }
    
    .home-section-row {
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .section-post-item {
        margin-bottom: 12px;
    }
    
    .section-post-inner {
        min-height: 80px;
    }
    
    .section-post-thumbnail {
        flex: 0 0 60px;
        max-width: 60px;
        height: 60px;
        margin: 6px;
    }
    
    .section-post-content {
        padding: 8px 10px 8px 0;
    }
    
    .section-post-title {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .section-post-meta {
        font-size: 9px;
        gap: 6px;
        margin-top: 2px;
    }
    
    .section-post-meta span {
        gap: 1px;
    }
    
    /* Hide comments on mobile */
    .section-post-meta .post-comments {
        display: none !important;
    }
}

/* Archive Page Styles */
.archive-page-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #000;
}

.archive-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #000;
}

.archive-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.archive-current-time {
    font-size: 14px;
    color: #666; /* Grey color */
    font-weight: normal; /* Not bold */
    font-style: italic;
}

/* Archive Posts Section */
.archive-posts-section {
    margin: 30px 0;
}

.archive-post-item {
    margin-bottom: 20px;
    background: #fff;
    border: 2px solid #000;
    padding: 0;
    overflow: hidden;
}

.archive-post-item:last-child {
    margin-bottom: 0;
}

.archive-post-inner {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 120px;
}

/* Archive Post Thumbnail */
.archive-post-thumbnail {
    margin: 15px;
    position: relative;
    overflow: hidden;
    flex: 0 0 100px;
    max-width: 100px;
    height: 100px;
    border: 2px solid #000;
    background: #fff;
}

.archive-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.archive-post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Archive Post Content */
.archive-post-content {
    padding: 15px 20px 15px 0;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}

.archive-post-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.archive-post-title a {
    color: #000;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-post-title a:hover {
    color: #e64946;
}

/* Archive Post Meta */
.archive-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: #666;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-top: 5px;
}

.archive-post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-weight: normal !important;
}

/* Archive Post Meta Icons */
.archive-post-meta .post-date::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    font-size: 12px;
    color: #666;
    display: inline-block;
    content: "\f017";
    margin-right: 5px;
}

/* Archive Post Category */
.archive-post-category {
    position: absolute;
    bottom: -2px;
    right: -2px;
    z-index: 2;
}

.archive-post-category a {
    display: inline-block;
    background: #000;
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0;
    border: 2px solid #000;
}

.archive-post-category a:hover {
    background: #000;
    color: #fff !important;
    border-color: #000;
}

/* Archive Pagination */
.archive-posts-pagination {
    margin-top: 40px;
    text-align: center;
}

.archive-posts-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 2px;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 700;
}

.archive-posts-pagination .page-numbers.current {
    background: #000;
    color: #fff;
}

.archive-posts-pagination .page-numbers:hover {
    background: #e64946;
    border-color: #e64946;
    color: #fff;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #666;
    background: #f9f9f9;
    border: 2px dashed #ddd;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .archive-page-header {
        margin-bottom: 30px;
        padding-bottom: 15px;
    }
    
    .archive-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .archive-description {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .archive-current-time {
        font-size: 12px;
    }
    
    .archive-post-inner {
        min-height: 100px;
    }
    
    .archive-post-thumbnail {
        flex: 0 0 80px;
        max-width: 80px;
        height: 80px;
        margin: 10px;
    }
    
    .archive-post-content {
        padding: 12px 15px 12px 0;
    }
    
    .archive-post-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .archive-post-meta {
        font-size: 11px;
        gap: 12px;
        margin-top: 3px;
    }
}

@media screen and (max-width: 480px) {
    .archive-page-header {
        margin-bottom: 25px;
        padding-bottom: 12px;
    }
    
    .archive-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .archive-description {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .archive-current-time {
        font-size: 11px;
    }
    
    .archive-post-item {
        margin-bottom: 15px;
    }
    
    .archive-post-inner {
        min-height: 90px;
    }
    
    .archive-post-thumbnail {
        flex: 0 0 70px;
        max-width: 70px;
        height: 70px;
        margin: 8px;
    }
    
    .archive-post-content {
        padding: 10px 12px 10px 0;
    }
    
    .archive-post-title {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .archive-post-meta {
        font-size: 10px;
        gap: 10px;
        margin-top: 2px;
    }
    
    .archive-posts-pagination .page-numbers {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Archive Page Header Styles */
.archive-page-header {
    margin-bottom: 30px;
    padding: 0;
}

.archive-main-title {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #000;
    /* Removed border-bottom to remove horizontal line */
}

.archive-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 15px 0 10px 0;
}

.archive-current-time {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    font-style: italic;
    margin-top: 5px;
}

/* Mobile Responsive for Archive Header */
@media screen and (max-width: 768px) {
    .archive-page-header {
        margin-bottom: 25px;
    }
    
    .archive-main-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .archive-description {
        font-size: 15px; /* Increased from 14px */
        margin: 12px 0 8px 0;
    }
    
    .archive-current-time {
        font-size: 13px; /* Increased from 12px */
        margin-top: 4px;
    }
}

@media screen and (max-width: 480px) {
    .archive-page-header {
        margin-bottom: 20px;
    }
    
    .archive-main-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .archive-description {
        font-size: 14px; /* Increased from 13px */
        margin: 10px 0 6px 0;
    }
    
    .archive-current-time {
        font-size: 12px; /* Increased from 11px */
        margin-top: 3px;
    }
}

/* ---------- tgpbaze header enhancements ---------- */
/* containers */
.tgpbaze-container { max-width:1200px; margin:0 auto; padding:0 16px; box-sizing:border-box; }
/* topbar */
.tgpbaze-topbar { background:#0f1720; padding:10px 0; }
.tgpbaze-top-inner { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.tgpbaze-logo-wrap { display:flex; align-items:center; gap:12px; }
/* LOGO SIZE */
.tgpbaze-brand img.tgpbaze-forced-logo,
.tgpbaze-brand img.custom-logo,
.tgpbaze-header img.custom-logo,
header .custom-logo,
.tgpbaze-brand img {
    max-height: 50px !important;
    height: 50px !important;
    width: auto !important;
    display: block !important;
    font-size: 14px !important;
}
@media (max-width: 768px) {
    .tgpbaze-brand img.tgpbaze-forced-logo,
    .tgpbaze-brand img.custom-logo,
    .tgpbaze-header img.custom-logo,
    header .custom-logo,
    .tgpbaze-brand img {
        max-height: 45px !important;
        height: 45px !important;
    }
}
/* custom logo fallback text */
.tgpbaze-site-text { color:#fff; display:inline-block; line-height:1; }
.tgpbaze-site-title { font-weight:700; font-size:18px !important; color:#1ea0ff; }
.tgpbaze-site-desc { font-size:12px !important; color:#cbd5e1; }
/* hide ad-wrap if empty (already not output if empty) */
.tgpbaze-ad-wrap { display:flex; align-items:center; }
/* nav area */
.tgpbaze-nav-area { background:#0b60d1; padding:10px 0; position: relative; z-index: 1000; }
.tgpbaze-nav-inner { display:flex; align-items:center; gap:12px; }
/* mobile left (burger + icons) */
.tgpbaze-mobile-left { display:none; align-items:center; gap:10px; width: 100%; }
.tgpbaze-burger { background:transparent; border:0; padding:8px; cursor:pointer; color:#fff; margin-right: auto; z-index: 1001; position: relative; }
.tgpbaze-burger-lines, .tgpbaze-burger-lines::before, .tgpbaze-burger-lines::after { background:#fff; display:block; height:2px; border-radius:2px; }
.tgpbaze-burger-lines { width:22px; position:relative; }
.tgpbaze-burger-lines::before { content:''; position:absolute; left:0; top:-7px; width:100%; height:2px; }
.tgpbaze-burger-lines::after { content:''; position:absolute; left:0; top:7px; width:100%; height:2px; }
.tgpbaze-burger.active .tgpbaze-burger-lines { background: transparent; }
.tgpbaze-burger.active .tgpbaze-burger-lines::before { transform: rotate(45deg); top: 0; }
.tgpbaze-burger.active .tgpbaze-burger-lines::after { transform: rotate(-45deg); top: 0; }
.tgpbaze-burger.active { background: rgba(255,255,255,0.1); border-radius: 4px; }
/* mobile icons row */
.tgpbaze-mobile-icons { display:flex; gap:8px; align-items:center; margin-left: auto; }
.tgpbaze-mi { color:#fff; text-decoration:none; font-size:12px; display:flex; flex-direction:column; align-items:center; justify-content:center; width:50px; height:40px; border-radius:6px; }
.tgpbaze-mi i { font-size:16px; margin-bottom:2px; }
@media (max-width: 768px) {
    .tgpbaze-mi { width:45px; height:35px; font-size:10px; }
    .tgpbaze-mi i { font-size:14px; }
}
/* main nav (desktop) */
.tgpbaze-nav { flex:1; }
.tgpbaze-menu { list-style:none; margin:0; padding:0; display:flex; gap:18px; align-items:center; }
.tgpbaze-menu-item { position:relative; }
.tgpbaze-menu-item > a { color:#fff; text-decoration:none; padding:8px 6px; display:inline-block; font-weight:600; border-radius:4px; }
.tgpbaze-menu-item > a .tgpbaze-caret { margin-left:6px; color: rgba(255,255,255,0.9); font-size:12px; }
/* add background hover effect on menu items */
.tgpbaze-menu-item > a:hover { background: rgba(255,255,255,0.06); color:#fff; }
/* mega dropdown - hidden by default, shown on hover with delay */
.tgpbaze-mega { position:absolute; left:0; top:calc(100% + 8px); background:#0b60d1; color:#fff; padding:18px; display:none; min-width:300px; border-radius:6px; box-shadow:0 8px 28px rgba(0,0,0,0.12); z-index:1200; grid-template-columns:repeat(2,1fr); gap:12px; }
.tgpbaze-mega-column a { display:block; padding:8px 6px; color:#fff; text-decoration:none; border-radius:3px; }
.tgpbaze-mega-column a:hover { background: rgba(255,255,255,0.1); color:#fff; }
/* show mega on hover with improved behavior */
.tgpbaze-menu-item.has-mega:hover > .tgpbaze-mega {
    display:grid;
}
.tgpbaze-menu-item.has-mega {
    position: relative;
}
.tgpbaze-menu-item.has-mega:hover {
    background: rgba(255,255,255,0.06);
}
/* search area as separate section - DESKTOP: WIDER */
.tgpbaze-search-area { background:#0f1720; padding:12px 0; }
.tgpbaze-search-row { display:flex; align-items:center; max-width:1100px; margin:0 auto; padding:0 16px; }
.tgpbaze-search-form {
    display:flex;
    gap:6px;
    align-items:center;
    background:#1e293b;
    padding:8px;
    border-radius:6px;
    width: 100%;
    min-width: 0;
    height: 40px;
}
.tgpbaze-search-input {
    background:transparent;
    border:0;
    outline:none;
    padding:8px 12px;
    color:#fff;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    font-size:15px;
    height: 100%;
}
.tgpbaze-search-scope {
    border:0;
    background:#000;
    padding:8px 12px;
    color:#fff;
    flex: 0 0 auto;
    width: auto;
    max-width: 160px;
    font-size:14px;
    border-radius:4px;
    height: 100%;
}
.tgpbaze-search-btn {
    background:#0b60d1;
    border:0;
    color:#fff;
    padding:8px 20px;
    border-radius:4px;
    cursor:pointer;
    font-weight:600;
    font-size:15px;
    flex: 0 0 auto;
    white-space: nowrap;
    height: 100%;
}
/* MOBILE SEARCH - UNCHANGED */
@media (max-width: 768px) {
    .tgpbaze-search-row { max-width:100%; padding:0 16px; }
    .tgpbaze-search-form {
        flex-direction:row;
        width:100%;
        height: 45px;
        padding: 8px;
        gap: 4px;
    }
    .tgpbaze-search-input {
        flex: 1;
        min-width: 120px;
        padding: 6px 8px;
        font-size: 14px;
    }
    .tgpbaze-search-scope {
        flex: 0 0 auto;
        max-width: 120px;
        padding: 6px 8px;
        font-size: 13px;
    }
    .tgpbaze-search-btn {
        flex: 0 0 auto;
        padding: 6px 12px;
        font-size: 14px;
    }
}
/* MOBILE DROPDOWN - FIXED OVERLAP AND ENHANCED FOR RELIABLE DISPLAY */
.tgpbaze-mobile-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1200px; /* Match container max-width */
    margin: 0 auto; /* Center within viewport */
    background: #0b60d1;
    z-index: 9999;
    padding: 20px 16px; /* Match container padding */
    border-top: 3px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    max-height: 75vh;
    overflow-y: auto;
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    box-sizing: border-box;
}
.tgpbaze-mobile-dropdown[style*="display: block"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.tgpbaze-dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.tgpbaze-dropdown-section {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.2);
}
.tgpbaze-dropdown-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
}
.tgpbaze-dropdown-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.tgpbaze-dropdown-link {
    color: #fff;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.1);
}
.tgpbaze-dropdown-link:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.tgpbaze-dropdown-link i {
    width: 18px;
    text-align: center;
    font-size: 16px;
}
/* prevent scroll on body when mobile menu open */
.tgpbaze-no-scroll { overflow: hidden; }
/* responsive rules */
@media (max-width: 992px) {
    .tgpbaze-ad-wrap .tgpbaze-ad-box { display:none; }
    .tgpbaze-mobile-left { display:flex; }
    .tgpbaze-nav { display:none; }
}
@media (max-width: 768px) {
    .tgpbaze-logo-wrap { justify-content:center; width:100%; }
    .tgpbaze-site-text { text-align:center; }
    .tgpbaze-top-inner { flex-direction:column; gap:8px; align-items:center; }
    .tgpbaze-nav-inner { flex-direction:row; align-items:center; width: 100%; }
    .tgpbaze-mobile-icons { display:flex; margin-left: auto; }
    .tgpbaze-burger { margin-right: 8px; }
    .tgpbaze-menu-item.has-mega:hover > .tgpbaze-mega { display:none; }
    /* Mobile dropdown adjustments */
    .tgpbaze-dropdown-links {
        grid-template-columns: 1fr;
    }
    .tgpbaze-mobile-dropdown {
        padding: 15px 16px;
    }
    .tgpbaze-dropdown-section {
        padding: 15px;
    }
}
/* Mobile layout adjustments for proper alignment */
@media (max-width: 768px) {
    .tgpbaze-nav-area {
        padding: 8px 0;
    }
    .tgpbaze-mobile-left {
        justify-content: space-between;
    }
}
/* end header styles */

/* ---------- tgpbaze footer ---------- */
.tgpbaze-footer{
    background:#000;
    color:#fff;
    padding:25px 20px 15px;
    font-family:Arial, sans-serif;
    font-size:14px;
}

.tgpbaze-footer-top{
    display:flex;
    justify-content:space-between;
    gap:40px;
    flex-wrap:wrap;
    max-width:1150px;
    margin:0 auto;
    box-sizing:border-box;
}

.tgpbaze-footer-col { 
    flex:1;
    box-sizing:border-box;
}

/* Titles (CATEGORIES / PAGES) */
.tgpbaze-footer-title {
    font-weight:700;
    margin:0 0 12px 0;
    font-size:14px;
    text-transform:uppercase;
    color:#fff;
}

/* Categories: 4 per row on desktop and mobile, remaining 2 below */
.tgpbaze-footer-links {
    display:grid;
    grid-template-columns: repeat(4, 1fr); /* 4 per row */
    gap: 0 0px !important; /* Reduced column gap from 18px to 8px, no row gap */
    align-items:start;
}

.tgpbaze-footer-links a{
    color:#fff;
    text-decoration:none;
    font-size:12px;
    text-transform:uppercase;
    margin-bottom:8px;
    padding:4px 0;
    line-height:1;
}

/* Pages: Full stretch underlines */
.tgpbaze-footer-pages {
    list-style:none;
    margin:0;
    padding:0;
}

.tgpbaze-footer-pages li{
    margin-bottom:6px;
    padding-bottom:6px;
    border-bottom:1px solid #333;
    width:90%; /* Full width for stretch */
    box-sizing:border-box;
}

.tgpbaze-footer-pages a{
    color:#fff;
    text-decoration:none;
    font-size:14px;
    display:inline-block;
    padding:2px 0;
}

.tgpbaze-footer-line{
    border:0;
    border-top:1px solid #333;
    margin:25px auto 10px 0;
    max-width:1150px;
}

.tgpbaze-footer-bottom{
    max-width:1150px;
    margin:0 auto;
    text-align:left;
    padding:8px 0 0;
    color:#cfcfcf;
    font-size:13px;
}

.tgpbaze-footer-bottom a { 
    color:#fff; 
    text-decoration:none; 
    font-weight:600; 
}

/* ---------- Responsive adjustments ---------- */
@media (max-width: 1024px) {
    .tgpbaze-footer-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .tgpbaze-footer-top{
        flex-direction:column;
        gap:20px;
        padding:0 8px;
    }
    /* Keep 4 per row on mobile */
    .tgpbaze-footer-links {
        grid-template-columns: repeat(4, 1fr);
        gap: 0 4px;
    }
    .tgpbaze-footer-pages li {
        width:100%; /* Ensure full stretch on mobile */
    }
    .tgpbaze-footer-bottom { 
        text-align:center; 
        padding-top:12px; 
    }
}

/* Tgpbaze Author Box Styles */
.tgpbaze-author-box {
    border: 2px solid #000000 !important;
    padding: 8px;
    position: relative;
    background: #fff;
    margin: 20px 0;
}

.tgpbaze-about-label {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 8px;
    font-size: 12px;
    color: #fff;
    background-color: #000000 !important;
    border-radius: 0 0 0 4px;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
}

.tgpbaze-author-mobile {
    display: block;
}

.tgpbaze-author-avatar {
    margin: 0 auto 15px auto;
    border: 2px solid #700202;
    border-radius: 50%;
    padding: 2px;
    background: #fff;
    text-align: center;
    width: 94px; /* Fixed width to match avatar size */
    height: 94px; /* Fixed height to match avatar size */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure perfect circle */
}

.tgpbaze-author-avatar img {
    border-radius: 50%;
    display: block;
    width: 90px !important; /* Force exact size */
    height: 90px !important; /* Force exact size */
    object-fit: cover; /* Maintain aspect ratio */
}

.tgpbaze-author-content {
    text-align: center;
}

.tgpbaze-author-header {
    margin-bottom: 10px;
}

.tgpbaze-author-name {
    display: block;
    font-weight: bold;
    font-size: 18px;
    color: #000;
    margin-bottom: 8px;
}

.tgpbaze-author-bio {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.tgpbaze-author-social {
    margin-top: 10px;
    text-align: center;
}

.tgpbaze-social-link {
    color: #000000 !important;
    margin: 0 12px;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
}

.tgpbaze-social-link:hover {
    opacity: 0.7;
}

/* Ensure Font Awesome icons display */
.tgpbaze-social-link .fa {
    margin-right: 4px;
    font-size: 16px;
}

/* Desktop Layout */
@media (min-width: 769px) {
    .tgpbaze-author-box {
        padding: 20px;
    }
    
    .tgpbaze-author-mobile {
        display: flex;
        align-items: flex-start;
        text-align: left;
    }
    
    .tgpbaze-author-avatar {
        margin: 0 20px 0 0;
        float: none;
        flex-shrink: 0;
    }
    
    .tgpbaze-author-content {
        text-align: left;
        flex: 1;
    }
    
    .tgpbaze-author-bio {
        text-align: left;
    }
    
    .tgpbaze-author-social {
        text-align: left;
    }
    
    .tgpbaze-social-link {
        margin: 0 12px 0 0;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .tgpbaze-author-box {
        padding: 15px 8px 12px 8px;
    }
    
    .tgpbaze-author-avatar {
        margin: 0 auto 12px auto;
    }
    
    .tgpbaze-author-name {
        font-size: 16px;
    }
    
    .tgpbaze-author-bio {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .tgpbaze-social-link {
        margin: 0 10px;
        font-size: 14px;
    }
    
    .tgpbaze-about-label {
        font-size: 11px;
        padding: 3px 6px;
    }
}

/* Tgpbaze Mobile Related Posts */
#tgp-related-posts {
    display: none;
    margin: 20px 0;
}

#tgp-related-posts h2 {
    margin: 10px 0 0;
    width: 100%;
    padding: 8px 5px 8px 15px;
    background-color: #000000 !important;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 0 5px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#tgp-related-posts ul {
    padding: 0;
    list-style: none;
    border: 3px solid #000000 !important;
    margin: 0;
    background: #fff;
}

#tgp-related-posts ul li {
    background-color: #fff;
    margin: 0;
    padding: 12px 10px;
    overflow: auto;
    border-bottom: 2px solid #000000 !important;
}

#tgp-related-posts ul li:last-child {
    border-bottom: none !important;
}

.tgp-related-thumb {
    float: left;
    margin-right: 10px; /* Reduced from 15px to 10px */
}

.tgp-related-thumb img {
    width: 80px;
    height: 80px;
    border: 2px solid #000000 !important;
    object-fit: cover;
    display: block;
}

.tgp-related-content {
    overflow: hidden;
}

.tgp-related-content h3 {
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.tgp-related-content a {
    color: #000000 !important; /* Force black color, remove gold */
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: none;
}

.tgp-related-content a:hover {
    color: #700202 !important; /* Red color on hover */
}

/* Show only on mobile */
@media screen and (max-width: 768px) {
    #tgp-related-posts {
        display: block;
    }
}

/* Smaller mobile adjustments */
@media screen and (max-width: 480px) {
    .tgp-related-thumb img {
        width: 70px;
        height: 70px;
        margin-right: 8px; /* Reduced from 12px to 8px */
    }
    
    .tgp-related-content a {
        font-size: 13px;
    }
    
    #tgp-related-posts h2 {
        font-size: 16px;
        padding: 6px 5px 6px 12px;
    }
    
    #tgp-related-posts ul li {
        padding: 10px 8px;
    }
    
    .tgp-related-thumb {
        margin-right: 8px; /* Reduced for smaller screens */
    }
}

/* Footer Popup Ads styles */
.footer-banner {  
    position: fixed;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    background-color: #fff;  
    padding: 10px 15px;  
    display: flex;  
    justify-content: center;  
    align-items: center;  
    z-index: 9999;  
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);  
    opacity: 0;  
    transition: opacity 0.5s ease-in-out;  
  }  
  
  .footer-banner.show {  
    opacity: 1;  
  }  
  
  .footer-download-button {  
    background-color: #000; /* black main button color */  
    color: #fff;  
    padding: 14px 30px;  
    text-decoration: none;  
    font-weight: bold;  
    border-radius: 8px;  
    font-size: 18px;  
    transition: background 0.3s ease, transform 0.3s ease;  
    animation: pulse 1.8s infinite; /* animated motion */  
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);  
  }  
  
  .footer-download-button:hover {  
    background-color: #111;  
    transform: scale(1.08);  
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);  
  }  

  @keyframes pulse {  
    0% {  
      transform: scale(1);  
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);  
    }  
    50% {  
      transform: scale(1.1);  
      box-shadow: 0 0 25px rgba(255, 255, 255, 0.7);  
    }  
    100% {  
      transform: scale(1);  
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);  
    }  
  }  
  
  .close-circle {  
    position: fixed;  
    bottom: 70px;  
    right: 15px;  
    width: 30px;  
    height: 30px;  
    background: #222;  
    color: #fff;  
    border-radius: 50%;  
    display: flex;  
    align-items: center;  
    justify-content: center;  
    font-size: 18px;  
    font-weight: bold;  
    cursor: pointer;  
    z-index: 10000;  
  }  