/*
Theme Name: KHRO Theme
Theme URI: https://khro.org
Author: KHRO Team
Author URI: https://khro.org
Description: Custom Modern News & Magazine Theme for Karun Human Rights Organization (KHRO).
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: khro-theme
Tags: news, magazine, custom-menu, featured-images, translation-ready, accessibility-ready
*/

/* Local @font-face Fallbacks */
@font-face {
    font-family: 'Vazirmatn';
    src: url('./assets/fonts/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('./assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('./assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('./assets/fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('./assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('./assets/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('./assets/fonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
  /* Colors */
  --color-primary: #1a1a2e;
  --color-secondary: #16213e;
  --color-accent: #0f3460;
  --color-accent-light: #e94560;
  --color-bg: #eaedf2;
  --color-bg-white: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-sidebar: #e5e9ef;
  --color-text-primary: #1a1a2e;
  --color-text-secondary: #6b7280;
  --color-text-muted: #9ca3af;
  --color-text-white: #ffffff;
  --color-border: #dde1e7;
  --color-border-light: #e6e9ef;
  --color-green: #22c55e;
  --color-red: #ef4444;
  --color-tag-bg: rgba(255, 255, 255, 0.9);
  --color-overlay: rgba(0, 0, 0, 0.45);
  --color-hover: #f3f4f6;
  --color-active: #eef2ff;
  --color-shadow: rgba(0, 0, 0, 0.06);
  --color-shadow-md: rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-primary: 'Inter', 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-latin: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.8125rem;
  --font-size-base: 0.9375rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-hero: 2rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px var(--color-shadow);
  --shadow-md: 0 4px 12px var(--color-shadow-md);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --sidebar-left-width: 220px;
  --sidebar-right-width: 340px;
  --content-max-width: 1400px;
  --header-height: 64px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  /* overflow-x: hidden; */
}

/* English / LTR mode */
html[lang="en"] body,
html[dir="ltr"] body,
.lang-en {
  font-family: var(--font-latin);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-light);
}

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
}

.header-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  white-space: nowrap;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.site-logo svg {
  width: 32px;
  height: 32px;
}

.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo-link img,
img.custom-logo {
  max-height: 44px;
  width: auto;
  display: block;
}

.hamburger-btn {
  display: none;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  transition: background var(--transition-fast);
}

.hamburger-btn:hover {
  background: var(--color-hover);
}

.hamburger-btn svg {
  width: 24px;
  height: 24px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.header-nav a {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-text-primary);
  background: var(--color-hover);
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.header-icon-btn:hover {
  background: var(--color-hover);
  color: var(--color-text-primary);
}

.header-icon-btn svg {
  width: 20px;
  height: 20px;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search input {
  width: 200px;
  height: 40px;
  padding: 0 var(--space-4) 0 var(--space-10);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  font-size: var(--font-size-sm);
  color: var(--color-text-primary);
  transition: all var(--transition-base);
  outline: none;
}

.header-search input:focus {
  width: 260px;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.08);
}

.header-search input::placeholder {
  color: var(--color-text-muted);
}

.header-search .search-icon {
  position: absolute;
  left: var(--space-3);
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}

/* ============================================
   MAIN LAYOUT (MAGZIN Full Width)
   ============================================ */
.site-main-wrapper {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0;
  display: block;
  min-height: calc(100vh - var(--header-height));
}

/* ============================================
   LEFT SIDEBAR (Navigation)
   ============================================ */
.sidebar-left {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
  height: fit-content;
  max-height: calc(100vh - var(--header-height) - var(--space-12));
  overflow-y: auto;
  padding-right: var(--space-4);
}

.sidebar-left::-webkit-scrollbar {
  width: 3px;
}

.sidebar-left::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 10px;
}

/* User Profile Card */
.user-profile-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: box-shadow var(--transition-base);
}

.user-profile-card:hover {
  box-shadow: var(--shadow-md);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-plan {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.user-dropdown-icon {
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
}

/* Sidebar Navigation */
.sidebar-nav {
  margin-bottom: var(--space-6);
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.sidebar-nav-item:hover {
  background: var(--color-hover);
  color: var(--color-text-primary);
}

.sidebar-nav-item.active {
  background: var(--color-active);
  color: var(--color-text-primary);
  font-weight: var(--font-weight-semibold);
}

.sidebar-nav-item svg,
.sidebar-nav-item .nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sidebar-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: var(--space-4) 0;
}

/* Sidebar Categories */
.sidebar-categories .sidebar-nav-item {
  font-weight: var(--font-weight-normal);
}

/* ============================================
   CONTENT AREA
   ============================================ */
.content-main {
  min-width: 0;
}

/* Hero Card */
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-6);
  aspect-ratio: 16 / 9;
  max-height: 420px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-card:hover img {
  transform: scale(1.03);
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  color: var(--color-text-white);
}

.hero-card-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-tag-bg);
  color: var(--color-text-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  backdrop-filter: blur(8px);
}

.hero-card-title {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
}

.hero-card-meta .author-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.4);
  object-fit: cover;
}

