/**
 * Rochi Mag - Core Styling & Rochi.ir/mag High-Fidelity Design System
 * Text Domain: rochi-mag
 */

:root,
[data-theme="light"] {
  /* Rochi Signature Color Palette */
  --rochi-primary: #ec406a;
  --rochi-primary-hover: #d82d56;
  --rochi-secondary: #1e83f0;
  --rochi-secondary-hover: #1669c1;
  --rochi-accent: #e61d59;
  --rochi-dark: #464749;
  --rochi-text: #464749;
  --rochi-text-muted: #7d7e7f;
  --rochi-bg: #ffffff;
  --rochi-surface: #ffffff;
  --rochi-card-bg: #ffffff;
  --rochi-header-bg: #ffffff;
  --rochi-footer-bg: #2e3e77;
  --rochi-border: #e2e8f0;
  --rochi-border-light: #f1f5f9;
  --rochi-radius-sm: 6px;
  --rochi-radius: 10px;
  --rochi-radius-lg: 16px;
  --rochi-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --rochi-shadow: 0 5px 30px rgba(70, 72, 77, 0.08);
  --rochi-shadow-hover: 0 10px 35px rgba(70, 72, 77, 0.14);
  --rochi-font-body: 'iranyekan', 'IRANSans', 'Vazirmatn', system-ui, -apple-system, sans-serif;
  --rochi-font-heading: 'iranyekan', 'IRANSans', 'Vazirmatn', system-ui, -apple-system, sans-serif;
  --rochi-container: 1230px;
  --rochi-header-h: 100px;
}

[data-theme="dark"] {
  --rochi-primary: #ec406a;
  --rochi-primary-hover: #f45e83;
  --rochi-secondary: #3b82f6;
  --rochi-accent: #e61d59;
  --rochi-dark: #0f172a;
  --rochi-bg: #0b0f19;
  --rochi-surface: #111827;
  --rochi-card-bg: #1f2937;
  --rochi-header-bg: #0f172a;
  --rochi-footer-bg: #0f172a;
  --rochi-text: #f3f4f6;
  --rochi-text-muted: #9ca3af;
  --rochi-border: #374151;
  --rochi-border-light: #1f2937;
  --rochi-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  --rochi-shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.6);
}

/* ========================================================
   BASE & RESET
   ======================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
  font-size: 15px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--rochi-font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--rochi-text);
  background-color: var(--rochi-bg);
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
  direction: rtl;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--rochi-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--rochi-font-heading);
  color: var(--rochi-text);
  line-height: 1.35;
  margin-top: 0;
  font-weight: 700;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
}

.rochi-container {
  width: 100%;
  max-width: var(--rochi-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Reading Progress Bar */
#rochi-reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--rochi-primary), var(--rochi-secondary));
  z-index: 99999;
  transition: width 0.1s linear;
}

/* ========================================================
   HEADER & NAVIGATION
   ======================================================== */
.site-header.rochi-header {
  background: var(--rochi-header-bg);
  border-bottom: 1px solid var(--rochi-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--rochi-header-h);
}

.site-header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-logo .rochi-main-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.site-navigation.rochi-nav-menu .rochi-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.rochi-menu li:has(> a[href*="/blog/"]),
.rochi-menu li:has(> a[href*="category_name=news"]),
.rochi-drawer-menu li:has(> a[href*="/blog/"]),
.rochi-drawer-menu li:has(> a[href*="category_name=news"]) {
  display: none !important;
}

.rochi-menu > li {
  position: relative;
}

.rochi-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--rochi-text);
  white-space: nowrap;
}

.rochi-menu > li > a:hover {
  color: var(--rochi-primary);
}

.rochi-menu > li > a .caret-arrow {
  font-size: 10px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.rochi-menu > li:hover > a .caret-arrow {
  transform: rotate(180deg);
  color: var(--rochi-primary);
}

/* Dropdown Sub-menus */
.rochi-menu .sub-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: var(--rochi-surface);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  margin-top: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
  list-style: none;
}

.rochi-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rochi-menu .sub-menu li {
  position: relative;
}

.rochi-menu .sub-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--rochi-text);
  transition: background 0.15s ease, color 0.15s ease, padding-right 0.15s ease;
}

.rochi-menu .sub-menu li a:hover {
  background: rgba(236, 64, 106, 0.08);
  color: var(--rochi-primary);
  padding-right: 22px;
}

/* Nested Submenu (Third level) - Flies out towards the Left in RTL */
.rochi-menu .sub-menu .sub-menu,
.rochi-menu .sub-menu .sub-menu-nested {
  position: absolute;
  top: 0;
  right: 100%;
  left: auto;
  margin-top: -8px;
  min-width: 210px;
  box-shadow: -5px 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: var(--rochi-radius-sm);
}

/* Logo responsiveness: Desktop vs Mobile */
.rochi-desktop-logo {
  display: block;
}
.rochi-mobile-logo {
  display: none;
}

@media (max-width: 768px) {
  .rochi-desktop-logo {
    display: block !important;
    height: 34px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain !important;
  }
  .rochi-mobile-logo {
    display: none !important;
  }
}


/* CTA Shop Menu Item */
.rochi-menu .menu-item-cta a {
  background: var(--rochi-primary) !important;
  color: #ffffff !important;
  padding: 6px 16px !important;
  border-radius: 20px;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(236, 64, 106, 0.25);
}

.rochi-menu .menu-item-cta a:hover {
  background: var(--rochi-primary-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(236, 64, 106, 0.35);
}

/* Header Left Tools */
.site-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rochi-search-toggle {
  background: transparent;
  border: 1px solid var(--rochi-border);
  color: var(--rochi-text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s ease;
}

.rochi-search-toggle:hover {
  border-color: var(--rochi-primary);
  color: var(--rochi-primary);
  background: rgba(236, 64, 106, 0.05);
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--rochi-radius-sm);
  background: transparent;
  border: 1px solid var(--rochi-border);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
  border-color: var(--rochi-primary);
}

.mobile-nav-toggle span,
.mobile-nav-toggle .hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--rochi-text);
  border-radius: 2px;
  transition: transform 0.2s ease;
}


/* Collapsible Quick Search Bar */
.rochi-header-search-bar {
  display: none;
  background: var(--rochi-surface);
  border-top: 1px solid var(--rochi-border);
  padding: 16px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  animation: slideDown 0.2s ease;
}

.rochi-header-search-bar.is-open {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.rochi-quick-search-form {
  display: flex;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  border: 2px solid var(--rochi-border);
  border-radius: 30px;
  padding: 4px 16px;
  background: var(--rochi-bg);
}

.rochi-quick-search-form .search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--rochi-text);
}

.rochi-quick-search-form .search-submit,
.rochi-quick-search-form .search-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--rochi-text-muted);
  font-size: 16px;
  padding: 6px;
  transition: color 0.15s ease;
}

.rochi-quick-search-form .search-submit:hover {
  color: var(--rochi-primary);
}

.rochi-quick-search-form .search-close:hover {
  color: #ef4444;
}

/* Mobile Drawer */
.rochi-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: visibility 0.3s ease;
}

.rochi-mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.rochi-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rochi-mobile-drawer.is-open .rochi-drawer-backdrop {
  opacity: 1;
}

.rochi-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 340px;
  background: var(--rochi-surface);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 20px;
}

.rochi-mobile-drawer.is-open .rochi-drawer-content {
  transform: translateX(0);
}

.rochi-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rochi-border);
}

.rochi-drawer-close {
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--rochi-text);
  cursor: pointer;
}

.rochi-drawer-search {
  margin-bottom: 20px;
}

.rochi-drawer-search form {
  position: relative;
  width: 100%;
}

.rochi-drawer-search input {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--rochi-border);
  border-radius: 12px;
  background: var(--rochi-bg);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--rochi-text);
  margin-bottom: 0;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.rochi-drawer-search input:focus {
  outline: none;
  border-color: var(--rochi-primary, #ec406a);
  box-shadow: 0 0 0 3px rgba(236, 64, 106, 0.12);
  background: #ffffff;
}

.rochi-drawer-search button {
  display: none !important;
}

/* Mobile Drawer 3-Level Collapsible Tree */
.rochi-drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rochi-drawer-menu li {
  position: relative;
  list-style: none;
}

.rochi-drawer-menu .drawer-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rochi-border-light);
}

.rochi-drawer-menu li > a,
.rochi-drawer-menu .drawer-link-row > a {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--rochi-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.rochi-drawer-menu li > a:hover,
.rochi-drawer-menu .drawer-link-row > a:hover {
  color: var(--rochi-primary);
}

.rochi-drawer-menu .drawer-toggle-btn {
  background: transparent;
  border: none;
  color: var(--rochi-text-muted);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: transform 0.25s ease, color 0.2s ease;
  padding: 0;
}

.rochi-drawer-menu .drawer-toggle-btn.is-active i {
  transform: rotate(180deg);
  color: var(--rochi-primary);
}

/* Submenu Level 2 */
.rochi-drawer-menu .drawer-sub.level-2 {
  display: none;
  list-style: none;
  padding: 4px 12px 6px 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.02);
  border-right: 2px solid var(--rochi-border);
}

.rochi-drawer-menu .drawer-sub.level-2.is-open {
  display: block;
}

.rochi-drawer-menu .drawer-sub.level-2 .drawer-link-row > a,
.rochi-drawer-menu .drawer-sub.level-2 > li > a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--rochi-text);
  padding: 9px 8px;
}

/* Submenu Level 3 Tree */
.rochi-drawer-menu .drawer-sub.level-3 {
  display: none;
  list-style: none;
  padding: 4px 16px 6px 0;
  margin: 0;
  background: rgba(236, 64, 106, 0.03);
  border-right: 2px dashed var(--rochi-primary);
}

.rochi-drawer-menu .drawer-sub.level-3.is-open {
  display: block;
}

.rochi-drawer-menu .drawer-sub.level-3 > li > a {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rochi-text-muted);
  padding: 8px 6px;
  position: relative;
}

