/* Wrapper Layouts */
.rss-feed-wrapper-aeff0afe {
    display: grid;
    gap: 20px;
}

/* List Layout Override */
.rss-layout-list .rss-feed-wrapper-aeff0afe {
    display: flex;
    flex-direction: column;
}

.rss-layout-list .rss-feed-item-aeff0afe {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.rss-layout-list .rss-feed-item-image-aeff0afe {
    flex: 0 0 30%;
    max-width: 300px;
}

@media (max-width: 767px) {
    .rss-layout-list .rss-feed-item-aeff0afe {
        flex-direction: column;
    }
    .rss-layout-list .rss-feed-item-image-aeff0afe {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Card Styling */
.rss-feed-item-aeff0afe {
    background-color: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Image */
.rss-feed-item-image-aeff0afe {
    width: 100%;
    overflow: hidden;
}

.rss-feed-item-image-aeff0afe img {
    width: 100%;
    height: 200px; /* Default, changeable via controls */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.rss-feed-item-aeff0afe:hover .rss-feed-item-image-aeff0afe img {
    transform: scale(1.05);
}

/* Content Area */
.rss-feed-item-content-aeff0afe {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Icon */
.rss-feed-item-icon-aeff0afe {
    color: #e88b20; /* Default RSS orange */
    font-size: 24px;
    margin-bottom: 10px;
    display: inline-block;
}

.rss-feed-item-icon-aeff0afe svg {
    width: 24px;
    height: 24px;
    fill: #e88b20;
}

/* Title */
.rss-feed-item-title-aeff0afe {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    line-height: 1.3;
}

.rss-feed-item-title-aeff0afe a {
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rss-feed-item-title-aeff0afe a:hover {
    color: #0073aa;
}

/* Meta / Date */
.rss-feed-item-meta-aeff0afe {
    color: #888888;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Excerpt */
.rss-feed-item-excerpt-aeff0afe {
    color: #555555;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Button */
.rss-feed-item-button-aeff0afe {
    margin-top: auto;
}

.rss-feed-item-button-aeff0afe a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.rss-feed-item-button-aeff0afe a:hover {
    background-color: #005177;
    color: #ffffff;
}