.img-list-with-image {
    width: 245px;
    height: 220px;
    object-fit: cover;
    border-radius: 5px;
}

/*
 * --------------------------------
 * Responsive video embeds
 * --------------------------------
 */
.responsive-object {
    position: relative;
}

.responsive-object iframe,
.responsive-object object,
.responsive-object embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 24px;
}

/* ------------------------- */
/** News Page Styles */
.single-post-content h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.single-post-content h2 {
    font-size: 20px;
    font-weight: normal;
}

.single-post-content h3 {
    font-size: 20px;
    font-weight: normal;
}

.single-post-content h4 {
    font-size: 18px;
    font-weight: normal;
}

/* ---------------------------------- */
/******* Live News & Timeline *******/
/* --------------------------------  */
.live-timeline {
    position: relative;
    border-left: 2px solid #e63946;
    margin-left: 10px;
    padding-left: 15px;
}

.live-timeline-ended {
    border-left: 2px solid #999;
}

.live-timeline-content {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(230, 57, 70, 0.15);
}

.live-timeline-content::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: #e63946;
    border-radius: 50%;
    position: absolute;
    left: -21px;
    top: 5px;
    box-shadow: 0 0 0 rgba(230, 57, 70, 0.7);
    animation: pulse 1.5s infinite;
}

.live-update-ended::before {
    background-color: #999;
    animation: none;
    box-shadow: none;
}

.live-timeline-meta {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.live-timeline-date {
    color: #666;
    font-size: 14px;
    margin-right: 15px;
    position: relative;
    font-weight: 500;
}

.live-timeline-date::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    width: 1px;
    background-color: #ccc;
}

.author-image {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid rgba(230, 57, 70, 0.2);
    object-fit: cover;
}

.author-link {
    color: #666;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.author-link:hover {
    color: #e63946;
    text-decoration: underline;
}

.live-timeline-title {
    font-weight: 600;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.8;
}

.live-timeline-content-text {
    color: #333;
}

.live-timeline-content-text p {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.live-timeline-content-text a {
    color: #e63946;
    text-decoration: none;
}

.live-timeline-content-text a:hover {
    text-decoration: underline;
}

.live-timeline-content-text ol {
    list-style-type: decimal;
    margin-left: 20px;
    padding-left: 20px;
    margin-bottom: 12px;
    line-height: 1.8;
}

.live-timeline-content-text ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 20px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.live-timeline-content-text li {
    margin-bottom: 8px;
    line-height: 1.8;
    color: #333;
}

.live-news-badge {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #e63946;
    background-color: #fff0f0;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(230, 57, 70, 0.2);
}

.live-ended {
    color: #666;
    background-color: #f5f5f5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.live-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e63946;
    box-shadow: 0 0 0 rgba(230, 57, 70, 0.7);
    animation: pulse 0.8s infinite;
    display: inline-block;
}

.no-news {
    color: #666;
    font-style: italic;
    padding: 10px 0;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(230, 57, 70, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
    }
}

/* ---------------------------------- */
/******* Photo Gallery Styles *********/
/* --------------------------------  */
.photo-gallery-container {
    margin: 0;
    width: 100%;
    background-color: #ffffff;
}

.photo-gallery-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 25px;
}

.photo-gallery-item:last-child {
    border-bottom: none;
}

.photo-gallery-image-container {
    position: relative;
    background-color: #f8f8f8;
    margin-bottom: 0;
    overflow: hidden;
}

/* Image wrapper to handle border-radius with zoom effect */
.photo-gallery-image-wrapper {
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.photo-gallery-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0; /* Remove border radius from image */
    transition: transform 0.3s ease;
}

.photo-gallery-image:hover {
    transform: scale(1.02);
}

/* Enhanced counter styles */
.photo-gallery-counter {
    padding: 10px 15px;
    background-color: #f2f2f2;
    color: #333;
    font-size: 18px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-gallery-counter-current {
    font-weight: 700;
    color: #1a73e8;
    font-size: 22px;
    margin-right: 3px;
}

.photo-gallery-counter-total {
    font-size: 18px;
    margin-left: 3px;
}

.photo-gallery-content {
    padding: 20px 15px;
    line-height: 1.6;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.photo-gallery-paragraph {
    color: #000000;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ---------------------------------- */
/***** New Article Share Button *******/
/* --------------------------------  */
.share-btn {
    background: #006eb7;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s ease;
}

.share-btn:hover {
    background: #005a9a;
    color: white;
}

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