

.rtm-library-hero{
    position:relative;
    min-height:900px;
    overflow:hidden;
    color:#fff;
    background:#061d45;
}

.rtm-library-hero-bg{
    position:absolute;
    inset:0;
    z-index:1;
}

.rtm-library-hero-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}

.rtm-library-hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    background:
        linear-gradient(90deg, rgba(5,26,67,.98) 0%, rgba(5,26,67,.92) 27%, rgba(5,26,67,.68) 48%, rgba(5,26,67,.28) 73%, rgba(5,26,67,.10) 100%),
        linear-gradient(180deg, rgba(5,26,67,.18) 0%, rgba(5,26,67,.45) 100%);
}

.rtm-library-hero-inner{
    position:relative;
    z-index:3;
    min-height:900px;
    display:flex;
    align-items:center;
}

.rtm-library-content{
    width:100%;
    max-width:720px;
    padding:70px 0;
}

.rtm-library-breadcrumb{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:52px;
    font-size:14px;
    color:rgba(255,255,255,.82);
}

.rtm-library-breadcrumb a{
    color:#fff;
    text-decoration:none;
    display:flex;
    align-items:center;
}

.rtm-library-breadcrumb i{
    font-size:19px;
}

.rtm-library-breadcrumb .sep{
    font-size:30px;
    line-height:1;
    color:#fff;
    opacity:.95;
}

.rtm-library-subtitle{
    font-size:34px;
    line-height:1.25;
    font-weight:300;
    letter-spacing:.5px;
    margin:0 0 34px;
    color:#fff;
}

.rtm-library-title{
    font-size:34px;
    line-height:1.2;
    font-weight:400;
    letter-spacing:.5px;
    margin:0 0 38px;
    color:#fff;
    text-transform:uppercase;
}

.rtm-library-desc{
    font-size:26px;
    line-height:1.3;
    font-weight:300;
    max-width:610px;
    margin:0 0 62px;
    color:rgba(255,255,255,.94);
}

.rtm-library-menu{
    display:grid;
    grid-template-columns:repeat(2, minmax(240px, 1fr));
    gap:24px 55px;
    max-width:650px;
    margin-bottom:70px;
}

.rtm-library-item{
    display:flex;
    align-items:center;
    gap:15px;
    color:#fff;
    text-decoration:none;
    font-size:18px;
    font-weight:700;
    line-height:1.25;
    transition:all .25s ease;
}

.rtm-library-item:hover{
    color:#fff;
    transform:translateX(6px);
    text-decoration:none;
}

.rtm-library-icon{
    width:44px;
    min-width:44px;
    height:44px;
    object-fit:contain;
    filter:brightness(0) invert(1);
}

.rtm-library-arrow{
    width:18px;
    min-width:18px;
    height:28px;
    position:relative;
}

.rtm-library-arrow::before,
.rtm-library-arrow::after{
    content:"";
    position:absolute;
    inset-inline-end:4px;
    width:16px;
    height:3px;
    background:#fff;
    border-radius:10px;
    transform-origin:right center;
}

.rtm-library-arrow::before{
    top:9px;
    transform:rotate(45deg);
}

.rtm-library-arrow::after{
    bottom:9px;
    transform:rotate(-45deg);
}

.rtm-library-subscribe{
    max-width:525px;
}

.rtm-library-subscribe h3{
    margin:0 0 3px;
    font-size:18px;
    line-height:1.2;
    font-weight:800;
    text-transform:uppercase;
    color:#fff;
}

.rtm-library-subscribe p{
    margin:0 0 28px;
    font-size:18px;
    line-height:1.25;
    color:rgba(255,255,255,.93);
}

.rtm-library-form{
    position:relative;
    width:100%;
}

.rtm-library-form input{
    width:100%;
    height:47px;
    border:1.5px solid rgba(255,255,255,.95);
    border-radius:50px;
    background:rgba(255,255,255,.03);
    color:#fff;
    padding:0 155px 0 30px;
    outline:none;
    font-size:16px;
}

.rtm-library-form input::placeholder{
    color:rgba(255,255,255,.95);
}

.rtm-library-form button{
    position:absolute;
    inset-inline-end:0;
    top:0;
    height:47px;
    min-width:112px;
    border:0;
    border-radius:50px;
    background:#f58200;
    color:#fff;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
    transition:all .25s ease;
    box-shadow:0 8px 22px rgba(245,130,0,.28);
}

.rtm-library-form button:hover{
    background:#ff9419;
    transform:translateY(-1px);
}

@media(max-width:991px){
    .rtm-library-hero,
    .rtm-library-hero-inner{
        min-height:auto;
    }

    .rtm-library-hero::before{
        background:linear-gradient(90deg, rgba(5,26,67,.97) 0%, rgba(5,26,67,.88) 58%, rgba(5,26,67,.68) 100%);
    }

    .rtm-library-content{
        max-width:100%;
        padding:55px 0 70px;
    }

    .rtm-library-breadcrumb{
        margin-bottom:38px;
    }

    .rtm-library-title,
    .rtm-library-subtitle{
        font-size:30px;
    }

    .rtm-library-desc{
        font-size:22px;
    }

    .rtm-library-menu{
        grid-template-columns:1fr;
        gap:22px;
        margin-bottom:55px;
    }
}

@media(max-width:575px){
    .rtm-library-hero{
        min-height:auto;
    }

    .rtm-library-content{
        padding:40px 0 55px;
    }

    .rtm-library-title{
        font-size:25px;
        margin-bottom:28px;
    }

    .rtm-library-subtitle{
        font-size:28px;
        margin-bottom:24px;
    }

    .rtm-library-desc{
        font-size:19px;
        margin-bottom:42px;
    }

    .rtm-library-item{
        font-size:16px;
    }

    .rtm-library-icon{
        width:38px;
        height:38px;
        min-width:38px;
    }

    .rtm-library-form input{
        height:50px;
        padding:0 25px;
    }

    .rtm-library-form button{
        position:relative;
        width:100%;
        margin-top:12px;
        height:48px;
    }
}
