   
.blog-details-section {
    padding: 70px 0 40px;
    background: #fbf7ee;
    overflow-x: hidden;
}

.blog-details-section * {
    box-sizing: border-box;
    color: #16332d;
}

.blog-details-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eee0c9;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(22, 51, 45, 0.08);
    overflow: hidden;
}

.blog-details-banner {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #16332d;
    border-radius: 10px 10px 0 0;
}

.blog-details-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-details-body {
    padding: 40px 45px 50px;
}

.blog-details-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    color: #7a7a7a;
    font-size: 13.5px;
    margin-bottom: 18px;
}

.blog-details-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.blog-details-meta i {
    color: #f0793c;
}

.blog-details-body h1 {
    color: #16332d;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 22px;
}

.blog-details-content {
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.9;
}

.blog-details-content p {
    margin-bottom: 18px;
}

.blog-details-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0 20px;
}

.blog-keywords {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px dashed #c9c2ab;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.blog-keywords .lbl {
    color: #16332d;
    font-weight: 700;
    font-size: 14px;
    margin-right: 4px;
}

.blog-keywords .tag {
    display: inline-block;
    background: #fdfbf6;
    border: 1px solid #eee0c9;
    color: #16332d;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    color: #16332d;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.blog-back-link:hover {
    color: #f0793c;
}

.blog-not-found {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border: 1px solid #eee0c9;
    border-radius: 10px;
    padding: 60px 40px;
    box-shadow: 0 8px 30px rgba(22, 51, 45, 0.08);
}

.blog-not-found h2 {
    color: #16332d;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 14px;
}

.blog-not-found p {
    color: #5c5c5c;
    margin-bottom: 24px;
}

/* ---- All Blogs grid: identical to blog.php ---- */
.blog-listing-section {
    padding: 60px 0 90px;
    background: #fbf7ee;
    overflow-x: hidden;
}

.blog-listing-section * {
    box-sizing: border-box;
}

.blog-listing-section .sec-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 46px;
}

.blog-listing-section .sec-heading .badge-label {
    display: inline-block;
    background: #f0793c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.blog-listing-section .sec-heading h2 {
    color: #16332d;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 14px;
}

.blog-listing-section .sec-heading p {
    color: #4a4a4a;
    font-size: 15.5px;
    line-height: 1.8;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee0c9;
    box-shadow: 0 8px 30px rgba(22, 51, 45, 0.08);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(22, 51, 45, 0.14);
}

.blog-card:nth-child(even) {
    /* background: #f7f1e3; */
    background: #ffff;
}

.blog-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

.blog-date-badge {
    position: absolute;
    right: 12px;
    bottom: 8px;
    background: #ffffff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
    line-height: 1.1;
}

.blog-date-badge strong {
    color: #16332d;
    font-size: 15px;
    font-weight: 800;
}

.blog-date-badge small {
    color: #f0793c;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-card-body {
    padding: 32px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-author {
    color: #16332d;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-author i {
    margin-right: 6px;
    color: #f0793c;
}

.blog-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 14px;
    min-height: 46px;
}

.blog-title a {
    color: #16332d;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-title a {
    color: #f0793c;
}

.blog-divider {
    border-top: 1px dashed #d9d2c0;
    margin-bottom: 14px;
}

.blog-desc {
    color: #16332d;
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #16332d;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    transition: background .2s ease;
}

.btn-read-more:hover {
    background: #f0793c;
}

.btn-share {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 5px;
    background: #16332d;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
}

.btn-share:hover {
    background: #f0793c;
}

.blog-highlight-link {
    display: block;
    color: #b8791f;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    border-top: 1px dashed #d9d2c0;
    padding-top: 12px;
    line-height: 1.5;
}

.blog-highlight-link i {
    margin-right: 6px;
}

.blog-highlight-link:hover {
    text-decoration: underline;
}

.blog-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #777;
    font-size: 15px;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border-radius: 5px;
    border: 1px solid #eee0c9;
    color: #16332d;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    background: #fff;
    transition: all .2s ease;
}

.blog-pagination a:hover {
    background: #16332d;
    color: #fff;
    border-color: #16332d;
}

.blog-pagination .active {
    background: #f0793c;
    color: #fff;
    border-color: #f0793c;
}

@media (max-width: 991px) {
    .blog-details-banner { max-width: 360px; }
    .blog-details-body { padding: 32px 26px; }
    .blog-details-body h1 { font-size: 24px; }
}

@media (max-width: 1199px) {
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .blog-listing-section { padding: 40px 0 60px; }
    .blog-listing-section .sec-heading h2 { font-size: 24px; }
    .blog-grid { grid-template-columns: 1fr; gap: 22px; }
    .blog-details-banner { max-width: 280px; }
}

@media (min-width: 1801px) {
    .page-title { 
        /* padding: 165px 0 25px !important;  */
        padding: 126px 0 23px !important;
        min-height: 580px; 
}
    .page-title .content-box { padding-top: 0; padding-bottom: 0; }
}
@media (min-width: 1440px) and (max-width: 1800px) {
    .page-title { 
        /* padding: 145px 0 25px !important;  */
    padding: 126px 0 23px !important;
    min-height: 475px; }
}
@media (min-width: 992px) and (max-width: 1439px) {
    .page-title { 
        /* padding: 115px 0 25px !important; */
        padding: 126px 0 23px !important;
        min-height: 435px; }
}