/* News Section Styles */
.news-section {
    padding: 80px 0;
    background-color: var(--color-background-light);
}

.news-hero {
    position: relative;
    height: 400px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../../images/gallery/yoyo-beer-garden-evening-atmosphere-01.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    border-radius: 15px;
    overflow: hidden;
}

.news-hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 20px;
}

.news-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.news-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(244, 81, 30, 0.3);
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 5px;
    color: var(--color-primary);
}

.news-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    line-height: 1.4;
}

.news-content h3 a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.news-excerpt {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.news-author span {
    font-size: 0.9rem;
    font-weight: 600;
}

.news-read-more {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.news-read-more:hover {
    color: var(--color-secondary);
}

.news-read-more i {
    transition: transform 0.3s;
}

.news-read-more:hover i {
    transform: translateX(3px);
}

/* Featured News */
.featured-news {
    margin-bottom: 50px;
}

.featured-news-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.featured-news-image {
    height: 400px;
    position: relative;
}

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

.featured-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--color-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(244, 81, 30, 0.3);
}

.featured-tag i {
    font-size: 0.8rem;
}

.featured-news-content {
    padding: 30px;
}

.featured-news-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.featured-news-content h2 a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.featured-news-content h2 a:hover {
    color: var(--color-primary);
}

.featured-news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #777;
    font-size: 0.9rem;
}

.featured-news-meta div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-news-meta i {
    color: var(--color-primary);
}

.featured-news-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.featured-news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured-news-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.featured-news-author-info {
    display: flex;
    flex-direction: column;
}

.featured-news-author-info span:first-child {
    font-weight: 600;
    color: var(--color-text-primary);
}

.featured-news-author-info span:last-child {
    font-size: 0.9rem;
    color: #777;
}

.featured-news-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.featured-news-cta:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
}

.featured-news-cta i {
    transition: transform 0.3s;
}

.featured-news-cta:hover i {
    transform: translateX(3px);
}

/* News Categories */
.news-categories {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-filter {
    padding: 8px 20px;
    border-radius: 30px;
    background-color: white;
    border: 1px solid #eee;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.category-filter:hover, .category-filter.active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.news-pagination .page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    align-items: center;
}

.news-pagination .page-numbers li {
    margin: 0;
}

.news-pagination .page-numbers a,
.news-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 12px;
    border-radius: 50%;
    background-color: white;
    color: var(--color-text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.news-pagination .page-numbers a:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 81, 30, 0.3);
    border-color: var(--color-primary);
}

.news-pagination .page-numbers .current {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(244, 81, 30, 0.4);
}

.news-pagination .page-numbers .prev,
.news-pagination .page-numbers .next {
    width: auto;
    min-width: auto;
    padding: 0 18px;
    border-radius: 25px;
    font-size: 0.9rem;
}

.news-pagination .page-numbers .prev i,
.news-pagination .page-numbers .next i {
    font-size: 0.8rem;
}

.news-pagination .page-numbers .dots {
    background: none;
    box-shadow: none;
    color: #999;
    cursor: default;
    border: none;
}

.news-pagination .page-numbers .dots:hover {
    background: none;
    transform: none;
    box-shadow: none;
    color: #999;
}

/* News Detail Page */
.news-detail-section {
    padding: 80px 0;
    background-color: var(--color-background-light);
}

