/*
Theme Name: قالب اختصاصی کیا‌شفا (پایگاه خبری کیاپرس)
Theme URI: https://kiapress.ir
Author: تیم فنی کیاپرس
Author URI: https://kiapress.ir
Description: قالب اختصاصی پایگاه خبری تخصصی سلامت کیاپرس با قابلیت پوشش اخبار پزشکی، اخبار سلامت شمال ایران (مازندران، گیلان، گلستان) و سامانه مشاوره تخصصی پزشکی.
Version: 1.10.23
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kiashafa-kiapress
Domain Path: /languages
Tags: health, medical, news, rtl, kiapress, north-iran, custom-menu, featured-images
*/

@import "./src/index.css";


/* KiaShafa focused responsive fixes */
.kiashafa-site-header { box-sizing: border-box; }
@media (max-width: 767px) {
    .kiashafa-site-header { width: 100%; max-width: 100%; overflow-x: hidden; }
    .kiashafa-site-header .max-w-7xl { min-width: 0; max-width: 100%; }
    .kiashafa-site-header a, .kiashafa-site-header h1, .kiashafa-site-header p { min-width: 0; }
}

.kiashafa-breaking-track { width: max-content; animation: kiashafa-breaking-marquee 28s linear infinite; }
.kiashafa-breaking-news:hover .kiashafa-breaking-track { animation-play-state: paused; }
@keyframes kiashafa-breaking-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

