/*
Theme Name: shahiid anime
Theme URI: https://www.shahiid-anime.net/
Author: 220PX
Author URI: http://220px.com
Description: قالب شاهد أنيمي، قالب متطورات بمميزات برمجية متقدمة وتصميم مميز، شكرا لإختيارك 220PX.com
Text Domain: the220px
Tags:
*/

button,
input,
select,
textarea {
  border: 0 solid rgba(255, 255, 255, 0.06);
  padding: 12px;
  margin-bottom: 8px;
  background-color: rgba(0,0,0,0.2);
  -webkit-transition: all 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
  -moz-transition: all 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
  -ms-transition: all 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
  -o-transition: all 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
  transition: all 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
  -webkit-border-radius: 50px;
  border-radius: 50px;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  color: #fff;
  background-color: #E0A810;
  border-color: transparent;
  font-weight: 700;
}

select {
  margin-bottom: 8px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  opacity: 0.8;
}
/* تأثير خاص ومميز لزر إرسال التعليق فقط */
#commentform input[type="submit"]:hover,
.comment-form input[type="submit"]:hover,
#respond input[type="submit"]:hover,
#submit:hover {
  background: #8A6503 !important;
  transform: translateY(-2px);
  opacity: 1 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  opacity: 0.6;
}

input[Service],
input[type="radio"] {
}

input[type="search"] {
}

input[type="search"]::-webkit-search-decoration {
 /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
  ;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  background-color: rgba(0,0,0,0.4);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
}

