.tofhc-wrap{
    max-width:1400px;
    margin:0 auto;
    padding:40px 20px;
}

.tofhc-heading{
    text-align:center;
    font-size:42px;
    margin-bottom:40px;
}

.tofhc-grid,
.tofhc-category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:24px;
}

.tofhc-grid{
    margin-bottom:40px;
}

.tofhc-card,
.tofhc-category-card,
.tofhc-video-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.tofhc-card,
.tofhc-category-card{
    cursor:pointer;
    transition:.3s;
}

.tofhc-card:hover,
.tofhc-category-card:hover{
    transform:translateY(-5px);
}

.tofhc-card.active,
.tofhc-category-card.active{
    outline:3px solid #2563eb;
}

.tofhc-card > img{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    display:block;
}

.tofhc-title{
    padding:20px;
}

.tofhc-name{
    font-size:22px;
    font-weight:700;
    margin-bottom:12px;
    line-height:1.3;
}

.tofhc-specs{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.tofhc-specs span{
    background:#f3f4f6;
    padding:8px 12px;
    border-radius:100px;
    font-size:13px;
    font-weight:600;
}

.tofhc-floorplan-thumb{
    max-width:140px;
    margin:16px auto 0;
}

.tofhc-floorplan-thumb img{
    width:100%;
    border-radius:10px;
    aspect-ratio:16/9;
    object-fit:contain;
    background:#fff;
}

.tofhc-selected{
    margin-bottom:40px;
}

.tofhc-selected-grid{
    display:grid;
    grid-template-columns:1.3fr .7fr;
    gap:40px;
}

.tofhc-floorplan{
    margin-top:30px;
}

.tofhc-floorplan img{
    width:420px !important;
    max-width:100%;
    height:auto;
    border-radius:20px;
    display:block;
}

.tofhc-description{
    line-height:1.8;
    font-size:16px;
}

/* -------------------------------- */
/* CATEGORY / SECTION HEADERS */
/* -------------------------------- */

.tofhc-video-section{
    margin-top:50px;
}

.tofhc-video-section-title{
    display:flex;
    align-items:center;
    gap:18px;
    padding:20px 28px;
    border-radius:18px;
    background:#f8f8f8;
    margin-bottom:24px;
}

.tofhc-category-icon{
    width:74px;
    height:74px;
    object-fit:contain;
    flex-shrink:0;
}

.tofhc-video-section-title span{
    font-size:24px;
    font-weight:700;
    color:#111;
    line-height:1;
}

/* -------------------------------- */
/* VIDEO GRID */
/* -------------------------------- */

.tofhc-video-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

/* -------------------------------- */
/* VIDEO CARD */
/* -------------------------------- */

.tofhc-video-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    border:1px solid #ececec;
    box-shadow:0 4px 20px rgba(0,0,0,.04);
}

.tofhc-video-thumb{
    position:relative;
    width:100%;
    height:260px;
    overflow:hidden;
    cursor:pointer;
    background:#000;
    border-radius:18px;
    transition:.3s;
}

.tofhc-video-thumb.playing{
    height:700px;
}

.tofhc-video-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.tofhc-video-thumb iframe{
    width:100%;
    height:100%;
    position:absolute;
    inset:0;
    border:0;
}

.tofhc-play{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:72px;
    height:72px;
    border-radius:999px;
    background:rgba(255,255,255,.92);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    color:#ff0000;
}

.tofhc-video-content{
    padding:22px;
    text-align:center;
}

.tofhc-video-content h3{
    font-size:24px;
    line-height:1.3;
    margin:0 0 18px;
}

.tofhc-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:#ff0000;
    color:#fff !important;
    padding:14px 18px;
    border-radius:999px;
    text-decoration:none !important;
    font-weight:600;
    transition:.2s;
    margin-top:10px;
}

.tofhc-btn:hover{
    background:#cc0000;
    transform:translateY(-2px);
}

.tofhc-btn svg{
    width:18px;
    height:18px;
    fill:#fff;
}

.tofhc-url{
    margin-top:16px;
    font-size:12px;
    color:#888;
    word-break:break-word;
}

.tofhc-empty{
    text-align:center;
    padding:40px;
    background:#fff;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.tofhc-card.active{
    outline:3px solid #2563eb;
    transform:translateY(-4px);
}

.tofhc-inline-panel{
    grid-column:1/-1;
    background:#fff;
    border-radius:24px;
    padding:40px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    margin-top:-5px;
}

.tofhc-inline-grid{
    display:block;
}

/*
|--------------------------------------------------------------------------
| Smaller motorhome titles
|--------------------------------------------------------------------------
*/

.tofhc-name{
    font-size:18px;
    line-height:1.35;
}

@media(max-width:768px){

    .tofhc-name{
        font-size:16px;
    }

}

/* -------------------------------- */
/* RESPONSIVE */
/* -------------------------------- */

@media(max-width:1100px){

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

}

@media(max-width:900px){

    .tofhc-selected-grid{
        grid-template-columns:1fr;
    }

    .tofhc-heading{
        font-size:22px;
    }

    .tofhc-name{
        font-size:20px;
    }

    .tofhc-inline-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .tofhc-wrap{
        padding:10px;
    }

    .tofhc-inline-panel{
        padding:15px;
        border-radius:18px;
    }

    .tofhc-video-content{
        padding:15px;
    }

    .tofhc-video-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .tofhc-selected{
        padding:0;
    }

    .tofhc-category-grid{
        gap:12px;
    }

    .tofhc-category-card{
        padding:16px;
    }

    .tofhc-card{
        border-radius:16px;
    }

    .tofhc-video-content h3{
        font-size:20px;
    }

    .tofhc-video-section-title span{
        font-size:20px;
    }

    .tofhc-video-thumb{
        height:220px;
    }

    .tofhc-video-thumb.playing{
        height:70vh;
    }

}

.tofhc-search-wrap{
    max-width:760px;
    margin:0 auto 40px;
}

.tofhc-search{
    width:100%;
    height:74px;
    padding:0 28px;
    border:none;
    border-radius:999px!important;
    background:#fff;
    font-size:18px;
    font-weight:500;
    box-shadow:
        0 2px 12px rgba(0,0,0,.08),
        0 1px 2px rgba(0,0,0,.04);
    transition:.25s;
	border-color: whitesmoke!important;
}

.tofhc-search::placeholder{
    color:#666;
    font-weight:400;
}

.tofhc-search:focus{
    outline:none;
    transform:translateY(-1px);
    box-shadow:
        0 8px 28px rgba(0,0,0,.12),
        0 2px 4px rgba(0,0,0,.06);
}

/*
|--------------------------------------------------------------------------
| Keep search results in grid columns
|--------------------------------------------------------------------------
*/

.tofhc-grid{
    align-items:start;
}

.tofhc-grid .tofhc-card{
    width:100%;
    max-width:none;
}

.tofhc-grid.searching{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

@media(max-width:1000px){

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

}

@media(max-width:700px){

    .tofhc-grid.searching{
        grid-template-columns:1fr;
    }

}