/* Header */
.profile-page .page-header .button{ font-weight: 600; font-size: 14px; position: fixed; top: 45px; right: 40px; z-index: 9999; box-shadow: 0 0 10px rgba(0,0,0,.3); }
.profile-page .page-header .button i{ font-size: 18px; }
 
/* Title */
.profile-page .box-title{ color: var(--yellow); font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.profile-page .box-title i{ position: relative; top: 1px; }
.profile-page .box-title.oficiales i{ color: #2ea40a; }
.profile-page .box-title.amistosos i{ color: #e51a23; }

/* Picture */
.profile-page .profile-wrapper{ display: flex; width: 100%; justify-content: flex-start; align-items: flex-start; }
.profile-page .profile-wrapper .profile-picture{ width: 200px; min-width: 200px; height: 200px; overflow: hidden; margin-right: 20px; border-radius: 15px; line-height: 0; }
.profile-page .profile-wrapper .profile-picture img{ width: 100%; height: 100%; object-fit: cover; }

/* Basic Info */
.profile-page .basic-info .data-list{ justify-content: flex-start; align-items: flex-start; padding: 0; }
.profile-page .basic-info .data-list li{ width: calc(50% - 5px); padding: 15px; }
.profile-page .basic-info .data-list li .title{ margin-bottom: 5px; }
.profile-page .basic-info .data-list li.birth-place{}
.profile-page .basic-info .data-list li.birth-date{ border-right: none; }
.profile-page .basic-info .data-list li.nickname{ border-bottom: none; }
.profile-page .basic-info .data-list li.position{ border-bottom: none; border-right: none; }
.profile-page .basic-info .data-list li.position .value{ display: flex; align-items: center; }
.profile-page .basic-info .data-list li.position .value .position-dot{ margin-right: 8px; }

/* Tournament Group */
.profile-page .tournament-group{ margin-top: 10px; }
.profile-page .tournament-group .data-list{ padding: 0; }
.profile-page .tournament-group .data-list .tournament-row{ display: flex; align-items: center; position: relative; padding: 10px 20px; width: calc(25% - 8px); }
.profile-page .tournament-group .data-list .tournament-row .value{ font-size: 42px; font-weight: 600; margin-right: 20px; }
.profile-page .tournament-group .data-list .tournament-row .title{ font-weight: normal; font-size: 14px; line-height: 1.3; margin-bottom: 0; position: relative; }

/* Matches Group */
.profile-page .row-group.matches-group{ margin-top: 50px; gap: 30px; }
.profile-page .row-group.matches-group .data-list{ padding: 0; }
.profile-page .row-group.matches-group .data-list li{ width: calc(33.3333% - 8px); padding: 15px; text-align: left; display: flex; align-items: center; }

/* Matches Header */
.profile-page .matches-header{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-right: 10px; }
.profile-page .matches-header .box-title{ margin-bottom: 0; }

/* Titles Group */
.profile-page .row-group.matches-group .data-list.titles-list{ padding: 0; position: relative; padding-left: 30px; }
.profile-page .row-group.matches-group .data-list.titles-list:before{ content: ""; display: block; width: 1px; border-left: 1px dashed var(--grey-555); height: 100%; position: absolute; top: 0; left: 10px; }
.profile-page .row-group.matches-group .data-list.titles-list li{ border: none; width: 100%; display: flex; border-bottom: 1px solid var(--grey-111); align-items: center; padding: 10px 15px; font-size: 15px; position: relative; }
.profile-page .row-group.matches-group .data-list.titles-list li:before{ content: ""; position: absolute; width: 13px; height: 13px; background: var(--grey-888); border-radius: 100%; top: 50%; transform: translateY(-50%); left: -26px; }
.profile-page .row-group.matches-group .data-list.titles-list li.important:before{ background: var(--yellow); }
.profile-page .row-group.matches-group .data-list.titles-list li .year{ color: var(--white-aaa); width: 100px; min-width: 100px; font-weight: 600; }
.profile-page .row-group.matches-group .data-list.titles-list li .name{ font-weight: normal; line-height: 1.5; display: flex; align-items: flex-start; }
.profile-page .row-group.matches-group .data-list.titles-list li .name a{ text-decoration: none; transition: var(--transition); }
.profile-page .row-group.matches-group .data-list.titles-list li .name a:hover{ color: var(--white); }
.profile-page .row-group.matches-group .data-list.titles-list li .name i{ font-size: 18px; margin-right: 8px; color: var(--grey-999); position: relative; top: 2px; }

.profile-page .row-group.matches-group .data-list.titles-list li.important{ border: 1px solid var(--yellow);  }
.profile-page .row-group.matches-group .data-list.titles-list li.important .name a{ color: var(--yellow); font-weight: 600; }
.profile-page .row-group.matches-group .data-list.titles-list li.important .name a:hover{ color: var(--white); }
.profile-page .row-group.matches-group .data-list.titles-list li.important .name i{ color: var(--yellow); }
.profile-page .row-group.matches-group .data-list.titles-list li.important .year{ color: var(--yellow); }

/* No Trophies */
.profile-page .row-group.matches-group .data-list.titles-list.no-trophies-timeline{ padding-left: 0; }
.profile-page .row-group.matches-group .data-list.titles-list.no-trophies-timeline:before{ display: none; }
.profile-page .row-group.matches-group .data-list.titles-list.no-trophies-timeline li:before{ display: none; }
.profile-page .row-group.matches-group .data-list.titles-list li.no-trophies{ align-items: center; flex-direction: column; padding: 30px; }
.profile-page .row-group.matches-group .data-list.titles-list li.no-trophies i{ font-size: 58px; color: var(--grey-999); }
.profile-page .row-group.matches-group .data-list.titles-list li.no-trophies p{ margin-top: 20px; font-weight: normal; font-size: 16px; text-align: center; line-height: 1.3; color: var(--grey-999); font-family: var(--poppins); }

/* Field */
.profile-page .basic-info .field{ width: 127px; min-width: 127px; height: 200px; background: url("../img/layout/field.svg"); background-size: 127px 200px; margin-left: 20px; position: relative; }

    .profile-page .basic-info .field.lateral-izquierdo:before{ content: ""; display: block; width: 30px; height: 100px; background: rgba(243,180,2,.6); position: absolute; left: 5px; bottom: 5px; }
    .profile-page .basic-info .field.defensa-central:before{ content: ""; display: block; width: 80px; height: 40px; background: rgba(243,180,2,.6); position: absolute; left: 24px; bottom: 15px; }
    .profile-page .basic-info .field.lateral-derecho:before{ content: ""; display: block; width: 30px; height: 100px; background: rgba(243,180,2,.6); position: absolute; right: 5px; bottom: 5px; }
    .profile-page .basic-info .field.volante-central:before{ content: ""; display: block; width: 116px; height: 29px; background: rgba(243,180,2,.6); position: absolute; right: 5px; top: 85px; }
    .profile-page .basic-info .field.volante-ofensivo:before{ content: ""; display: block; width: 116px; height: 29px; background: rgba(243,180,2,.6); position: absolute; right: 5px; top: 47px; }
    .profile-page .basic-info .field.delantero:before{ content: ""; display: block; width: 116px; height: 29px; background: rgba(243,180,2,.6); position: absolute; right: 5px; top: 6px; }
    .profile-page .basic-info .field.golero:before{ content: ""; display: block; width: 26px; height: 16px; background: rgba(243,180,2,.6); position: absolute; left: 51px; bottom: 4px; }

/* Bio */
.profile-page .bio .data-list{ padding: 0; width: 100%; }
.profile-page .bio .data-list li{ padding: 20px 20px 50px; position: relative; }
.profile-page .bio .data-list li .title{ margin-bottom: 5px; }
.profile-page .bio .data-list li .button-toggle{ width: auto; position: absolute; left: 50%; transform: translateX(-50%); bottom: 20px; text-align: center; border-radius: 5px; font-size: 13px; text-transform: lowercase; cursor: pointer; transition: var(--transition); color: var(--grey-999); }
.profile-page .bio .data-list li .button-toggle:before{ content: "\ea5f"; font-family: var(--icons); display: block; position: absolute; right: -15px; top: 1px; transition: var(--transition); color: var(--grey-999); }
.profile-page .bio .data-list li .button-toggle:hover,
.profile-page .bio .data-list li .button-toggle:hover:before{ color: var(--white); }
.profile-page .bio .data-list li .button-toggle.open:before{ rotate: 180deg; }
.profile-page .bio .data-list li .description{ font-size: 13px; font-weight: normal; color: var(--white-ccc); }
.profile-page .bio .data-list li .short-text{ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; max-width: 100%; position: relative; }
.profile-page .bio .data-list li .expanded{ -webkit-line-clamp: unset; overflow: visible; }

/* Formativas */
.profile-page .bio.formative .data-list li{ padding: 20px; width: 100%; }

/* DT Profile */
.profile-page.dt-profile-page .row-group.matches-group .data-list li{ width: calc(50% - 5px); }
.profile-page.dt-profile-page .row-group.matches-group .data-list.titles-list li{ width: 100%; }

@media screen and (max-width: 1279px) {


}

@media screen and (max-width: 1023px) {

    /* Header */
    .profile-page .page-header .button{ width: auto; top: auto; bottom: 0; right: auto; left: 50%; transform: translateX(-50%); padding: 10px 30px 10px 11px; border-radius: 10px 10px 0 0; }

    /* Basic Info */
    .profile-page .basic-info{ margin-bottom: 0; }
    .profile-page .basic-info .field{ margin: 30px auto 0; }

    /* Picture */
    .profile-page .profile-wrapper{ flex-direction: column; }
    .profile-page .profile-wrapper .profile-picture{ width: 100%; min-width: 100%; padding-top: 100%; margin-right: 0; margin-bottom: 20px; position: relative; overflow: hidden; }
    .profile-page .profile-wrapper .profile-picture img{ width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
    
    /* Tournament Group */
    .profile-page .tournament-group .data-list .tournament-row{ width: calc(50% - 5px); }

    /* Matches Group */
    .profile-page .row-group.matches-group{ margin-bottom: 0; margin-top: 20px; }
    .profile-page .row-group.matches-group .data-list li{ width: calc(50% - 5px); }
    .profile-page .row-group.matches-group .data-list.titles-list li .name{ font-size: 14px; }
    .profile-page .row-group.matches-group .data-list.titles-list li .year{ font-size: 15px; }
    
    
}

@media screen and (max-width: 767px) {
    
    /* Basic Info */
    .profile-page .basic-info .data-list li{ width: 100%; padding: 15px; }
    
    /* Tournament Group */
    .profile-page .tournament-group .data-list .tournament-row{ width: 100%; }

    /* Matches Group */
    .profile-page .row-group.matches-group .data-list li{ width: 100%; }

}