/*
Theme Name: KIAPIC Theme
Theme URI: https://sedayemellat-news.ir/
Author: Kianoosh Farhadzadeh | کیانوش فرهادزاده
Author URI: https://kiapic.ir/
Description: قالب اختصاصی ذره بین بورس؛ طراحی و توسعه توسط کیانوش فرهادزاده. دارای ساختار خبری، نمایش صفحات روزنامه، اسلایدر اختصاصی، طراحی واکنش‌گرا و امکانات مدیریت محتوای خبری.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.9
Text Domain: kiapic-theme
Tags: news, newspaper, magazine, rtl, custom-theme
*/


/* =====================================
   KIAPIC THEME - B NAZANIN FONT
===================================== */


/* =====================================
   KIAPIC THEME - B NAZANIN FONT
===================================== */

@font-face {
    font-family: 'BNazanin';
    src: url('assets/fonts/BNazanin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BNazanin';
    src: url('assets/fonts/BNaznnBd.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* فونت متن‌های معمولی */

html,
body,
button,
input,
textarea,
select {
    font-family: 'BNazanin', sans-serif !important;
    font-weight: 400;
}

/* فونت تیترها */

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
    font-family: 'BNazanin', sans-serif !important;
    font-weight: 700 !important;
}


/* =============================================
   استایل‌های اسلایدر
   ============================================= */

.custom-sidebar {
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    border-radius: 6px;
}

.custom-sidebar .sidebar-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

/* اسلایدر */
.custom-swiper-container {
    width: 100%;
    max-width: 800px;
    height: 300px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

.slider-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    box-sizing: border-box;
    text-align: center;
}

.slider-title {
    color: #fff;
    font-size: 24px;
    margin: 0;
    line-height: 1.2;
}