/* Bayyinah-style blog pages */
.blog-page-hero {
    position: relative;
    padding: 90px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.blog-page-hero .container {
    position: relative;
    z-index: 1;
}

.blog-page-hero h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.blog-page-content {
    padding: 40px 0 60px;
}

.blog-post-item {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid #e8e8e8;
}

.blog-post-item:first-child {
    padding-top: 0;
}

.blog-post-item:last-child {
    border-bottom: 0;
}

.blog-post-thumb {
    flex: 0 0 280px;
    max-width: 100%;
}

.blog-post-thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.blog-post-body {
    flex: 1;
    min-width: 260px;
}

.blog-post-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
}

.blog-post-title a {
    color: #0088CC;
    text-decoration: none;
}

.blog-post-title a:hover {
    color: #0099e6;
}

.blog-post-excerpt {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    color: #666;
    font-size: 13px;
    margin-bottom: 16px;
}

.blog-post-meta span,
.blog-post-meta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-post-meta i {
    color: #0088CC;
}

.blog-post-meta a {
    color: #0088CC;
    text-decoration: none;
}

.blog-post-meta a:hover {
    color: #0099e6;
}

.blog-read-more-wrap {
    text-align: right;
}

.blog-read-more {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #ccc;
    color: #0088CC;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
}

.blog-read-more:hover {
    background: #0088CC;
    border-color: #0088CC;
    color: #fff;
}

.blog-sidebar-search .form-control {
    border-radius: 0;
    border-color: #ddd;
    min-height: 44px;
}

.blog-sidebar-search .btn {
    border-radius: 0;
    min-width: 48px;
}

.blog-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 18px;
}

.blog-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-category-list li {
    border-bottom: 1px solid #eee;
}

.blog-category-list li a {
    display: block;
    padding: 12px 0;
    color: #444;
    font-size: 14px;
    text-decoration: none;
}

.blog-category-list li a:hover {
    color: #0088CC;
}

.blog-category-list li a i {
    font-size: 11px;
    margin-right: 8px;
    color: #0088CC;
}

.blog-single-featured img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    margin-bottom: 24px;
}

.blog-single-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    line-height: 1.35;
    margin-bottom: 16px;
}

.blog-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 13px;
}

.blog-single-meta span,
.blog-single-meta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-single-meta i {
    color: #0088CC;
}

.blog-single-meta a {
    color: #0088CC;
    text-decoration: none;
}

.blog-single-content {
    color: #444;
    font-size: 15px;
    line-height: 1.8;
}

.blog-single-content h1,
.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
    color: #222;
    margin-top: 28px;
    margin-bottom: 14px;
    font-weight: 700;
}

.blog-single-content p {
    margin-bottom: 16px;
}

.blog-single-content ul,
.blog-single-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.blog-single-tags {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.blog-single-tags strong {
    margin-right: 8px;
}

.blog-tag-link {
    display: inline-block;
    color: #0088CC;
    text-decoration: none;
    margin-right: 8px;
    font-size: 14px;
}

.blog-tag-link:hover {
    color: #0099e6;
}

.blog-share {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.blog-share strong {
    display: block;
    margin-bottom: 12px;
}

.blog-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-share-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #ddd;
    color: #444;
    font-size: 13px;
    text-decoration: none;
}

.blog-share-links a:hover {
    background: #0088CC;
    border-color: #0088CC;
    color: #fff;
}

@media (max-width: 767px) {
    .blog-page-hero {
        padding: 60px 0;
    }

    .blog-page-hero h1 {
        font-size: 32px;
    }

    .blog-post-thumb {
        flex: 0 0 100%;
    }

    .blog-read-more-wrap {
        text-align: left;
    }
}

/* Homepage blog cards — padding on text area only */
#blog .custom-thumb-info-2 .thumb-info-wrapper {
    padding: 0;
}

#blog .custom-thumb-info-2 .thumb-info-caption {
    padding: 20px 24px;
    background: #fff;
}

#blog .custom-thumb-info-2 .thumb-info-caption .thumb-info-caption-text,
#blog .custom-thumb-info-2 .thumb-info-caption .thumb-info-caption-text p {
    padding: 0;
    margin: 0;
}

/* Map flight animation overlay */
.bt-map-flight-wrap {
    position: relative;
    line-height: 0;
}

.bt-map-flight-wrap .bt-map-bg {
    display: block;
    width: 100%;
    height: auto;
}

.bt-map-flight-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bt-map-flight-wrap .pin,
.bt-map-flight-wrap .pin2 {
    z-index: 2;
}

.bt-pin-label {
    position: absolute;
    z-index: 3;
    transform: translateX(-50%);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: clamp(8px, 0.75vw, 10px);
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
    background: #ffffff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.14);
    pointer-events: none;
}

.bt-pin-label-makkah {
    top: calc(63% + 20px);
    left: 64%;
    color: #c0392b;
    border: 1px solid #fdcb6e;
}

.bt-pin-label-dhaka {
    top: calc(59% + 20px);
    left: 84.5%;
    color: #006266;
    border: 1px solid #00b894;
}

.bt-flight-route-1 {
    animation: btFlightDash 1.4s linear infinite;
}

.bt-flight-route-2 {
    animation: btFlightDash 1.4s linear infinite reverse;
}

.bt-flight-plane {
    filter: drop-shadow(0 0 2px rgba(0, 136, 204, 0.6));
}

@keyframes btFlightDash {
    to {
        stroke-dashoffset: -2.8;
    }
}

@media (max-width: 767px) {
    .bt-map-flight-wrap .pin,
    .bt-map-flight-wrap .pin2 {
        width: 11px;
        height: 11px;
    }

    .bt-pin-label {
        padding: 2px 5px;
        font-size: 8px;
        background: #ffffff;
    }

    .bt-pin-label-makkah {
        top: calc(63% + 16px);
    }

    .bt-pin-label-dhaka {
        top: calc(59% + 16px);
    }
}
