/*
Theme Name: Zaviasoch News
Theme URI: https://example.com/
Author: Ehsan Sani
Description: Custom News Theme by Ehsan.
Version: 1.0
Text Domain: zaviasoch-news
*/
body {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori', sans-serif;
}

h1,h2,h3,h4 {
    line-height: 1.3;
    margin: 10px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/* Breaking News Ticker */
.breaking-news-bar {
    background: #ffcc00;
    color: #000;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    direction: rtl;
}

.breaking-news-bar .breaking-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breaking-label {
    font-weight: bold;
    margin-right: 15px;
}

.breaking-ticker {
    display: inline-flex;
    animation: tickerScroll 25s linear infinite;
}

.breaking-ticker:hover {
    animation-play-state: paused;
}

.ticker-item {
    margin-left: 30px;
}

.ticker-item a {
    text-decoration: none;
    color: #000;
}

/* Slider Section */
.featured-slider {
    margin: 20px 0;
}

.slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    direction: rtl;
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
}

.slider-item {
    min-width: 350px;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.slider-item:hover {
    transform: scale(1.05);
}

.slider-caption {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 100%;
    padding: 5px;
    font-size: 16px;
    text-align: right;
}

/* Auto scroll ticker animation */
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Responsive */
@media(max-width:768px){
    .slider-wrapper {
        overflow-x: scroll;
    }
    .slider-item {
        min-width: 250px;
    }
}

.posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    direction: rtl;
}

.post-item {
    width: calc(33.333% - 10px);
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post-item:hover { transform: scale(1.03); }

.post-thumb img { width: 100%; display: block; }

.post-title {
    font-size: 16px;
    padding: 8px;
    text-align: right;
}

@media(max-width:768px){
    .post-item { width: 100%; }
}

/* ==== Urdu Font Styling ==== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Nastaliq Urdu', serif;
}
p, span, li {
    font-family: 'Noto Nastaliq Urdu', serif;
    line-height: 1.8;
    font-size: 16px;
}
.news-cat-title, .news-cat-subtitle, .author-post-title {
    font-family: 'Noto Nastaliq Urdu', serif;
}
.post-meta, .author-name, .author-bio, .author-post-content small {
    font-family: 'Noto Nastaliq Urdu', serif;
    color: #555;
}
.widget, .widget-title {
    font-family: 'Noto Nastaliq Urdu', serif;
}
