﻿
.tum-president {
    --c: #0070b7;
    --cd: #005a94;
    --cl: #4da3d9;
    --cw: #fff;
    --cg: #64748b;
    background: var(--cw);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,112,183,0.1);
    padding: 25px;
    margin: 25px -10px !important;
    border: 1px solid rgba(0,112,183,0.08);
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}

.tum-president:hover {
    box-shadow: 0 20px 50px rgba(0,112,183,0.18);
    transform: translateY(-4px);
}

.tum-president::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--c), var(--cl), var(--c));
    background-size: 200%;
    animation: tum-shift 4s infinite;
}

.tum-president__img-col {
    position: relative;
    z-index: 1;
}

    .tum-president__img-col img {
        border-radius: 16px;
        border: 3px solid var(--c);
        box-shadow: 0 8px 20px rgba(0,112,183,0.15);
        transition: all 0.35s;
    }

.tum-president:hover .tum-president__img-col img {
    transform: scale(1.02);
    box-shadow: 0 12px 28px rgba(0,112,183,0.25);
}

.tum-president__content {
    position: relative;
    z-index: 1;
}

.tum-president .title-medium-primary {
    color: #1e293b;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.tum-president:hover .title-medium-primary {
    color: var(--c);
}

.tum-president .attorney-name p:first-of-type {
    color: var(--c);
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .tum-president .attorney-name p:first-of-type::before {
        content: '🎓';
        font-size: 16px;
    }

.tum-president .attorney-name p:last-of-type {
    background: #f8fafc;
    padding: 18px 20px;
    border-radius: 14px;
    border-left: 4px solid var(--c);
    font-size: 15px;
    line-height: 1.7;
    color: var(--cg);
    margin: 15px 0 20px;
    position: relative;
}

    .tum-president .attorney-name p:last-of-type::before {
        content: '"';
        position: absolute;
        top: 5px;
        right: 15px;
        font-size: 40px;
        color: var(--c);
        opacity: 0.1;
        font-family: serif;
    }

.tum-president .btn50-ptp-ftg {
    background: linear-gradient(135deg, var(--c), var(--cd));
    border: none;
    color: var(--cw);
/*    padding: 12px 30px;
*/ 
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.35s;
    box-shadow: 0 6px 18px rgba(0,112,183,0.25);
    margin-top: 15px !important;
}

    .tum-president .btn50-ptp-ftg:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0,112,183,0.35);
        background: linear-gradient(135deg, var(--cd), var(--c));
    }

@keyframes tum-shift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@media (max-width: 767px) {
    .tum-president {
        padding: 20px;
        text-align: center;
    }

    .tum-president__img-col {
        margin-bottom: 20px;
    }

        .tum-president__img-col img {
            max-width: 250px;
            margin: 0 auto;
        }

    .tum-president .title-medium-primary {
        font-size: 22px;
    }

    .tum-president .attorney-name p:first-of-type {
        justify-content: center;
    }

    .tum-president .attorney-name p:last-of-type {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .tum-president .title-medium-primary {
        font-size: 20px;
    }

    .tum-president .btn50-ptp-ftg {
        padding: 10px 24px;
        font-size: 13px;
    }
}

div#team {
    background-color: #fdfaf3 !important;
    background-image: linear-gradient(45deg, rgba(0, 112, 183, 0.03) 25%, transparent 25%), linear-gradient(-45deg, rgba(0, 112, 183, 0.03) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(243, 156, 18, 0.03) 75%), linear-gradient(-45deg, transparent 75%, rgba(243, 156, 18, 0.03) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}
