/* Banner ================================== */
.banner{
    min-height: 100vh;
    position: relative;
    background: url(../assets/images/blog/blogBanner.png) no-repeat center / cover;
}
.bnr-desc{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 100px;
}
.bnr-desc h1{
    max-width: 1008px;
    line-height: 0.8;
    margin-bottom: 50px;
}


.bnr-link {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    font-size: 20px;
}
.active-link{
    color: var(--theme-color);
}
.active-link::before{
    content: "";
    position: absolute;
    left: 64px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--theme-color);
}
.bnr-left-dsgn{
    width: clamp(70px, 20vw, 163px);
    height: 63px;
    position: absolute;
    bottom: 35px;
    left: 0px; 
}
.bnr-right-dsgn{
    width: clamp(120px, 30vw, 357px);
    height: 179px;
    position: absolute;
    bottom: 100px;
    right: -50px;
}
.bnr-left-dsgn>img,.bnr-right-dsgn>img{
    width: 100%;height: 100%;
    object-fit: contain;
}


/*==============================
Blog List Section
================================*/
.blog-list-sec {
  padding: 60px 0;
}

.blog-list-sec .blog-card-wrapper {
  padding: 10px 10px 40px;
  border: 1px solid var(--text-gray);
  margin-bottom: 40px;
}

.blog-list-sec .blog-img {
  margin-bottom: 20px;
}

.blog-list-sec .blog-content {
  text-align: left;
}

.blog-list-sec .blog-date {
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.blog-list-sec .blog-title {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-transform: capitalize;
}

.blog-list-sec .title-desc {
  font-size: 16px;
  max-width: 760px;
  margin-bottom: 40px;
}

.blog-list-sec .blog-btn {
  padding: 8px 18px;
  border-bottom: 1px solid var(--text-gray);
  display: inline-block;
  transition: 0.4s linear;
}

.blog-list-sec .blog-btn span {
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 14px;
  transition: 0.4s linear;
}

.blog-list-sec .blog-btn:hover {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
}

.blog-list-sec .blog-btn:hover span {
  color: var(--bg-black);
}

/* SIDEBAR */
.blog-list-sec .blog-sidebar {
  padding-left: 40px;
}

.blog-list-sec h4 {
  font-size: 22px;
  margin-bottom: 25px;
  color: var(--primary-color);
  text-transform: capitalize;
}
.blog-list-sec .search-part h4{
    color: var(--secondary-color);
}
.search-part{
    margin-bottom: 30px;
}

.search-box-wrapper {
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 25px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-list-sec .search-box-wrapper input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--primary-color);
  width: 100%;
}
.blog-list-sec .search-box-wrapper button{
    background: transparent;
    border: none;
}
.blog-category, .recent-posts, .gallery-grid{
    margin-bottom: 60px;
}
.blog-list-sec .blog-cat-list li,
.blog-list-sec .blog-tag-list li {
  margin-bottom: 12px;
  list-style: none;
}

.blog-list-sec .blog-cat-list a,
.blog-list-sec .blog-tag-list a {
  color: rgba(255,255,255,0.7);
  text-transform: capitalize;
  transition: 0.4s ease;
}

.blog-list-sec .blog-cat-list a:hover,
.blog-list-sec .blog-tag-list a:hover {
  color: var(--secondary-color);
}

/* RECENT */
.blog-list-sec .recent-post-card {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.blog-list-sec .recent-img {
  width: 70px;
  height: 70px;
}

.blog-list-sec .recent-content {
  font-size: 14px;
}

.blog-list-sec .recent-date {
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.blog-list-sec .recent-title {
  color: var(--primary-color);
}

/* GALLERY */
.blog-list-sec .blog-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.blog-list-sec .blog-gallery img {
  width: 100%;
  height: 70px;
  object-fit: cover;
}

/* decorative */
.blog-list-sec .section-element-1,
.blog-list-sec .section-element-2 {
  position: absolute;
  z-index: -1;
}

.blog-list-sec .section-element-1 {
  bottom: 75%;
    left: -36px;
    
    width: 384px;
    height: 384px;
    animation: rotate 20s linear infinite;
}


.blog-list-sec .section-element-2 {
  width: 300px;
  right: 0;
  top: 60%;
}

@keyframes rotate {
    0% {
    transform: rotate(0deg);
}

100% {
    transform: rotate(360deg);
}
}

/* blog tags */
.blog-list-sec .blog-tags-list li {
  margin-bottom: 12px;
  list-style: none;
}

.blog-list-sec .blog-tags-list label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.blog-list-sec .blog-tags-list input {
  display: none;
}

.blog-list-sec .blog-tags-list .tag-box {
  height: 20px;
  width: 20px;
  border: 1px solid var(--primary-color);
  margin-right: 20px;
  transition: 0.3s ease;
}

.blog-list-sec .blog-tags-list .tag-name {
  color: rgba(255,255,255,0.7);
  text-transform: capitalize;
  transition: 0.3s ease;
}

/* checked state — your exact logic */
.blog-list-sec .blog-tags-list input:checked ~ .tag-box {
  background: var(--secondary-color);
}

.blog-list-sec .blog-tags-list input:checked ~ .tag-name {
  color: var(--secondary-color);
}
/*==============================
Responsive
================================*/
@media (max-width:1200px){
  .blog-list-sec .blog-sidebar {
    padding-left: 0;
    margin-top: 40px;
  }
}

@media (max-width:576px){
  .blog-list-sec {
    padding: 45px 0;
  }
  .blog-list-sec .blog-title {
    font-size: 18px;
  }
  .blog-list-sec .title-desc {
    font-size: 12px;
  }
}