.hero-card-meta .author-name {
  font-weight: var(--font-weight-medium);
}

.hero-card-meta .meta-separator {
  color: rgba(255, 255, 255, 0.5);
}

.hero-card-actions {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  display: flex;
  gap: var(--space-2);
}

.hero-card-actions button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  color: var(--color-text-white);
  transition: background var(--transition-fast);
}

.hero-card-actions button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-card-actions button svg {
  width: 18px;
  height: 18px;
}

/* Article Grid */
.articles-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

/* Article Card */
.article-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-slow);
  cursor: pointer;
  display: flex;
  align-items: stretch;
  height: 180px;
}

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

.article-card-image {
  position: relative;
  flex: 0 0 180px;
  width: 180px;
  height: 100%;
  overflow: hidden;
}

.article-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform var(--transition-slow);
}

.article-card:hover .article-card-image img {
  transform: scale(1.04);
}

.article-card-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.article-card-tag {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent-light);
  background: rgba(233, 69, 96, 0.08);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  align-self: flex-start;
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-title a {
  color: inherit;
  transition: color var(--transition-fast);
}

.article-card-title a:hover {
  color: var(--color-accent-light);
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-light);
  padding-top: 12px;
  margin-top: 6px;
}

.article-card-author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.article-card-author img {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.article-card-author span {
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
}

.article-card-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.article-card-actions button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.article-card-actions button:hover {
  background: var(--color-hover);
  color: var(--color-text-primary);
}

.article-card-actions button svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 600px) {
  .article-card {
    flex-direction: column !important;
    height: auto !important;
  }
  .article-card-image {
    flex: none !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
  }
  .article-card-body {
    padding: var(--space-4) var(--space-5) !important;
  }
}

/* ============================================
   RIGHT SIDEBAR
   ============================================ */
.sidebar-right {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
  height: fit-content;
  max-height: calc(100vh - var(--header-height) - var(--space-12));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.sidebar-right::-webkit-scrollbar {
  width: 3px;
}

.sidebar-right::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 10px;
}

/* Widget Box */
.widget-box {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.widget-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}

.widget-more-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border-radius: var(--radius-full);
  color: var(--color-text-primary);
  transition: all var(--transition-fast);
}

.widget-more-btn:hover {
  background: var(--color-text-primary);
  color: var(--color-text-white);
}

.widget-more-btn svg {
  width: 16px;
  height: 16px;
  transform: rotate(0deg);
  transition: transform var(--transition-fast);
}

body.ltr .widget-more-btn svg,
html[dir="ltr"] .widget-more-btn svg {
  transform: rotate(180deg);
}

/* Trending News Item */
.trending-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

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

.trending-item:first-child {
  padding-top: 0;
}

.trending-item:hover {
  opacity: 0.8;
}

.trending-item-image {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.trending-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trending-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trending-item-tag {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.trending-item-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  line-height: var(--line-height-tight);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Trending Sections */
.trending-section-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  border-bottom: none !important;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 12px;
  margin-bottom: 2px;
}

.trending-section-item:last-child {
  margin-bottom: 0;
}

.trending-section-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trending-section-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted, #64748b);
  transition: color 0.2s ease;
}

.trending-section-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-primary, #111827);
  transition: color 0.2s ease;
}

.trending-section-right {
  display: flex;
  align-items: center;
}

