/* ===== BLOG PAGE - blog.css ===== */

/* HERO */
.bl-hero { min-height: 58vh; padding-top: 80px; position: relative; }
.bl-hero-bg { position: absolute; inset: 0; z-index: 0; }
.bl-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.bl-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,21,42,.95) 0%, rgba(0,21,42,.6) 70%, rgba(0,21,42,.3) 100%); }
.bl-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .85rem; }
.bl-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,.9); font-size: .85rem; }
.bl-breadcrumb .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* SEARCH */
.bl-search-wrap { max-width: 520px; }
.bl-search-input { border: none; border-radius: .75rem !important; padding: 1rem 1.25rem; font-size: .95rem; background: rgba(255,255,255,.92); }
.bl-search-input:focus { box-shadow: 0 0 0 3px rgba(0,105,113,.3) !important; }
.bl-search-btn { background: #006971; color: #fff; border-radius: .75rem !important; width: 52px; flex-shrink: 0; transition: background .2s; }
.bl-search-btn:hover { background: #005058; color: #fff; }

/* STICKY FILTER */
.sticky-filter { position: sticky; top: 72px; z-index: 40; box-shadow: 0 4px 20px rgba(0,21,42,.06); }
.bl-filter-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.bl-cat-btn { font-size: .8rem; font-weight: 600; padding: 7px 18px; border-radius: 999px; border: 1.5px solid #e2e8f0; color: #475569; background: transparent; transition: all .2s; }
.bl-cat-btn:hover { border-color: #006971; color: #006971; }
.bl-cat-btn--active { background: #006971 !important; border-color: #006971 !important; color: #fff !important; }

/* FEATURED */
.bl-featured { border: 1px solid #e2e8f0; transition: box-shadow .3s; }
.bl-featured:hover { box-shadow: 0 20px 60px rgba(0,21,42,.12); }
.bl-featured-img-wrap { position: relative; height: 100%; min-height: 360px; overflow: hidden; }
.bl-featured-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bl-featured:hover .bl-featured-img { transform: scale(1.04); }
.bl-feat-badge { position: absolute; top: 20px; left: 20px; background: #006971; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }

/* CATEGORY TAGS */
.bl-cat-tag { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; }
.bl-cat-tag--visa { background: #dbeafe; color: #1d4ed8; }
.bl-cat-tag--study { background: #dcfce7; color: #15803d; }
.bl-cat-tag--pr { background: #ede9fe; color: #7c3aed; }
.bl-cat-tag--country { background: #fef3c7; color: #b45309; }
.bl-cat-tag--lifestyle { background: #fce7f3; color: #be185d; }
.bl-cat-tag--news { background: #fee2e2; color: #b91c1c; }

/* AUTHOR */
.bl-author-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.bl-author-name { font-size: .8rem; font-weight: 600; color: #374151; }
.bl-read-time { font-size: .78rem; color: #64748b; display: inline-flex; align-items: center; gap: 4px; }
.bl-read-time .material-symbols-outlined { font-size: .95rem !important; }

/* BLOG CARDS */
.bl-card { transition: transform .3s, box-shadow .3s, border-color .3s; }
.bl-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,21,42,.1); border-color: #006971 !important; }
.bl-card-img-wrap { height: 200px; overflow: hidden; position: relative; }
.bl-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bl-card:hover .bl-card-img { transform: scale(1.07); }
.bl-card-img-wrap .bl-cat-tag { position: absolute; top: 12px; left: 12px; }
.bl-card-title { font-size: 1rem; font-weight: 700; color: #00152a; line-height: 1.4; transition: color .2s; }
.bl-card:hover .bl-card-title { color: #006971; }

/* SIDEBAR */
.bl-sidebar-card { background: #fff; border: 1px solid #e2e8f0; }
.bl-pop-item { transition: transform .2s; }
.bl-pop-item:hover { transform: translateX(4px); }
.bl-pop-num { font-size: 1.4rem; font-weight: 900; color: #dce9ff; line-height: 1; flex-shrink: 0; width: 32px; }
.bl-pop-title { font-size: .85rem; font-weight: 600; color: #00152a; margin: 0; line-height: 1.4; transition: color .2s; }
.bl-pop-item:hover .bl-pop-title { color: #006971; }
.bl-sidebar-cat { width: 100%; background: transparent; border: none; border-bottom: 1px solid #f1f5f9; padding: .6rem 0; font-size: .85rem; font-weight: 600; color: #374151; text-align: left; transition: color .2s; cursor: pointer; }
.bl-sidebar-cat:hover, .bl-sidebar-cat.active { color: #006971; }
.bl-sidebar-cat:last-child { border-bottom: none; }
.bl-cat-count { background: #eff4ff; color: #006971; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }

/* NEWSLETTER SIDEBAR */
.bl-newsletter-card { background: linear-gradient(135deg, #00152a 0%, #006971 100%); }
.bl-nl-icon { font-size: 2.2rem !important; color: #79f1ff; display: block; }
.bl-nl-btn { background: #79f1ff; color: #00152a; font-weight: 700; font-size: .85rem; }
.bl-nl-btn:hover { background: #fff; color: #00152a; }

/* POST HIDE/SHOW */
.bl-post-item.hidden { display: none !important; }

/* DATE BADGE */
.bl-date-badge {
    position: absolute;
    top: 0;
    left: 20px;
    background: #00bcd4;
    color: #fff;
    padding: 10px;
    text-align: center;
    line-height: 1;
    z-index: 10;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.bl-date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}
.bl-date-month {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* CARD ADJUSTMENTS */
.bl-card-no-img { padding-top: 60px; }
.bl-card-meta { font-size: 0.8rem; color: #64748b; display: flex; gap: 10px; align-items: center; }
.bl-card-meta span { display: flex; align-items: center; gap: 4px; }
.bl-read-more { color: #006971; text-decoration: none; font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 6px; margin-top: 20px; transition: gap 0.3s; }
.bl-read-more:hover { gap: 10px; color: #00152a; }

/* HERO ADJUSTMENT */
.bl-hero--simple { min-height: 40vh; display: flex; align-items: center; }
.bl-hero--simple .bl-hero-overlay { background: rgba(0, 21, 42, 0.7); }

/* BLOG DETAIL SPECIFIC */
.prose h2 { margin-top: 2.5rem; margin-bottom: 1.25rem; font-weight: 700; color: #00152a; }
.prose p { margin-bottom: 1.5rem; color: #4b5563; line-height: 1.8; }
.prose blockquote { border-left-width: 4px; border-color: #00bcd4; padding-left: 2rem; margin: 3rem 0; font-style: italic; color: #00152a; background-color: #f0fbfc; padding-top: 2rem; padding-bottom: 2rem; border-radius: 0 0.75rem 0.75rem 0; }

.glass-sidebar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .prose blockquote { padding-left: 1.5rem; font-size: 1.25rem; }
}