textarea {
  width: 100%;
  vertical-align: top;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

label {
  display: block;
  font-weight: 600;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
 /* Above WP toolbar */
  ;
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
  max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
  display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
  display: block;
}

.hentry {
  margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
  display: none;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
  display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer {
 /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
  max-width: 100%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 0 auto;
}

.wp-caption-text {
  text-align: center;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}


/* تأثير التمرير: فقط ارتفاع + لون أفتح قليلاً */
.a-shars .social-share-buttons a:hover {
    transform: translateY(-2px); /* ارتفاع خفيف */
}

/* ألوان مختلفة لكل زر بناءً على الترتيب */
.a-shars .social-share-buttons a:nth-child(1):hover { background-color: #4c69ba; } /* فيسبوك */
.a-shars .social-share-buttons a:nth-child(2):hover { background-color: #2abde8; } /* تويتر */
.a-shars .social-share-buttons a:nth-child(3):hover { background-color: #2de075; } /* واتساب */
.a-shars .social-share-buttons a:nth-child(4):hover { background-color: #00a8e8; } /* تيليجرام */

/* ==========================================
   شارة نوع المحتوى - خلفية شفافة بسيطة
   ========================================== */

/* التنسيق الأساسي (مطابق لـ rated-poster) */
.poster-type {
    position: absolute;
    top: 10px;
    left: 7px;
    background: rgba(0, 0, 0, 0.8); /* لون افتراضي شفاف مثل التقييم */
    color: #fff;
    padding: 3px 7px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50px;
    z-index: 2;
    border: none; /* إلغاء الحدود تماماً */
}

/* 🔵 TV - أزرق فاتح (الأنميات التلفزيونية) */
.poster-type.type-tv {
    background: rgba(59, 130, 246, 0.8);
}

/*  Movie - ذهبي/برتقالي (الأفلام) */
.poster-type.type-movie {
    background: rgba(245, 158, 11, 0.8);
}

/* 🟣 OVA - بنفسجي */
.poster-type.type-ova {
    background: rgba(168, 85, 247, 0.8);
}

/* 🟢 ONA - أخضر (أنميات الإنترنت) */
.poster-type.type-ona {
    background: rgba(34, 197, 94, 0.8);
}

/* 🔷 Bluray - أزرق سماوي (جودة عالية) */
.poster-type.type-bluray {
    background: rgba(6, 182, 212, 0.8);
}

/*  Cam - رمادي (جودة منخفضة) */
.poster-type.type-cam {
    background: rgba(107, 114, 128, 0.8);
}

/* 🟡 Web - أخضر ليموني (ويب) */
.poster-type.type-web {
    background: rgba(104, 148, 28, 0.8);
}

/* 🔴 Special / TV Special - وردي/أحمر فاتح (حلقات خاصة) */
.poster-type.type-special {
    background: rgba(244, 63, 94, 0.8);
}

/* 🟤 مدبلج - برتقالي داكن (مميز للمدبلج) */
.poster-type.type-dubbed {
    background: rgba(234, 88, 12, 0.8);
}
/* ==========================================
   تعديل خاص للسلايدر الثاني (best-caros) فقط
   لجعل الشارة تظهر على اليمين بدلاً من اليسار
   ========================================== */
.best-caros .poster-type {
    top: 15px !important;
    left: auto !important; /* إلغاء المحاذاة لليسار */
    right: 15px !important; /* فرض المحاذاة لليمين */
    z-index: 15;
}

.single-content-type-meta {
    margin: 8px 0;
    font-size: 12px; /* حجم خط أصغر */
    color: white;    /* لون النص "النوع:" أبيض */
}


.single-content-type-meta .meta-value {
    text-decoration: none;   /* إزالة الخط السفلي */
    background: none;        /* إزالة الخلفية */
    padding: 0;              /* إزالة الحشو */
}

.single-content-type-meta .meta-value:hover {
    color: white;            /* عند التمرير: لون أبيض */
    text-decoration: none;   /* لا يظهر خط */
}

/* شارة النوع في السلايدر فقط */
.slide-poster-type {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(0, 0, 0, 0.7); /* ظل أسود شفاف */
    color: white;
    padding: 4px 8px; /* يغطي الكلمة فقط */
    font-size: 12px;
    font-weight: bold;
    border-radius: 12px;
    z-index: 10;
    text-transform: uppercase;
}

/* تأكد أن حاوية السلايدر لها موضع نسبي */
.one-slide {
    position: relative;
    display: block;
}

/* ==========================================
   شارة "مكتمل" - أسفل يسار البوستر
   بنفس نمط poster-type لكن بموقع ولون مختلف
   ========================================== */

.poster-completed {
    position: absolute;
    bottom: 15px;
    left: 7px;
    background: rgba(220, 38, 38, 0.85); /* أحمر */
    color: #fff;
    padding: 3px 7px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50px;
    z-index: 2;
    border: none;
    line-height: 1.4;
}

/* تأثيرات بسيطة لتبويبات السيرفرات */
.tabs-ul li a.buttosn {
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tabs-ul li a.buttosn:hover {
    background-color: rgba(242, 65, 65, 0.1);
    color: #f24141;
    border-bottom-color: #f24141;
}

/* تأثير بسيط للأيقونة */
.tabs-ul li a.buttosn:hover i {
    transform: scale(1.1);
}

/* صندوق مسار التنقل */
.breadcrumb-box-wrapper {
    margin-bottom: 20px;
    padding: 0 15px;
}

.breadcrumb-box {
    padding: 20px 25px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    font-size: 0.9em;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-list li a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-list li a:hover {
    color: #ffffff;
}

.breadcrumb-list li .fa-angle-left {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8em;
}

.breadcrumb-list li .current {
    color: #ffffff;
    font-weight: 600;
}

/* ==========================================
   زر MyAnimeList - 
   ========================================== */

/* --- التنسيق الأساسي للزر --- */
.head-s-movie-thumb .mal-icon-btn {
    display: inline-flex;          
    align-items: center;           
    padding: 8px 15px;            
    background: linear-gradient(135deg, #2e51a2, #4a6bc5); 
    border-radius: 25px;           
    font-size: 0.9em;              
    font-weight: 600;              
    gap: 8px;                      
    color: #fff;                   
    text-decoration: none;         
    transition: all 0.3s ease;     
}

/* --- تنسيق الأيقونة داخل الزر --- */
.head-s-movie-thumb .mal-icon-btn i {
    font-size: 1.2em;              
}

/* --- تأثير عند تمرير الماوس (Hover) --- */
.head-s-movie-thumb .mal-icon-btn:hover {
    background: linear-gradient(135deg, #4a6bc5, #2e51a2); 
    transform: translateY(-1px);   
    color: #fff;                   
}
/* ==========================================
   إلغاء أي توهج أحمر من زر MyAnimeList
   ========================================== */
.head-s-movie-thumb .mal-icon-btn:hover {
    box-shadow: none !important; /* إلغاء أي ظل/توهج */
    background: linear-gradient(135deg, #4a6bc5, #2e51a2) !important; /* فرض اللون الأزرق */
}

/* أيضاً تأكد من عدم وجود تأثير من قواعد عامة */
.head-s-movie-thumb .mal-icon-btn {
    box-shadow: none;
}

/*====================================================
=            Search Engine Styling
====================================================*/

.search-group{
    background:transparent;
    border:none;
    border-radius:0;
    margin:35px 0 45px;
    overflow:visible;
}

.search-group-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:14px 18px;

    background:#252c36;
    border-right:4px solid #D3B52F;
    border-radius:6px;
    margin-bottom:20px;
}

.search-group-title{
    margin:0;
    font-size:18px;
    font-weight:700;
    color:#fff;
    line-height:1.4;
}

.search-group-count{
    background:#c62828;
    color:#fff;
    padding:6px 12px;
    border-radius:30px;
    font-size:13px;
    font-weight:bold;
}



.search-group-content{
    padding:0;
}

.search-sub-group{
    margin-bottom:35px;
}

.search-sub-group:last-child{
    margin-bottom:0;
}

.search-sub-group + .search-sub-group{
    margin-top:30px;
    padding-top:30px;
    border-top:1px solid rgba(255,255,255,.05);
}

.search-sub-header{
    margin-bottom:12px;
}

.search-sub-title{
    display:inline-flex;
    align-items:center;
    gap:10px;

    margin:0;
    font-size:18px;
    font-weight:600;
    color:#f4f4f4;
    line-height:1.4;
}

.search-sub-title:before{
    content:"";
    display:inline-block;
    width:4px;
    height:18px;
    background:#d32f2f;
    border-radius:3px;
    margin-left:8px;
    vertical-align:middle;
}

.search-sub-count{
    display:inline-flex;
    justify-content:center;
    align-items:center;

    width:28px;
    height:28px;

    border-radius:50%;

    background:#2b313b;
    color:#fff;

    font-size:13px;
    font-weight:700;
}

.search-grid{
    margin-top:12px;
}

.search-group:last-child{
    margin-bottom:10px;
}

/* ==========================================
   شريط التنبيهات - تصميم احترافي
   ========================================== */

.shahiid-alert {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-right: 6px solid #f24141;
    border-left: 6px solid #f24141;
    border-radius: 12px;
    padding: 16px 24px;
    margin: 25px 0 30px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    
    transition: all 0.3s ease;
}

/* تأثير الضوء المتحرك (Shimmer) */
.shahiid-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: alertShimmer 4s infinite;
}

@keyframes alertShimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* أيقونة التنبيه */
.shahiid-alert i {
    font-size: 1.3em;
    color: #f24141;
    flex-shrink: 0;
    animation: alertPulse 2s infinite;
    text-shadow: 0 0 20px rgba(242, 65, 65, 0.3);
}

@keyframes alertPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* كلمة "تنبيه:" */
.shahiid-alert strong {
    font-size: 1.1em;
    color: #f24141;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* نص التنبيه */
.shahiid-alert p {
    margin: 0;
    font-size: 1em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    flex: 1;
    padding: 0;
}


/* ==========================================
   تصميم صغير (موبايل)
   ========================================== */
@media (max-width: 768px) {
    .shahiid-alert {
        flex-wrap: wrap;
        padding: 14px 18px;
        gap: 10px;
        margin: 15px 0 20px;
    }

    .shahiid-alert i {
        font-size: 1.4em;
    }

    .shahiid-alert strong {
        font-size: 1em;
    }

    .shahiid-alert p {
        font-size: 0.95em;
        width: 100%;
        padding-right: 30px;
    }

    .shahiid-alert .alert-close {
        position: absolute;
        top: 10px;
        left: 15px;
    }
}

/* إخفاء الفلاتر في جميع صفحات التصنيفات والسنوات والاستوديو */
.tax-series-years .anime-filter-row,
.tax-studio .anime-filter-row,
.tax-content_type .anime-filter-row,
.tax-series-types .anime-filter-row,
.tax-season_year .anime-filter-row,
.tax-series-quality .anime-filter-row,
.tax-movies-years .anime-filter-row,
.tax-movies-quality .anime-filter-row {
    display: none !important;
}