/*
Theme Name: Edu-university
Theme URI: https://example.com/
Author: Edu Team
Description: Version 30.0.0 - STABLE RESCUE VERSION. Fixes broken layouts, enforces light mode cards, applies global capsule search, and modern slider blur.
Version: 30.0.0
Text Domain: edu-university
Tags: education, dark-mode, rtl, right-sidebar, responsive, accessibility-ready
*/

/* =========================================
   1. IMPORTS & FONTS
   ========================================= */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

@font-face {
    font-family: 'Vazirmatn';
    src: url('assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: bold;
    font-display: swap;
}

/* =========================================
   2. VARIABLES (THE SOURCE OF TRUTH)
   ========================================= */
:root {
    /* --- Base Palette (Strict Light Mode) --- */
    --color-bg-body: #f0f2f5;
    --color-bg-card: #ffffff;
    --color-bg-header: #ffffff;
    --color-bg-element: #e4e6eb;
    
    --color-text-main: #2c3e50;
    --color-text-muted: #65676b;
    --color-primary: #2c3e50;
    --color-accent: #3498db;
    --color-danger: #e74c3c;
    --color-border: #ddd;
    
    /* --- Dynamic Menu Variables (Defaults) --- */
    /* These are overridden by Customizer via inline CSS */
    --menu-width: 95%;
    --menu-height: 70px;
    --menu-radius: 50px;
    --color-text-menu: #2c3e50;
    --font-size-menu: 16px;
    --logo-size: 130px;
    --color-bg-menu-custom: rgba(255,255,255,0.95);

    /* --- Dynamic Slider Variables (Defaults) --- */
    --slider-height: 500px;
    --slider-radius: 30px;
    --slider-text-color: #ffffff;
    --slider-overlay-opacity: 0.4;
    
    /* --- Footer Variables --- */
    --color-bg-footer: #2c3e50;
    --color-text-footer: #cccccc;
    
    /* --- Layout Effects --- */
    --shadow-soft: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-strong: 0 10px 40px rgba(0,0,0,0.2);
    --radius-card: 20px;
    
    /* --- Z-Index Layering (Critical) --- */
    --z-content: 100;
    --z-header: 500;
    --z-topbar: 600;
    --z-dropdown: 999;
    --z-overlay: 1000;
    --z-logo: 2000;
    --z-mobile-nav: 9999;
}

body.dark-mode {
    --color-bg-body: #121212;
    --color-bg-card: #1e1e1e;
    --color-bg-header: #2d2d2d;
    --color-bg-element: #333333;
    
    --color-text-main: #e0e0e0;
    --color-text-muted: #a0a0a0;
    --color-primary: #bb86fc;
    --color-accent: #03dac6;
    --color-danger: #cf6679;
    --color-border: #333;
    
    --color-text-menu: #e0e0e0;
}

/* =========================================
   3. RESET & GLOBAL STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--color-bg-body);
    color: var(--color-text-main);
    padding-bottom: 80px; /* Space for mobile sticky nav */
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    direction: rtl; /* Default Direction */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Font Awesome Fixes */
.fas, .fa-solid { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.fab, .fa-brands { font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; }
i[class*="fa-"] { display: inline-block; line-height: 1; }

/* =========================================
   4. HEADER & MENU LAYOUT
   ========================================= */
.main-header-container {
    width: 100%;
    position: relative;
    padding-bottom: 1px; /* 1px Gap Logic */
    z-index: 200;
}

/* Top Bar */
.top-info-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px 5%;
    align-items: center;
    position: relative;
    z-index: var(--z-topbar);
    background: transparent;
}

.socials-top { display: flex; gap: 8px; }
.socials-top-icon {
    width: 35px; height: 35px;
    background: rgba(128,128,128,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-text-main);
}

.left-controls { display: flex; gap: 10px; align-items: center; }
.control-btn {
    display: flex; align-items: center; gap: 5px;
    background: rgba(128,128,128,0.1);
    padding: 6px 15px; border-radius: 20px;
    color: var(--color-text-main);
    border: none; cursor: pointer; font-family: inherit;
}
.search-trigger-top.active { background-color: var(--color-accent); color: #fff !important; }

/* --- MAIN MENU WRAPPER (Customizable) --- */
.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    margin: 5px auto 1px auto; /* 1px Bottom Margin for Slider Blend */
    
    position: relative;
    z-index: var(--z-header);
    
    /* Dynamic Values */
    width: var(--menu-width);
    height: var(--menu-height);
    border-radius: var(--menu-radius);
    background-color: var(--color-bg-menu-custom); /* Customizer Color */
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.nav-menu ul { display: flex; gap: 25px; margin: 0; padding: 0; list-style: none; }
.nav-menu ul li a {
    padding: 15px 0;
    display: block;
    font-weight: bold;
    color: var(--color-text-menu);
    font-size: var(--font-size-menu);
}
.nav-menu ul li a:hover { color: var(--color-accent); }

/* Dropdown */
.nav-menu ul li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%; right: 0;
    background: var(--color-bg-card);
    min-width: 200px;
    padding: 10px 0;
    z-index: var(--z-dropdown);
    box-shadow: var(--shadow-soft);
    border-radius: 0 0 15px 15px;
    border-top: 3px solid var(--color-accent);
}
.nav-menu ul li:hover > ul.sub-menu { display: flex; flex-direction: column; animation: fadeIn 0.3s; }
.nav-menu ul li ul.sub-menu li a { padding: 10px 15px; border-bottom: 1px solid var(--color-border); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logo Badge */
.logo-badge {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    z-index: var(--z-logo);
    width: var(--logo-size);
    height: var(--logo-size);
    aspect-ratio: 1 / 1;
    background: var(--color-bg-card);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 4px solid rgba(128,128,128,0.1);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 0 !important;
}
.logo-badge img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 50%; display: block; }

/* Auth Buttons */
.auth-menu { display: flex; align-items: center; gap: 15px; }
.auth-menu a {
    color: var(--color-text-menu);
    background: rgba(128,128,128,0.1);
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: var(--font-size-menu);
}
.auth-menu a:hover { background: var(--color-accent); color: #fff; }

/* =========================================
   5. SLIDER MODULE (BLUR & MODERN)
   ========================================= */
.slider-container {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto 40px auto; /* 0 Top Margin for blending */
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    z-index: 1;

    /* Dynamic Variables */
    height: var(--slider-height);
    border-radius: var(--slider-radius);
    
    margin-top: 1px; /* 1px Physical Gap */
}

/* Blur Effect Layer */
.slider-top-blur {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 80px;
    background: linear-gradient(to bottom, var(--color-bg-body) 0%, transparent 100%);
    backdrop-filter: blur(8px);
    z-index: 5;
    pointer-events: none;
}

.slide {
    position: absolute; width: 100%; height: 100%;
    opacity: 0; transition: 1s ease-in-out;
}
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.slide-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    opacity: var(--slider-overlay-opacity); /* Controlled via Panel */
    pointer-events: none;
    z-index: 1;
}

.slider-caption {
    position: absolute; bottom: 40px; right: 40px; left: 40px;
    text-align: right;
    z-index: 6;
}
.slider-caption h2 {
    color: var(--slider-text-color);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    display: inline-block; padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
}

.slider-dots {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 10;
}
.dot {
    width: 12px; height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%; cursor: pointer; transition: 0.3s;
}
.dot.active { background: var(--color-accent); transform: scale(1.3); }

@media(max-width: 600px) {
    .slider-container { height: 280px !important; width: 92%; border-radius: 20px; }
}

/* =========================================
   6. GLOBAL CAPSULE SEARCH (FIXED)
   ========================================= */
/* Applies to Header Overlay, Sidebars, Widgets, and Standard Search Forms */

/* 1. Header Overlay (Specific) */
.top-search-overlay {
    position: absolute; top: 70px; left: 5%; width: 380px; max-width: 90vw;
    background: transparent; z-index: var(--z-overlay);
    transform: translateY(-15px); opacity: 0; visibility: hidden;
    transition: all 0.4s;
}
.top-search-overlay.active { transform: translateY(0); opacity: 1; visibility: visible; }
.top-search-overlay::before {
    content: ''; position: absolute; top: -8px; left: 20px; width: 0; height: 0;
    border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid var(--color-bg-card);
}
.search-container-box {
    background: var(--color-bg-card); padding: 10px;
    border-radius: 50px; box-shadow: var(--shadow-strong);
    display: flex; align-items: center; border: 1px solid var(--color-border);
}

/* 2. Global Input Styling (Force Capsule) */
form.search-form, .widget_search form {
    display: flex; position: relative; width: 100%;
}

input[type="search"],
input[type="text"].search-field,
.widget_search input.search-field {
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px !important; /* Force Capsule Shape */
    background: var(--color-bg-element);
    border: 1px solid transparent;
    color: var(--color-text-main);
    font-family: inherit; font-size: 1rem;
    outline: none;
    box-shadow: none;
    height: 50px; /* Uniform Height */
}

input[type="search"]:focus {
    background: var(--color-bg-card);
    border-color: var(--color-accent);
}

/* 3. Global Submit Button Styling */
.search-submit, .widget_search button {
    position: absolute; left: 5px; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff; border: none; cursor: pointer;
    z-index: 2; display: flex; align-items: center; justify-content: center;
}

/* Special Case: Header Search Button Position */
.search-container-box button[type="submit"] {
    width: 35px; height: 35px; left: 5px;
}
.search-container-box input[type="search"] {
    padding-left: 50px; /* Space for button */
}

/* Close Button (Header Only) */
.close-search {
    background: var(--color-bg-element); width: 35px; height: 35px;
    border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--color-text-muted); cursor: pointer; flex-shrink: 0; margin-right: 10px;
}
.close-search:hover { background: var(--color-danger); color: #fff; transform: rotate(90deg); }

/* =========================================
   7. MAIN CONTENT & CARDS (FIXED LIGHT MODE)
   ========================================= */
.main-content {
    max-width: 1200px; margin: 40px auto 50px; padding: 0 20px;
    display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px;
}

/* Force White Background on Cards */
.card {
    background: #ffffff !important; /* STRICT FIX */
    background-color: #ffffff !important;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
}

.card-thumb { width: 100%; height: 200px; overflow: hidden; }
.card-img-top { height: 100%; width: 100%; object-fit: cover; transition: 0.5s; }
.card:hover .card-img-top { transform: scale(1.1); }
.card-body { padding: 25px; }
.card-title { font-size: 1.2rem; color: var(--color-primary); margin-bottom: 15px; }
.card-text { margin-bottom: 20px; color: var(--color-text-muted); font-size: 0.95rem; text-align: justify; }
.btn-card {
    display: inline-block; border: 2px solid var(--color-accent);
    padding: 8px 25px; border-radius: 50px;
    color: var(--color-accent); font-weight: bold;
}
.btn-card:hover { background: var(--color-accent); color: #fff; }

.category-scroll-wrapper { max-width: 1200px; margin: 40px auto; padding: 0 20px; position: relative; z-index: 6; }
.cat-list { display: flex; gap: 20px; overflow-x: auto; padding: 20px 5px; scrollbar-width: none; }
.cat-item {
    min-width: 140px;
    background: #ffffff !important; /* STRICT FIX */
    padding: 25px; text-align: center;
    border-radius: 20px; box-shadow: var(--shadow-soft);
    color: var(--color-text-main); border: 1px solid var(--color-border);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cat-item:hover { transform: translateY(-7px); border-color: var(--color-accent); }
.cat-icon-img { width: 60px; height: 60px; object-fit: contain; }

.edu-promo-banner { width: 100%; margin: 60px 0; text-align: center; padding: 0 20px; }
.banner-container {
    max-width: 1200px; margin: 0 auto;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); transition: 0.3s;
}
.banner-container:hover { transform: translateY(-5px); }

/* Video Section (Light Mode Fix) */
.video-wrapper {
    max-width: 1200px; margin: 0 auto 80px; padding: 30px;
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px;
    background: #ffffff !important; /* STRICT FIX */
    border-radius: 30px;
    box-shadow: var(--shadow-soft); border: 1px solid var(--color-border);
}
.video-player-box { background: #000; border-radius: 20px; min-height: 400px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; width: 100%; }
.main-thumb { position: absolute; width: 100%; height: 100%; opacity: 0.6; }
.play-link { z-index: 5; font-size: 5rem; color: rgba(255,255,255,0.9); transition: 0.3s; }
.play-link:hover { color: var(--color-danger); transform: scale(1.1); }
.video-title-overlay { position: absolute; bottom: 20px; right: 20px; z-index: 2; background: rgba(0,0,0,0.8); padding: 10px 20px; border-radius: 10px; border-right: 4px solid var(--color-accent); color: white; }
.playlist { display: flex; flex-direction: column; gap: 15px; max-height: 400px; overflow-y: auto; padding-left: 5px; }
.playlist-item {
    background: var(--color-bg-element); border-radius: 50px;
    padding: 10px; display: flex; align-items: center; gap: 15px;
    cursor: pointer; transition: 0.2s;
}
.playlist-item:hover { background: #f0f2f5; border-color: var(--color-accent); transform: translateX(-5px); }
.thumb-circle { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--color-accent); }
.thumb-circle img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .video-wrapper { grid-template-columns: 1fr; padding: 15px; } .video-player-box { min-height: 250px; margin-bottom: 20px; order: 1; } .playlist { max-height: 300px; order: 2; } }

/* =========================================
   8. FOOTER & MOBILE NAV
   ========================================= */
.site-footer {
    background: var(--color-bg-footer);
    padding: 60px 20px 30px; margin-top: 50px;
    border-radius: 50px 50px 0 0;
    color: var(--color-text-footer); border-top: 1px solid var(--color-border);
}
.footer-grid { max-width: 1200px; margin: 0 auto 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-col h3 { color: var(--color-text-main); margin-bottom: 20px; border-bottom: 2px solid var(--color-accent); display: inline-block; padding-bottom: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid var(--color-border); padding-top: 20px; }

/* Mobile Sidebar */
.mobile-trigger { display: none; font-size: 1.8rem; background: none; border: none; color: var(--color-text-main); cursor: pointer; }
.mobile-sidebar {
    position: fixed; top: 0; right: 0 !important;
    width: 280px; max-width: 85vw; height: 100vh;
    background: var(--color-bg-card); z-index: 9999;
    padding: 25px; display: flex; flex-direction: column;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    transition: transform 0.4s, visibility 0.4s;
    transform: translateX(100%); visibility: hidden;
}
.mobile-sidebar.open { transform: translateX(0) !important; visibility: visible !important; }
.mobile-overlay-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 998; display: none; }
.mobile-overlay-bg.active { display: block; }
.mobile-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); margin-bottom: 20px; }
.close-btn { font-size: 1.8rem; color: var(--color-danger); background: none; border: none; cursor: pointer; }
.mobile-menu li { border-bottom: 1px solid var(--color-border); padding: 10px 0; list-style: none; }
.mobile-menu li a { font-size: 1.1rem; color: var(--color-text-main); display: block; }

