/* Professional Single Post Template Styles */

/* Global Variables */
:root {
    --post-primary-color: #fe0000;
    --post-primary-light: #fe000020;
    --post-primary-dark: #fe0000dd;
    --content-max-width: 1200px;
    --sidebar-width: 320px;
    --content-width: calc(var(--content-max-width) - var(--sidebar-width) - 60px);
}

/* Post Hero Section */
.post-hero {
    position: relative;
    min-height: 60vh;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.post-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.post-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 60px 20px;
}

.hero-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

/* Breadcrumb */
.post-breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    opacity: 0.9;
}

.post-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.post-breadcrumb a:hover {
    opacity: 0.8;
}

.post-breadcrumb .separator {
    margin: 0 10px;
    opacity: 0.6;
}

.post-breadcrumb .current {
    opacity: 0.7;
}

/* Post Meta Header */
.post-meta-header {
    margin-bottom: 30px;
}

.post-category-badge {
    display: inline-block;
    margin-bottom: 20px;
}

.post-category-badge a {
    background: var(--post-primary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.post-category-badge a:hover {
    background: var(--post-primary-dark);
}

.post-meta-details {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 15px;
    opacity: 0.9;
}

.post-meta-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta-details svg {
    opacity: 0.8;
}

.post-meta-details a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-meta-details a:hover {
    color: var(--post-primary-color);
}

.meta-separator {
    opacity: 0.6;
}

/* Post Title */
.post-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Post Excerpt */
.post-excerpt {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 800px;
}

/* Post Content Wrapper */
.post-content-wrapper {
    background: #fff;
    padding: 80px 0;
}

.post-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.post-content-grid {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: 60px;
    align-items: start;
}

/* Main Content Styles */
.post-main-content {
    min-width: 0; /* Prevents flex overflow */
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 60px;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #000;
    font-weight: 700;
    margin: 40px 0 20px;
    line-height: 1.3;
}

.post-content h1 { font-size: 32px; }
.post-content h2 { font-size: 28px; }
.post-content h3 { font-size: 24px; }
.post-content h4 { font-size: 20px; }
.post-content h5 { font-size: 18px; }
.post-content h6 { font-size: 16px; }

.post-content p {
    margin-bottom: 24px;
}

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

.post-content li {
    margin-bottom: 8px;
}

.post-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid var(--post-primary-color);
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 20px;
    color: #555;
    border-radius: 0 8px 8px 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.post-content a {
    color: var(--post-primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.post-content a:hover {
    border-bottom-color: var(--post-primary-color);
}

.post-content code {
    background: #f1f3f4;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    color: #d73a49;
}

.post-content pre {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
    border-left: 4px solid var(--post-primary-color);
}

.post-content pre code {
    background: none;
    padding: 0;
    color: #333;
}

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

.post-tags-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tag {
    background: #f8f9fa;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.post-tag:hover {
    background: var(--post-primary-color);
    color: #fff;
    border-color: var(--post-primary-color);
    transform: translateY(-2px);
}

/* Social Share Section */
.social-share-section {
    border-top: 1px solid #e9ecef;
    padding-top: 30px;
}

.social-share-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.social-share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-btn.twitter {
    background: #1da1f2;
    color: #fff;
}

.share-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.share-btn.linkedin {
    background: #0077b5;
    color: #fff;
}

.share-btn.email {
    background: #333;
    color: #fff;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Sidebar Styles */
.post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.sidebar-widget h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--post-primary-color);
    border-radius: 2px;
}

/* Table of Contents */
.toc-widget #table-of-contents {
    font-size: 14px;
}

.toc-widget #table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-widget #table-of-contents li {
    margin-bottom: 8px;
}

.toc-widget #table-of-contents a {
    color: #666;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 10px;
}

.toc-widget #table-of-contents a:hover,
.toc-widget #table-of-contents a.active {
    color: var(--post-primary-color);
    border-left-color: var(--post-primary-color);
}

/* Author Widget */
.author-widget .author-info {
    display: flex;
    gap: 15px;
}

.author-widget .author-avatar {
    flex-shrink: 0;
}

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

