/*
Theme Name: Faiz-ul-Mawaid-il-Burhaniyah
Theme URI: https://bohradevelopers.com/
Author: BohraDevelopers.com
Author URI: https://bohradevelopers.com/
Description: Faiz-ul-Mawaid-il-Burhaniyah emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
Text Domain: faizulmawaidilburhaniyah
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

.ts-control input::placeholder {color: #9ca3af; font-size: 14px;}
.category-item-row {display: flex; align-items: center; justify-content: space-between;}
.toggle-subcat {cursor: pointer;color: #991b1b;font-size: 0.8rem;padding: 5px;transition: transform 0.3s;}
.sub-categories {list-style: none !important;padding: 0 0 0 1.5rem !important;margin: 0.5rem 0 0 !important;border-left: 1px solid #991b1b !important;}
.sub-categories li {margin-bottom: 0.4rem !important;}
.sub-categories li a {font-size: 0.9rem !important;}

body.page-id-2 #content .our-story-page .stories-section .stories-grid .story-card .story-card-inner{min-height:19rem;}
body.page-id-2 #content .our-story-page .stories-section .stories-grid{display: block !important;}
body.page-id-2 #content .our-story-page .stories-section .stories-grid .slick-list .slick-track{display: flex; gap: 2rem;}

/* Language Visibility Rules */
body.ltr .ar, body.ltr .arabic, body.ltr .lsd { display: none !important; }
body.ltr .en, body.ltr .english { display: block !important; }

body.rtl .en, body.rtl .english { display: none !important; }
body.rtl .ar, body.rtl .arabic, body.rtl .lsd { display: block !important; }  

/* Custom Language Switcher */
.lang-switcher {position: relative; display: flex; background: rgba(10, 42, 88, 0.5); border-radius: 50px; padding: 2px; cursor: pointer; width: 140px; height: 36px; align-items: center; border: 1px solid rgba(255, 255, 255, 0.1); margin: 0 auto; user-select: none; transition: background 0.3s ease;}
.lang-switcher:hover {background: rgba(10, 42, 88, 0.7);}
.lang-option {flex: 1; text-align: center; z-index: 2; color: #fff; font-weight: 700; transition: color 0.3s ease; font-size: 13px;}
.lang-option.active {color: #991b1b; background: #fff; height: 33px; border-radius: 1rem; display: flex;align-items: center; justify-content: center;}
.switcher-pill {position: absolute; width: calc(50% - 2px); height: calc(100% - 4px); top: 2px; left: 2px; border-radius: 50px; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 1; box-shadow: 0 2px 5px rgba(0,0,0,0.2);}
.lang-switcher.en-active .switcher-pill {transform: translateX(100%);}