.rochi-drawer-menu .drawer-sub.level-3 > li > a::before {
  content: '•';
  color: var(--rochi-primary);
  margin-left: 6px;
}

.rochi-drawer-menu .drawer-cta a {
  background: var(--rochi-primary);
  color: #fff !important;
  border-radius: 8px;
  text-align: center;
  justify-content: center;
  margin-top: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(236, 64, 106, 0.3);
}

.rochi-drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--rochi-border);
}

.rochi-drawer-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: var(--rochi-bg);
  border-radius: 8px;
}

.drawer-mode-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--rochi-text-muted);
}

.drawer-contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--rochi-text-muted);
  margin-bottom: 6px;
}


/* ========================================================
   SECTION 1: HERO SECTION ("روچی مگ؛ اطلاعات تخصصی...")
   ======================================================== */
.rochi-hero-section {
  position: relative;
  background-color: var(--rochi-bg);
  background-image: url('../images/slide-bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid #d8dfe4;
  padding: 55px 0 65px;
  overflow: hidden;
}

.rochi-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.rochi-hero-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--rochi-text);
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.rochi-hero-subtitle {
  font-size: 16px;
  line-height: 1.85;
  color: var(--rochi-text-muted);
  margin-bottom: 28px;
  max-width: 580px;
}

/* Hero Big Search Form */
.rochi-hero-search-wrapper {
  margin-bottom: 22px;
  max-width: 560px;
}

.rochi-hero-search-inner {
  display: flex;
  align-items: center;
  background: var(--rochi-surface);
  border: 2px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  height: 64px;
  padding: 4px;
}

.rochi-hero-search-inner:focus-within {
  border-color: var(--rochi-primary);
  box-shadow: 0 10px 28px rgba(236, 64, 106, 0.15);
}

.rochi-hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 20px;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--rochi-text);
}

.rochi-hero-search-btn {
  background-color: var(--rochi-accent);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  height: 54px;
  min-width: 65px;
  padding: 0 20px;
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.rochi-hero-search-btn:hover {
  background-color: var(--rochi-primary-hover);
  transform: scale(0.98);
}

/* Hero Search Popular Tags */
.rochi-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.rochi-hero-tags .tags-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--rochi-text);
  margin-left: 4px;
}

.rochi-hero-tags .tags-label i {
  color: #f59e0b;
}

.rochi-hero-tags .tag-pill {
  display: inline-block;
  background: var(--rochi-surface);
  border: 1px solid var(--rochi-border);
  color: var(--rochi-text-muted);
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.rochi-hero-tags .tag-pill:hover {
  background: var(--rochi-primary);
  border-color: var(--rochi-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Hero Graphic Frame */
.rochi-hero-graphic .graphic-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.rochi-hero-graphic .graphic-frame:hover {
  transform: translateY(-4px);
}

.rochi-hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ========================================================
   SECTION HEADERS & BUTTONS (UNIVERSAL)
   ======================================================== */
.rochi-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rochi-border-light);
}

.rochi-section-header.text-center {
  display: block;
  text-align: center;
  border-bottom: none;
}

.rochi-section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--rochi-text);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
  position: relative;
}

.rochi-section-subtitle {
  font-size: 14px;
  color: var(--rochi-text-muted);
  margin: 0;
}

/* Action Buttons */
.rochi-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.rochi-btn-primary {
  background-color: var(--rochi-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(236, 64, 106, 0.25);
}

.rochi-btn-primary:hover {
  background-color: var(--rochi-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(236, 64, 106, 0.35);
}

.rochi-btn-light {
  background-color: #ffffff;
  color: var(--rochi-primary);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.rochi-btn-light:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  color: var(--rochi-primary-hover);
}

/* ========================================================
   SECTION 2: FEATURED STORIES CAROUSEL ("آرشیو مقالات")
   ======================================================== */
.rochi-featured-carousel-section {
  padding: 50px 0;
  background-color: var(--rochi-bg);
}

.rochi-slider-container {
  position: relative;
}

.rochi-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.rochi-slider-track::-webkit-scrollbar {
  display: none;
}

.rochi-slider-item {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
}

@media (max-width: 992px) {
  .rochi-slider-item {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .rochi-slider-item {
    flex: 0 0 85%;
  }
}

.rochi-card-carousel {
  background: var(--rochi-card-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  box-shadow: var(--rochi-shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rochi-card-carousel:hover {
  transform: translateY(-4px);
  box-shadow: var(--rochi-shadow-hover);
}

.rochi-card-carousel .card-thumb-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f1f5f9;
}

.rochi-card-carousel .card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rochi-card-carousel:hover .card-thumb-img {
  transform: scale(1.06);
}

.rochi-card-carousel .card-cat-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--rochi-primary);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.rochi-card-carousel .card-body {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rochi-card-carousel .card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 10px;
}

.rochi-card-carousel .card-title a {
  color: var(--rochi-text);
}

.rochi-card-carousel .card-title a:hover {
  color: var(--rochi-primary);
}

.rochi-card-carousel .card-meta {
  font-size: 12px;
  color: var(--rochi-text-muted);
}

/* Slider Arrows */
.rochi-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rochi-surface);
  border: 1px solid var(--rochi-border);
  color: var(--rochi-text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.rochi-slider-arrow:hover {
  background: var(--rochi-primary);
  border-color: var(--rochi-primary);
  color: #ffffff;
}

.rochi-slider-prev {
  right: -20px;
}

.rochi-slider-next {
  left: -20px;
}

@media (max-width: 768px) {
  .rochi-slider-arrow {
    display: none;
  }
}

/* ========================================================
   SECTION 3: POSTS CARDS GRID (جدیدترین مقالات مجله)
   ======================================================== */
.rochi-grid-posts-section {
  padding: 50px 0;
  background-color: var(--rochi-surface);
  border-top: 1px solid var(--rochi-border-light);
  border-bottom: 1px solid var(--rochi-border-light);
}

.rochi-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 992px) {
  .rochi-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .rochi-cards-grid {
    grid-template-columns: 1fr;
  }
}

.rochi-post-card {
  background: var(--rochi-card-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  box-shadow: var(--rochi-shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.rochi-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rochi-shadow-hover);
}

.rochi-post-card .post-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1f5f9;
}

.rochi-post-card .post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rochi-post-card:hover .post-card-thumb img {
  transform: scale(1.05);
}

.rochi-post-card .post-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--rochi-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
}

.rochi-post-card .post-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rochi-post-card .post-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 10px;
}

.rochi-post-card .post-card-title a {
  color: var(--rochi-text);
}

.rochi-post-card .post-card-title a:hover {
  color: var(--rochi-primary);
}

.rochi-post-card .post-card-excerpt {
  font-size: 13.5px;
  color: var(--rochi-text-muted);
  line-height: 1.7;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rochi-post-card .post-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--rochi-border-light);
  font-size: 12.5px;
  color: var(--rochi-text-muted);
}

.rochi-post-card .read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--rochi-primary);
}

.rochi-post-card .read-more-link:hover {
  gap: 8px;
}

/* ========================================================
   SECTION 4: NEWS METRO SECTION ("اخبار روچی مگ")
   ======================================================== */
.rochi-metro-section {
  padding: 50px 0;
  background-color: var(--rochi-bg);
}

.rochi-promo-banner {
  margin-bottom: 26px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.rochi-metro-grid {
  display: grid;
  grid-template-columns: 1.9fr 1.1fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .rochi-metro-grid {
    grid-template-columns: 1fr;
  }
}

.metro-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--rochi-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.metro-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rochi-shadow-hover);
}

.metro-card .metro-link {
  display: block;
  position: relative;
  height: 100%;
}

.metro-card .metro-thumb {
  margin: 0;
  position: relative;
  width: 100%;
  height: 100%;
}

.metro-card .metro-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.metro-card:hover .metro-thumb img {
  transform: scale(1.05);
}

.metro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
}

.metro-info {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 24px;
  z-index: 2;
  color: #ffffff;
}

.metro-cat-tag {
  display: inline-block;
  background: var(--rochi-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.metro-card-large {
  height: 460px;
}

.metro-card-large .metro-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
  color: #ffffff;
  margin: 0 0 10px;
}

.metro-card-large .metro-meta {
  font-size: 13px;
  color: #d1d5db;
  margin: 0;
}

.metro-col-small {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metro-card-compact {
  height: 220px;
}

.metro-card-compact .metro-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  margin: 0;
}

.metro-card-compact .metro-info {
  padding: 16px;
}

/* ========================================================
   SECTION 5: SERVICES SECTION ("خدمات گروه روچی")
   ======================================================== */
.rochi-services-section {
  padding: 55px 0;
  background-color: var(--rochi-surface);
  border-top: 1px solid var(--rochi-border-light);
  border-bottom: 1px solid var(--rochi-border-light);
}

.rochi-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1024px) {
  .rochi-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .rochi-services-grid {
    grid-template-columns: 1fr;
  }
}

.rochi-service-card {
  border-radius: 12px;
  padding: 32px 24px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rochi-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.card-pattern-1 {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.card-pattern-2 {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
}

.card-pattern-3 {
  background: linear-gradient(135deg, #831843 0%, #701a75 100%);
}

.card-pattern-4 {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.service-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
}

.service-desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ========================================================
   SECTION 6: BUSINESS ARTICLES ("مقالات مربوط به کسب و کار...")
   ======================================================== */
.rochi-business-section {
  padding: 50px 0;
  background-color: var(--rochi-bg);
}

.rochi-business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1024px) {
  .rochi-business-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .rochi-business-grid {
    grid-template-columns: 1fr;
  }
}

.rochi-business-card {
  background: var(--rochi-card-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  box-shadow: var(--rochi-shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.rochi-business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rochi-shadow-hover);
}

.business-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.business-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rochi-business-card:hover .business-card-thumb img {
  transform: scale(1.06);
}

.business-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--rochi-secondary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.business-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.business-card-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 8px;
}

.business-card-title a {
  color: var(--rochi-text);
}

.business-card-title a:hover {
  color: var(--rochi-primary);
}

.business-card-desc {
  font-size: 12.5px;
  color: var(--rochi-text-muted);
  line-height: 1.7;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.business-card-meta {
  margin-top: auto;
  font-size: 12px;
  color: var(--rochi-text-muted);
}

/* ========================================================
   SECTION 7: TESTIMONIALS SECTION ("نظرات برخی از کاربران")
   ======================================================== */
.rochi-testimonials-section {
  padding: 55px 0;
  background-color: var(--rochi-surface);
  border-top: 1px solid var(--rochi-border-light);
}

.rochi-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .rochi-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: var(--rochi-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  padding: 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--rochi-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rochi-shadow);
}

.testimonial-quote-icon {
  font-size: 26px;
  color: var(--rochi-primary);
  opacity: 0.8;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--rochi-text);
  margin: 0 0 20px;
  font-style: normal;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rochi-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}

.author-info .author-name {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--rochi-text);
}

