/*=========================================================
    NEWS DETAILS PAGE
    LOUIS CARTER FOUNDATION
=========================================================*/


/*=========================================================
    HERO
=========================================================*/

.news-details-banner{
    position:relative;
    margin-top:20px;
    min-height:470px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:
        linear-gradient(
            135deg,
            #082342 0%,
            #0b4da1 55%,
            #2f6df6 100%
        );
}

.news-details-banner-overlay{
    position:absolute;
    inset:0;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(47,109,246,.28),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(255,193,7,.12),
            transparent 35%
        );
    pointer-events:none;
}

.news-details-banner > .container{
    position:relative;
    z-index:2;
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

.news-details-banner-content{
    max-width:900px;
    margin:0 auto;
    padding:70px 20px 60px;
    text-align:center;
}

.news-details-tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 22px;
    border-radius:50px;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.16);
    color:#ffc107;
    font-size:12px;
    font-weight:800;
    letter-spacing:1.2px;
}

.news-details-banner-content h1{
    max-width:850px;
    margin:25px auto 22px;
    color:#ffffff;
    font-size:54px;
    font-weight:800;
    line-height:1.2;
}

.news-details-meta{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;
    margin-top:20px;
}

.news-details-meta span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:rgba(255,255,255,.9);
    font-size:15px;
}

.news-details-meta i{
    color:#ffc107;
}

.news-details-breadcrumb{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:32px;
    font-size:14px;
    font-weight:600;
}

.news-details-breadcrumb a{
    color:#ffc107;
    text-decoration:none;
    transition:.3s ease;
}

.news-details-breadcrumb a:hover{
    color:#ffffff;
}

.news-details-breadcrumb span{
    color:#ffffff;
}


/*=========================================================
    ARTICLE SECTION
=========================================================*/

.news-details-section{
    padding:90px 0 100px;
    background:#f7faff;
}

.news-details-section > .container{
    width:100%;
    max-width:1250px;
    margin:0 auto;
    padding:0 20px;
}

.news-details-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 350px;
    gap:40px;
    align-items:start;
}

.news-article{
    overflow:hidden;
    background:#ffffff;
    border:1px solid #e8eef5;
    border-radius:28px;
    box-shadow:0 20px 60px rgba(17,62,120,.08);
}

.news-article-image{
    width:100%;
    height:480px;
    overflow:hidden;
    background:#eaf0f8;
}

.news-article-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.news-article-content{
    padding:55px 60px 60px;
}

.news-article-content p{
    margin:0 0 24px;
    color:#68768b;
    font-size:17px;
    line-height:1.9;
}

.news-article-content .article-intro{
    margin-bottom:30px;
    color:#12355b;
    font-size:21px;
    line-height:1.75;
    font-weight:600;
}

.news-article-content h2{
    margin:42px 0 18px;
    color:#12355b;
    font-size:30px;
    line-height:1.35;
    font-weight:800;
}

.news-article-content blockquote{
    margin:38px 0;
    padding:28px 32px;
    border-left:5px solid #ffc107;
    border-radius:0 15px 15px 0;
    background:#f4f7fc;
    color:#12355b;
    font-size:19px;
    line-height:1.75;
    font-weight:600;
}


/*=========================================================
    NEWS REACTIONS
=========================================================*/

