/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Main News Container */
.news_box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    /*max-width: 1200px;*/
    max-width: 1400px;
    margin: 0 20px;
    padding: 0 15px;
}

/* News Content Section */
.news_content {
    flex: 1;
    max-width: 100%;
    min-width: 0; /* Prevents flex item from overflowing */
}

.news_content .news_title h2 {
    font-size: clamp(22px, 4vw, 28px); /* Responsive font sizing */
    margin: 20px 0;
    font-weight: 900;
    line-height: 1.3;
    color: #1a1a1a;
}

.news_content .news_thumbnail {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.news_content .news_thumbnail iframe{
    width: 100%;
    height: 415px;
}
@media screen and (max-width:450px){
.news_content .news_thumbnail iframe{
    height:183px;
}
}
.news_content .news_thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.news_content .news_description_image p{
    font-size: 14px;
    margin-top: -11px;
}
.news_content .news_description {
    margin: 0px 0;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}
.news_content .news_description strong{
    font-size: 23px;
    font-weight: 800;
}
.news_content .news_description p {
    margin-bottom: 16px;
}

/* News Publisher Section */
.news_content .news_publisher {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 20px;
    background: #fafafa;
    margin: 30px 0;
}

.news_content .news_publisher_a {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 200px;
    margin: auto;
}

.news_publisher_a .n_p1 img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #495057;
}

.news_publisher_a .n_p2 p:nth-of-type(1) {
    /*color: #007bff;*/
    color: #000;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}

.news_publisher_a .n_p2 p:nth-of-type(2) {
    color: #6c757d;
    font-style: italic;
    font-size: 14px;
    margin-bottom: 0px;
}
.news_publisher_a .n_p2 p:nth-of-type(3) {
    /*color: #6c757d;*/
    /*font-style: italic;*/
    /*font-size: 14px;*/
    margin-bottom: 0px;
}

/* Social Share Section */
.news_share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.news_share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-decoration: none;
}

.news_share a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.news_share a i {
    font-size: 18px;
    color: #495057;
}

.news_share a:hover i {
    color: #007bff;
}

/* Sidebar Section */
.news_blockr {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 300px;
    max-width: 350px;
}

/* Related News Links */
.news_content_links {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
}

.news_content_links h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

.news_content_links ul {
    list-style: none;
}

.news_content_links ul li {
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.news_content_links ul li:last-child {
    border-bottom: none;
}

.news_content_links ul li i {
    color: #007bff;
    /*color: #fff;*/
    margin-top: 4px;
    /*font-size: 14px;*/
    margin-bottom: 5;
}

.news_content_links ul li a {
    text-decoration: none;
    color: #495057;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: color 0.3s ease;
}

.news_content_links ul li a:hover {
    color: #007bff;
}

/* Click Now Button */
.click-now {
    margin-left: 8px;
    /*padding: 4px 8px;*/
    padding-top: 2px;
    padding-bottom: 4px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: linear-gradient(270deg, #ff6ec4, #7873f5, #4ade80, #facc15);
    background-size: 800% 800%;
    animation: gradientMove 8s ease infinite;
    transition: transform 0.3s;
    white-space: nowrap;
}

.click-now:hover {
    transform: scale(1.05);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Advertisement Section */
.news_content_links_ads {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 10px;
}

.news_content_links_ads img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}

/* Responsive Design */

/* Large Desktop (1200px and up) */
@media screen and (min-width: 1200px) {
    .news_box {
        padding: 0 20px;
    }
    
    .news_content {
        max-width: 800px;
    }
}

/* Desktop and Tablet (992px to 1199px) */
@media screen and (max-width: 1199px) {
    .news_blockr {
        min-width: 280px;
        max-width: 320px;
    }
}

/* Tablet (768px to 991px) */
@media screen and (max-width: 991px) {
    .news_box {
        flex-direction: column;
        gap: 30px;
    }
    
    .news_blockr {
        min-width: 100%;
        max-width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .news_content_links,
    .news_content_links_ads {
        flex: 1;
        max-width: 48%;
    }
}

/* Mobile Large (576px to 767px) */
@media screen and (max-width: 767px) {
    .news_box {
        padding: 0 10px;
    }
    
    .news_blockr {
        flex-direction: column;
        gap: 20px;
    }
    
    .news_content_links,
    .news_content_links_ads {
        max-width: 100%;
    }
    
    .news_content .news_publisher {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .news_publisher_a .n_p2 p:nth-of-type(1) {
        font-size: 15px;
    }
    
    .news_publisher_a .n_p2 p:nth-of-type(2) {
        font-size: 13px;
    }
    
    .news_share {
        justify-content: center;
        width: 100%;
    }
}

/* Mobile Small (575px and below) */
@media screen and (max-width: 575px) {
    .news_box {
        padding: 0 5px;
    }
    
    .news_content .news_title h2 {
        font-size: 20px;
        margin: 15px 0;
    }
    
    .news_content .news_description {
        font-size: 15px;
        margin: 20px 0;
    }
    
    .news_content .news_publisher {
        padding: 12px 15px;
    }
    
    .news_publisher_a {
        gap: 10px;
    }
    
    .news_publisher_a .n_p1 img {
        width: 40px;
        height: 40px;
    }
    
    .news_share a {
        width: 35px;
        height: 35px;
    }
    
    .news_share a i {
        font-size: 16px;
    }
    
    .news_content_links {
        padding: 15px;
    }
    
    .news_content_links h4 {
        font-size: 18px;
    }
    
    .news_content_links ul li a {
        font-size: 13px;
    }
    
    .click-now {
        font-size: 9px;
        padding: 3px 6px;
    }
}

/* Extra Small Mobile (480px and below) */
@media screen and (max-width: 480px) {
    .news_content .news_title h2 {
        font-size: 22px;
    }
    
    .news_content .news_description {
        font-size: 14px;
    }
    
    .news_publisher_a {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
    
    .news_share {
        gap: 8px;
    }
    
    .news_share a {
        width: 32px;
        height: 32px;
    }
    
    .news_share a i {
        font-size: 14px;
    }
}