/*
Theme Name: I2G Travels Launch
Theme URI: https://i2gtravels.com/
Author: I2G Travels
Description: Premium coming-soon and travel blog theme for I2G Travels.
Version: 1.0.0
Text Domain: i2g-travels
*/

/* =========================================================
   I2G TRAVELS HEADER
   ========================================================= */

.site-header {
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-container {
    width: min(1400px, calc(100% - 60px));
    min-height: 90px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */

.site-branding {
    flex: 0 0 auto;
}

.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
}

.site-branding .custom-logo {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 68px;
}

.site-title {
    color: #102a43;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
}

/* Navigation */

.primary-navigation {
    margin-left: auto;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 32px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.primary-menu li {
    position: relative;
    margin: 0;
}

.primary-menu a {
    display: block;

    color: #172b3a;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;

    text-decoration: none;

    padding: 35px 0;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
    color: #c68a3a;
}

/* Hamburger */

.mobile-menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    padding: 10px;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;

    width: 26px;
    height: 2px;

    margin: 6px auto;

    background: #172b3a;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .header-container {
        width: min(100% - 32px, 1400px);
        min-height: 76px;

        position: relative;
    }

    .site-branding .custom-logo {
        max-width: 175px;
        max-height: 55px;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .primary-navigation {
        display: none;

        position: absolute;

        top: 100%;
        left: -16px;
        right: -16px;

        margin: 0;

        background: #ffffff;

        border-top: 1px solid rgba(0, 0, 0, 0.06);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);

        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-menu {
        display: block;

        width: 100%;

        padding: 12px 24px 22px;
    }

    .primary-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    }

    .primary-menu li:last-child {
        border-bottom: 0;
    }

    .primary-menu a {
        padding: 16px 0;
        font-size: 16px;
    }

}


/* =========================================================
   HAMBURGER OPEN STATE
   ========================================================= */

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   I2G TRAVELS - TRAVEL BLOG HUB
========================================================= */

.i2g-travel-blogs {
    background: #fff;
}

.travel-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* HERO */

.travel-blog-hero {
    padding: 85px 0 120px;
    text-align: center;
    background: #f5f7f8;
}

.travel-blog-hero h1 {
    max-width: 900px;
    margin: 10px auto 20px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
}

.travel-eyebrow,
.travel-section-kicker,
.travel-search-kicker {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.travel-hero-intro {
    max-width: 760px;
    margin: auto;
    font-size: 19px;
    line-height: 1.7;
}


/* SEARCH */

.travel-search-section {
    margin-top: -65px;
    position: relative;
    z-index: 5;
}

.travel-search-box {
    background: #fff;
    border-radius: 14px;
    padding: 42px;
    box-shadow: 0 15px 50px rgba(0,0,0,.12);
}

.travel-search-heading {
    text-align: center;
    margin-bottom: 28px;
}

.travel-search-heading h2 {
    margin: 6px 0;
    font-size: 34px;
}

.travel-keyword-search {
    display: flex;
    max-width: 850px;
    margin: auto;
}

.travel-keyword-search input {
    flex: 1;
    padding: 18px 20px;
    border: 1px solid #d9d9d9;
    border-radius: 7px 0 0 7px;
    font-size: 16px;
}

.travel-keyword-search button {
    border: 0;
    padding: 0 32px;
    cursor: pointer;
    border-radius: 0 7px 7px 0;
    font-weight: 700;
}

.travel-filter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 850px;
    margin: 24px auto 0;
}

.travel-filter label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.travel-filter select {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

.travel-quick-links {
    margin-top: 25px;
    text-align: center;
}

.travel-quick-links span {
    font-weight: 700;
}

.travel-quick-links a {
    margin-left: 13px;
    text-decoration: none;
}


/* GENERAL SECTIONS */

.travel-section {
    padding: 80px 0;
}

.travel-section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 32px;
}

.travel-section-header h2,
.travel-section-title-center h2 {
    margin: 5px 0;
    font-size: 38px;
}

.travel-section-title-center {
    max-width: 750px;
    text-align: center;
    margin: 0 auto 40px;
}


/* BLOG CARDS */

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

.travel-blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    transition: transform .2s ease, box-shadow .2s ease;
}

