/*
 * Brownie Template — Modern CSS
 * 2026 refresh
 *
 * Keeps the original HTML class names for compatibility.
 * Bootstrap is no longer required.
 */

:root {
    /* Colors */
    --color-greygreen: #96ab97; /* was #1f1d1a
		Contactformulier-velden (sectie 11, Forms)
		Mobiel menu, de losse links (sectie 7)
		Hamburger-knop, tekstkleur (sectie 7)
		#96ab97 is vergrijsd lichtgroen
		*/
    --color-gray: #E4E4E4; /* #929292 grijze letters main text - #E4E4E4 is studio forte grijs*/
	--color-SFgreen: #004812; /* #865701  THE - #004812 is studio forte donkergroen*/
    --color-lightgreen: #c5c19d; /* #b28601 BROWNIE - #c5c19d is studio forte lichtgroen */
    --color-verylightgreen: #DCD9BD; /* was #c5a554 
		tekstkleur van de SEND-knop, in sectie 11 (Forms)
		dus de kleur van het woord "SEND" zelf op de groene knop
		#DCD9BD is een duidelijke tint lichter studio forte lichtgroen */
    --color-white: #fff;
	--color-brown-dark: rgb(60 48 40 / 60%); /* donkere achtergrond voor Nieuws-blok en accent-blokken */

    /* Layout */
    --container-width: 1140px;
    --content-size: 523px;
    --content-radius: 30px;

    /* Spacing */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;

    /* Motion */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;

    /* Shadows */
    --shadow-soft: 0 4px 18px rgb(0 0 0 / 12%);
}


/* =========================================================
   1. Reset & Base
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-greygreen);
    /* background: url("../images/body-bg.png") repeat; */
	background: url("../images/achtergrond.jpg") repeat; /* studio forte background */
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--color-SFgreen);
    text-decoration: none;
    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        opacity var(--transition);
}

a:hover,
a:focus {
    color: var(--color-lightgreen);
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgb(178 134 1 / 45%);
    outline-offset: 3px;
}

p {
    color: var(--color-gray);
    margin-top: 0;
}

ul {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    margin-top: 0;
    text-transform: uppercase;
}

h2 {
    width: 100%;
    margin-bottom: 0;
    line-height: 1.2;
}

h3 {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}


/* =========================================================
   2. Bootstrap replacement
   ========================================================= */

.container {
    width: min(
        calc(100% - 30px),
        var(--container-width)
    );
    margin-inline: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-inline: -15px;
}

.col-lg-6,
.col-md-6,
.col-lg-12 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-inline: 15px;
}

.col-lg-6,
.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-uppercase {
    text-transform: uppercase;
}

.small {
    font-size: 0.875rem;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.center-block {
    margin-inline: auto;
}

.btn {
    display: inline-block;
    border: 0;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1rem;
}


/* =========================================================
   3. Utility classes
   ========================================================= */

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-30 {
    margin-top: 30px;
}

.padding-30 {
    padding: 30px;
}

.templatemo-section-title {
    display: block;
}

.templatemo-position-relative {
    position: relative;
}

.templatemo-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.templatemo-SFgreen{
    color: var(--color-SFgreen);
}

.templatemo-lightgreen {
    color: var(--color-lightgreen);
}

.blue {
    color: #66bbdd;
}

.green {
    color: #66ee66;
}


/* =========================================================
   4. Main template boxes
   ========================================================= */

.templatemo-home-image,
.templatemo-image-overlay{
    width: 100%;
    border-radius: var(--content-radius);
}

.templatemo-black-bg,
.templatemo-content-box {
    width: min(100%, var(--content-size));
    height: var(--content-size);
}

.templatemo-content-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 50px;
}

.templatemo-flex-item-ie-fix {
    width: 100%;
}

#services .templatemo-flex-item-ie-fix {
    padding: 20px 30px;
}

#services .templatemo-service-container {
    margin-top: 12px;
}

#services .templatemo-service-description {
    margin-bottom: 0;
}

#services .templatemo-service-container {
    margin-top: 8px;
}

#services .templatemo-service-description {
    line-height: 1.45;
}

#services .templatemo-service-content {
    margin-left: 90px;
}

