/* Blog-specific styles */

/* Blog Header */
.blog-header {
    background: #13263d;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo {
    height: 40px;
    width: auto;
    border-radius: 6px;
}

.site-name {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #8fa1b3;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Blog Hero */
.blog-hero {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #35516d, #899db1);
    color: white;
    margin-bottom: 40px;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.blog-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Featured Section */
.featured-section {
    margin-bottom: 50px;
}

.featured-section h2 {
    color: #13263d;
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.featured-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #35516d;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* Blog Content Layout */
.blog-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.widget {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.widget h3 {
    color: #13263d;
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid #35516d;
    padding-bottom: 10px;
}

.category-list,
.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li,
.quick-links li {
    margin-bottom: 10px;
}

.category-list a,
.quick-links a {
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.category-list a:hover,
.quick-links a:hover,
.category-list a.active {
    background: #f8f9fa;
    color: #13263d;
    transform: translateX(5px);
}

/* Posts Grid */
.posts-main {
    min-height: 600px;
}

.page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.page-header h2 {
    color: #13263d;
    margin-bottom: 10px;
}

.page-header a {
    color: #666;
    text-decoration: none;
}

.page-header a:hover {
    color: #13263d;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.category {
    background: #35516d;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.category a {
    color: inherit;
    text-decoration: none;
}

.date {
    color: #888;
}

.post-card h3 {
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-card h3 a {
    color: #13263d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card h3 a:hover {
    color: #35516d;
}

.post-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #35516d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #13263d;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.no-posts h3 {
    color: #13263d;
    margin-bottom: 15px;
}

.no-posts p {
    color: #666;
    margin-bottom: 25px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.pagination .btn {
    background: #35516d;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination .btn:hover {
    background: #13263d;
    transform: translateY(-1px);
}

/* Shared Footer Styles */
.site-footer {
    background: #13263d;
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: #8fa1b3;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #8fa1b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2a3f56;
    color: #8fa1b3;
}

.footer-tagline {
    margin-top: 5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

