/* Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  
}
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
  background-image: url(https://www.mindchirps.com/background/background15.jpg);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

/* Header */


.logo {
  height: 50px; /* or 60px if you prefer */
  margin: 0; /* remove auto-centering */
  display: block;
}


/* Navigation */
.header-inner {
  display: flex;
  align-items: center; /* vertical centering */
  gap: 1rem; /* space between logo and title */
  height: 100px;
  margin: 0 auto;
  padding: 0 1rem;
  background-color:rgb(0, 86, 95);
}



/* Content Area */
.content-area {
  
  display: flex;
  padding: 1rem; /* Instead of 1rem 0 + 3rem left */
  gap: 0.1rem;     /* Optional: to control spacing between posts and sidebar */
}



/* Posts Grid */
.posts {
  justify-content: end;
  flex:3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* adds space between cards */
  padding: 20px;
}
.post-bottom{
    border-width: 600px;
    border-top: 6px solid rgb(240, 237, 231);
    background-color: rgb(240, 237, 231);
    margin-top: 10px;
    padding: 10px;
    padding-top: 10px;
    text-align: end;
}
.post-bottom button{
  padding:8px;
  background-color: #615c5c;
  color: white;
  font-size: medium;
  cursor: pointer;
  border-radius: 5px;
  border: none;
}
.post-bottom button:hover{
  background-color: #3a3737 ;
}
.card {
  background: #fff;
  border-radius: 5px;
  width:70%;
 
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 10px;
}


.card-img {
  width: 20%;
  height: auto; /* maintain aspect ratio */
  object-fit: cover;
  margin-top: 20px;
  margin-left: 20px;
}

.header-cls{
  font-size: 1.2rem;
  height:50px;
  padding-left: 25px;
  padding:10px;
  background-color:rgb(0, 86, 95);
  color:#c3f4ff;
 
}
.card p {
  flex: 1;
  margin: 0 1rem 0.75rem;
}

.article-content{
    display:flex;
    align-items: center;
    margin-top: 10px;
}
.article-content p{
  width: 100%;
  padding: 10px;
  font-size: 20px;
}
.article-content p a{
  color: #000;
}
.read-more {
  margin: 0 ;
  color: #4a90e2;
  text-decoration: none;
  font-weight: 500;
}
.read-more:hover {
  text-decoration: underline;
}
.pagination-container {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.pagination {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li {
 
}

.pagination li a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  background-color: #f0f0f0;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-weight: 500;
}

.pagination li.active a {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}



/* Sidebar */
.sidebar {
  flex: 1;
  
}
.widget {
  width: 300px;
  background: #fff;
  padding-top: none;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
}
.widget h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.widget input[type="email"] {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.widget button {
  background: #4a90e2;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.widget button:hover {
  background: #357ab8;
}
.widget.about p {
  font-size: 0.95rem;
}
.widget ul {
  list-style: disc inside;
}
.section-cls {
  display: flex;
  padding: 10px;
  text-align: justify;
  font-size: large;
  flex-direction: column;
  gap: 10px; /* Adds space between input and button */
  width: 100%; /* Optional: stretch to full width */
 ; /* Optional: limit form width */
}
.section-cls button {
  width: fit-content;
  align-self: center;
}


.section-cls li{
  list-style: none;
}
.submenu li {
  list-style: none; /* Remove default bullet */
  position: relative;
  padding-left: 20px; /* Space for tick */
}
.submenu li a{
  text-decoration: none;
  font-weight: bold;
  color: inherit;
}
.submenu li a:hover{
  text-decoration: underline;
}
.submenu li::before {
  content: "✔";
  color: rgb(14, 14, 14);
  position: absolute;
  left: 0;
  top: 0;
}

  .dropdown {
    cursor: pointer;
    user-select: none;
    padding: 5px 0;
    font-weight: bold;
    list-style: none;
  }
  .dropdown:hover{
    text-decoration: underline;
  }
  .dropdown::before {
    content: "▶";
    display: inline-block;
    margin-right: 6px;
    transition: transform 0.2s;
  }

  .dropdown.open::before {
    content: "▼";
  }

  .submenu {
    display: none;
    list-style:none;
    margin-left: 20px;
    padding-left: 10px;
  }

  .submenu li {
    font-weight: normal;
    margin: 4px 0;
  }
 
.tags-list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
  height: 200px;
  overflow-y: auto;         /* Add scrollbar if content overflows */
  columns: 2;               /* Two vertical columns */
  -webkit-columns: 2;
  -moz-columns: 2;
}

.tags-list li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #000003;
  break-inside: avoid;      /* Prevent item breaking between columns */
}


.tags-list li a {
  color: #0064cf;
  font-weight: bold;
  text-decoration: none;
}

.tags-list li a:hover{
  text-decoration: underline  ;
}


/* Footer */
.main-footer {
  background-color: #143b3e;
  color: white;
  padding: 30px 0;
  font-family: Arial, sans-serif;
  text-align: center;
  position: relative;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
}

.social-icons {
  margin-bottom: 20px;
}

.social-icons a {
  display: inline-block;
  margin: 0 10px;
  color: white;
  font-size: 22px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffcc00;
}

.main-footer p {
  margin: 5px 0;
  font-size: 14px;
}

.scroll-top {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background-color: #f9d342;
  color: black;
  padding: 10px 12px;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.scroll-top:hover {
  background-color: #e6c200;
}


.social-icons {
  margin-bottom: 10px;
}

.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 24px;
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ffc107;
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffc107;
  padding: 10px;
  border-radius: 4px;
  color: black;
  font-size: 18px;
  text-decoration: none;
}

.scroll-top:hover {
  background-color: #e0a800;
}
.hamburger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  margin: 0;               /* Remove unnecessary margin */
  padding: 5px;
  cursor: pointer;
  z-index: 999;
}


/* Toggle menu container */
#mobile-categories {
  display: none;
  position: absolute;
  top: 10px; /* Adjust this value as needed */
  left: 50%;
  transform: translateX(-50%);
  width: 90%; /* optional */
  background-color: #fff; /* optional */
  z-index: 999; /* to keep it above other elements */
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* optional */
}
/* Responsive Design */
@media (max-width: 768px) {
  .card{
    width: 110%;
    
  }
  scroll-top {
    right: 10px; /* move slightly inward on small screens */
  }
  .widget{
    width: 100%;
    align-items: center;
 
    
  }
  .article-content{
    display: block;
    padding: 5px;
    text-align: center;
  }
  .article-content p{
    text-align: left;
  }

  .content-area {
    flex-direction: column;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  .hamburger {
    display: block;
  }

.header-inner{
  gap:3px;
}
  
#mobile-categories.active {
  display: flex;
  margin-top: 80px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

}