/* post-page.css */

.post-wrapper {
    padding: 20px;
}

.post-title h2 {
    font-size: 26px;
    line-height: 1.6;
    text-align: center;
    margin: 10px 0;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
}

.post-meta {
    font-size: 14px;
    margin-bottom: 15px;
}

.post-meta ul {
    padding: 0;
    list-style: none;
}

.post-meta li {
    display: inline-block;
    margin-left: 15px;
}

.post-text {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 15px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .post-title h2 {
        font-size: 20px;
    }

    .post-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .post-meta li {
        display: block;
        margin: 5px 0;
    }
}

.similar-posts-section .panel-title {
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
    text-align: right;
}

.post-widget-col {
    margin-bottom: 15px;
}

.similar-posts-section .carousel-control {
    background: none;
    color: #333;
    font-size: 24px;
}

@media (max-width: 768px) {
    .post-widget-col {
        padding-left: 5px;
        padding-right: 5px;
    }

    .similar-posts-section .panel-title {
        font-size: 16px;
    }
}

/* PostWidget */
.post-widget {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .post-widget:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        text-decoration: none;
    }

    .post-widget a {
        text-decoration: none;
        color: #333;
        display: block;
        padding: 10px;
    }

.post-thumbnail {
    width: 100%;
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .post-thumbnail img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        border-radius: 4px;
    }

.post-title-trimmed {
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    text-align: center;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
}


