/* BMB Interior Pages Styles */

/* General Interior Layout */
.bmb-interior {
    padding: 60px 0;
    background-color: #fff;
}

.content-wrapper,
.page-wrapper,
.single-wrapper,
.archive-wrapper,
.error-404-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Headers */
.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    font-family: "Barlow", sans-serif;
    font-size: 48px;
    font-weight: 300;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 20px;
}

.archive-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Entry Headers */
.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-family: "Barlow", sans-serif;
    font-size: 36px;
    font-weight: 300;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.entry-title a:hover {
    color: #472ca8;
}

/* Meta Information */
.entry-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-label {
    font-weight: 500;
}

/* Content Areas */
.entry-content,
.entry-summary,
.page-content {
    line-height: 1.8;
    color: #444;
}

.entry-content h2,
.page-content h2 {
    font-size: 30px;
    margin: 40px 0 20px;
}

.entry-content h3,
.page-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
}

/* Thumbnails */
.post-thumbnail,
.page-thumbnail {
    margin-bottom: 30px;
    text-align: center;
}

.post-thumbnail img,
.page-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Posts Layout */
.posts-container,
.archive-posts {
    display: grid;
    gap: 40px;
    margin-bottom: 60px;
}

.post-item,
.archive-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.post-item:hover,
.archive-item:hover {
    transform: translateY(-2px);
}

.post-item .post-thumbnail,
.archive-item .post-thumbnail {
    margin: 0;
}

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 0 auto;
}

.single-post .entry-meta {
    justify-content: center;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* Entry Footer */
.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tags-links {
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    background: #472ca8;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background: #5a3bb8;
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: #472ca8;
    color: white;
}

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

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

.nav-title {
    font-weight: 500;
    color: #333;
}

/* 404 Page */
.error-404-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.error-message {
    margin: 40px 0;
}

.error-search {
    margin: 40px 0;
}

.error-widgets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 60px 0;
    text-align: left;
}

.error-widget h3 {
    margin-bottom: 20px;
}

.error-widget ul {
    list-style: none;
}

.error-widget li {
    margin-bottom: 10px;
}

.error-widget a {
    color: #472ca8;
    text-decoration: none;
}

.error-widget a:hover {
    text-decoration: underline;
}

.back-home-btn {
    display: inline-block;
    background: #472ca8;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 40px;
}

.back-home-btn:hover {
    background: #5a3bb8;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bmb-interior {
        padding: 40px 0;
    }

    .page-title {
        font-size: 36px;
    }

    .entry-title {
        font-size: 28px;
    }

    .post-item,
    .archive-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .entry-meta {
        flex-direction: column;
        gap: 10px;
    }

    .error-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .nav-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .content-wrapper,
    .page-wrapper,
    .single-wrapper,
    .archive-wrapper,
    .error-404-wrapper {
        padding: 0 15px;
    }

    .page-title {
        font-size: 28px;
    }

    .entry-title {
        font-size: 24px;
    }
}