@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Patua+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Maitree:wght@200;300;400;500;600;700&display=swap');

body { font-family: 'Kalpurush'; }

/* FONTS */
.rious {
    font-family: 'Righteous', cursive;
    font-weight: 400;
    font-style: normal;
}
.patua {
    font-family: "Patua One", serif;
    font-weight: 400;
    font-style: normal;
}
.maitree-2 {
    font-family: "Maitree", serif;
    font-weight: 200;
    font-style: normal;
}
.maitree-3 {
    font-family: "Maitree", serif;
    font-weight: 300;
    font-style: normal;
}
.maitree-4 {
    font-family: "Maitree", serif;
    font-weight: 400;
    font-style: normal;
}
.maitree-5 {
    font-family: "Maitree", serif;
    font-weight: 500;
    font-style: normal;
}
.maitree-6 {
    font-family: "Maitree", serif;
    font-weight: 600;
    font-style: normal;
}
.maitree-7 {
    font-family: "Maitree", serif;
    font-weight: 700;
    font-style: normal;
}
/* FONTS */

.main-logo {
    height: 30px;
    margin-left: 20px;
}
.post-card {
    margin-bottom: 5%;
}
.post-box-column {
    padding-left:0;
}
.post-box {
    max-height:300px;
    overflow:hidden;
    padding-left:0;
}
.post-img-box {
    border: 1px solid #0dcaf0;
    padding: 5px;
    height: 260px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2% 0 0 2%;
}
.post-img-box:hover {
    border: 1px solid #0d6efd;
}
.post-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.post-title {
    font-size: 1.2rem;
    line-height: 1.3;
    max-height: 50px;
    overflow: hidden;
}
.post-title:hover {
    color: #0d6efd;
}
.post-text:hover {
    color: #0d6efd;
}
#sidebar {
  transition: width 0.3s ease;
}
#content {
  transition: margin-left 0.3s ease;
}
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #f1f1f1;
}

.toggleBtn {
    margin-left: 11px;
}

.toggleBtn:hover {
  background-color: #444;
}
.accordion-button::after {
    filter: invert(1); /* turn dark arrow to light */
}
.nav-tog-btn-start {
    padding: 8px;
    font-size: inherit;
    border-color: #0dcaf0;
}
.nav-tog-btn-end {
    padding: 8px;
    font-size: inherit;
    margin-right: 10px;
    border-color: #0dcaf0;
}
.always-show {
  display: block !important;
}
.category-list {
    text-decoration: none;
    color: unset;
}
.subcategory-list {
    text-decoration: none;
    color: unset;
}
.category-list:hover {
    padding-left: 10px;
    transition: 0.3s;
    font-weight: bold;
}
.subcategory-list:hover {
    padding-left: 10px;
    transition: 0.3s;
    font-weight: bold;
}
.copyright-text {
    color: #9a9a9a;
    text-decoration: none;
}
.footer-section {
    min-height: 300px;
}
.bg-gray {
    background-color: #30363c;
}
.footer-list {
    background-color: transparent;
}
.footer-list a {
    text-decoration: none;
    color: #fff;
}
.profile-image-mini {
    height: 40px;
    width: 40px;
    background-size: cover;
    border: 1px solid #0dcaf0;
    border-radius: 5px;
    background-position: center;
}
.profile-image-mini:hover {
    border: 1px solid #0d6efd;
}
.author-name {
    font-weight: bold;
}
.profile-name-link {
    text-decoration: none;
}
.publish-date {

}
.category-link {
    text-decoration: none;
    color: #a22222;
}
.category-link:hover {
    font-weight: bold;
}
.l-c-s:hover {
    color: #0d6efd;
}
.category-toggle i {
  transition: transform 0.3s ease;
}
/* Rotate when open */
.category-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}
.details-post-img-box {
    padding: 5px;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.details-post-image {
    max-width: 100%;   /* Prevent overflow if too big */
    max-height: 100%;
    min-width: 100%;   /* Stretch small images */
    min-height: 100%;
    object-fit: contain;
    object-position: center;
}
.details-post-image.small {
    object-fit: cover;   /* Fill the box if too small */
}
.chapter-header {
    font-size: 25px;
    padding-top: 5px;
}
.profile-cover {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.profile-image {
    width: 150px;
    height: 150px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, .3);
    position: absolute;
    bottom: -30px;
    left: 20px;
    border: 5px solid #fff;
    background-size: cover;
    background-position: center;
}
.author-name-profile {
    font-size: 20px;
    font-weight: bold;
    margin-top: 40px;
    margin-left: 10px;
}
.profile-tbl {
    overflow:hidden;
}
.sidebar-accordion-padding-control {
    padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);
}
.sidebar-accordion-border-control {
    border: none;
}
.post-details {
    font-size: 18px;
}