/*
 * Blog Page Styles
 */

.blog-container {
    margin-top: 40px;
}

/* Blog Posts */
.blog-post {
    background-color: #fff;
    border: 1px solid #e9e9e9;
    margin-bottom: 40px;
    transition: box-shadow 0.3s ease;
    border-radius: 5px;
    overflow: hidden;
}

.blog-post:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 30px;
}

.post-title {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 10px;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #00c8ff; /* Main theme color */
}

.post-meta {
    margin-bottom: 20px;
    color: #888;
    font-size: 14px;
}

.post-meta span {
    margin-right: 15px;
}

.post-meta i {
    margin-right: 5px;
    color: #00c8ff;
}

.post-meta a {
    color: #888;
    text-decoration: none;
}

.post-meta a:hover {
    color: #333;
}

.post-content p {
    line-height: 1.7;
    color: #666;
}

.post-content .prt_btn {
    margin-top: 20px;
}

/* Sidebar */
.sidebar .widget {
    background-color: #fff;
    padding: 25px;
    border: 1px solid #e9e9e9;
    margin-bottom: 30px;
    border-radius: 5px;
}

.sidebar .widget-title {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9e9e9;
    position: relative;
}

.sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 1px;
    background-color: #00c8ff;
}

/* Search Widget */
.widget-search .search-form {
    position: relative;
}

.widget-search input[type="search"] {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.widget-search input[type="search"]:focus {
    border-color: #00c8ff;
    outline: none;
}

.widget-search button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
}

/* Categories & Recent Posts Widget */
.widget-categories ul,
.widget-recent-posts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-categories li,
.widget-recent-posts li {
    padding: 8px 0;
    border-bottom: 1px dotted #eee;
}

.widget-categories li:last-child,
.widget-recent-posts li:last-child {
    border-bottom: none;
}

.widget-categories a {
    text-decoration: none;
    color: #666;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s ease;
}

.widget-categories a:hover {
    color: #00c8ff;
}

.widget-recent-posts a {
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.widget-recent-posts a:hover {
    color: #00c8ff;
}

.widget-recent-posts .post-date {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-top: 4px;
}

/* Widget Descriptions */
.widget-description {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 15px;
    padding: 0;
}