.news-reactions{
    margin:48px 0 0;
    padding:32px;
    border:1px solid #e4ebf5;
    border-radius:22px;
    background:linear-gradient(180deg,#fbfdff 0%,#f5f9ff 100%);
}

.news-reactions-heading{
    margin-bottom:22px;
}

.news-reactions-heading h3{
    margin:0 0 8px;
    color:#12355b;
    font-size:22px;
    line-height:1.35;
    font-weight:800;
}

.news-reactions-heading p{
    margin:0;
    color:#68768b;
    font-size:15px;
    line-height:1.7;
}

.news-reaction-buttons{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
}

.news-reaction-btn{
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:0 18px;
    border:1px solid #dbe5f1;
    border-radius:50px;
    background:#ffffff;
    color:#12355b;
    font:inherit;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 5px 18px rgba(17,62,120,.05);
    transition:.25s ease;
}

.news-reaction-btn i{
    font-size:16px;
}

.news-reaction-btn strong{
    font-size:13px;
    font-weight:800;
}

.news-reaction-btn:hover{
    transform:translateY(-2px);
    border-color:#2f6df6;
    color:#2f6df6;
    box-shadow:0 8px 22px rgba(47,109,246,.12);
}

.news-reaction-btn.active{
    border-color:#2f6df6;
    background:#2f6df6;
    color:#ffffff;
    box-shadow:0 8px 22px rgba(47,109,246,.2);
}

.news-reaction-btn:disabled{
    opacity:.65;
    cursor:not-allowed;
    transform:none;
}

.news-reaction-message{
    min-height:22px;
    margin-top:14px;
    color:#58708e;
    font-size:13px;
    line-height:1.6;
}


/*=========================================================
    COMMENTS
=========================================================*/

.news-comments{
    margin-top:58px;
    padding-top:10px;
}

.news-comments-heading{
    margin-bottom:30px;
}

.news-comments-heading .section-tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 17px;
    border-radius:50px;
    background:#edf3ff;
    color:#2f6df6;
    font-size:11px;
    font-weight:800;
    letter-spacing:1.1px;
}

.news-comments-heading h2{
    margin:14px 0 0;
    color:#12355b;
    font-size:36px;
    line-height:1.25;
    font-weight:800;
}

.news-comments-heading h2 span{
    color:#7b8ba0;
    font-weight:700;
}

.news-comments-empty{
    margin-bottom:36px;
    padding:42px 30px;
    border:1px dashed #d6e1ef;
    border-radius:22px;
    background:#f8fbff;
    text-align:center;
}

.news-comments-empty > i{
    width:62px;
    height:62px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 18px;
    border-radius:50%;
    background:#eaf2ff;
    color:#2f6df6;
    font-size:25px;
}

.news-comments-empty h3{
    margin:0 0 8px;
    color:#12355b;
    font-size:21px;
    line-height:1.4;
    font-weight:800;
}

.news-comments-empty p{
    margin:0;
    color:#68768b;
    font-size:15px;
    line-height:1.7;
}


/*=========================================================
    COMMENT LIST
=========================================================*/

.news-comments-list{
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-bottom:40px;
}

.news-comment{
    display:flex;
    align-items:flex-start;
    gap:17px;
    padding:22px;
    border:1px solid #e4ebf5;
    border-radius:20px;
    background:#ffffff;
    box-shadow:0 8px 28px rgba(17,62,120,.05);
}

