/* =========================
   TRUMED NEWS ARCHIVE / LOOP
========================= */

.trumed-news-section{
    padding:80px 0;
}

.trumed-news-head{
    text-align:center;
    max-width:760px;
    margin:0 auto 40px;
}

.trumed-news-title{
    margin:0 0 14px !important;
}

.trumed-news-title .elementor-heading-title{
    font-size:42px !important;
    line-height:1.1 !important;
    font-weight:700 !important;
}

.trumed-news-desc{
    max-width:720px;
    margin:0 auto !important;
}

.trumed-news-grid .elementor-grid{
    align-items:stretch;
}

.trumed-news-grid .e-loop-item{
    display:flex;
    height:100%;
    overflow:visible;
}

.trumed-news-grid .e-loop-item > .elementor-element,
.trumed-news-grid .e-loop-item > .e-con{
    width:100%;
    height:100%;
}

.trumed-news-card{
    display:flex;
    flex-direction:column;
    width:100%;
    height:100%;
    padding:10px;
    overflow:visible;
    box-sizing:border-box;
    border-radius:18px;
    background:#ffffff;
    box-shadow:none;
    transform:none;
    transition:box-shadow .3s ease;
}

.trumed-news-card:hover{
    transform:none;
    box-shadow:
        0 14px 34px rgba(16,24,32,0.13),
        0 0 22px rgba(62,153,173,0.12);
}

.trumed-news-image{
    display:block;
    width:100%;
    margin:0 0 14px !important;
    overflow:hidden;
    border-radius:14px;
}

.trumed-news-image .elementor-widget-container,
.trumed-news-image a{
    display:block;
    width:100%;
    height:100%;
    margin:0;
    overflow:hidden;
    border-radius:14px;
}

.trumed-news-image img{
    display:block;
    width:100%;
    height:250px;
    max-width:none;
    margin:0;
    object-fit:cover;
    object-position:center;
    border-radius:14px;
    transform:none !important;
    transition:none !important;
}

.trumed-news-card:hover .trumed-news-image img,
.trumed-news-image:hover img,
.trumed-news-image a:hover img{
    transform:none !important;
    scale:1 !important;
}

.trumed-news-card-content{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    width:100%;
    gap:12px;
    padding:0 4px 4px;
    margin:0;
    box-sizing:border-box;
}

.trumed-news-card-title{
    display:block;
    width:100%;
    margin:0 !important;
    padding:0 !important;
}

.trumed-news-card-title .elementor-widget-container,
.trumed-news-card-title .elementor-heading-title{
    width:100%;
    margin:0 !important;
    padding:0 !important;
}

.trumed-news-card-title a,
.trumed-news-card-title .elementor-heading-title{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    color:#111827 !important;
    font-size:18px !important;
    line-height:1.15 !important;
    font-weight:700 !important;
    text-decoration:none !important;
}

.trumed-news-card-title a:hover{
    color:#3E99AD !important;
}

.trumed-news-date{
    display:inline-flex;
    width:auto;
    align-self:flex-start;
    margin:0 !important;
    padding:6px 12px;
    border-radius:6px;
    background:#222222;
    color:#ffffff !important;
    font-size:14px !important;
    font-weight:700 !important;
    line-height:1 !important;
}

.trumed-news-date *,
.trumed-news-date span,
.trumed-news-date div,
.trumed-news-date .elementor-icon-list-text{
    color:#ffffff !important;
}

/* ==========================================
   TRUMED NEWS DETAIL HERO
========================================== */

.trumed-news-hero{
    max-width:1180px;
    margin:0 auto;
    padding:80px 20px 26px;
    border-bottom:1px solid #E5E7EB;
    margin-bottom:32px;
}

.trumed-news-hero-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}

.trumed-news-category{
    display:inline-flex;
    align-items:center;
    padding:9px 16px;
    border-radius:999px;
    background:rgba(108,188,207,0.13);
    color:#3E99AD;
    font-size:12px;
    font-weight:700;
    letter-spacing:.10em;
    text-transform:uppercase;
}

.trumed-news-meta{
    color:#334155;
    font-size:18px;
    font-weight:700;
    line-height:1.5;
    white-space:nowrap;
}

