/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* --- Aangepaste styling voor het Posts (Nieuws) blok --- */

/* 1. Titels bericht niet onderlijnd */
.tmb .t-entry-title a {
    text-decoration: none !important;
}

/* 2. Navigatiepijlen zoals in het design (Overriding Uncode defaults) */
/* Forceer pijlen om altijd zichtbaar te zijn, zelfs zonder hover */
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.t-carousel-wrapper .owl-nav [class*="owl-"],
.t-carousel-nav .t-carousel-control,
.uncode-slider .t-slider-control {
    opacity: 1 !important;
    visibility: visible !important;
    background-color: transparent !important; /* Verwijder het grote zwarte blok */
    border: 1px solid #27348a !important; /* Trince donkerblauw rand */
    border-radius: 50% !important; /* Maak ze volledig rond */
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #27348a !important; /* Trince donkerblauw pijl */
    padding: 0 !important;
    margin-top: -22px !important; /* Zorgt voor betere verticale centrering */
}

/* Kleur van de iconen zelf (het witte pijltje in het zwarte vierkant) forceren */
.owl-carousel .owl-nav [class*="owl-"] i,
.owl-carousel .owl-nav [class*="owl-"]::before,
.t-carousel-nav .t-carousel-control i,
.uncode-slider .t-slider-control i {
    color: #27348a !important;
    font-size: 18px !important;
}

/* Als Uncode een container box gebruikt rond de pijlen, maak deze transparant */
.t-carousel-control-nav {
    background: transparent !important;
}

/* 3. Read More knop als gewone tekstlink, donkerblauw onderlijnd */
.tmb .t-entry-readmore .btn, 
.tmb .more-link {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #27348a !important; /* Trince donkerblauw */
    text-decoration: underline !important;
    text-decoration-color: #27348a !important;
    text-underline-offset: 4px; /* Voor extra ademruimte */
    font-weight: 500;
}

/* 4. Categorie als badge (donkerblauwe achtergrond) */
.tmb .t-entry-visual .t-entry-category a {
    background-color: #27348a !important; /* Trince donkerblauw */
    color: #ffffff !important;
    padding: 6px 16px !important;
    border-radius: 999px !important; /* Volledig ronde hoeken (pill-vorm) */
    border: none !important; /* Geen randen */
    font-size: 0.85em;
    text-transform: uppercase;
    text-decoration: none !important;
    display: inline-block;
}

/* 5. Algemene tekst line-height iets strakker zetten */
body, p, .t-entry-excerpt {
    line-height: 1.6 !important;
}
/* 6. Navigatietekst in Trince donkerblauw */
.menu-primary ul.menu-smart > li > a, 
.menu-primary ul.menu-smart > li > a span {
    color: #27348a !important;
}

/* 7. Knop in navigatie (zwarte pil-vorm) */
/* Verwijder de rand (kader) van de <a> link zelf */
.menu-primary ul.menu-smart > li.menu-item-button > a,
.menu-primary ul.menu-smart > li > a.btn,
.menu-primary ul.menu-smart > li.btn > a,
.menu-primary ul.menu-smart > li.cta-button > a {
    border: none !important;
    background: transparent !important;
}

/* Door de span te stylen voorkomen we dat de knop uitrekt over de hele hoogte van de header */
.menu-primary ul.menu-smart > li.menu-item-button > a span,
.menu-primary ul.menu-smart > li > a.btn span,
.menu-primary ul.menu-smart > li.btn > a span,
.menu-primary ul.menu-smart > li.cta-button > a span {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    padding: 10px 24px !important; 
    display: inline-block !important;
    line-height: normal !important;
}
