/* =============================================
   TheInforix News Plugin — Frontend Styles
   theinforix.com
   ============================================= */

.tix-news-wrap {
    max-width: 860px;
    margin: 0 auto;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    padding: 10px 0;
}

/* ── News Card ── */
.tix-news-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 2px 18px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tix-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(232, 93, 36, 0.13);
}

/* ── Photo Section ── */
.tix-news-photo {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.tix-news-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tix-news-card:hover .tix-news-photo img {
    transform: scale(1.03);
}

/* ── LIVE Badge ── */
.tix-live-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #e85d24;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: 4px;
}

/* ── Body ── */
.tix-news-body {
    padding: 22px 26px 20px;
}

/* ── Meta: Brand + Date ── */
.tix-news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.tix-brand {
    background: #e85d24;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.tix-dot {
    color: #ccc;
    font-size: 14px;
}

.tix-date {
    color: #888;
    font-size: 12px;
    font-weight: 500;
}

/* ── Heading ── */
.tix-news-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #111 !important;
    line-height: 1.35 !important;
    margin: 0 0 14px !important;
    border: none !important;
    padding: 0 !important;
}

/* ── Content ── */
.tix-news-content {
    font-size: 15px;
    color: #444;
    line-height: 1.75;
    margin-bottom: 18px;
}

.tix-news-content p {
    margin: 0 0 12px;
}

/* ── Footer Tags ── */
.tix-news-footer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 1px solid #f5f5f5;
    padding-top: 14px;
    margin-top: 4px;
}

.tix-tag {
    background: #fff4ee;
    color: #e85d24;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #fdddd0;
}

/* ── No photo variant ── */
.tix-no-photo .tix-news-body {
    padding-top: 24px;
    border-left: 4px solid #e85d24;
}

/* ── No news message ── */
.tix-no-news {
    background: #fff8f0;
    border: 1px solid #f2a623;
    border-radius: 10px;
    padding: 20px;
    color: #555;
    font-size: 15px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .tix-news-photo {
        height: 190px;
    }
    .tix-news-title {
        font-size: 18px !important;
    }
    .tix-news-body {
        padding: 16px;
    }
}