.trumed-news-title{
    max-width:820px;
    margin:0;
    color:#101820;
    font-size:36px;
    line-height:1.18;
    font-weight:700;
    letter-spacing:-0.02em;
}

/* ==========================================
   TRUMED NEWS CONTENT BLOCK
========================================== */

.trumed-news-content-block{
    max-width:1180px;
    margin:0 auto;
    padding:10px 20px 34px;
}

.trumed-news-content-inner{
    display:grid;
    grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
    gap:32px;
    align-items:center;
    padding:22px;
    border-radius:26px;
    background:#ffffff;
    box-shadow:0 24px 70px rgba(16,24,32,0.08);
}

.trumed-news-content-image{
    overflow:hidden;
    border-radius:20px;
    background:#f3f7f9;
}

.trumed-news-content-image img{
    display:block;
    width:100%;
    height:100%;
    min-height:320px;
    object-fit:cover;
}

.trumed-news-content-text{
    color:#4B5563;
    font-size:17px;
    line-height:1.9;
}

.trumed-news-content-text p{
    margin:0 0 22px;
}

.trumed-news-content-text p:last-child{
    margin-bottom:0;
}

/* ==========================================
   TRUMED NEWS GALLERY
========================================== */

.trumed-news-gallery-section{
    max-width:1180px;
    margin:0 auto;
    padding:34px 20px 70px;
    border-top:1px solid #E5E7EB;
}

.trumed-news-gallery-head{
    margin-bottom:24px;
}

.trumed-news-gallery-head h2{
    margin:0 0 10px;
    color:#101820;
    font-size:28px;
    line-height:1.2;
    font-weight:700;
}

.trumed-news-gallery-head p{
    max-width:680px;
    margin:0;
    color:#64748b;
    font-size:16px;
    line-height:1.7;
}

.trumed-news-gallery-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:18px;
}

.trumed-news-gallery-item{
    position:relative;
    display:block;
    overflow:hidden;
    border-radius:18px;
    background:#f3f7f9;
    aspect-ratio:1.35 / 1;
    box-shadow:0 18px 45px rgba(16,24,32,0.08);
}

.trumed-news-gallery-item img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .45s ease;
}

.trumed-news-gallery-item:hover img{
    transform:scale(1.05);
}

/* ==========================================
   FANCYBOX NEWS GALLERY
========================================== */

.fancybox__container .f-button.is-prev,
.fancybox__container .f-button.is-next{
    display:flex !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    width:44px !important;
    height:44px !important;
    border-radius:50% !important;
    background:rgba(255,255,255,0.20) !important;
    color:#fff !important;
}

.fancybox__container .f-button.is-prev{
    left:24px !important;
}

.fancybox__container .f-button.is-next{
    right:24px !important;
}

.fancybox__container .f-button.is-prev svg,
.fancybox__container .f-button.is-next svg{
    width:22px !important;
    height:22px !important;
    stroke-width:2.5 !important;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:1024px){

    .trumed-news-grid .elementor-grid{
        grid-template-columns:repeat(2,1fr) !important;
    }

    .trumed-news-content-inner{
        grid-template-columns:1fr;
    }
}

@media(max-width:767px){

    .trumed-news-section{
        padding:60px 0;
    }

    .trumed-news-head{
        text-align:left;
        margin-bottom:28px;
    }

    .trumed-news-title .elementor-heading-title{
        font-size:34px !important;
    }

    .trumed-news-grid .elementor-grid{
        grid-template-columns:1fr !important;
    }

    .trumed-news-card{
        padding:10px;
    }

    .trumed-news-image{
        margin-bottom:14px !important;
    }

    .trumed-news-image img{
        height:220px;
    }

    .trumed-news-hero{
        padding:50px 16px 22px;
    }

    .trumed-news-hero-top{
        align-items:flex-start;
        flex-direction:column;
        gap:10px;
    }

    .trumed-news-title{
        font-size:30px;
        line-height:1.2;
    }

    .trumed-news-content-block{
        padding:6px 16px 32px;
    }

    .trumed-news-content-inner{
        padding:16px;
        border-radius:20px;
        gap:20px;
    }

    .trumed-news-content-image{
        border-radius:16px;
    }

    .trumed-news-content-image img{
        min-height:260px;
    }

    .trumed-news-content-text{
        font-size:15px;
        line-height:1.8;
    }

    .trumed-news-gallery-section{
        padding:28px 16px 50px;
    }

    .trumed-news-gallery-grid{
        grid-template-columns:repeat(2, 1fr);
        gap:10px;
    }

    .trumed-news-gallery-head h2{
        font-size:24px;
    }

    .trumed-news-gallery-head p{
        font-size:15px;
    }

    .trumed-news-gallery-item{
        border-radius:14px;
    }
}

