/* ============================================================
   Beond Journeys — Travel Blog Grid  v1.0.0
============================================================ */

.bb-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hide the theme's automatic page-title banner on this template */
.page-template-page-blog-php .traveltour-page-title-wrap {
    display: none !important;
}

/* ---------- Hero ---------- */
.bb-hero {
    position: relative;
    background: linear-gradient(135deg, #f97251 0%, #e66836 100%);
    padding: 90px 0 70px;
    text-align: center;
    overflow: hidden;
}
.bb-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.14), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(0, 0, 0, 0.10), transparent 40%);
    pointer-events: none;
}
.bb-hero-content { position: relative; z-index: 1; }
.bb-hero-eyebrow {
    display: inline-block;
    color: #ffe3d8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.bb-hero h1 {
    color: #ffffff !important;
    font-size: 46px !important;
    font-weight: 800;
    margin: 0 0 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.bb-cta h2 { color: #ffffff !important; }
.bb-hero-tagline {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------- Grid ---------- */
.bb-grid-section {
    background: #f7f8fa;
    padding: 60px 0 50px;
}
.bb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.bb-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(13, 22, 40, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bb-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(13, 22, 40, 0.16);
}
.bb-card-img-link {
    position: relative;
    display: block;
    height: 210px;
    overflow: hidden;
}
.bb-card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.bb-card:hover .bb-card-img-link img { transform: scale(1.06); }
.bb-card-img-fallback {
    display: block;
    height: 100%;
    background: linear-gradient(135deg, #f97251, #e66836);
}
.bb-card-cat {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: #f97251;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}
.bb-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.bb-card-meta {
    color: #8a94a6;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.bb-card h2.bb-card-title {
    font-size: 19px !important;
    line-height: 1.35 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
.bb-card h2.bb-card-title a,
.bb-card h2.bb-card-title a:visited {
    color: #0d1628 !important;
    text-decoration: none !important;
}
.bb-card h2.bb-card-title a:hover { color: #f97251 !important; }
.bb-card-excerpt {
    color: #55607a;
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0 0 16px;
    flex: 1;
}
.bb-card a.bb-card-more {
    color: #f97251 !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    margin-top: auto;
}
.bb-card a.bb-card-more:hover { color: #e66836 !important; }

/* ---------- Pagination ---------- */
.bb-pagination {
    margin-top: 46px;
    text-align: center;
}
.bb-pagination .page-numbers {
    display: inline-block;
    min-width: 42px;
    padding: 10px 14px;
    margin: 0 4px 8px;
    background: #ffffff;
    color: #0d1628;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(13, 22, 40, 0.08);
    transition: background 0.2s ease, color 0.2s ease;
}
.bb-pagination .page-numbers:hover { background: #ffe4db; color: #e66836; }
.bb-pagination .page-numbers.current {
    background: #f97251;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(249, 114, 81, 0.35);
}
.bb-pagination .page-numbers.dots {
    background: transparent;
    box-shadow: none;
}

.bb-empty {
    text-align: center;
    color: #55607a;
    font-size: 16px;
    padding: 40px 0;
}

/* ---------- CTA ---------- */
.bb-cta {
    background: linear-gradient(135deg, #f97251, #e66836);
    padding: 60px 0;
    text-align: center;
}
.bb-cta h2 {
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 10px;
}
.bb-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    margin: 0 0 24px;
}
.bb-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.bb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bb-btn:hover { transform: translateY(-2px); }
.bb-btn-primary {
    background: #ffffff;
    color: #e66836 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.bb-btn-primary:hover { color: #f97251 !important; }
.bb-btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}
.bb-btn-whatsapp:hover { color: #ffffff; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .bb-grid { grid-template-columns: repeat(2, 1fr); }
    .bb-hero h1 { font-size: 38px; }
}
@media (max-width: 640px) {
    .bb-grid { grid-template-columns: 1fr; }
    .bb-hero { padding: 64px 0 50px; }
    .bb-hero h1 { font-size: 30px; }
    .bb-hero-tagline { font-size: 15px; }
    .bb-cta h2 { font-size: 24px; }
}
