/* =========================================================
   BYSAMY TOUR BLOG CARD COMPONENT
   Prefix: bst-card-
========================================================= */

.bst-card-list {
    --bst-dark: #061f2a;
    --bst-navy: #0a3444;
    --bst-blue: #087fa5;
    --bst-cyan: #18a9b8;
    --bst-gold: #e8b660;
    --bst-text: #263e49;
    --bst-muted: #73868f;
    --bst-light: #f5f9fa;
    --bst-border: rgba(6, 31, 42, 0.10);
    --bst-white: #ffffff;

    position: relative;
    width: 100%;
}

/* =========================================================
   CARD
========================================================= */

.bst-card-item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--bst-border);
    border-radius: 22px;
    background: var(--bst-white);
    box-shadow:
        0 12px 35px rgba(6, 31, 42, 0.07),
        0 3px 10px rgba(6, 31, 42, 0.03);
    isolation: isolate;
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.bst-card-item:hover {
    transform: translateY(-9px);
    border-color: rgba(24, 169, 184, 0.38);
    box-shadow:
        0 27px 65px rgba(6, 31, 42, 0.15),
        0 9px 25px rgba(6, 31, 42, 0.07);
}

/* =========================================================
   IMAGE
========================================================= */

.bst-card-image-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.bst-card-image-area {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--bst-dark);
}

.bst-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    transition:
        transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.5s ease;
}

.bst-card-item:hover .bst-card-image {
    transform: scale(1.09);
    filter: saturate(1.06);
}

.bst-card-image-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(6, 31, 42, 0.04) 15%,
            rgba(6, 31, 42, 0.14) 50%,
            rgba(6, 31, 42, 0.72) 100%
        );
}

/* =========================================================
   CATEGORY
========================================================= */

.bst-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: calc(100% - 78px);
    min-height: 35px;
    padding: 7px 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 999px;
    background: rgba(6, 31, 42, 0.48);
    color: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 7px 20px rgba(6, 31, 42, 0.15);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.bst-card-category i {
    flex: 0 0 auto;
    color: #7de1e8;
    font-size: 10px;
}

.bst-card-category span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =========================================================
   OPEN ICON
========================================================= */

.bst-card-open-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    opacity: 0;
    transform: translateY(-8px) rotate(-7deg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 11px;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}

.bst-card-item:hover .bst-card-open-icon {
    opacity: 1;
    transform: translateY(0) rotate(0);
    background: var(--bst-blue);
}

/* =========================================================
   BODY
========================================================= */

.bst-card-body {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px 21px 21px;
    background: #ffffff;
}

.bst-card-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 21px;
    width: 48px;
    height: 3px;
    border-radius: 0 0 8px 8px;
    background:
        linear-gradient(
            90deg,
            var(--bst-blue),
            var(--bst-cyan)
        );
}

/* =========================================================
   META
========================================================= */

.bst-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.bst-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--bst-muted);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.bst-card-meta i {
    color: var(--bst-blue);
    font-size: 11px;
}

/* =========================================================
   TITLE
========================================================= */

.bst-card-title {
    display: -webkit-box;
    min-height: 58px;
    margin: 0 0 20px;
    overflow: hidden;
    color: var(--bst-dark);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.48;
    letter-spacing: -0.3px;
    -webkit-box-orient: vertical;
    
}

.bst-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.bst-card-title a:hover {
    color: var(--bst-blue);
}

/* =========================================================
   FOOTER
========================================================= */

.bst-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--bst-border);
}

.bst-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bst-blue);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.bst-card-read-more i {
    font-size: 10px;
    transition: transform 0.25s ease;
}

.bst-card-read-more:hover {
    color: var(--bst-cyan);
}

.bst-card-read-more:hover i {
    transform: translateX(5px);
}

.bst-card-brand {
    color: #9aabb3;
    font-size: 7px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

/* =========================================================
   EMPTY STATE
========================================================= */

.bst-card-empty {
    --bst-dark: #061f2a;
    --bst-blue: #087fa5;
    --bst-cyan: #18a9b8;
    --bst-muted: #73868f;
    --bst-border: rgba(6, 31, 42, 0.12);

    max-width: 760px;
    margin: 0 auto;
    padding: 70px 30px;
    border: 1px dashed var(--bst-border);
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f3f9fa 100%
        );
    text-align: center;
}

.bst-card-empty-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 21px;
    background:
        linear-gradient(
            135deg,
            var(--bst-blue),
            var(--bst-cyan)
        );
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(8, 127, 165, 0.20);
    font-size: 27px;
}

.bst-card-empty h3 {
    margin: 0 0 10px;
    color: var(--bst-dark);
    font-size: 26px;
    font-weight: 800;
}

.bst-card-empty p {
    max-width: 520px;
    margin: 0 auto 25px;
    color: var(--bst-muted);
    font-size: 14px;
    line-height: 1.8;
}

.bst-card-empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--bst-blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(8, 127, 165, 0.20);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.bst-card-empty-button:hover {
    transform: translateY(-3px);
    background: var(--bst-dark);
    color: #ffffff;
    box-shadow: 0 16px 35px rgba(6, 31, 42, 0.22);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199.98px) {

    .bst-card-title {
        font-size: 18px;
    }

}

@media (max-width: 767.98px) {

    .bst-card-item {
        border-radius: 20px;
    }

    .bst-card-body {
        padding: 22px 19px 20px;
    }

    .bst-card-body::before {
        left: 19px;
    }

    .bst-card-title {
        min-height: auto;
        font-size: 19px;
    }

}

@media (max-width: 575.98px) {

    .bst-card-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .bst-card-image-area {
        aspect-ratio: 3 / 2;
    }

    .bst-card-category {
        top: 13px;
        left: 13px;
        max-width: calc(100% - 70px);
        min-height: 33px;
        padding: 6px 11px;
        font-size: 9px;
    }

    .bst-card-open-icon {
        top: 13px;
        right: 13px;
        width: 35px;
        height: 35px;
    }

    .bst-card-footer {
        align-items: flex-start;
    }

    .bst-card-brand {
        font-size: 6px;
    }

    .bst-card-empty {
        padding: 55px 22px;
        border-radius: 20px;
    }

    .bst-card-empty h3 {
        font-size: 22px;
    }

}