.author-info .author-badge {
  font-size: 11.5px;
  color: var(--rochi-text-muted);
}

/* ========================================================
   SECTION 8: NEWSLETTER & SHOP CALLOUT
   ======================================================== */
.rochi-newsletter-section {
  padding: 40px 0 60px;
  background-color: var(--rochi-surface);
}

.newsletter-box {
  background: linear-gradient(135deg, var(--rochi-primary) 0%, #be185d 100%);
  border-radius: var(--rochi-radius-lg);
  padding: 38px 44px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 12px 30px rgba(236, 64, 106, 0.28);
}

@media (max-width: 850px) {
  .newsletter-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
}

.newsletter-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
}

.newsletter-desc {
  font-size: 14.5px;
  opacity: 0.95;
  margin: 0;
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer.rochi-footer {
  background: var(--rochi-footer-bg);
  border-top: 1px solid var(--rochi-border);
  padding: 60px 0 25px;
  color: var(--rochi-text);
}

.footer-three-col .footer-widgets-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .footer-three-col .footer-widgets-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-widget-col .widget-title {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-col .widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 3px;
  background: var(--rochi-primary);
  border-radius: 2px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-contact-list .contact-info-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(236, 64, 106, 0.1);
  color: var(--rochi-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.footer-contact-list .contact-info-value {
  padding-top: 4px;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list li a {
  display: inline-block;
  font-size: 14px;
  color: var(--rochi-text-muted);
  transition: all 0.2s ease;
}

.footer-links-list li a:hover {
  color: var(--rochi-primary);
  transform: translateX(-4px);
}

.footer-about-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--rochi-text-muted);
  margin-bottom: 20px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rochi-bg);
  border: 1px solid var(--rochi-border);
  color: var(--rochi-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
}

.footer-social-links a:hover {
  background: var(--rochi-primary);
  border-color: var(--rochi-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-copyright {
  border-top: 1px solid var(--rochi-border);
  padding-top: 22px;
}

.copyright-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-info {
  font-size: 13.5px;
  color: var(--rochi-text-muted);
}

.back-to-top {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rochi-surface);
  border: 1px solid var(--rochi-border);
  color: var(--rochi-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}

.back-to-top:hover {
  background: var(--rochi-primary);
  border-color: var(--rochi-primary);
  color: #ffffff;
}

/* ========================================================
   SINGLE POST, COMMENTS & UTILITY STYLES
   ======================================================== */
.rochi-layout-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin: 40px 0;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .rochi-layout-with-sidebar {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

.rochi-content-area {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.rochi-article {
  background: var(--rochi-surface);
  border: none !important;
  box-shadow: none !important;
  border-radius: var(--rochi-radius);
  padding: 32px 0;
  margin-bottom: 30px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.rochi-article-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.rochi-entry-content {
  font-size: 16px;
  line-height: 1.9;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.rochi-entry-content p {
  margin-bottom: 20px;
}

/* Ensure images, media, tables and embeds never overflow their container */
.rochi-entry-content img,
.rochi-entry-content figure,
.rochi-entry-content .wp-caption,
.rochi-entry-content iframe,
.rochi-entry-content embed,
.rochi-entry-content object,
.rochi-entry-content video,
.rochi-featured-image img {
  max-width: 100% !important;
  height: auto;
  box-sizing: border-box;
}

.rochi-entry-content .wp-caption {
  width: auto !important;
}

.rochi-entry-content table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
}

.rochi-entry-content pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Plugin shortcodes (like product scrollers) must not blow out grid tracks */
.rochi-entry-content .mnps,
.mnps {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
  border: none !important;
  box-shadow: none !important;
}

.mnps__card {
  border: none !important;
  box-shadow: none !important;
}

.mnps__card:hover {
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

.mnps__list {
  max-width: 100% !important;
  min-width: 0 !important;
}

/* Table of Contents Box */
.rochi-toc {
  background: var(--rochi-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  padding: 18px 24px;
  margin: 30px 0;
}

.rochi-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rochi-toc-title {
  font-size: 17px;
  font-weight: 700;
}

.rochi-toc-toggle-btn {
  background: none;
  border: none;
  color: var(--rochi-primary);
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
}

.rochi-toc-list {
  padding-right: 20px;
  margin: 0;
}

.rochi-toc-list li {
  margin-bottom: 8px;
  font-size: 14.5px;
}

.rochi-toc-list li a:hover {
  color: var(--rochi-primary);
}

/* ========================================================
   ARTICLE SUBTITLE & EDITORIAL METABAR
   ======================================================== */
.rochi-article-subtitle {
  font-size: 17px;
  line-height: 1.8;
  color: var(--rochi-text-muted);
  margin: -4px 0 22px;
  padding-right: 14px;
  border-right: 3px solid var(--rochi-primary);
  font-weight: 500;
}

/* High-End Persian Editorial Metabar */
.rochi-editorial-metabar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.rochi-editorial-metabar--single {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 10px 0 !important;
  margin: 14px 0 24px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

.rochi-editorial-metabar--single .rochi-meta-badges-cluster {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  gap: 12px;
}

.rochi-editorial-metabar--single .rochi-meta-badge {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  font-size: 13.5px !important;
}

.rochi-editorial-metabar--single .rochi-meta-badge:hover {
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
  color: var(--rochi-primary) !important;
}

.rochi-editorial-metabar--single .rochi-meta-sep {
  display: none !important;
}

.rochi-meta-author-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rochi-meta-avatar-link {
  display: inline-flex;
  border-radius: 50%;
  overflow: hidden;
  line-height: 0;
  transition: transform 0.25s ease;
}

.rochi-meta-avatar-link:hover {
  transform: scale(1.08);
}

.rochi-meta-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rochi-primary);
}

.rochi-meta-author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.rochi-meta-author-by {
  font-size: 11px;
  color: var(--rochi-text-muted);
}

.rochi-meta-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--rochi-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rochi-meta-author-name:hover {
  color: var(--rochi-primary);
}

.rochi-meta-badges-cluster {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.rochi-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rochi-text-muted);
  background: var(--rochi-surface);
  border: 1px solid var(--rochi-border);
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.rochi-meta-badge i {
  color: var(--rochi-primary);
  font-size: 13px;
  transition: transform 0.2s ease;
}

.rochi-meta-badge:hover {
  transform: translateY(-2px);
  color: var(--rochi-text);
  border-color: var(--rochi-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.rochi-meta-badge:hover i {
  transform: scale(1.15);
}

.rochi-meta-sep {
  color: var(--rochi-border);
  font-size: 14px;
  user-select: none;
}

/* Card Metabar Variant */
.rochi-editorial-metabar--card {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rochi-border-light);
  gap: 6px;
}

.rochi-editorial-metabar--card .rochi-meta-badge {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 12px;
}

.rochi-editorial-metabar--card .rochi-meta-badge:hover {
  transform: none;
  box-shadow: none;
  color: var(--rochi-primary);
}

/* ========================================================
   SOCIAL SHARING BAR
   ======================================================== */
.rochi-social-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0;
  padding: 18px 24px;
  background: var(--rochi-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
}

.rochi-share-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--rochi-text);
}

.rochi-share-heading i {
  color: var(--rochi-primary);
  font-size: 16px;
}

.rochi-share-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.rochi-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.rochi-share-btn i {
  font-size: 15px;
}

.rochi-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
  filter: brightness(1.06);
}

.rochi-share-wa {
  background-color: #25d366;
}

.rochi-share-tg {
  background-color: #24a1de;
}

.rochi-share-email {
  background-color: #ea4335;
}

.rochi-share-copy {
  background-color: #475569;
}

.rochi-share-copy.is-copied {
  background-color: #10b981 !important;
}

/* ========================================================
   AUTHOR BIO BOX (WITH SPECIALTIES & SOCIAL LINKS)
   ======================================================== */
.rochi-author-box {
  display: none !important;
}

.rochi-author-avatar {
  flex-shrink: 0;
}

.rochi-author-avatar-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--rochi-border);
}

.rochi-author-info {
  flex-grow: 1;
}

.rochi-author-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.rochi-author-name {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

.rochi-author-name a {
  color: var(--rochi-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rochi-author-name a:hover {
  color: var(--rochi-primary);
}

.rochi-author-archive-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rochi-primary);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.rochi-author-archive-link:hover {
  transform: translateX(-4px);
}

.rochi-author-specialties-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 10px;
}

.rochi-author-specialty-tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(236, 64, 106, 0.08);
  color: var(--rochi-primary);
  border: 1px solid rgba(236, 64, 106, 0.18);
}

.rochi-author-bio {
  font-size: 14px;
  line-height: 1.8;
  color: var(--rochi-text-muted);
  margin: 0 0 14px;
}

.rochi-author-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rochi-author-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: var(--rochi-bg);
  border: 1px solid var(--rochi-border);
  color: var(--rochi-text-muted);
  text-decoration: none;
  transition: all 0.25s ease;
}

.rochi-author-social-icon:hover {
  background: var(--rochi-primary);
  border-color: var(--rochi-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ========================================================
   UNIFIED SIDEBAR & ADS MANAGEMENT
   ======================================================== */
.rochi-sidebar,
.rochi-unified-sidebar-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.rochi-sidebar-widget {
  background: var(--rochi-surface);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  padding: 20px;
  box-shadow: var(--rochi-shadow-sm);
}

.rochi-widget-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.rochi-widget-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rochi-text);
  white-space: nowrap;
}

.rochi-widget-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.rochi-icon-fire {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.rochi-icon-recent {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.rochi-widget-header-line {
  flex-grow: 1;
  height: 2px;
  background: var(--rochi-border);
  border-radius: 2px;
}

.rochi-widget-posts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rochi-widget-post-item {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}

.rochi-widget-post-item:hover {
  transform: translateX(-3px);
}

.rochi-widget-thumb-link {
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--rochi-bg);
  display: block;
}

.rochi-widget-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.rochi-widget-post-item:hover .rochi-widget-thumb {
  transform: scale(1.08);
}

.rochi-widget-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rochi-text-muted);
  font-size: 20px;
}

.rochi-widget-post-content {
  flex-grow: 1;
  min-width: 0;
}

.rochi-widget-post-title {
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rochi-widget-post-title a {
  color: var(--rochi-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rochi-widget-post-title a:hover {
  color: var(--rochi-primary);
}

.rochi-widget-post-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--rochi-text-muted);
}

.rochi-widget-post-meta .rochi-meta-item i {
  margin-left: 3px;
}

/* Ranked badges for Most Viewed Posts */
.rochi-rank-badge {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  background: var(--rochi-bg);
  color: var(--rochi-text-muted);
  border: 1px solid var(--rochi-border);
}

.is-top-rank.rank-1 .rochi-rank-badge {
  background: #f59e0b;
  color: #ffffff;
  border-color: #f59e0b;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

.is-top-rank.rank-2 .rochi-rank-badge {
  background: #94a3b8;
  color: #ffffff;
  border-color: #94a3b8;
}

.is-top-rank.rank-3 .rochi-rank-badge {
  background: #b45309;
  color: #ffffff;
  border-color: #b45309;
}

/* Sidebar Ad Slots */
.rochi-widget-ad-slot {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.rochi-sidebar-ad-card {
  position: relative;
  border-radius: var(--rochi-radius);
  overflow: hidden;
  border: 1px solid var(--rochi-border);
  background: var(--rochi-surface);
  box-shadow: var(--rochi-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rochi-sidebar-ad-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rochi-shadow);
}

.rochi-ad-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
  pointer-events: none;
}

.rochi-sidebar-ad-link {
  display: block;
  width: 100%;
}

.rochi-sidebar-ad-link img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.rochi-sidebar-ad-placeholder {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  text-align: center;
  border: 2px dashed var(--rochi-border);
  background: var(--rochi-bg);
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a.rochi-sidebar-ad-placeholder:hover,
div.rochi-sidebar-ad-placeholder:hover {
  border-color: var(--rochi-primary, #ec406a) !important;
  background: rgba(236, 64, 106, 0.04) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(236, 64, 106, 0.08);
}

.rochi-sidebar-ad-placeholder:hover .rochi-ad-placeholder-icon {
  transform: scale(1.1);
  opacity: 1;
}

.rochi-ad-placeholder-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.rochi-ad-placeholder-icon {
  font-size: 26px;
  color: var(--rochi-primary);
  opacity: 0.75;
  margin-bottom: 4px;
}

.rochi-ad-placeholder-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rochi-text);
}

.rochi-ad-placeholder-sub {
  font-size: 11.5px;
  color: var(--rochi-text-muted);
}

.rochi-custom-banner-wrap {
  width: 100%;
  overflow: hidden;
  text-align: center;
}

/* Dark Mode Toggle Component - Disabled */
.rochi-dark-toggle {
  display: none !important;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .site-navigation.rochi-nav-menu {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .rochi-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .rochi-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .rochi-hero-search-wrapper {
    margin-left: auto;
    margin-right: auto;
  }

  .rochi-hero-tags {
    justify-content: center;
  }
}


/* ========================================================
   MAGAZINE TEMPLATES & RTL PERSIAN EXTENSIONS
   (Sidebar, Widgets, Comments, 404, Search, Author, Blog Home)
   ======================================================== */

/* --- Primary Sidebar & Widgets --- */
.rochi-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.rochi-sidebar .widget {
  background: var(--rochi-card-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  padding: 24px;
  box-shadow: var(--rochi-shadow-sm);
  transition: box-shadow 0.25s ease;
}

.rochi-sidebar .widget:hover {
  box-shadow: var(--rochi-shadow);
}

.rochi-sidebar .widget-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--rochi-border-light);
  color: var(--rochi-text);
}

.rochi-sidebar .widget-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 45px;
  height: 3px;
  background: var(--rochi-primary);
  border-radius: 2px;
}

/* Sidebar Search Widget */
.rochi-search-input-group {
  display: flex;
  align-items: stretch;
  background: var(--rochi-bg);
  border: 1.5px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rochi-search-input-group:focus-within {
  border-color: var(--rochi-primary);
  box-shadow: 0 0 0 3px rgba(236, 64, 106, 0.15);
}

.rochi-search-input-group input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--rochi-text);
  outline: none;
}

.rochi-search-input-group button[type="submit"] {
  background: var(--rochi-primary);
  color: #ffffff;
  border: none;
  padding: 0 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease;
}

.rochi-search-input-group button[type="submit"]:hover {
  background: var(--rochi-primary-hover);
}

/* Sidebar Categories Widget */
.rochi-widget-cat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rochi-widget-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: var(--rochi-bg);
  border-radius: var(--rochi-radius-sm);
  color: var(--rochi-text);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.rochi-widget-cat-list li a:hover {
  background: rgba(236, 64, 106, 0.08);
  color: var(--rochi-primary);
  transform: translateX(-4px);
}

.rochi-widget-cat-list .cat-name i {
  font-size: 11px;
  margin-left: 6px;
  opacity: 0.6;
}

.rochi-widget-cat-list .cat-count {
  background: var(--rochi-surface);
  border: 1px solid var(--rochi-border);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--rochi-text-muted);
  font-weight: 700;
}

/* Sidebar Popular Posts Widget */
.rochi-widget-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rochi-widget-post-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--rochi-border);
}

