* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration:none;

}

h1, h2, h3, h4, h5 {
    color: var(--wioh);
  }

ol, ul {
    box-sizing: border-box;
    list-style: none;
}

body {
  font-family: 'Inter', sans-serif;
}

span.alert-category {
    color: var(--wiop);
    background: red;
    padding: 0 12px;
    border-radius: 5px;
}


/* ==== Layout Container ==== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ==== Header Base ==== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

/* ==== Logo ==== */
.logo a {
  font-size: 28px;
  font-weight: bold;
  color: var(--wioh);
  text-decoration: none;
}

/* ==== Desktop Menu ==== */
.desktop-menu .menu-list {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-list li a {
  position: relative;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  padding: 4px 0;
}
.menu-list li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--wioh);
  left: 0;
  bottom: 0;
  transition: 0.3s ease;
}
.menu-list li a:hover::after {
  width: 100%;
}

/* ==== Active Menu Underline ==== */
.menu-list li.current-menu-item > a::after,
.menu-list li.current_page_item > a::after {
  width: 100%;
}


/* ==== Mobile Menu ==== */
.mobile-menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: var(--wioh);
  margin-left: 12px;
}
.mobile-sidebar {
  display: none;
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 250px;
  background: #fff;
  padding: 20px;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  z-index: 2000;
}
#close-sidebar {
  background: none;
  border: none;
  font-size: 24px;
  float: right;
  color: var(--wioh);
}
.mobile-menu-list {
  margin-top: 50px;
  list-style: none;
}
.mobile-menu-list li a {
    text-align: center;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    color: var(--wioh);
    text-decoration: none;
}
/* ==== Responsive ==== */
@media (max-width: 768px) {
  .header-inner {
    height: 25px;
}
  .desktop-menu, .search-form {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ====== Alert Slider Container ====== */
.alert-slider-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.alert-content a {
    background: red;
    color: #ffffff;
    padding: 4px 17px;
    border-radius: 9px;
    line-height: 35px;
}

/* ====== Slider Wrapper ====== */
.alert-slider {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* ====== Single Slide ====== */
.alert-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 0 8px;
}

.alert-slide-inner {
  display: flex;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  gap: 16px;
}

/* ====== Slide Image ====== */
.alert-image {
  flex: 1;
  min-width: 150px;
}
.alert-image img {
    border-radius: 15px;
    margin: 0 0 0 8px;
    width: 100%;
    height: 209px;
    display: block;
    object-fit: cover;
}

/* ====== Slide Content ====== */
div#alert-slider {
    width: 100%;
}

.alert-content {
    flex: 2;
    padding: 16px;
    text-align: center;
}
.alert-content h2 {
    font-size: 20px;
    margin: 13px 0;
}
.alert-content p {
  font-size: 14px;
  line-height: 1.6;
}
.alert-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}
.alert-author {
    margin-left: 80%;
    margin-top: 13px;
    font-size: 13px;
    color: #777;
    display: flex;
    gap: 16px;
}

/* ====== Arrows ====== */
.alert-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--wioh);
    color: #fff;
    border: none;
    font-size: 22px;
    padding: 0px 9px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}
.alert-arrow.left {
  left: 22px;
}
.alert-arrow.right {
    right: 1px;
}

/* ====== Responsive Fixes ====== */
@media (max-width: 768px) {
  .alert-slide {
    padding: 0 17px;
}

  .alert-image img {
    margin: 0;
    height: 206px;
    display: block;
    object-fit: cover;
}

  .alert-slide-inner {
    flex-direction: column;
    gap: 0;
  }

  .alert-content {
    padding: 12px;
  }

  .alert-content h2 {
    font-size: 16px;
  }

  .alert-content p {
    font-size: 13px;
  }

  .alert-author {
    font-size: 12px;
    flex-direction: column;
    gap: 4px;
}
  .alert-arrow {
    font-size: 17px;
    padding: 2px 8px;
}
.alert-arrow.left {
    left: 3px;
}

.alert-arrow.right {
    right: 2px;
}
.alert-content p {
    display: none;
}
.alert-content a {
    border-radius: 0;
    line-height: 30px;
}
}





/*recent*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}
.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--wioh);
  margin-bottom: 2rem;
  position: relative;
}
.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--wioh);
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.posts-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.post-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
}
.post-thumb img {
    height: 200px;
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-bottom: 1px solid #eee;
}
.post-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.post-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.post-excerpt {
  font-size: 0.9rem;
  color: #555;
  flex-grow: 1;
}
.read-more {
  background: var(--wioh);
  color: var(--wiop);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-align: center;
  margin-top: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}
.read-more:hover {
  background: var(--wioh);
}
.post-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #777;
  margin-top: 0.75rem;
}
.load-more-wrap {
  text-align: center;
  margin-top: 2rem;
}
.load-more {
  background: var(--wioh);
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.load-more:hover {
  background: var(--wioh);
}

.pagination {
  margin-top: 32px;
  text-align: center;
}
.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  border: 1px solid var(--wioh);
  color: var(--wioh);
  border-radius: 4px;
  text-decoration: none;
}
.pagination .current {
  background: var(--wioh);
  color: var(--wiop);
}
.pagination a:hover {
  background: var(--wioh);
  color: var(--wiop);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.3rem;
}
  .post-title {
    font-size: 1rem;
  }
  .post-excerpt {
    font-size: 0.85rem;
  }
  section.recent-posts.container {
    margin: -49px 0 0 0;
}
h2.section-title {
    margin: 25px 0 13px 0;
}
}

/* ==== Footer Base ==== */
.site-footer {
  background: var(--wioh); /* পিংক ব্যাক্রাউন্ড */
  padding: 24px;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* ==== Footer Menu ==== */
.footer-menu-list ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.footer-menu-list li a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

/* ==== Copyright ==== */
.footer-copy {
  font-size: 16px;
  color: #000;
}

.footer-copy a {
  color: #000;
  text-decoration: underline;
}

/* ==== Responsive Design ==== */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
  }

  .footer-menu-list {
    gap: 12px;
  }

  .footer-menu-list li a,
  .footer-copy {
    font-size: 14px;
  }
}

