/* Shared Blog Components Styles */
/* Used by both Blog Widget and Featured Article modules */

/* === BASE BLOG ITEM STYLES === */
.blog-item {
    background: #fff;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    border: solid 1px rgba(0, 168, 191, 0.25);
    transition: all .25s ease;
}

.blog-item:hover {
    border-color: rgba(0, 168, 191, 0.75);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 191, 0.15);
}

.blog-item .entry-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* === POST META STYLES === */
.blog-item .post-meta {
    line-height: 1.2;
    color: #666;
}

.blog-item .post-meta > span {
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* === ENTRY TITLE STYLES === */
.blog-item .entry-title {
    line-height: 1.2;
}

.blog-item .entry-title a {
    color: #222;
    text-decoration: none;
}

/* === ENTRY SUMMARY STYLES === */
.blog-item .entry-details .entry-summary {
    color: #555;
}

.blog-item .entry-details a {
    margin-top: auto;
    display: inline-block;
}

/* === READ MORE BUTTON STYLES === */
.blog-item .entry-details .blog-read-more {
    text-transform: uppercase;
    font-weight: 600;
    color: #e36a4f;
    position: relative;
    align-self: flex-start;
    text-decoration: none;
}

.blog-item .entry-details .blog-read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    scale: 0 1;
    height: 2px;
    background-color: #e36a4f;
    transition: scale 0.25s ease;
    transform-origin: right;
}

.blog-item .entry-details .blog-read-more:hover::after {
    scale: 1 1;
    transform-origin: left;
}

/* === THUMBNAIL STYLES === */
.blog-item .entry-thumbnail {
    line-height: 0;
    overflow: hidden;
}

.blog-item .entry-thumbnail img {
    aspect-ratio: 16/9;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* === CATEGORY STYLES === */
.blog-item .post-category {
    margin-bottom: 0.75rem;
}

.blog-item .post-category .category-link {
    background: #00a8bf;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 100vw;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .25s ease;
}

.blog-item .post-category .category-link:hover {
    background: #008a9f;
    transform: scale(1.05);
}

/* === CATEGORY PILLS STYLES === */
.blog-category-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.blog-category-pills a {
    background: #fff;
    border-radius: 100vw;
    padding: 0.25rem 1rem;
    border: solid 2px #00a8bf;
    font-weight: 600;
    transition: all .25s ease;
}

.blog-category-pills a:hover,
.blog-category-pills a.active {
    background: #00a8bf;
    color: #fff;
} 