@charset "utf-8";
/* =========================================================
   JT TRADING AGENCY
   RICH TEXT — CMS CONTENT

   Gebruik:
   <div class="rt">
       ... CMS content ...
   </div>

   Alle standaard CMS-elementen krijgen hiermee automatisch
   de juiste JT Trading Agency vormgeving.
   ========================================================= */


/* ---------------------------------------------------------
   BASIS
--------------------------------------------------------- */

.rt {
    color: var(--text-color);
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
}


/* =========================================================
   CONTACT ICONEN IN RICH TEXT
   Werkt met de huidige CMS-output
   ========================================================= */

.rt p .las.la-phone,
.rt p .las.la-envelope {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--dark-color);

    font-style: normal !important;
    text-decoration: none !important;
}


/* Alleen het buitenste icoon zichtbaar houden */
.rt p > .las.la-phone::before,
.rt p > .las.la-envelope::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    background: rgba(67, 69, 75, 0.90);

    border: 1px solid rgba(67, 69, 75, 0.15);
    border-radius: 50%;

    color: #fff;

    font-size: 1.2rem;
    line-height: 1;

    transition: var(--transition);
}


/* Dubbel geneste Line Awesome iconen niet nogmaals tonen */
.rt p .las.la-phone .las.la-phone::before,
.rt p .las.la-envelope .las.la-envelope::before {
    display: none;
}


/* Binnenste wrapper niet cursief */
.rt p .las.la-phone .las.la-phone,
.rt p .las.la-envelope .las.la-envelope {
    display: inline-flex;
    align-items: center;
    gap: 0;

    font-style: normal !important;
}


/* Linktekst */
.rt p .las.la-phone a,
.rt p .las.la-envelope a {
    color: var(--dark-color) !important;

    font-family: "Montserrat", sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    font-style: normal !important;

    text-decoration: none !important;
    text-decoration-line: none !important;

    transition: var(--transition);
}


/* Hover */
.rt p > .las.la-phone:hover::before,
.rt p > .las.la-envelope:hover::before {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.rt p .las.la-phone a:hover,
.rt p .las.la-envelope a:hover {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}


/* Nettere afstand tussen contactregels */
.rt p:has(.las.la-phone),
.rt p:has(.las.la-envelope) {
    margin-bottom: 12px;
}


/* ---------------------------------------------------------
   HEADINGS
--------------------------------------------------------- */

.rt h1,
.rt h2,
.rt h3,
.rt h4,
.rt h5,
.rt h6 {
    font-family: "Montserrat", sans-serif;
    color: var(--dark-color);
    line-height: 1.2;
    letter-spacing: -0.015em;
}


/* H1 */

.rt h1 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 1.5rem;
}


/* H2 */

.rt h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 3rem 0 1.25rem;
}


/* H3 */

.rt h3 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 700;
    margin: 2.5rem 0 1rem;
}


/* H4 */

.rt h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 2rem 0 .75rem;
}


/* H5 */

.rt h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1.75rem 0 .6rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}


/* H6 */

.rt h6 {
    font-size: .9rem;
    font-weight: 700;
    margin: 1.5rem 0 .5rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--secondary-color);
}


/* Geen onnodige ruimte boven eerste heading */

.rt > h1:first-child,
.rt > h2:first-child,
.rt > h3:first-child,
.rt > h4:first-child,
.rt > h5:first-child,
.rt > h6:first-child {
    margin-top: 0;
}


/* ---------------------------------------------------------
   PARAGRAFEN
--------------------------------------------------------- */

.rt p {
    margin: 0 0 1.25rem;
    padding: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.75;

    color: var(--text-color);
}

.rt p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   LINKS
--------------------------------------------------------- */

.rt a:not(.jt-small-btn):not(.jt-btn) {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    transition: var(--transition);
}

.rt a:not(.jt-small-btn):not(.jt-btn):hover {
    color: var(--primary-dark);
}


/* ---------------------------------------------------------
   STRONG / BOLD
--------------------------------------------------------- */

.rt strong,
.rt b {
    font-weight: 700;
    color: var(--dark-color);
}


/* ---------------------------------------------------------
   ITALIC
--------------------------------------------------------- */

.rt em,
.rt i:not([class]) {
    font-style: italic;
}


/* ---------------------------------------------------------
   UNORDERED LIST
   Oranje vinkjes zoals in de hoofdstylesheet
--------------------------------------------------------- */


.rt ul {
    list-style: none !important;
    margin: 1.5rem 0 2rem !important;
    padding: 0 !important;
}

.rt ul > li {
    position: relative;

    min-height: 44px;

    margin: 0 0 1rem;
    padding: .4rem 0 .4rem 3.6rem;

    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;

    color: var(--text-color);
}

.rt ul > li:last-child {
    margin-bottom: 0;
}


/* Vinkje in lichtoranje cirkel */
.rt ul > li::before {
    content: "✓" !important;

    position: absolute;
    left: 0;
    top: .15rem;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    box-sizing: border-box;

    background: rgba(255, 144, 39, .12) !important;
    border: 1px solid rgba(255, 144, 39, .35) !important;
    border-radius: 50%;

    color: var(--primary-color);

    font-size: 1rem;
    font-weight: 700;
    line-height: 1;

    transform: none;
}

