/*
 * IcePhone voorpagina
 * Alles gescoped onder .icephone-frontpage om specificiteit te winnen
 * van FixTeam zonder !important.
 */

/* Tekst die alleen voor screenreaders bedoeld is */
.icephone-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Secties */
.icephone-frontpage .icephone-categories,
.icephone-frontpage .icephone-about,
.icephone-frontpage .icephone-reviews {
    padding-top: 64px;
    padding-bottom: 64px;
}

.icephone-frontpage .icephone-reviews {
    padding-bottom: 32px;
}

.page-template-page-icephone-frontpage .page_content_wrap {
    padding-top: 0;
    padding-bottom: 0;
}

.page-template-page-icephone-frontpage .top_panel > .vc_row:not(.sc_layouts_row) {
    display: none;
}

.icephone-frontpage .icephone-section-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.icephone-frontpage .icephone-section-heading {
margin: 0 0 40px;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

/* Hero */
.icephone-frontpage .icephone-hero {
    position: relative;
    display: flex;
    max-width: 2560px;
    margin: 0 auto;
}

.icephone-frontpage .icephone-hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.icephone-frontpage .icephone-hero-half {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
}

.icephone-frontpage .icephone-hero-half:first-of-type {
    left: 0;
}

.icephone-frontpage .icephone-hero-half:last-of-type {
    right: 0;
}

.icephone-frontpage .icephone-hero-half:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: -3px;
}

.icephone-frontpage .icephone-hero-mobile {
    display: none;
}

/* Categorieblokken */
.icephone-frontpage .icephone-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.icephone-frontpage .icephone-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid rgba(35, 35, 35, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.icephone-frontpage .icephone-category-card:hover {
    border-color: rgba(46, 162, 204, 0.5);
    box-shadow: 0 8px 20px rgba(35, 35, 35, 0.1);
}

.icephone-frontpage .icephone-category-card-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 16px;
    box-sizing: border-box;
   background-color: #f5f7f9;
}

.icephone-frontpage .icephone-category-card-title {
    margin: 16px 20px 12px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: #232323;
}

.icephone-frontpage .icephone-category-card-button {
    display: inline-block;
    margin: auto 20px 20px;
    padding: 10px 18px;
    background-color: #75bde9;
    border-radius: 8px;
    color: #232323;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.icephone-frontpage .icephone-category-card-button::after {
    content: "";
    position: absolute;
    inset: 0;
}

.icephone-frontpage .icephone-category-card-button:hover {
    filter: brightness(1.08);
    color: #232323;
}

/* Over ons */
.icephone-frontpage .icephone-about {
    background-image:
        linear-gradient(rgba(15, 15, 15, 0.75), rgba(15, 15, 15, 0.75)),
        url('/wp-content/uploads/2026/08/about-background-1.jpg');
    background-size: cover;
    background-position: center;
}

.icephone-frontpage .icephone-about .icephone-section-inner {
    max-width: 620px;
    text-align: center;
}

.page-template-page-icephone-frontpage .sc_layouts_title {
    display: none;
}

.page-template-page-icephone-frontpage .top_panel > .vc_row:last-of-type {
    display: none;
}

.page-template-page-icephone-frontpage .page_content_wrap {
    padding-top: 0;
}

.icephone-frontpage .icephone-about .icephone-section-heading,
.icephone-frontpage .icephone-about p {
    color: #ffffff;
}

/* Reviews */
.icephone-frontpage .icephone-review-summary {
    text-align: center;
    margin: 0 0 24px;
   color: rgba(35, 35, 35, 0.65);
    font-size: 0.9rem;
}

.icephone-frontpage .icephone-review-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
}

.icephone-frontpage .icephone-review-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
   background-color: #ffffff;
    border: 1px solid rgba(35, 35, 35, 0.1);
    border-radius: 8px;
    padding: 24px;
}

.icephone-frontpage .icephone-review-stars {
    color: #f5c04e;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.icephone-frontpage .icephone-review-text {
    margin: 0 0 14px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(35, 35, 35, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.icephone-frontpage .icephone-review-author {
    font-size: 0.9rem;
font-weight: 700;
}

.icephone-frontpage .icephone-review-source {
    font-size: 0.75rem;
    color: rgba(35, 35, 35, 0.55);
}

/* Tussenstappen: 5 kolommen wordt onwerkbaar smal voor 1200px */
@media (max-width: 1200px) {
    .icephone-frontpage .icephone-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobiel: alleen de hero en de footer, zoals afgesproken */
@media (max-width: 800px) {
    .icephone-frontpage .icephone-hero {
        flex-direction: column;
    }

    .icephone-frontpage .icephone-hero-banner {
        display: none ;
    }

    .icephone-frontpage .icephone-hero-half {
        position: static;
        width: 100%;
    }

    .icephone-frontpage .icephone-hero-mobile {
        display: block;
    }

    .icephone-frontpage .icephone-categories,
    .icephone-frontpage .icephone-about,
    .icephone-frontpage .icephone-reviews {
        display: none;
        padding-bottom: 16px;
    }
}

/* FixTeam spuit een decoratieve "//" in via een pseudo-element;
   binnen onze reviewkaarten willen we die niet. */
.icephone-frontpage .icephone-review-card::before,
.icephone-frontpage .icephone-review-card::after,
.icephone-frontpage .icephone-review-card *::before,
.icephone-frontpage .icephone-review-card *::after {
    content: none;
}