.author-widget .author-details h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.author-widget .author-details h4 a {
    color: #000;
    text-decoration: none;
}

.author-widget .author-details h4 a:hover {
    color: var(--post-primary-color);
}

.author-widget .author-details p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.view-posts-btn {
    background: var(--post-primary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.view-posts-btn:hover {
    background: var(--post-primary-dark);
}

/* Categories Widget */
.categories-widget .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-widget .category-list li {
    margin-bottom: 12px;
}

.categories-widget .category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.categories-widget .category-list a:hover {
    background: var(--post-primary-light);
    border-color: var(--post-primary-color);
}

.category-name {
    font-weight: 600;
}

.category-count {
    font-size: 12px;
    color: #666;
    background: #f1f3f4;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Author Bio Section */
.author-bio-section {
    background: #f8f9fa;
    padding: 80px 20px;
}

.author-bio-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.author-bio-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: center;
}

.author-bio-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--post-primary-light);
}

.author-bio-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000;
}

.author-bio-content h3 span {
    color: var(--post-primary-color);
}

.author-bio-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.author-bio-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.author-bio-stats .stat {
    text-align: center;
}

.author-bio-stats .stat strong {
    display: block;
    font-size: 24px;
    color: var(--post-primary-color);
    font-weight: 700;
}

.author-bio-stats .stat span {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-bio-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--post-primary-color);
    color: #fff;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.author-bio-btn:hover {
    background: var(--post-primary-dark);
    transform: translateY(-2px);
}

/* Related Posts Section */
.related-posts-section {
    background: #fff;
    padding: 80px 20px;
}

.related-posts-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.related-posts-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #000;
    position: relative;
}

.related-posts-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--post-primary-color), #ff4444);
    border-radius: 2px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.related-post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.related-post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

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

.related-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.related-post-category {
    background: var(--post-primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.related-post-date {
    font-size: 14px;
    color: #666;
}

.related-post-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.related-post-content h3 a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h3 a:hover {
    color: var(--post-primary-color);
}

.related-post-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--post-primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.read-more-link:hover {
    gap: 12px;
}

.no-related-posts {
    text-align: center;
    color: #666;
    font-style: italic;
    grid-column: 1 / -1;
    padding: 40px;
}

/* Comments Section */
.comments-section {
    background: #f8f9fa;
    padding: 80px 20px;
}

.comments-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

/* WordPress Comments Styling */
.comments-area {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.comments-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
    position: relative;
    padding-bottom: 15px;
}

.comments-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--post-primary-color), #ff4444);
    border-radius: 2px;
}

