/* Keep the service-banner sidebar aligned while the news column grows. */

/* Modern combined news list. */
.performance-news-listing {
    clear: both;
    margin: 0;
    color: #27364a;
}

.performance-news-listing .news-listing-status {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 0 18px;
    padding: 11px 15px;
    border: 1px solid #d9e6f5;
    border-radius: 9px;
    background: #f4f8fd;
    color: #315270;
    font-size: 0.95em;
}

.performance-news-listing .news-listing-status strong {
    color: #123f7a;
    font-weight: 700;
}

.performance-news-summary {
    position: relative;
    margin: 0 0 20px;
    padding: 17px;
    overflow: hidden;
    border: 1px solid #dfe7f0;
    border-radius: 12px;
    background: #fff;
    -webkit-box-shadow: 0 5px 18px rgba(29, 58, 92, 0.08);
    box-shadow: 0 5px 18px rgba(29, 58, 92, 0.08);
    -webkit-transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.performance-news-summary:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: #174a91;
    content: "";
}

.performance-news-summary:hover {
    border-color: #bfd2e8;
    -webkit-box-shadow: 0 10px 25px rgba(29, 58, 92, 0.13);
    box-shadow: 0 10px 25px rgba(29, 58, 92, 0.13);
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

.performance-news-summary .row {
    margin-right: -10px;
    margin-left: -10px;
}

.performance-news-summary .row > [class*="col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

.performance-news-summary .news-summary-media {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.performance-news-summary .news-summary-media-link,
.performance-news-summary .col-sm-4 > a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    max-width: 190px;
    height: 140px;
    margin: 0 auto;
    padding: 5px;
    overflow: hidden;
    border: 1px solid #e2e9f1;
    border-radius: 9px;
    background: #f7f9fc;
}

.performance-news-summary .news-summary-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    border-radius: 6px;
    object-fit: contain;
    -webkit-transition: -webkit-transform 0.25s ease;
    transition: transform 0.25s ease;
}

.performance-news-summary:hover .news-summary-image {
    -webkit-transform: scale(1.025);
    -ms-transform: scale(1.025);
    transform: scale(1.025);
}

.performance-news-summary .td-post-date {
    margin: 0 0 6px;
    color: #52769c;
    font-size: 0.82em;
    font-weight: 600;
}

.performance-news-summary .news-summary-title {
    margin: 0 0 8px;
    color: #153f78;
    font-size: 1.28em;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.performance-news-summary .news-summary-excerpt {
    margin: 0 0 13px;
    color: #536273;
    font-size: 0.98em;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.performance-news-summary .news-read-more,
.performance-news-detail .btn-primary,
.performance-home-news .home-news-read-more {
    border-color: #174a91;
    border-radius: 20px;
    background: #174a91;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.performance-news-summary .news-read-more {
    padding: 7px 15px;
}

.performance-news-summary .news-read-more:hover,
.performance-news-summary .news-read-more:focus,
.performance-news-detail .btn-primary:hover,
.performance-news-detail .btn-primary:focus,
.performance-home-news .home-news-read-more:hover,
.performance-home-news .home-news-read-more:focus {
    border-color: #0d356c;
    background: #0d356c;
    color: #fff;
    text-decoration: none;
}

.performance-news-summary a:focus,
.performance-news-detail a:focus,
.performance-home-news a:focus {
    outline: 3px solid rgba(34, 108, 191, 0.32);
    outline-offset: 2px;
}

/* Full article view. */
.performance-news-detail {
    clear: both;
    margin: 0 0 22px;
    padding: 22px;
    border: 1px solid #dfe7f0;
    border-radius: 12px;
    background: #fff;
    color: #2c3b4d;
    -webkit-box-shadow: 0 7px 24px rgba(29, 58, 92, 0.09);
    box-shadow: 0 7px 24px rgba(29, 58, 92, 0.09);
}

.performance-news-detail > p:first-child {
    margin-bottom: 15px;
}

.performance-news-detail > p:first-child .btn {
    border-color: #ccd8e5;
    border-radius: 18px;
    color: #315270;
    background: #fff;
}

.performance-news-detail > p:first-child .btn:hover,
.performance-news-detail > p:first-child .btn:focus {
    border-color: #aebfd1;
    background: #f4f8fd;
    color: #123f7a;
}

.performance-news-detail .news-detail-heading {
    margin: 0 0 20px;
    padding: 18px 20px;
    border-left: 5px solid #e2ad32;
    border-radius: 0 9px 9px 0;
    background: #f4f8fd;
}

.performance-news-detail .news-detail-heading .label {
    display: inline-block;
    margin-bottom: 9px;
    padding: 5px 9px;
    border-radius: 12px;
    background: #174a91;
    font-size: 0.78em;
    letter-spacing: 0;
}

.performance-news-detail .news-detail-heading h2 {
    margin: 0 0 8px;
    color: #133d75;
    font-size: 1.85em;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.performance-news-detail .news-detail-heading .td-post-date {
    margin: 0;
    color: #52769c;
    font-size: 0.9em;
    font-weight: 600;
}

.performance-news-detail .news-detail-body {
    margin: 0 0 22px;
    padding: 2px 3px;
    color: #37475a;
    font-size: 1.08em;
    line-height: 1.9;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.performance-news-detail .news-detail-gallery {
    margin-top: 4px;
    margin-bottom: 8px;
}

.performance-news-detail .news-detail-gallery .thumbnail {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 5px;
    overflow: hidden;
    border: 1px solid #d9e3ed;
    border-radius: 10px;
    background: #f6f9fc;
    -webkit-box-shadow: 0 4px 14px rgba(29, 58, 92, 0.07);
    box-shadow: 0 4px 14px rgba(29, 58, 92, 0.07);
}

.performance-news-detail .news-detail-gallery .thumbnail:hover,
.performance-news-detail .news-detail-gallery .thumbnail:focus {
    border-color: #aac4df;
}

.performance-news-detail .news-detail-gallery img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 560px;
    margin: 0 auto;
    border-radius: 6px;
    object-fit: contain;
}

.performance-news-detail .news-detail-back {
    clear: both;
    margin: 8px 0 0;
    padding-top: 18px;
    border-top: 1px solid #e5ebf2;
}

.performance-news-detail .news-detail-back .btn {
    padding: 8px 18px;
}

/* Previous/next controls. */
.performance-news-listing .news-pagination {
    clear: both;
    margin: 28px 0 3px;
    padding-top: 18px;
    border-top: 1px solid #e2e9f1;
}

.performance-news-listing .news-pagination .pager {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 0 10px;
}

.performance-news-listing .news-pagination .pager:before,
.performance-news-listing .news-pagination .pager:after {
    display: none;
    content: none;
}

.performance-news-listing .news-pagination .pager > li {
    float: none;
    max-width: 48%;
}

.performance-news-listing .news-pagination .pager > li > a,
.performance-news-listing .news-pagination .pager > li > span {
    display: inline-block;
    padding: 9px 15px;
    border: 1px solid #c9d8e8;
    border-radius: 21px;
    color: #174a91;
    background: #fff;
    font-weight: 600;
    white-space: normal;
}

.performance-news-listing .news-pagination .pager > li > a:hover,
.performance-news-listing .news-pagination .pager > li > a:focus {
    border-color: #174a91;
    background: #174a91;
    color: #fff;
    text-decoration: none;
}

.performance-news-listing .news-pagination .pager > .disabled > span {
    border-color: #e2e7ed;
    color: #9aa7b5;
    background: #f5f7f9;
}

.performance-news-listing .news-pagination .text-muted {
    margin: 0;
    color: #738396;
    font-size: 0.9em;
}

/* Compact admin-news cards shown in the legacy home-page sections. */
.performance-home-news.editor-pics {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    clear: both;
    margin: 0 0 12px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #e0e7ef;
    border-radius: 10px;
    background: #fff;
    -webkit-box-shadow: 0 3px 12px rgba(29, 58, 92, 0.07);
    box-shadow: 0 3px 12px rgba(29, 58, 92, 0.07);
}

.performance-home-news > .item-pic {
    float: none;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 104px;
    flex: 0 0 104px;
    width: 104px;
    padding: 0;
}

.performance-home-news > .item-pic a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 104px;
    height: 82px;
    padding: 3px;
    overflow: hidden;
    border: 1px solid #e2e9f1;
    border-radius: 7px;
    background: #f7f9fc;
}

.performance-home-news > .item-pic img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border-radius: 5px;
    object-fit: contain !important;
}

.performance-home-news > .item-details {
    float: none;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    padding: 0 0 0 13px;
}

.performance-home-news > .item-details:first-child {
    padding-left: 0;
}

.performance-home-news h5.inner {
    margin: 0 0 4px;
    font-size: 0.95em;
    font-weight: 700;
    line-height: 1.55;
}

.performance-home-news h5.inner a {
    color: #153f78;
}

.performance-home-news h5.inner a:hover,
.performance-home-news h5.inner a:focus {
    color: #0d356c;
    text-decoration: underline;
}

.performance-home-news .td-post-date {
    margin: 2px 0 5px;
    color: #52769c;
    font-size: 0.78em;
}

.performance-home-news .home-news-excerpt {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: #5a6878;
    font-size: 0.88em;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.performance-home-news .home-news-read-more {
    display: inline-block;
    padding: 4px 11px;
    font-size: 0.78em;
    line-height: 1.45;
}

@media (min-width: 768px) {
    .performance-news-summary .row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }

    .performance-news-summary .row > .news-summary-content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .performance-news-summary .news-read-more {
        -ms-flex-item-align: start;
        align-self: flex-start;
        margin-top: auto;
    }
}

@media (min-width: 992px) {
    .news-two-column-layout {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .news-two-column-layout > .soccer-left-part,
    .news-two-column-layout > .soccer-right-part {
        float: none;
    }

    .news-two-column-layout > .clearfix {
        display: none;
    }
}

@media (max-width: 991px) {
    .news-two-column-layout > .soccer-left-part {
        margin-bottom: 2em !important;
    }

    .news-two-column-layout > .soccer-right-part {
        width: 100%;
    }

    .news-two-column-layout .editor-pics > .item-details.col-md-12 {
        float: none;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .performance-news-listing .news-listing-status {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 10px 12px;
    }

    .performance-news-listing .news-listing-status span {
        margin-top: 3px;
        color: #6e8092;
        font-size: 0.9em;
    }

    .performance-news-summary {
        padding: 14px;
    }

    .performance-news-summary .news-summary-media {
        margin-bottom: 14px;
    }

    .performance-news-summary .news-summary-media-link,
    .performance-news-summary .col-sm-4 > a {
        max-width: 170px;
        height: 124px;
    }

    .performance-news-summary .news-summary-image {
        height: 100%;
        margin-bottom: 0;
    }

    .performance-news-summary .news-summary-title {
        font-size: 1.16em;
    }

    .performance-news-detail {
        padding: 15px;
    }

    .performance-news-detail .news-detail-heading {
        padding: 14px 15px;
    }

    .performance-news-detail .news-detail-heading h2 {
        font-size: 1.45em;
    }

    .performance-news-detail .news-detail-body {
        font-size: 1em;
        line-height: 1.8;
    }

    .performance-news-detail .news-detail-gallery img {
        width: auto;
        height: auto;
        max-height: 520px;
        object-fit: contain;
    }

    .performance-news-listing .news-pagination .pager > li > a,
    .performance-news-listing .news-pagination .pager > li > span {
        padding: 8px 11px;
        font-size: 0.88em;
    }
}

@media (max-width: 479px) {
    .performance-news-summary .news-summary-media-link,
    .performance-news-summary .col-sm-4 > a {
        max-width: 150px;
        height: 110px;
    }

    .performance-news-listing .news-pagination .pager {
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }

    .performance-news-listing .news-pagination .pager > li > a,
    .performance-news-listing .news-pagination .pager > li > span {
        height: 100%;
        padding: 8px 9px;
        font-size: 0.8em;
    }

    .performance-home-news.editor-pics {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .performance-home-news > .item-pic {
        -ms-flex: 0 0 88px;
        flex: 0 0 88px;
        width: 88px;
        margin-bottom: 0;
    }

    .performance-home-news > .item-pic a {
        width: 88px;
        height: 70px;
    }

    .performance-home-news > .item-details {
        width: auto !important;
        padding-left: 11px;
    }

    .performance-home-news > .item-details:first-child {
        padding-left: 0;
    }
}

@media print {
    .performance-news-summary,
    .performance-news-detail,
    .performance-home-news.editor-pics {
        border-color: #bbb;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .performance-news-listing .news-pagination,
    .performance-news-detail > p:first-child,
    .performance-news-detail .news-detail-back,
    .performance-home-news .home-news-read-more {
        display: none !important;
    }
}