.templatemo-black-bg {
    background: #1b1b1b; 
	/* background: rgb(27 27 27 / 100%); */
    /* border: 1px solid var(--color-SFgreen); */
    border-radius: var(--content-radius);
    padding: 30px;
}

.templatemo-black-bg:has(.templatemo-brown-rectangle-bg) {
    padding: 0;
}

.templatemo-brown-rectangle-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95%;
    height: 95%;
    border: 1px solid var(--color-SFgreen);
    border-radius: var(--content-radius);
}

.templatemo-btn {
    background: var(--color-SFgreen);
    color: var(--color-white);
	border-radius: 10px;
    transition:
        background-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.templatemo-btn:hover,
.templatemo-btn:focus-visible {
    background: var(--color-lightgreen);
    color: var(--color-white);
}

.templatemo-btn:active {
    transform: translateY(1px);
}

#contact .templatemo-black-bg {
    height: auto;
    min-height: var(--content-size);
}

/* =========================================================
   5. Header
   ========================================================= */

.templatemo-site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 2000;

    width: 100%;
    height: 82px;

    /* background: url("../images/header-bg.png") repeat-x; */
	background: #E4E4E4;
    border-bottom: 1px solid var(--color-SFgreen);

    transition:
        height var(--transition),
        background-color var(--transition);
}

.templatemo-site-header h1 {
    margin: 0;
    padding-left: 30px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 60px;
    line-height: 1.2;

    transition: font-size var(--transition);
}

.templatemo-site-header.sticky {
    height: 47px;
}

.templatemo-site-header.sticky h1 {
    font-size: 34px;
}

.templatemo-site-name {
    margin: 0;
}

.templatemo-site-name span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

.templatemo-site-name span:first-child {
    font-size: 20px;
}


/* =========================================================
   6. Desktop navigation
   ========================================================= */

.templatemo-site-header .templatemo-nav {
    position: absolute;
    right: 0;
    bottom: 14px;

    transition: bottom var(--transition);
}

.templatemo-site-header.sticky .templatemo-nav {
    bottom: 6px;
}

.templatemo-nav ul {
    display: flex;
    align-items: flex-end;
    list-style: none;
}

.templatemo-nav ul li {
    margin: 0;
}

.templatemo-nav ul li a {
    display: block;
    padding: 15px 20px;
    color: var(--color-SFgreen);
}

.templatemo-site-header.sticky .templatemo-nav ul li a {
    padding-block: 8px;
}

.templatemo-nav ul li.active a {
    /* background: url("../images/body-bg.png"); */
    border: 1px solid var(--color-SFgreen);
    border-bottom: 0;
    border-radius: 15px 15px 0 0;
}

.templatemo-nav li:hover a,
.templatemo-nav li.active a {
    color: var(--color-lightgreen);
}


/* =========================================================
   7. Mobile navigation
   ========================================================= */

#responsive-menu {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 5500;

    width: min(250px, 85vw);
    height: 100%;

    padding: 15px;

    /* background: rgb(116 106 64 / 40%); */
	background: #c5c19d; /* studio forte lichtgroen */

    overflow-y: auto;

	right: 0;
	display: block;
	transform: translateX(100%);
	transition: transform 300ms ease;
}

#responsive-menu.is-open {
    transform: translateX(0);
}

#responsive-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#responsive-menu ul li {
    display: block;
    margin-bottom: 2px;
}

#responsive-menu ul li a {
    display: block;

    padding: 12px 18px;

    background: var(--color-greygreen);
    color: var(--color-SFgreen);

    border-radius: 4px;

    text-transform: uppercase;
}

#responsive-menu ul li a i {
    width: 1.25em;
    margin-right: 15px;
}

#responsive-menu ul li a:hover,
#responsive-menu ul li.active a {
    background: #333;
    color: var(--color-lightgreen);
}


#mobile_menu {
    position: fixed;
    top: 6px;
    right: 15px;
    z-index: 5500;

    display: block;

    width: 50px;
    height: 50px;

	background: #004812cc;
    border-radius: 10px;

    color: var(--color-greygreen);
    font-size: 24px;
    line-height: 50px;
    text-align: center;

    transition: top var(--transition), right var(--transition);
}