.kiashafa-modal[hidden] { display: none !important; }
.kiashafa-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.kiashafa-modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.72); backdrop-filter: blur(3px); }
.kiashafa-modal-card { position: relative; z-index: 1; width: min(100%, 520px); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; color: #0f172a; border-radius: 24px; padding: 24px; box-shadow: 0 25px 70px rgba(0,0,0,.25); }
.kiashafa-modal-card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 900; }
.kiashafa-modal-help { margin: 0 0 18px; color: #64748b; font-size: 12px; line-height: 1.8; }
.kiashafa-modal-close { position: absolute; top: 10px; left: 12px; width: 36px; height: 36px; border: 0; border-radius: 12px; background: #f1f5f9; color: #334155; font-size: 24px; cursor: pointer; }
.kiashafa-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.kiashafa-modal-card label { display: block; font-size: 12px; font-weight: 800; color: #334155; margin-bottom: 12px; }
.kiashafa-modal-card input, .kiashafa-modal-card select, .kiashafa-modal-card textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; border: 1px solid #cbd5e1; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 13px; background: #f8fafc; color: #0f172a; outline: none; }
.kiashafa-modal-card textarea { resize: vertical; }
.kiashafa-modal-card input:focus, .kiashafa-modal-card select:focus, .kiashafa-modal-card textarea:focus { border-color: #14b8a6; box-shadow: 0 0 0 3px rgba(20,184,166,.12); }
.kiashafa-modal-primary { width: 100%; border: 0; border-radius: 12px; padding: 12px 16px; background: #0d9488; color: #fff; font-weight: 800; cursor: pointer; }
.kiashafa-modal-primary:hover { background: #0f766e; }
.kiashafa-bmi-result { min-height: 46px; margin-top: 12px; padding: 12px; border-radius: 12px; background: #f0fdf4; color: #166534; font-size: 13px; line-height: 1.8; text-align: center; }
.kiashafa-modal-open { overflow: hidden; }
@media (max-width: 767px) {
    .kiashafa-form-grid { grid-template-columns: 1fr; gap: 0; }
    .kiashafa-modal-card { padding: 20px 16px; border-radius: 20px; }
    .kiashafa-header-doctor, .kiashafa-header-bmi { white-space: nowrap; }
}


/* Mobile dropdown menu - navigation only; desktop layout remains unchanged */
.kiashafa-mobile-menu-bar { display: none; }
.kiashafa-mobile-menu { display: none; }
.kiashafa-mobile-menu[hidden] { display: none !important; }

@media (max-width: 767px) {
    .kiashafa-desktop-nav { display: none !important; }
    .kiashafa-mobile-menu-bar { display: flex; align-items: center; padding: 8px 0; }
    .kiashafa-mobile-menu-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        background: #fff;
        color: #334155;
        padding: 9px 12px;
        font: inherit;
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
        text-align: right;
    }
    .dark .kiashafa-mobile-menu-toggle { background: #0f172a; color: #e2e8f0; border-color: #334155; }
    .kiashafa-hamburger { display: inline-flex; flex-direction: column; gap: 4px; width: 22px; flex: 0 0 22px; }
    .kiashafa-hamburger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
    .kiashafa-mobile-menu-toggle.is-open .kiashafa-hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .kiashafa-mobile-menu-toggle.is-open .kiashafa-hamburger span:nth-child(2) { opacity: 0; }
    .kiashafa-mobile-menu-toggle.is-open .kiashafa-hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .kiashafa-mobile-menu { display: flex; flex-direction: column; gap: 0; padding: 0 0 8px; }
    .kiashafa-mobile-menu:not([hidden]) { display: flex; }
    .kiashafa-mobile-menu a {
        display: block;
        padding: 11px 13px;
        border-bottom: 1px solid #e2e8f0;
        color: #334155;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
    }
    .dark .kiashafa-mobile-menu a { color: #e2e8f0; border-color: #334155; }
    .kiashafa-mobile-menu a:last-child { border-bottom: 0; }
    .kiashafa-mobile-menu a:hover { color: #ea580c; background: rgba(248,250,252,.8); }
    .dark .kiashafa-mobile-menu a:hover { background: rgba(30,41,59,.7); }
}

/* Main slider image fitting: fill frame without cropping from the top */
.kiashafa-main-slider .kiashafa-slide a.relative > img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center top !important; display: block !important; }


/* KiaPress: «از مطالبه تا اجرا» */
.kiashafa-header-project { white-space: nowrap; }
.kiashafa-nav-project { font-weight: 800; }
.kiashafa-admin-project-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.kiashafa-admin-project-grid p { margin:0; }
@media (max-width:782px) { .kiashafa-admin-project-grid { grid-template-columns:1fr; } }

.kiashafa-projects-page, .kiashafa-project-single-page { background:#f8fbff; color:#0f172a; min-height:60vh; padding:24px 0 48px; }
.kiashafa-projects-shell, .kiashafa-project-single-shell { width:min(1180px,calc(100% - 32px)); margin:0 auto; }
.kiashafa-projects-hero { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:28px; border-radius:24px; background:linear-gradient(135deg,#e0f2fe 0%,#f8fafc 60%,#fff7ed 100%); border:1px solid #bae6fd; box-shadow:0 8px 30px rgba(14,116,144,.08); }
.kiashafa-projects-kicker { display:inline-block; font-size:12px; font-weight:900; color:#0369a1; margin-bottom:8px; }
.kiashafa-projects-hero h1 { margin:0; font-size:clamp(28px,4vw,44px); font-weight:900; color:#0f172a; }
.kiashafa-projects-hero p { margin:8px 0 0; color:#475569; font-weight:700; }
.kiashafa-projects-hero-mark { display:flex; align-items:center; justify-content:center; width:74px; height:74px; border-radius:22px; background:#fff; border:1px solid #fed7aa; font-size:34px; box-shadow:0 8px 22px rgba(234,88,12,.08); }
.kiashafa-project-stats { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; margin:18px 0; }
.kiashafa-project-stats > div { background:#fff; border:1px solid #e2e8f0; border-radius:18px; padding:14px 12px; text-align:center; box-shadow:0 4px 16px rgba(15,23,42,.04); }
.kiashafa-project-stats strong { display:block; font-size:22px; font-weight:900; color:#0f172a; }
.kiashafa-project-stats span { display:block; margin-top:5px; font-size:10px; line-height:1.7; color:#64748b; font-weight:800; }
.kiashafa-project-stats .is-completed { border-color:#bbf7d0; background:#f0fdf4; }
.kiashafa-project-stats .is-approved { border-color:#bae6fd; background:#f0f9ff; }
.kiashafa-project-stats .is-tracking { border-color:#fde68a; background:#fffbeb; }
.kiashafa-project-stats .is-action { border-color:#fed7aa; background:#fff7ed; }
.kiashafa-project-stats .is-no-reply { border-color:#fecaca; background:#fef2f2; }
.kiashafa-project-filters { background:#fff; border:1px solid #e2e8f0; border-radius:20px; padding:16px; margin-bottom:20px; }
.kiashafa-project-filters form { display:grid; grid-template-columns:2fr 1.2fr 1.2fr 1.2fr auto; gap:10px; align-items:end; }
.kiashafa-project-filters label, .kiashafa-project-response-form label { display:block; font-size:11px; font-weight:900; color:#334155; }
.kiashafa-project-filters input, .kiashafa-project-filters select, .kiashafa-project-response-form input, .kiashafa-project-response-form textarea { display:block; width:100%; box-sizing:border-box; margin-top:6px; border:1px solid #cbd5e1; border-radius:12px; background:#f8fafc; color:#0f172a; padding:10px 12px; font:inherit; font-size:13px; outline:0; }
.kiashafa-project-filters input:focus, .kiashafa-project-filters select:focus, .kiashafa-project-response-form input:focus, .kiashafa-project-response-form textarea:focus { border-color:#38bdf8; box-shadow:0 0 0 3px rgba(14,165,233,.12); }
.kiashafa-project-filters button, .kiashafa-project-response-form button { border:0; border-radius:12px; padding:11px 16px; background:#0284c7; color:#fff; font-weight:900; cursor:pointer; white-space:nowrap; }
.kiashafa-project-filters button:hover, .kiashafa-project-response-form button:hover { background:#0369a1; }
.kiashafa-project-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.kiashafa-project-card { display:flex; flex-direction:column; min-height:250px; background:#fff; border:1px solid #e2e8f0; border-radius:22px; padding:18px; box-shadow:0 7px 25px rgba(15,23,42,.05); }
.kiashafa-project-card-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.kiashafa-project-status { display:inline-flex; align-items:center; width:max-content; border-radius:999px; padding:5px 9px; font-size:10px; line-height:1.5; font-weight:900; border:1px solid transparent; }
.kiashafa-project-status.is-completed { color:#166534; background:#f0fdf4; border-color:#bbf7d0; }
.kiashafa-project-status.is-approved { color:#075985; background:#f0f9ff; border-color:#bae6fd; }
.kiashafa-project-status.is-tracking { color:#92400e; background:#fffbeb; border-color:#fde68a; }
.kiashafa-project-status.is-action { color:#9a3412; background:#fff7ed; border-color:#fed7aa; }
.kiashafa-project-status.is-no-reply { color:#991b1b; background:#fef2f2; border-color:#fecaca; }
.kiashafa-project-date, .kiashafa-project-muted { font-size:10px; color:#64748b; line-height:1.8; }
.kiashafa-project-card h2 { margin:14px 0 8px; font-size:18px; line-height:1.7; font-weight:900; }
.kiashafa-project-card h2 a { color:#0f172a; text-decoration:none; }
.kiashafa-project-card h2 a:hover { color:#0284c7; }
.kiashafa-project-card-meta { display:flex; flex-wrap:wrap; gap:6px 14px; font-size:11px; font-weight:800; color:#475569; }
.kiashafa-project-card p { margin:10px 0 0; color:#475569; font-size:12px; line-height:2; }
.kiashafa-project-deadline-mini { margin-top:10px; padding:8px 10px; border-radius:10px; background:#f8fafc; color:#475569; font-size:10px; font-weight:800; }
.kiashafa-project-readmore { margin-top:auto; padding-top:14px; color:#0284c7; font-size:11px; font-weight:900; text-decoration:none; }
.kiashafa-project-readmore:hover { color:#ea580c; }
.kiashafa-project-empty { background:#fff; border:1px dashed #cbd5e1; border-radius:20px; padding:50px 20px; text-align:center; }
.kiashafa-project-empty div { font-size:42px; }
.kiashafa-project-empty h2 { margin:12px 0 6px; font-size:20px; font-weight:900; }
.kiashafa-project-empty p { margin:0; font-size:12px; color:#64748b; }
.kiashafa-project-pagination { margin-top:24px; display:flex; justify-content:center; }
.kiashafa-project-pagination .page-numbers { display:flex; flex-wrap:wrap; gap:6px; list-style:none; margin:0; padding:0; }
.kiashafa-project-pagination .page-numbers li { margin:0; }
.kiashafa-project-pagination .page-numbers a, .kiashafa-project-pagination .page-numbers span { display:block; padding:7px 11px; border:1px solid #cbd5e1; border-radius:10px; background:#fff; color:#334155; text-decoration:none; font-size:11px; font-weight:800; }
.kiashafa-project-pagination .page-numbers .current { background:#0284c7; color:#fff; border-color:#0284c7; }
.kiashafa-project-back { display:inline-flex; margin-bottom:14px; color:#0284c7; text-decoration:none; font-size:12px; font-weight:900; }
.kiashafa-project-back:hover { color:#ea580c; }
.kiashafa-project-single-card { background:#fff; border:1px solid #e2e8f0; border-radius:26px; padding:24px; box-shadow:0 10px 35px rgba(15,23,42,.06); }
.kiashafa-project-single-header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding-bottom:18px; border-bottom:1px solid #e2e8f0; }
.kiashafa-project-single-header h1 { margin:10px 0 5px; font-size:clamp(26px,4vw,40px); line-height:1.5; font-weight:900; }
.kiashafa-project-single-header p { margin:0; color:#64748b; font-size:12px; font-weight:800; }
.kiashafa-project-file-id { flex:0 0 auto; padding:8px 10px; border-radius:10px; background:#f8fafc; color:#64748b; font-size:10px; font-weight:900; }
.kiashafa-project-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0; }
.kiashafa-project-facts > div { padding:12px; border-radius:14px; border:1px solid #e2e8f0; background:#f8fafc; }
.kiashafa-project-facts span, .kiashafa-project-timeline-box span { display:block; color:#64748b; font-size:10px; font-weight:800; margin-bottom:5px; }
.kiashafa-project-facts strong, .kiashafa-project-timeline-box strong { display:block; color:#0f172a; font-size:12px; line-height:1.8; font-weight:900; }
.kiashafa-project-featured-image { overflow:hidden; border-radius:18px; margin:18px 0; }
.kiashafa-project-featured-image img { display:block; width:100%; height:auto; max-height:560px; object-fit:cover; }
.kiashafa-project-section { padding-top:20px; margin-top:20px; border-top:1px solid #e2e8f0; }
.kiashafa-project-section-heading { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.kiashafa-project-section-heading span { font-size:20px; }
.kiashafa-project-section-heading h2 { margin:0; font-size:18px; font-weight:900; }
.kiashafa-project-text, .kiashafa-project-highlight, .kiashafa-project-official-response { font-size:13px; line-height:2.25; color:#334155; }
.kiashafa-project-highlight { background:#f0f9ff; border:1px solid #bae6fd; border-radius:16px; padding:14px; }
.kiashafa-project-official-response { background:#f0fdf4; border:1px solid #bbf7d0; border-radius:16px; padding:14px; }
.kiashafa-project-timeline-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:18px 0; }
.kiashafa-project-timeline-box { padding:14px; border-radius:16px; border:1px solid #e2e8f0; background:#fff; }
.kiashafa-project-timeline-box.deadline { background:#fff7ed; border-color:#fed7aa; }
.kiashafa-project-countdown { display:block; margin-top:6px; font-size:10px; color:#c2410c; font-style:normal; font-weight:900; }
.kiashafa-project-followup-history { display:grid; gap:8px; }
.kiashafa-project-followup-history > div { padding:10px 12px; border-right:3px solid #38bdf8; border-radius:10px; background:#f8fafc; color:#475569; font-size:11px; line-height:1.9; }
.kiashafa-project-response-form { margin-top:24px; padding:18px; border-radius:20px; background:#eff6ff; border:1px solid #bfdbfe; }
.kiashafa-project-response-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px; }
.kiashafa-project-response-grid .full { grid-column:1/-1; }
.kiashafa-project-response-grid button { justify-self:start; }
.kiashafa-project-form-message { margin:0 0 12px; padding:10px 12px; border-radius:10px; font-size:11px; font-weight:800; }
.kiashafa-project-form-message.success { background:#f0fdf4; color:#166534; border:1px solid #bbf7d0; }
.kiashafa-project-form-message.error { background:#fef2f2; color:#991b1b; border:1px solid #fecaca; }
.kiashafa-project-single-footer { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-top:24px; padding-top:16px; border-top:1px solid #e2e8f0; color:#64748b; font-size:10px; line-height:1.8; }
.kiashafa-project-single-footer a { color:#0284c7; font-weight:900; text-decoration:none; white-space:nowrap; }
.prose-like p { margin:0 0 1em; }
@media (max-width:1000px) {
  .kiashafa-project-stats { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .kiashafa-project-filters form { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .kiashafa-project-filters form button { grid-column:1/-1; }
  .kiashafa-project-cards { grid-template-columns:1fr; }
  .kiashafa-project-timeline-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:767px) {
  .kiashafa-projects-page, .kiashafa-project-single-page { padding-top:14px; }
  .kiashafa-projects-shell, .kiashafa-project-single-shell { width:min(100% - 20px,1180px); }
  .kiashafa-projects-hero { padding:20px; }
  .kiashafa-projects-hero-mark { width:56px; height:56px; border-radius:16px; font-size:25px; }
  .kiashafa-project-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .kiashafa-project-filters form { grid-template-columns:1fr; }
  .kiashafa-project-single-card { padding:16px; border-radius:20px; }
  .kiashafa-project-single-header { flex-direction:column; }
  .kiashafa-project-facts { grid-template-columns:1fr 1fr; }
  .kiashafa-project-timeline-grid { grid-template-columns:1fr 1fr; }
  .kiashafa-project-response-grid { grid-template-columns:1fr; }
  .kiashafa-project-response-grid .full { grid-column:auto; }
  .kiashafa-project-single-footer { flex-direction:column; align-items:flex-start; }
}
@media (max-width:470px) {
  .kiashafa-header-project, .kiashafa-header-bmi, .kiashafa-header-doctor { padding-left:9px !important; padding-right:9px !important; }
  .kiashafa-project-facts, .kiashafa-project-timeline-grid { grid-template-columns:1fr; }
}


/* KiaPress «از مطالبه تا اجرا» — v1.10.1 */
.kiashafa-project-card-main{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;align-items:start;margin-top:14px}
.kiashafa-project-thumb{display:block;width:120px;height:88px;overflow:hidden;border-radius:14px;background:#f1f5f9;border:1px solid #e2e8f0;text-decoration:none}
.kiashafa-project-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.kiashafa-project-thumb-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:25px;color:#94a3b8}
.kiashafa-project-card-copy h2{margin:0 0 7px}
.kiashafa-project-card-copy p{margin-top:9px}
.kiashafa-project-card-links{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:14px}
.kiashafa-project-card-links .kiashafa-project-readmore{margin:0;padding:0}
.kiashafa-project-followup-link{color:#0f766e;font-size:11px;font-weight:900;text-decoration:none;white-space:nowrap}
.kiashafa-project-followup-link:hover{color:#ea580c}
.kiashafa-project-history{display:grid;gap:9px}
.kiashafa-project-history>div{padding:10px 14px 10px 12px;border:1px solid #e2e8f0;border-right:3px solid #38bdf8;border-radius:11px;background:#f8fafc;color:#475569;font-size:12px;line-height:2}
.kiashafa-project-kia-followup{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:24px;padding:15px 16px;border-radius:18px;background:#f0fdfa;border:1px solid #99f6e4}
.kiashafa-project-kia-followup>div{display:flex;align-items:center;gap:10px}
.kiashafa-project-kia-followup-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:#ccfbf1;font-size:18px}
.kiashafa-project-kia-followup strong{display:block;font-size:13px;font-weight:900;color:#134e4a}
.kiashafa-project-kia-followup p{margin:3px 0 0;font-size:10px;line-height:1.8;color:#64748b}
.kiashafa-project-kia-followup>a{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border-radius:11px;background:#0f766e;color:#fff;font-size:11px;font-weight:900;text-decoration:none;white-space:nowrap}
.kiashafa-project-kia-followup>a:hover{background:#115e59}
@media(max-width:767px){
  .kiashafa-project-card-main{grid-template-columns:92px minmax(0,1fr);gap:11px}
  .kiashafa-project-thumb{width:92px;height:70px;border-radius:12px}
  .kiashafa-project-card-copy h2{font-size:15px}
  .kiashafa-project-card-copy p{font-size:11px;line-height:1.9}
  .kiashafa-project-card-links{align-items:flex-start;flex-direction:column;gap:8px}
  .kiashafa-project-kia-followup{align-items:flex-start;flex-direction:column}
  .kiashafa-project-kia-followup>a{width:100%}
}

.kiashafa-home-identity { direction: rtl; }

/* Homepage video archive row */
.kiashafa-video-card { min-width: 0; }
.kiashafa-video-card img { display: block; }
@media (max-width: 639px) {
    .kiashafa-video-section .kiashafa-video-card h4 { font-size: 11px; line-height: 1.8; }
}

/* KiaPress video archive */
.kiashafa-video-archive{background:linear-gradient(180deg,#f8fafc 0,#fff 360px);min-height:60vh}
.kiashafa-video-archive-shell{max-width:1180px;margin:0 auto;padding:30px 18px 54px}
.kiashafa-video-archive-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;margin-bottom:24px;border:1px solid #dbe7ee;border-radius:24px;background:linear-gradient(135deg,#f0fdfa,#fff);box-shadow:0 8px 28px rgba(15,23,42,.05)}
.kiashafa-video-archive-kicker{display:inline-flex;align-items:center;gap:7px;color:#0f766e;font-size:12px;font-weight:900;margin-bottom:8px}.kiashafa-video-archive-kicker span{color:#f97316;font-size:9px}
.kiashafa-video-archive-hero h1{margin:0;color:#0f172a;font-size:30px;line-height:1.5;font-weight:950}.kiashafa-video-archive-hero p{margin:7px 0 0;color:#64748b;font-size:13px;line-height:2}
.kiashafa-video-archive-hero-icon{width:72px;height:72px;flex:0 0 72px;display:flex;align-items:center;justify-content:center;border-radius:22px;background:#0f766e;color:#fff;font-size:25px;padding-right:3px;box-shadow:0 10px 25px rgba(15,118,110,.18)}
.kiashafa-video-feature{margin-bottom:30px}.kiashafa-video-feature-link{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.9fr);overflow:hidden;border:1px solid #dbe4ea;border-radius:24px;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.07);text-decoration:none}
.kiashafa-video-feature-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:#0f172a}.kiashafa-video-feature-media img{width:100%;height:100%;object-fit:cover;display:block}.kiashafa-video-feature-badge{position:absolute;top:16px;right:16px;padding:7px 11px;border-radius:999px;background:#f97316;color:#fff;font-size:11px;font-weight:900}.kiashafa-video-play-large,.kiashafa-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.96);color:#ea580c;box-shadow:0 8px 25px rgba(0,0,0,.18);padding-right:3px}.kiashafa-video-play-large{width:64px;height:64px;font-size:22px}.kiashafa-video-feature-link:hover .kiashafa-video-play-large{transform:translate(-50%,-50%) scale(1.06)}
.kiashafa-video-feature-copy{padding:30px;display:flex;flex-direction:column;justify-content:center}.kiashafa-video-meta{font-size:11px;color:#94a3b8;font-weight:700}.kiashafa-video-feature-copy h2{margin:9px 0 10px;color:#0f172a;font-size:22px;line-height:1.8;font-weight:950}.kiashafa-video-feature-copy p{margin:0;color:#64748b;font-size:13px;line-height:2.05}.kiashafa-video-watch{margin-top:20px;color:#ea580c;font-size:12px;font-weight:950}
.kiashafa-video-archive-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding-bottom:11px;border-bottom:1px solid #e2e8f0}.kiashafa-video-archive-heading>div{display:flex;align-items:center;gap:9px}.kiashafa-video-archive-heading div span{width:10px;height:10px;border-radius:50%;background:#f97316}.kiashafa-video-archive-heading h2{margin:0;font-size:19px;font-weight:950;color:#0f172a}.kiashafa-video-archive-heading strong{font-size:11px;color:#94a3b8}
.kiashafa-video-archive-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.kiashafa-video-archive-card{overflow:hidden;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 4px 16px rgba(15,23,42,.045);transition:transform .2s ease,box-shadow .2s ease}.kiashafa-video-archive-card:hover{transform:translateY(-2px);box-shadow:0 9px 25px rgba(15,23,42,.09)}.kiashafa-video-archive-card-media{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;background:#0f172a}.kiashafa-video-archive-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.kiashafa-video-archive-card:hover img{transform:scale(1.04)}.kiashafa-video-play{width:44px;height:44px;font-size:15px}.kiashafa-video-archive-card-body{padding:12px 13px 14px}.kiashafa-video-archive-card-body h3{margin:5px 0 0;font-size:13px;line-height:1.9;font-weight:900}.kiashafa-video-archive-card-body h3 a{color:#1e293b;text-decoration:none}.kiashafa-video-archive-card-body h3 a:hover{color:#ea580c}.kiashafa-video-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,#0f766e,#0f172a);font-size:28px}
.kiashafa-video-pagination{display:flex;justify-content:center;margin-top:30px}.kiashafa-video-pagination ul{display:flex;align-items:center;justify-content:center;gap:6px;list-style:none;margin:0;padding:0}.kiashafa-video-pagination a,.kiashafa-video-pagination span{display:flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border:1px solid #dbe4ea;border-radius:10px;background:#fff;color:#475569;text-decoration:none;font-size:11px;font-weight:900}.kiashafa-video-pagination .current{background:#0f766e;border-color:#0f766e;color:#fff}
@media(max-width:900px){.kiashafa-video-archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.kiashafa-video-feature-link{grid-template-columns:1fr}.kiashafa-video-feature-copy{padding:22px}}
@media(max-width:640px){.kiashafa-video-archive-shell{padding:20px 12px 40px}.kiashafa-video-archive-hero{padding:20px;border-radius:18px}.kiashafa-video-archive-hero h1{font-size:23px}.kiashafa-video-archive-hero-icon{width:54px;height:54px;flex-basis:54px;border-radius:16px;font-size:19px}.kiashafa-video-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.kiashafa-video-archive-card{border-radius:13px}.kiashafa-video-archive-card-body{padding:9px}.kiashafa-video-archive-card-body h3{font-size:11px;line-height:1.8}.kiashafa-video-feature-copy h2{font-size:18px}.kiashafa-video-pagination a,.kiashafa-video-pagination span{min-width:34px;height:34px}}


/* KiaPress official Aparat live player — v1.10.12 */
.kiashafa-live-section{width:100%;}
.kiashafa-live-dot{display:inline-block;width:11px;height:11px;border-radius:999px;background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.12);animation:kiashafa-live-pulse 1.8s ease-in-out infinite;}
.kiashafa-live-player{position:relative;width:100%;padding-top:56.25%;overflow:hidden;border:1px solid #dbe4ea;border-radius:22px;background:#0f172a;box-shadow:0 8px 28px rgba(15,23,42,.08);}
.kiashafa-live-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}
@keyframes kiashafa-live-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.78);opacity:.72}}
@media(max-width:640px){.kiashafa-live-player{border-radius:16px}.kiashafa-live-section h3{font-size:18px}}

/* KiaPress multi-source post video */
.kiashafa-post-video{width:100%;}
.kiashafa-post-video-ratio{position:relative;width:100%;aspect-ratio:16/9;min-height:0;background:#000;}
.kiashafa-post-video-ratio iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}
.kiashafa-post-video video{display:block;width:100%;height:auto;max-height:none;aspect-ratio:16/9;object-fit:contain;background:#000;}
@media (min-width:1024px){
    .single-post .kiashafa-post-video,
    .single .kiashafa-post-video{
        width:min(1180px,calc(100vw - 40px));
        margin-left:0;
        margin-right:0;
        position:relative;
        left:50%;
        transform:translateX(-50%);
    }
}
@media (max-width:1023px){
    .kiashafa-post-video{width:100%;left:auto;transform:none;}
}