.travel-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.10);
}

.travel-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.travel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.travel-blog-card:hover .travel-card-image img {
    transform: scale(1.04);
}

.travel-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eee;
    font-weight: 700;
}

.travel-card-content {
    padding: 25px;
}

.travel-card-category {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.travel-card-content h3 {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.3;
}

.travel-card-content h3 a {
    text-decoration: none;
    color: inherit;
}

.travel-card-content p {
    line-height: 1.65;
}

.travel-read-more {
    display: inline-block;
    margin-top: 5px;
    font-weight: 700;
    text-decoration: none;
}


/* VACATION TYPES */

.travel-type-section {
    background: #f6f7f8;
}

.travel-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.travel-type-card {
    display: block;
    padding: 30px;
    background: #fff;
    border-radius: 9px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e7e7e7;
    transition: transform .2s ease;
}

.travel-type-card:hover {
    transform: translateY(-4px);
}

.travel-type-card > span {
    font-size: 32px;
}

.travel-type-card h3 {
    margin: 15px 0 7px;
}


/* DESTINATIONS */

.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.destination-grid a {
    padding: 30px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-size: 21px;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease;
}

.destination-grid a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}


/* CTA */

.travel-planning-cta {
    padding: 90px 0;
    text-align: center;
    background: #20282d;
    color: #fff;
}

.travel-cta-inner {
    max-width: 800px;
    margin: auto;
}

.travel-cta-inner h2 {
    margin: 8px 0 15px;
    font-size: 42px;
}

.travel-cta-inner p {
    font-size: 18px;
    line-height: 1.7;
}

.travel-cta-button {
    display: inline-block;
    margin-top: 18px;
    padding: 15px 27px;
    background: #fff;
    color: #20282d;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}


/* ACCESSIBILITY */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .travel-blog-grid,
    .travel-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .travel-filter-row {
        grid-template-columns: 1fr;
    }

    .destination-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .travel-container {
        width: min(100% - 28px, 1180px);
    }

    .travel-blog-hero {
        padding: 60px 0 100px;
    }

    .travel-search-box {
        padding: 28px 20px;
    }

    .travel-keyword-search {
        display: block;
    }

    .travel-keyword-search input {
        width: 100%;
        border-radius: 6px;
    }

    .travel-keyword-search button {
        width: 100%;
        padding: 15px;
        margin-top: 10px;
        border-radius: 6px;
    }

    .travel-blog-grid,
    .travel-type-grid,
    .destination-grid {
        grid-template-columns: 1fr;
    }

    .travel-section-header {
        display: block;
    }

    .travel-view-all {
        display: inline-block;
        margin-top: 12px;
    }

    .travel-quick-links a {
        display: inline-block;
        margin: 7px;
    }
}

.travel-clear-filter-button,
.travel-reset-button {
    width: 100%;
    padding: 13px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
}

.travel-clear-filter-button:hover,
.travel-reset-button:hover {
    background: #f3f3f3;
}


/* Loading state */

.travel-results-loading {
    position: relative;
    opacity: .4;
    pointer-events: none;
}

.travel-results-loading::after {
    content: "Finding travel ideas...";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,.12);
    opacity: 1;
    font-weight: 700;
}


/* No results */

.travel-no-results {
    grid-column: 1 / -1;
    padding: 55px 30px;
    text-align: center;
    background: #f6f7f8;
    border-radius: 10px;
}

.travel-no-results h3 {
    margin-top: 0;
    font-size: 26px;
}

.travel-no-results .travel-reset-button {
    width: auto;
    margin-top: 12px;
}

/* =========================================================
   LOAD MORE
========================================================= */

.travel-load-more-wrap {
    text-align: center;
    margin-top: 45px;
}

.travel-load-more-button {
    display: inline-block;
    min-width: 240px;
    padding: 15px 28px;

    border: 2px solid #20282d;
    border-radius: 6px;

    background: #fff;
    color: #20282d;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.travel-load-more-button:hover {
    background: #20282d;
    color: #fff;
    transform: translateY(-2px);
}

.travel-load-more-button:disabled {
    opacity: .55;
    cursor: wait;
    transform: none;
}

