/* =========================================================
   SMARTMAG FACT CHECK
   ========================================================= */

/* Main Fact Check Wrapper */
.smfc-wrap{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:20px !important;
    box-sizing:border-box;
}

.smfc-main{
    width:100% !important;
    max-width:none !important;
    min-width:0;
}

.smfc-sidebar{
    display:none !important;
}


/* =========================================================
   ARCHIVE HEADER
   ========================================================= */

.smfc-section-header{
    width:100%;
    border-bottom:1px solid #ddd;
    margin:0 0 28px;
}

.smfc-title-row{
    width:100%;
    border-bottom:4px solid #c20017;
    padding-bottom:10px;
}

.smfc-title-row h1{
    margin:0;
    font-size:30px;
    font-weight:800;
    line-height:1.2;
}


/* =========================================================
   FACT CHECK CATEGORY NAVIGATION
   ========================================================= */

.smfc-nav{
    width:100%;
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center;
    gap:0;
    margin:0;
    padding:0;
}

.smfc-nav a{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;

    padding:13px 17px !important;

    font-size:13px;
    font-weight:700;
    line-height:1.2;

    text-decoration:none !important;
    color:#222 !important;

    text-transform:uppercase;
    white-space:nowrap;

    border-right:1px solid #e5e5e5;
    box-sizing:border-box;
}

.smfc-nav a:first-child{
    padding-left:0 !important;
}

.smfc-nav a:hover{
    color:#c20017 !important;
}


/* =========================================================
   ARCHIVE GRID
   ========================================================= */

.smfc-grid{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px 24px;
}

.smfc-card{
    width:100%;
    min-width:0;
    border-bottom:1px solid #ddd;
    padding-bottom:20px;
    box-sizing:border-box;
}

.smfc-image{
    display:block;
    width:100%;
    aspect-ratio:16 / 9;
    background:#f1f1f1;
    overflow:hidden;
}

.smfc-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .25s ease;
}

.smfc-card:hover .smfc-image img{
    transform:scale(1.03);
}

.smfc-placeholder{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;

    font-weight:900;
    font-size:25px;
    line-height:1.05;
    color:#777;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.smfc-card-body{
    padding-top:12px;
}

.smfc-category{
    font-size:12px;
    font-weight:800;
    color:#c20017;
    text-transform:uppercase;
    margin-bottom:6px;
}

.smfc-card h2{
    font-size:21px;
    line-height:1.3;
    margin:0 0 10px;
}

.smfc-card h2 a{
    color:#181818;
    text-decoration:none;
}

.smfc-card h2 a:hover{
    color:#c20017;
}


/* =========================================================
   VERDICT BADGES
   ========================================================= */

.smfc-badge{
    display:inline-block;

    font-size:11px;
    font-weight:800;
    letter-spacing:.4px;

    padding:5px 9px;
    border-radius:2px;

    background:#eee;
    color:#333;
}

.smfc-badge.true{
    background:#16833b;
    color:#fff;
}

.smfc-badge.false{
    background:#c20017;
    color:#fff;
}

.smfc-badge.misleading{
    background:#e98b00;
    color:#fff;
}

.smfc-badge.partly-true{
    background:#c8a300;
    color:#fff;
}

.smfc-date{
    font-size:12px;
    color:#777;
    margin-top:8px;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.smfc-pagination{
    margin:35px 0;
}

.smfc-pagination ul{
    display:flex;
    gap:7px;
    list-style:none;
    padding:0;
    margin:0;
    flex-wrap:wrap;
}

.smfc-pagination a,
.smfc-pagination span{
    display:block;
    padding:8px 12px;
    border:1px solid #ddd;
    text-decoration:none;
}

.smfc-pagination .current{
    background:#c20017;
    color:#fff;
    border-color:#c20017;
}

.smfc-empty{
    padding:30px 0;
}


/* =========================================================
   HOMEPAGE FACT CHECK SECTION
   ========================================================= */

.smfc-home-section{
    width:100%;
    margin:0;
    padding:0;
}

.smfc-home-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    border-bottom:3px solid #c20017;

    margin:0 0 18px;
    padding:0 0 9px;
}

.smfc-home-heading h2{
    margin:0;
    font-size:25px;
    line-height:1.2;
    font-weight:800;
    color:#181818;
}

.smfc-home-heading a{
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    text-decoration:none;
    color:#c20017;
    white-space:nowrap;
}

.smfc-home-grid{
    width:100%;
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:16px;
}

