/* 
Don't want to use sass and simply modify the stylesheet in the old css fashion? 
Just customize your theme here.
================================================== */

.article-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c3e50;
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.post-content {
    margin-top: 2rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2, .post-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.post-tags {
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.tag-link {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tag-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Code blocks styling */
.post-content pre {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 1rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

/* Blockquote styling */
.post-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #555;
    font-style: italic;
}

/* Images styling */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1.5rem 0;
}

/* Previous/Next Navigation */
.PageNavigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.prev-post, .next-post {
    max-width: 50%;
}

.next-post {
    text-align: right;
}

.thepostlink {
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.thepostlink:hover {
    color: #3498db;
}

.thepostlink span {
    font-size: 1.2em;
    vertical-align: middle;
}

/* Author Box */
.author-box {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 2rem 0;
}

.author-avatar {
    flex: 0 0 100px;
    margin-right: 2rem;
}

.author-thumb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.author-name a {
    color: #2c3e50;
    text-decoration: none;
}

.btn.follow {
    padding: 0.25rem 1rem;
    font-size: 0.9rem;
    background: #3498db;
    color: white;
    border-radius: 20px;
    transition: background 0.2s ease;
}

.btn.follow:hover {
    background: #2980b9;
    text-decoration: none;
}

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

/* Featured Image styling */
.featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 2rem;
}
/* Contact Page Styles */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-form {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.contact-form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-form .form-control {
    border: 1px solid #e9ecef;
    padding: 0.8rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52,152,219,0.25);
}

.contact-form .btn-primary {
    background-color: #3498db;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: #2980b9;
}

.contact-detail-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-detail-box i {
    font-size: 2rem;
    color: #3498db;
}

.contact-detail-box h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-detail-box p {
    color: #666;
    margin-bottom: 0;
}

.contact-btn {
    align-items: center;
    background-color: #fee6e3;
    border: 2px solid #111;
    border-radius: 8px;
    box-sizing: border-box;
    color: #111;
    cursor: pointer;
    display: flex;
    font-family: Inter, sans-serif;
    font-size: 16px;
    height: 48px;
    justify-content: center;
    line-height: 24px;
    width: 100%;
    padding: 0.5rem;
    max-width: 300px;
    margin: 0 auto;
}

.contact-btn:after {
    background-color: #111;
    border-radius: 8px;
    content: "";
    display: block;
    height: 48px;
    left: 0;
    width: 100%;
    position: absolute;
    top: -2px;
    transform: translate(8px, 8px);
    transition: transform .2s ease-out;
    z-index: -1;
}

.contact-btn:hover:after {
    transform: translate(0, 0);
}

.contact-btn:active {
    background-color: #ffdeda;
    outline: 0;
}

.contact-btn:hover {
    outline: 0;
    color: #111;
    text-decoration: none;
}

.contact-btn i {
    margin-right: 8px;
}

@media (min-width: 768px) {
    .contact-btn {
        padding: 0 40px;
    }
}

@media (max-width: 576px) {
    .contact-btn {
        font-size: 0.9rem;
        padding: 0.4rem;
    }
}

.btn-small {
    padding: 0rem;
    font-size: 0.8rem;
    border-radius: 5px;
    background: transparent;
    color: #000;
    border: 1px solid #000;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    display: inline-flex;
}

.btn-small:hover {
    background: #000;
    color: #fff;
}

.btn-small i {
    margin: 0;
    font-size: 1rem;
}

/* Add hover effect for latest posts */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
    padding: 1.5rem; /* Increased padding for card */
}

.card:hover {
    transform: translateY(-5px); /* Slight lift effect */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

/* Pagination Styles */
.bottompagination {
    display: flex;
    justify-content: center;
    padding: 1em;
}

.pagination-navigation {
    display: flex;
    gap: 0.5em;
    font-family: Arial, sans-serif;
}

.page-number, .prev-page, .next-page {
    padding: 0.5em 1em;
    text-decoration: none;
    color: #000; /* Black text color */
    border: 1px solid #000; /* Black border */
    border-radius: 5px;
    transition: background-color 0.2s, color 0.2s;
    background-color: #fff; /* White background */
}

.page-number:hover, .prev-page:hover, .next-page:hover {
    background-color: #000; /* Black background on hover */
    color: #fff; /* White text on hover */
}

.current-page {
    padding: 0.5em 1em;
    background-color: #000; /* Black background for active page */
    color: #fff; /* White text for active page */
    font-weight: bold;
    border-radius: 5px;
}

.page-dots {
    padding: 0.5em;
    color: #666; /* Gray color for dots */
}

.category-section {
    scroll-margin-top: 2rem;
}
.post-entry:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
}
.category-list {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
}