/* ---------------------------------------------------------
   ORDERED LIST
   Mooie genummerde oranje cirkels
--------------------------------------------------------- */

.rt ol {
    list-style: none !important;
    counter-reset: jt-richtext-counter;

    margin: 1.5rem 0 2rem !important;
    padding: 0 !important;
}

.rt ol > li {
    counter-increment: jt-richtext-counter;

    position: relative;

    min-height: 44px;

    margin: 0 0 1rem;
    padding: .4rem 0 .4rem 3.6rem;

    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;

    color: var(--text-color);
}

.rt ol > li:last-child {
    margin-bottom: 0;
}


/* Nummer */

.rt ol > li::before {
    content: counter(jt-richtext-counter);

    position: absolute;
    left: 0;
    top: .15rem;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: rgba(255, 144, 39, .12);
    border: 1px solid rgba(255, 144, 39, .35);
    border-radius: 50%;

    color: var(--primary-color);

    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
}


/* ---------------------------------------------------------
   GENESTE LIJSTEN
--------------------------------------------------------- */

.rt ul ul,
.rt ul ol,
.rt ol ul,
.rt ol ol {
    margin: .5rem 0 .25rem !important;
}


/* Geneste UL */

.rt ul ul > li,
.rt ol ul > li {
    font-size: 1rem;
    padding-top: .25rem;
    padding-bottom: .25rem;
}


/* Geneste lijsten krijgen een klein open rondje i.p.v. een vinkje */

.rt ul ul > li::before,
.rt ol ul > li::before {
    content: "" !important;

    top: .9rem;
    width: 6px;
    height: 6px;

    background: transparent !important;
    border: 1.5px solid var(--primary-color) !important;
    border-radius: 50%;
}


/* ---------------------------------------------------------
   BLOCKQUOTE
--------------------------------------------------------- */

.rt blockquote {
    position: relative;

    margin: 2rem 0;
    padding: 1.5rem 1.75rem 1.5rem 2rem;

    background: #f8f8f8;

    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;

    color: var(--dark-color);
}

.rt blockquote p {
    margin: 0;

    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.7;

    color: var(--dark-color);
}


/* ---------------------------------------------------------
   HORIZONTAL RULE
--------------------------------------------------------- */

.rt hr {
    width: 100%;

    margin: 2.5rem 0;

    border: 0;
    border-top: 1px solid var(--border-color);
}


/* ---------------------------------------------------------
   AFBEELDINGEN
--------------------------------------------------------- */

.rt img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 1.75rem 0;

    border-radius: 16px;
}


/* Afbeelding in figure */

.rt figure {
    margin: 2rem 0;
}

.rt figure img {
    margin: 0;
}

.rt figcaption {
    margin-top: .6rem;

    color: var(--secondary-color);

    font-size: .85rem;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   TABELLEN
--------------------------------------------------------- */

.rt table {
    width: 100%;

    margin: 2rem 0;

    border-collapse: collapse;
    border-spacing: 0;

    font-size: 1rem;

    background: #fff;
}

.rt th,
.rt td {
    padding: 14px 16px;

    border: 1px solid var(--border-color);

    text-align: left;
    vertical-align: top;
}

.rt th {
    background: var(--dark-color);
    color: #fff;

    font-weight: 700;
}

.rt tbody tr:nth-child(even) {
    background: #f8f8f8;
}


/* ---------------------------------------------------------
   BUTTON UIT CMS
   De bestaande jt-small-btn blijft gewoon bruikbaar
--------------------------------------------------------- */



.rt a.jt-small-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: .5rem;

    padding: 12px 28px;

    background: var(--primary-color);
    color: #fff !important;

    border-radius: 25px;

    font-size: .85rem;
    font-weight: 600;

    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: .5px;

    transition: var(--transition);

    box-shadow: 0 4px 15px rgba(255, 144, 39, .25);
}

.rt a.jt-small-btn:hover {
    background: var(--primary-dark);
    color: #fff !important;

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(255, 144, 39, .32);
}


/* ---------------------------------------------------------
   EYEBROW
   Voor gebruik vanuit de editor:
   <span class="jt-eyebrow">Over JT Trading Agency</span>
--------------------------------------------------------- */

.rt .jt-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--primary-color);

    font-size: .9rem;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: .04em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   MOBIEL
--------------------------------------------------------- */

@media (max-width: 768px) {

    .rt h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .rt h2 {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
        margin-top: 2.5rem;
    }

    .rt h3 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }

    .rt p,
    .rt ul > li,
    .rt ol > li {
        font-size: 1rem;
    }

    .rt ol > li {
        padding-left: 3.1rem;
    }

    .rt ol > li::before {
        width: 36px;
        height: 36px;
        font-size: .85rem;
    }

    .rt table {
        font-size: .9rem;
    }

    .rt th,
    .rt td {
        padding: 10px 12px;
    }
}