#mobile_phone {
    position: fixed;
    top: 6px;
    right: 75px;
    z-index: 5500;

    display: block;

    width: 50px;
    height: 50px;

    background: #004812cc;
    border-radius: 10px;

    color: var(--color-greygreen);
    font-size: 24px;
    line-height: 50px;
    text-align: center;

    transition: top var(--transition), right var(--transition);
}

@media (max-width: 767px) {
    body.is-scrolled #mobile_menu {
        top: 12px;
    }

    body.is-scrolled #mobile_phone {
        top: 68px;
        right: 15px;
    }
}


/* =========================================================
   8. Home
   ========================================================= */

.templatemo-section:first-of-type {
    padding-top: 100px;
}

.templatemo-home-image-container {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--content-radius);
}

.templatemo-image-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgb(51 51 51 / 90%);

    cursor: pointer;

    opacity: 0;

    transition: opacity var(--transition);
}

.templatemo-home-image-container:hover .templatemo-image-overlay,
.templatemo-image-overlay:focus-within {
    opacity: 1;
}

.templatemo-search-icon {
    display: grid;
    place-items: center;

    width: 90px;
    height: 90px;

    margin-bottom: 15px;

    background: var(--color-SFgreen);
    border-radius: 50%;

    font-size: 30px;
}

.templatemo-info-btn {
    max-width: 150px;
    margin-top: 30px;
    padding-inline: 15px;
}


/* =========================================================
   9. About / Team
   ========================================================= */

.templatemo-team-member-container {
    width: min(100%, 250px);
    margin-inline: auto;
}

.templatemo-team-member-container {
    width: 250px;
    max-width: 250px;
    margin-inline: auto;
    text-align: center;
}

.templatemo-member-img-container {
    position: relative;
    display: block;

    width: 180px;
    height: 180px;

    margin: 0 auto;
}

.templatemo-img-frame {
    position: absolute;
    inset: 0;

    width: 180px;
    height: 180px;

    object-fit: contain;

    z-index: 2;
    pointer-events: none;
}

.tm-team-member-img {
    position: absolute;

    top: 15px;
    left: 15px;

    width: 150px;
    height: 150px;

    object-fit: cover;
    border-radius: 50%;

    z-index: 1;
}


/* =========================================================
   10. Services / Techniek
   ========================================================= */

.templatemo-service-container {
    display: flow-root;
    margin-top: 15px;
}

.templatemo-service-image {
    float: left;
    margin-right: 15px;
}

.templatemo-service-content {
    margin-left: 90px;
}

h3.templatemo-service-title {
    margin-top: 30;
    margin-bottom: 8px;
    font-size: 20px;
    text-align: right;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-SFgreen);
}

#services .tm-service-content-noimg {
    margin-left: 0;
}

/* =========================================================
   11. Forms
   ========================================================= */

form {
    width: min(430px, 100%);
}

.form-control {
    display: block;
    width: 100%;
    min-height: 44px;

    padding: 10px 12px;

    background: var(--color-greygreen);
    border: 1px solid var(--color-SFgreen);
    border-radius: 10px;

    color: var(--color-gray);

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.form-control::placeholder {
    color: var(--color-lightgreen);
    opacity: 1;
}

.form-control:focus {
    border-color: var(--color-lightgreen);
    outline: none;
    box-shadow: 0 0 0 3px rgb(178 134 1 / 15%);
}

.templatemo-send-btn {
    /* background: #774d01; */
	background: #004812; /* studio forte groen */
    color: var(--color-verylightgreen);
}


/* =========================================================
   12. Social icons
   ========================================================= */

.templatemo-social-icon-font {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 44px;
    font-size: 24px;
    color: var(--color-SFgreen);
    transition:
        transform var(--transition),
        opacity var(--transition);
}

.templatemo-social-icon-font:hover {
    opacity: 0.75;
    transform: translateY(-2px);
    color: var(--color-SFgreen);
}


/* =========================================================
   13. Carousel
   ========================================================= */

.jcarousel-wrapper {
    position: relative;
}

.jcarousel {
    position: relative;
    overflow: hidden;
}

.templatemo-team .jcarousel {
    width: 250px;
}

.templatemo-products .jcarousel {
    width: 275px;
}

.jcarousel ul {
    position: relative;

    width: 20000em;

    margin: 0;
    padding: 0;

    list-style: none;
}

.jcarousel li {
    float: left;
    width: 250px;
}

.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;

    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    background: var(--color-lightgreen);
    border-radius: 50%;

    color: #000;

    font: 24px/1 Arial, sans-serif;
    text-decoration: none;

    box-shadow: 0 0 2px #999;

    opacity: 1;

    transition:
        opacity var(--transition),
        background-color var(--transition),
        color var(--transition);
}

