/* General container for RSS feed */
.rss-to-html {
    line-height: 1.6;
    color: #333;
    margin: 0 auto;
    padding: 20px;
}

/* Channel title styling */
.rss-channel-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    display: none;
}

/* Channel description styling */
.rss-channel-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    display: none;
}

/* List of items */
.rss-item-list {
    list-style-type: none;
    padding: 0;
}

/* Individual item styling */
.rss-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
}

/* Item title and link */
.rss-item-title {
    font-size: 1.325rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.rss-item-title a {
    text-decoration: none;
}

.rss-item-title a:hover {
    text-decoration: underline;
}


/* Publication date */
.rss-item-pubdate {
    font-size: .9rem;
    color: #707070;
    margin-bottom: 4px;
    text-transform: uppercase;
}

/* Categories styling */
.rss-item-categories {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.rss-item-categories .rss-category {
    display: inline-block;
    background-color: #e3f2fd;
    color: #0277bd;
    padding: 3px 8px;
    border-radius: 3px;
    margin-right: 5px;
    font-size: 13px;
}

/* Item image */
.rss-item-image {
    overflow: hidden;
    max-height: 250px;
    min-height: 250px;
    display: flex;
    margin-bottom: 15px;
}

.rss-item-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    object-fit: cover;
    object-position: top;
    min-height: 250px;
}

/* Item description */
.rss-item-description {
    font-size: .9rem;
    color: #555;
}

/* Read More link */
.rss-read-more {
    display: inline;
    text-decoration: none;
}

.rss-read-more:hover {
    text-decoration: underline;
}


@media screen and (min-width: 768px) {
    .rss-item-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .rss-item {
        width: 30%;
    }
}