/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 19 2026 | 05:36:32 */
/* Add your CSS code here.

For example:
.example {
    color: red;
}

End of comment */


/* Override Elementor's inline grid styles */
.visa-guides-posts-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}


/* Base Card Styling */
.visa-guide-card {
    border: none !important;
    border-radius: 24px !important;
    padding: 24px 24px 84px 24px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 40px -10px rgba(5, 11, 82, 0.1) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    position: relative !important;
    min-height: 280px;
    display: flex !important;
    flex-direction: column !important;
}

.visa-guide-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 45px -10px rgba(5, 11, 82, 0.15) !important;
}


/* Make the first card larger and add the ribbon */
.visa-guide-card:first-child {
    grid-column: span 2 !important;
    padding-top: 56px !important;
}

.visa-guide-card:first-child::before {
    content: "Most useful starting point";
    position: absolute;
    top: 0;
    left: 24px;
    background: #1e293b;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    z-index: 10;
}


/* Card Header & Badges */
.card-header {
    margin-bottom: 15px !important;
    justify-content: flex-start !important;
}


/* Hide the optional label as it's redundant with the category links */
.optional-label {
    display: none !important;
}


/* Hide the comma between tags by making the wrapper transparent */
.category-badge {
    color: transparent !important;
    display: flex !important;
    gap: 4px !important;
    align-items: center;
}


/* Style the category links as pills */
.category-badge a {
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: capitalize !important;
}


/* First tag Guide styling */
.category-badge a:nth-child(1) {
    color: #050B52 !important;
    background: #050B52 !important;
}


/* Second tag Category styling */
.category-badge a:nth-child(2) {
    color: #e11d48 !important;
    background: #fff1f2 !important;
}


/* Title */
.post-title {
    font-size: 22px !important;
    font-weight: 400 !important;
    color: #050B52 !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
}

.visa-guide-card:first-child .post-title {
    font-size: 26px !important;
}


/* Excerpt */
.post-excerpt {
    font-size: 14px !important;
    color: #5c6c7b !important;
    margin-bottom: 0 !important;
    flex-grow: 1 !important;
}


/* Reading Time */
.reading-time {
    position: absolute !important;
    bottom: 38px !important;
    left: 24px !important;
    margin: 0 !important;
    color: #8b98a5 !important;
    font-size: 12px !important;
}


/* Hide clock icon to match screenshot */
.reading-time svg {
    display: none !important;
}


/* Read Guide Button */
.read-guide-btn {
    position: absolute !important;
    bottom: 24px !important;
    right: 24px !important;
    background: #050B52 !important;
    color: #ffffff !important;
    padding: 14px 20px 14px 20px !important;
    width: auto !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    border-radius: 50px !important;
}

.read-guide-btn:hover {
    background: #050B52 !important;
    color: #ffffff !important;
}

.read-guide-btn::after {
    content: "→";
    font-size: 16px;
    transition: transform 0.2s ease;
}

.read-guide-btn:hover::after {
    transform: translateX(4px);
}


/* Visa Tabs */
.visa-tab-btn {
    background: #050B52 !important;
    color: #ffffff !important;
}

.visa-tab-btn:hover {
    background: #050B52 !important;
    color: #ffffff !important;
}


/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .visa-guides-posts-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .visa-guide-card:first-child {
        grid-column: span 2 !important;
    }
}

@media (max-width: 768px) {
    .visa-guides-posts-wrapper {
        grid-template-columns: 1fr !important;
    }

    .visa-guide-card {
        padding: 20px 20px 80px 20px !important;
        min-height: auto !important;
    }

    .visa-guide-card:first-child {
        grid-column: span 1 !important;
        padding-top: 56px !important;
    }

    .reading-time {
        position: absolute !important;
        bottom: 34px !important;
        left: 20px !important;
        margin-bottom: 0 !important;
    }

    .read-guide-btn {
        position: absolute !important;
        bottom: 20px !important;
        right: 20px !important;
        width: auto !important;
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
}


/* ==================================================================== */
/* VISA GUIDE POPUP MODAL STYLES                                        */
/* ==================================================================== */

.vg-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.vg-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 650px;
    border-radius: 24px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.vg-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    font-size: 20px;
    color: #475569;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 10;
}

