/*
Theme Name: Arabic News
Theme URI: https://softwarry.com/wp/themes/arabic_theme
Author: Bakraoui Mhamed
Author URI: https://softwarry.com
Description: Clean news theme with Bootstrap
Version: 1.0.0
License: GPL v2 or later
Text Domain: arabic-news
*/

/* Ad Banner Professional Styling */
.ad-banner-container {
    perspective: 1000px;
}

.ad-banner {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

.ad-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

.dark .ad-banner {
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.dark .ad-banner:hover {
    box-shadow: 0 10px 25px -12px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

/* Hero Slider Customization */
.hero-swiper {
    --swiper-theme-color: #3b82f6;
    /* primary color */
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 2rem !important;
    border-radius: 9999px !important;
    opacity: 1 !important;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-swiper:hover .swiper-button-next,
.hero-swiper:hover .swiper-button-prev {
    opacity: 1 !important;
}

/* Grid Typography and Spacing */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[dir="rtl"] .swiper-button-next {
    right: auto !important;
    left: 20px !important;
    transform: rotate(180deg);
}

[dir="rtl"] .swiper-button-prev {
    left: auto !important;
    right: 20px !important;
    transform: rotate(180deg);
}