.rifnote-live-feed-container {
    margin-top: 20px;
}

.rifnote-feed {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.rifnote-feed-content {
    margin-bottom: 10px;
}

.rifnote-feed-actions {
    display: flex;
    justify-content: flex-start;
}

.rifnote-like-button,
.rifnote-share-button {
    margin-right: 10px;
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.rifnote-like-button:hover,
.rifnote-share-button:hover {
    background-color: #0056b3;
}

.rifnote-live-feed-status {
    font-weight: bold;
    margin-bottom: 20px;
    padding: 5px 10px;
    background-color: #28a745;
    color: #fff;
    display: inline-block;
    border-radius: 3px;
}

.rifnote-feed-title {
    margin-bottom: 10px;
}

.rifnote-feed-timestamp {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.rifnote-live-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    margin-bottom: 15px;
    font-weight: bold;
}

.rifnote-live-icon {
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    margin-right: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.rifnote-live-text {
    color: red;
}

.rifnote-ended-text {
    background-color: red;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
}

.rifnote-live-feeds-widget-container {
    margin-bottom: 20px;
}

.rifnote-live-feed-item {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.rifnote-live-feed-image {
    flex: 0 0 30%;
    margin-right: 15px;
}

.rifnote-live-feed-image img {
    max-width: 100%;
    height: auto;
}

.rifnote-live-feed-content {
    flex: 1;
}

.rifnote-live-feed-content h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

.rifnote-live-status {
    display: inline-block;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.8em;
    margin-top: 5px;
}

.rifnote-live-status.active {
    background-color: #4CAF50;
    color: white;
}

.rifnote-live-status.ended {
    background-color: #F44336;
    color: white;
}

.rifnote-live-feeds-widget-container {
    margin-bottom: 20px;
}

.rifnote-live-feed-item {
    display: flex;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.rifnote-live-feed-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.rifnote-live-feed-image {
    flex: 0 0 35%;
    margin-right: 15px;
    border-radius: 6px;
    overflow: hidden;
}

.rifnote-live-feed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rifnote-live-feed-placeholder {
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    background-color: #f0f0f0;
}

.rifnote-live-feed-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rifnote-live-feed-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #333;
}

.rifnote-live-feed-content p {
    margin-bottom: 10px;
    font-size: 0.6em;
    color: #666;
}

.rifnote-live-status {
    display: inline-block;
    padding: 3px 5px;
    border-radius: 20px;
    font-size: 0.6em;
    font-weight: bold;
    text-transform: uppercase;
    width: auto;
}

.rifnote-live-status.active {
    background-color: #4CAF50;
    color: white;
}

.rifnote-live-status.ended {
    background-color: #F44336;
    color: white;
}

.rifnote-live-status .blink {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}





/* Ensure mobile design matches desktop */
@media (max-width: 767px) {
    .rifnote-live-feed-item {
        display: flex;
        text-decoration: none;
        font-weight: 400;
        text-transform: none;
        font-size: 15px;
        flex-direction: row;
    }

    .main-navigation a {
        display: flex !important;
    }

    .rifnote-live-feed-image {
        display: block;
        flex: 0 0 35%; /* Keep the same image size ratio */
        margin-right: 15px;
        width: 30%;
    }

    .slideout-navigation.do-overlay .inside-navigation {
        display: flex !important;
        flex-direction: column !important;
        padding: 1% 5% 0 !important;
        max-width: 700px;
    }

    .slideout-navigation .slideout-widget ul {
        display: inline-flex !important;
        flex-wrap: wrap !important;
        overflow-x: scroll;
        flex-direction: row;
        justify-content: space-evenly;
        border-bottom: 1px solid #a9a9a9;
    }

    #generate-slideout-menu.do-overlay li {
        text-align: center;
        width: auto;
        padding: 5px;
    }

    .slideout-widget {
        margin: 10px !important;
    }

    .rifnote-live-feed-content {
        width: 65%;
        display: block;
    }

    .rifnote-live-feed-content h3 {
        font-size: 1.2em; /* Keep the same font size */
    }

    .rifnote-live-feed-content p {
        font-size: 0.9em; /* Keep the same font size */
    }

    .rifnote-live-status {
        font-size: 0.8em; /* Keep the same font size */
    }

	
	.rifnote-sharing-buttons .twitter { background-color: #000; }
}

.rifnote-community-section {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
}

.rifnote-community-heading {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.rifnote-channel-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ... (rest of the CSS for channel buttons remains the same) ... */

.rifnote-sharing-buttons {
    display: flex;
    justify-content: flex-start;
    margin: 15px 0;
    border: #e3e3e3 solid;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
}

.rifnote-sharing-buttons span {
    padding: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rifnote-sharing-buttons .share-button {
    margin-right: 10px;
    padding: 10px 50px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
}

.rifnote-sharing-buttons .facebook { background-color: #3b5998; }
.rifnote-sharing-buttons .whatsapp { background-color: #25D366; }
.rifnote-sharing-buttons .twitter { background-color: #000; }
.rifnote-sharing-buttons .telegram { background-color: #0088cc; }
.rifnote-sharing-buttons .linkedin { background-color: #0077B5; }

.rifnote-sharing-buttons .share-button:hover {
    opacity: 0.8;
}

.rifnote-channel-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
    align-items: center;
}

.rifnote-channel-buttons .channel-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 50%;
}

.rifnote-channel-buttons .channel-button i {
    margin-right: 10px;
    font-size: 24px;
}

.rifnote-channel-buttons .whatsapp {
    background-color: #25D366;
}

.rifnote-channel-buttons .telegram {
    background-color: #0088cc;
}

.rifnote-channel-buttons .channel-button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .rifnote-sharing-buttons .share-button {
        margin-right: 10px;
        padding: 5px 10px;
        border-radius: 5px;
        color: #fff;
        text-decoration: none;
    }
    .rifnote-channel-buttons .channel-button {
        font-size: 16px;
        padding: 12px 15px;
        width: 90%;
    }

    .rifnote-channel-buttons .channel-button i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .rifnote-live-feed-item {
        flex-direction: row;
    }

    .rifnote-live-feed-image {
        flex: 0 0 auto;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@keyframes pulsate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.rifnote-ai-assistant-btn {
    width: 80%;
    padding: 10px;
    margin-top: 10px;
    background-color: #ed1c24;
    margin: auto;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: pulsate 2s ease-in-out infinite;
}

.rifnote-ai-assistant-btn:hover {
    background-color: #141414;
    animation: none;
}

.rifnote-ai-assistant-btn.active {
    background-color: #141414;
    animation: none;
}


.rifnote-ai-assistant-image {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 50%;
}

.rifnote-ai-assistant-content {
    margin-top: 10px;
    padding: 10px;
    background-color: #dedede;
    border-radius: 5px;
}

.rifnote-ai-assistant-btn .fa-chevron-down {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.rifnote-ai-assistant-btn.active .fa-chevron-down {
    transform: rotate(180deg);
}

.rifnote-timestamp-div{
    width: 100%;
    margin-bottom: 5px;
}