/* ORGANISM - MATCH PAGES */

/** MOLECULE - MATCH HEADER **/

.match__top {
    position: relative;
    overflow: hidden;
}

.match__top .match__tabs,
.match__top .match__header {
    position: relative;
    z-index: 5;
}

/* (landscape tablet, 1000px and up) */
@media (min-width: 62.5em) {
    .match__top {
        padding-top: 3.1rem;
    }

    .match__body > .data-tab {
        padding-bottom: 10rem;
    }

    .match__body--sp-event {
        display: block;
    }
}

/** MOLECULE - MATCH SCOREBOARD **/

.match__top .match__header {
    padding: 0 1rem;
}

.match__scoreboard {
    width: 100%;
    padding: 1rem;
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
}

.match__scoreboard > * {
    flex: 0 1 33.33%;
}

.match__scoreboard .match__team-name {
    line-height: 1.2rem;
    font-size: 0.95rem;
}

.match__team-logo,
.match__team-logo img {
    max-height: 35px;
}

/* (landscape phones for a 360 - 640px) */
@media (min-width: 40em) {
    .match__scoreboard {
        padding: 2rem 3rem;
    }
}

/* (landscape tablet, 1000px and up) */
@media (min-width: 62.5em) {
    .match__top .match__header {
        display: flex;
        margin: 2rem auto 4rem;
        padding: 0 4rem;
    }

    .match__score p {
        font-size: 2.1rem;
        margin: 1rem 0 0;
    }

    .match__scoreboard {
        width: calc(100% - 350px);
        margin: 0;
    }

    .match__team-logo,
    .match__team-logo img {
        max-height: 55px;
    }

    .match__scoreboard .match__team-name span {
        display: inline-block;
    }
}

/* (laptop, 1232px and up) */
@media (min-width: 77em) {
    .match__scoreboard {
        position: relative;
        margin-top: 0;
    }

    .match__team-logo,
    .match__team-logo img {
        max-height: 65px;
    }

    .match__score p {
        font-size: 2rem;
    }
}

/** MOLECULE - MATCH DETAILS **/

.match__details {
    background: rgba(0, 0, 0, 0.6);
}

.match__details-block {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.match__details-row {
    flex: 0 1 100%;
    margin-bottom: 0.4rem;
    position: relative;
    font-weight: normal;
}

.match__details-row:first-of-type {
    margin-bottom: 1rem;
    font-weight: bold;
}

.match__details-row:first-of-type:after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 3px;
    background: #b40808;
}

.match__details-row:first-of-type span {
    font-size: 1rem;
}

.match__details-wrapper {
    overflow: hidden;
}

/* (landscape tablet, 1000px and up) */
@media (min-width: 62.5em) {
    .match__details {
        margin: 0;
    }

    .match__details {
        width: 350px;
        display: flex;
    }

    .match__details-block {
        display: flex;
        align-self: center;
    }

    .match__details-wrapper {
        background: transparent;
        align-self: center;
        padding: 1rem 2rem;
    }

    .match__details-wrapper:before {
        display: none;
    }

    .match__details-row i {
        color: #fff;
    }

    .match__details-wrapper h2 {
        font-size: 1.3rem;
        line-height: 1.7rem;
    }
}

/** MOLECULE - MATCH TABS **/

.match__top .match__tabs .tab-navigation {
    margin: 0;
    position: relative;
    text-align: center;
}

.match__tabs {
    background: #fff;
    border-width: 1px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match__tabs .tab {
    color: #000;
    background: none;
    width: auto;
}

.match__tabs .tab-nav-active span {
    position: relative;
}

.match__tabs .tab-nav-active span:after {
    content: "";
    position: absolute;
    bottom: -1.1rem;
    left: 0;
    width: 100%;
    height: 3px;
    background: #b40808;
}

/** MOLECULE - MATCH REPORT **/

.article--report .article__meta {
    background: transparent;
    text-align: center;
    padding-top: 1rem;
}

.article--report .social-share {
    text-align: center;
}

.article--report .article__share-sponsor {
    max-width: 100%;
}

/* (landscape tablet, 1000px and up) */
@media (min-width: 62.5em) {
    .article--report .social-share {
        text-align: left;
    }

    .article--report .article__meta {
        padding: 2rem 0;
    }
}