.mobile-bottom-nav {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 70px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border); z-index: var(--z-mobile-nav);
    display: none; justify-content: space-around; align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
}
body.dark-mode .mobile-bottom-nav { background: rgba(30,30,30,0.95); }
.nav-item { display: flex; flex-direction: column; align-items: center; color: var(--color-text-muted); font-size: 0.7rem; background: none; border: none; cursor: pointer; }
.nav-item.active, .nav-item:hover { color: var(--color-accent); }

@media(max-width:900px){
    .nav-menu, .auth-menu { display: none; }
    .mobile-trigger { display: block; }
    .header-wrapper { padding: 0 20px; }
    .logo-badge { left: 50%; transform: translate(-50%, -50%); }
    .mobile-bottom-nav { display: flex !important; }
}

/* =========================================
   9. SINGLE PAGE (SIDEBAR & WIDGETS)
   ========================================= */
.single-container-3col { max-width: 1300px; margin: 40px auto; padding: 0 20px; display: grid; grid-template-columns: 280px 1fr 280px; gap: 30px; align-items: start; }
.sidebar-area .widget {
    background: #ffffff !important; /* STRICT FIX */
    padding: 25px; border-radius: 20px; margin-bottom: 25px;
    border: 1px solid var(--color-border); box-shadow: var(--shadow-soft);
}
.widget-title { border-right: 4px solid var(--color-accent); padding-right: 15px; margin-bottom: 20px; color: var(--color-primary); font-size: 1.1rem; font-weight: bold; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { border-bottom: 1px dashed var(--color-border); padding: 12px 5px; display: flex; justify-content: space-between; align-items: center; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--color-text-main); font-weight: 500; width: 100%; }
.widget ul li:hover { padding-right: 10px; color: var(--color-accent); }

