/* =========================================================
   HOUWAERT'S – RSVario Custom CSS
   ========================================================= */

/* ---------------------------------------------------------
   LOGO
   --------------------------------------------------------- */

.houwaerts-logo {
    flex: 0 0 auto !important;
    width: clamp(95px, 10vw, 150px) !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.houwaerts-logo img {
    width: 100% !important;
    height: auto !important;
}

/* =========================================================
   HOUWAERT'S - TITEL BOVEN DE HEADER
   ========================================================= */

/* Titelmodule over de volledige breedte */
.rstpl-custom.top-e {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rstpl-custom.top-e .rstpl-module,
.rstpl-custom.top-e .mod-custom {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Titel */
.houwaerts-site-title {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #6E3B28 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 48px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    box-sizing: border-box;
}

/* Boven- en onderruimte van de headerposities */
#rstpl-header-position,
#rstpl-main-menu-position {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Ruimte boven de pagina-inhoud */
#rstpl-all-content-position {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Logo en menu dichter bij de titel */
#rstpl-main-menu-position {
    transform: translateY(-30px);
    background: transparent !important;
    position: relative;
    z-index: 2;
}

/* ---------------------------------------------------------
   DESKTOP HOOFDMENU – ALLES OP ÉÉN REGEL
   --------------------------------------------------------- */

@media (min-width: 992px) {

    .rstpl-main-menu-position .navbar .nav {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .rstpl-main-menu-position .navbar .nav>li {
        white-space: nowrap;
    }
}

/* ---------------------------------------------------------
   CONTACT – CTA KNOP
   --------------------------------------------------------- */

.houwaerts-contact {
    background-color: #D98849;
    color: #FFFFFF !important;
    padding: 10px 18px !important;
    border-radius: 4px;
    margin-left: 10px;
}

.houwaerts-contact:hover {
    background-color: #6E3B28;
    color: #FFFFFF !important;
}

#rstpl-main-menu-position {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#rstpl-all-content-position {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* =========================================================
   COPYRIGHT FOOTER
   ========================================================= */

.rstpl-copyright-position {
    border-top: 1px solid #D98849;
    padding-top: 14px;
}

/* Footer tekst */

.rstpl-copyright-position .houwaerts-footer,
.rstpl-copyright-position .houwaerts-footer *,
.houwaerts-footer,
.houwaerts-footer * {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    color: #6E3B28 !important;
}

/* Footer links */

.rstpl-copyright-position .houwaerts-footer a,
.rstpl-copyright-position .houwaerts-footer a:visited,
.houwaerts-footer a,
.houwaerts-footer a:visited {
    color: #6E3B28 !important;
}

.rstpl-copyright-position .houwaerts-footer a:hover,
.houwaerts-footer a:hover {
    color: #D98849 !important;
}

.houwaerts-footer {
    width: 100%;
}

/* Footer rechts uitlijnen */

.rstpl-copyright-position .copyright-a,
.rstpl-copyright-position .copyright-b {
    text-align: right !important;
}

/* ---------------------------------------------------------
   FOOTER – RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .rstpl-copyright-position .row {
        display: flex;
        flex-direction: column;
    }

    .rstpl-copyright-position .copyright-a,
    .rstpl-copyright-position .copyright-b {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 8px;
    }

    .rstpl-copyright-position .houwaerts-footer,
    .rstpl-copyright-position .houwaerts-footer * {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}

/* Geen extra boven- of onderruimte rond de hero */
#rspbld .page-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* =========================================================
   HERO
   ========================================================= */

.houwaerts-hero {
    width: 100% !important;
    max-width: 1320px !important;
    min-height: 400px !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   HERO TEKST
   --------------------------------------------------------- */

.houwaerts-hero h1 {
    color: #FFFFFF !important;
    font-size: 52px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin: 0 0 10px 0 !important;
}

.houwaerts-hero h2 {
    color: #FFFFFF !important;
    font-size: 42px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    margin: 0 0 14px 0 !important;
}

.houwaerts-hero p {
    color: #FFFFFF !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 0 0 20px 0 !important;
}

.houwaerts-hero .houwaerts-hero-button {
    display: inline-block;
    background-color: #D98849;
    color: #FFFFFF !important;
    padding: 12px 22px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.houwaerts-hero .houwaerts-hero-button:hover {
    background-color: #6E3B28;
    color: #FFFFFF !important;
}

/* HERO – positie van alle tekstonderdelen */

.houwaerts-hero .rspbld-content {
    padding-top: 0 !important;
}

.houwaerts-hero h1,
.houwaerts-hero h2,
.houwaerts-hero p {
    position: relative;
    left: -175px;
    top: 0px;
}

/* De knop volgt de positie van de alinea waarin hij staat */
.houwaerts-hero .houwaerts-hero-button {
    position: static !important;
    transform: none !important;
}

/* ---------------------------------------------------------
   HERO – TELEFOON
   --------------------------------------------------------- */

@media (max-width: 575px) {

    .houwaerts-hero {
        min-height: 450px !important;
        height: 450px !important;
        display: block !important;
        background-size: auto 450px !important;
        background-position: 68% top !important;
        background-repeat: no-repeat !important;
    }

    /* Desktop-positionering uitschakelen */

    .houwaerts-hero h1,
    .houwaerts-hero h2,
    .houwaerts-hero p {
        position: relative;
        top: 100px !important;
        left: 0 !important;
    }

    .houwaerts-hero .houwaerts-hero-button {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
    }

    /* Titel */

    .houwaerts-hero h1 {
        font-size: 34px !important;
        line-height: 1.1 !important;
        margin: 120px 20px 8px 30px !important;
    }

    /* Subtitel */

    .houwaerts-hero h2 {
        font-size: 27px !important;
        line-height: 1.15 !important;
        margin: 0 20px 12px 30px !important;
    }

    /* Omschrijving */

    .houwaerts-hero p {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin: 0 20px 18px 30px !important;
    }

    /* Button */

    .houwaerts-hero .houwaerts-hero-button {
        display: inline-block !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
        padding: 10px 18px !important;
        margin: 0 0 0 30px !important;
    }
}

/* =========================================================
   HOUWAERT'S – ICONEN
   ========================================================= */

.houwaerts-feature {
    text-align: center;
}

.houwaerts-icon {
    display: block;
    width: 90px;
    height: 80px;
    margin: 0 auto 12px;
    background-color: #D98849;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;

    transition: background-color 0.25s ease;
}

/* EERSTE REEKS – HOUWAERTS */

/* Houwaert's – poot */
.houwaerts-icon-paw {
    -webkit-mask-image: url('/images/icons/houwaerts-paw.svg');
    mask-image: url('/images/icons/houwaerts-paw.svg');
}

/* Kenniscentrum – boek */
.houwaerts-icon-book {
    -webkit-mask-image: url('/images/icons/kenniscentrum-book.svg');
    mask-image: url('/images/icons/kenniscentrum-book.svg');
}

/* Familie */
.houwaerts-icon-familie {
    -webkit-mask-image: url('/images/icons/familie.svg');
    mask-image: url('/images/icons/familie.svg');
}

/* Pups */
.houwaerts-icon-pups {
    -webkit-mask-image: url('/images/icons/pups.svg');
    mask-image: url('/images/icons/pups.svg');
}

/* ICON PUPS */
.houwaerts-icon-pups2 {
    -webkit-mask-image: url('/images/icons/pups2.svg');
    mask-image: url('/images/icons/pups2.svg');
}

/* TWEEDE REEKS – NIEUWE ICONEN */

/* Weekcursus */
.houwaerts-icon-weekcursus {
    -webkit-mask-image: url('/images/icons/01_weekcursus.svg');
    mask-image: url('/images/icons/01_weekcursus.svg');
}

/* Bedrijfspartnerschap */
.houwaerts-icon-bedrijfspartnerschap {
    -webkit-mask-image: url('/images/icons/02_bedrijfspartnerschap.svg');
    mask-image: url('/images/icons/02_bedrijfspartnerschap.svg');
}

/* Podium 1-2-3 */
.houwaerts-icon-podium {
    -webkit-mask-image: url('/images/icons/03_podium_123.svg');
    mask-image: url('/images/icons/03_podium_123.svg');
}

/* Hondentesten */
.houwaerts-icon-hondentesten {
    -webkit-mask-image: url('/images/icons/04_hondentesten.svg');
    mask-image: url('/images/icons/04_hondentesten.svg');
}

/* Uitslagen onderzoeken */
.houwaerts-icon-uitslagen-onderzoeken {
    -webkit-mask-image: url('/images/icons/05_uitslagen_onderzoeken.svg');
    mask-image: url('/images/icons/05_uitslagen_onderzoeken.svg');
}

/* ICON PENSION */
.houwaerts-icon-pension {
    -webkit-mask-image: url('/images/icons/pension.svg');
    mask-image: url('/images/icons/pension.svg');
}

/* Icoon Gezondheid */

.houwaerts-icon-gezondheid {
    -webkit-mask-image: url('/images/icons/06_gezondheid.svg');
    mask-image: url('/images/icons/06_gezondheid.svg');
}

/* Icoon Boek */
.houwaerts-icon-boek {
    -webkit-mask-image: url('/images/icons/boek.svg');
    mask-image: url('/images/icons/boek.svg');
}

/* Icoon Webinar */
.houwaerts-icon-webinar {
    -webkit-mask-image: url('/images/icons/webinar.svg');
    mask-image: url('/images/icons/webinar.svg');
}

/* Icoon Agenda */
.houwaerts-icon-agenda {
    -webkit-mask-image: url('/images/icons/agenda.svg');
    mask-image: url('/images/icons/agenda.svg');
}

/* Icoon HDuitslagen */
.houwaerts-icon-hduitslagen {
    -webkit-mask-image: url('/images/icons/HDuitslagen.svg');
    mask-image: url('/images/icons/HDuitslagen.svg');
}

/* Icoon Gedragstesten */
.houwaerts-icon-gedragstesten {
    -webkit-mask-image: url('/images/icons/gedragstesten.svg');
    mask-image: url('/images/icons/gedragstesten.svg');
}

/* Icoon D-Lotus */
.houwaerts-icon-d-lotus {
    -webkit-mask-image: url('/images/icons/d-lotus.svg');
    mask-image: url('/images/icons/d-lotus.svg');
}

/* Icoon DM */
.houwaerts-icon-dm {
    -webkit-mask-image: url('/images/icons/dm.svg');
    mask-image: url('/images/icons/dm.svg');
}

.houwaerts-icon-overige-onderzoeken {
    -webkit-mask-image: url('/images/icons/overige-onderzoeken.svg');
    mask-image: url('/images/icons/overige-onderzoeken.svg');
}

.houwaerts-icon-oogonderzoeken {
    -webkit-mask-image: url('/images/icons/oogonderzoeken.svg');
    mask-image: url('/images/icons/oogonderzoeken.svg');
}

/* Hoverkleur voor alle iconen */
.houwaerts-feature:hover .houwaerts-icon {
    background-color: #6E3B28;
}

/* Titels onder de iconen */
.houwaerts-feature h3 {
    text-align: center;
}

/* Houwaerts – tekst onder de iconen centreren */

.houwaerts-feature {
    text-align: center !important;
}

.houwaerts-feature h3,
.houwaerts-feature p {
    text-align: center !important;
}

/* ==================================================
   Houwaerts – Fotobalk voorpagina
   Vier foto's naast elkaar, responsive op mobiel
   ================================================== */

/* Titelbalk boven de fotobalk */
.houwaerts-fotobalk-titel {
    background-color: #D98849;
    color: #ffffff;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    padding: 14px 20px;
    margin: 0;
}

/* Fotobalk */
.houwaerts-fotobalk {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.houwaerts-fotobalk img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}

/* Mobiel en tablet */
@media (max-width: 767px) {
    .houwaerts-fotobalk-titel {
        font-size: 18px;
        padding: 11px 14px;
    }

    .houwaerts-fotobalk {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* =========================================================
   HOUWAERT'S – ALGEMENE CONTENTSTIJL
   ========================================================= */

/* Algemene artikelinhoud */

.com-content-article {
    font-family: 'Montserrat', sans-serif;
    color: #493B35;
    font-size: 17px;
    line-height: 1.75;
}

/* Hoofdtitel */

.com-content-article h1 {
    font-family: 'Montserrat', sans-serif;
    color: #6E3B28;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 24px;
}

/* Tussenkoppen */

.com-content-article h2 {
    font-family: 'Montserrat', sans-serif;
    color: #6E3B28;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    margin: 38px 0 16px;
}

/* Kleinere koppen */

.com-content-article h3 {
    font-family: 'Montserrat', sans-serif;
    color: #6E3B28;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
    margin: 28px 0 12px;
}

/* Alinea's */

.com-content-article p {
    margin: 0 0 20px;
}

/* Mobiele weergave */

@media (max-width: 767px) {

    .com-content-article {
        font-size: 16px;
        line-height: 1.7;
    }

    .com-content-article h1 {
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .com-content-article h2 {
        font-size: 23px;
        line-height: 1.3;
        margin-top: 30px;
        margin-bottom: 12px;
    }

    .com-content-article h3 {
        font-size: 19px;
        margin-top: 24px;
    }

    .com-content-article p {
        margin-bottom: 18px;
    }
}

/* Houwaerts agenda */

.houwaerts-agenda {
    max-width: 760px;
    margin: 20px auto;
    font-family: 'Montserrat', sans-serif;
}

.houwaerts-agenda h2 {
    margin: 0 0 20px;
    font-size: 1.6rem;
    font-weight: 600;
}

.houwaerts-agenda-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 16px 0;
    border-bottom: 1px solid #deded8;
}

.houwaerts-agenda-item:first-of-type {
    border-top: 1px solid #deded8;
}

.houwaerts-agenda-datum {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 82px;
    min-height: 68px;
    background: #f2f1ec;
    color: #333;
    border-radius: 3px;
}

.houwaerts-agenda-dag {
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 600;
}

.houwaerts-agenda-maand {
    font-size: 0.78rem;
    text-transform: lowercase;
}

.houwaerts-agenda-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.houwaerts-agenda-tijd {
    font-size: 0.85rem;
    color: #777;
}

.houwaerts-agenda-activiteit {
    font-size: 1.05rem;
    font-weight: 500;
    color: #333;
}

/* Mobiel */

@media (max-width: 600px) {
    .houwaerts-agenda-item {
        gap: 14px;
        padding: 13px 0;
    }

    .houwaerts-agenda-datum {
        flex-basis: 70px;
        min-height: 62px;
    }

    .houwaerts-agenda-dag {
        font-size: 1.5rem;
    }

    .houwaerts-agenda-activiteit {
        font-size: 0.95rem;
    }
}

/* =========================================================
   HOUWAERT'S – WORP
   ========================================================= */

/* Houwaerts - worp W2 layout */

.hw-worp {
    font-family: Montserrat, sans-serif;
    color: #082b58;
    line-height: 1.55;
    width: 100%;
}

.hw-worp,
.hw-worp * {
    box-sizing: border-box;
}

.hw-worp-kop {
    padding: 0 4px 30px;
    border-bottom: 1px solid #d5dce3;
}

.hw-worp-titel {
    font-size: 19px;
    font-weight: 700;
}

.hw-worp-datum {
    color: #000080;
    font-size: 14px;
}

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

.hw-ouder {
    min-width: 0;
    padding: 14px 4px 0;
    border-right: 1px solid #d5dce3;
    border-bottom: 1px solid #d5dce3;
}

.hw-ouder h3 {
    font-size: clamp(20px, 2.2vw, 36px);
    line-height: 1.3;
    margin: 8px 0 10px;
    color: #082b58;
}

.hw-oudergegevens {
    padding: 4px 0 12px;
    border-top: 1px solid #d5dce3;
    overflow-wrap: anywhere;
}

.hw-afstamming {
    min-height: 300px;
    padding: 12px 0;
}

.hw-afstamming p {
    margin: 8px 0 16px;
}

.hw-ouderfotos {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr);
    gap: 20px;
    align-items: center;
    padding: 10px 12px 18px;
}

.hw-afbeelding {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 12px;
    border: 1px dotted #cbd3dc;
    background: #fafafa;
    color: #082b58;
    text-align: center;
    overflow-wrap: anywhere;
}

.hw-pups {
    width: 100%;
    margin: 28px 0;
}

.hw-pup {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr);
}

.hw-pup>div {
    min-width: 0;
    padding: 10px;
    border-bottom: 1px solid #d5dce3;
    overflow-wrap: anywhere;
}

.hw-pup-kop {
    font-weight: 700;
}

.hw-stamboom {
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid #d5dce3;
}

.hw-stamboom-titel {
    margin-bottom: 18px;
}

.hw-stamboom-afbeelding {
    min-height: 220px;
    margin-bottom: 12px;
}

.hw-documenten {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.hw-document {
    min-width: 0;
    padding: 12px;
    border: 1px solid #d5dce3;
}

.hw-document a {
    display: block;
    overflow-wrap: anywhere;
    margin-bottom: 10px;
    color: #082b58;
}

.hw-document .hw-afbeelding {
    min-height: 160px;
}

@media (max-width: 700px) {
    .hw-ouders {
        grid-template-columns: 1fr;
    }

    .hw-ouder {
        border-right: 0;
    }

    .hw-afstamming {
        min-height: 0;
    }

    .hw-ouder h3 {
        font-size: 23px;
    }

    .hw-ouderfotos {
        gap: 8px;
        padding: 8px 0;
    }

    .hw-pups {
        overflow-x: auto;
    }

    .hw-pup {
        min-width: 680px;
    }

    .hw-documenten {
        grid-template-columns: 1fr;
    }
}

/* Alleen het submenu van Serie 2 */
li.item-143>ul.mod-menu__sub {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(12, auto);
    grid-auto-flow: column;
    column-gap: 20px;
    width: 500px;
    max-width: 90vw;
}

/* Mobiele weergave */
@media (max-width: 767px) {
    li.item-143>ul.mod-menu__sub {
        display: block !important;
        width: 100%;
        max-width: 100%;
    }
}

/* =====================================================
   FCI-LOGO – ALLEEN HOMEPAGE HERO
   ===================================================== */

.houwaerts-home-hero {
    position: relative !important;
}

.houwaerts-home-hero::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 20px;
    width: 96px;
    height: 96px;
    background-image: url('/images/fci-logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 2;
    pointer-events: none;
}

/* Mobiel: linksboven */
@media (max-width: 767px) {
    .houwaerts-home-hero::after {
        width: 60px;
        height: 60px;
        top: 12px;
        left: 12px;
        right: auto;
    }
}

/* =====================================================
   MENU BOVEN FCI-LOGO
   ===================================================== */

/* Hoofdmenu en dropdown boven de hero */
#rstpl-main-menu-position {
    position: relative !important;
    z-index: 100 !important;
}

/* Hero en FCI-logo onder het menu */
.houwaerts-hero {
    position: relative !important;
    z-index: 1 !important;
}

.houwaerts-hero::after {
    z-index: 2 !important;
}