:root {
    /* ??????? ??????? ????? */
    --header-bg: #2c4652;       /* ?????? ???????? ?????? ?????? */
    --accent-color: #c6a35b;    /* ?????? ?????? ?????? */
    
    /* ???? ????? ?????? ??????? ???? */
    --bg-color: #f7f9fa;
    --text-main: #2c3e50;       
    --text-muted: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;

    /* ?????? ??????? ??????? ??????? ??? */
    --font-family: 'Almarai', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    
    --transition: all 0.3s ease-in-out;
	@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Cairo:wght@300;400;600;700;900&display=swap');
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ???? ??????? ??? ??? ??????? ???????? */
body.menu-open {
    overflow: hidden !important;
    touch-action: none;
}

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

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   2. ???? ?????? (Header & Navigation)
   ========================================================================== */
.main-header {
    background-color: var(--header-bg);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(44, 70, 82, 0.15); /* ????? ???? ??????? ?? ??? ?????? */
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.header-right {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 4px;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--white);
    background-color: rgba(198, 163, 91, 0.25); /* ????? ???????? ?? ????? ?????? ?????? */
}

/* ?? ??????? ???????? */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: right center;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(-45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(45deg);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.logo-box {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 45px;
    width: auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,0.15);
}

.search-box input {
    background: none;
    border: none;
    color: var(--white);
    outline: none;
    font-size: 0.85rem;
    width: 120px;
    text-align: right;
}

.search-box input::placeholder {
    color: #94a3b8;
}

.search-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
}

.live-badge {
    background-color: #e11d48;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ==========================================================================
   3. ???? ????? (Reels Strip)
   ========================================================================== */
.image-strip {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 15px;
    background: #c6a35b; /* ????? ??????? ??????? ?? ?????? ???????? */
    scrollbar-width: none;
}

.image-strip::-webkit-scrollbar {
    display: none;
}

.strip-item {
    flex: 0 0 auto;
    width: 120px;
    height: 215px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: .35s;
    background: #000;
}

.strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.strip-item:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

.strip-item:hover img {
    transform: scale(1.1);
}

.strip-item::after {
    content: "?";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    background: rgba(44, 70, 82, 0.75); /* ??????? ??? ?????? ?????? */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    opacity: 0;
    transition: .3s;
}

.strip-item:hover::after {
    opacity: 1;
}

.reel-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.reel-popup.active {
    display: flex;
}

.reel-popup img {
    width: 360px;
    max-width: 92%;
    max-height: 90vh;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.7);
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 38px;
    cursor: pointer;
    font-weight: bold;
}

/* ==========================================================================
   4. ??????? ??????? (Main Content)
   ========================================================================== */
.main-content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--header-bg);
    border-right: 5px solid var(--accent-color);
    padding-right: 10px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.hero-section {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 20px;
}

.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.author-card {
    background-color: #243943; /* ?? ?????? ??????? ?? ?????? ??????? */
    color: var(--white);
    padding: 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.author-tag {
    font-size: 0.75rem;
    color: var(--accent-color);
    display: block;
}

.author-quote {
    font-size: 0.85rem;
    font-style: italic;
}

.news-list-widget {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 15px;
}

.widget-title {
    font-weight: bold;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--header-bg);
}

.ticker-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticker-list li {
    font-size: 0.85rem;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.time-tag {
    background-color: #f1f5f9;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

/* ???????? (Carousel) */
.hero-carousel {
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.carousel-track {
    position: relative;
    flex-grow: 1;
}

.carousel-slide {
    display: none;
    position: relative;
    height: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 320px;
}

.slide-caption {
    padding: 15px;
}

.category-badge {
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 8px;
}

.slide-caption h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--header-bg);
}

.slide-caption p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: var(--accent-color);
    width: 18px;
    border-radius: 4px;
}

/* ????? ????????? ???????? */
.hero-promo .promo-card {
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.promo-card img {
    width: 100%;
    height: 180px;
}

.promo-content {
    padding: 15px;
}

.promo-content h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--header-bg);
}

.promo-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   5. ??????? ???????? (Sections)
   ========================================================================== */
.regions-section {
    background-color: #243943; /* ??????? ????? ?????? ???? ?????? ?? ?????? ???????? */
    padding: 30px 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.regions-section .section-title {
    color: var(--white);
    margin-top: 0;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.region-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
}

.region-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(198, 163, 91, 0.4); /* ???? ????? ??????? ??? ??? Hover */
}

.card-img-wrapper {
    position: relative;
    height: 130px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
}