/* =========================================================
   I2G SINGLE TRAVEL BLOGS
========================================================= */

.single-blog-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.single-blog-narrow {
    max-width: 820px;
}


/* HEADER */

.single-blog-header,
.travel-list-header {
    padding: 75px 0 45px;
    text-align: center;
}

.single-blog-category,
.travel-list-category,
.sidebar-kicker {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.single-blog-header h1,
.travel-list-header h1 {
    margin: 0 auto 20px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
}

.single-blog-intro,
.travel-list-intro {
    margin: 0 auto 22px;
    font-size: 20px;
    line-height: 1.65;
}

.single-blog-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    font-size: 14px;
}


/* FEATURED IMAGE */

.single-blog-featured {
    padding-bottom: 55px;
}

.single-blog-featured-image {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: cover;
    border-radius: 10px;
}

.travel-list-featured {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto 60px;
}

.travel-list-featured-image {
    display: block;
    width: 100%;
    max-height: 700px;
    object-fit: cover;
    border-radius: 10px;
}


/* GUIDE LAYOUT */

.single-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 300px;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 80px;
}


/* ARTICLE TYPOGRAPHY */

.single-blog-content,
.travel-list-content {
    font-size: 18px;
    line-height: 1.8;
}

.single-blog-content h2,
.travel-list-content h2 {
    margin: 55px 0 18px;
    font-size: 34px;
    line-height: 1.2;
}

.single-blog-content h3,
.travel-list-content h3 {
    margin: 40px 0 15px;
    font-size: 26px;
}

.single-blog-content img,
.travel-list-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.single-blog-content a,
.travel-list-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* LIST ARTICLE */

.travel-list-article {
    max-width: 850px;
    margin: 0 auto 70px;
}


/* SIDEBAR */

.single-blog-sidebar {
    position: relative;
}

.blog-sidebar-box {
    padding: 27px;
    margin-bottom: 25px;
    border: 1px solid #e5e5e5;
    border-radius: 9px;
}

.blog-sidebar-box:first-child {
    position: sticky;
    top: 30px;
}

.blog-sidebar-box h3 {
    margin: 5px 0 12px;
    font-size: 23px;
}

.blog-sidebar-box p {
    line-height: 1.65;
}

.sidebar-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 20px;
    background: #20282d;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
}


/* TAGS */

.single-blog-tags {
    padding: 25px 0;
    margin-top: 45px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.single-blog-tags > span {
    margin-right: 12px;
    font-weight: 700;
}

.single-blog-tags a {
    display: inline-block;
    margin: 5px;
    padding: 6px 11px;
    background: #f2f3f4;
    border-radius: 4px;
    text-decoration: none;
}


/* AUTHOR */

.single-blog-author {
    display: flex;
    gap: 22px;
    margin-top: 45px;
    padding: 28px;
    background: #f5f7f8;
    border-radius: 9px;
}

.single-blog-author-avatar img {
    border-radius: 50%;
}

.single-blog-author-content h3 {
    margin: 3px 0 8px;
}

.single-blog-author-content p {
    margin-bottom: 0;
}


/* CTA */

.single-blog-cta {
    padding: 80px 0;
    text-align: center;
    background: #20282d;
    color: #fff;
}

.single-blog-cta h2 {
    margin: 8px 0 15px;
    font-size: 40px;
}

.single-blog-cta p {
    max-width: 680px;
    margin: 0 auto 20px;
    font-size: 18px;
    line-height: 1.7;
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .single-blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .single-blog-sidebar {
        max-width: 760px;
    }

    .blog-sidebar-box:first-child {
        position: static;
    }
}


@media (max-width: 600px) {

    .single-blog-container {
        width: calc(100% - 28px);
    }

    .single-blog-header,
    .travel-list-header {
        padding: 50px 0 35px;
    }

    .single-blog-content,
    .travel-list-content {
        font-size: 17px;
    }

    .single-blog-content h2,
    .travel-list-content h2 {
        font-size: 29px;
    }

    .single-blog-author {
        display: block;
    }

    .single-blog-author-avatar {
        margin-bottom: 15px;
    }
}

/* =========================================================
   I2G TRAVELS CATEGORY ARCHIVE
========================================================= */

.category-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.category-narrow {
    max-width: 820px;
}


/* HEADER */

.category-header {
    padding: 80px 0 65px;
    text-align: center;
    background: #f5f7f8;
}

.category-eyebrow,
.category-section-kicker {
    display: block;
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.category-header h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;
}

.category-description {
    max-width: 720px;
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.7;
}

.category-description p:last-child {
    margin-bottom: 0;
}

.category-back-link {
    display: inline-block;
    margin-top: 24px;
    font-weight: 700;
    text-decoration: none;
}


/* POSTS */

.category-posts {
    padding: 75px 0 90px;
}

.category-section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
    margin-bottom: 35px;
}

