/*
Theme Name: Bóng Đá V5
Description: Giao diện website wordpress cho trang web về tin tức bóng đá - News Portal Layout
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bongda_v3
Tags: responsive-layout, custom-menu, post-formats, news
*/

/* GLOBAL STYLES */
body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 400;
}

/* STYLING FOR FIXTURE LISTS (LAYOUT ONLY) */
.section-fixtures {
    font-size: 15px;
    border-radius: 8px;
    padding: 10px;
}

.list_match {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

.list_match li {
    padding: 0 !important;
    margin: 0 !important;
}

/* Date row styling */
.list_match .caption-days {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 15px;
    margin-bottom: 0px !important;
}

.list_match .caption-days .big-title {
    font-weight: bold;
    font-size: 15px;
    text-transform: uppercase;
}

.list_match .caption-days .title {
    padding: 8px 0;
    border-bottom: 2px solid;
    margin-bottom: -1px;
    font-weight: 500;
}

/* Match row styling */
.list_match .match-info {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid;
    transition: background-color 0.2s;
}

.list_match .match-info:last-child {
    border-bottom: none;
}

/* Match time */
.list_match .match-info .time {
    width: 60px;
    flex-shrink: 0;
    font-weight: 400;
}

.list_match .match-info .time br {
    display: none;
}

/* Group flex container */
.list_match .match-info .group {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Teams */
.list_match .match-info .group .team {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.list_match .match-info .group .team p {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 400;
}

.list_match .match-info .group .team p:empty {
    display: none;
}

.list_match .match-info .group .team img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Team A: Name then Image -> align right */
.list_match .match-info .group .team.team-a {
    justify-content: flex-end;
    text-align: right;
}

/* Score block in the middle */
.list_match .match-info .group .score {
    width: 60px;
    text-align: center;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.list_match .match-info .group .score small {
    font-weight: normal;
    font-size: 12px;
}

.list_match .match-info .group .score br {
    display: none;
}

/* More icon area */
.list_match .match-info .more {
    width: 30px;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    font-weight: bold;
}

.list_match .match-info .more::after {
    content: '\00BB';
    font-size: 20px;
    line-height: 1;
}

.list_match .match-info .more p {
    display: none;
}

/* RESPONSIVE CSS */
@media (max-width: 640px) {
    .section-fixtures {
        padding: 5px;
    }

    .list_match .match-info {
        flex-wrap: wrap;
        padding: 12px 5px;
        position: relative;
    }

    .list_match .match-info .time {
        width: 100%;
        text-align: center;
        font-size: 10px;
        margin-bottom: 8px;
        font-weight: bold;
    }

    .list_match .match-info .group {
        width: 100%;
    }

    .list_match .match-info .group .team.team-a {
        flex-direction: row;
        justify-content: right;
    }

    .list_match .match-info .group .team.team-b {
        flex-direction: row-reverse;
        justify-content: left;
    }

    .list_match .match-info .group .team p {
        font-size: 10px;
    }

    .list_match .match-info .group .score {
        width: 60px;
        flex-shrink: 0;
    }

    .list_match .match-info .more {
        display: none;
    }
}

/* FIXTURE CAPTION STYLING */
.caption-6-single {
    margin-top: 24px;
    margin-bottom: 16px;
    border-bottom: 1px solid;
    padding-bottom: 8px;
}

.caption-6-single .title {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
}

.caption-6-single .title::after {
    content: '\003E';
    margin-left: 8px;
    font-weight: 700;
    font-size: 22px;
}


/*VIDEO*/
/* 1. Ẩn ảnh */
/* .content-post figure {
    display: none !important;
}
 */
/* 2. Video full width */
.video-box {
    width: 100% !important;
}

.video-box .row {
    display: block !important;
}

.video-box .clip-box {
    width: 100% !important;
    max-width: 100% !important;
}

.video-box iframe {
    width: 100% !important;
    height: 500px;
    /* chỉnh tùy ý */
}

/* 3. Ẩn phần nội dung bên phải (title + desc nếu muốn) */
/* .clip-cont {
    display: none !important;
} */

/* .clip-info .desc {
    display: none !important;
} */

.clip-info>div:not(.hash-tags) {
    display: none !important;
}

/* 4. Xóa Tags */
.hash-tags {
    display: none !important;
}

/* 5. Xóa Bình luận + Xem thêm */
.cont-view,
s #postComment,
.view-more,
.xcap {
    display: none !important;
}

div.expNoEdit {
    display: none;
}

#content_detail figure.expNoEdit {
    display: block;
}

.txt_content div:has(> p:empty) {
    display: none !important;
}

.clip-info .title {
    font-weight: bold;
}

.expNoEdit+div {
    display: none !important;
}

/* --- Content Detail Styling (Single Post) --- */
#content_detail {
    line-height: 1.8;
    color: #2c3e50;
    font-size: 1.15rem;
}

#content_detail p {
    margin-bottom: 1.5rem;
}

#content_detail h1, 
#content_detail h2, 
#content_detail h3, 
#content_detail h4 {
    color: #1D4ED8; /* primary navy */
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    border-left: 5px solid #DC2626; /* secondary red */
    padding-left: 1rem;
    letter-spacing: -0.02em;
    font-style: italic;
}

#content_detail a {
    color: #1D4ED8;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
}

#content_detail a:hover {
    color: #DC2626;
}

/* Fix width for images from external sources */
#content_detail figure.expNoEdit {
    width: 100% !important;
    max-width: 100% !important;
    margin: 2.5rem auto !important;
    display: block !important;
    clear: both;
}

#content_detail figure.expNoEdit img {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
    border-radius: 2px;
    border: 1px solid #e2e8f0;
}

#content_detail figcaption {
    font-size: 0.9rem;
    text-align: center;
    color: #64748b;
    padding: 0.75rem;
    background: #f8fafc;
    border-bottom: 2px solid #1D4ED8;
    font-weight: 500;
    margin-top: 2px;
}

#content_detail strong {
    color: #0f172a;
    font-weight: 800;
}

#content_detail ul, #content_detail ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

#content_detail li {
    margin-bottom: 0.5rem;
}