/* Comment List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    margin-bottom: 40px;
    position: relative;
}

.comment-list .children {
    list-style: none;
    margin: 30px 0 0 60px;
    padding: 0;
    border-left: 3px solid #e9ecef;
    padding-left: 30px;
}

/* Individual Comment */
.comment-body {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.comment-body:hover {
    background: #f1f3f4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Comment Author */
.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author .avatar {
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comment-author .fn {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

.comment-author .fn:hover {
    color: var(--post-primary-color);
}

.comment-author .says {
    display: none;
}

/* Comment Meta */
.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.comment-metadata a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-metadata a:hover {
    color: var(--post-primary-color);
}

.comment-edit-link {
    color: var(--post-primary-color) !important;
    font-weight: 600;
}

/* Comment Content */
.comment-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.comment-content p {
    margin-bottom: 15px;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

/* Comment Reply */
.reply {
    text-align: right;
}

.comment-reply-link {
    background: var(--post-primary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.comment-reply-link:hover {
    background: var(--post-primary-dark);
    transform: translateY(-2px);
}

.comment-reply-link::after {
    content: '↵';
    font-size: 12px;
}

/* Comment Form */
.comment-respond {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.comment-reply-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #000;
    position: relative;
    padding-bottom: 15px;
}

.comment-reply-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--post-primary-color);
    border-radius: 2px;
}

.comment-reply-title small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-top: 5px;
}

.comment-reply-title small a {
    color: var(--post-primary-color);
    text-decoration: none;
}

/* Comment Form Fields */
.comment-form {
    display: grid;
    gap: 20px;
}

.comment-form-comment {
    grid-column: 1 / -1;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    display: flex;
    flex-direction: column;
}

.comment-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--post-primary-color);
    box-shadow: 0 0 0 3px var(--post-primary-light);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Comment Form Cookies */
.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--post-primary-color);
}

/* Submit Button */
.form-submit {
    text-align: right;
    margin-top: 10px;
}

.submit {
    background: linear-gradient(135deg, var(--post-primary-color), var(--post-primary-dark));
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.submit:active {
    transform: translateY(-1px);
}

/* Comment Navigation */
.comment-navigation {
    margin: 40px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    flex: 1;
}

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

.comment-navigation a {
    color: var(--post-primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.comment-navigation a:hover {
    color: var(--post-primary-dark);
}

/* No Comments Message */
.no-comments {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-comments h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.no-comments p {
    font-size: 16px;
    margin-bottom: 0;
}

/* Comments Closed Message */
.comments-closed {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Pingbacks & Trackbacks */
.pingback,
.trackback {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.pingback .comment-body,
.trackback .comment-body {
    background: transparent;
    padding: 0;
}

.pingback .comment-author .fn,
.trackback .comment-author .fn {
    color: #856404;
}

/* Comment Awaiting Moderation */
.comment-awaiting-moderation {
    background: #d1ecf1;
    color: #0c5460;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    margin: 10px 0;
    border-left: 4px solid #bee5eb;
}

/* Comment Threading Lines */
.comment-list .children .comment::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

/* Highlight Author Comments */
.bypostauthor > .comment-body {
    background: var(--post-primary-light);
    border: 2px solid var(--post-primary-color);
    position: relative;
}

.bypostauthor > .comment-body::after {
    content: 'Author';
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--post-primary-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --content-max-width: 900px;
        --sidebar-width: 280px;
    }
    
    .post-content-grid {
        gap: 40px;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .post-hero {
        min-height: 50vh;
    }
    
    .post-hero-content {
        padding: 40px 15px;
    }
    
    .post-content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .post-sidebar {
        position: static;
        order: -1;
    }
    
    .post-content-wrapper {
        padding: 60px 0;
    }
    
    .post-container {
        padding: 0 15px;
    }
    
    .post-meta-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .social-share-buttons {
        justify-content: center;
    }
    
    .share-btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }
    
    .author-bio-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }
    
    .author-bio-stats {
        justify-content: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-posts-section,
    .author-bio-section,
    .comments-section {
        padding: 60px 15px;
    }
    
    /* Comments Mobile Styles */
    .comments-area {
        padding: 30px 20px;
    }
    
    .comment-respond {
        padding: 30px 20px;
    }
    
    .comment-list .children {
        margin-left: 30px;
        padding-left: 20px;
    }
    
    .comment-form {
        grid-template-columns: 1fr;
    }
    
    .comment-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .reply {
        text-align: left;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .post-hero {
        min-height: 40vh;
    }
    
    .post-title {
        font-size: clamp(24px, 6vw, 36px);
    }
    
    .post-excerpt {
        font-size: 16px;
    }
    
    .post-content {
        font-size: 16px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .author-bio-card {
        padding: 25px;
    }
    
    .author-bio-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .author-bio-stats {
        gap: 20px;
    }
    
    .related-post-content {
        padding: 20px;
    }
    
    .social-share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        min-width: auto;
    }
    
    /* Comments Ultra Mobile Styles */
    .comments-area {
        padding: 25px 15px;
    }
    
    .comment-respond {
        padding: 25px 15px;
    }
    
    .comment-body {
        padding: 20px 15px;
    }
    
    .comment-list .children {
        margin-left: 20px;
        padding-left: 15px;
    }
    
    .comment-reply-link {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        padding: 12px 15px;
        font-size: 16px; /* Prevent iOS zoom */
    }
    
    .submit {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
    }
    
    .form-submit {
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .post-hero,
    .post-sidebar,
    .social-share-section,
    .author-bio-section,
    .related-posts-section,
    .comments-section {
        display: none;
    }
    
    .post-content-grid {
        grid-template-columns: 1fr;
    }
    
    .post-content-wrapper {
        padding: 20px 0;
    }
}