/* Single Post & Page Styles */

/* Page Hero Section */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.page-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 60px 20px;
    max-width: 800px;
}

.page-hero-content .page-title {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

/* Content Wrapper */
.content-wrapper {
    max-width: none;
    background-color: #ecece7;
    padding: 60px 20px;
    margin-top: 0;
}

.page-content,
.single-post,
.single-product {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.entry-header {
    margin-bottom: 30px;
    padding: 40px 40px 0;
}

.entry-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.entry-title a {
    color: inherit;
}

.entry-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.entry-meta span {
    display: inline-block;
}

.posted-on time {
    color: #999;
}

.cat-links a {
    color: #d4a574;
    padding: 4px 10px;
    background-color: rgba(212,165,116,0.1);
    border-radius: 4px;
    font-size: 13px;
}

.page-thumbnail,
.post-thumbnail {
    margin-bottom: 30px;
    padding: 0 40px;
}

.page-thumbnail img,
.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.entry-content {
    line-height: 1.8;
    font-size: 16px;
    padding: 0 40px 40px;
}

.entry-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.entry-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #333;
}

.entry-content h4 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: #333;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content blockquote {
    border-left: 4px solid #d4a574;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

.entry-content img {
    border-radius: 8px;
    margin: 30px 0;
}

/* Post Tags */
.post-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.tags-title {
    font-weight: bold;
    margin-right: 10px;
    color: #333;
}

.post-tags a {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-size: 14px;
    margin-right: 8px;
    margin-bottom: 8px;
    color: #666;
    transition: background-color 0.3s ease;
}

.post-tags a:hover {
    background-color: #d4a574;
    color: #fff;
    opacity: 1;
}

/* Post Navigation */
.post-navigation {
    margin: 50px 0;
    padding: 30px 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;
}

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

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

.nav-title {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

/* Comments */
.comments-section {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.comments-area {
    margin-top: 40px;
}

.comments-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.comment-list {
    list-style: none;
    margin-bottom: 30px;
}

.comment {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #d4a574;
}

.comment-author {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.comment-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.comment-content {
    margin-top: 15px;
    line-height: 1.8;
}

.comment-form {
    margin-top: 40px;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #d4a574;
}

/* Product Price */
.product-price {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.price-label {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.price-value {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .page-content,
    .single-post,
    .single-product {
        padding: 40px 15px;
    }

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

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

    .nav-next {
        text-align: left;
    }

    .price-value {
        font-size: 20px;
    }
}