.templatemo-team .jcarousel-control-prev,
.templatemo-team .jcarousel-control-next {
    top: 55px;
}

.templatemo-team .jcarousel-control-prev {
    left: 0;
}

.templatemo-team .jcarousel-control-next {
    right: 0;
}

.templatemo-products .jcarousel-control-prev,
.templatemo-products .jcarousel-control-next {
    top: 110px;
}

.templatemo-products .jcarousel-control-prev {
    left: -50px;
}

.templatemo-products .jcarousel-control-next {
    right: -50px;
}

.jcarousel-control-prev:hover,
.jcarousel-control-prev:focus-visible,
.jcarousel-control-next:hover,
.jcarousel-control-next:focus-visible {
    color: var(--color-SFgreen);
    background: var(--color-lightgreen);
}

.jcarousel-control-prev.inactive,
.jcarousel-control-next.inactive {
    opacity: 0;
    cursor: default;
    pointer-events: none;
}

.templatemo-product-img {
    width: auto;
    max-width: 100%;
    margin-top: 30px;
}


/* =========================================================
   14. Footer
   ========================================================= */

footer {
    margin-top: 60px;
    padding-bottom: 50px;
}

.templatemo-copyright-container {
    padding-left: 0px;
    margin-bottom: 0;
	padding-top: 10px;
	text-align: center;
}

.tm-footer-rule {
    width: 100%;
    margin: 10px 0;
    border: none;
    border-top: 1px solid var(--color-SFgreen);
}

/* =========================================================
   15. Sections
   ========================================================= */

.templatemo-section {
    scroll-margin-top: 80px;
	margin-bottom: 30px;
}


/* =========================================================
   16. Responsive — tablets
   ========================================================= */

@media (max-width: 1199px) {
    :root {
        --content-size: 480px;
    }

    .templatemo-black-bg,
    .templatemo-content-box {
        width: min(100%, 480px);
    }
}


/* =========================================================
   17. Responsive — smaller tablets
   ========================================================= */

@media (max-width: 991px) {
    .templatemo-site-header {
        height: 48px;
    }

    .templatemo-site-header h1 {
        font-size: 35px;
    }

    .templatemo-site-header .templatemo-nav {
        right: 10px;
        bottom: 8px;
    }

    .templatemo-nav ul li a {
        padding-block: 10px;
    }

    #home {
        padding-top: 30px;
    }

    .templatemo-black-bg,
    .templatemo-content-box {
        margin-inline: auto;
    }

    .templatemo-content-box {
        height: auto;
        padding: 30px;
    }

    .templatemo-section {
        margin-top: 50px;
    }
}


/* =========================================================
   18. Responsive — mobile
   ========================================================= */

