body {font-family: "heebo", system-ui, sans-serif; background-color: var(--c-blog-bg);}
.blog-carousel {overflow: hidden; position: relative;}
.blog-carousel .carousel-wrapper {display: flex; transition: transform 0.4s ease;}
.blog-carousel .carousel-card {flex: 0 0 100%; width: 100%;}


/* BLOG HEADER */
.blog-topbar {border-bottom: 1px dashed var(--c-blog-br); background-color: #fff;}
.blog-topbar .trending {display: block; flex: none; width: fit-content; font-size: 14px; font-weight: 500; line-height: 17px; color: var(--c-blog-trending); background-color: var(--c-blog-trending-bg); padding: 12px 20px; margin-right: 10px;}
.blog-topbar .social-icon {display: flex; align-items: center; justify-content: center; padding-right: 10px; margin-right: 10px; position: relative; margin-left: 100px;}
.blog-topbar .social-icon::after {width: 2px; height: 15px; background-color: var(--c-blog-lgt); position: absolute; inset: 0; margin-block: auto; margin-left: auto; content: "";}
.blog-topbar .social-icon li {list-style: none; opacity: 0.85;}
.blog-topbar .social-icon li a {width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; filter: brightness(0) saturate(100%) invert(8%) sepia(11%) saturate(2306%) hue-rotate(165deg) brightness(100%) contrast(90%); opacity: 0.7;}
.blog-topbar .container-blog {display: flex; align-items: center;}
.blog-topbar .carousel-card a {display: block; font-size: 14px; line-height: 1; color: var(--c-blog-header); padding: 12px; opacity: 0.7;}
.blog-topbar .carousel-btn, .blog-features .carousel-btn {display: flex; align-items: center; gap: 8px;}
.blog-topbar .carousel-btn button, .blog-features .carousel-btn button {width: 23px; height: 23px; display: flex; align-items: center; justify-content: center; font-size: 11px; background-color: transparent; color: var(--c-blog-carousel); border: 1px solid var(--c-blog-carousel); border-radius: 3px; cursor: pointer; transition: background-color 0.2s, color 0.2s;}
.blog-topbar .carousel-btn button:hover, .blog-features .carousel-btn button:hover {background-color: var(--c-blog-carousel-hover); color: #fff; border-color: var(--c-blog-carousel-hover);}
.blog-centerbar {background-color: #fff;}
.blog-centerbar .menu-btn {display: none;}
.blog-centerbar .container-blog {display: flex; align-items: center; justify-content: space-between; padding-block: 10px;}
.blog-centerbar .blog-sun {display: flex; align-items: center; justify-content: center; gap: 15px; margin-right: 20px;}
.blog-centerbar .blog-sun strong {font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--c-blog-header);}
.blog-centerbar .blog-sun p {line-height: 27px; color: var(--c-blog-city);}
.blog-bottombar {display: flex; align-items: center; justify-content: space-between; background-color: var(--c-primary);}
.blog-bottombar ul {display: flex; align-items: center; justify-content: start; gap: 2px;}
.blog-bottombar ul > :first-child {display: none;}
.blog-bottombar li {list-style: none;}
.blog-bottombar li a {color: #fff; padding: 22px 20px; line-height: 26px; position: relative; z-index: 1;}
.blog-bottombar li a::after {width: 0; height: 2px; background-color: var(--c-blog-carousel-hover); position: absolute; bottom: 0; left: 0; content: "";}
.blog-bottombar li a:hover::after {width: 100%; transition: all 0.4s;}
.blog-bottombar li a::before {width: 100%; height: 0; background-color: #000; position: absolute; top: 0; left: 0; content: ""; transition: all 0.4s; z-index: -1;}
.blog-bottombar li a:hover::before {height: 100%;}
.blog-bottombar .date {height: 100%; width: 100%; max-width: 300px; text-align: center; font-size: 16px; line-height: 27px; background-color: var(--c-blog-date); color: #fff; padding: 21px;}
.blog-menu-bg {width: 100%; height: 100vh; display: none; position: fixed; top: 0; right: 0; background-color: #00000080; z-index: 9;}

/* BLOG FOOTER */
.footer-blog {background-color: #fff;}
.footer-blog p {font-size: 14px; padding: 5px; color: var(--c-blog-header);}

/* BLOG PAGE */
.blog-page .wrapper {display: flex; align-items: start; gap: 20px; margin-block: 30px;}
.blog-page .right-col {width: 100%; max-width: 380px; flex: none;} 
.blog-page .left-col {width: 100%;}
.blog-page .trending-news {background-color: #fff; padding: 20px; margin-bottom: 30px; border-radius: 5px;}
.blog-page .trending-news > :first-child {font-size: 24px; font-weight: 500; text-transform: capitalize; color: var(--c-blog-header); margin-bottom: 20px;}
.blog-page .content {display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;}
.blog-page .post-img, .blog-detail .post-img {position: relative;}
.blog-page .post-img a, .blog-detail .post-img a {width: 100%;}
.blog-page .post-img a img, .blog-detail .post-img a img {width: 100%; object-fit: cover; border-radius: 5px;}
.blog-page .trending-tag, .blog-detail .trending-tag {width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background-color: var(--c-blog-trending); border: 1px solid #fff; border-radius: 50%; position: absolute; top: 10px; left: 10px;}
.blog-page .trending-tag img, .blog-detail .trending-tag img {filter: invert(1);}
.blog-page .post-text, .blog-detail .post-text {padding-top: 20px; padding-right: 20%;}
.blog-page .post-text > :first-child > *, .blog-detail .post-text > :first-child > * {font-size: 20px; line-height: 24px; font-weight: 500; color: var(--c-blog-header); transition: color var(--trans-3);}
.blog-page .post-text > :first-child > *:hover, .blog-detail .post-text > :first-child > *:hover {color: var(--c-blog-carousel-hover);}
.blog-page .meta, .blog-detail .meta {display: flex; align-items: center; justify-content: start; gap: 7px;}
.blog-page .meta > :first-child, .blog-detail .meta > :first-child {font-size: 14px; font-weight: 500; line-height: 24px; color: var(--c-blog-carousel-hover); position: relative;}
.blog-page .meta > :first-child::after, .blog-detail .meta > :first-child::after {position: absolute; content: ""; height: 15px; width: 1.5px; background: var(--c-blog-carousel-hover); left: -20px; top: 50%; margin-top: -7.5px;}
.blog-page .meta > :last-child, .blog-detail .meta > :last-child {font-size: 14px; color: var(--c-blog-header); opacity: 0.75; position: relative; padding-left: 20px;}
.blog-page .meta > :last-child::after, .blog-detail .meta > :last-child::after {position: absolute; content: "|"; height: 20px; width: 10px; left: 0; top: 50%; margin-top: -10px; line-height: 20px; color: var(--c-blog-header); opacity: .3; text-align: center;}
.blog-page .popular-list li, .blog-detail .popular-list li {display: flex; align-items: start; justify-content: start; gap: 15px; list-style: none;}
.blog-page .sm-img, .blog-detail .sm-img  {height: 56px; width: 100px; flex: none; overflow: hidden; border-radius: 5px;}
.blog-page .sm-img img, .blog-detail .sm-img img {object-fit: cover; transition: transform var(--trans-3);}
.blog-page .popular-list li:hover img, .blog-detail .popular-list li:hover img {transform: scale(1.1);}
.blog-page .sm-text, .blog-detail .sm-text {padding-bottom: 10px; border-bottom: 1px dashed var(--c-blog-br); margin-bottom: 15px;}
.blog-page .sm-text > :first-child > *, .blog-detail .sm-text > :first-child > * {font-size: 16px; font-weight: 500; line-height: 21px; color: var(--c-blog-header); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--trans-3);}
.blog-page li:hover .sm-text > :first-child > *, .blog-detail li:hover .sm-text > :first-child > * {color: var(--c-blog-carousel-hover);}
.blog-page .sm-text .category-text, .blog-detail .sm-text .category-text {font-size: 12px; font-weight: 500; line-height: 17px; text-transform: capitalize; color: var(--c-blog-header); opacity: 0.6; transition: color var(--trans-3); margin-top: 5px;}
.blog-page li:hover .sm-text .category-text, .blog-detail li:hover .sm-text .category-text {color: var(--c-blog-carousel-hover);}
.blog-features {margin-bottom: 30px;}
.blog-features .heading {display: flex; align-items: center; justify-content: space-between; background-color: #fff; padding: 20px; border-radius: 5px; margin-bottom: 20px;}
.blog-features .heading > :first-child {font-size: 24px; font-weight: 500; color: var(--c-blog-header); line-height: 1.2; text-transform: capitalize;}
.blog-features .carousel-btn > * {width: 30px !important; height: 30px !important;}
.blog-features .carousel-wrapper {gap: 30px;}
.blog-features .carousel-card { list-style: none; background-color: #fff; border-radius: 5px; overflow: hidden;}
.blog-features .feature-img {position: relative;}
.blog-features .feature-img .badge { font-size: 12px; color: #fff; background-color: var(--c-blog-carousel-hover); padding: 7px 12px; border-radius: 0 30px 30px 0; position: absolute; top: 20px; left: 0;}
.blog-features .feature-img a, .blog-features .feature-img img {width: 100%;}
.blog-features .feature-img img {height: 100%; object-fit: cover;}
.blog-features .carousel-card .feature-text {padding: 20px;}
.blog-features .carousel-card p {font-size: 17px; line-height: 23px; color: var(--c-blog-header); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;}
.latest-blog {background-color: #fff; padding: 20px; border-radius: 5px; overflow: hidden;}
.latest-blog > :first-child {font-size: 24px; font-weight: 500; text-transform: capitalize; line-height: 1.2; color: var(--c-blog-header); margin-bottom: 20px;}
.latest-blog .latest-card {display: flex; align-items: start; justify-content: start;}
.latest-blog .latest-img {width: 42%; border-radius: 5px; position: relative; overflow: hidden;}
.latest-blog .latest-img a {width: 100%;}
.latest-blog .latest-img a img {width: 100%; height: 100%; object-fit: cover;}
.latest-blog .latest-img .badge {width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background-color: var(--c-blog-trending); border: 1px solid #fff; border-radius: 50%; position: absolute; top: 10px; left: 10px;}
.latest-blog .latest-img .badge img {filter: invert(1);}
.latest-blog .latest-text {width: 57%; padding-left: 30px;}
.latest-blog .latest-text > :first-child > * {font-size: 24px; font-weight: 500; margin-bottom: 10px; color: var(--c-blog-header); line-height: 29px; transition: color var(--trans-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.latest-blog .latest-text > :first-child > *:hover {color : var(--c-blog-carousel-hover);}
.latest-blog .date {font-size: 16px; font-weight: 500; color: var(--c-blog-header); opacity: 0.4; margin-bottom: 15px;}
.latest-blog .excerpt {font-size: 15px; line-height: 27px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--c-blog-excerpt); margin-bottom: 10px;}
.latest-blog .readmore {width: 100%; font-size: 14px; text-transform: uppercase; display: flex; align-items: center; justify-content: start; color: var(--c-blog-read); line-height: 29px; padding-bottom: 20px; border-bottom: 1px dashed var(--c-blog-br); margin-bottom: 20px;}
.latest-blog .readmore img {opacity: 0.35;}
.most-viewed-blog {background-color: #fff; padding: 20px; border-radius: 5px; overflow: hidden; margin-bottom: 30px;}
.most-viewed-blog .inner-card {padding: 20px;}
.most-viewed-blog .inner-card > :first-child, .blog-detail .detail-trending > :first-child, .blog-detail .detail-view > :first-child {font-size: 24px; font-weight: 500; text-transform: capitalize; line-height: 1.2; color: var(--c-blog-header); margin-bottom: 20px;}
.most-viewed-blog .viewed-img {position: relative; border-radius: 5px; overflow: hidden;}
.most-viewed-blog .viewed-img > a, .most-viewed-blog .viewed-img img {width: 100%; height: 100%;}
.most-viewed-blog .viewed-img img {object-fit: cover;}
.most-viewed-blog .viewed-img .date {font-size: 12px; color: #fff; background-color: var(--c-blog-carousel-hover); padding: 7px 12px; border-radius: 0 30px 30px 0; position: absolute; top: 20px; left: 0;}
.most-viewed-blog .viewed-text > :first-child a {font-size: 18px; font-weight: 500; color: #17222b; margin-block: 20px; transition: color var(--trans-3); line-height: 21px; }
.most-viewed-blog .viewed-text > :first-child a:hover {color: var(--c-blog-carousel-hover);}
.most-viewed-blog .viewed-text > p {font-size: 16px; padding-bottom: 20px; border-bottom: 1px dashed var(--c-blog-br); margin-bottom: 20px;}
.blog-contact { background-color: #fff; padding: 20px; border-radius: 5px; overflow: hidden;}
.blog-contact > :first-child {font-size: 24px; font-weight: 500; text-transform: capitalize; line-height: 1.2; color: var(--c-blog-header); margin-bottom: 20px;}
.blog-contact .blog-social {display: flex; align-items: start; justify-content: start; flex-wrap: wrap; gap: 8px 6px;}
.blog-contact .blog-social > a {display: flex; align-items: center; justify-content: center; background-color: var(--c-blog-fb); border-radius: 4px; overflow: hidden;}
.blog-contact .blog-social > a img {filter: brightness(0) saturate(100%) invert(100%) sepia(14%) saturate(0%) hue-rotate(93deg) brightness(107%) contrast(101%);}
.blog-contact .blog-social > a > span {width: 30px; height: 100%; display: flex; align-items: center; justify-content: center; background-color: var(--c-blog-fb-dark); padding-block: 20px;}
.blog-contact .blog-social > a strong {font-size: 18px; font-weight: 500; line-height: 12px; color: #fff; padding: 13px 18px 13px 5px;}
.blog-contact .blog-social > a strong span {display: block; line-height: 10px; font-size: 11px; margin-top: 5px;}
.blog-contact .blog-social .twitter-link, .blog-contact .blog-social .linkedin-link {background-color: var(--c-blog-twitter);}
.blog-contact .blog-social .twitter-link > span, .blog-contact .blog-social .linkedin-link > span {background-color: var(--c-blog-twitter-dark);}
.blog-contact .blog-social .youtube-link {background-color: var(--c-blog-yt);}
.blog-contact .blog-social .youtube-link > span {background-color: var(--c-blog-yt-dark);}
.blog-contact .blog-social .instagram-link {background-color: var(--c-blog-insta);}
.blog-contact .blog-social .instagram-link > span {background-color: var(--c-blog-insta-dark);}

/* BLOG DETAIL PAGE */
.blog-breadcrumb {background-color: #fff; padding: 10px; margin-bottom: 30px;}
.blog-breadcrumb a {font-size: 16px; line-height: 27px; color: var(--c-blog-carousel-hover); padding-right: 9px; position: relative;}
.blog-breadcrumb a::after {width: 5px; height: 28px; font-size: 16px; content: "/"; color: var(--c-blog-header); opacity: 0.7; position: absolute; inset: 0; margin-block: auto; margin-left: auto;}
.blog-breadcrumb ul {display: flex; align-items: center; justify-content: start; gap: 5px;}
.blog-breadcrumb li {list-style: none;}

.blog-detail .wrapper {display: flex; align-items: start; gap: 30px;}
.blog-detail .left-col {background-color: #fff; padding: 20px; box-shadow: 0 2px 10px #0000001a;}
.blog-detail .detail-category {width: fit-content; display: block; font-size: 16px; font-weight: 500; line-height: 27px; color: var(--c-blog-carousel-hover); margin-bottom: 30px;}
.blog-detail .title {font-size: 36px; font-weight: 700; line-height: 1.2; color: var(--c-blog-header); margin-bottom: 10px;}
.blog-detail .excerpt {font-size: 16px; line-height: 27px; color: var(--c-blog-header);}
.blog-detail .author {display: flex; align-items: center; justify-content: space-between; margin-top: 20px;}
.blog-detail .author-info {display: flex; align-items: center; justify-content: start; gap: 10px;}
.blog-detail .author-img {width: 50px; height: 50px; border: 1px solid var(--c-blog-author); border-radius: 50%; overflow: hidden;}
.blog-detail .author-img img {width: 100%; height: 100%; object-fit: cover;}
.blog-detail .author-name {color: var(--c-blog-header); line-height: 27px; font-weight: 500;}
.blog-detail .author ul {display: flex; align-items: center; justify-content: start; gap: 4px;}
.blog-detail .author ul li {list-style: none;}
.blog-detail .author ul li > * {font-size: 15px; color: var(--c-blog-author-date);}
.blog-detail .social li > a {width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background-color: var(--c-blog-author);}
.blog-detail .blog-article {margin-top: 30px; color: var(--c-blog-header);}
.blog-detail .blog-article img {width: 100%; height: 100%; object-fit: cover; margin-bottom: 16px;}
.blog-detail .blog-article p {font-size: 16px; line-height: 27px; }
.blog-detail .blog-article strong {font-weight: 700;}
.blog-detail .blog-article :where(ul, ol) {padding-left: 40px; margin-bottom: 16px;}
.blog-detail .blog-article ul li {list-style-type: disc;}
.blog-detail .blog-article ol li {list-style-type: decimal;}
.blog-detail .blog-article a {font-size: 16px; line-height: 27px; color: var(--c-blog-carousel-hover);}
.blog-detail .blog-tags {margin-top: 30px;}
.blog-detail .blog-tags ul {display: flex; align-items: start; justify-content: start; gap: 8px; padding-left: 40px; margin-bottom: 16px;}
.blog-detail .blog-tags li {font-size: 15px; text-align: center; background-color: var(--c-blog-author); list-style: none; border: 1px solid var(--c-blog-author); padding: 9px 15px; padding-left: 33px; position: relative;}
.blog-detail .blog-tags li::after {width: 16px; height: 16px; background: no-repeat center / contain url("../images/icons/tag.svg"); position: absolute; inset: 0; margin: auto auto auto 10px; content: "";}

.blog-detail .right-col {width: 100%; max-width: 380px; flex: none;} 
.blog-detail .detail-trending, .blog-detail .detail-view {background-color: #fff; padding: 20px; border-radius: 5px; margin-block: 30px;}
.blog-detail .post-text {padding-bottom: 20px;}


/* ===== Responsive: Blog Detail Page ===== */

@media only screen and (max-width: 1200px) {
    .blog-detail .right-col {max-width: 320px;}
    .blog-detail .title {font-size: 30px;}
}

@media only screen and (max-width: 992px) {
    .blog-detail .wrapper {flex-direction: column; gap: 30px;}
    .blog-detail .right-col {max-width: 100%;}
    .blog-detail .left-col {padding: 20px;}

    .blog-detail .title {font-size: 26px;}
    .blog-detail .excerpt {font-size: 15px; line-height: 24px;}

    .blog-detail .detail-trending,
    .blog-detail .detail-view {margin-block: 20px;}
}

@media only screen and (max-width: 768px) {
    .blog-breadcrumb {padding: 8px 10px; margin-bottom: 20px;}
    .blog-breadcrumb a {font-size: 14px;}

    .blog-detail .left-col {padding: 15px;}
    .blog-detail .detail-category {font-size: 14px; margin-bottom: 15px;}
    .blog-detail .title {font-size: 22px;}
    .blog-detail .excerpt {font-size: 14px; line-height: 22px;}

    .blog-detail .author {flex-direction: column; align-items: start; gap: 15px;}
    .blog-detail .author-info {flex-wrap: wrap;}

    .blog-detail .blog-article {margin-top: 20px;}
    .blog-detail .blog-article p,
    .blog-detail .blog-article a {font-size: 15px; line-height: 24px;}

    .blog-detail .blog-tags ul {padding-left: 0; flex-wrap: wrap;}

    .blog-detail .detail-trending,
    .blog-detail .detail-view {padding: 15px;}
}

@media only screen and (max-width: 576px) {
    .blog-breadcrumb ul {flex-wrap: wrap;}

    .blog-detail .title {font-size: 20px;}
    .blog-detail .excerpt {font-size: 13px; line-height: 21px;}

    .blog-detail .author-info {gap: 8px;}
    .blog-detail .author-img {width: 40px; height: 40px;}
    .blog-detail .author-name {font-size: 14px;}
    .blog-detail .author ul li > * {font-size: 13px;}

    .blog-detail .social li > a {width: 32px; height: 32px;}

    .blog-detail .blog-article p,
    .blog-detail .blog-article a {font-size: 14px; line-height: 22px;}
    .blog-detail .blog-article :where(ul, ol) {padding-left: 24px;}

    .blog-detail .blog-tags li {font-size: 13px; padding: 7px 12px; padding-left: 28px;}
    .blog-detail .blog-tags li::after {width: 13px; height: 13px;}

    .blog-detail .detail-trending h2,
    .blog-detail .detail-view h2 {font-size: 18px;}
}

@media only screen and (max-width: 480px) {
    .blog-detail .left-col {padding: 12px;}
    .blog-detail .title {font-size: 18px;}
    .blog-detail .detail-trending,
    .blog-detail .detail-view {padding: 12px;}
}


@media only screen and (max-width: 1200px) {
    /* BLOG HEADER */
    .blog-bottombar li a {padding-inline: 8px;}
    .blog-bottombar .date {max-width: 230px;}
    /* BLOG PAGE */
    .blog-page .right-col {max-width: 320px;}
    .blog-page .post-text {padding-right: 10%;}
    .blog-page .content {gap: 20px;}
}

@media only screen and (max-width: 992px) {
    /* BLOG HEADER */
    .blog-topbar {display: none;}
    .blog-bottombar {padding-left: 15px;}
    .blog-bottombar ul {width: 100%; max-width: 300px; height: 100vh; flex-direction: column; position: fixed; top: 0; right: -100%; background-color: var(--c-primary); transition: right 0.3s; overflow-y: auto; z-index: 11;}
    .blog-bottombar ul.active {right: 0;}
    .blog-bottombar ul > :first-child {width: 100%; display: block; border-bottom: 1px solid #fff; padding: 10px 14px;}
    .blog-bottombar .close-btn {filter: invert(1);}
    .blog-centerbar .menu-btn {width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background-color: var(--c-primary); border-radius: 4px;}
    .blog-centerbar .menu-btn img {filter: invert(1);}
    .blog-menu-bg.active-bg {display: block;}
    .blog-bottombar li a {padding-block: 11px;}
    .blog-topbar .social-icon {margin-left: 24px;}
    .blog-topbar .container-blog {justify-content: space-between;}
    .blog-topbar .carousel-btn {display: none;}
    .blog-topbar .blog-carousel {display: none;}
    .blog-bottombar .date {display: none;}
    /* BLOG PAGE */
    .blog-page .wrapper {flex-direction: column; gap: 30px;}
    .blog-page .right-col {max-width: 100%;}
    .blog-page .trending-news > :first-child {font-size: 20px; margin-bottom: 15px;}
    .blog-page .post-text {padding-right: 0; padding-top: 15px;}
    .blog-page .post-text > :first-child > *, .blog-detail .post-text > :first-child > * {font-size: 18px; line-height: 22px;}
    .blog-features .heading > :first-child {font-size: 20px;}
    .blog-features .carousel-card p {font-size: 15px; line-height: 20px;}
    .latest-blog > :first-child {font-size: 20px;}
    .latest-blog .latest-text > :first-child > * {font-size: 18px; line-height: 22px;}
    .latest-blog .latest-text {padding-left: 20px;}
    .most-viewed-blog .inner-card > :first-child, .blog-detail .detail-trending > :first-child, .blog-detail .detail-view > :first-child {font-size: 20px;}
    .most-viewed-blog .viewed-text > :first-child a {font-size: 16px;}
    .blog-contact > :first-child {font-size: 20px;}
}

@media only screen and (max-width: 768px) {
    /* BLOG PAGE */
    .blog-page .content {grid-template-columns: 1fr; gap: 25px;}
    .blog-page .trending-news {padding: 15px;}
    .blog-page .post-text > :first-child > *, .blog-detail .post-text > :first-child > * {font-size: 20px; line-height: 24px;}
    .blog-page .popular-list li, .blog-detail .popular-list li {gap: 12px;}
    .blog-features .heading {flex-wrap: wrap; gap: 10px; padding: 15px;}
    .latest-blog {padding: 15px;}
    .latest-blog .latest-card {flex-wrap: wrap;}
    .latest-blog .latest-img {width: 100%; margin-bottom: 15px;}
    .latest-blog .latest-text {width: 100%; padding-left: 0;}
    .latest-blog .latest-text > :first-child > * {font-size: 20px; line-height: 24px;}
    .most-viewed-blog {padding: 15px;}
    .most-viewed-blog .inner-card {padding: 10px;}
    .blog-contact {padding: 15px;}
}

@media only screen and (max-width: 576px) {
    /* BLOG HEADER */
    .blog-centerbar .site-logo img {width: 180px; object-fit: contain;}
    .blog-centerbar .blog-sun strong {font-size: 26px;}
    .blog-centerbar .blog-sun p {line-height: 20px;}
    .blog-bottombar .date {max-width: 180px;}
}

@media only screen and (max-width: 480px) {
    /* BLOG HEADER */
    .blog-centerbar .blog-sun {gap: 8px; margin-right: 10px;}
    .blog-centerbar .site-logo img {width: 160px;}
    .blog-bottombar .date {max-width: 160px;}
    .blog-bottombar .date p {font-size: 14px;}
    .blog-centerbar .blog-sun strong {font-size: 16px;}
    /* BLOG PAGE */
    .blog-page .wrapper {gap: 20px; margin-block: 20px;}
    .blog-page .trending-news > :first-child {font-size: 18px;}
    .blog-page .post-text {padding-top: 12px;}
    .blog-page .post-text > :first-child > *, .blog-detail .post-text > :first-child > * {font-size: 18px; line-height: 22px;}
    .blog-page .meta > :first-child::after, .blog-detail .meta > :first-child::after {display: none;}
    .blog-page .meta, .blog-detail .meta {flex-wrap: wrap;}
    .blog-page .meta > :last-child, .blog-detail .meta > :last-child {padding-left: 0;}
    .blog-page .meta > :last-child::after, .blog-detail .meta > :last-child::after {display: none;}
    .blog-page .sm-img, .blog-detail .sm-img {width: 80px; height: 48px;}
    .blog-page .sm-text > :first-child > *, .blog-detail .sm-text > :first-child > * {font-size: 14px; line-height: 18px;}
    .blog-features .heading > :first-child {font-size: 18px;}
    .blog-features .carousel-btn > * {width: 26px !important; height: 26px !important;}
    .blog-features .carousel-wrapper {gap: 15px;}
    .blog-features .carousel-card .feature-text {padding: 15px;}
    .latest-blog > :first-child {font-size: 18px;}
    .latest-blog .latest-text > :first-child > * {font-size: 18px; line-height: 22px;}
    .latest-blog .excerpt {font-size: 14px; line-height: 22px;}
    .latest-blog .readmore {font-size: 13px;}
    .most-viewed-blog .inner-card > :first-child, .blog-detail .detail-trending > :first-child, .blog-detail .detail-view > :first-child {font-size: 18px;}
    .most-viewed-blog .viewed-text > :first-child a {font-size: 15px; margin-block: 12px;}
    .most-viewed-blog .viewed-text > p {font-size: 14px;}
    .blog-contact > :first-child {font-size: 18px;}
    .blog-contact .blog-social > a strong {font-size: 15px; padding: 10px 12px 10px 5px;}
}

@media only screen and (max-width: 420px) {
    /* BLOG HEADER */
    .blog-centerbar .site-logo img {width: 120px;}
}