* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  color: #333;
  background: #fff;
}

.container {
  width: 95%;
  margin: 20px auto;
  display: flex;
  gap: 0;
  align-items: stretch;
}

.content {
  width: 70%;
  padding: 0 20px 20px;
  background: #fff;
}

/* gap version */
/* body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  color: #333;
  background: #f3f3f3;
}

.container {
  width: 95%;
  max-width: 1400px;
  margin: 20px auto;
  display: flex;
  gap: 24px;
  align-items: flex-start;
} 

.content {
  width: 68%;
  background: #fff;
  padding: 22px;
} */

.date {
  font-weight: 600;
  margin: 0;
  margin-bottom: 7px;
}

.top-title {
  background: #011776;
  color: white;
  padding: 5px;
  font-size: 20px;
}

.sidebar {
  width: 30%;
  padding: 5px 20px;
  background: #fff;
  border-left: 1px solid #ddd; /* line between sidebar*/
}

.content img {
  display: block;
  width: 80%;
  max-height: 1000px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 30px;
}

.article-body {
  color: #222;
  line-height: 1.7;
  font-size: 16px;
  text-align: justify;
}

/* header */
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* paragraph */
.article-body p {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* lists parent */
.article-body ul,
.article-body ol {
  padding-left: 25px;
  margin-bottom: 10px;
}

/* ordered list markers */
.article-body ol li::marker {
  font-weight: bold;
}

/* list items */
.article-body li {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* list item paragraphs */
.article-body li > p {
  margin-top: 0;
  margin-bottom: 10px;
}

/* list item paragraphs with nested ul/ol */
.article-body li > p:has(+ ul),
.article-body li > p:has(+ ol) {
  margin-bottom: 0;
}

.sidebar-logo {
  width: 450px;
  height: 100px;
  max-width: 700px;
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.full-logo img {
  width: 350px;
  height: 100px;
  display: block;
}

.sidebar h3 {
  margin-top: 0;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ddd;
  font-size: 22px;
}

.recent-item {
  border-bottom: 1px solid #ddd; /* border under every related post */
}

.recent-item a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: #222;
  line-height: 1.5;
  transition: 0.2s ease;
}

.recent-item a:hover {
  color: #0d57d8;
  padding-left: 6px;
}

@media (max-width: 1200px) {
  .top-title {
    font-size: 13px;
  }
  .container {
    flex-direction: column;
  }

  .content,
  .sidebar {
    width: 100%;
  }

  .sidebar {
    width: 100%;  
    border-left: none;
    border-top: 1px solid #ddd;
    padding: 20px;
    /* set flex */
    /* display: flex;
    text-align: center; 
    flex-direction: column;
    align-items: stretch;  */
  }

.sidebar-logo {
    /* Change fixed width to 100% and center */
    width: 100%; 
    max-width: 100%;
    height: auto; 
    display: flex;
    justify-content: center; 
    margin: 0 auto 20px;
  }

  .full-logo {
    /* fix size let it wont exceed */
    max-width: 350px; 
    width: 90%; 
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .top-title {
    font-size: 10px;
    text-align: center;
  }

  .content,
  .sidebar {
    padding: 12px;
  }

  .content img,
  .article-body img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .article-body {
    font-size: 14px;
  }

 .sidebar {
    /* set flex */
    /* display: flex;
    text-align: center; 
    flex-direction: column;
    align-items: stretch;  */
  }

}