@media (max-width: 767px) {

    /*
     * Replaces Bootstrap's visible-xs / hidden-xs.
     */
    .hidden-xs {
        display: none !important;
    }

    .visible-xs {
        display: block !important;
    }

    .col-lg-6,
    .col-md-6,
    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .templatemo-site-header {
        position: static;
        height: auto;
        min-height: 60px;
    }

    .templatemo-site-header h1 {
        font-size: 34px;
        padding-left: 0;
    }

    .templatemo-site-header .templatemo-nav {
        display: none;
    }

	.templatemo-section:first-of-type {
		padding-top: 30px;
	}

    .templatemo-black-bg,
    .templatemo-content-box {
        width: 98%;
        height: auto;
    }

    .templatemo-content-box {
        padding: 30px 15px;
    }

    .templatemo-brown-rectangle-bg {
        width: 100%;
        height: auto;
        min-height: 80%;
        padding: 30px;
    }

    :root {
        --gap-mobile: 30px; /* enige plek waar je dit ooit hoeft te wijzigen */
    }

    .templatemo-section {
        margin-top: 0;              /* de 50px uit de 991px-query hier overschrijven */
        margin-bottom: var(--gap-mobile);
    }

    .row {
        row-gap: var(--gap-mobile);
    }

    .templatemo-service-container > * {
        text-align: center;
    }

    .templatemo-service-image {
        float: none;
        margin: 20px auto 10px;
    }

    .templatemo-service-content {
        margin-inline: auto;
    }

    .tm-plain-list {
        text-align: left;
    }

	.templatemo-copyright-container {
		padding-left: 15px;
	}

    .templatemo-products .jcarousel-control-prev {
        left: 0;
    }

    .templatemo-products .jcarousel-control-next {
        right: 0;
    }
	
    .templatemo-black-bg:has(.templatemo-brown-rectangle-bg) {
        padding: 15px;
    }
}


/* =========================================================
   19. Very small screens
   ========================================================= */

@media (max-width: 400px) {
    .container {
        width: min(100% - 20px, var(--container-width));
    }

    .templatemo-black-bg {
        padding: 15px;
    }

    .templatemo-brown-rectangle-bg {
        padding: 15px;
    }

    .templatemo-product-container {
        padding-block: 8px;
    }

    .templatemo-product-img {
        width: 75%;
        margin-top: 20px;
        margin-inline: auto;
    }

    .templatemo-content-box {
        padding: 20px 10px;
    }
}


/* =========================================================
   20. Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   21. Studio Forte logo en overige instellingen
   ========================================================= */

.studio-forte-logo {
    position: absolute;
    left: 30px;
    top: 10px;
    z-index: 100;
}

.studio-forte-logo .logo-large {
    display: block;
    width: 230px;
    aspect-ratio: 461 / 263;
    height: auto;
}

.studio-forte-logo .logo-small {
    display: none;
    width: 145px;
    aspect-ratio: 922 / 525;
    height: auto;
}

@media (max-width: 767px) {
    .studio-forte-logo {
        left: 15px;
        top: 14px;
    }

    .studio-forte-logo .logo-large {
        display: none;
    }

    .studio-forte-logo .logo-small {
        display: block;
    }
}

/* groene achtergrond tekstblokken */
.studio-forte-text-box {
    background: rgb(0 72 18 / 60%); /* was 80% */
    border-radius: 30px;
    padding: 50px;
}

/* donkere achtergrond tekstblokken */
.nieuws-dark-box {
	background: var(--color-brown-dark);
    border-radius: 30px;
    padding: 15px;
}

.contact-dark-box {
    background: var(--color-brown-dark);
    border-radius: 30px;
    padding: 15px;
    height: auto;
    min-height: var(--content-size);
}

/* dia-show / slideshow bruine box */
.templatemo-brown-bg {
	background: var(--color-brown-dark);
    border-radius: var(--content-radius);
    padding: 13px;
}

.nieuws-ring {
    border: 1px solid var(--color-SFgreen);
    border-radius: 30px;
    padding: 35px;
}

/* copyright-text groen */
.templatemo-copyright-text a {
    color: #004812;
}

/* SF klantenlijst kleine letters */
.templatemo-clients-list {
    font-size: 0.85em;
}

/* SF subtitle */
.templatemo-lightgreen-subtitle {
	color: var(--color-lightgreen);
    margin-bottom: 0;
    font-size: 0.85em;
    font-weight: 400;
	text-align: right;
}

/* twee rows dan 30px tussenruimte op mobiele site */
@media (max-width: 767px) {
    #home > .container > .row + .row {
        margin-top: 30px;
    }
}


/* SF style list items */
.tm-plain-list {
    list-style: disc;
    padding-left: 20px;
    color: var(--color-gray);
}

.tm-plain-list li {
    margin-bottom: 4px;
}

/* =========================================================
   22. Nieuws-blok (scrollend, infinite load)
   ========================================================= */

.nieuws-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
    text-align: left;
    margin-top: 20px;
}