/* ==========================================
   TRUMED RELATED NEWS
========================================== */

.trumed-related-news-section{
    max-width:1180px;
    margin:0 auto;
    padding:10px 20px 90px;
}

.trumed-related-news-head{
    margin-bottom:30px;
}

.trumed-related-news-head span{
    display:inline-flex;
    margin-bottom:12px;
    color:#3E99AD;
    font-size:12px;
    font-weight:800;
    letter-spacing:.10em;
}

.trumed-related-news-head h2{
    margin:0 0 10px;
    color:#101820;
    font-size:32px;
    line-height:1.2;
    font-weight:700;
}

.trumed-related-news-head p{
    max-width:620px;
    margin:0;
    color:#64748b;
    font-size:16px;
    line-height:1.7;
}

.trumed-related-news-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:22px;
}

.trumed-related-news-card{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    background:#ffffff;
    box-shadow:0 18px 50px rgba(16,24,32,0.08);
    transition:transform .3s ease, box-shadow .3s ease;
}

.trumed-related-news-card:hover{
    transform:translateY(-5px);
    box-shadow:0 24px 70px rgba(16,24,32,0.12);
}

.trumed-related-news-image{
    display:block;
    overflow:hidden;
    aspect-ratio:1.35 / 1;
    background:#f3f7f9;
}

.trumed-related-news-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .45s ease;
}

.trumed-related-news-card:hover .trumed-related-news-image img{
    transform:scale(1.05);
}

.trumed-related-news-content{
    position:relative;
    padding:18px 18px 56px;
}

.trumed-related-news-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
    color:#64748b;
    font-size:13px;
    line-height:1.4;
}

.trumed-related-news-meta strong{
    color:#3E99AD;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.trumed-related-news-content h3{
    margin:0;
}

.trumed-related-news-content h3 a{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    color:#101820;
    font-size:19px;
    line-height:1.25;
    font-weight:700;
    text-decoration:none;
}

.trumed-related-news-content h3 a:hover{
    color:#3E99AD;
}

@media(max-width:1024px){

    .trumed-related-news-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media(max-width:767px){

    .trumed-related-news-section{
        padding:0 16px 70px;
    }

    .trumed-related-news-head h2{
        font-size:26px;
    }

    .trumed-related-news-grid{
        grid-template-columns:1fr;
        gap:18px;
    }
}

/* =========================
   HOME NEWS LOAD MORE BUTTON
========================= */

.trumed-news-grid .elementor-pagination,
.trumed-news-grid .e-load-more-anchor,
.trumed-news-grid .e-load-more-message{
    text-align:center;
}

.trumed-news-grid .e-load-more-button,
.trumed-news-grid .elementor-button{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:48px;
    padding:14px 26px !important;
    border-radius:999px !important;
    border:1px solid rgba(62,153,173,0.28) !important;
    background:#101820 !important;
    color:#ffffff !important;
    font-size:14px !important;
    font-weight:700 !important;
    line-height:1 !important;
    letter-spacing:.02em;
    box-shadow:0 14px 35px rgba(16,24,32,0.16);
    transition:all .3s ease;
}

.trumed-news-grid .e-load-more-button:hover,
.trumed-news-grid .elementor-button:hover{
    background:#3E99AD !important;
    border-color:#3E99AD !important;
    transform:translateY(-2px);
    box-shadow:0 18px 45px rgba(62,153,173,0.24);
}

.trumed-news-grid .e-load-more-button:after,
.trumed-news-grid .elementor-button:after{
    content:"↓";
    font-size:15px;
    line-height:1;
}