/* ==============================================================
   Maa Tours & Travels - Blog & Single Post UI Enhancements
   ============================================================== */

/* Equal height and balanced blog cards */
.blog-area .row.blog-grid-row {
    display: flex;
    flex-wrap: wrap;
}
.blog-card-col {
    display: flex;
    margin-bottom: 30px;
}
.blog-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease-in-out;
}
.blog-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.blog-item-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 220px;
    background: #f4f5f7;
}
.blog-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s ease;
}
.blog-item:hover .blog-item-img img {
    transform: scale(1.08);
}
.blog-item-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px 4px 4px 4px;
}
.blog-item-meta {
    margin-bottom: 12px;
}
.blog-item-meta ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0 0 14px 0;
    list-style: none;
    border-bottom: 1px solid #edf0f5;
}
.blog-item-meta ul li {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.blog-item-meta ul li i {
    color: var(--theme-color);
    font-size: 14px;
}
.blog-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 12px;
}
.blog-title a {
    color: var(--color-dark);
    transition: color 0.25s ease;
    text-decoration: none;
}
.blog-title a:hover {
    color: var(--theme-color);
}
.blog-item-info p {
    color: #616670;
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}
.blog-item-bottom {
    margin-top: auto;
    padding-top: 10px;
}
.blog-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--theme-color);
    color: #000 !important;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(253, 174, 28, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
}
.blog-readmore-btn:hover {
    background: #000;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

/* Single Blog Page Details */
.blog-single-wrapper {
    background: #fff;
    padding: 35px 40px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
@media (max-width: 767px) {
    .blog-single-wrapper {
        padding: 22px 18px;
    }
}
.blog-thumb-img {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 28px;
}
.blog-thumb-img img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 14px;
}
.blog-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding-bottom: 16px;
    margin-bottom: 22px;
    border-bottom: 1px solid #edf0f5;
}
.blog-single-meta span, .blog-single-meta a {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
}
.blog-single-meta i {
    color: var(--theme-color);
}
.blog-single-meta a:hover {
    color: var(--theme-color);
}
.blog-details-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.35;
    margin-bottom: 24px;
}
@media (max-width: 767px) {
    .blog-details-title {
        font-size: 24px;
    }
}
.blog-details-text {
    font-size: 16px;
    line-height: 1.85;
    color: #4a4f59;
}
.blog-details-text h3, .blog-details-text h4 {
    color: var(--color-dark);
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 16px;
}
.blog-details-text p {
    margin-bottom: 18px;
}
.blog-details-text ul, .blog-details-text ol {
    margin: 18px 0 24px 0;
    padding-left: 0;
    list-style: none;
}
.blog-details-text ul li, .blog-details-text ol li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 15.5px;
    line-height: 1.65;
    color: #3e4450;
}
.blog-details-text ul li::before {
    content: "\f058";
    font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free', 'FontAwesome';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--theme-color);
    font-size: 16px;
}
.blog-details-text ol {
    counter-reset: blog-counter;
}
.blog-details-text ol li {
    counter-increment: blog-counter;
}
.blog-details-text ol li::before {
    content: counter(blog-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: var(--theme-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Tags & WhatsApp Inquiry Bar */
.blog-tags-inquiry-bar {
    background: #fbfbfd;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    padding: 18px 24px;
    margin: 35px 0 25px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.blog-tags-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.blog-tags-list span.tags-label {
    font-weight: 700;
    color: var(--color-dark);
    font-size: 14.5px;
    margin-right: 4px;
}
.blog-tags-list a {
    background: #fff;
    border: 1px solid #e2e6ec;
    color: #555;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}
.blog-tags-list a:hover {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
}
.inquiry-whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(18, 140, 126, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.inquiry-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(18, 140, 126, 0.35);
}

/* Author Box */
.blog-author-card {
    background: #fbfbfd;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    padding: 24px 28px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 22px;
}
.blog-author-avatar {
    width: 85px;
    height: 85px;
    min-width: 85px;
    border-radius: 50%;
    border: 3px solid var(--theme-color);
    overflow: hidden;
    padding: 3px;
    background: #fff;
}
.blog-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.blog-author-details h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
}
.blog-author-details p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 575px) {
    .blog-author-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Post Navigation (Prev / Next) */
.post-nav-card {
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    padding: 18px 22px;
    text-decoration: none;
    display: block;
    transition: all 0.25s ease;
    height: 100%;
}
.post-nav-card:hover {
    border-color: var(--theme-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.post-nav-card .nav-subtitle {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--theme-color);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}
.post-nav-card .nav-post-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.4;
    margin: 0;
}

/* Clean WordPress Comment Form & Comments */
.comments-area {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid #edf0f5;
}
.comments-title, .comment-reply-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 20px;
}
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}
.comment-list .comment {
    background: #fbfbfd;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 20px;
}
.comment-author .avatar {
    border-radius: 50%;
    margin-right: 14px;
}
.comment-author .fn {
    font-weight: 700;
    color: var(--color-dark);
}
.comment-metadata {
    font-size: 12.5px;
    color: #888;
    margin-bottom: 10px;
}
.comment-metadata a {
    color: #888;
    text-decoration: none;
}
.comment-content p {
    font-size: 14.5px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}
.comment-respond {
    background: #fbfbfd;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    padding: 30px 32px;
    margin-top: 30px;
}
.comment-form p {
    margin-bottom: 18px;
}
.comment-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
    display: block;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 13px 18px;
    border-radius: 10px;
    border: 1px solid #dce1e8;
    background: #fff;
    font-size: 14.5px;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(253, 174, 28, 0.2);
}
.comment-form .submit,
.comment-form input[type="submit"] {
    background: var(--theme-color);
    color: #000 !important;
    border: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 13px 30px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(253, 174, 28, 0.35);
    transition: all 0.3s ease;
}
.comment-form .submit:hover,
.comment-form input[type="submit"]:hover {
    background: #000;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

/* Sidebar Widgets Enhancements */
.sidebar .widget {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}
.sidebar .widget .widget-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-dark);
    padding-bottom: 12px;
    margin-bottom: 22px;
    position: relative;
}
.sidebar .widget .widget-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 25px;
    height: 3px;
    background: var(--theme-color);
    border-radius: 2px;
}
.sidebar .widget .widget-title::after {
    content: '';
    position: absolute;
    left: 32px;
    bottom: 0;
    width: 10px;
    height: 3px;
    background: #000;
    border-radius: 2px;
}
.widget.search-widget .search-form {
    position: relative;
}
.widget.search-widget .search-form input {
    height: 50px;
    padding: 12px 50px 12px 18px;
    border-radius: 12px;
    border: 1px solid #dce1e8;
    background: #fbfbfd;
    font-size: 14.5px;
    width: 100%;
}
.widget.search-widget .search-form input:focus {
    border-color: var(--theme-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(253, 174, 28, 0.2);
}
.widget.search-widget .search-form button {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--theme-color);
    font-size: 18px;
    cursor: pointer;
}
.recent-post-single {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f2f5;
}
.recent-post-single:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.recent-post-img {
    width: 75px;
    height: 75px;
    min-width: 75px;
    border-radius: 10px;
    overflow: hidden;
}
.recent-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.recent-post-single:hover .recent-post-img img {
    transform: scale(1.1);
}
.recent-post-bio h6 {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}
.recent-post-bio h6 a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}
.recent-post-bio h6 a:hover {
    color: var(--theme-color);
}
.recent-post-bio span {
    font-size: 12.5px;
    font-weight: 600;
    color: #8c939e;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.recent-post-bio span i {
    color: var(--theme-color);
}

