/* --- Articles Page Premium Styling --- */

:root {
    --gold: #c9a24a;
    --gold-grad: linear-gradient(135deg, #c9a24a 0%, #ecd48a 100%);
}

.bg-black { background-color: #050505; }

/* Hero Styling */
.blog-hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at center, rgba(201,162,74,0.12), transparent 70%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
}

.hero-description {
    max-width: 600px;
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
}

/* Blog Card */
.blog-card {
    background: #0f0f0f;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    height: 100%;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;

    display: flex;
    flex-direction: column;
}


.blog-card:hover {
    transform: translateY(-15px);
    border-color: var(--gold);
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
}

/* Image Effects */
.blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1) rotate(1deg);
}

.image-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, #0f0f0f, transparent);
}

/* Content */
.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-date {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.blog-content h5 {
    color: #fff;
    margin: 15px 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-content p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
     display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* الزر الجديد بدل الرابط الأزرق */
.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold) !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
    margin-top: auto;
}

.btn-read-more i {
    transition: 0.3s;
}

.btn-read-more:hover {
    color: #fff !important;
}

.btn-read-more:hover i {
    transform: translateX(8px);
}

/* Badge */
.rental-badge {
    background: rgba(201, 162, 74, 0.1);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
}

/* --- Article Detail Page Styling --- */

.article-hero {
    padding: 180px 0 80px;
    background: radial-gradient(circle at center, rgba(201,162,74,0.15), transparent 80%);
}

.article-badge {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-block;
}

.article-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-top: 20px;
    line-height: 1.2;
}

.title-separator {
    width: 100px;
    height: 4px;
    background: var(--gold-grad);
    margin-top: 30px;
    border-radius: 2px;
}

/* Featured Image Wrapper */
.article-featured-image {
    position: relative;
    margin-bottom: 60px;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-glow-effect {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
    z-index: 1;
}

/* Article Body & Typography */
.article-wrapper {
    max-width: 900px; /* عرض محدد لراحة العين أثناء القراءة */
    margin: auto;
}

.article-body {
    background: rgba(255, 255, 255, 0.02);
    padding: 60px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-content-inner {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    line-height: 2; /* تباعد أسطر مريح */
}

/* ستايل العناوين داخل نص المقال */
.article-content-inner h2, 
.article-content-inner h3 {
    color: #fff;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.article-content-inner p {
    margin-bottom: 25px;
}

.article-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .article-main-title { font-size: 2.2rem; }
    .article-body { padding: 30px 20px; }
    .article-hero { padding: 140px 0 60px; }
}