/* Main Layout Container */
.single-post {
    padding: 40px 0;
}

.post-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* Author Widget */
.widget {
    text-align: center;
}

.author-widget {
    padding-bottom: 25px;
}

.author-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
}

.author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name-large {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.author-role {
    font-size: 12px;
    color: var(--text-light);
    display: block;
    margin-bottom: 15px;
}

.author-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
    padding: 0 10px;
}

.author-signature {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--text-dark);
    display: block;
    margin-bottom: 25px;
}

.follow-section {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.follow-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-light);
    display: block;
    margin-bottom: 15px;
}

.social-boxes-sidebar {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.social-box {
    width: 35px;
    height: 35px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-box:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.social-box img {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.social-box:hover img {
    opacity: 1;
    filter: brightness(0) invert(1);
}

/* Widget Title */
.widget-title {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: var(--primary-color);
}

/* Trending Widget */
.trending-item {
    display: flex;
    gap: 15px;
    text-align: left;
    margin-bottom: 20px;
}

.trending-item img {
    width: 100px;
    height: 80px;
    object-fit: cover;
}

.trending-item.small img {
    width: 60px;
    height: 60px;
}

.trending-content {
    flex: 1;
}

.trending-date {
    font-size: 10px;
    color: var(--primary-color);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.trending-content h5 {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.trending-content h5 a {
    color: var(--text-dark);
    text-decoration: none;
}

.trending-content h5 a:hover {
    color: var(--primary-color);
}

/* Categories Widget */
.category-list {
    list-style: none;
    text-align: left;
}

.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    font-size: 13px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.category-list a:hover {
    color: var(--primary-color);
}

.cat-count {
    background: var(--primary-color);
    color: var(--white);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 2px;
}

/* Newsletter Widget */
.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-input {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    font-size: 12px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.sidebar-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
}

.sidebar-btn:hover {
    background: var(--text-dark);
}

/* Promo Widget */
.promo-widget {
    position: relative;
    overflow: hidden;
}

.promo-widget img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================
   MAIN CONTENT (RIGHT SIDE)
======================== */

/* Post Header */
.post-header {
    text-align: center;
    margin-bottom: 30px;
}

.post-categories {
    margin-bottom: 15px;
}

.cat-separator {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.post-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-meta {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--text-light);
    text-transform: uppercase;
}

.post-meta .author {
    color: var(--text-dark);
    font-weight: 600;
}

.meta-separator {
    margin: 0 10px;
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 30px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content */
.post-content {
    margin-bottom: 40px;
}

.post-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.post-heading {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 30px 0 20px;
}

.post-subheading {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 30px 0 20px;
}

/* Quote Style */
.post-content>p:nth-of-type(3) {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-style: italic;
    color: var(--text-light);
    text-align: center;
    padding: 20px 40px;
    line-height: 1.8;
    position: relative;
}

.post-content>p:nth-of-type(3)::before,
.post-content>p:nth-of-type(3)::after {
    content: '"';
    font-size: 30px;
    color: var(--primary-color);
    position: absolute;
}

.post-content>p:nth-of-type(3)::before {
    top: 0;
    left: 10px;
}

.post-content>p:nth-of-type(3)::after {
    bottom: -10px;
    right: 10px;
}

/* Post Gallery */
.post-gallery {
    margin: 30px 0;
}

.gallery-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-row img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Post Tags */
.post-tags {
    margin: 30px 0;
    display: flex;
    gap: 15px;
}

.tag {
    font-size: 14px;
    color: var(--text-dark);
    text-decoration: none;
}

.tag:hover {
    color: var(--primary-color);
}

/* Post Footer */
.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-light);
}

.likes-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

.heart {
    font-size: 16px;
}

.post-share {
    display: flex;
    gap: 15px;
}

.post-share img {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.post-share img:hover {
    opacity: 1;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--bg-light);
    margin-bottom: 40px;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.author-bio {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 12px;
}

.author-social img {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.author-social img:hover {
    opacity: 1;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.nav-prev,
.nav-next {
    max-width: 45%;
}

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

.nav-label {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.4;
}

.nav-title:hover {
    color: var(--primary-color);
}

/* Related Posts */
.related-posts {
    margin-bottom: 50px;
}

.related-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

.related-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.related-item h4 a {
    color: var(--text-dark);
    text-decoration: none;
}

.related-item h4 a:hover {
    color: var(--primary-color);
}

/* Comments Section */
.comments-section {
    margin-bottom: 50px;
}

.comments-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.comment {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.comment:last-child {
    border-bottom: none;
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.comment-date {
    font-size: 11px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

.comment-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
}

.comment-reply {
    font-size: 12px;
    color: var(--text-dark);
    text-decoration: underline;
}

.comment-reply:hover {
    color: var(--primary-color);
}

/* Comment Form */
.comment-form-section {
    background: var(--bg-light);
    padding: 40px;
    text-align: center;
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.comment-form {
    max-width: 100%;
}

.form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    font-family: Arial, sans-serif;
    font-size: 13px;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    font-size: 13px;
    font-family: Arial, sans-serif;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
}

.submit-btn:hover {
    background: var(--text-dark);
}

/* ========================
   SOCIAL BAR
======================== */
.social-bar {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 100px;
}

.social-link-item img {
    width: 18px;
    opacity: 0.7;
    transition: 0.3s;
}

.social-link-item img:hover {
    opacity: 1;
}

/* ========================
   FOOTER
======================== */
.footer {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: var(--text-light);
}

.copyright {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
}