 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #dfdfdf;
}

header {
    background-color: #000000;
    padding: 40px 20px 20px 20px;
    box-shadow: 0 4px 8px rgba(102, 102, 102, 0.5);                                
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align:center;
}

header h1 {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 5px;
    font-style: italic;

}

.subtitle {
    color: #cccccc;
    font-size: 0.95em;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.navbar {
    background-color: #000000;
    padding: 0;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px 0;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #cccccc;
}

.main-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.left-sidebar {
    grid-column: 1;
}

.right-sidebar {
    grid-column: 3;
}

.sidebar-article {
    border: 2px solid #000000;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    transition: transform 0.3s;
}



.sidebar-article h3 {
    font-size: 1.1em;
    border-radius: 5px;
    margin-bottom: 10px;
    color: #000000;
    line-height: 1.4;
}

.sidebar-article p {
    color: #666666;
    font-size: 0.9em;
    border-radius: 5px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.sidebar-article .author {
    border-radius: 5px;
    font-size: 0.85em;
    color: #999999;
    font-weight: bold;
}

.featured-content {
    grid-column: 2;
    border-radius: 5px;
    border-left: 5px solid #000000;
    background-color: white;
    padding: 0;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 5px;
}

.featured-content h1 {
    font-size: 2.5em;
    color: #000000;
    margin: 15px;
    line-height: 1.3;
}

.featured-content p {
    font-size: 1.05em;
    color: #555555;
    line-height: 1.8;
    margin: 0 20px 20px 20px;
}

.trending-box {
    border: 3px solid #000000;
    padding: 20px;
    border-radius: 5px;
    background-color: white;
    
}

.trending-box h2 {
    background-color: #000000;
    color: white;
    padding: 10px;
    margin: -20px -20px 15px -20px;
    font-size: 1em;
}

.trending-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.trending-box h3 {
    font-size: 1.1em;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1.3;
}

.trending-box p {
    color: #666666;
    font-size: 0.9em;
    line-height: 1.5;
    border-radius: 5px;
    margin-left: 10px;
}

.trending-box .author {
    font-size: 0.85em;
    color: #999999;
    font-weight: bold;
}


.main-containerN{
    display: flex;         
    justify-content: space-between; 
    gap: 25px;
    align-items: flex-start;           
    width: 95%;
    max-width: 1200px;
    margin: 40px auto;
}



.articleM, .sidebarA, .sidebarB {
 display: block;
   flex-direction: row;
   align-items: center; 
   margin-bottom: 5px;
    background-color: #ffffff; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
    border: 2px solid #000000; 
    transition: transform 0.3s ease;
}

.sidebarA-image {
    display: block;
    margin: 20px auto;
     width: 35%;
    height: auto;
    border-radius: 5px;
}
.articleM-image {
    width: 35%;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 20px auto;
}

.sidebarB-image {
    width: 35%;
    height: auto;
    display: block;
    margin: 20px auto;
}
 
 .articleM .author1, .sidebarA .author1, .sidebarB .author1 {
    font-size: 0.85em;
    margin-top: 10px;
    font-size: 0.75rem;
    color: #999999;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-wrapper {
    padding: 20px;
    display: flex;
    flex-direction: column; 
    gap: 10px;
}   

.text-wrapper h3{
    margin: 0;
    font-size: 1.15rem;
    display: flex;
    color: #222;
    text-align: left;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;


}
.text-wrapper p {
    margin: 0;
    font-size: 0.95em;
    display: flex;
     color: #999999;
     line-height: 1.5;
    text-align: left;
}

.main-container2{
    position: relative;
    left: 45px;
    margin: 35px auto;
    font-style: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }

  .newsletter-formh2 {
    position: relative;
    left: 45px;
    margin: 35px auto;
        font-size: 1em;
        color: #000000;
        margin-bottom: 5px;
    }

    .newsletter-form{
    background-color: #000000;
    padding: 40px 20px 20px 20px;
    box-shadow: 0 4px 8px rgba(102, 102, 102, 0.5);                                
    text-align:center;
}
 section h3 {
    position: relative;
    left: 45px;
    color: #000000;
    font-size: 1em;
  }

  .newsletter-formp {
    position: relative;
    left: 45px;
    color: #000000;
    font-size: 1em;
  }

  .checkbox-text{
    color: #ffffff;
    font-size: 0.95em;
    letter-spacing: 2px;
  }

@media (max-width: 120px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    
    .left-sidebar, .featured-content, .right-sidebar {
        grid-column: 0.5;
    }
}
