/* Modern News Page Styling */
body.page-news,
body.page-news-details {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* Page Title Section */
body.page-news .page-title,
body.page-news-details .page-title {
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 100px 0 110px;
    min-height: 250px;
}

body.page-news .page-title::before,
body.page-news-details .page-title::before {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #131313;
    opacity: 0.8;
    content: "";
}

body.page-news .page-title .title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

body.page-news .page-breadcrumb li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

body.page-news .page-breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.6);
}

body.page-news .page-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

body.page-news .page-breadcrumb a:hover {
    color: #ffffff;
}

/* News Section */
body.page-news .news-section {
    padding: 80px 0;
    background: #ffffff;
}

/* Professional News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.news-card-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Red Date Bar */
.news-date-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #b30000;
    z-index: 2;
}

.date-text {
    position: absolute;
    top: 20px;
    left: 15px;
    background: #b30000;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 3;
}

/* Image Container */
.news-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.news-image-container-pdf iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #ffffff;
    pointer-events: none;
}

/* Content */
.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.meta-tag {
    background: #f8f9fa;
    color: #666;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.news-title {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #b30000;
}

.news-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex: 1;
}

/* Action Button */
.news-action {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.read-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #b30000;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.read-more-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
    color: #ffffff;
}

.no-news {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
    grid-column: 1 / -1;
}

/* News Block Styling */
body.page-news .news-block {
    margin-bottom: 50px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

body.page-news .news-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #d70006;
}

body.page-news .news-block .image-box {
    position: relative;
    overflow: hidden;
    height: 250px;
}

body.page-news .news-block .image-box .image {
    margin: 0;
    height: 100%;
}

body.page-news .news-block .image-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

body.page-news .news-block:hover .image-box .image img {
    transform: scale(1.05);
}

