@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

    *{
        font-family: 'Open Sans';
    }

    :root {
        --container-color:#1a1e21 ;
        --second-color:#151955 ;
        --text-color:#172317 ;
        --bg-color: #fff;
    }
    
    ::selection {
        color: var(--bg-color);
        background: var(--second-color);
    }
    
    .trn-dtl-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--text-color);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        }
         
    .trn-dtl-post-container {
        max-width: 800px;
        margin: auto;
        width: 100%;
    }

    .trn-dtl-post-sub {
        display: flex;
        font-size: 0.875rem;
        text-transform: uppercase;
        font-weight: 400;
        margin-bottom: 20px;
        }

    .anno-post-sub {
        display: flex;
        font-size: 1rem;
        text-transform: uppercase;
        font-weight: 400;
        margin-bottom: 15px;
     }

    .trn-dtl-header {
        width: 100%;
        height: 400px;
        background: #151955;
        margin-top: -65px;
        }

    .trn-dtl-header-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 4rem !important;
        }
    
    .trn-dtl-header-title {
        width: 90%;
        font-size: 2.4rem;
        color: var(--bg-color);
        text-align: center;
        margin-bottom: 1rem;
        }
    
    .trn-dtl-header-img {
        width: 100%;
        height: 420px;
        object-fit: cover;
        object-position: center;
        }
    
    .trn-dtl-post-content {
        margin-top: 10rem !important;
        }

    .trn-dtl-sub-heading {
        font-size: 1.2rem;
        }
    
    .trn-dtl-post-text {
        font-size: 1rem;
        line-height: 1.7rem;
        margin: 1rem 0;
        text-align: justify;
        }


        .list {
            position: relative;
            margin-bottom: 30px;
          }
          .list ul {
            position: relative;
          }
          .list ul li {
            position: relative;
            left: 0;
            color: #151955;
            list-style: none;
            margin: 4px 0;
            border-left: 2px solid #151955;
            transition: 0.5s;
            font-weight: 400;
            cursor: pointer;
          }
          .list ul li:hover {
            left: 10px;
          }
          .list ul li span {
            position: relative;
            padding: 8px;
            padding-left: 12px;
            display: inline-block;
            z-index: 1;
            transition: 0.5s;
          }
          .list ul li:hover span {
            color: #fff;
          }
          .list ul li:before {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            background: #151955;
            transform: scaleX(0);
            transform-origin: left;
            transition: 0.5s;
          }
          .list ul li:hover:before {
            transform: scaleX(1);
          }
          
    .trn-dtl-profile {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .trn-dtl-profile-img {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        object-fit: cover;
        object-position: center;
        margin-right: 10px;
        }
    
    .trn-dtl-profile-name {
        font-size: 1rem;
        font-weight: 500;
        }

/*--------Media Screen Settings-----*/  

@media (max-width: 800px){
    .trn-dtl-container {
        margin: 0 auto;
        width: 95%;
    }  
}
        
@media (max-width: 768px){
    .trn-dtl-post-container {
        margin: 0 auto;
        width: 75%;
    }

    .trn-dtl-header-title {
        font-size: 1.5rem;
    }

    .trn-dtl-header-content{
        margin-top: 0.5rem !important;
    }

    .trn-dtl-header-img {
        height: 370px;
    }

    .trn-dtl-header {
        height: 435px;
    }

}

@media (max-width: 335px){
    .trn-dtl-sub-heading {
        margin-top: 130px;
    }

}




