
.recenttitle{
    margin-bottom: 32px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-outfit);
    color: #181818;
}
.highligted .recenttitle span{
    display: inline-block;
}
.highligted .recents{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 32px;
}
.highligted .recents .rightside{
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.blogcard a{
    text-decoration: none;
    width: 100%;
    display: block;
}
.blogcard .imagebox{
    padding-top: calc(240 / 384 * 100%);
    position: relative;
    overflow: hidden;
}
.blogcard .imagebox img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    transition:all 0.4s var(--easePunchy);
}
.blogcard a:hover img{
    transform: scale(1.05);
}
.blogcard .contentbx{
    padding: 32px 0 0 0;
}
.blogcard .contentbx .about{
    color: #009748;
    font-weight: 700;
    font-size: 0.875rem;
}
.blogcard .contentbx .title{
    display: flex;
    align-items: flex-start;
    font-size: 1.5rem;
    font-family: var(--font-outfit);
    font-weight: 700;
    color: #181818;
    margin: 16px auto 12px auto;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    line-height: 1.4;
}
.blogcard .contentbx .title span{
    max-width: calc(100% - 40px);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
}
.blogcard .contentbx .title svg{
    transition:all 0.4s var(--easePunchy);
}
.blogcard a:hover .title svg{
    transform: rotate(45deg);
}
.blogcard .s_copy{
    font-size: 1rem;
    font-weight: 400;
    color: #7B7B7B;
    line-height: 1.3;    
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow: hidden;
}
.recents .rightside .blogcard a{
    display: flex;
    gap: 24px;
}
.recents .rightside .blogcard .contentbx{
    flex: 1;
    align-items: flex-start;
    padding-top: 0;
}
.recents .rightside .blogcard .imagebox{
    flex: 1.5;
}
.highligted .recents .rightside .imagebox{
    padding-top: calc(200 / 500 * 100%);
}
.bloglist_gr{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap:48px 32px;
}
.blog_det .blog_title{
    overflow: hidden;
}
.blog_det .blog_title p{
    font-size: 2.5rem;
    font-weight: 500;
    font-family: var(--font-outfit);
    line-height: 1.4;
}
.blog_det .imagebx{
    /* padding-top: calc(420 / 1232 * 100%); */
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background-color: #f1f1f1;
}
.blog_det .imagebx img{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display:block;
}
.blog_det .detail_gr{
    display: grid;
    grid-template-columns: repeat(12,1fr);
    gap: 16px;
    margin-top: 32px;
}
.blog_det .detail_gr .leftside{
    grid-column: span 8;
}
.blog_det .detail_gr .rightside{
    grid-column: span 4;
}
.blog_det .detail_gr .rightside .author .authtitle{
    font-size: 1.25rem;
    color: #000000;
    font-weight: 700;
    margin-bottom: 16px;
}
.blog_det .detail_gr .rightside .author .top{
    display: flex;
    gap: 16px;
}
.blog_det .detail_gr .rightside .author .top .img{
    height: 50px;
    width: 50px;
    overflow: hidden;
    border-radius: 50%;
}
.blog_det .detail_gr .rightside .author .top .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog_det .detail_gr .rightside .author .top .rgt p{
    font-size: 1rem;
    color: #808080;
    font-weight: 400;
}
.blog_det .detail_gr .rightside .author .top .rgt p.name{
    font-size: 1.25rem;
    font-weight: 400;
    font-family: var(--font-outfit);
    color: #000000;
}
.detail h1,
.detail h2,
.detail h3,
.detail h4,
.detail h5,
.detail h6 {
  margin-bottom: 15px;
  font-weight: 500;
  color: black;
  font-family: var(--font-outfit);
}


.detail h1 {
  font-size: 2.5rem;
}

.detail h2 {
  font-size: 2rem;
}

.detail h3 {
  font-size: 1.75rem;
}

.detail h4 {
  font-size: 1.25rem;
}

.detail h5,
.detail h6 {
  font-size: 1rem;
}

.detail p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: black;
  font-size: 1rem;
  font-weight: 300;
}