.category-section-header h2 {
    margin: 0;
    font-size: 36px;
}

.category-post-count {
    font-size: 14px;
    font-weight: 700;
}


/* GRID */

.category-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}


/* CARD */

.category-blog-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.category-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.10);
}

.category-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.category-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.category-blog-card:hover
.category-card-image img {
    transform: scale(1.04);
}

.category-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #eee;
    font-weight: 700;
}


/* CARD CONTENT */

.category-card-content {
    padding: 25px;
}

.category-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
    font-size: 12px;
}

.category-card-content h2 {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.3;
}

.category-card-content h2 a {
    color: inherit;
    text-decoration: none;
}

.category-card-content p {
    line-height: 1.65;
}

.category-read-more {
    display: inline-block;
    margin-top: 5px;
    font-weight: 700;
    text-decoration: none;
}


/* PAGINATION */

.category-pagination {
    margin-top: 55px;
    text-align: center;
}

.category-pagination .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.category-pagination .page-numbers {
    display: inline-flex;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
}

.category-pagination .current {
    background: #20282d;
    color: #fff;
    border-color: #20282d;
}


/* EXPLORE MORE */

.category-explore {
    padding: 75px 0;
    background: #f5f7f8;
}

.category-explore-heading {
    margin-bottom: 35px;
    text-align: center;
}

.category-explore-heading h2 {
    margin: 5px 0;
    font-size: 38px;
}

.category-explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.category-explore-grid a {
    display: flex;
    min-height: 115px;
    padding: 25px;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease;
}

.category-explore-grid a:hover {
    transform: translateY(-3px);
}

.category-explore-grid span {
    font-size: 28px;
}

.category-explore-grid strong {
    font-size: 18px;
}


/* NO RESULTS */

.category-no-results {
    padding: 60px 30px;
    text-align: center;
    background: #f5f7f8;
    border-radius: 10px;
}

.category-browse-button {
    display: inline-block;
    margin-top: 15px;
    padding: 13px 22px;
    background: #20282d;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
}


/* CTA */

.category-travel-cta {
    padding: 85px 0;
    text-align: center;
    background: #20282d;
    color: #fff;
}

.category-travel-cta h2 {
    margin: 7px 0 15px;
    font-size: 40px;
}

.category-travel-cta p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
}

.category-cta-button {
    display: inline-block;
    margin-top: 22px;
    padding: 15px 27px;
    background: #fff;
    color: #20282d;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}


/* MOBILE */

@media (max-width: 900px) {

    .category-blog-grid,
    .category-explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .category-container {
        width: calc(100% - 28px);
    }

    .category-header {
        padding: 55px 0 45px;
    }

    .category-section-header {
        display: block;
    }

    .category-post-count {
        display: block;
        margin-top: 10px;
    }

    .category-blog-grid,
    .category-explore-grid {
        grid-template-columns: 1fr;
    }

    .category-posts {
        padding: 55px 0 65px;
    }
}

/* ========================================
   DESTINATION / LANDING PAGE TRAVEL CARDS
   Scoped so they do NOT affect blog cards
   ======================================== */

.travel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 40px 70px;
}

.travel-grid .travel-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.travel-grid .travel-card-link {
    display: block;
    position: relative;
    color: #ffffff;
    text-decoration: none;
}

.travel-grid .travel-card-image {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    aspect-ratio: auto;
}

.travel-grid .travel-card-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* DARK IMAGE OVERLAY */

.travel-grid .travel-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.50) 35%,
        rgba(0, 0, 0, 0.12) 70%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