.news-comment-avatar{
    flex:0 0 48px;
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:linear-gradient(135deg,#0b4da1,#2f6df6);
    color:#ffffff;
    font-size:14px;
    font-weight:800;
    letter-spacing:.4px;
}

.news-comment-content{
    min-width:0;
    flex:1;
}

.news-comment-top{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:8px;
}

.news-comment-top strong{
    color:#12355b;
    font-size:15px;
    font-weight:800;
}

.news-comment-top span{
    color:#8a98aa;
    font-size:12px;
}

.news-comment-content p{
    margin:0;
    color:#68768b;
    font-size:15px;
    line-height:1.8;
    word-break:break-word;
}


/*=========================================================
    COMMENT FORM
=========================================================*/

.news-comment-form-wrapper{
    margin-top:10px;
    padding:34px;
    border:1px solid #e1e9f3;
    border-radius:24px;
    background:#ffffff;
    box-shadow:0 15px 45px rgba(17,62,120,.07);
}

.comment-form-heading{
    margin-bottom:26px;
}

.comment-form-heading h3{
    margin:0 0 8px;
    color:#12355b;
    font-size:25px;
    line-height:1.35;
    font-weight:800;
}

.comment-form-heading p{
    margin:0;
    color:#68768b;
    font-size:14px;
    line-height:1.7;
}

.news-comment-form{
    width:100%;
}

.comment-form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.comment-form-group{
    margin-bottom:20px;
}

.comment-form-group label{
    display:block;
    margin:0 0 8px;
    color:#12355b;
    font-size:14px;
    line-height:1.4;
    font-weight:700;
}

.comment-form-group label span{
    color:#d49b00;
}

.news-comment-form input[type="text"],
.news-comment-form input[type="email"],
.news-comment-form textarea{
    width:100%;
    box-sizing:border-box;
    border:1px solid #dbe4ef;
    border-radius:12px;
    outline:none;
    background:#fbfdff;
    color:#12355b;
    font-family:inherit;
    font-size:15px;
    line-height:1.5;
    transition:.25s ease;
}

.news-comment-form input[type="text"],
.news-comment-form input[type="email"]{
    min-height:54px;
    padding:0 16px;
}

.news-comment-form textarea{
    min-height:150px;
    padding:15px 16px;
    resize:vertical;
}

.news-comment-form input[type="text"]::placeholder,
.news-comment-form input[type="email"]::placeholder,
.news-comment-form textarea::placeholder{
    color:#9aa8b9;
    opacity:1;
}

.news-comment-form input[type="text"]:focus,
.news-comment-form input[type="email"]:focus,
.news-comment-form textarea:focus{
    border-color:#2f6df6;
    background:#ffffff;
    box-shadow:0 0 0 4px rgba(47,109,246,.10);
}

.news-comment-submit{
    min-height:52px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:0 25px;
    border:2px solid #2f6df6;
    border-radius:50px;
    background:#2f6df6;
    color:#ffffff;
    font:inherit;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
    transition:.3s ease;
}

.news-comment-submit i{
    font-size:13px;
    transition:.3s ease;
}

.news-comment-submit:hover{
    transform:translateY(-3px);
    background:#0b4da1;
    border-color:#0b4da1;
    box-shadow:0 10px 25px rgba(11,77,161,.18);
}

.news-comment-submit:hover i{
    transform:translateX(3px);
}


/*=========================================================
    COMMENT ALERTS
=========================================================*/

.comment-alert{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin:0 0 25px;
    padding:15px 17px;
    border-radius:14px;
    font-size:14px;
    line-height:1.6;
}

.comment-alert i{
    margin-top:3px;
}

.comment-success{
    border:1px solid #cce8d7;
    background:#f1fbf5;
    color:#22623a;
}

.comment-error{
    border:1px solid #f0d2d2;
    background:#fff6f6;
    color:#a33838;
}


/*=========================================================
    SOCIAL SHARE
=========================================================*/

.article-share{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:45px;
    padding-top:30px;
    border-top:1px solid #e5ebf3;
}

.article-share > span{
    margin-right:8px;
    color:#12355b;
    font-size:15px;
    font-weight:700;
}

.article-share a{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#eef4ff;
    color:#2f6df6;
    text-decoration:none;
    transition:.3s ease;
}

.article-share a:hover{
    background:#2f6df6;
    color:#ffffff;
    transform:translateY(-3px);
}


/*=========================================================
    BACK TO NEWS
=========================================================*/

.article-back-link{
    margin-top:28px;
}

.article-back-link a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#2f6df6;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
    transition:.3s ease;
}

.article-back-link a:hover{
    color:#0b4da1;
}

.article-back-link a i{
    transition:.3s ease;
}

.article-back-link a:hover i{
    transform:translateX(-3px);
}


/*=========================================================
    SIDEBAR
=========================================================*/

