.post-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--light-gray);
    padding: 0;
}

.post-title {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 48px;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.2;
}

.post-meta-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
    width: 100%;
}

.post-date-category {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--primary-font);
    font-size: 14px;
    color: var(--dark-color);
}

.post-date {
    color: var(--dark-color);
}

.post-category {
    color: var(--primary-color);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 24px;
}

.share-label {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 14px;
    color: var(--dark-color);
    margin: 0;
}

.share-icons {
    display: flex;
    gap: 16px;
}

.share-icon {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.share-icon:hover {
    opacity: 0.8;
}

/* Post Content Container */
.post-content-wrapper {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 0 auto 72px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Entry Content */
.entry-content {
    font-family: var(--primary-font);
    font-size: 18px;
    color: var(--dark-color);
    line-height: 1.6;
}

.entry-content .wp-block-image {
    margin-bottom: 0;
}

.entry-content p {
    margin: 0 0 16px 0;
    font-weight: normal;
}

.entry-content p:last-of-type {
    margin-bottom: 0;
}

.entry-content img:first-child {
    margin-top: 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
    margin: 40px auto;
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.entry-content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Related Posts Section */
.related-posts-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0 0 72px;
}

.related-posts-title {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 24px;
    color: var(--dark-color);
    margin: 0;
    max-width: 1145px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Related Post Card */
.related-post-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    height: 169px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.related-post-image {
    flex: 0 0 auto;
    width: 40%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.related-post-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.related-post-title {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 21px;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Image Container */
.featured-image-container {
    aspect-ratio: 1200 / 800;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.featured-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .post-container {
        padding: 0 30px;
    }

    .post-header {
        padding: 120px 0 0 0;
    }

    .post-title {
        font-size: 40px;
    }

    .post-content-wrapper {
        padding: 30px;
    }

    .entry-content {
        font-size: 16px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .related-post-card {
        height: auto;
        flex-direction: column;
    }

    .related-post-image {
        width: 100%;
        height: 200px;
        border-radius: 4px 4px 0 0;
    }
}

@media (max-width: 768px) {
    .post-container {
        padding: 0 20px;
    }

    .post-header {
        padding: 80px 0 0 0;
    }

    .post-title {
        font-size: 32px;
    }

    .post-meta-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .post-content-wrapper {
        padding: 20px;
        gap: 24px;
    }

    .entry-content {
        font-size: 16px;
    }

    .entry-content img {
        margin: 24px 0;
    }

    .related-posts-title {
        font-size: 20px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .related-post-card {
        height: auto;
        flex-direction: column;
    }

    .related-post-image {
        width: 100%;
        height: 200px;
        border-radius: 4px 4px 0 0;
    }

    .related-post-content {
        padding: 16px;
    }

    .related-post-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .post-container {
        padding: 0 15px;
    }

    .post-header {
        padding: 60px 0 0 0;
        margin-bottom: 20px;
    }

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

    .post-date-category {
        font-size: 12px;
    }

    .share-icons {
        gap: 12px;
    }

    .post-content-wrapper {
        padding: 15px;
        gap: 20px;
        border-radius: 2px;
    }

    .entry-content {
        font-size: 14px;
        line-height: 1.5;
    }

    .entry-content img {
        border-radius: 2px;
        margin: 16px 0;
    }

    .related-posts-section {
        margin-top: 40px;
        padding-bottom: 40px;
    }

    .related-posts-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .related-posts-grid {
        gap: 16px;
    }

    .related-post-image {
        height: 150px;
    }

    .related-post-content {
        padding: 12px;
    }

    .related-post-title {
        font-size: 16px;
    }
}