/* COMING SOON PILL */

.travel-grid .travel-card-badge {
    position: absolute !important;
    top: 22px !important;
    right: 22px !important;
    z-index: 20 !important;
    display: inline-block !important;
    width: auto !important;
    padding: 9px 15px !important;
    background: #ffffff !important;
    color: #172b3a !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
}

/* CARD CONTENT */

.travel-grid .travel-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding: 40px 36px 50px;
}

.travel-grid .travel-card-content h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(24px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.15;
}

.travel-grid .travel-card-content p {
    max-width: 90%;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.6;
}

.travel-grid .travel-card-arrow {
    display: inline-block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.travel-grid .travel-card:hover .travel-card-img {
    transform: scale(1.06);
}

@media (max-width: 1050px) {
    .travel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 650px) {
    .travel-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 20px 50px;
    }

    .travel-grid .travel-card-image {
        height: 400px;
    }

    .travel-grid .travel-card-content {
        padding: 35px 26px 40px;
    }

    .travel-grid .travel-card-content p {
        max-width: 100%;
    }

    .travel-grid .travel-card-badge {
        top: 18px !important;
        right: 18px !important;
        padding: 8px 13px !important;
    }
}

/* =========================================================
   TRAVEL BLOG HUB - FINAL LAYOUT FIX
========================================================= */

.i2g-travel-blogs {
    position: relative;
    width: 100%;
    background: #ffffff;
}

/* SEARCH */

.travel-search-section {
    position: relative;
    margin-top: -65px;
    padding-bottom: 70px;
    z-index: 5;
}

.travel-search-section .travel-container {
    position: relative;
}

.travel-search-box {
    position: relative;
    width: 100%;
    padding: 42px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.travel-search-form {
    position: relative;
    width: 100%;
}

.travel-filter-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    max-width: 850px;
    margin: 24px auto 0;
}

.travel-filter {
    min-width: 0;
}

.travel-filter select,
.travel-filter button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* BLOG CARDS
   Keep blog content in normal document flow. */

.i2g-travel-blogs .travel-blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
}

.i2g-travel-blogs .travel-blog-card .travel-card-image {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.i2g-travel-blogs .travel-blog-card .travel-card-image img {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.i2g-travel-blogs .travel-blog-card .travel-card-content {
    position: static;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px;
    color: inherit;
}

.i2g-travel-blogs .travel-blog-card .travel-card-content h3 {
    margin: 0 0 12px;
    color: inherit;
    font-size: 23px;
    line-height: 1.3;
}

.i2g-travel-blogs .travel-blog-card .travel-card-content h3 a {
    color: inherit;
    text-decoration: none;
}

.i2g-travel-blogs .travel-blog-card .travel-card-content p {
    max-width: none;
    margin: 0 0 18px;
    color: inherit;
    font-size: inherit;
    line-height: 1.65;
}

.i2g-travel-blogs .travel-blog-card .travel-read-more {
    margin-top: auto;
    font-weight: 700;
    text-decoration: none;
}

/* NORMAL SECTION FLOW */

.i2g-travel-blogs .travel-section {
    position: relative;
    width: 100%;
    clear: both;
    box-sizing: border-box;
}

.featured-travel-section {
    margin-top: 0;
}

.travel-type-section {
    position: relative;
    background: #f6f7f8;
}

.latest-travel-section {
    position: relative;
}

.travel-destinations {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 80px 0;
    clear: both;
}

/* DESTINATION GRID */

.travel-destinations .travel-section-title-center {
    position: relative;
    margin: 0 auto 40px;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
    margin: 0;
}

.destination-grid > a {
    position: relative;
    min-width: 0;
    box-sizing: border-box;
}

/* TABLET */

@media (max-width: 900px) {
    .travel-filter-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .destination-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .travel-search-section {
        margin-top: -40px;
        padding-bottom: 55px;
    }

    .travel-search-box {
        padding: 28px 20px;
    }

    .travel-filter-row {
        grid-template-columns: 1fr;
    }

    .destination-grid {
        grid-template-columns: 1fr;
    }

    .travel-destinations {
        padding: 60px 0;
    }
}