.news-sidebar{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.news-sidebar-card{
    padding:30px;
    background:#ffffff;
    border:1px solid #e8eef5;
    border-radius:25px;
    box-shadow:0 15px 45px rgba(17,62,120,.07);
}

.news-sidebar-card h3{
    margin:0 0 15px;
    padding-bottom:15px;
    border-bottom:1px solid #edf2f7;
    color:#12355b;
    font-size:24px;
    font-weight:800;
}

.sidebar-news-item{
    display:grid;
    grid-template-columns:80px minmax(0,1fr);
    gap:15px;
    padding:18px 0;
    border-bottom:1px solid #edf2f7;
}

.sidebar-news-item:last-of-type{
    border-bottom:0;
}

.sidebar-news-item img{
    width:80px;
    height:70px;
    display:block;
    object-fit:cover;
    border-radius:12px;
}

.sidebar-news-item span{
    display:block;
    margin-bottom:6px;
    color:#2f6df6;
    font-size:10px;
    font-weight:800;
    letter-spacing:.6px;
    text-transform:uppercase;
}

.sidebar-news-item a{
    display:block;
    color:#12355b;
    font-size:14px;
    line-height:1.5;
    font-weight:700;
    text-decoration:none;
    transition:.3s ease;
}

.sidebar-news-item a:hover{
    color:#2f6df6;
}

.sidebar-all-news{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:15px;
    color:#2f6df6;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
}

.sidebar-all-news:hover{
    color:#0b4da1;
}


/*=========================================================
    SIDEBAR CTA
=========================================================*/

.news-sidebar-cta{
    padding:35px 30px;
    border-radius:25px;
    text-align:center;
    background:
        linear-gradient(
            135deg,
            #0b4da1,
            #2f6df6
        );
    box-shadow:0 20px 50px rgba(17,62,120,.15);
}

.news-sidebar-cta-icon{
    width:65px;
    height:65px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 20px;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    color:#ffc107;
    font-size:25px;
}

.news-sidebar-cta h3{
    margin:0 0 15px;
    color:#ffffff;
    font-size:24px;
    line-height:1.35;
}

.news-sidebar-cta p{
    margin:0 0 25px;
    color:rgba(255,255,255,.9);
    font-size:15px;
    line-height:1.8;
}

.news-sidebar-cta a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:0 28px;
    border-radius:50px;
    background:#ffc107;
    color:#12355b;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
    transition:.3s ease;
}

.news-sidebar-cta a:hover{
    transform:translateY(-3px);
}


/*=========================================================
    BOTTOM CTA
=========================================================*/

.news-details-cta{
    padding:90px 0 100px;
    background:#ffffff;
}

.news-details-cta > .container{
    width:100%;
    max-width:1250px;
    margin:0 auto;
    padding:0 20px;
}

.news-details-cta-wrapper{
    padding:80px 50px;
    border-radius:35px;
    text-align:center;
    background:
        linear-gradient(
            135deg,
            #0b4da1,
            #2f6df6
        );
    box-shadow:0 25px 65px rgba(17,62,120,.15);
}

.news-details-cta-wrapper .news-details-tag{
    background:rgba(255,255,255,.15);
    color:#ffffff;
}

.news-details-cta-wrapper h2{
    margin:22px 0 18px;
    color:#ffffff;
    font-size:46px;
    line-height:1.25;
    font-weight:800;
}

.news-details-cta-wrapper p{
    max-width:700px;
    margin:0 auto 35px;
    color:rgba(255,255,255,.92);
    font-size:17px;
    line-height:1.9;
}

.news-details-buttons{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
}

.news-primary-btn,
.news-outline-btn{
    min-width:210px;
    min-height:58px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:0 30px;
    box-sizing:border-box;
    border-radius:50px;
    font-size:16px;
    font-weight:700;
    text-decoration:none;
    transition:.35s ease;
}

.news-primary-btn{
    background:#ffc107;
    color:#12355b;
    border:2px solid #ffc107;
}

.news-primary-btn:hover{
    transform:translateY(-4px);
    background:#ffd04a;
}

.news-outline-btn{
    background:transparent;
    color:#ffffff;
    border:2px solid rgba(255,255,255,.5);
}

.news-outline-btn:hover{
    background:#ffffff;
    color:#12355b;
}


/*=========================================================
    TABLET
=========================================================*/

