/*
Theme Name: Al Kawakib V9.1 Safe Original
Theme URI: https://kawakib.com
Author: Kawakib Team
Description: قالب إخباري فاخر جداً ومحسن لمحركات البحث، مصمم خصيصاً لمنصة الكواكب.
Version: 9.1.0
Text Domain: kawakib
*/

/* ── Luxury Variables ── */
:root {
 --lx-black: #0F1014;
 --lx-dark: #1A1B20;
 --lx-gold: #C5A059;
 --lx-bg: #F9F9FB;
 --lx-white: #FFFFFF;
 --lx-text: #2D303A;
 --lx-muted: #82869A;
 --lx-border: #E8E9ED;
 --lx-font-head: "Tajawal", sans-serif;
 --lx-font-body: "Cairo", sans-serif;
 --lx-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Base Reset & Typography ── */
html, body {
    margin: 0;
    padding: 0;
    direction: rtl;
    background: var(--lx-bg);
    color: var(--lx-text);
    font-family: var(--lx-font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--lx-transition);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.lx-container {
    width: min(1280px, calc(100% - 40px));
    margin-inline: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--lx-font-head);
    color: var(--lx-black);
    margin: 0;
    line-height: 1.4;
}

/* ── Global Elements ── */
.lx-gold-tag {
    display: inline-block;
    color: var(--lx-gold);
    font-family: var(--lx-font-head);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.lx-meta {
    font-size: 12.5px;
    color: var(--lx-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.lx-dot {
    width: 4px;
    height: 4px;
    background: var(--lx-border);
    border-radius: 50%;
}

.lx-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    background: #eee;
    border-radius: 4px;
}

.lx-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.lx-img-wrap:hover .lx-img {
    transform: scale(1.04);
}

/* Kawakib V9.1 Safe image/layout fixes */
.lx-main{padding-top:18px}
.lx-img-wrap{background:#f1f1f1;overflow:hidden}
.lx-img,.lx-img-wrap img{width:100%!important;height:100%!important;object-fit:cover!important}
.lx-hero-main .lx-img-wrap,.lx-hero-main{min-height:420px}
.lx-card-medium .lx-img-wrap{height:220px}
.lx-card-small .lx-img-wrap{height:120px}
@media(max-width:768px){.lx-container{width:min(100% - 24px,1280px)}.lx-hero-main .lx-img-wrap,.lx-hero-main{min-height:260px}.lx-card-medium .lx-img-wrap{height:190px}}