.rochi-widget-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.widget-post-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--rochi-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}

.widget-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.widget-post-thumb:hover img {
  transform: scale(1.08);
}

.widget-post-content {
  flex: 1;
}

.widget-post-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 6px;
}

.widget-post-title a {
  color: var(--rochi-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.widget-post-title a:hover {
  color: var(--rochi-primary);
}

.widget-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: var(--rochi-text-muted);
}

/* Sidebar Newsletter Widget */
.newsletter-card {
  text-align: center;
  padding: 10px 6px;
}

.newsletter-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(236, 64, 106, 0.12);
  color: var(--rochi-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.newsletter-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
}

.newsletter-desc {
  font-size: 13px;
  color: var(--rochi-text-muted);
  line-height: 1.6;
  margin: 0 0 18px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius-sm);
  background: var(--rochi-bg);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--rochi-text);
  outline: none;
  box-sizing: border-box;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--rochi-primary);
}

.newsletter-form button[type="submit"] {
  background: var(--rochi-primary);
  color: #ffffff;
  border: none;
  padding: 11px 20px;
  border-radius: var(--rochi-radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.newsletter-form button[type="submit"]:hover {
  background: var(--rochi-primary-hover);
}

.rochi-sticky-sidebar {
  position: sticky;
  top: 96px;
}

/* --- Comments Area --- */
.rochi-comments-area {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--rochi-border);
}

.rochi-comments-header {
  margin-bottom: 24px;
}

.comments-title {
  font-size: 21px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rochi-text);
}

.comments-title i {
  color: var(--rochi-primary);
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.comment-list .comment {
  margin-bottom: 20px;
}

.comment-list .comment-body {
  background: var(--rochi-card-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  padding: 20px;
  box-shadow: var(--rochi-shadow-sm);
}

.comment-list .comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-list .avatar {
  border-radius: 50%;
  border: 2px solid var(--rochi-primary);
}

.comment-list .fn {
  font-size: 15px;
  font-weight: 700;
  color: var(--rochi-text);
  font-style: normal;
}

.comment-list .comment-meta {
  font-size: 12px;
  color: var(--rochi-text-muted);
  margin-right: auto;
}

.comment-list .comment-content {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--rochi-text);
  margin-bottom: 12px;
}

.comment-list .reply a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--rochi-primary);
  background: rgba(236, 64, 106, 0.08);
  padding: 4px 12px;
  border-radius: 4px;
}

.comment-list .reply a:hover {
  background: var(--rochi-primary);
  color: #ffffff;
}

.comment-list .children {
  list-style: none;
  padding-right: 32px;
  margin-top: 16px;
}