@media(max-width:991px){

    .news-details-banner{
        min-height:440px;
    }

    .news-details-banner-content h1{
        font-size:44px;
    }

    .news-details-layout{
        grid-template-columns:1fr;
    }

    .news-sidebar{
        display:grid;
        grid-template-columns:1fr 1fr;
        align-items:start;
    }
}


/*=========================================================
    MOBILE
=========================================================*/

@media(max-width:768px){

    .news-details-banner{
        min-height:420px;
    }

    .news-details-banner > .container{
        padding:0 15px;
    }

    .news-details-banner-content{
        padding:50px 10px;
    }

    .news-details-banner-content h1{
        font-size:34px;
        line-height:1.25;
    }

    .news-details-meta{
        gap:12px;
    }

    .news-details-meta span{
        font-size:13px;
    }

    .news-details-breadcrumb{
        gap:8px;
        margin-top:25px;
        font-size:13px;
    }

    .news-details-section{
        padding:60px 0 70px;
    }

    .news-details-section > .container{
        padding:0 15px;
    }

    .news-article{
        border-radius:20px;
    }

    .news-article-image{
        height:280px;
    }

    .news-article-content{
        padding:35px 25px 40px;
    }

    .news-article-content .article-intro{
        font-size:18px;
    }

    .news-article-content p{
        font-size:16px;
        line-height:1.85;
    }

    .news-article-content h2{
        font-size:25px;
        margin-top:35px;
    }

    .news-article-content blockquote{
        padding:22px;
        font-size:17px;
    }

    .news-reactions{
        margin-top:38px;
        padding:25px 20px;
        border-radius:18px;
    }

    .news-reactions-heading h3{
        font-size:20px;
    }

    .news-reaction-buttons{
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .news-reaction-btn{
        width:100%;
        padding:0 12px;
    }

    .news-comments{
        margin-top:45px;
    }

    .news-comments-heading h2{
        font-size:30px;
    }

    .news-comments-empty{
        padding:35px 20px;
    }

    .news-comment{
        padding:18px;
        gap:12px;
        border-radius:17px;
    }

    .news-comment-avatar{
        flex-basis:42px;
        width:42px;
        height:42px;
        font-size:12px;
    }

    .news-comment-form-wrapper{
        padding:25px 20px;
        border-radius:20px;
    }

    .comment-form-row{
        grid-template-columns:1fr;
        gap:0;
    }

    .news-comment-submit{
        width:100%;
    }

    .news-sidebar{
        display:flex;
        flex-direction:column;
    }

    .news-sidebar-card{
        padding:25px;
    }

    .news-details-cta{
        padding:60px 0 70px;
    }

    .news-details-cta > .container{
        padding:0 15px;
    }

    .news-details-cta-wrapper{
        padding:55px 25px;
        border-radius:25px;
    }

    .news-details-cta-wrapper h2{
        font-size:32px;
    }

    .news-details-buttons{
        flex-direction:column;
    }

    .news-primary-btn,
    .news-outline-btn{
        width:100%;
        max-width:280px;
    }
}


/*=========================================================
    SMALL MOBILE
=========================================================*/

@media(max-width:480px){

    .news-details-banner-content h1{
        font-size:29px;
    }

    .news-article-content{
        padding:30px 18px 35px;
    }

    .news-reaction-buttons{
        grid-template-columns:1fr;
    }

    .news-comment{
        flex-direction:column;
    }

    .news-comment-avatar{
        flex-basis:auto;
    }

    .news-comment-form-wrapper{
        padding:22px 17px;
    }
}
.admin-comment-reply {
    margin-top: 18px;
    padding: 18px 20px;
    border-left: 4px solid #1f7a4d;
    background: #f5f8f6;
    border-radius: 8px;
}

.admin-comment-reply-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.admin-comment-reply-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f7a4d;
    color: #fff;
    flex-shrink: 0;
}

.admin-comment-reply-header strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.admin-comment-reply-header span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #777;
}

.admin-comment-reply-body p {
    margin: 0;
    line-height: 1.7;
    color: #444;
}