.trending-section-chevron {
  width: 16px;
  height: 16px;
  color: var(--color-text-muted, #94a3b8);
  transition: all 0.2s ease;
}

.trending-section-item:hover {
  background: var(--color-bg-secondary, rgba(0, 0, 0, 0.04));
}

.trending-section-item:hover .trending-section-name,
.trending-section-item:hover .trending-section-icon,
.trending-section-item:hover .trending-section-chevron {
  color: #ff3b30 !important;
}

body.dark-mode .trending-section-item {
  border-bottom: none !important;
  color: #f1f5f9 !important;
}

body.dark-mode .trending-section-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .trending-section-name {
  color: #f1f5f9 !important;
}

body.dark-mode .trending-section-icon {
  color: #94a3b8 !important;
}

body.dark-mode .trending-section-chevron {
  color: #64748b !important;
}

body.dark-mode .trending-section-item:hover .trending-section-name,
body.dark-mode .trending-section-item:hover .trending-section-icon,
body.dark-mode .trending-section-item:hover .trending-section-chevron {
  color: #ff5e62 !important;
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-post-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.single-post-header {
  margin-bottom: var(--space-8);
}

.single-post-category {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-accent);
  color: var(--color-text-white);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.single-post-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-5);
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.single-post-meta .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.single-post-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-8);
  max-height: 500px;
}

.single-post-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-content {
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
}

.single-post-content p {
  margin-bottom: var(--space-5);
}

.single-post-content h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin: var(--space-8) 0 var(--space-4);
}

.single-post-content h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin: var(--space-6) 0 var(--space-3);
}

.single-post-content img {
  border-radius: var(--radius-md);
  margin: var(--space-6) 0;
}

.single-post-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  background: var(--color-bg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-text-secondary);
}

.single-post-content ul,
.single-post-content ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.single-post-content li {
  margin-bottom: var(--space-2);
  list-style: disc;
}

.single-post-content ol li {
  list-style: decimal;
}

/* Post Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.post-tag {
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.post-tag:hover {
  background: var(--color-accent);
  color: var(--color-text-white);
}

/* ============================================
   ARCHIVE / SEARCH PAGE
   ============================================ */
.archive-header {
  margin-bottom: var(--space-8);
}

.archive-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.archive-description {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
}

.search-results-count {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination,
.navigation.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-8) 0;
  padding-top: var(--space-4);
  width: 100%;
}

.pagination .screen-reader-text,
.navigation.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.pagination .nav-links,
.navigation.pagination .nav-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  width: 100%;
}

.pagination a,
.pagination span,
.navigation.pagination .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-primary);
  color: var(--color-text-secondary);
  background: var(--color-bg-card, #ffffff);
  border: 1px solid var(--color-border, rgba(0,0,0,0.08));
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.pagination a:hover,
.navigation.pagination a.page-numbers:hover {
  background: #ff3b30;
  color: #ffffff !important;
  border-color: #ff3b30;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.25);
}

.pagination .current,
.navigation.pagination .page-numbers.current {
  background: #ff3b30 !important;
  color: #ffffff !important;
  border-color: #ff3b30 !important;
  box-shadow: 0 4px 14px rgba(255, 59, 48, 0.35) !important;
}

.pagination .dots,
.navigation.pagination .page-numbers.dots {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--color-text-muted);
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404 {
  text-align: center;
  padding: var(--space-16) 0;
}

.error-404 h1 {
  font-size: 6rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-border);
  margin-bottom: var(--space-4);
}

.error-404 h2 {
  font-size: var(--font-size-2xl);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.error-404 p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

.error-404 .search-form {
  max-width: 400px;
  margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: transparent;
  color: inherit;
  padding: 0;
  margin-top: 0;
}

.footer-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-brand h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-3);
}

.footer-brand p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--line-height-relaxed);
}

.footer-col h4 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col ul li {
  margin-bottom: var(--space-2);
}

.footer-col ul li a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-text-white);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-text-white);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   SEARCH FORM
   ============================================ */
.search-form {
  display: flex;
  gap: var(--space-2);
}

