/* header */

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
/*  */
.header-nav{
    display: none;
}
.header-middle{
    display: none;
}
.header-top {
   display: none;
}
}
 .mobile-header-container {
     font-family: "Noto Sans", sans-serif;
      display: none;
      align-items: center;
      justify-content: space-between;
      padding: 10px 15px;
      border-bottom: 1px solid #ccc;
    }

    .mobile-header-menu-icon,
    .mobile-header-icons {
      display: flex;
      align-items: center;
    }

    .mobile-header-logo {
      font-size: 18px;
      font-weight: bold;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      flex-grow: 1;
      text-align: center;
    }

    .mobile-header-icons i {
      font-size: 18px;
      margin-left: 15px;
      cursor: pointer;
      color: black;
    }
    .mobile-header-user {
  display: flex;
  align-items: center;
}

.mobile-header-arrow {
  font-size: 12px;
  margin-left: 4px;
}
/*  */

    /* Sidebar Styles */
    .mobile-header-sidebar {
      position: fixed;
      top: 0;
      left: -100%;
      width: 280px;
      height: 100%;
      background-color: #fff;
     
      padding: 15px;
      transition: left 0.3s ease;
      z-index: 1000;
      overflow-y: auto;
    }

    .mobile-header-sidebar.open {
      left: 0;
    }

    .mobile-header-sidebar-header {
      display: flex;
      align-items: center;
      font-weight: bold;
      font-size: 16px;
      margin-bottom: 15px;
    }

    .mobile-header-sidebar-header i {
      margin-right: 10px;
      font-size: 18px;
      cursor: pointer;
    }

    .mobile-header-subscribe-btn {
      display: block;
      background-color: #970c1e;
      color: white;
      text-align: center;
      padding: 10px;
      border-radius: 5px;
      margin-bottom: 20px;
      font-weight: bold;
      text-decoration: none;
    }

    .mobile-header-menu-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 0;
      font-weight: bold;
      cursor: pointer;
    }

    .mobile-header-menu-item i:first-child {
      margin-right: 8px;
    }

    /* Toggle Button (for demo purpose) */
    .mobile-header-toggle-button {
      font-size: 20px;
      padding: 15px;
      cursor: pointer;
      display: inline-block;
    }
    /* user */
     /* Trigger Button (user icon) */
    .user-trigger {
      font-size: 20px;
      padding: 15px;
      cursor: pointer;
      display: inline-block;
    }

    /* Sidebar Styles */
    .user-sidebar {
         font-family: "Noto Sans", sans-serif;
      position: fixed;
      top: 0;
      right: -100%;
      width: 280px;
      height: 100%;
      background-color: #fff;
      box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
      padding: 15px;
      transition: right 0.3s ease;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .user-sidebar.open {
      right: 0;
    }

    .user-sidebar-header {
      display: flex;
      align-items: center;
      font-weight: bold;
      font-size: 16px;
      margin-bottom: 20px;
    }

    .user-sidebar-header i {
      margin-right: 10px;
      font-size: 18px;
      cursor: pointer;
    }

    .user-button {
      display: block;
      width: 100%;
      background-color: #970c1e;
      color: white;
      text-align: center;
      padding: 10px;
      border-radius: 5px;
      font-weight: bold;
      text-decoration: none;
      margin-bottom: 10px;
    }

    .user-newsletter-box {
      text-align: center;
      border-top: 1px solid #ccc;
      padding-top: 15px;
    }

    .user-newsletter-box p {
      font-weight: bold;
      margin-bottom: 10px;
      font-size: 14px;
    }
    /*  */

    @media (max-width: 768px) {
      .mobile-header-container {
        display: flex;
      }
    }

/*  */
 
/* latest */
@media (max-width: 768px) {
    .latest-container {
        padding: 10px;
    }
    .latest-header
 {
    background-color: white;
    padding: 10px 10px;
    border-bottom: 1px solid rgb(196, 193, 193);
}

   

    .latest-news-grid {
        grid-template-columns: 1fr;
    }
    .latest-news
 {
    background-color: white;
    padding: 10px 10px 5px 10px;
}
.latest-main-story h1
 {
    color: #1F2933;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 0px;
    line-height: 1.2;
    padding: 0px 10px;
    font-family: "Noto Sans", sans-serif;
}
.latest-image-placeholder img

 {
    width: 100%;
    height: 100%;
    padding: 10px;
}
.latest-main-story .latest-content {
    color: #666;
    font-size: 14px;
    font-family: "Noto Sans", sans-serif;
    padding: 0px 10px 10px 10px; 
}
.section1-article-content {
    padding: 20px;
    font-family: "Noto Serif", Georgia, serif;
}
.section1-article-title

 {
    font-size: 20px;
    font-weight: bold;
    color: #1F2933;
    line-height: 1.1;
    font-family: "Noto Sans", sans-serif;
    
    margin-bottom: 10px;
}
.section1-sidebar-ad img{
    width: 100%;
    padding: 20px;
}
/*  */
.headline-container{
    padding: 0px;
}
}

/* section1 */
@media (max-width: 768px) {
    .section1-main-content {
        flex-direction: column;
    }

    .section1-header-ad {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 0px 10px;
    }
    

    .section1-article-title {
        font-size: 22px;
    }

    .section1-header-ad-image {
        width: 100%;
        height: 100px;
    }

    .section1-header-ad-image img {
        width: 100%;
        height: 100px;
        object-fit: contain;
    }
    .section1-article-category
 {
    color: #34495e;
    padding: 20px 20px 0px 20px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
    font-family: "Noto Sans", sans-serif;
    text-transform: uppercase;
}
}

/* section2 */
@media (max-width: 768px) {
    .section2-news-grid {
        grid-template-columns: 1fr;
    }

    .section2-container {
        padding: 10px;
    }
}

/* education */
@media (max-width: 768px) {
    .education-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .education-main-title {
        font-size: 24px;
        font-weight: bold;
    color: #333;
    line-height: 1.2;
    margin-bottom: 20px;
    }

    .education-main-image {
        height: 200px;
    }
       .education-sidebar {
            background: white;
            padding: 20px 20px 0px 20px;
           
            height: fit-content;
            margin-top: 10px;
        }
         .education-sidebar-title {
            font-size: 16px;
            font-weight: bold;
            color: #333;
            line-height: 1.3;
            margin-bottom: 30px;
            font-family: "Noto Sans", sans-serif;
        }
        
}

/*  */
@media (max-width: 768px) {
    .video-container {
        flex-direction: column;

    }

    .video-section {
        display: none;
    }

    .video-sidebar {
        flex-direction: row;
        overflow-x: auto;
    }

    .video-sidebar-video {
        min-width: 200px;
    }
}

/* section4 */
@media (max-width: 768px) {
    .section4-content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 10px;
        height: 100%;

        padding: 0px;

    }
    .section4-column{
        padding: 20px;
    }
    .section4-title {
    font-size: 28px;
    font-weight: bold;
    color: #1F2933;
    margin-bottom: 15px;
    padding: 0px 0px 10px 0px;
    border-bottom: 0px solid #bab9b9;
    font-family: "Noto Sans", sans-serif;
}
      .section4-title {
        padding: 0px 20px;
      }
}

