/*
Theme Name: موج نیوز
Theme URI: https://mojnews.ir
Author: NJKPARS TEAMS
Author URI: https://njkpars.ir/
Description: قالب خبری حرفه‌ای موج نیوز - طراحی دقیق بر اساس اسکرین‌شات با پشتیبانی کامل RTL، CodeStar Framework، پست تایپ‌های سفارشی و متاباکس
Version: 1.0.0
Requires at least: 0.1
Tested up to: 0.1
Requires PHP: 7.4
Text Domain: moj-news
Tags: news, rtl, persian, custom-menu, featured-images, post-formats, sticky-post, theme-options, translation-ready
*/

/* ============================================
   RESET & BASE
============================================ */
@font-face {
    font-family: 'irsans';
    font-style: normal;
    font-weight: 400;
    src: url('./assets/fonts/irsans/irsans.eot');
    src: url('./assets/fonts/irsans/irsans.woff') format("embedded-opentype"),
         url('./assets/fonts/irsans/irsans.ttf') format("truetype");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'irsans', 'Tahoma', 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #222;
    line-height: 1.7;
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

a:hover {
    color: #c8102e;
}

a.site-logo:hover .logo-tagline {
    color: #fff !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* ============================================
   TOP BAR
============================================ */
.top-bar {
    background: #be0002;
    color: #fff;
    font-size: 13px;
    padding: 6px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.top-bar-date {
    font-weight: 500;
}

.top-bar-social {
    line-height: 1;
}

.moj-date-sep {
    opacity: 0.55;
    margin: 0 4px;
}

.moj-date-greg {
    opacity: 0.85;
    font-size: 0.95em;
}

.top-bar-social a {
    color: #fff;
    margin-left: 10px;
    font-size: 14px;
}

.top-bar-social a:hover {
    opacity: 0.8;
}

.made-with-ai {
    background: #fff;
    color: #c8102e;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   HEADER
============================================ */
.site-header {
    background: #c8102e;
    padding: 22px 0;
    position: relative;
    min-height: 90px;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 64px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.site-logo img {
    height: 64px;
    width: auto;
}

.site-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.site-logo .logo-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
}

.site-logo .logo-tagline {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 3px;
}

.header-search {
    flex: 1;
    max-width: 620px;
    position: relative;
}

.header-search input {
    width: 100%;
    padding: 14px 18px 14px 42px;
    border-radius: 28px;
    background: transparent;
    font-size: 15px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    min-height: 48px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.header-search input:focus {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-search button {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    opacity: 0.9;
}

.header-search button:hover {
    opacity: 1;
}

/* Ad slots */
.moj-ad {
    margin: 12px 0;
    text-align: center;
    overflow: hidden;
}
.moj-ad img {
    max-width: 100%;
    height: auto;
}
.ad-header .moj-ad {
    margin: 10px 0 0;
}
.ad-after-content {
    margin-top: 25px;
}

/* ============================================
   NAVIGATION
============================================ */
.main-nav-wrapper {
    background: #b00503;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li.current_page_item {
    background-color: #fff;
}

.nav-menu li.current-menu-item {
    background-color: #fff;
}

.nav-menu > li > a {
    display: block;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    border-bottom: 3px solid transparent;
}

.nav-menu > li > a:hover {
    color: #e3ddde;
}

.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
    color: #c8102e;
    border-bottom-color: #c8102e;
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 100;
    border-radius: 0 0 6px 6px;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.nav-menu .sub-menu a:hover {
    background: #f8f8f8;
    color: #c8102e;
}

.btn-latest-news {
    background: #c8102e;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.btn-latest-news:hover {
    background: #a00d25;
    color: #fff !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

/* ============================================
   BREAKING / TICKER
============================================ */
.breaking-news {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    overflow: hidden;
}

.breaking-news .container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.breaking-label {
    background: #c8102e;
    color: #fff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.breaking-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.breaking-ticker ul {
    display: flex;
    animation: ticker 30s linear infinite;
}

.breaking-ticker li {
    white-space: nowrap;
    padding-left: 40px;
    font-size: 13px;
    color: #444;
}

.breaking-ticker li a:hover {
    color: #c8102e;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* ============================================
   MAIN CONTENT LAYOUT
============================================ */
.site-content {
    padding: 25px 0 40px;
}

.home-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 25px;
}
/* سایدبار سمت چپ (در RTL ستون دوم سمت چپ قرار می‌گیرد) */

/* ============================================
   SIDEBAR - IMPORTANT NEWS
============================================ */
.sidebar-important {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    /* هم‌ارتفاع تقریبی با اسلایدر */
    max-height: 380px;
}

.sidebar-important .section-title {
    flex-shrink: 0;
}

.sidebar-important .important-list {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    max-height: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #c8102e #f0f0f0;
}

.sidebar-important .important-list::-webkit-scrollbar {
    width: 6px;
}

.sidebar-important .important-list::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.sidebar-important .important-list::-webkit-scrollbar-thumb {
    background: #c8102e;
    border-radius: 4px;
}

.section-title {
    background: #c8102e;
    color: #fff;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title a {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}

.section-title a:hover {
    opacity: 1;
}

.important-list {
    padding: 0;
}

.important-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.important-item:last-child {
    border-bottom: none;
}

.important-item:hover {
    background: #fafafa;
}

.important-item .thumb {
    width: 70px;
    height: 55px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.important-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.important-item .content {
    flex: 1;
    min-width: 0;
}

.important-item .title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.important-item .meta {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

/* ============================================
   MAIN SLIDER / FEATURED
============================================ */
.main-featured {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: #111;
}

.featured-slide {
    position: relative;
    height: 380px;
}

.featured-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 30px 25px 20px;
    color: #fff;
}

.featured-cat {
    display: inline-block;
    background: #c8102e;
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.featured-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 8px;
}

.featured-title a {
    color: #fff;
}

.featured-title a:hover {
    color: #ffd0d0;
}

.featured-excerpt {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 90%;
}

.featured-meta {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 10px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 5;
}

.slider-nav:hover {
    background: rgba(200,16,46,0.9);
}

.slider-prev { right: 15px; }
.slider-next { left: 15px; }

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.slider-dots span.active {
    background: #c8102e;
}

/* ============================================
   CATEGORY BLOCKS
============================================ */
.category-blocks {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.cat-block {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.cat-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.cat-block .cat-image {
    height: 150px;
    overflow: hidden;
    position: relative;
}

.cat-block .cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.cat-block:hover .cat-image img {
    transform: scale(1.08);
}

.cat-block .cat-title {
    background: #c8102e;
    color: #fff;
    text-align: center;
    padding: 8px 5px;
    font-size: 13px;
    font-weight: 700;
    position: absolute;
    top: 0;
    width: 100%;
}

.cat-block .cat-desc {
    padding: 10px 12px;
    font-size: 11px;
    color: #666;
    text-align: center;
    line-height: 1.5;
    min-height: 50px;
}

.cat-block .cat-link {
    display: block;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    color: #c8102e;
    font-weight: 600;
    border-top: 1px solid #f0f0f0;
}

.cat-block .cat-link:hover {
    background: #fff5f5;
}

/* ============================================
   BOTTOM SECTIONS
============================================ */
.bottom-sections {
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    gap: 20px;
    margin-top: 30px;
}

/* Most Popular */
.popular-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-rank {
    width: 28px;
    height: 28px;
    background: #c8102e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.popular-item .title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.popular-item .views {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}

/* Latest News */
.latest-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.latest-item {
    display: flex;
    gap: 15px;
    padding: 15px 18px;
    border-bottom: 1px solid #f0f0f0;
}

.latest-item:last-child {
    border-bottom: none;
}

.latest-item .thumb {
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.latest-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-item .content {
    flex: 1;
}

.latest-item .cat-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #c8102e;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 5px;
}

.latest-item .title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 5px;
}

.latest-item .excerpt {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-item .meta {
    font-size: 11px;
    color: #999;
    margin-top: 6px;
}

/* Video & Newsletter */
.side-widgets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.video-box .video-thumb {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.video-box .video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(200,16,46,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.video-box .video-title {
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.newsletter-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 0;
}

.newsletter-box .section-title {
    margin-bottom: 0;
}

.newsletter-content {
    padding: 18px;
}

.newsletter-content p {
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 10px;
}

.newsletter-form button {
    width: 100%;
    background: #c8102e;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #a00d25;
}

/* ============================================
   SINGLE POST
============================================ */
.site-content .single-layout .single-post {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.single-header {
    margin-bottom: 25px;
}

.single-cat {
    display: inline-block;
    background: #c8102e;
    color: #fff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.single-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
    color: #111;
    margin-bottom: 15px;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #777;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.single-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-featured-img {
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
}

.single-featured-img img {
    width: 100%;
}

.single-content {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.single-content p {
    margin-bottom: 18px;
}

.single-content h2,
.single-content h3 {
    margin: 25px 0 15px;
    font-weight: 700;
}

.single-content img {
    border-radius: 6px;
    margin: 20px 0;
}

.single-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.single-tags a {
    display: inline-block;
    background: #f5f5f5;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-left: 8px;
    margin-bottom: 8px;
}

.single-tags a:hover {
    background: #c8102e;
    color: #fff;
}

.related-posts {
    margin-top: 40px;
}

.related-posts h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c8102e;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-item {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.related-item .thumb {
    height: 140px;
    overflow: hidden;
}

.related-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-item .title {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

/* مطالب مرتبط — کارت کوچک شبیه آرشیو با سایه رو به بالا */
.related-card-overlay {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 220px;
    background: #111;
    box-shadow: 0 3px 14px rgba(0,0,0,0.12);
}

.related-card-overlay .card-link {
    display: block;
    height: 100%;
    position: relative;
    color: #fff;
}

.related-card-overlay .thumb {
    position: absolute;
    inset: 0;
    height: 100%;
    margin: 0;
}

.related-card-overlay .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-card-overlay:hover .thumb img {
    transform: scale(1.07);
}

.related-card-overlay .thumb-shadow {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0.55) 40%,
        rgba(0,0,0,0.15) 70%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}

.related-card-overlay .body {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 2;
    padding: 12px 12px 14px;
}

.related-card-overlay .title {
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

.related-card-overlay .excerpt {
    font-size: 11px;
    color: rgba(255,255,255,0.82);
    line-height: 1.45;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-overlay .meta {
    font-size: 10px;
    color: rgba(255,255,255,0.65);
}

/* سایدبار سینگل */
.single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.moj-side-widget {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.moj-side-widget .section-title {
    margin: 0;
}

.moj-side-search-form {
    display: flex;
    gap: 0;
    padding: 14px;
    position: relative;
}

.moj-side-search-form input {
    width: 100%;
    padding: 11px 14px 11px 42px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 13px;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
}

.moj-side-search-form input:focus {
    border-color: #c8102e;
    background: #fff;
}

.moj-side-search-form button {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #c8102e;
    font-size: 15px;
    cursor: pointer;
    padding: 6px;
}

.moj-side-list {
    padding: 4px 0;
}

.moj-side-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: background 0.2s;
}

.moj-side-item:last-child {
    border-bottom: none;
}

.moj-side-item:hover {
    background: #fafafa;
}

.moj-side-item .thumb {
    width: 64px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.moj-side-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moj-side-item .title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.moj-side-item .meta {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.moj-side-rank-item {
    gap: 10px;
}

.moj-side-rank {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #c8102e;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.moj-side-cats-list,
.moj-side-archive-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.moj-side-cats-list li a,
.moj-side-archive-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s, color 0.2s;
}

.moj-side-cats-list li:last-child a,
.moj-side-archive-list li:last-child a {
    border-bottom: none;
}

.moj-side-cats-list li a:hover,
.moj-side-archive-list li a:hover {
    background: #fff5f5;
    color: #c8102e;
}

.moj-side-cats-list .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.moj-side-cats-list .name,
.moj-side-archive-list .name {
    flex: 1;
}

.moj-side-cats-list .count,
.moj-side-archive-list .count {
    background: #f0f0f0;
    color: #666;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 28px;
    text-align: center;
}

.moj-side-cats-list li a:hover .count,
.moj-side-archive-list li a:hover .count {
    background: #c8102e;
    color: #fff;
}

.moj-side-dynamic .widget {
    padding: 14px;
}

.moj-side-dynamic .widget-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c8102e;
}

/* ============================================
   ARCHIVE
============================================ */
.archive-header {
    background: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.archive-title {
    font-size: 24px;
    font-weight: 800;
    color: #111;
}

.archive-desc {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.archive-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s;
}

.archive-card:hover {
    transform: translateY(-3px);
}

.archive-card .thumb {
    height: 180px;
    overflow: hidden;
}

.archive-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-card .body {
    padding: 15px;
}

.archive-card .cat {
    font-size: 11px;
    color: #c8102e;
    font-weight: 700;
    margin-bottom: 6px;
}

.archive-card .title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
}

.archive-card .excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-card .meta {
    font-size: 11px;
    color: #999;
    margin-top: 10px;
}

/* Category / Archive / Search overlay cards — جمع‌وجورتر */
.archive-grid-overlay {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.archive-card-overlay {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.1);
    background: #111;
    height: 220px;
}

.archive-card-overlay .card-link {
    display: block;
    height: 100%;
    position: relative;
    color: #fff;
}

.archive-card-overlay .thumb {
    position: absolute;
    inset: 0;
    height: 100%;
    margin: 0;
}

.archive-card-overlay .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.archive-card-overlay:hover .thumb img {
    transform: scale(1.06);
}

/* سایه از پایین به بالا روی تصویر */
.archive-card-overlay .thumb-shadow {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.62) 38%,
        rgba(0,0,0,0.18) 68%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}

.archive-card-overlay .body {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 2;
    padding: 12px 12px 10px;
    background: transparent;
}

.archive-card-overlay .title {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}

.archive-card-overlay .excerpt {
    font-size: 11px;
    color: rgba(255,255,255,0.82);
    line-height: 1.45;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-card-overlay .meta {
    font-size: 10px;
    color: rgba(255,255,255,0.68);
    display: flex;
    gap: 10px;
    margin-top: 0;
}

.archive-card-overlay .meta i {
    margin-left: 3px;
}

.archive-card-overlay .overlay-cat {
    display: inline-block;
    background: #c8102e;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 4px;
}

/* هدر دسته با کاور */
.archive-header-cat.has-cover {
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
}

.archive-header-cat .cat-cover {
    position: relative;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.archive-header-cat .cat-cover-overlay {
    position: absolute;
    inset: 0;
}

.archive-header-cat .cat-cover-content {
    position: relative;
    z-index: 2;
    padding: 28px 30px;
    color: #fff;
    width: 100%;
}

.archive-header-cat .cat-cover-content .archive-title {
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.archive-header-cat .cat-cover-content .archive-desc {
    color: rgba(255,255,255,0.9);
    max-width: 700px;
}

@media (max-width: 1100px) {
    .archive-grid-overlay {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .archive-grid-overlay {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .archive-card-overlay {
        height: 200px;
    }
}

@media (max-width: 560px) {
    .archive-grid-overlay {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .archive-card-overlay {
        height: 180px;
    }
    .archive-card-overlay .title {
        font-size: 12px;
    }
    .archive-card-overlay .excerpt {
        display: none;
    }
    .archive-card-overlay .body {
        padding: 10px 10px 8px;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 35px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pagination a:hover,
.pagination .current {
    background: #c8102e;
    color: #fff;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 50px 0 0;
    margin-top: 50px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-widget h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: #c8102e;
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
}

.footer-about {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    font-size: 14px;
}

.footer-social a:hover {
    background: #c8102e;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 13px;
    color: #aaa;
}

.footer-links a:hover {
    color: #c8102e;
}

.footer-bottom {
    background: #111;
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* ============================================
   گزارش‌های ویژه
============================================ */
.reports-section {
    margin-top: 30px;
}

.section-title-bar {
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    background: #fff;
    padding: 18px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.report-card {
    background: #fafafa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.report-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.report-thumb {
    display: block;
    position: relative;
    height: 160px;
    overflow: hidden;
}

.report-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.report-card:hover .report-thumb img {
    transform: scale(1.06);
}

.report-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #c8102e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
}

.report-body {
    padding: 12px 14px 14px;
}

.report-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.report-excerpt {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.report-meta {
    font-size: 11px;
    color: #999;
    display: flex;
    gap: 12px;
}

/* ============================================
   ستون‌های خبری دسته‌بندی
============================================ */
.cat-columns-section {
    margin-top: 30px;
}

.cat-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cat-column {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.cat-column-list {
    padding: 0;
}

.cat-col-featured {
    border-bottom: 1px solid #f0f0f0;
}

.cat-col-featured .thumb {
    display: block;
    height: 160px;
    overflow: hidden;
}

.cat-col-featured .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-col-featured .title {
    font-size: 15px;
    font-weight: 700;
    padding: 12px 14px 4px;
    line-height: 1.5;
}

.cat-col-featured .meta {
    font-size: 11px;
    color: #999;
    padding: 0 14px 12px;
}

.cat-col-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.cat-col-item:last-child {
    border-bottom: none;
}

.cat-col-item .thumb {
    width: 70px;
    height: 55px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.cat-col-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-col-item .title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.cat-col-item .meta {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

/* ============================================
   انتخاب سردبیر + چندرسانه‌ای
============================================ */
.editor-multi-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.editor-pick-box,
.multimedia-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.editor-pick-grid {
    padding: 8px 0;
}

.editor-pick-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.editor-pick-item:last-child {
    border-bottom: none;
}

.editor-pick-item .thumb {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.editor-pick-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editor-pick-item .title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.editor-pick-item .meta {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.multimedia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 14px;
}

.multimedia-item .thumb {
    display: block;
    position: relative;
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
}

.multimedia-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mm-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(200, 16, 46, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

.multimedia-item .title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .home-layout {
        grid-template-columns: 1fr;
    }
    .category-blocks {
        grid-template-columns: repeat(3, 1fr);
    }
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cat-columns-grid {
        grid-template-columns: 1fr;
    }
    .editor-multi-row {
        grid-template-columns: 1fr;
    }
    .bottom-sections {
        grid-template-columns: 1fr 1fr;
    }
    .side-widgets {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-main {
        flex-wrap: wrap;
    }
    .header-search {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 10px;
    }
    .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .nav-menu > li > a {
        color: #000;
    }
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        padding: 10px 0;
    }
    .category-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .multimedia-grid {
        grid-template-columns: 1fr;
    }
    .bottom-sections {
        grid-template-columns: 1fr;
    }
    .side-widgets {
        grid-template-columns: 1fr;
    }
    .archive-grid {
        grid-template-columns: 1fr;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    .featured-slide {
        height: 280px;
    }
    .featured-title {
        font-size: 18px;
    }
    .single-post {
        padding: 20px 15px;
    }
    .single-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .category-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
    .site-logo .logo-title {
        font-size: 22px;
    }
}


/* ============================================
   COMMENTS
============================================ */
.moj-comments {
    margin-top: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}

.moj-comments-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #c8102e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.moj-comments-title i {
    color: #c8102e;
}

.moj-no-comments {
    color: #888;
    font-size: 14px;
    margin: -8px 0 20px;
}

.moj-comment-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.moj-comment-list .children {
    list-style: none;
    margin: 12px 0 0 20px;
    padding: 0;
    border-right: 2px solid #f0f0f0;
    padding-right: 14px;
}

.moj-comment-item {
    margin-bottom: 18px;
}

.moj-comment-body {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}

.moj-comment-avatar img {
    border-radius: 50%;
    display: block;
}

.moj-comment-content {
    flex: 1;
    min-width: 0;
}

.moj-comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.moj-comment-author {
    font-weight: 700;
    font-size: 14px;
    color: #222;
}

.moj-comment-author a {
    color: #222;
}

.moj-comment-date {
    font-size: 12px;
    color: #999;
}

.moj-comment-awaiting {
    background: #fff8e1;
    color: #f57c00;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.moj-comment-text {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.moj-comment-text p {
    margin-bottom: 8px;
}

.moj-comment-reply {
    margin-top: 8px;
}

.moj-comment-reply a {
    font-size: 12px;
    font-weight: 600;
    color: #c8102e;
}

.moj-comments-closed {
    color: #999;
    font-size: 14px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 8px;
}

/* Form */
.moj-respond {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.moj-respond-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.moj-respond-title i {
    color: #c8102e;
}

.moj-respond-note {
    font-size: 12px;
    color: #888;
    margin-bottom: 16px;
}

.moj-logged-in {
    font-size: 13px;
    color: #555;
    margin-bottom: 14px;
}

.moj-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.moj-form-field {
    margin-bottom: 14px;
}

.moj-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.moj-form-field .req {
    color: #c8102e;
}

.moj-form-field input,
.moj-form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.moj-form-field input:focus,
.moj-form-field textarea:focus {
    outline: none;
    border-color: #c8102e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
}

.moj-form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.moj-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.moj-comment-submit {
    background: #c8102e;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s;
}

.moj-comment-submit:hover {
    background: #a00d25;
}

.moj-comment-submit:disabled,
.moj-comment-submit.is-loading {
    opacity: 0.7;
    cursor: wait;
}

.moj-comment-status {
    font-size: 13px;
    color: #666;
}

.moj-comment-status.is-success {
    color: #2e7d32;
    font-weight: 600;
}

.moj-comment-status.is-error {
    color: #c62828;
    font-weight: 600;
}

.moj-comment-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 13px;
}

@media (max-width: 600px) {
    .moj-form-row-2 {
        grid-template-columns: 1fr;
    }
    .moj-comments {
        padding: 18px 14px;
    }
    .moj-comment-body {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   ABOUT & CONTACT PAGES
============================================ */
.moj-page-hero {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    margin: 20px 0 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.moj-page-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #1a1a1a;
}

.moj-page-lead {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.moj-page-cover {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.moj-page-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.moj-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.moj-about-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-align: center;
}

.moj-about-card .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(200,16,46,0.1);
    color: #c8102e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.moj-about-card h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 8px;
}

.moj-about-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.moj-page-content {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    line-height: 1.9;
}

.moj-contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.moj-contact-form-wrap,
.moj-contact-info {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.moj-contact-section-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c8102e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.moj-contact-section-title i {
    color: #c8102e;
}

.moj-contact-form .moj-form-field {
    margin-bottom: 14px;
}

.moj-contact-submit {
    background: #c8102e;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.moj-contact-submit:hover {
    background: #a00d25;
}

.moj-contact-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.moj-contact-status.is-success { color: #2e7d32; font-weight: 600; font-size: 13px; }
.moj-contact-status.is-error { color: #c62828; font-weight: 600; font-size: 13px; }

.moj-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.moj-contact-item .ci-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(200,16,46,0.1);
    color: #c8102e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.moj-contact-item strong {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.moj-contact-item a,
.moj-contact-item p {
    font-size: 14px;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

.moj-contact-item a:hover {
    color: #c8102e;
}

.moj-contact-map {
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.moj-contact-map iframe {
    width: 100%;
    min-height: 220px;
    border: 0;
    display: block;
}

@media (max-width: 900px) {
    .moj-about-grid {
        grid-template-columns: 1fr;
    }
    .moj-contact-layout {
        grid-template-columns: 1fr;
    }
}
