body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .help-topic {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 10px;
  }
  
  .icon {
    width: 50px;
    height: 50px;
    background-color: #ccc;
    margin-right: 10px;
    text-align: center;
    line-height: 50px;
  }
  
  .content {
    flex: 1;
  }
  
  h2 {
    margin-top: 0;
  }

  .article-content {
    display: flex; /* Establishes a flex container */
    align-items: flex-start; /* Aligns items to the start of the cross axis */
}

.fa-newspaper {
  padding-right: 20px; /* Ensures there's space between the icon and the text */
}


.categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1500px; /* Limit the width of the grid */
}


.category img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
}

.section-container {
    max-width: 1000px; /* Same as the max-width for .categories and .articles */
    margin: 0 auto; /* Center the container */
    padding: 20px; /* Add some padding for spacing */
}
.category-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.category p {
    font-size: 0.9em;
    color: #888;
    margin: 0;
}

/* Hover effect */
.category:hover {
    background-color: #f9f9f9;
}


.articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px; /* Limit the width of the grid */
    
}
.article, .category {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none; /* Remove default link underline */
    color: #333;
    border: 2px solid #ccc; /* Subtle grey border */
    border-radius: 10px; /* Rounded corners for a smoother look */
    box-shadow: inset 0 0 0 2px #fff; /* White inset shadow to simulate a second border */
    background-color: #fff; /* Sets a white background for each article */

}

.article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article h3 {
    font-size: 1.2em;
}
/* Hover effect */
.article:hover {
    background-color: #f9f9f9;
}
/* Media query for 1x1 layout at 500px width */
.category, .article {
align-items: center; /* Vertically center the content next to the image */
}

@media (max-width: 800px) {
.categories, .articles {
grid-template-columns: 1fr;
}
.c, .a {
margin-left: 0; /* Remove the margin for smaller screens */
text-align: center; /* Center the headings */
}
}