.news-detail-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.news-detail-content {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-detail-header {
    margin-bottom: 30px;
}

.news-detail-category {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-detail-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    gap: 20px;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.news-detail-meta div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-detail-meta i {
    color: var(--color-primary);
}

.news-detail-image {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.news-detail-body p {
    margin-bottom: 20px;
}

.news-detail-body h2, .news-detail-body h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.news-detail-body ul, .news-detail-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.news-detail-body li {
    margin-bottom: 10px;
}

.news-detail-body img {
    max-width: 100%;
    border-radius: 10px;
    margin: 30px 0;
}

.news-detail-body blockquote {
    background-color: #f9f9f9;
    border-left: 4px solid var(--color-primary);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

.news-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.news-tag {
    background-color: #f5f5f5;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

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

.news-detail-author {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.news-detail-author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.news-detail-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-author-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.news-detail-author-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-detail-author-social {
    display: flex;
    gap: 10px;
}

.author-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.author-social-link:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.news-detail-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.share-title {
    font-weight: 600;
    color: #444;
}

.share-links {
    display: flex;
    gap: 10px;
}

.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.share-link:hover {
    transform: translateY(-3px);
}

.share-link.facebook:hover {
    background-color: #3b5998;
    color: white;
}

.share-link.twitter:hover {
    background-color: #1da1f2;
    color: white;
}

.share-link.linkedin:hover {
    background-color: #0077b5;
    color: white;
}

.share-link.pinterest:hover {
    background-color: #bd081c;
    color: white;
}

/* Related News */
.related-news {
    margin-top: 60px;
}

.related-news h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.related-news h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Sidebar */
.news-sidebar {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.search-button {
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.search-button:hover {
    background-color: var(--color-secondary);
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

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

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: all 0.3s;
}

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

.category-count {
    background-color: #f5f5f5;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #666;
    transition: all 0.3s;
}

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

.popular-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.popular-post:last-child {
    margin-bottom: 0;
}

.popular-post-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.popular-post-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-post-content h4 a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.popular-post-content h4 a:hover {
    color: var(--color-primary);
}

.popular-post-date {
    font-size: 0.8rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
}

.popular-post-date i {
    color: var(--color-primary);
    font-size: 0.7rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    background-color: #f5f5f5;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-cloud a:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Comments Section - Enhanced UI/UX */
.comments-section {
    margin-top: 60px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.comments-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    padding: 30px 40px;
    position: relative;
}

.comments-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grain" width="100" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="5" r="0.5" fill="white" opacity="0.1"/><circle cx="30" cy="15" r="0.3" fill="white" opacity="0.08"/><circle cx="60" cy="8" r="0.4" fill="white" opacity="0.12"/><circle cx="80" cy="12" r="0.2" fill="white" opacity="0.06"/></pattern></defs><rect width="100" height="20" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.comments-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-title i {
    background-color: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.comments-meta {
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.comments-engagement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.comments-engagement i {
    color: rgba(255, 255, 255, 0.8);
}

.comments-list {
    padding: 40px;
}

.comment-item {
    margin-bottom: 35px;
    position: relative;
}

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

.comment-item.bypostauthor .comment-wrapper {
    background: linear-gradient(135deg, #fff8f0, #ffeaa7);
    border: 2px solid var(--color-primary);
}

.comment-item.bypostauthor .comment-wrapper::before {
    content: 'Tác giả';
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--color-primary);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.comment-wrapper {
    display: flex;
    gap: 20px;
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e9ecef;
}

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

.comment-avatar {
    position: relative;
    flex-shrink: 0;
}

.comment-avatar-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comment-author-link {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background-color: var(--color-primary);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.3s;
}

.comment-author-link:hover {
    background-color: var(--color-secondary);
    transform: scale(1.1);
}

.comment-content {
    flex-grow: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-author-info h4.comment-author {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-author-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.comment-author-badge i {
    font-size: 0.6rem;
}

.comment-metadata {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.comment-date {
    font-size: 0.85rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-date i {
    color: var(--color-primary);
}

.comment-reply-to {
    font-size: 0.8rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment-awaiting-moderation {
    background-color: #fff3cd;
    color: #856404;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #ffeaa7;
}

.comment-reply-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: rgba(244, 81, 30, 0.1);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.comment-reply-link::before {
    content: '\f3e5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 3px;
}

.comment-reply-link:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.comment-text {
    color: #444;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}

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

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

.comment-engagement {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.comment-like-btn {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s;
}

.comment-like-btn:hover {
    background-color: rgba(244, 81, 30, 0.1);
    color: var(--color-primary);
}

.comment-like-btn.liked {
    color: #e74c3c;
}

.comment-like-btn.liked i {
    color: #e74c3c;
}

.like-count {
    font-weight: 600;
}

/* Comment Children (Replies) */
.comment-children {
    margin-top: 25px;
    margin-left: 40px;
    padding-left: 25px;
    border-left: 3px solid var(--color-primary);
    position: relative;
}

.comment-children::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.comment-children .comment-wrapper {
    background-color: white;
    border: 2px solid #f1f3f4;
}

.comment-children .comment-wrapper:hover {
    border-color: var(--color-primary);
}

/* Comments Pagination */
.comments-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 25px 40px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.nav-previous a,
.nav-next a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: white;
    border: 2px solid var(--color-primary);
    transition: all 0.3s;
}

.nav-previous a:hover,
.nav-next a:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* Comments Closed */
.comments-closed {
    padding: 40px;
    text-align: center;
}

.comments-closed-content {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px;
    border-radius: 20px;
    border: 2px dashed #dee2e6;
}

.comments-closed-content i {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.comments-closed-content h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-text-primary);
}

.comments-closed-content p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

/* Comment Form - Enhanced */
.comment-form-wrapper {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px;
    border-top: 1px solid #e9ecef;
}

.comment-form-header {
    text-align: center;
    margin-bottom: 35px;
}

.comment-form-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.comment-form-title i {
    background-color: var(--color-primary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-form-subtitle {
    color: #6c757d;
    font-size: 1.05rem;
    margin: 0;
}

.comment-form {
    background-color: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.comment-notes {
    background-color: #e8f4f8;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #74b9ff;
}

.comment-notes p {
    margin: 0;
    color: #2d3436;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-notes i {
    color: #74b9ff;
}

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

.form-group {
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fafbfc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(244, 81, 30, 0.1);
    transform: translateY(-2px);
}

.comment-textarea-group textarea {
    height: 150px;
    resize: vertical;
    min-height: 120px;
    max-height: 300px;
}

.comment-guidelines {
    margin-top: 10px;
}

.comment-guidelines small {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-guidelines i {
    color: var(--color-primary);
}

.submit-btn {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(244, 81, 30, 0.3);
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.submit-btn::before {
    content: '\f1d8';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 81, 30, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.submit-btn:hover::before {
    transform: translateX(3px);
}

/* Cancel Reply Link */
#cancel-comment-reply-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    transition: all 0.3s;
    margin-left: 15px;
}

#cancel-comment-reply-link::before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 3px;
}

#cancel-comment-reply-link:hover {
    background-color: #e9ecef;
    color: #495057;
    transform: translateY(-2px);
}

/* Must Log In */
.must-log-in {
    text-align: center;
    padding: 30px;
    background-color: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 15px;
    color: #856404;
    font-size: 1.05rem;
}

.must-log-in a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.must-log-in a:hover {
    text-decoration: underline;
}

/* Logged In As */
.logged-in-as {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #bee5eb;
}

.logged-in-as a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.logged-in-as a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .news-pagination .page-numbers a,
    .news-pagination .page-numbers span {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .news-pagination .page-numbers .prev,
    .news-pagination .page-numbers .next {
        padding: 0 15px;
        font-size: 0.85rem;
    }
    
    .news-hero {
        height: 300px;
    }
    
    .news-hero h1 {
        font-size: 2rem;
    }
    
    .news-hero p {
        font-size: 1rem;
    }
    
    .featured-news-image {
        height: 250px;
    }
    
    .featured-news-content {
        padding: 20px;
    }
    
    .featured-news-content h2 {
        font-size: 1.5rem;
    }
    
    .featured-news-excerpt {
        font-size: 1rem;
    }
    
    .featured-news-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .featured-news-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .news-detail-title {
        font-size: 1.8rem;
    }
    
    .news-detail-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .news-detail-image {
        height: 250px;
    }
    
    .news-detail-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .news-detail-author-social {
        justify-content: center;
    }
    
    /* Comments Section Mobile */
    .comments-header {
        padding: 25px 20px;
    }
    
    .comments-title {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .comments-list {
        padding: 20px;
    }
    
    .comment-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    
    .comment-meta {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 100%;
    }
    
    .comment-author-info {
        text-align: center;
    }
    
    .comment-actions {
        justify-content: center;
    }
    
    .comment-children {
        margin-left: 0;
        padding-left: 20px;
        border-left: 2px solid var(--color-primary);
    }
    
    .comment-form-wrapper {
        padding: 25px 20px;
    }
    
    .comment-form {
        padding: 25px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .comments-pagination {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .news-detail-container {
        grid-template-columns: 2fr 1fr;
    }
}

/* News Detail Specific Styles */
.breadcrumb-container {
    background-color: var(--color-background-muted);
    padding: 20px 0;
    margin-bottom: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumb .separator {
    color: #999;
    font-size: 0.8rem;
}

.breadcrumb span:last-child {
    color: #666;
}

.news-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.news-detail-main {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.news-detail-article {
    padding: 40px;
}

.article-header {
    margin-bottom: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.article-category {
    margin-bottom: 15px;
}

.category-tag {
    background-color: var(--color-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.article-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.article-meta {
    display: flex;
    gap: 25px;
    color: #777;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

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

.meta-item i {
    color: var(--color-primary);
}

.article-image {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 25px 20px;
    font-size: 0.9rem;
    font-style: italic;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* WordPress Caption Support */
.article-content .wp-caption {
    max-width: 100% !important;
    width: 100% !important;
}

.article-content .wp-caption img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content .wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    padding-top: 0.5rem;
    line-height: 1.4;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.article-content h3 {
    font-size: 1.5rem;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--color-text-primary);
}

.article-content ul, .article-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

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

.article-content blockquote {
    background-color: #f8f9fa;
    border-left: 5px solid var(--color-primary);
    padding: 25px;
    margin: 40px 0;
    font-style: italic;
    color: #555;
    border-radius: 0 10px 10px 0;
}

.article-content blockquote p {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.article-content blockquote cite {
    font-size: 0.9rem;
    color: #777;
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

.article-excerpt {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid var(--color-primary);
}

.article-highlight {
    background-color: #fff8f0;
    border: 2px solid #ffeaa7;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.article-highlight h4 {
    color: var(--color-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-highlight ul {
    margin-bottom: 0;
}

.article-highlight li {
    margin-bottom: 8px;
    color: #555;
}

.article-gallery {
    margin: 40px 0;
}

.article-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.article-gallery .gallery-item {
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
}

.article-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

.article-info-box {
    background-color: #e8f4f8;
    border: 2px solid #74b9ff;
    border-radius: 15px;
    padding: 25px;
    margin: 40px 0;
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.info-box-header i {
    color: #74b9ff;
    font-size: 1.2rem;
}

.info-box-header h4 {
    color: #2d3436;
    margin: 0;
}

.info-box-content {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-item strong {
    color: var(--color-text-primary);
    min-width: 180px;
}

.article-footer {
    margin-top: 50px;
    padding: 30px;
    border-top: 2px solid #f1f3f4;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    align-items: center;
}

.tag-label {
    font-weight: 600;
    color: #555;
    margin-right: 10px;
}

.tag {
    background-color: #f8f9fa;
    color: #666;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

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

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
    color: #555;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background-color: #3b5998;
}

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

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

.share-btn.copy {
    background-color: #666;
}

.author-info {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.author-details h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.author-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.author-bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.news-detail-sidebar {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    padding: 30px;
    border-bottom: 1px solid #f1f3f4;
}

.sidebar-widget:last-child {
    border-bottom: none;
}

.widget-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--color-text-primary);
    position: relative;
    padding-bottom: 10px;
}

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

.recent-news {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-news-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.recent-news-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-news-content h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.recent-news-content h4 a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.recent-news-content h4 a:hover {
    color: var(--color-primary);
}

.recent-news-date {
    font-size: 0.8rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
}

.recent-news-date i {
    color: var(--color-primary);
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f3f4;
}

.categories-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

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

.categories-list span {
    background-color: #f8f9fa;
    color: #666;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cta-widget {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    text-align: center;
    border-radius: 15px;
    padding: 30px !important;
}

.cta-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-content .btn {
    background-color: white;
    color: var(--color-primary);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.cta-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.related-news {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.related-news-cta {
    text-align: center;
}

/* Responsive Styles for Detail Page */
@media (max-width: 480px) {
    .breadcrumb-container {
        display: none;
    }
    
    .news-detail-section {
        padding: 40px 0;
    }
    
    .news-detail-article {
        padding: 20px;
    }
    
    .article-header {
        padding: 25px;
        margin-bottom: 25px;
        background: linear-gradient(135deg, var(--color-background-light) 0%, var(--color-background-muted) 100%);
        border: 1px solid #e0e0e0;
        border-radius: 12px;
    }
    
    .article-title {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 18px;
        color: var(--color-text-primary);
        font-weight: 700;
    }
    
    .category-tag {
        background-color: var(--color-primary);
        color: white;
        font-weight: 600;
        box-shadow: 0 3px 10px rgba(244, 81, 30, 0.3);
        border-radius: 20px;
    }
    
    .article-meta {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .meta-item {
        font-size: 0.8rem;
        gap: 5px;
    }
    
    .article-image {
        height: 200px;
        margin-bottom: 20px;
    }
    
    .image-caption {
        padding: 20px 15px 15px;
        font-size: 0.8rem;
    }
    
    .article-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .article-content h2 {
        font-size: 1.3rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
        margin-top: 25px;
        margin-bottom: 12px;
    }
    
    .article-excerpt {
        font-size: 1rem;
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .article-content blockquote {
        padding: 15px;
        margin: 25px 0;
        font-size: 0.95rem;
    }
    
    .article-content blockquote p {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .article-highlight {
        padding: 20px;
        margin: 25px 0;
    }
    
    .article-highlight h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .article-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .article-gallery .gallery-item {
        height: 160px;
        border-radius: 8px;
    }
    
    .article-info-box {
        padding: 20px;
        margin: 25px 0;
    }
    
    .info-box-header {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .info-box-header h4 {
        font-size: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        gap: 3px;
        align-items: flex-start;
    }
    
    .info-item strong {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .article-footer {
        padding: 25px;
        margin-top: 35px;
        background: linear-gradient(135deg, var(--color-background-light) 0%, var(--color-background-muted) 100%);
        border: 1px solid #e0e0e0;
        border-radius: 12px;
    }
    
    .article-tags {
        margin-bottom: 20px;
    }
    
    .tag-label {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .article-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .share-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .share-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
        margin-top: 30px;
    }
    
    .author-avatar {
        width: 80px;
        height: 80px;
        align-self: center;
    }
    
    .author-details h4 {
        font-size: 1.1rem;
    }
    
    .author-bio {
        font-size: 0.9rem;
    }
    
    .news-detail-sidebar {
        position: static;
        top: auto;
        margin-top: 30px;
    }
    
    .sidebar-widget {
        padding: 20px;
        border-bottom: 1px solid #e9ecef;
    }
    
    .widget-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
        color: var(--color-text-primary);
    }
    
    .widget-title::after {
        background-color: var(--color-primary);
        width: 40px;
        height: 2px;
    }
    
    .recent-news-item {
        flex-direction: row;
        text-align: left;
        gap: 12px;
    }
    
    .recent-news-image {
        width: 70px;
        height: 70px;
        align-self: flex-start;
        border-radius: 6px;
    }
    
    .recent-news-content h4 {
        font-size: 0.9rem;
    }
    
    .categories-list a {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .popular-tags {
        justify-content: center;
    }
    
    .popular-tags .tag {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .cta-widget {
        padding: 20px !important;
    }
    
    .cta-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .cta-content .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .related-news {
        padding: 40px 0;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .related-news .news-card {
        max-width: 100%;
    }
    
    .related-news .news-image {
        height: 180px;
    }
    
    .related-news .news-content {
        padding: 15px;
    }
    
    .related-news .news-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .related-news .news-excerpt p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .breadcrumb-container {
        display: none;
    }
    
    .news-detail-section {
        padding: 60px 0;
    }
    
    .news-detail-article {
        padding: 30px;
    }
    
    .article-header {
        padding: 30px;
        background: linear-gradient(135deg, var(--color-background-light) 0%, var(--color-background-muted) 100%);
        border: 1px solid #e0e0e0;
        border-radius: 12px;
    }
    
    .article-title {
        font-size: 2rem;
        line-height: 1.2;
        color: var(--color-text-primary);
    }
    
    .article-meta {
        gap: 15px;
    }
    
    .article-image {
        height: 280px;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
    
    .article-excerpt {
        font-size: 1.1rem;
        padding: 20px;
    }
    
    .article-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .article-gallery .gallery-item {
        height: 160px;
    }
    
    .info-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .info-item strong {
        min-width: auto;
    }
    
    .article-footer {
        padding: 30px;
        background: linear-gradient(135deg, var(--color-background-light) 0%, var(--color-background-muted) 100%);
        border: 1px solid #e0e0e0;
        border-radius: 12px;
    }
    
    .article-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px;
    }
    
    .sidebar-widget {
        padding: 25px;
    }
    
    .recent-news-item {
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }
    
    .recent-news-image {
        width: 90px;
        height: 90px;
    }
    
    .categories-list a {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    .popular-tags {
        justify-content: flex-start;
    }
    
    .related-news {
        padding: 60px 0;
    }
    
    .related-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 992px) {
    .news-detail-layout {
        grid-template-columns: 2fr 1fr;
    }
} 