.nieuws-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.nieuws-item-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nieuws-item-image {
    flex-shrink: 0;
}

.nieuws-item-image img {
    width: 100px;
    border-radius: 8px;
    border: 1px solid var(--color-SFgreen);
}

.nieuws-item-date {
    display: block;
    font-size: 0.8em;
    text-transform: uppercase;
}


.nieuws-item-title {
    margin: 4px 0 0;
    font-size: 15px;
	color: var(--color-SFgreen);
}

.nieuws-item-body a,
.nieuws-item-title a {
    color: var(--color-lightgreen);
}

.nieuws-item-body a:hover,
.nieuws-item-body a:focus,
.nieuws-item-title a:hover,
.nieuws-item-title a:focus {
    color: var(--color-white);
}

.nieuws-item-body {
    margin-top: 12px;
    font-size: 0.9em;
}

.nieuws-loading {
    text-align: center;
    padding: 10px;
    color: var(--color-lightgreen);
}

@media (min-width: 768px) {
    .nieuws-block .nieuws-ring {
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: 100%;
    }

    .nieuws-block .nieuws-list {
        flex: 1;
        max-height: none;
        min-height: 0;
    }
}

@media (min-width: 768px) {
    #home .row {
        align-items: flex-start;
    }
}

/* =========================================================
   23. Contactformulier — fieldsets & radiobuttons & styling
   ========================================================= */

.tm-fieldset {
    border: 1px solid var(--color-SFgreen);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.tm-fieldset legend {
    padding: 0 10px;
    color: var(--color-lightgreen);
    text-transform: uppercase;
    font-size: 0.85em;
    font-weight: 600;
}

.tm-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    align-items: center;
    margin-bottom: 15px;
    color: var(--color-gray);
}

.tm-radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.ohnohoney {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

.tm-contact-info p {
    margin-bottom: 0;
}

.tm-contact-info a {
    color: var(--color-lightgreen);
}

.tm-contact-info a:hover,
.tm-contact-info a:focus {
    color: var(--color-white);
}

/* =========================================================
   24. Audiospeler (custom)
   ========================================================= */

.tm-audio-player {
    background: var(--color-lightgreen);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.tm-audio-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tm-audio-toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--color-SFgreen);
    cursor: pointer;
    transition: background-color var(--transition);
}

.tm-audio-toggle:hover,
.tm-audio-toggle:focus-visible {
    background: #003a0e;
}

.tm-icon-play {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent var(--color-white);
    margin-left: 3px;
}

.tm-icon-pause {
    display: none;
    gap: 4px;
}

.tm-icon-pause span {
    display: block;
    width: 4px;
    height: 16px;
    background: var(--color-white);
}

.tm-audio-toggle.is-playing .tm-icon-play {
    display: none;
}

.tm-audio-toggle.is-playing .tm-icon-pause {
    display: flex;
}

.tm-audio-info {
    flex: 1;
    min-width: 0;
}

/* Lopende titel: aangestuurd via JavaScript (requestAnimationFrame),
   NIET via een CSS @keyframes-animatie. Dit is bewust zo gedaan, want
   CSS-animaties worden op sommige Windows/Chromium-combinaties
   onbedoeld tot 0.01ms teruggebracht door de 'prefers-reduced-motion:
   reduce' regel hierboven in sectie 20, ook als de gebruiker daar in
   Windows zelf niets van heeft ingesteld. JavaScript die zelf steeds
   een nieuwe transform-waarde zet, ontwijkt dat probleem volledig. */
.tm-audio-title-wrap {
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 6px;
}

.tm-audio-title {
    display: inline-block;
    color: var(--color-SFgreen);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    will-change: transform;
}

.tm-audio-progress {
    height: 6px;
    background: rgb(0 72 18 / 25%);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.tm-audio-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--color-SFgreen);
    border-radius: 3px;
}

.tm-audio-time {
    margin-top: 6px;
    font-size: 0.75em;
    color: var(--color-SFgreen);
}