.smfc-home-grid .smfc-card{
    padding-bottom:12px;
}

.smfc-home-grid .smfc-image{
    aspect-ratio:4 / 3;
}

.smfc-home-grid .smfc-card-body{
    padding-top:8px;
}

.smfc-home-grid .smfc-category{
    font-size:10px;
    margin-bottom:4px;
}

.smfc-home-grid .smfc-card h2{
    font-size:15px;
    line-height:1.3;
    margin:0;

    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;

    overflow:hidden;

    min-height:39px;
    max-height:39px;
}

.smfc-home-grid .smfc-badge{
    font-size:9px;
    padding:4px 6px;
    margin-top:7px;
}

.smfc-home-grid .smfc-date{
    font-size:10px;
    margin-top:6px;
}

.smfc-view-more-wrap{
    text-align:center;
    margin:20px 0 0;
}

.smfc-view-more{
    display:inline-block;

    background:#c20017;
    color:#fff !important;

    padding:10px 24px;

    font-size:12px;
    font-weight:800;
    text-transform:uppercase;

    text-decoration:none !important;
    line-height:1.2;

    border-radius:2px;
}

.smfc-view-more:hover{
    background:#a80014;
    color:#fff !important;
}


/* =========================================================
   SINGLE FACT CHECK
   ========================================================= */

.smfc-single-wrap{
    width:100%;
    display:block;
}

.smfc-breadcrumb{
    font-size:13px;
    margin-bottom:12px;
}

.smfc-breadcrumb a{
    color:#c20017;
    text-decoration:none;
}

.smfc-single h1{
    font-size:38px;
    line-height:1.2;
    margin:0 0 10px;
}

.smfc-meta{
    display:flex;
    gap:15px;
    color:#777;
    font-size:13px;
    margin-bottom:20px;
    flex-wrap:wrap;
}

.smfc-featured{
    margin:0 0 25px;
}

.smfc-featured img{
    display:block;
    width:100%;
    height:auto;
}

.smfc-box{
    border:1px solid #ddd;
    border-left:4px solid #c20017;

    padding:18px 20px;
    margin:0 0 22px;
}

.smfc-box h2{
    font-size:15px;
    margin:0 0 9px;
    font-weight:800;
}

.smfc-verdict-box{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.smfc-verdict-box h2{
    margin:0;
}

.smfc-badge-large{
    font-size:14px;
    padding:7px 13px;
}

.smfc-content{
    font-size:17px;
    line-height:1.75;
}

.smfc-content img{
    max-width:100%;
    height:auto;
}

.smfc-sources{
    font-size:14px;
    line-height:1.6;
}

.smfc-share{
    border-top:1px solid #ddd;
    margin-top:30px;
    padding-top:18px;

    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
}

.smfc-share a{
    font-size:12px;
    padding:7px 10px;

    border:1px solid #ddd;

    text-decoration:none;
    color:#222;
}

.smfc-share a:hover{
    border-color:#c20017;
    color:#c20017;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1100px){

    .smfc-home-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media(max-width:900px){

    .smfc-wrap{
        width:100% !important;
        max-width:none !important;
        padding:0 20px !important;
    }

    .smfc-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:600px){

    .smfc-wrap{
        width:100% !important;
        max-width:none !important;
        padding:0 15px !important;
        margin:0 !important;
    }

    .smfc-grid{
        grid-template-columns:1fr;
        gap:25px 0;
    }

    /* Mobile Fact Check navigation */
    .smfc-nav{
        width:100%;
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:wrap !important;
        align-items:center;
        justify-content:flex-start;
    }

    .smfc-nav a{
        padding:10px 13px !important;
        font-size:12px;
        line-height:1.2;
        white-space:nowrap;
    }

    .smfc-nav a:first-child{
        padding-left:0 !important;
    }

    .smfc-title-row h1{
        font-size:25px;
    }

    .smfc-home-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:16px 12px;
    }

    .smfc-home-heading{
        gap:10px;
    }

    .smfc-home-heading h2{
        font-size:21px;
    }

    .smfc-home-heading a{
        font-size:11px;
    }

    .smfc-single h1{
        font-size:29px;
    }

    .smfc-content{
        font-size:16px;
        line-height:1.7;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media(max-width:380px){

    .smfc-home-grid{
        grid-template-columns:1fr;
    }

    .smfc-nav a{
        padding:9px 10px !important;
        font-size:11px;
    }

}
.smfc-card-body h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}