.rochi-comments-closed {
  background: var(--rochi-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  padding: 16px 20px;
  text-align: center;
  color: var(--rochi-text-muted);
  font-size: 14px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Comment Form */
.comment-respond {
  background: var(--rochi-card-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  padding: 28px;
  box-shadow: var(--rochi-shadow-sm);
}

.comment-reply-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-reply-title i {
  color: var(--rochi-primary);
}

.comment-notes {
  font-size: 13px;
  color: var(--rochi-text-muted);
  margin-bottom: 20px;
}

.comment-notes .required,
label .required {
  color: var(--rochi-primary);
  margin-right: 2px;
}

.comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .comment-form-row {
    grid-template-columns: 1fr;
  }
}

.comment-form-col,
.comment-form-comment {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.comment-form-col label,
.comment-form-comment label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--rochi-text);
}

.comment-form-col input[type="text"],
.comment-form-col input[type="email"],
.comment-form-comment textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--rochi-bg);
  border: 1.5px solid var(--rochi-border);
  border-radius: var(--rochi-radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--rochi-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.comment-form-col input:focus,
.comment-form-comment textarea:focus {
  border-color: var(--rochi-primary);
  box-shadow: 0 0 0 3px rgba(236, 64, 106, 0.12);
}

.rochi-btn-submit-comment {
  background: var(--rochi-primary);
  color: #ffffff;
  border: none;
  padding: 13px 32px;
  border-radius: var(--rochi-radius);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.rochi-btn-submit-comment:hover {
  background: var(--rochi-primary-hover);
  transform: translateY(-2px);
}

/* --- 404 Page Styling --- */
.rochi-404-wrapper {
  max-width: 640px;
  margin: 50px auto 80px;
  text-align: center;
}

.rochi-404-card {
  background: var(--rochi-card-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius-lg);
  padding: 48px 36px;
  box-shadow: var(--rochi-shadow);
}

.rochi-404-badge {
  display: inline-block;
  background: rgba(236, 64, 106, 0.12);
  color: var(--rochi-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.rochi-404-code {
  font-size: 96px;
  font-weight: 900;
  color: var(--rochi-primary);
  line-height: 1;
  margin: 0 0 16px;
  letter-spacing: -2px;
}

.rochi-404-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--rochi-text);
}

.rochi-404-desc {
  font-size: 15px;
  color: var(--rochi-text-muted);
  line-height: 1.8;
  margin: 0 0 28px;
}

.rochi-404-search {
  margin-bottom: 28px;
}

.rochi-404-quick-links {
  margin-bottom: 32px;
  padding-top: 20px;
  border-top: 1px dashed var(--rochi-border);
}

.quick-links-label {
  display: block;
  font-size: 13px;
  color: var(--rochi-text-muted);
  margin-bottom: 12px;
}

.quick-links-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.quick-pill {
  background: var(--rochi-bg);
  border: 1px solid var(--rochi-border);
  color: var(--rochi-text);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.quick-pill:hover {
  background: var(--rochi-primary);
  color: #ffffff;
  border-color: var(--rochi-primary);
}

/* --- Breadcrumbs --- */
.rochi-breadcrumbs {
  margin-top: 16px !important;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--rochi-text-muted, #64748b);
  line-height: 1.6;
}

.rochi-breadcrumbs a {
  color: var(--rochi-text-muted, #64748b);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rochi-breadcrumbs a:hover {
  color: var(--rochi-primary, #ec406a);
}

.rochi-breadcrumbs .sep {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  font-size: 11px;
}

.rochi-breadcrumbs .current {
  color: var(--rochi-text, #1e293b);
  font-weight: 600;
}

/* --- Archive & Search Headers --- */
.rochi-archive-header,
.rochi-search-header {
  background: var(--rochi-card-bg);
  border: none !important;
  border-radius: var(--rochi-radius);
  padding: 28px 32px;
  margin: 24px 0 32px;
  box-shadow: none !important;
}

.rochi-search-header {
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 24px;
  flex-wrap: wrap;
}

.rochi-archive-header-inner,
.rochi-search-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rochi-archive-icon-wrap,
.rochi-search-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--rochi-radius);
  background: rgba(236, 64, 106, 0.12);
  color: var(--rochi-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.rochi-archive-title,
.rochi-search-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--rochi-text);
}

.rochi-search-keyword {
  color: var(--rochi-primary);
}

.rochi-search-count-badge {
  display: inline-block;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: var(--rochi-text-muted);
  font-size: 13.5px;
  font-weight: 500;
}

.rochi-archive-description {
  font-size: 14.5px;
  color: var(--rochi-text-muted);
  line-height: 1.7;
}

.rochi-search-refine-box {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
  max-width: 450px;
  width: 100%;
  flex: 1 1 320px;
}

@media (max-width: 768px) {
  .rochi-search-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
  }
}

/* Empty States */
.rochi-empty-state {
  background: var(--rochi-card-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--rochi-shadow-sm);
}

.rochi-empty-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(236, 64, 106, 0.1);
  color: var(--rochi-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.rochi-empty-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
}

.rochi-empty-desc {
  font-size: 14.5px;
  color: var(--rochi-text-muted);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 24px;
}

/* Pagination */
.rochi-pagination {
  margin: 40px 0 20px;
  text-align: center;
}

.rochi-pagination .nav-links,
.rochi-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rochi-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--rochi-card-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius-sm);
  color: var(--rochi-text);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.rochi-pagination .page-numbers:hover {
  background: rgba(236, 64, 106, 0.08);
  border-color: var(--rochi-primary);
  color: var(--rochi-primary);
}

.rochi-pagination .page-numbers.current {
  background: var(--rochi-primary);
  color: #ffffff;
  border-color: var(--rochi-primary);
  box-shadow: 0 3px 8px rgba(236, 64, 106, 0.3);
}

.rochi-pagination-bar-wrapper {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--rochi-border);
}

.rochi-page-counter-badge {
  background: var(--rochi-card-bg);
  border: 1px solid var(--rochi-border);
  padding: 8px 16px;
  border-radius: var(--rochi-radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rochi-text-muted);
}

/* Generic Primary Button */
.rochi-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rochi-primary);
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: var(--rochi-radius);
  font-size: 14.5px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.rochi-btn-primary:hover {
  background: var(--rochi-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 64, 106, 0.3);
}

/* Section Header Shared */
.rochi-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--rochi-border);
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title-bar {
  width: 4px;
  height: 24px;
  background: var(--rochi-primary);
  border-radius: 2px;
}

.rochi-section-title {
  font-size: 21px;
  font-weight: 800;
  margin: 0;
  color: var(--rochi-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-subtitle-tag {
  font-size: 13px;
  color: var(--rochi-text-muted);
  background: var(--rochi-bg);
  border: 1px solid var(--rochi-border);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* --- Author Page Styling --- */
.rochi-author-profile-hero {
  margin: 20px 0 40px;
  position: relative;
}

.rochi-author-profile-cover {
  height: 140px;
  border-radius: var(--rochi-radius-lg) var(--rochi-radius-lg) 0 0;
  background: linear-gradient(135deg, #ec406a 0%, #a81c47 50%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.rochi-author-profile-cover::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2) 0%, transparent 60%);
}

.rochi-author-profile-card {
  background: var(--rochi-card-bg);
  border: 1px solid var(--rochi-border);
  border-top: none;
  border-radius: 0 0 var(--rochi-radius-lg) var(--rochi-radius-lg);
  padding: 0 36px 36px;
  position: relative;
  box-shadow: var(--rochi-shadow);
}

.rochi-author-avatar-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin-top: -70px;
  margin-bottom: 20px;
  display: inline-block;
}

.rochi-author-profile-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 5px solid var(--rochi-card-bg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  background: var(--rochi-surface);
}

.rochi-author-check {
  position: absolute;
  bottom: 8px;
  left: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 3px solid var(--rochi-card-bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.rochi-author-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.rochi-author-title-name {
  font-size: 26px;
  font-weight: 900;
  margin: 0;
  color: var(--rochi-text);
}

.rochi-author-badge-pill {
  background: rgba(236, 64, 106, 0.12);
  color: var(--rochi-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rochi-author-profile-bio {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--rochi-text);
  max-width: 820px;
  margin: 0 0 24px;
}

/* Specialties Row */
.rochi-author-specialties-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.specialties-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rochi-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.specialties-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.specialty-pill {
  background: var(--rochi-bg);
  border: 1px solid var(--rochi-border);
  color: var(--rochi-text);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.specialty-pill:hover {
  background: rgba(236, 64, 106, 0.08);
  border-color: var(--rochi-primary);
  color: var(--rochi-primary);
}

/* Stats Bar */
.rochi-author-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--rochi-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  padding: 16px 24px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .rochi-author-stats-bar {
    grid-template-columns: 1fr;
  }
}

.author-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rochi-surface);
  border: 1px solid var(--rochi-border);
  color: var(--rochi-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.stat-meta {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 12px;
  color: var(--rochi-text-muted);
}

.stat-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--rochi-text);
}

/* Author Socials Bar */
.rochi-author-socials-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.socials-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rochi-text-muted);
}

.social-icons-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #ffffff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.author-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.btn-telegram  { background-color: #24a1de; }
.btn-linkedin  { background-color: #0a66c2; }
.btn-website   { background-color: var(--rochi-primary); }
.btn-email     { background-color: #64748b; }

/* Popular Author Articles Grid */
.rochi-popular-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

@media (max-width: 1200px) {
  .rochi-popular-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .rochi-popular-cards-grid {
    grid-template-columns: 1fr;
  }
}

.rochi-popular-card {
  background: var(--rochi-card-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  overflow: hidden;
  box-shadow: var(--rochi-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rochi-popular-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rochi-shadow-hover);
}

.popular-card-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.popular-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rochi-popular-card:hover .popular-card-thumb-wrap img {
  transform: scale(1.06);
}

.popular-rank-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rochi-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.popular-card-thumb-wrap .rochi-badge-category {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.popular-card-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.popular-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 10px;
}

.popular-card-title a {
  color: var(--rochi-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-card-title a:hover {
  color: var(--rochi-primary);
}

.popular-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--rochi-text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--rochi-border-light);
}

/* --- Blog Home Page Styling --- */
.rochi-blog-hero-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--rochi-radius-lg);
  padding: 44px 40px;
  margin: 20px 0 32px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(236, 64, 106, 0.25);
  color: #ff6b8b;
  border: 1px solid rgba(236, 64, 106, 0.4);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.blog-hero-title {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 12px;
  color: #ffffff;
  line-height: 1.35;
}

.blog-hero-desc {
  font-size: 16px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.7;
}

.blog-hero-decor .hero-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.blog-hero-decor .circle-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(236, 64, 106, 0.22) 0%, transparent 70%);
}

.blog-hero-decor .circle-2 {
  width: 240px;
  height: 240px;
  bottom: -60px;
  left: 20%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
}

/* Categories Filter Bar */
.rochi-categories-filter-bar {
  margin-bottom: 36px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.filter-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rochi-card-bg);
  border: 1.5px solid var(--rochi-border);
  color: var(--rochi-text);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--rochi-shadow-sm);
}

.filter-pill:hover {
  border-color: var(--rochi-primary);
  color: var(--rochi-primary);
  transform: translateY(-2px);
}