/* section5 */
@media (max-width: 768px) {
    .section5-news-container {
        grid-template-columns: 1fr;
       
    }

    body {
        padding: 0px 0px;
    }

    .section5-header {
        background-color: white;
        height: 100px;

        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        font-size: 18px;
        max-width: 1160px;
        margin: 0px auto;
        margin-top: 20px;
        padding: 0px 10px;


    }

    .section5-header img {
        width: 100%;
    }

}

/* Responsive design */
@media (max-width: 768px) {
    .national-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .national-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* section6 */
@media (max-width: 768px) {
    .section6-news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .section6-container {
        padding: 15px;
    }

    .section6-image-container {
        height: 180px;
    }
}

/*  */
@media (max-width: 768px) {
    .last-section-container {
        grid-template-columns: 1fr;
        padding: 0px 20px;
    }
    .last-section-card-button {
    padding: 5px 15px;
    border: 1px solid black;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    color: black;
    width: 30%;
}
}

/* footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
}
@media (max-width: 768px) {
    .detail-container {
    max-width: 900px;
    padding: 50px 0px 10px 0px;
    margin: auto;
}
    .detail-container h1 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 10px;
    font-family: "Noto Sans", sans-serif;
    line-height: 30.1px;
}
.detail-author {
    font-size: 14px;
    color: #555;
    margin-bottom: 0px;
    font-family: "Noto Sans", sans-serif;
}
.detail-last-sec1 .last-section-container
 {
    background-color: white;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    gap: 20px;
    border-top: 1px solid rgb(218, 217, 217);
    padding-top: 30px;
    border-bottom: 1px solid rgb(218, 217, 217);
    padding-bottom: 30px;
}
.detail-article-section2-container {
    max-width: 547px;
    margin: 0 0px;
    font-family: "Noto Sans", sans-serif;
}

.detail-social-dropdown {
    display: none;
    position: absolute;
    background-color: #f5f7fa;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 1;
    top: 310px;
    right: 20px;
    /* Center relative to the share button */
}
.detail-box {
    padding: 20px 20px;
    background: #f5f7fa;
    margin-top: 50px;
    margin-bottom: 50px;
}
.detail-box-p

 {
    font-size: 18px;
    line-height: 1.5;
    font-style: italic;
    font-family: "Noto Sans", sans-serif;
}
.detail-article-section2-list {
    margin: 20px;
}
.section5-news-card {
    background: white;
    overflow: hidden;
    padding:0px 20px;
    transition: transform 0.2s ease;
}
.footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 0px;
    }
    .footer-social-section {
    margin-top: 30px;
    margin-bottom: 30px;
}
.detail-article-section2-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.detail-article-section1-heading {
    font-weight: bold;
    font-size: 20px;
    margin: 20px 0 10px;
    font-family: "Noto Sans", sans-serif;
}
.detail-last-sec1 .section4-title {
    padding: 0px;
}
}