/* ===========================
   BLOG CATEGORY PAGE STYLES
=========================== */

/* ===========================
   CARD BASE
=========================== */
.tour-card {
    cursor: default;
    transition: 0.3s ease;
    padding-bottom: 8px !important;
}

/* ===========================
   IMAGE + OVERLAY
=========================== */
.tour-media,
.blog-media {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
}

.tour-media img,
.blog-media img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

/* Unified Overlay for Tour, Blog, and Category Cards */
.tour-media-overlay,
.blog-media-overlay,
.category-media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    color: #fff;
    z-index: 2;
    text-decoration: none;
    border-radius: 8px 8px 0 0;
}

.tour-media-overlay i,
.blog-media-overlay i,
.category-media-overlay i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.tour-media-overlay span,
.blog-media-overlay span,
.category-media-overlay span {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

/* Hover Effects - Show overlay on card hover */
.tour-card:hover .tour-media-overlay,
.blog-card:hover .blog-media-overlay,
.tour-card:hover .category-media-overlay {
    opacity: 1;
    visibility: visible;
}

.tour-card:hover .tour-media img,
.blog-card:hover .blog-media img {
    transform: scale(1.05);
}

/* ===========================
   TITLE COLORS
=========================== */
.tour-category_title a {
    color: #f48b5c !important;
    text-decoration: none;
    transition: 0.3s ease;
}

.tour-card:hover .tour-category_title a {
    color: #265471 !important;
}

/* ===========================
   BUTTON COLORS
=========================== */
.view-blog-btn {
    background-color: #f48b5c !important;
    border-color: #f48b5c !important;
    color: #fff !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    margin-bottom: 0 !important;
}

.tour-card:hover .view-blog-btn {
    background-color: #265471 !important;
    border-color: #265471 !important;
}

/* ===========================
   SPACING FIX
=========================== */
.tour-category {
    padding-bottom: 12px !important;
    margin-bottom: 0 !important;
}

.tour-category .mt-auto {
    margin-bottom: 0 !important;
}
