/* Sticky footer container */
#ysb-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(32, 32, 32, 0.9); /* Transparent black */
    color: #fff;
    z-index: 9999;
    display: none;
    padding: 0; /* No space between banner and post */
    font-family: sans-serif;
}

/* Banner container */
.ysb-header {
    display: flex;
    justify-content: center;
    align-items: center;
     background: none;
    padding: 10px;
    font-weight: bold;
    position: relative;
    margin: 0;
}

/* Banner link styling */
.ysb-home-link {
    color: #fff !important;
    text-decoration: none;
    font-size: 16px;
    flex-grow: 1;
    text-align: center;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Hover effect for banner link */
.ysb-home-link:hover {
    color: #ffd700 !important; /* Gold accent */
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.6); /* Soft glow */
}

/* Banner X button */
.ysb-toggle-banner {
    position: absolute;
    right: 10px;
    top: 10px;
	  width: 16px;
    height: 16px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* Hover effect for banner X */
.ysb-toggle-banner:hover {
    transform: scale(1.2) rotate(10deg);
}

/* Post list */
.ysb-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Individual post card */
.ysb-posts li {
	    border-top: 1px solid #000;
background: none; 
    padding: 10px;
    border-radius: 0;
    margin: 0;
    position: relative;
    transition: all 0.3s ease;
}

/* Post link styling */
.ysb-post-link {
    text-decoration: none;
    color: #fff!important;
    display: block;
}

/* Layout for image and title */
.ysb-post-content {
    display: flex;
    align-items: center;
}

/* Post thumbnail image */
.ysb-post-content img {
    border-radius: 4px;
    margin-right: 15px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for image */
.ysb-post-content:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

/* Post title */
.ysb-post-title {
    font-weight: bold;
	margin-top: -20px;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
    transition: color 0.3s ease;
}

/* Hover effect for title */
.ysb-post-content:hover .ysb-post-title {
     color: #ffd700 !important; /* Gold accent */
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.6); /* Soft glow */
}

/* Camouflaged close button inside post */
.ysb-post-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

/* Hover effect for post close button */
.ysb-post-close:hover {
    opacity: 1;
    transform: scale(1.2) rotate(10deg);
}

/* Hidden state for post close button */
.ysb-post-close.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    #ysb-footer {
        font-size: 14px;
        padding: 0;
    }

    .ysb-post-title {
        font-size: 13px;
    }

    .ysb-header {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .ysb-toggle-banner {
        position: absolute;
        right: 5px;
        top: 5px;
        margin-top: 0;
    }
}