.filter-pill.is-active {
  background: var(--rochi-primary);
  border-color: var(--rochi-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(236, 64, 106, 0.35);
}

.filter-pill .cat-num {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
}

.filter-pill.is-active .cat-num {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Top 2 Featured Large Cards */
.rochi-featured-two-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .rochi-featured-two-grid {
    grid-template-columns: 1fr;
  }
}

.rochi-featured-large-card {
  background: var(--rochi-card-bg);
  border: 1px solid var(--rochi-border);
  border-radius: var(--rochi-radius);
  overflow: hidden;
  box-shadow: var(--rochi-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rochi-featured-large-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--rochi-shadow-hover);
}

.featured-card-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.featured-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rochi-featured-large-card:hover .featured-card-thumb-wrap img {
  transform: scale(1.05);
}

.featured-tag-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f59e0b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.featured-card-thumb-wrap .rochi-badge-category {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--rochi-primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.featured-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-card-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
  margin: 0 0 12px;
}

.featured-card-title a {
  color: var(--rochi-text);
}

.featured-card-title a:hover {
  color: var(--rochi-primary);
}

.featured-card-excerpt {
  font-size: 14px;
  color: var(--rochi-text-muted);
  line-height: 1.75;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--rochi-border-light);
  flex-wrap: wrap;
  gap: 10px;
}

.featured-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-author .author-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--rochi-primary);
}

.featured-author .author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--rochi-text);
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--rochi-text-muted);
}


/* ========================================================
   ROCHI MAG HOMEPAGE REDESIGN STYLES (Stories, Grids, Banners, Split)
   ======================================================== */

/* Modern Section Headers (No unnecessary lines) */
.rochi-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 0 4px;
  border: none !important;
}

.rochi-section-header::after,
.rochi-section-header::before,
.rochi-section-title::after,
.rochi-section-title::before {
  display: none !important;
}

.rochi-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rochi-title-accent {
  width: 5px;
  height: 22px;
  background: var(--rochi-primary, #ec406a);
  border-radius: 4px;
  display: inline-block;
  flex-shrink: 0;
}

.rochi-section-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.rochi-section-action {
  display: flex;
  align-items: center;
}

.rochi-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 5px 14px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.rochi-view-all-link:hover {
  background: #ec406a;
  border-color: #ec406a;
  color: #ffffff;
  transform: translateX(-3px);
  box-shadow: 0 4px 12px rgba(236, 64, 106, 0.25);
}

.rochi-view-all-link i {
  font-size: 11px;
  color: inherit;
  transition: transform 0.2s ease;
}

.rochi-view-all-link:hover i {
  transform: translateX(-2px);
}

/* Stories Component (Modiseh Style) */
.elementor-widget-rochi-stories {
  width: 100% !important;
}

.rochi-stories-wrapper {
  margin: 15px 0 25px 0;
  width: 100%;
  clear: both;
}

.rochi-stories-container {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 4px 16px 4px;
  width: 100%;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.rochi-stories-container::-webkit-scrollbar {
  display: none;
}

.rochi-stories-track {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-sizing: border-box;
}

@media (min-width: 901px) {
  .rochi-stories-track {
    width: 100%;
    justify-content: space-between !important;
  }
}

@media (max-width: 900px) {
  .rochi-stories-wrapper {
    margin: 10px 0 20px 0;
  }
  .rochi-stories-track {
    width: max-content;
    min-width: 100%;
    justify-content: flex-start;
    padding: 0 10px;
    gap: 12px;
  }
}

.rochi-story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 86px;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

@media (max-width: 480px) {
  .rochi-story-item {
    width: 72px;
  }
  .rochi-story-circle {
    width: 64px !important;
    height: 64px !important;
  }
  .rochi-story-title {
    font-size: 11px !important;
    max-width: 72px !important;
  }
  .rochi-story-badge {
    font-size: 9px !important;
    padding: 1px 6px !important;
  }
}

.rochi-story-item:hover {
  transform: translateY(-4px);
}

.rochi-story-avatar-wrap {
  position: relative;
  margin-bottom: 8px;
}

.rochi-story-ring {
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec406a 0%, #ff758c 50%, #8e2de2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(236, 64, 106, 0.22);
  transition: all 0.3s ease;
}

.rochi-story-item:hover .rochi-story-ring {
  box-shadow: 0 6px 18px rgba(236, 64, 106, 0.38);
  background: linear-gradient(135deg, #ff758c 0%, #ec406a 50%, #4a00e0 100%);
}

.rochi-story-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  overflow: hidden;
  background: #ffffff;
  position: relative;
}

.rochi-story-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.rochi-story-item:hover .rochi-story-circle img {
  transform: scale(1.1);
}

.rochi-story-badge {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  background: #ec406a;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  border: 1.5px solid #ffffff;
}

.rochi-story-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  text-align: center;
  max-width: 86px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.rochi-story-item:hover .rochi-story-title {
  color: var(--rochi-primary, #ec406a);
}

/* Modern Magazine Cards & Grid */
.rochi-modern-section {
  margin: 32px 0 40px 0;
  width: 100%;
}

.rochi-cards-grid {
  display: grid;
  gap: 22px;
}

.rochi-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.rochi-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.rochi-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
  .rochi-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .rochi-cols-4,
  .rochi-cols-3,
  .rochi-cols-2 {
    grid-template-columns: 1fr;
  }
}

.rochi-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.rochi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 64, 106, 0.3);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.rochi-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.rochi-card-media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.rochi-card-media-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.rochi-card:hover .rochi-card-media-link img {
  transform: scale(1.06);
}

.rochi-badge-category,
.rochi-card-cat-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(236, 64, 106, 0.92);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 8px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: all 0.2s ease;
}

.rochi-badge-category:hover,
.rochi-card-cat-badge:hover {
  background: #d82d56;
  color: #ffffff;
  transform: scale(1.04);
}