.main-entry-content { background: #ffffff !important; padding: 40px; border-radius: 25px; border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.single-title { font-size: 2rem; margin-bottom: 20px; color: var(--color-primary); }
.single-meta { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); color: var(--color-text-muted); }
.single-meta span { margin-left: 20px; } .single-meta i { color: var(--color-accent); margin-left: 5px; }
.entry-content { font-size: 1.1rem; line-height: 1.9; color: var(--color-text-main); text-align: justify; }
.entry-content blockquote { border-right: 4px solid var(--color-accent); background: var(--color-bg-element); padding: 15px; margin: 20px 0; border-radius: 10px; }
@media (max-width: 1024px) { .single-container-3col { grid-template-columns: 1fr; } .main-entry-content { order: 1; } .sidebar-right { order: 2; } .sidebar-left { order: 3; } }

/* =========================================
   10. COMMENT FORM FIX (FIXED)
   ========================================= */
.comments-area {
    background: #ffffff !important; padding: 40px;
    border-radius: 25px; margin-top: 40px;
    border: 1px solid var(--color-border); box-shadow: var(--shadow-soft);
}
.comment-reply-title { font-size: 1.5rem; margin-bottom: 25px; color: var(--color-primary); border-bottom: 2px solid var(--color-accent); padding-bottom: 10px; display: inline-block; }

