/* Blog Page Specific Styles */

.blog-hero {
    background-color: #f9f9f9;
    text-align: center;
    padding: 60px 0;
}

.blog-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.blog-hero p {
    font-size: 1.2rem;
    color: #666666;
}

.blog-posts {
    padding: 60px 0;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.post-card a {
    text-decoration: none;
    color: inherit;
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-header {
    padding: 25px;
}

.post-content {
    padding: 0 25px 25px;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.post-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-top: 15px;
}

.post-meta {
    font-weight: 600;
    color: #007bff;
}

/* Single Post Styles */
.blog-post-single .post-header {
    text-align: center;
    margin-bottom: 30px;
}

.blog-post-single .post-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.blog-post-single .post-meta {
    font-size: 1rem;
    color: #666666;
}

.blog-post-single .post-featured-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto 40px;
    display: block;
    border-radius: 8px;
}

.blog-post-single .post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-single .post-content h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-post-single .post-content h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post-single .post-content ul {
    padding-left: 20px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 30px;
}

.related-posts ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.related-posts li {
    margin-bottom: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Table Styles */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    background-color: #007bff;
    color: #ffffff;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #007bff;
}

/* FAQ Accordion */
.faq-accordion .faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-accordion .faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 18px 0;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-accordion .faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    color: #007bff;
    transition: transform 0.3s;
}

.faq-accordion .faq-question.active::after {
    transform: rotate(45deg);
}

.faq-accordion .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 10px;
}