.rochi-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rochi-card-title {
  margin: 0 0 12px 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
  height: 46px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rochi-card-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rochi-card-title a:hover {
  color: var(--rochi-primary, #ec406a);
}

.rochi-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  margin-top: auto;
}

.rochi-meta-dot {
  font-size: 10px;
  color: #cbd5e1;
}

.rochi-meta-date i,
.rochi-meta-read i {
  margin-left: 4px;
}

/* Featured Split Section (Digikala Mag Style) */
.rochi-split-container {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .rochi-split-container {
    grid-template-columns: 1fr;
  }
}

.rochi-featured-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.rochi-featured-card:hover {
  border-color: #e2e8f0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.rochi-featured-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1f5f9;
}

.rochi-featured-media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.rochi-featured-media-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.rochi-featured-card:hover .rochi-featured-media-link img {
  transform: scale(1.05);
}

.rochi-featured-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rochi-featured-title {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.rochi-featured-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rochi-featured-title a:hover {
  color: var(--rochi-primary, #ec406a);
}

.rochi-featured-excerpt {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.7;
  margin: 0 0 18px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rochi-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.rochi-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rochi-primary, #ec406a);
  text-decoration: none;
  transition: all 0.2s ease;
}

.rochi-read-more-btn:hover {
  color: #d82d56;
  transform: translateX(-4px);
}

.rochi-split-sidebar-box {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rochi-sidebar-box-header {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}

.rochi-sidebar-box-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #1e293b;
}

.rochi-split-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rochi-sidebar-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf2f7;
  transition: all 0.2s ease;
}

.rochi-sidebar-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.rochi-sidebar-item-thumb {
  width: 96px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
}

.rochi-sidebar-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.rochi-sidebar-item:hover .rochi-sidebar-item-thumb img {
  transform: scale(1.08);
}

.rochi-sidebar-item-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rochi-sidebar-item-cat {
  font-size: 11px;
  color: var(--rochi-primary, #ec406a);
  font-weight: 700;
  margin-bottom: 4px;
}

.rochi-sidebar-item-title {
  margin: 0 0 6px 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rochi-sidebar-item-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rochi-sidebar-item-title a:hover {
  color: var(--rochi-primary, #ec406a);
}

.rochi-sidebar-item-date {
  font-size: 11.5px;
  color: #94a3b8;
}

/* Grid with Banners Section (Sarak-Co Style) */
.rochi-banners-layout-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start !important;
}

.rochi-grid-banners-wrapper.sidebar-pos-right .rochi-banners-layout-container {
  grid-template-columns: 320px 1fr;
}

@media (max-width: 960px) {
  .rochi-banners-layout-container,
  .rochi-grid-banners-wrapper.sidebar-pos-right .rochi-banners-layout-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.rochi-banners-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky !important;
  top: 90px !important;
  z-index: 5;
}

@media (max-width: 960px) {
  .rochi-banners-sidebar {
    position: static !important;
    flex-direction: row;
    gap: 16px;
  }
  .rochi-banner-slot {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .rochi-banners-sidebar {
    flex-direction: column;
  }
}

.rochi-banner-slot {
  width: 100%;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: #f1f5f9;
}

.rochi-promo-banner {
  display: block;
  width: 100%;
  height: auto !important;
  overflow: hidden;
  border-radius: 18px;
  position: relative;
}

.rochi-promo-banner img {
  width: 100%;
  height: auto !important;
  max-width: 100%;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rochi-promo-banner:hover img {
  transform: scale(1.04);
}

/* Floating Back to Top Key */
.rochi-floating-back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rochi-floating-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rochi-floating-back-to-top:hover {
  background: var(--rochi-primary, #ec406a);
  color: #ffffff;
  border-color: var(--rochi-primary, #ec406a);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(236, 64, 106, 0.35);
}

.rochi-floating-back-to-top i {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.rochi-floating-back-to-top:hover i {
  transform: translateY(-2px);
}


/* Clean Section Heading Titles - No unnecessary divider lines */
.elementor-widget-heading .elementor-heading-title {
  border-bottom: none !important;
  text-decoration: none !important;
}

.elementor-widget-heading .elementor-heading-title::after {
  display: none !important;
}




/* ========================================================
   SEARCH BAR & BUTTONS COLOR & RADIUS ADJUSTMENTS
   ======================================================== */

/* Wide, Circle Search Bar */
.elementor-widget-search-form {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

.elementor-widget-search-form .elementor-search-form {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

.elementor-widget-search-form .elementor-search-form__container {
  width: 100% !important;
  max-width: 720px !important;
  height: 56px !important;
  border-radius: 50px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 2px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.25s ease !important;
  display: flex !important;
  align-items: center !important;
  padding: 3px !important;
  box-sizing: border-box !important;
}

.elementor-widget-search-form .elementor-search-form__container:focus-within {
  border-color: #ec406a !important;
  box-shadow: 0 6px 24px rgba(236, 64, 106, 0.16) !important;
}

.elementor-widget-search-form .elementor-search-form__input {
  border-radius: 50px !important;
  padding: 0 24px !important;
  font-size: 15px !important;
  font-family: inherit !important;
  border: none !important;
  outline: none !important;
  height: 100% !important;
  flex-grow: 1 !important;
  background: transparent !important;
  color: #1e293b !important;
}

/* Search Submit Button: Icon matches border color, and turns white on hover */
.elementor-widget-search-form .elementor-search-form__submit {
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2px solid #ec406a !important;
  color: #ec406a !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 8px rgba(236, 64, 106, 0.15) !important;
  margin: 0 !important;
}

.elementor-widget-search-form .elementor-search-form__submit i {
  color: #ec406a !important;
  font-size: 16px !important;
  transition: color 0.25s ease !important;
}

.elementor-widget-search-form .elementor-search-form__submit:hover {
  background: #ec406a !important;
  border-color: #ec406a !important;
  transform: scale(1.05) !important;
  box-shadow: 0 4px 14px rgba(236, 64, 106, 0.35) !important;
}

.elementor-widget-search-form .elementor-search-form__submit:hover i {
  color: #ffffff !important;
}

/* Floating Back to Top Button: Icon matches border color, turns white on hover */
.rochi-floating-back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff !important;
  border: 2px solid #ec406a !important;
  color: #ec406a !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rochi-floating-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rochi-floating-back-to-top i {
  color: #ec406a !important;
  font-size: 16px !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.rochi-floating-back-to-top:hover {
  background: #ec406a !important;
  border-color: #ec406a !important;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(236, 64, 106, 0.35);
}

.rochi-floating-back-to-top:hover i {
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ========================================================
   MODISEH HERO GRID (Section 0)
   ======================================================== */
.rochi-modiseh-hero-wrapper {
  width: 100%;
  margin-top: 24px;
}

.rochi-modiseh-hero {
  width: 100%;
  display: flex;
  gap: 14px;
  height: 460px;
  box-sizing: border-box;
}

.rochi-hero-right {
  width: 57%;
  height: 100%;
}

.rochi-hero-left {
  width: 43%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rochi-hero-bottom-split {
  display: flex;
  gap: 14px;
  flex: 1;
  height: calc(50% - 7px);
}

.rochi-hero-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.rochi-hero-card-med {
  height: calc(50% - 7px);
}

.rochi-hero-card-sm {
  flex: 1;
  height: 100%;
}

.rochi-hero-card-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.rochi-hero-card-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.rochi-hero-card:hover .rochi-hero-card-link img {
  transform: scale(1.06);
}

.rochi-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.3) 45%, rgba(15, 23, 42, 0) 75%);
  transition: opacity 0.3s ease;
  z-index: 1;
}

.rochi-hero-card:hover .rochi-hero-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.35) 45%, rgba(15, 23, 42, 0) 75%);
}

.rochi-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rochi-hero-cat {
  align-self: flex-start;
  background: rgba(236, 64, 106, 0.92);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.rochi-hero-title {
  color: #ffffff;
  margin: 0;
  font-weight: 800;
  line-height: 1.45;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.rochi-hero-card-lg .rochi-hero-title {
  font-size: 19px;
  max-height: 56px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rochi-hero-card-med .rochi-hero-title {
  font-size: 15px;
  max-height: 44px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rochi-hero-card-sm .rochi-hero-title {
  font-size: 13px;
  max-height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rochi-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
  .rochi-modiseh-hero-wrapper {
    margin-top: 15px;
    height: auto !important;
  }

  .rochi-modiseh-hero,
  .elementor-widget-rochi-hero-grid .rochi-modiseh-hero {
    flex-direction: column !important;
    height: auto !important;
    max-height: none !important;
    gap: 14px !important;
  }

  .rochi-hero-right,
  .elementor-widget-rochi-hero-grid .rochi-hero-right {
    width: 100% !important;
    height: 280px !important;
    max-height: none !important;
  }

  .rochi-hero-left,
  .elementor-widget-rochi-hero-grid .rochi-hero-left {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .rochi-hero-card-med {
    width: 100% !important;
    height: 200px !important;
  }

  .rochi-hero-bottom-split {
    width: 100% !important;
    height: 180px !important;
    display: flex !important;
    gap: 14px !important;
  }

  .rochi-hero-card-sm {
    flex: 1 1 0 !important;
    width: calc(50% - 7px) !important;
    height: 100% !important;
  }
}

@media (max-width: 480px) {
  .rochi-hero-right,
  .elementor-widget-rochi-hero-grid .rochi-hero-right {
    height: 240px !important;
  }

  .rochi-hero-card-med {
    height: 170px !important;
  }

  .rochi-hero-bottom-split {
    height: 150px !important;
    gap: 10px !important;
  }

  .rochi-hero-card-sm {
    width: calc(50% - 5px) !important;
  }

  .rochi-hero-content {
    padding: 12px !important;
    gap: 6px !important;
  }

  .rochi-hero-card-lg .rochi-hero-title {
    font-size: 16px !important;
    max-height: 44px !important;
  }

  .rochi-hero-card-med .rochi-hero-title {
    font-size: 13.5px !important;
    max-height: 38px !important;
  }

  .rochi-hero-card-sm .rochi-hero-title {
    font-size: 11px !important;
    max-height: 30px !important;
    line-height: 1.35 !important;
  }

  .rochi-hero-cat {
    font-size: 9.5px !important;
    padding: 2px 7px !important;
  }

  .rochi-hero-meta {
    font-size: 10px !important;
    gap: 6px !important;
  }
}

/* ========================================================
   MONTKHAB KHAYATI - INTERACTIVE SIDEBAR & ACTIVE HIGHLIGHT
   ======================================================== */
.rochi-sidebar-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rochi-sidebar-box-hint {
  font-size: 11px;
  color: var(--rochi-primary, #ec406a);
  font-weight: 600;
}

.rochi-sidebar-item {
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 12px;
  transition: all 0.25s ease;
  position: relative;
}

.rochi-sidebar-item:hover,
.rochi-sidebar-item.is-active {
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border-right: none !important;
}

.rochi-sidebar-item.is-active {
  background: #ffffff !important;
}

.rochi-sidebar-item.is-active .rochi-sidebar-item-title {
  color: var(--rochi-primary, #ec406a);
  font-weight: 800;
}

.rochi-featured-card.rochi-card-updating {
  opacity: 0.45;
  transform: scale(0.99);
  transition: all 0.15s ease;
}

/* ========================================================
   ZENDAGI BA KHAYATI - 3 COLUMNS & COMPACT ARTICLES
   ======================================================== */
.rochi-grid-banners-wrapper .rochi-banners-layout-container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: stretch;
}

.rochi-grid-banners-wrapper .rochi-cards-grid.rochi-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rochi-grid-banners-wrapper .rochi-card-body {
  padding: 12px 14px 14px;
}

.rochi-grid-banners-wrapper .rochi-card-title {
  font-size: 13.5px;
  height: 42px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.rochi-grid-banners-wrapper .rochi-card-meta {
  font-size: 11px;
  gap: 6px;
}

@media (max-width: 1200px) {
  .rochi-grid-banners-wrapper .rochi-cards-grid.rochi-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .rochi-grid-banners-wrapper .rochi-banners-layout-container {
    grid-template-columns: 1fr;
  }
  .rochi-grid-banners-wrapper .rochi-cards-grid.rochi-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .rochi-grid-banners-wrapper .rochi-cards-grid.rochi-cols-3 {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   CAROUSEL EQUAL HEIGHT & ARROWS FIX
   ======================================================== */
.blog-posts-holder {
  position: relative !important;
}

.blog-posts-holder .owl-carousel {
  position: relative !important;
}

/* Equal Height for all articles */
.blog-posts-holder .owl-carousel .owl-stage {
  display: flex !important;
}

.blog-posts-holder .owl-carousel .owl-item {
  display: flex !important;
  flex: 1 0 auto;
  height: auto !important;
}

.blog-posts-holder .owl-carousel .owl-item .blog-loop-inner,
.blog-posts-holder .owl-carousel .owl-item .type-post,
.blog-posts-holder .owl-carousel .owl-item .post-inner {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  /*height: 100% !important;*/
}

.blog-posts-holder .owl-carousel .owl-item .post-content {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.blog-posts-holder .owl-carousel .owl-item .entry-title {
  height: 48px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  line-height: 1.5 !important;
  font-size: 14.5px !important;
}

.blog-posts-holder .owl-carousel .owl-item .read_more_btn {
  margin-top: auto !important;
}

/* Section 5 Unified Modern Header (کسب‌وکار نساجی و پوشاک) */
.elementor-element-b4f9ec4 {
  margin-bottom: 24px !important;
}

.elementor-element-b4f9ec4 .elementor-container,
.elementor-element-b4f9ec4 .elementor-row {
  display: flex !important;
  flex-direction: row-reverse !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 4px !important;
}

.elementor-element-b4f9ec4 .elementor-column.elementor-col-50,
.elementor-element-b4f9ec4 .elementor-column {
  width: auto !important;
  flex: 0 0 auto !important;
}

.elementor-element-2e72a36 {
  margin: 0 !important;
}

.elementor-element-2e72a36 .elementor-heading-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  line-height: 1.3 !important;
  letter-spacing: -0.3px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.elementor-element-2e72a36 .elementor-heading-title::before {
  content: '' !important;
  display: inline-block !important;
  width: 5px !important;
  height: 22px !important;
  background: var(--rochi-primary, #ec406a) !important;
  border-radius: 4px !important;
  flex-shrink: 0 !important;
}

.elementor-element-9faf70a {
  margin: 0 !important;
}

.elementor-element-9faf70a .elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 5px 14px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: none !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.elementor-element-9faf70a .elementor-button-content-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.elementor-element-9faf70a .elementor-button-content-wrapper::after {
  content: '\f060' !important;
  font-family: 'Font Awesome 5 Free' !important;
  font-weight: 900 !important;
  font-size: 11px !important;
  color: inherit !important;
  transition: transform 0.2s ease !important;
}

.elementor-element-9faf70a .elementor-button:hover {
  background: #ec406a !important;
  border-color: #ec406a !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(236, 64, 106, 0.25) !important;
}

.elementor-element-9faf70a .elementor-button:hover .elementor-button-content-wrapper::after {
  transform: translateX(-2px) !important;
}

@media (max-width: 640px) {
  .elementor-element-2e72a36 .elementor-heading-title {
    font-size: 16px !important;
    gap: 8px !important;
  }
  .elementor-element-2e72a36 .elementor-heading-title::before {
    height: 18px !important;
    width: 4px !important;
  }
  .elementor-element-9faf70a .elementor-button {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }
}

/* Section 5 Carousel Cards Alignment */
.blog-posts-holder .owl-carousel .owl-item .blog-loop-inner {
  padding: 8px 10px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.blog-posts-holder .owl-carousel .owl-item .rochi-card {
  width: 100% !important;
  height: 100% !important;
  min-height: 310px !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease !important;
}

.blog-posts-holder .owl-carousel .owl-item .rochi-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(236, 64, 106, 0.3) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
}

.blog-posts-holder .owl-carousel .owl-item .rochi-card .rochi-card-media {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
  background: #f1f5f9 !important;
  line-height: normal !important;
}

.blog-posts-holder .owl-carousel .owl-item .rochi-card .rochi-card-media-link img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: block !important;
}

.blog-posts-holder .owl-carousel .owl-item .rochi-card:hover .rochi-card-media-link img {
  transform: scale(1.06) !important;
}

.blog-posts-holder .owl-carousel .owl-item .rochi-card .rochi-card-cat-badge {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  background: rgba(236, 64, 106, 0.92) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 9px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  z-index: 2 !important;
  line-height: 1.4 !important;
  display: inline-block !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.blog-posts-holder .owl-carousel .owl-item .rochi-card-cat-badge:hover {
  background: #d82d56 !important;
  color: #ffffff !important;
  transform: scale(1.04) !important;
}

.blog-posts-holder .owl-carousel .owl-item .rochi-card .rochi-card-body {
  padding: 16px 18px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

.blog-posts-holder .owl-carousel .owl-item .rochi-card .rochi-card-title {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  margin: 0 0 12px 0 !important;
  height: 44px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.blog-posts-holder .owl-carousel .owl-item .rochi-card .rochi-card-title a {
  color: #1e293b !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.blog-posts-holder .owl-carousel .owl-item .rochi-card .rochi-card-title a:hover {
  color: #ec406a !important;
}

.blog-posts-holder .owl-carousel .owl-item .rochi-card .rochi-card-meta {
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 11.5px !important;
  color: #94a3b8 !important;
}

/* Perfect Centered Side Arrows */
.blog-posts-holder .owl-carousel .owl-nav {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  display: block !important;
}

.blog-posts-holder .owl-carousel .owl-nav button.owl-prev,
.blog-posts-holder .owl-carousel .owl-nav button.owl-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: auto !important;
  z-index: 25 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #464749 !important;
  font-size: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  transition: all 0.25s ease !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.blog-posts-holder .owl-carousel .owl-nav button.owl-prev {
  right: -20px !important;
  left: auto !important;
}

.blog-posts-holder .owl-carousel .owl-nav button.owl-next {
  left: -20px !important;
  right: auto !important;
}

.blog-posts-holder .owl-carousel .owl-nav button.owl-prev:hover,
.blog-posts-holder .owl-carousel .owl-nav button.owl-next:hover {
  background: #ec406a !important;
  color: #ffffff !important;
  border-color: #ec406a !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(236, 64, 106, 0.35) !important;
}


/* ========================================================
   NAVBAR CIRCULAR SEARCH BAR
   ======================================================== */
.rochi-navbar-search {
  display: flex;
  align-items: center;
  margin-left: 14px;
}

.rochi-navbar-search-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  padding: 3px 4px 3px 14px;
  width: 250px;
  height: 40px;
  box-sizing: border-box;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rochi-navbar-search-form:focus-within {
  border-color: #ec406a;
  width: 300px;
  box-shadow: 0 4px 16px rgba(236, 64, 106, 0.16);
}

.rochi-navbar-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 13.5px;
  color: #1e293b;
  width: 100%;
  padding: 0 6px 0 10px;
}

.rochi-navbar-search-btn {
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: none!important;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.rochi-navbar-search-btn i {
  font-size: 13px;
  color: #ec406a;
  transition: color 0.25s ease;
}

.rochi-navbar-search-btn:hover {
  background: #ec406a;
  border-color: #ec406a;
}

.rochi-navbar-search-btn:hover i {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .rochi-navbar-search-form {
    width: 190px;
  }
  .rochi-navbar-search-form:focus-within {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .rochi-navbar-search {
    display: none;
  }
}

/* Inline SVG Meta Icons */
.rochi-icon-clock,
.rochi-icon-read {
  display: inline-block;
  vertical-align: -2px;
  margin-left: 4px;
  stroke: currentColor;
}

/* Carousel: Hide arrows and ensure auto sliding */
.blog-posts-holder .owl-carousel .owl-nav {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ========================================================
   ROCHI OVERHAULED RESPONSIVE FOOTER
   ======================================================== */
.rochi-footer-overhauled {
  background: #0f172a !important;
  color: #ffffff !important;
  padding: 55px 0 25px !important;
  border-top: 1px solid #1e293b !important;
  font-family: inherit;
}

.rochi-footer-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid #1e293b !important;
  flex-wrap: wrap;
  gap: 20px;
}

.rochi-footer-brand-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.rochi-footer-logo {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.rochi-footer-slogan {
  margin: 0;
  font-size: 13.5px;
  color: #e2e8f0 !important;
  line-height: 1.6;
}

.rochi-footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rochi-footer-social-title {
  font-size: 13px;
  color: #ffffff !important;
  font-weight: 600;
}

.rochi-footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rochi-footer-social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e293b !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border: 1px solid #334155 !important;
  transition: all 0.25s ease;
  text-decoration: none;
}

.rochi-footer-social-links a i {
  color: #ffffff !important;
  transition: color 0.25s ease;
}

.rochi-footer-social-links a:hover {
  background: var(--rochi-primary, #ec406a) !important;
  border-color: var(--rochi-primary, #ec406a) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(236, 64, 106, 0.35);
}

.rochi-footer-social-links a:hover i {
  color: #ffffff !important;
}

.rochi-footer-main-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.rochi-footer-col {
  display: flex;
  flex-direction: column;
}

.rochi-footer-heading {
  color: var(--rochi-primary, #ec406a) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  margin: 0 0 20px 0 !important;
  position: relative !important;
  padding-bottom: 10px !important;
  border: none !important;
}

.rochi-footer-heading::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 32px !important;
  height: 3px !important;
  background: var(--rochi-primary, #ec406a) !important;
  border-radius: 3px !important;
}

.rochi-footer-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: #ffffff !important;
  margin-bottom: 18px;
}

.rochi-footer-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rochi-badge-item {
  font-size: 12.5px;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rochi-badge-item i {
  color: var(--rochi-primary, #ec406a) !important;
  font-size: 14px;
}

.rochi-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rochi-footer-menu li a {
  color: #ffffff !important;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rochi-footer-menu li a i {
  font-size: 11px;
  color: #94a3b8 !important;
  transition: all 0.2s ease;
}

.rochi-footer-menu li a:hover {
  color: var(--rochi-primary, #ec406a) !important;
  transform: translateX(-4px);
}

.rochi-footer-menu li a:hover i {
  transform: translateX(-3px);
  color: var(--rochi-primary, #ec406a) !important;
}

.rochi-footer-contact-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rochi-footer-contact-items li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #ffffff !important;
}

.rochi-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(236, 64, 106, 0.15) !important;
  color: var(--rochi-primary, #ec406a) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  border: 1px solid rgba(236, 64, 106, 0.3) !important;
}

.rochi-contact-icon i {
  color: var(--rochi-primary, #ec406a) !important;
}

.rochi-contact-desc {
  padding-top: 5px;
  line-height: 1.5;
  color: #ffffff !important;
}

.rochi-phone-link,
.rochi-email-link {
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rochi-phone-link:hover,
.rochi-email-link:hover {
  color: var(--rochi-primary, #ec406a) !important;
}

.rochi-footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
  border-top: 1px solid #1e293b !important;
  font-size: 13px;
  color: #ffffff !important;
  text-align: center;
}

.rochi-footer-copy {
  color: #ffffff !important;
}

.rochi-footer-copy strong {
  color: #ffffff !important;
}

@media (max-width: 1024px) {
  .rochi-footer-main-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }
}

@media (max-width: 680px) {
  .rochi-footer-overhauled {
    padding: 40px 0 20px !important;
  }

  .rochi-footer-brand-bar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .rochi-footer-brand-info {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .rochi-footer-social {
    flex-direction: column !important;
    align-items: center !important;
  }

  .rochi-footer-main-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
  }

  .rochi-footer-heading::after {
    right: 50% !important;
    transform: translateX(50%) !important;
  }

  .rochi-footer-menu {
    align-items: center !important;
  }

  .rochi-footer-contact-items li {
    justify-content: center !important;
    text-align: center !important;
  }

  .rochi-footer-badges {
    align-items: center !important;
  }

  .rochi-footer-bottom-bar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }
}