.detail a {
  color: #1aa3ee;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 300;
}

.detail h1 a,
.detail h2 a,
.detail h3 a,
.detail h4 a,
.detail h5 a,
.detail h6 a{
  margin-bottom: 15px;
  font-weight: 500;
  color: black;
  font-family: var(--font-outfit);
  font-size:inherit;
}

.detail a:hover {
  text-decoration: underline;
}

.detail ul{
    list-style-type: disc;
}
.detail ol {
    list-style-type: inherit;
}
.detail ul,
.detail ol {
  margin-bottom: 20px;
  padding-left: 40px;
  list-style-type: inherit;
}
.detail ul li,
.detail ol li {
  margin-bottom: 10px;
}

.detail img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
}

.detail table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.detail table th,
.detail table td {
  padding: 10px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

.detail th {
  background-color: #f1f1f1;
}

.detail blockquote {
  margin: 20px 0;
  padding: 15px 20px;
  background-color: #f1f1f1;
  border-left: 4px solid #0077cc;
  font-style: italic;
  color: #555;
}

.detail pre {
  background-color: #272822;
  color: #f8f8f2;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
}

.detail code {
  font-family: 'Courier New', monospace;
}

.detail hr {
  border: none;
  height: 1px;
  background-color: #ddd;
  margin: 30px 0;
}

/* Blog detail — long-form readability (same fonts/colors/sizes as above, only rhythm and overflow handling) */
.blog_det .detail_gr{
    column-gap: 48px;
}
.blog_det .detail{
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.blog_det .detail h1:empty{
    display: none;
}
.blog_det .detail h1,
.blog_det .detail h2,
.blog_det .detail h3,
.blog_det .detail h4,
.blog_det .detail h5,
.blog_det .detail h6{
    line-height: 1.3;
    margin-top: 40px;
    margin-bottom: 16px;
}
.blog_det .detail h3,
.blog_det .detail h4,
.blog_det .detail h5,
.blog_det .detail h6{
    margin-top: 32px;
    margin-bottom: 12px;
}
.blog_det .detail > :first-child,
.blog_det .detail h1:empty + *{
    margin-top: 0;
}
.blog_det .detail h1 + h2,
.blog_det .detail h2 + h3,
.blog_det .detail h3 + h4{
    margin-top: 16px;
}
.blog_det .detail ul li,
.blog_det .detail ol li{
    line-height: 1.6;
    color: black;
    font-size: 1rem;
    font-weight: 300;
    padding-left: 4px;
}
.blog_det .detail li:last-child{
    margin-bottom: 0;
}
.blog_det .detail li > ul,
.blog_det .detail li > ol{
    margin-top: 10px;
    margin-bottom: 0;
}
.blog_det .detail ul,
.blog_det .detail ol{
    margin-bottom: 24px;
}
.blog_det .detail strong,
.blog_det .detail b{
    font-weight: 600;
}
.blog_det .detail img{
    margin: 32px auto;
}
.blog_det .detail p img{
    margin: 8px auto;
}
.blog_det .detail figure{
    margin: 32px 0;
}
.blog_det .detail figure img{
    margin: 0 auto 8px auto;
}
.blog_det .detail figcaption{
    font-size: 0.875rem;
    color: #808080;
    text-align: center;
}
.blog_det .detail iframe,
.blog_det .detail video{
    max-width: 100%;
}
.blog_det .detail table{
    margin: 24px 0;
}
.blog_det .detail blockquote{
    margin: 32px 0;
}
.blog_det .detail blockquote p:last-child{
    margin-bottom: 0;
}
.blog_det .detail hr{
    margin: 40px 0;
}
.blog_det .detail > :last-child{
    margin-bottom: 0;
}
@media only screen and (max-width: 991px){
    .blog_det .detail_gr{
        column-gap: 16px;
    }
    .blog_det .blog_title{
        margin-bottom: 16px;
    }
    .blog_det .detail h1,
    .blog_det .detail h2{
        margin-top: 32px;
        margin-bottom: 12px;
    }
    .blog_det .detail h3,
    .blog_det .detail h4,
    .blog_det .detail h5,
    .blog_det .detail h6{
        margin-top: 24px;
        margin-bottom: 10px;
    }
    .blog_det .detail > :first-child,
    .blog_det .detail h1:empty + *{
        margin-top: 0;
    }
    .blog_det .detail_gr .rightside{
        margin-top: 32px;
    }
}
@media only screen and (max-width: 767px){
    .blog_det .detail ul,
    .blog_det .detail ol{
        padding-left: 24px;
    }
    .blog_det .detail img,
    .blog_det .detail figure{
        margin: 24px auto;
    }
    .blog_det .detail table{
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .blog_det .detail pre{
        white-space: pre;
    }
}
/* Blog detail — hero (category pill, title, excerpt, meta + banner) */
.blog_det .blog_hero{
    background: linear-gradient(135deg, #e6f5ed 0%, #f6f6f6 100%);
}
.blog_det .blog_hero_gr{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 48px;
}
.blog_det .blog_hero .imagebx{
    margin-bottom: 0;
    border-radius: 16px;
}
.blog_det .blog_hero .imagebx img{
    color: transparent;
    font-size: 0;
}
.blog_det .blog_cat_pill{
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #dff7ea;
    color: #009748;
    font-family: var(--font-outfit);
    font-size: 0.875rem;
    font-weight: 500;
}
.blog_det .blog_hero .blog_title p{
    color: #0F3963;
}
.blog_det .blog_excerpt{
    margin-top: 16px;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: black;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog_det .blog_meta{
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 24px;
    list-style: none;
    padding: 0;
}
.blog_det .blog_meta li{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #808080;
}
.blog_det .blog_meta svg{
    flex-shrink: 0;
}
.blog_det .blog_hero + .tb-pad .detail_gr{
    margin-top: 0;
}
/* Blog detail — sidebar cards */
.blog_det .detail_gr .rightside{
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-self: start;
}
.blog_det .side_card{
    background: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0px 1px 16px 0px #00000014;
}
.blog_det .side_card .side_title{
    font-family: var(--font-outfit);
    font-size: 1.25rem;
    font-weight: 500;
    color: #0F3963;
    margin-bottom: 16px;
}
.blog_det .recent_list{
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog_det .recent_list li + li{
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #E5E5E5;
}
.blog_det .recent_list a{
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}
.blog_det .recent_list .thumb{
    flex-shrink: 0;
    width: 88px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f1f1;
}
.blog_det .recent_list .thumb img{
    color: transparent;
    font-size: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s var(--easePunchy);
}
.blog_det .recent_list a:hover .thumb img{
    transform: scale(1.05);
}
.blog_det .recent_list .info{
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.blog_det .recent_list .ttl{
    font-family: var(--font-outfit);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.blog_det .recent_list a:hover .ttl{
    color: #009748;
}
.blog_det .recent_list .dt{
    font-size: 0.875rem;
    color: #808080;
}
/* Blog detail — article bullets as green checks, quotes as soft callouts */
.blog_det .detail ul{
    list-style: none;
    padding-left: 0;
}
.blog_det .detail ul > li{
    position: relative;
    padding-left: 32px;
}
.blog_det .detail ul > li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #009748 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 12px 12px;
}
.blog_det .detail li > ul{
    margin-left: 0;
}
.blog_det .detail blockquote{
    background-color: #e6f5ed;
    border-left: 4px solid #009748;
    border-radius: 12px;
    padding: 20px 24px;
    font-style: normal;
    color: black;
}
@media only screen and (max-width: 991px){
    .blog_det .blog_hero_gr{
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .blog_det .blog_hero .imagebx{
        border-radius: 12px;
    }
}
@media only screen and (max-width: 767px){
    .blog_det .detail ul{
        padding-left: 0;
    }
    .blog_det .side_card{
        padding: 20px;
    }
}
/* Media query for less than tablet breakpoint (you need to define this based on your design) */
@media (max-width: 991px) {
  .detail .imagebox img {
    min-width: 100%;
  }
}
/* tab  */
@media only screen and (max-width: 991px) {
    .bloglist_gr{
        grid-template-columns: repeat(1,1fr);
        gap: 24px;
    }
    .highligted .recents{
        grid-template-columns: repeat(1,1fr);
        gap: 24px;
    }
    .recents .rightside .blogcard a{
        display: block;
    }
    .highligted .recents .rightside .imagebox{
        padding-top: calc(240 / 384 * 100%);
    }
    .blogcard .contentbx{
        padding-top: 16px;
    }
    .recents .rightside .blogcard .contentbx{
        padding-top: 16px;
    }
    .blog_det .blog_title p{
        font-size: 1.5rem;
    }
    .blog_det .detail_gr .leftside,.blog_det .detail_gr .rightside{
        grid-column: span 12;
    }
    
    .detail h1 {
        font-size: 1.5rem;
    }
  
    .detail h2 {
        font-size: 1.25rem;
    }
  
    .detail h3 {
        font-size: 1rem;
    }
  
    .detail h4 {
        font-size: 1rem;
    }
  
    .detail h5,
    .detail h6 {
        font-size: 0.875rem;
    }
    .blog_det .detail_gr{
        margin-top:0px;
    }
    .blog_det .imagebx{
        margin-bottom:16px;
    }
}
/* Blog post FAQs — accordion reuses .faq-block/.faq-item/.faq-question/.faq-answer from common.css */
.blog_det .blog-faq{
    margin-top: 48px;
}
.blog_det .blog-faq .blog-faq-title{
    font-family: var(--font-outfit);
    font-size: 1.75rem;
    font-weight: 700;
    color: #0F3963;
    margin-bottom: 24px;
}
.blog_det .blog-faq .faq-item{
    background: #ffffff;
}
.blog_det .blog-faq .faq-question{
    outline: none;
}
.blog_det .blog-faq .faq-question:focus-visible{
    box-shadow: 0 0 0 2px #0F3963;
    border-radius: 4px;
}
.blog_det .blog-faq .faq-question p{
    margin: 0;
    line-height: 1.4;
}
.blog_det .blog-faq .faq-question svg{
    margin-top: 2px;
}
.blog_det .blog-faq .faq-answer p{
    margin: 0;
}
@media only screen and (max-width: 767px){
    .blog_det .blog-faq{
        margin-top: 32px;
    }
    .blog_det .blog-faq .blog-faq-title{
        font-size: 1.375rem;
        margin-bottom: 16px;
    }
    .blog_det .blog-faq .faq-item{
        padding: 16px;
    }
    .blog_det .blog-faq .faq-question svg{
        width: 16px;
        height: 17px;
    }
}
/* Blog listing — category tabs + pagination */
.blog_cat_tabs{
    display: flex;
    gap: 32px;
    overflow-x: auto;
    margin-bottom: 40px;
    border-bottom: 1px solid #E5E5E5;
    scrollbar-width: none;
}
.blog_cat_tabs::-webkit-scrollbar{
    display: none;
}
.blog_cat_tabs a{
    flex-shrink: 0;
    padding: 0 4px 12px 4px;
    font-family: var(--font-outfit);
    font-size: 1rem;
    font-weight: 500;
    color: #7B7B7B;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.blog_cat_tabs a:hover{
    color: #181818;
}
.blog_cat_tabs a.active{
    color: #181818;
    font-weight: 700;
    border-bottom-color: #009748;
}
.blog_pagination{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 48px;
}
.blog_pagination a,
.blog_pagination span{
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #E5E5E5;
    font-family: var(--font-outfit);
    font-size: 1rem;
    font-weight: 500;
    color: #181818;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.blog_pagination a:hover{
    border-color: #009748;
    color: #009748;
}
.blog_pagination span.active{
    background: #009748;
    border-color: #009748;
    color: #ffffff;
}
@media only screen and (max-width: 767px){
    .blog_cat_tabs{
        gap: 20px;
        margin-bottom: 24px;
    }
    .blog_pagination{
        margin-top: 32px;
        gap: 8px;
    }
    .blog_pagination a,
    .blog_pagination span{
        min-width: 38px;
        height: 38px;
    }
}
