
.firstdiv {
    width: 75%;
    padding-right: 20px;
}

.firstdiv a {
    text-decoration: none;
}

.imgpart {
    text-align: center;
    /* container ke andar center karega */
    margin-bottom: 20px;
}

.firstRelated {
    border: 1px solid #80808052;
    padding: 10px;
    border-radius: 7px;
    margin-top: 11px;
}
.imgpart img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: inline-block;
  text-align: center ke sath kaam karega;
  border: 1px solid #e4e4e4;
}
/* .firstdiv img {
    width: 50%;
    border-radius: 6px;
    display: block;
    margin: 0 auto 20px auto;
    height: auto;
} */

.firstdiv h1 {
  font-size: 25px;
  color: #0a59a0;
  margin-top: 25px;
  font-weight: 600;
  margin-bottom: 20px;
}

.tmt {
    display: flex;
}
.content h2,.content h3, .content h4,.content h5,.content h6{
    font-size: 22px;
    font-weight: 500;
    margin-top: 10px;
}
.content p {

    color: #333;
    font-size: 15px;
    text-align: justify;
}

.image-with-caption {
    text-align: center;
    margin: 20px 0;
}

.image-with-caption img {
    max-width: 300px;
    width: 100%;
}

.caption {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.section {
    margin-top: 30px;


}

.seconddiv {
  width: 25%;
  margin-top: 35px;
  margin-left: 0px;
}
.search-section .search{
    width: 100%;
}
.search {
    margin-bottom: 13px;
}
.notop{
    margin-top: 0px !important;
}
.search input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 15px;
}
.sidebar-box {
  background: #fff;
  padding: 0px !important;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 0px;
  margin-top: 30px;
}
.sidebar-box h3,
.sidebar-box h4,
.sidebar-box h5,
.sidebar-box h6 {
    margin: 8px 0;
    color: #01587A;
}
.textt button {
  background: #0a59a0;
  padding: 5px 10px;
  color: #fff;
}
.related img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .firstdiv,
    .seconddiv {
        width: 100%;
        padding-right: 0;
    }
}

.image-right {
    float: right;
    width: 250px;
    /* adjust size */
    margin: 0 0 10px 20px;
    /* space between text and image */
    text-align: center;
}

.image-right img {
    width: 100%;
    border-radius: 4px;
}

.image-right .caption {
    font-size: 13px;
    color: #555;
    font-style: italic;
    margin-top: 4px;
}

/* Float image right (already exists) */
.image-right {
    float: right;
    width: 250px;
    margin: 0 0 10px 20px;
    text-align: center;
}

.image-right img {
    width: 100%;
    border-radius: 4px;
}

.image-right .caption {
    font-size: 13px;
    color: #555;
    font-style: italic;
    margin-top: 4px;
}

/* ✅ New: Float image left */
.image-left {
    float: left;
    width: 250px;
    margin: 0 20px 10px 0;
    text-align: center;
}

.image-left img {
    width: 100%;
    border-radius: 4px;
}

.image-left .caption {
    font-size: 13px;
    color: #555;
    font-style: italic;
    margin-top: 4px;
}

/* Responsive fix */
@media (max-width: 768px) {

    .image-right,
    .image-left {
        float: none;
        margin: 15px auto;
        display: block;
    }
}

.sidebar-box.related {
    text-align: center;
}
.sidebar-box.related img {
  display: block;
  margin: 0;
  width: 100%;
  border-radius: 4px;
}

.sidebar-img img {
    width: 38%;
}

.seconddiv a {
    color: #147ba9;
    text-decoration: none;
}

.textt h2 {
    font-size: 15px !important;
    margin: 0px;
    color: #3a4b82;
}
.textt button {
  border: none;
  background: #0a59a0;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 6px;
  margin-top: 10px;
}
ul li:last-child a {
  color: #147ba9;
  font-weight: 400;
}
.sidebar-img {
    text-align: center;
    /* Center image container */
}
.fourthbox .poster {
  width: 29% !important;
  text-align: left;
  padding: 0px;
  margin-top: 16px;
}
.fourthbox .poster img {
  width: 100% !important;
  height: auto;
  margin-bottom: 10px;
}
.sidebar-img img {
    width: 140px;
    display: block;
    margin: 0 auto;
    /* horizontally center image */
}

.textng {
    font-size: 19px;
    margin-bottom: 15px;
    border-bottom: 2px solid #3a4b82;
    color: #ff7604;
    display: inline;

}

.recentprdt {
    margin-top: 11px;
    margin-bottom: 16px;

    border: 1px solid #80808052;
    padding: 10px;
    border-radius: 7px;
}