.search-form input[type="search"] {
  flex: 1;
  height: 44px;
  padding: 0 var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-form input[type="search"]:focus {
  border-color: var(--color-accent);
}

.search-form button {
  height: 44px;
  padding: 0 var(--space-5);
  background: var(--color-text-primary);
  color: var(--color-text-white);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: opacity var(--transition-fast);
}

.search-form button:hover {
  opacity: 0.85;
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  z-index: 201;
  width: 280px;
  height: 100%;
  background: var(--color-bg-white);
  padding: var(--space-6);
  overflow-y: auto;
  transition: left var(--transition-slow);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  margin-left: auto;
  color: var(--color-text-secondary);
  transition: background var(--transition-fast);
}

.mobile-menu-close:hover {
  background: var(--color-hover);
}

.mobile-menu-close svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   NO POSTS
   ============================================ */
.no-posts {
  text-align: center;
  padding: var(--space-16) 0;
}

.no-posts h2 {
  font-size: var(--font-size-2xl);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.no-posts p {
  color: var(--color-text-secondary);
}

/* ============================================
   LOADING SKELETON
   ============================================ */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--color-bg) 25%, var(--color-border-light) 50%, var(--color-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease forwards;
}

.article-card {
  animation: fadeInUp 0.5s ease forwards;
}

.article-card:nth-child(1) { animation-delay: 0s; }
.article-card:nth-child(2) { animation-delay: 0.1s; }
.article-card:nth-child(3) { animation-delay: 0.2s; }
.article-card:nth-child(4) { animation-delay: 0.3s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
  :root {
    --sidebar-right-width: 300px;
    --sidebar-left-width: 200px;
  }
}

@media (max-width: 1024px) {
  .site-main-wrapper {
    grid-template-columns: 1fr var(--sidebar-right-width);
  }

  .sidebar-left {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .header-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-hero: 1.5rem;
    --font-size-3xl: 1.5rem;
  }

  .site-main-wrapper {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }

  .sidebar-right {
    position: static;
    max-height: none;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .header-search input {
    width: 140px;
  }

  .header-search input:focus {
    width: 180px;
  }

  .header-icons {
    display: none;
  }

  .hero-card {
    aspect-ratio: 4 / 3;
    max-height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .single-post-title {
    font-size: var(--font-size-2xl);
  }
}

@media (max-width: 480px) {
  .header-search {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-title {
    font-size: var(--font-size-xl);
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.screen-reader-text:focus {
  background-color: var(--color-bg);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto;
  clip-path: none;
  color: var(--color-text-primary);
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  height: auto;
  left: var(--space-2);
  padding: var(--space-3) var(--space-6);
  top: var(--space-2);
  width: auto;
  z-index: 1000;
}

/* WordPress alignment classes */
.alignleft {
  float: left;
  margin-right: var(--space-4);
  margin-bottom: var(--space-4);
}

.alignright {
  float: right;
  margin-left: var(--space-4);
  margin-bottom: var(--space-4);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--space-2) 0;
}

/* WordPress block styles */
.wp-block-image {
  margin: var(--space-6) 0;
}

.wp-block-image img {
  border-radius: var(--radius-md);
}

.has-text-align-center {
  text-align: center;
}

/* ============================================
   LANGUAGE SWITCHER & TRANSLATION SYSTEM
   ============================================ */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px var(--space-3);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-secondary);
  background: var(--color-bg-white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background: var(--color-hover);
  color: var(--color-text-primary);
  border-color: var(--color-text-muted);
}

.lang-btn svg {
  width: 14px;
  height: 14px;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  margin-top: var(--space-2);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: none;
  flex-direction: column;
  min-width: 130px;
  z-index: 1000;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
}

body.rtl .lang-dropdown {
  left: 0;
  right: auto;
}

body.ltr .lang-dropdown {
  right: 0;
  left: auto;
}

.lang-dropdown a {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  text-align: right;
  transition: background var(--transition-fast), color var(--transition-fast);
}

body.ltr .lang-dropdown a {
  text-align: left;
}

.lang-dropdown a:hover {
  background: var(--color-hover);
  color: var(--color-text-primary);
}

.lang-dropdown a.active {
  background: var(--color-active);
  color: var(--color-text-primary);
  font-weight: var(--font-weight-bold);
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher.active .lang-dropdown {
  display: flex;
}

/* Hide Google Translate Banner and elements */
.skiptranslate,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0 !important;
}

/* ============================================
   RTL & LTR DIRECTION OVERRIDES
   ============================================ */
body.rtl {
  direction: rtl;
  unicode-bidi: embed;
}

body.ltr {
  direction: ltr;
  unicode-bidi: embed;
}

/* Specific LTR Overrides for English */
body.ltr .single-post-content blockquote {
  border-left: 4px solid var(--color-accent);
  border-right: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

body.rtl .single-post-content blockquote {
  border-right: 4px solid var(--color-accent);
  border-left: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider-outer-wrapper {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: var(--space-6) var(--space-6) 0;
  width: 100%;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  background: #eaeaea;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: var(--space-6);
  overflow: hidden;
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.hero-slider-inner {
  display: flex;
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* Left Side: Text and Vertical Dots */
.hero-slider-left {
  flex: 1.1;
  display: flex;
  align-items: center;
  gap: 35px;
  min-width: 0;
}

/* Vertical dot navigation */
.hero-slider-dots-vertical {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  flex-shrink: 0;
}

.hero-slider-dots-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.08);
  z-index: 1;
}

.slider-dot {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  outline: none;
  transition: all var(--transition-base);
}

.slider-dot .dot-inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  transition: all var(--transition-base);
}

.slider-dot.active .dot-inner {
  background: var(--color-primary);
  transform: scale(1.4);
}

.slider-dot::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid transparent;
  transform: scale(0.5);
  opacity: 0;
  transition: all var(--transition-base);
}

.slider-dot.active::before {
  border-color: var(--color-primary);
  transform: scale(1.1);
  opacity: 1;
}

/* Slide Text Group */
.hero-slide-text-group {
  flex: 1;
  position: relative;
  min-height: 280px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-width: 0;
}

.hero-slide-text-block {
  grid-area: 1 / 1 / 2 / 2;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}

.hero-slide-text-block.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.rtl .hero-slide-text-block {
  text-align: right;
  align-items: flex-start;
}

body.ltr .hero-slide-text-block {
  text-align: left;
}

.hero-slide-tag {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent-light);
  background: rgba(233, 69, 96, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  display: inline-block;
  letter-spacing: 0.03em;
}

.hero-slide-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.hero-slide-title a {
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
}

.hero-slide-title a:hover {
  color: var(--color-accent-light);
}

.hero-slide-excerpt {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-slide-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.hero-slide-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-primary);
  color: var(--color-text-white);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  border-radius: 12px;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.1);
}

.hero-slide-btn:hover {
  background: var(--color-accent-light);
  color: var(--color-text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(233, 69, 96, 0.25);
}

/* Right Side: Card Viewport & Track */
.hero-slider-right {
  flex: 1.2;
  position: relative;
  overflow: hidden;
  padding: 10px 0;
  min-width: 0;
}

.hero-slider-carousel {
  overflow: visible;
  width: 100%;
}

.hero-slider-track {
  display: flex;
  gap: 24px;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slider-card {
  flex: 0 0 280px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #111;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transform: scale(0.88);
  opacity: 0.55;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s;
}

.hero-slider-card.active {
  transform: scale(1.0);
  opacity: 1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.hero-slider-card-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slider-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.8s ease;
}

.hero-slider-card:hover .hero-slider-card-img {
  transform: scale(1.05);
}

.hero-slider-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.hero-slider-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* Slider Controls (Next/Prev Arrows) */
.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
}

.hero-slider-right:hover .hero-slider-prev,
.hero-slider-right:hover .hero-slider-next {
  opacity: 1;
  visibility: visible;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: var(--color-primary);
  color: var(--color-text-white);
  transform: translateY(-50%) scale(1.05);
}

.hero-slider-prev svg,
.hero-slider-next svg {
  width: 20px;
  height: 20px;
}

body.ltr .hero-slider-prev { left: 15px; }
body.ltr .hero-slider-next { right: 15px; }

body.rtl .hero-slider-prev { right: 15px; }
body.rtl .hero-slider-next { left: 15px; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-slider-container {
    padding: 30px;
  }
  .hero-slider-inner {
    gap: 30px;
  }
  .hero-slider-card {
    flex: 0 0 240px;
  }
  .hero-slide-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hero-slider-container {
    padding: 20px;
    border-radius: 24px;
  }
  .hero-slider-inner {
    flex-direction: column !important;
    gap: 24px;
  }
  .hero-slider-left {
    width: 100%;
    gap: 20px;
  }
  .hero-slide-text-group {
    height: auto;
    min-height: 230px;
  }
  .hero-slide-title {
    font-size: 1.5rem;
  }
  .hero-slider-right {
    width: 100%;
  }
  .hero-slider-card {
    flex: 0 0 200px;
  }
  .hero-slider-prev,
  .hero-slider-next {
    opacity: 1;
    visibility: visible;
    width: 40px;
    height: 40px;
  }
}