.vg-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.vg-modal-body {
    padding: 40px;
}

.vg-modal-loader {
    text-align: center;
    padding: 40px 0;
    font-size: 16px;
    color: #64748b;
}

.vg-modal-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.vg-modal-title {
    font-size: 28px;
    font-weight: 400;
    color: #050B52;
    margin-bottom: 16px;
    line-height: 1.3;
}

.vg-modal-excerpt {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
}

.vg-modal-guide-cover {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.vg-modal-guide-cover strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.vg-modal-guide-cover ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vg-modal-guide-cover li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
}

.vg-modal-guide-cover li:last-child {
    margin-bottom: 0;
}

.vg-modal-guide-cover li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

.vg-modal-guide-cover p {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}

.vg-modal-important {
    background: #fff1f2;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 32px;
    font-size: 13px;
    color: #881337;
    line-height: 1.5;
}

.vg-modal-important strong {
    font-weight: 700;
    color: #9f1239;
}

.vg-modal-actions {
    display: flex;
    gap: 16px;
}

.vg-btn-primary,
.vg-btn-secondary {
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
}

.vg-btn-primary {
    background: #050B52;
    color: #ffffff;
    border: 2px solid #050B52;
}

.vg-btn-primary:hover {
    background: #050B52;
    border-color: #050B52;
    color: #ffffff;
}

.vg-btn-secondary {
    background: #050B52;
    color: #ffffff;
    border: 2px solid transparent;
}

.vg-btn-secondary:hover {
    background: #050B52;
}


@media (max-width: 600px) {
    .vg-modal-body {
        padding: 24px;
    }
    
    .vg-modal-actions {
        flex-direction: column;
    }
    
    .vg-modal-title {
        font-size: 24px;
    }
}

.visa-tab-item.active,
.visa-tab-item.active .visa-tab-btn,
.visa-tab-btn.active {
    background: #050B52 !important;
    background-color: #050B52 !important;
    color: #ffffff !important;
}

/* Free Downloads blue color */
.post-badge.primary {
    background: #EEF2FF !important;
    color: #050B52 !important;
}

/* Blue text inside blog cards */
.blog-card span {
    color: #050B52 !important;
}

/* Download button */
.blog-card a.download-btn,
.blog-card .download-btn {
    background: #050B52 !important;
    background-color: #050B52 !important;
    color: #ffffff !important;
}

/* Download button hover */
.blog-card a.download-btn:hover,
.blog-card .download-btn:hover {
    background: #050B52 !important;
    background-color: #050B52 !important;
    color: #ffffff !important;
}

/* Card title */
.blog-card h3 {
    color: #050B52 !important;
}

/* Card links */
.blog-card a {
    color: #050B52;
}

/* Keep secondary badge unchanged */
.post-badge.secondary {
    color: #ef4444 !important;
}

.custom-blog-filter .blog-card a {
    background: #050B52 !important;
    background-color: #050B52 !important;
    color: #ffffff !important;
}
.fbl-featured-insight .fbl-featured-category {
/*     background: #050B52 !important; */
    color:#050B52 !important;
}

.fbl-featured-insight .fbl-featured-read {
    background: #050B52 !important;
    color: #fff !important;
    border-color: #050B52 !important;
}

.fbl-featured-insight .fbl-featured-read:hover {
    background: #fff !important;
    color: #050B52 !important;
    border-color: #050B52 !important;
}

.fbl-blogs-insights .fbl-category-btn.active,
.fbl-blogs-insights .fbl-category-btn:hover {
    background: #050B52 !important;
    color: #fff !important;
}
.fbl-blogs-insights .fbl-image-category {
    color: #050B52 !important;
}
.fbl-blogs-insights .fbl-image-subcategory {
    color: #050B52 !important;
}
.fbl-blogs-insights .fbl-card-bottom .fbl-read-btn,
.fbl-blogs-insights .fbl-card-bottom .fbl-read-btn:hover {
    background: #050B52 !important;
    color: #fff !important;
    border-color: #050B52 !important;
}

.immigration-cards-region .immigration-card__cta.immigration-popup-trigger:hover {
    background: #050B52 !important;
    background-color: #050B52 !important;
    background-image: none !important;
    color: #fff !important;
    border-color: #050B52 !important;
}