.seconddiv h4 {
    font-size: 15px;
    margin: 8px;
    color: #3a4b82;
}

.textt {
    margin-top: 9px;
}

.related-products-section {
    margin-top: 33px;
}

.related-posts-section {
    margin-top: 33px;
}

.related-posts-section h3 {
    font-size: 19px;
    margin-bottom: 15px;
    border-bottom: 2px solid #3a4b82;
    color: #ff7604;
    display: inline;

}


.related-products {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    /* responsive */
    margin-top: 15px;
}

.product-box {
    width: 45%;
    /* 2 per row */
    text-align: center;
    background: #fff;
}

.product-box img {
    width: 42%;

    margin: 0 auto 10px auto;
    display: block;
}

.product-box h4 {
    font-size: 15px;
    margin: 5px 0;
    color: #147ba9;
}

.product-box button {
    border: none;
    background: white;
    font-size: 15px;
    color: black;
    cursor: pointer;
}

.product-box .price {
    font-weight: bold;
    color: #000;
    margin: 5px 0 0;
}

/* 
.thrdbox .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.thrdbox .boxm {
    width: 25%; 
}

.cardd {

    padding: 15px;
    text-align: center;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

.cardd img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.cardd h2 {
    font-size: 15px;
    color: #147ba9;
    margin: 4px;
    text-decoration: underline;
}

.cardd button {
    border: none;
    background: white;
    font-size: 15px;
    color: #147ba9;
    cursor: pointer;
}

.thrdbox h3 {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #000;
    display: inline-block;
}

 */

.thedbox {
    margin-top: 40px;
}

.bomx {
    width: 25%;
    padding: 5px;
}

.cardd img {
    width: 180px;
}

.cardd h2 {
    font-size: 15px;
    color: #3a4b82;
    font-weight: 600;

}

.cardd a {
    text-decoration: none;
}


.fourthbox {
    margin-top: 30px;
}

.fourthbox h3 {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #3a4b82;
    color: #ff7604;
    display: inline-block;
}

.fourthbox .row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    /* responsive */
}

.fourthbox .post {
    width: 22%;
    /* 4 posts per row */
    text-align: left;
}

.fourthbox .post img {
    width: 76%;
    height: auto;
    margin-bottom: 10px;
}
.sidebar-box ul {
  list-style-type: none;
  margin-left: 5px;
  padding: 7px;
  font-size: 14px !important;
}

.sidebar-box li {
    margin-bottom: 4px;
    font-size: 15px;
    border-bottom: 1px solid rgb(230, 230, 230);
    padding-bottom: 5px;

}

.sidebar-box li::marker {
    color: #147ba9;
}

.fourthbox .post a {
    font-size: 15px;
    color: #3a4b82;
    text-decoration: none;
    font-weight: 600;
    display: block;
    line-height: 1.4;

}


.thedbox h3 {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #3a4b82;
    color: #ff7604;
    display: inline-block;

}

.popular-posts h3 {
    font-size: 19px;
    margin-bottom: 15px;
    border-bottom: 2px solid #3a4b82;
    color: #ff7604;
    display: inline;
}

.popular-posts .post-item {
    border: 1px solid #80808052;
    padding: 10px;
    border-radius: 7px;
    margin-bottom: 13px;
    margin-top: 11px;

}

.popular-posts .post-item img {
    width: 140px;
    /* smaller thumbnail size */
    height: auto;
    margin: 0 auto 10px;
    /* centers image */
    display: block;
}

.popular-posts .post-item a {
    font-size: 15px;
    color: #3a4b82;
    text-decoration: none;
    /* line-height: 1.4; */
    display: block;
    font-weight: 600;

}

.popular-posts .post-item a:hover {
    text-decoration: underline;
}