/* Grid Layout for Inputs */
.comment-form { display: grid; gap: 20px; }
.comment-form-author, .comment-form-email, .comment-form-url { width: 100%; }

@media (min-width: 768px) {
    .comment-form { grid-template-columns: 1fr 1fr 1fr; }
    .comment-form-comment { grid-column: 1 / -1; }
    .form-submit { grid-column: 1 / -1; }
}

.comment-form input[type="text"], 
.comment-form input[type="email"], 
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%; padding: 15px;
    background: var(--color-bg-element);
    border: 1px solid transparent; border-radius: 15px;
    color: var(--color-text-main); font-size: 1rem;
    transition: 0.3s;
}
.comment-form input:focus, .comment-form textarea:focus {
    background: #fff; border-color: var(--color-accent);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.15); outline: none;
}
.comment-form textarea { min-height: 150px; resize: vertical; }

.form-submit .submit {
    background: var(--color-accent); color: #fff;
    border: none; padding: 15px 40px; border-radius: 50px;
    font-weight: bold; cursor: pointer; transition: 0.3s;
    font-size: 1.1rem; min-width: 200px;
}
.form-submit .submit:hover { background: var(--color-primary); transform: translateY(-3px); }

.comment-list { list-style: none; padding: 0; margin-top: 30px; }
.comment-body { border-bottom: 1px solid var(--color-border); padding: 20px 0; display: flex; gap: 20px; }
.comment-author img { border-radius: 50%; width: 60px; height: 60px; }
.comment-meta { margin-bottom: 10px; font-size: 0.85rem; color: var(--color-text-muted); }
.reply a { color: var(--color-accent); font-size: 0.85rem; font-weight: bold; border: 1px solid var(--color-accent); padding: 2px 10px; border-radius: 10px; }

/* =========================================
   11. LTR OVERRIDE (English/Japanese)
   ========================================= */
html[dir="ltr"] .mobile-sidebar { transform: translateX(-100%); left: 0; right: auto !important; }
html[dir="ltr"] .search-form .search-submit,
html[dir="ltr"] .widget_search button { left: auto; right: 5px; }
html[dir="ltr"] .search-form .search-field { padding: 0 55px 0 20px; }
html[dir="ltr"] .top-search-overlay { left: auto; right: 5%; }
html[dir="ltr"] .top-search-overlay::before { left: auto; right: 20px; }
html[dir="ltr"] .widget-title { border-left: 3px solid var(--color-accent); border-right: none; padding-left: 15px; padding-right: 0; }
html[dir="ltr"] .card-body { text-align: left; }