/* Taxi CTA Widget on Sidebar */
.sidebar-taxi-cta {
    background: linear-gradient(145deg, #18191c 0%, #0d0e10 100%);
    border-radius: 18px;
    padding: 35px 24px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar-taxi-cta .cta-icon {
    width: 65px;
    height: 65px;
    background: rgba(253, 174, 28, 0.12);
    border: 2px solid var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    color: var(--theme-color);
    font-size: 26px;
}
.sidebar-taxi-cta h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}
.sidebar-taxi-cta p {
    color: #a6adb9;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
}
.sidebar-taxi-cta .cta-btn {
    background: var(--theme-color);
    color: #000 !important;
    font-weight: 800;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(253, 174, 28, 0.35);
    transition: all 0.3s ease;
}
.sidebar-taxi-cta .cta-btn:hover {
    background: #ffffff;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}
.sidebar-taxi-cta .call-link {
    margin-top: 16px;
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}
.sidebar-taxi-cta .call-link i {
    color: var(--theme-color);
    margin-right: 6px;
}
.sidebar-taxi-cta .call-link:hover {
    color: var(--theme-color);
}

/* Nothing Found & Search Page Enhancements */
.no-results-card {
    transition: all 0.3s ease;
}
@media (max-width: 576px) {
    .no-results-card {
        padding: 30px 18px !important;
    }
    .no-results-card h2 {
        font-size: 24px !important;
    }
    .no-results-card .search-input-group {
        flex-direction: column !important;
        border-radius: 16px !important;
    }
    .no-results-card .search-input-group input {
        border-radius: 16px 16px 0 0 !important;
        text-align: center;
    }
    .no-results-card .search-input-group button {
        border-radius: 0 0 16px 16px !important;
        justify-content: center;
    }
}