@media only screen and (min-width:280px) and (max-width:480px) {
    .firstdiv h1 {
        font-size: 21px;
    }

    .imgpart {
        text-align: left;
    }

    .image-right {
        text-align: left;
        margin: 0px;
    }

    .bomx {
        width: 100%;
    }

    .tmt {
        display: block;
    }

    .image-left {
        text-align: left;
        margin: 0px;
    }

    .boxm {
        width: 100%;
    }

    .cardd img {
        width: 53%;
    }

    .fourthbox .post {
        flex: 1 1 100%;
    }

    .seconddiv {
        width: 100%;
        padding: 0px;
        margin-left: 0px;
    }

    .seconddiv .search input {
        width: 95%;
        padding: 8px;
        font-size: 14px;
    }

    .fourthbox .post img {
        width: 58%;
    }

    .sidebar-box.related img {
        margin: 0px !important;
    }

    .sidebar-img img {
        margin: 0px !important;
    }

    .textt h2 {
        text-align: left !important;
    }

    .textt button {
        display: flex !important;
        margin: 0px !important;
    }

    .popular-posts .post-item {
        text-align: left !important;
        align-items: left !important;
    }



    .sidebar-img {
        text-align: left;
    }

    .sidebar-box.related {
        text-align: left;
    }

    .seconddiv h3,
    .seconddiv h4 {
        font-size: 16px;
        margin: 10px 0;
    }

    .sidebar-box.related img,
    .sidebar-img img,
    .popular-posts .post-item img {
        width: 45%;
        height: auto;
        display: block;
        margin: 0 auto 8px;
    }

    .textt h2 {
        font-size: 15px !important;
        text-align: center;
    }

    .textt button {
        display: block;
        margin: 5px auto;
        font-size: 16px;
    }

    .popular-posts .post-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
        text-align: center;
    }

    .popular-posts .post-item a {
        font-size: 14px;
    }

    .popular-posts {
        margin-top: 39px;
        margin-left: 0px;
    }

    .related-products-section {
        margin-top: 39px;
    }
}

@media only screen and (min-width:480px) and (max-width:576px) {
    .firstdiv h1 {
        font-size: 21px;
    }

    .imgpart {
        text-align: left;
    }

    .image-right {
        text-align: left;
        margin: 0px;
    }

    .bomx {
        width: 100%;
    }

    .tmt {
        display: flex;
    }

    .image-left {
        text-align: left;
        margin: 0px;
    }

    .boxm {
        width: 100%;
    }

    .cardd img {
        width: 53%;
    }

    .fourthbox .post {
        flex: 2 2 50%;
    }

    .seconddiv {
        width: 100%;
        padding: 0px;
        margin-left: 0px;
    }

    .seconddiv .search input {
        width: 95%;
        padding: 8px;
        font-size: 14px;
    }

    .fourthbox .post img {
        width: 43%;
    }

    .sidebar-box.related img {
        margin: 0px !important;
    }

    .sidebar-img img {
        margin: 0px !important;
    }

    .textt h2 {
        text-align: left !important;
    }

    .textt button {
        display: flex !important;
        margin: 0px !important;
    }

    .popular-posts .post-item {
        text-align: left !important;
        align-items: left !important;
    }



    .sidebar-img {
        text-align: left;
    }

    .sidebar-box.related {
        text-align: left;
    }

    .seconddiv h3,
    .seconddiv h4 {
        font-size: 16px;
        margin: 10px 0;
    }

    .sidebar-box.related img,
    .sidebar-img img,
    .popular-posts .post-item img {
        width: 45%;
        height: auto;
        display: block;
        margin: 0 auto 8px;
    }

    .textt h2 {
        font-size: 15px !important;
        text-align: center;
    }

    .textt button {
        display: block;
        margin: 5px auto;
        font-size: 16px;
    }

    .popular-posts .post-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
        text-align: center;
    }

    .popular-posts .post-item a {
        font-size: 14px;
    }

    .popular-posts {
        margin-top: 39px;
        margin-left: 0px;
    }

    .related-products-section {
        margin-top: 39px;
    }

}

@media only screen and (min-width:576px) and (max-width:768px) {
    .firstdiv h1 {
        font-size: 21px;
    }

    .boxm {
        width: 100%;
    }

    .cardd img {
        width: 53%;
    }

    .fourthbox .post {
        flex: 2 2 47%;
    }

    .seconddiv {
        width: 100%;
        padding: 0px;
        margin-left: 0px;
    }

    .seconddiv .search input {
        width: 100%;
        padding: 8px;
        font-size: 14px;
    }

    .seconddiv h3,
    .seconddiv h4 {
        font-size: 16px;
        margin: 10px 0;
    }

    .sidebar-box.related img,
    .sidebar-img img,
    .popular-posts .post-item img {
        width: 45%;
        height: auto;
        display: block;
        margin: 0 auto 8px;
    }

    .textt h2 {
        font-size: 15px !important;
        text-align: center;
    }

    .textt button {
        display: block;
        margin: 5px auto;
        font-size: 16px;
    }

    .popular-posts .post-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
        text-align: center;
    }

    .popular-posts .post-item a {
        font-size: 14px;
    }

    .popular-posts {
        margin-top: 39px;
        margin-left: 0px;
    }

    .related-products-section {
        margin-top: 39px;
    }
}

@media only screen and (min-width:768px) and (max-width:991px) {}

@media only screen and (min-width:991px) and (max-width:1200px) {}