body.page-news .news-block .overlay-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(215, 0, 6, 0.8) 0%, rgba(179, 0, 0, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-news .news-block:hover .overlay-box {
    opacity: 1;
}

body.page-news .news-block .overlay-box .link {
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

body.page-news .news-block .overlay-box .link:hover {
    transform: scale(1.2);
}

/* Lower Content */
body.page-news .news-block .lower-content {
    padding: 30px;
}

body.page-news .news-block .post-meta {
    margin-bottom: 20px;
}

body.page-news .news-block .post-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

body.page-news .news-block .post-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

body.page-news .news-block .post-meta .icon {
    color: #d70006;
    font-size: 16px;
}

body.page-news .news-block h4 {
    margin-bottom: 15px;
}

body.page-news .news-block h4 a {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

body.page-news .news-block h4 a:hover {
    color: #d70006;
}

body.page-news .news-block .text {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

body.page-news .news-block .link-box {
    margin-top: 20px;
}

body.page-news .news-block .theme-btn {
    background: linear-gradient(135deg, #d70006 0%, #b30000 100%);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

body.page-news .news-block .theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(215, 0, 6, 0.3);
    color: #ffffff;
}

/* Sidebar Styling */
body.page-news .sidebar {
    padding-left: 30px;
}

body.page-news .sidebar-widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

body.page-news .sidebar-widget .widget-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #d70006;
    position: relative;
}

body.page-news .sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #b30000;
}

/* Search Widget */
body.page-news .search-widget .form-group {
    position: relative;
}

body.page-news .search-widget input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

body.page-news .search-widget input:focus {
    outline: none;
    border-color: #d70006;
}

body.page-news .search-widget button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #d70006;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

body.page-news .search-widget button:hover {
    background: #b30000;
}

/* Categories Widget */
body.page-news .categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.page-news .categories-list li {
    margin-bottom: 12px;
}

body.page-news .categories-list a {
    color: #666;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

body.page-news .categories-list a:hover {
    color: #d70006;
}

body.page-news .categories-list span {
    background: #d70006;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Recent Posts Widget */
body.page-news .recent-posts-widget .post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

body.page-news .recent-posts-widget .post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

body.page-news .recent-posts-widget .post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

body.page-news .recent-posts-widget .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-news .recent-posts-widget .post-content h5 {
    margin-bottom: 8px;
}

body.page-news .recent-posts-widget .post-content h5 a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

body.page-news .recent-posts-widget .post-content h5 a:hover {
    color: #d70006;
}

body.page-news .recent-posts-widget .post-date {
    color: #999;
    font-size: 12px;
}

/* Tags Widget */
body.page-news .tags-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-news .tags-list li a {
    background: #f8f9fa;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

body.page-news .tags-list li a:hover {
    background: #d70006;
    color: #ffffff;
    border-color: #d70006;
}

/* Pagination */
body.page-news .pagination-wrapper {
    margin-top: 50px;
    text-align: center;
}

body.page-news .pagination {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 5px;
}

body.page-news .pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #ffffff;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 600;
}

body.page-news .pagination li a:hover,
body.page-news .pagination li.active a {
    background: #d70006;
    color: #ffffff;
    border-color: #d70006;
}

/* Responsive Design */
@media (max-width: 992px) {
    body.page-news .sidebar {
        padding-left: 0;
        margin-top: 50px;
    }
    
    body.page-news .page-title .title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    body.page-news .page-title {
        padding: 80px 0 60px;
    }
    
    body.page-news .page-title .title {
        font-size: 2rem;
    }
    
    body.page-news .news-section {
        padding: 60px 0;
    }
    
    body.page-news .news-block .lower-content {
        padding: 20px;
    }
    
    body.page-news .news-block h4 a {
        font-size: 1.3rem;
    }
    
    body.page-news .sidebar-widget {
        padding: 20px;
    }
    
    body.page-news .news-block .post-meta ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    body.page-news .news-block .image-box {
        height: 200px;
    }
    
    body.page-news .pagination li a {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* News Details Page Specific Styles */
body.page-news-details .news-details-section {
    padding: 80px 0;
    background: #ffffff;
}

body.page-news-details .news-details-block {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
    margin-bottom: 50px;
}

body.page-news-details .news-details-block .image-box {
    position: relative;
    overflow: hidden;
    max-width: 88%;
    margin: 30px auto 0;
    max-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-news-details .news-details-block .image-box .image {
    margin: 0;
    width: 100%;
    text-align: center;
}

body.page-news-details .news-details-block .image-box .image img {
    width: 100%;
    max-height: 360px;
    height: auto;
    object-fit: contain;
    display: inline-block;
}

body.page-news-details .news-details-block .image-box-pdf {
    padding: 0;
    background: #ffffff;
}

body.page-news-details .news-details-block .image-box-pdf iframe {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
}

body.page-news-details .news-details-block .lower-content {
    padding: 40px;
}

/* Details meta bar */
body.page-news-details .news-details-block .post-meta {
    margin: 0 0 24px;
}

body.page-news-details .news-details-block .post-meta ul {
    list-style: none;
    margin: 0;
    padding: 16px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
}

body.page-news-details .news-details-block .post-meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f5963;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

body.page-news-details .news-details-block .post-meta li .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #b30000;
    background: #ffffff;
    border: 1px solid #e1e5ea;
}

body.page-news-details .news-details-block .post-meta li span,
body.page-news-details .news-details-block .post-meta li time {
    color: inherit;
}

body.page-news-details .news-details-block h2 {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
}

body.page-news-details .news-details-block .text {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

body.page-news-details .news-details-block .text p {
    margin-bottom: 20px;
}

body.page-news-details .news-details-block .text ul {
    margin: 20px 0;
    padding-left: 30px;
}

body.page-news-details .news-details-block .text ul li {
    margin-bottom: 10px;
    color: #666;
}

/* Embedded magazine viewer (Orica feature article) */
body.page-news-details .magazine-viewer-section {
    margin: 35px 0 20px;
    padding: 24px;
    border: 1px solid #e7ebef;
    border-radius: 12px;
    background: #f8f9fa;
}

body.page-news-details .magazine-viewer-section h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #252a31;
}

body.page-news-details .magazine-viewer-section p {
    margin: 0 0 18px;
    color: #5f6872;
}

body.page-news-details .magazine-book-frame {
    position: relative;
    background: linear-gradient(90deg, #fcfcfc 0%, #f1f1f1 48%, #e2e2e2 50%, #f1f1f1 52%, #fcfcfc 100%);
    border: 1px solid #dcdfe3;
    border-radius: 10px;
    padding: 12px;
    box-shadow: inset 0 0 0 1px #ffffff, 0 6px 24px rgba(0, 0, 0, 0.08);
}

body.page-news-details .magazine-book-frame iframe {
    width: 100%;
    min-height: 680px;
    border: none;
    border-radius: 6px;
    background: #ffffff;
}

body.page-news-details .magazine-actions {
    margin-top: 16px;
}

body.page-news-details .magazine-actions .theme-btn {
    background: #b30000;
    color: #ffffff;
    border-radius: 6px;
    padding: 10px 18px;
    display: inline-block;
    text-decoration: none;
}

body.page-news-details .magazine-actions .theme-btn:hover {
    background: #d70006;
    color: #ffffff;
}

body.page-news-details .news-details-block blockquote {
    background: #f8f9fa;
    border-left: 4px solid #d70006;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
    font-style: italic;
}

body.page-news-details .news-details-block blockquote p {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

body.page-news-details .news-details-block blockquote cite {
    color: #d70006;
    font-weight: 600;
    font-style: normal;
}

/* Post Tags */
body.page-news-details .post-tags {
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

body.page-news-details .post-tags h4 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

body.page-news-details .post-tags .tags-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.page-news-details .post-tags .tags-list li a {
    background: #f8f9fa;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

body.page-news-details .post-tags .tags-list li a:hover {
    background: #d70006;
    color: #ffffff;
    border-color: #d70006;
}

/* Post Share */
body.page-news-details .post-share {
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid #e9ecef;
}

body.page-news-details .post-share h4 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

body.page-news-details .post-share .social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

body.page-news-details .post-share .social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
}

body.page-news-details .post-share .social-links li a.facebook {
    background: #3b5998;
}

body.page-news-details .post-share .social-links li a.twitter {
    background: #1da1f2;
}

body.page-news-details .post-share .social-links li a.linkedin {
    background: #0077b5;
}

body.page-news-details .post-share .social-links li a.whatsapp {
    background: #25d366;
}

body.page-news-details .post-share .social-links li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Related Posts */
body.page-news-details .related-posts {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

body.page-news-details .related-posts h3 {
    color: #333;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

body.page-news-details .related-post {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

body.page-news-details .related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

body.page-news-details .related-post .image-box {
    height: 150px;
    overflow: hidden;
}

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

body.page-news-details .related-post:hover .image-box img {
    transform: scale(1.05);
}

body.page-news-details .related-post .content {
    padding: 20px;
}

body.page-news-details .related-post .post-date {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
}

body.page-news-details .related-post h5 {
    margin: 0;
}

body.page-news-details .related-post h5 a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

body.page-news-details .related-post h5 a:hover {
    color: #d70006;
}

/* Responsive for News Details */
@media (max-width: 768px) {
    body.page-news-details .news-details-block .lower-content {
        padding: 25px;
    }

    body.page-news-details .news-details-block .post-meta ul {
        padding: 14px;
        gap: 10px 12px;
    }
    
    body.page-news-details .news-details-block .post-meta li {
        font-size: 13px;
    }
    
    body.page-news-details .news-details-block h2 {
        font-size: 2rem;
    }
    
    body.page-news-details .news-details-block .image-box {
        max-width: 100%;
        max-height: 260px;
        margin-top: 20px;
    }

    body.page-news-details .news-details-block .image-box .image img {
        max-height: 260px;
    }

    body.page-news-details .news-details-block .image-box-pdf iframe {
        height: 260px;
    }
    
    body.page-news-details .post-share .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    body.page-news-details .news-details-block .post-meta ul {
        flex-direction: column;
        gap: 10px;
    }

    body.page-news-details .news-details-block h2 {
        font-size: 1.5rem;
    }
    
    body.page-news-details .related-posts h3 {
        font-size: 1.5rem;
    }

    body.page-news-details .magazine-viewer-section {
        padding: 16px;
    }

    body.page-news-details .magazine-book-frame iframe {
        min-height: 500px;
    }
}

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

.pagination-nav {
    display: flex;
    align-items: center;
}

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

.pagination-item {
    display: flex;
}

.pagination-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #ffffff;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 44px;
    justify-content: center;
}

.pagination-item.prev .pagination-link,
.pagination-item.next .pagination-link {
    padding: 12px 16px;
}

.pagination-link:hover {
    background: #b30000;
    color: #ffffff;
    border-color: #b30000;
    transform: translateY(-2px);
}

.pagination-item.active .pagination-link {
    background: #b30000;
    color: #ffffff;
    border-color: #b30000;
}

.pagination-link i {
    font-size: 14px;
}

/* Clean Sidebar Styling */
.sidebar {
    padding-left: 30px;
}

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

.widget-title {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #b30000;
}

/* Search Widget */
.search-form .form-group {
    position: relative;
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.search-form input:focus {
    outline: none;
    border-color: #b30000;
}

.search-form button {
    padding: 12px 15px;
    background: #b30000;
    color: #ffffff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-form button:hover {
    background: #dc3545;
}

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

.categories-list li {
    margin-bottom: 8px;
}

.categories-list a {
    color: #666;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.categories-list a:hover {
    color: #b30000;
}

.categories-list span {
    color: #999;
    font-size: 12px;
}

/* Recent Posts Widget */
.post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

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

.post-content {
    flex: 1;
}

.post-content h5 {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.4;
}

.post-content h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h5 a:hover {
    color: #b30000;
}

.post-date {
    color: #999;
    font-size: 12px;
}

/* Tags Widget */
.tags-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-list li {
    margin: 0;
}

.tags-list a {
    display: inline-block;
    padding: 6px 12px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 15px;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.tags-list a:hover {
    background: #b30000;
    color: #ffffff;
    border-color: #b30000;
}

/* Responsive Design */
@media (max-width: 992px) {
    .sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 15px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .widget-title {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .news-content {
        padding: 15px;
    }
    
    .news-title {
        font-size: 15px;
    }
    
    .news-excerpt {
        font-size: 13px;
    }
    
    .sidebar-widget {
        padding: 15px;
    }
}
