/* Simple Recent Posts Styles */

/* Common Styles */
.srp-container {
    margin-bottom: 20px;
    font-family: inherit;
}
.srp-title {
    margin-bottom: 15px;
}
ul.srp-posts {
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.srp-posts li {
    list-style: none;
    margin-bottom: 15px;
}
.srp-post-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    line-height: 1.3;
}
.srp-post-title a {
    text-decoration: none;
    color: inherit;
}
.srp-time {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}
.srp-excerpt {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}
.srp-readmore-btn {
    display: inline-block;
    padding: 5px 12px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    border-radius: 3px;
    transition: 0.2s;
}
.srp-readmore-btn:hover {
    background: #005177;
    color: #fff;
}
.srp-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.srp-no-thumb {
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 12px;
    border-radius: 4px;
}

/* List Layout */
.srp-list .srp-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.srp-list .srp-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.srp-list .srp-thumbnail {
    flex-shrink: 0;
}
.srp-list .srp-content {
    flex-grow: 1;
}

/* Grid Layout */
.srp-grid ul.srp-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.srp-grid .srp-item {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}
.srp-grid .srp-thumbnail {
    width: 100%;
}
.srp-grid .srp-thumbnail img, .srp-grid .srp-no-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0;
}
.srp-grid .srp-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.srp-grid .srp-excerpt {
    flex-grow: 1;
}
