/* ==========================================================================
   Blog Navigation Active State
   ========================================================================== */

.nav-links li a.active {
    color: #C9A961;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.15px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: 12%;
    text-underline-offset: 24%;
    text-underline-position: from-font;
}

.nav-links li a.active svg {
    color: #C9A961;
}

/* ==========================================================================
   Blog Page Specific Styles
   ========================================================================== */

/* Override the hero background image for the Blog page */
.custom-hero {
    background-image: url('Assets/Blog/blogHeroBgImage.png') !important;
}

/* ==========================================================================
   Section 2: Travel Guides & Inspiration (Copied from Home)
   ========================================================================== */
.blog-section-2 {
    padding: 80px 0;
    background-color: #FAF9F6;
}

.blog-guides-header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 48px;
}

.blog-guides-header-text {
    max-width: 800px;
}

.blog-guides-title {
    color: #2A2A2A;
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: 0.369px;
    margin-bottom: 16px;
}

.blog-guides-subtitle {
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.439px;
}

.blog-btn-view-articles {
    display: flex;
    padding: 13.5px 25.461px 14.5px 26px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 2px solid #1A4D2E;
    color: #1A4D2E;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.312px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-btn-view-articles:hover {
    background: #1A4D2E;
    color: #FFF;
}

.blog-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-guide-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    height: 100%;
}

.blog-guide-img {
    position: relative;
    width: 100%;
    height: 256px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-guide-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    padding: 4px 12px;
    align-items: flex-start;
    border-radius: 100px;
    background: #C9A961;
    color: #2A2A2A;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    z-index: 10;
}

.blog-guide-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.blog-guide-title {
    color: #2A2A2A;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
    letter-spacing: -0.449px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 50px;
}

.blog-guide-desc {
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.312px;
    margin-bottom: 24px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 78px;
}

.blog-guide-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #F3F4F6;
    width: 100%;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta-item img {
    width: 16px;
    height: 16px;
}

.blog-meta-item span {
    color: #6A7282;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.blog-btn-read-more {
    color: #1A4D2E;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.312px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.blog-btn-read-more:hover {
    color: #11331E;
}

/* Responsive CSS */
@media (max-width: 1024px) {
    .blog-guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-section-2 {
        padding: 60px 0;
    }

    .blog-guides-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 40px;
    }

    .blog-guides-header-text {
        max-width: 100%;
    }

    .blog-guides-title {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 12px;
    }

    .blog-guides-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .blog-btn-view-articles {
        width: 100%;
        padding: 14px 24px;
    }

    .blog-guides-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-guide-img {
        height: 220px;
    }

    .blog-guide-content {
        padding: 20px;
    }

    .blog-guide-title {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 52px;
    }

    .blog-guide-desc {
        font-size: 15px;
        line-height: 24px;
        margin-bottom: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 72px;
    }

    .blog-guide-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

/* Pagination Styles */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.blog-page-btn {
    display: flex;
    width: 36px;
    height: 36px;
    padding: 3px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    border: 0.8px solid rgba(26, 77, 46, 0.16);
    background: #FAF9F6;
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-page-btn:hover {
    background: #E5E7EB;
}

.blog-page-btn.active {
    background: #C9A961;
    color: #FFF;
    border-color: #C9A961;
}

/* Trip Finder Styles */
.blog-bottom-finder {
    background: #FFF;
    border-radius: 24px;
    border: 1px solid #F3F4F6;
    padding: 32px 48px;
    margin-top: 120px;
    margin-bottom: 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10);
    height: auto;
    min-height: 222px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.blog-finder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-finder-titles {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.blog-finder-title {
    color: #2A2A2A;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 34px;
    letter-spacing: 0.396px;
}

.blog-finder-subtitle {
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.312px;
}

.blog-finder-style {
    display: flex;
    align-items: center;
    gap: 16px;
}

.blog-style-label {
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.blog-style-toggle {
    position: relative;
    display: flex;
    height: 56px;
    padding: 4px;
    align-items: center;
    border-radius: 8px;
    background: #F5F2ED;
}

.blog-style-toggle input[type="radio"] {
    display: none;
}

.blog-btn-style {
    position: relative;
    z-index: 2;
    display: flex;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.312px;
    cursor: pointer;
    transition: color 0.3s ease;
    flex: 1;
}

.blog-switch-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: #FFF;
    border-radius: 6px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

#blog-style-standard:checked~.blog-btn-style[for="blog-style-standard"] {
    color: #1A4D2E;
}

#blog-style-luxury:checked~.blog-btn-style[for="blog-style-luxury"] {
    color: #1A4D2E;
}

#blog-style-luxury:checked~.blog-switch-indicator {
    transform: translateX(100%);
}

.blog-finder-form {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.blog-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.blog-input-label {
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.blog-btn-group {
    flex: none;
}

.blog-input-field {
    width: 100%;
    color: #364153;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.15px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background: #F5F2ED;
    height: 58px;
    padding: 0 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.blog-input-field::placeholder {
    color: #4A5565;
    opacity: 0.8;
}

.blog-input-field:focus {
    border-color: #1A4D2E;
}

.blog-btn-send {
    display: inline-flex;
    padding: 16px 40px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: #1A4D2E;
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.312px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
    border: none;
    cursor: pointer;
    height: 58px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.blog-btn-send:hover {
    background: #143d24;
}

@media (max-width: 1024px) {
    .blog-finder-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .blog-bottom-finder {
        padding: 24px;
        margin-top: 60px;
        margin-bottom: 40px;
    }

    .blog-finder-form {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .blog-input-group {
        flex: none;
        width: 100%;
        min-width: 100%;
    }

    .blog-input-field {
        height: 58px;
        min-height: 58px;
    }

    .blog-btn-send {
        flex: none;
        width: 100%;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .blog-finder-style {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}