/* wp-content/plugins/press-release/css/press-release.css */

/* Basic styles for the press release archive */

.widget {
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Pagination Styles */
.container .pagination {
    display: flex;
    justify-content: center; /* Center the pagination */
    margin: 20px 0; /* Add some margin above and below */
}

.container .pagination a,
.container .pagination span {
    display: inline-block;
    padding: 10px 15px; /* Add padding for clickable area */
    margin: 0 5px; /* Space between pagination items */
    border: 1px solid #025df4; /* Border color */
    color: #025df4; /* Text color */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

.container .pagination a:hover {
    background-color: #025df4; /* Background color on hover */
    color: #ffffff; /* Text color on hover */
}

.container .pagination .current {
    background-color: #025df4; /* Background color for current page */
    color: #ffffff; /* Text color for current page */
    border: 1px solid #025df4; /* Keep border same as background */
}

/* Button Styles */
.primary-bg {
    background-color: var(--primary-color); /* Use primary color variable */
    color: #ffffff; /* Text color */
    border: none; /* Remove default border */
    padding: 10px 20px; /* Add padding */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Change cursor on hover */
    transition: background-color 0.3s; /* Smooth transition */
}

.primary-bg:hover {
    background-color: darken(var(--primary-color), 10%);
}
.mt-5 {
    margin-top: 10px;
}

/* Author Bio Section Styles */
.author-bio-section {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.author-header h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.author-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.author-details {
    flex: 1;
}

.author-name {
    margin: 0 0 10px;
    font-size: 20px;
    color: #333;
}

.author-description {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 15px;
}

.author-social .social-link {
    color: #666;
    font-size: 18px;
    transition: color 0.3s ease;
}

.author-social .social-link:hover {
    color: #025df4;
}

/* Post Navigation Styles */
.post-navigation {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
    position: relative;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-2px);
}

.nav-subtitle {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.nav-title {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.nav-title:hover {
    color: #025df4;
}

.nav-thumbnail {
    margin-top: 10px;
}

.nav-thumbnail img {
    border-radius: 4px;
    max-width: 100px;
    height: auto;
}

/* Related Posts Styles */
.related-posts {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.related-posts h4 {
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.related-posts h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
}

.post-box.post-item {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-box.post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-inner {
    position: relative;
}

.entry-media.post-cat-abs {
    position: relative;
    overflow: hidden;
}

.entry-media.post-cat-abs img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.post-box.post-item:hover .entry-media.post-cat-abs img {
    transform: scale(1.05);
}

.inner-post {
    padding: 20px;
}

.entry-header {
    margin-bottom: 15px;
}

.entry-title {
    margin: 0;
}

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

.entry-title .title-link:hover {
    color: #025df4;
}

.entry-meta {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.entry-meta a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-meta a:hover {
    color: #025df4;
}

.entry-meta .posted-on {
    display: inline-flex;
    align-items: center;
}

.entry-meta .byline {
    display: inline-flex;
    align-items: center;
}

.entry-meta .btn-details {
    margin-left: auto;
    color: #025df4;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.entry-meta .btn-details:hover {
    transform: translateX(3px);
}

.no-related-posts {
    text-align: center;
    color: #666;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Responsive styles for related posts */
@media (max-width: 768px) {
    .related-posts .row {
        margin: 0 -10px;
    }
    
    .related-posts .col-sm-6 {
        padding: 0 10px;
    }
    
    .entry-title {
        font-size: 16px;
    }
    
    .entry-meta {
        font-size: 13px;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .author-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-social {
        justify-content: center;
    }

    .nav-links {
        flex-direction: column;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}