.location-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    font-size: 0.75rem;
    padding: 8px;
    text-align: right;
}

.region-card .card-body {
    padding: 12px;
}

.region-card h5 {
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ??? ??????? */
.video-section {
    background-color: #fcfbfa; /* ??? ??????? ???? ????? ?????? ?????? ?????? */
    border: 1px solid #ebdcb9; /* ????? ?????? ?? ????? ?????? ?????? */
    padding: 20px;
    border-radius: 8px;
}

.video-block-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
}

.video-playlist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
    padding-left: 5px;
}

.playlist-item {
    display: flex;
    gap: 10px;
    background-color: var(--white);
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.playlist-item:hover, .playlist-item.active {
    border-color: var(--accent-color);
    background-color: #fbfaf7;
}

.playlist-item img {
    width: 80px;
    height: 55px;
    border-radius: 4px;
}

.playlist-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video-cat {
    font-size: 0.7rem;
    color: var(--accent-color);
    font-weight: bold;
}

.playlist-info p {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-main-display {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.video-wrapper {
    position: relative;
    background-color: #000;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

.play-btn-overlay {
    background-color: rgba(198, 163, 91, 0.9); /* ????? ?????? ?????? */
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.play-btn-overlay:hover {
    transform: scale(1.1);
    background-color: var(--accent-color);
}

.video-meta {
    padding: 15px;
}

.video-meta h4 {
    font-size: 1.2rem;
    margin-top: 5px;
    color: var(--header-bg);
}

/* ???? ??????? ???????? */
.more-news-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.news-feed {
    background-color: var(--white);
    border-radius: 6px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.feed-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feed-content {
    flex-grow: 1;
}

.feed-cat {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

.feed-content h4 {
    font-size: 1.1rem;
    color: var(--header-bg);
    margin-bottom: 8px;
}

.feed-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.feed-img img {
    width: 180px;
    height: 110px;
    border-radius: 4px;
}

.feed-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 20px 0;
}

.feed-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ad-placeholder {
    background-color: #e2e8f0;
    border: 2px dashed #cbd5e1;
    border-radius: 6px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ??? ???? ????? */
.opinion-section {
    margin-bottom: 50px;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.opinion-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.opinion-card:hover {
    box-shadow: 0 6px 12px rgba(44, 70, 82, 0.06);
    border-color: var(--accent-color);
}

.avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.avatar-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #e2e8f0;
    border: 1px solid #cbd5e1;
}

.opinion-card h5 {
    font-size: 1rem;
    color: var(--header-bg);
    margin-bottom: 2px;
}

.article-title {
    font-size: 0.75rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.article-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   6. ?????? (Footer)
   ========================================================================== */
.main-footer {
    background-color: #17252c; /* ?? ?????? ????? ?????? ?? ??? ?????? ???????? ?????? */
    color: #94a3b8;
    padding: 40px 20px 20px;
    margin-top: 60px;
    border-top: 4px solid var(--accent-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 30px;
}

.footer-column h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #94a3b8;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

.copyright-text {
    font-size: 0.85rem;
}

/* ==========================================================================
   7. ????? ??????? (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    .hero-sidebar {
        order: 3;
    }
    .regions-grid, .authors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .video-block-container, .more-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -280px; 
        width: 280px;
        height: 100vh;
        background-color: #1e2e36; /* ?????? ?? ??? ??????? ??????? ??????? */
        padding: 80px 20px 20px 20px;
        box-sizing: border-box;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
    }

    .nav-links.open {
        transform: translateX(-280px);
    }

    .nav-links a {
        color: var(--white);
        display: block;
        padding: 15px 10px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 16px;
        border-radius: 0;
    }

    .nav-links a.active, .nav-links a:hover {
        background-color: rgba(255,255,255,0.05);
        color: var(--accent-color);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .regions-grid, .authors-grid {
        grid-template-columns: 1fr;
    }
    .feed-item {
        flex-direction: column;
    }
    .feed-img {
        width: 100%;
    }
    .feed-img img {
        width: 100%;
        height: auto;
    }
}

.image-container{
    position: relative;
    display: inline-block;
}

.image-container img{
    width: 100%;
    display: block;
}

.play-btn-overlay{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.play-btn-overlay:hover{
    background: rgba(255,0,0,.8);
}
.my-element{
    all: unset;
}

.social-icons{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.social-icons a{
    color: #c6a35b;
    font-size: 22px;
    text-decoration: none;
    transition: .3s;
}

.social-icons a:hover{
    color: #fff;
}
.popup{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.popup video{
    width:90%;
    max-width:400px;
    border-radius:10px;
}