/* ----------------------------------------------------------
   WRAPPER GENERAL
---------------------------------------------------------- */

.tm-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 120px;
    font-family: "Times New Roman", serif;
}

.tm-slides {
    position: relative;
    overflow: hidden;
}

.tm-slide {
    display: none;
}

.tm-slide.is-active {
    display: block;
}

/* ----------------------------------------------------------
   LAYOUT
---------------------------------------------------------- */

.tm-slide-inner {
    display: flex;
    flex-wrap: nowrap;
}

/* Coloană imagine (stânga) */

.tm-slide-image {
    width: 50%;
    box-sizing: border-box;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tm-slide-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Coloană text (dreapta) */

.tm-slide-content {
    width: 50%;
    box-sizing: border-box;
    padding: 100px 80px 80px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* ----------------------------------------------------------
   TEXT STYLES
---------------------------------------------------------- */

.tm-subtitle {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 11px;
    margin-bottom: 16px;
}

.tm-name {
    font-size: 42px;
    letter-spacing: 0.08em;
    margin: 0 0 24px;
}

.tm-highlight {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.tm-text {
    font-size: 15px;
    line-height: 1.8;
}

/* ----------------------------------------------------------
   NEXT BUTTON (TEXT + SVG ARROW) – FINAL
---------------------------------------------------------- */

.tm-next-button {
    align-self: flex-start;
    margin-top: 30px;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    cursor: pointer;

    display: inline-flex;
    align-items: center;        /* IMPORTANT: aliniere corectă */
    gap: 10px;

    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 11px;
    line-height: 1;
}

.tm-next-label {
    line-height: 1;
    display: inline-block;
}

/* wrapper pt svg */
.tm-next-arrow {
    display: inline-flex;
    align-items: center;
    line-height: 0;             /* elimină spații “invizibile” */
}

/* săgeata – acum cu viewBox cropped, se scalează corect */
.tm-next-arrow svg {
    width: 50px;                /* aici o faci mai mare/mică */
    height: auto;               /* păstrează proporția din viewBox */
    display: block;
    fill: currentColor;
    opacity: 0.9;
}

/* hover subtil */
.tm-next-button:hover .tm-next-arrow svg {
    transform: translateX(6px);
}

.tm-next-button:hover,
.tm-next-button:focus {
    background: transparent !important;
    box-shadow: none !important;
    outline: none;
}

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */

@media (max-width: 1024px) {
    .tm-slide-inner {
        flex-direction: column;
    }

    .tm-slide-image,
    .tm-slide-content {
        width: 100%;
    }

    .tm-slide-content {
        padding: 60px 40px 60px 40px;
    }
}

@media (max-width: 767px) {

    .tm-wrapper {
    margin: 0;
}


    .tm-slide-image {
        padding: 20px;
    }

    .tm-slide-content {
        padding: 40px 20px 40px 20px;
    }

    .tm-name {
        font-size: 32px;
    }

    .tm-next-arrow svg {
        width: 60px;
    }
}

.tm-signature {
    margin-top: 15px;
    display: block;
    width: 100%;
}