/* ==========================================================================
   Backstube Posts Widget — Frontend Styles
   ========================================================================== */

/* ---------- Wrapper ---------- */
.bpw-wrapper {
    font-family: inherit;
}

/* ---------- Header ---------- */
.bpw-header {
    text-align: center;
    margin-bottom: 40px;
}

.bpw-header__title {
    font-size: 45px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #1a3a5c;
    margin: 0 0 8px;
    line-height: 1.15;
}

.bpw-header__subtitle {
    font-size: 23px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6ab04c;
    margin: 0;
}

/* ---------- Posts list ---------- */
.bpw-posts-list {
    display: flex;
    flex-direction: column;
}

/* ---------- Single post item ---------- */
.bpw-post-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
}

.bpw-post-item + .bpw-post-item {
    margin-top: 32px;
}

/* ---------- Thumbnail ---------- */
.bpw-post__thumbnail-wrap {
    width: 200px;
    flex-shrink: 0;
}

.bpw-post__thumbnail {
    border: 3px solid #6ab04c;
    border-radius: 6px;
    overflow: hidden;
    border-style: solid;
    display: block;
    line-height: 0;
}

.bpw-post__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.bpw-post__thumbnail:hover img {
    transform: scale(1.03);
}

/* ---------- Post content ---------- */
.bpw-post__content {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.bpw-post__title {
    font-size: 1.15rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 10px !important;
    line-height: 1.3;
    text-decoration: none !important;
}

.bpw-post__title a {
    color: #1a3a5c;
    text-decoration: none;
    transition: color 0.2s ease;
    text-decoration: none !important;
}
.bpw-post__title a:hover {
    color: #6ab04c;
}

.bpw-post__excerpt {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #444;
    margin: 0 0 12px;
}

.bpw-post__read-more {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #6ab04c;
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
}

.bpw-post__read-more:hover {
    color: #1a3a5c;
}

/* ---------- No posts ---------- */
.bpw-no-posts {
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 24px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .bpw-post-item {
        flex-direction: column;
        gap: 14px;
    }

    .bpw-post__thumbnail-wrap {
        width: 100%;
    }

    .bpw-post__thumbnail {
        max-height: 220px;
        overflow: hidden;
    }
}