.tm-playlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tm-playlist li {
    border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.tm-playlist li:last-child {
    border-bottom: none;
}

.tm-playlist-item {
    display: block;
    padding: 10px 5px;
    color: var(--color-gray);
}

.tm-playlist-item:hover,
.tm-playlist-item:focus {
    color: var(--color-lightgreen);
}

.tm-playlist-item.active {
    color: var(--color-lightgreen);
    font-weight: 600;
}

/* =========================================================
   25. Audio-pagina — tekst/speler/diashow layout
   ========================================================= */

.audio-grid {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.audio-grid-leftcol {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
}

.audio-grid-slideshow {
    margin-top: 30px;
}

.audio-grid-audio {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 767px) {
    .audio-grid {
        flex-direction: column;
        align-items: stretch;
        gap: var(--gap-mobile);
    }

    .audio-grid-leftcol {
        display: contents;
    }

    .audio-grid-text {
        order: 1;
    }

    .audio-grid-audio {
        order: 2;
    }

    .audio-grid-slideshow {
        order: 3;
        margin-top: 0;
    }
}

/* =========================================================
   26. Techniek-pagina — flexibele layout
   ========================================================= */

.techniek-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.techniek-textcol {
    flex: 1 1 calc(50% - 15px);
}

.techniek-greencol {
    flex: 1 1 calc(50% - 15px);
    order: 2;
}

.techniek-boxes {
    flex: 1 1 100%;
    order: 3;
    columns: 2;
    column-gap: 30px;
}

.techniek-boxes .nieuws-dark-box {
    break-inside: avoid;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .techniek-textcol {
        flex-basis: 100%;
        order: 1;
    }

    .techniek-boxes {
        columns: 1;
        order: 2;
    }

    .techniek-boxes .nieuws-dark-box {
        margin-bottom: var(--gap-mobile);
    }

    .techniek-greencol {
        flex-basis: 100%;
        order: 3;
    }
}

/* =========================================================
   27. Geschiedenis-diashow — jaartal onder de foto
   ========================================================= */

.techniek-textcol .templatemo-flex-center.templatemo-brown-bg:has(.tm-history-year),
#about .templatemo-flex-center.templatemo-brown-bg:has(.tm-history-year) {
    flex-direction: column;
}

.tm-history-year {
    align-self: flex-end;
    margin-top: 12px;
    padding: 4px 12px;

    color: var(--color-lightgreen);
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 1px;
}

/* =========================================================
   28. Studio Forte — over ons / about layout
   ========================================================= */
/* =========================================================
   OVER.PHP — VASTE 2-KOLOMS LAYOUT
   ========================================================= */

#about .about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 30px;
    align-items: start;
}


/* Linkerkolom */
#about .about-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}


/* Rechterkolom */
#about .about-right {
    min-width: 0;
}


/* Bootstrap-colommen binnen deze layout resetten */
#about .about-block {
    position: relative;
    width: 100%;
    max-width: none;
    flex: none;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0 !important;
}

/* =========================================================
   STUDIO FORTE — OVER ONS
   MOBIEL
   ========================================================= */

@media (max-width: 767px) {

    #about .about-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto auto auto !important;
        gap: 0 !important;
        align-items: start !important;
    }

    /*
     * De twee desktop-wrappers verdwijnen uit de
     * mobiele layout. Hun inhoud wordt rechtstreeks
     * onderdeel van de grid hierboven.
     */
    #about .about-left,
    #about .about-right {
        display: contents !important;
    }

    /*
     * Bootstrap-kolommen volledig neutraliseren.
     */
    #about .about-block {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        min-width: 0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        margin: 0 !important;
    }

    /*
     * Vaste mobiele volgorde:
     *
     * 00 KOP
     * 01 BLOK_1
     * 02 SLIDESHOW
     * 03 BLOK_2
     * 04 BLOK_3
     */

    #about .about-00 {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    #about .about-01 {
        grid-column: 1 !important;
        grid-row: 2 !important;
        margin-top: 30px !important;
    }

    #about .about-02 {
        grid-column: 1 !important;
        grid-row: 3 !important;
        margin-top: 30px !important;
    }

    #about .about-03 {
        grid-column: 1 !important;
        grid-row: 4 !important;
        margin-top: 30px !important;
    }

    #about .about-04 {
        grid-column: 1 !important;
        grid-row: 5 !important;
        margin-top: 30px !important;
    }
}
