            @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

        body {
            font-family: 'Cairo', sans-serif;
            background: linear-gradient(135deg, #090F12, #090F12);
            margin: 0;
            padding: 0;
            color: #e0e0e0;
            overflow-x: hidden;
        }
h1 {
  font-size: 24px;
}
        .hero {
            background: url('back.jpg') no-repeat center center/cover;
            height: 400px;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: #fff;
            position: relative;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(9, 15, 18) 100%);
        }

        .hero h1 {
            font-size: 3.5rem;
            margin: 0;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
            color: #fff;
            z-index: 1;
            position: relative;
        }

        .hero p {
            font-size: 1.3rem;
            margin-top: 15px;
            text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
            color: #d1d1d1;
            z-index: 1;
            position: relative;
        }

.stations {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    padding: 40px 20px; 
}

@media (max-width: 768px) {
    .stations {
        grid-template-columns: 1fr; 
        gap: 15px; 
        padding: 20px 10px; 
    }
    .hero {
        height: 250px;
    }
}

.station {
    background: linear-gradient(135deg, #2c1625, #16232c);
    border-radius: 15px; 
    padding: 20px; 
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6); 
    overflow: hidden; 
}

.station:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8); 
}

.station img {
    width: 100%; 
    max-width: 120px; 
    border-radius: 50%;
    margin: 0 auto 15px; 
    border: 2px solid #2B1A37; 
}
       .station h2 {
            font-size: 1.5rem;
            margin-bottom: 5px;
            color: #fff;
        }
@media (max-width: 768px) {
    .station img {
        display: none; 
    }
}

@media (max-width: 768px) {
    .station {
        display: flex;
        align-items: center;
        justify-content: flex-start; 
        padding: 10px; 
        border-radius: 8px; 

    }

    .station .custom-player {
        flex: 2; 
        display: flex;
        align-items: center; 
        justify-content: center; 
        padding: 10px; 
        border-radius: 8px; 
    }

    .station .custom-player button {
        font-size: 1.2rem; 
        width: 45px;
        height: 45px; 
    }

    .station .custom-player .progress {
        height: 8px;
        margin-left: 10px; 
    }

    .station .text-container {
        flex: 1; /* Reduce space for the text */
        display: flex;
        flex-direction: column;
        justify-content: center; 
    }

    .station h2 {
        font-size: 1.2rem;
        text-align: center; 
        margin: 0; 
    }

    .frequency {
        font-size: 0.9rem; 
        text-align: center; 
    }
}


/* Divider Styling */
.divider {
    color: #9d8a99;
    margin: 0 15px; 
    font-size: 1.2rem; 
    display: none;
}

@media (max-width: 768px) {
    .divider {
        display: inline; /* Show divider only on mobile */
    }
}

/* Custom Player Styling */
.custom-player {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #263844, #3f2637);
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
}

.custom-player button {
    background: #614b5e;
    border: none;
    color: #ddd3db;
    padding: 10px;
    border-radius: 50%;
    font-size: 1.5rem; 
    cursor: pointer;
    width: 50px; 
    transition: background 0.3s ease;
}

.custom-player button:hover {
    background: #5d3956; 
}

.custom-player .progress {
    width: 100%; 
    height: 6px; 
    background: #614b5e;
    border-radius: 5px;
    overflow: hidden;
}

.custom-player .progress-bar {
    height: 100%;
    background: #9d8a99;
    width: 0; /
    transition: width 0.3s ease; 
}
.frequency {
    font-size: 1rem;
    color: #9d8a99;
    text-align: center;
    font-weight: 600;
    margin: 0;
}


        .news-section {
            background: linear-gradient(135deg, #090f12, #141c20);
            padding: 40px 20px;
            margin-top: 20px;
        }

        .news-section h2 {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 20px;
            color: #fff;
        }

        .news {
            max-width: 1200px;
            margin: auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .news-item {
            text-align: center;
            background: linear-gradient(135deg, #2c1625, #16232c);
            padding: 0;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .news-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 10px 10px 0 0;
        }

        .news-item h3 {
            font-size: 1.2rem;
            margin: 10px 0;
            color: #e0e0e0;
        }

.news-item h3 a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.news-item h3 a:hover {
    color: #614b5e;
    transform: scale(1.05);
}
#load-more {
    display: block;
    margin: 20px auto;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3e2942, #202d3a);
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

#load-more:hover {
    background: linear-gradient(135deg, #202d3a, #3e2942);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

#load-more:disabled {
    background: linear-gradient(135deg, #3e2942, #202d3a);
    cursor: not-allowed;
    box-shadow: none;
}
        footer {
            background: linear-gradient(135deg, #090f12, #141c20);
            padding: 20px;
            text-align: center;
            color: #bbb;
            font-size: 1rem;
            border-top: 2px solid #211c28;
        }
.news-details {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: linear-gradient(135deg, #2c1625, #16232c);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: right;
    margin: 20px auto;
}

.news-details img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: 80% 20%; /* Default: center */
    border-radius: 10px;
    background-color: #000;
}
.content img {
    max-width: 100%; /* Ensure images fit within their container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove inline spacing around images */
    margin: 10px auto; /* Optional: Center images with some spacing */
    border-radius: 10px; /* Optional: Add rounded corners */
}
.content iframe {
    max-width: 100%; /* Ensure iframe fits within the container */
    height: auto; /* Allow iframe to scale */
    border: none; /* Remove iframe border */
}
.content .wp-caption {
    text-align: center; /* Center the caption text */
    font-size: 1rem; /* Adjust caption font size */
    color: #666; /* Set a caption color */
    margin: 10px auto; /* Add spacing */
    max-width: 100%; /* Ensure caption doesn't overflow */
}

.content .wp-caption img {
    margin-bottom: 5px; /* Space between the image and caption */
}
/* Add responsive iframe wrapper */
.content iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* Ensure the iframe keeps the standard video aspect ratio */
}
.metadata {
    font-size: 1rem; /* Standard font size */
    color: #675d6e; /* Neutral text color */
    display: flex; /* Align icon and text */
    align-items: center; /* Center icon with text */
    gap: 8px; /* Space between the icon and text */
}

.metadata i {
    color: #675d6e; /* Blue color for the icon */
    font-size: 1.2rem; /* Slightly larger icon size */
}
.news-details .content {
    font-size: 1.2rem;
    line-height: 1.8;
}



.back-home {
display: inline-block;
  font-size: 0.9rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #3e2942, #202d3a);
  padding: 5px 10px;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin: 10px auto;
  text-align: center;
}

.back-home i {
    margin-left: 5px;
    font-size: 0.9rem;
}

.back-home:hover {
    background: linear-gradient(135deg, #202d3a, #3e2942);
    transform: scale(1.01);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 1rem;
            }
    .content img {
        max-width: 100%;
        height: auto;
    }

    .content iframe {
        width: 100%;
    }
    .news-item {
        display: flex;
        flex-direction: row-reverse; /* Reverse row for Arabic layout */
        align-items: center;
        padding: 10px;
        gap: 15px; /* Space between the image and the title */
        text-align: right; /* Align text to the right */
    }

    .news-item img {
        width: 80px; /* Fixed width for the image */
        height: 80px; /* Fixed height for the image */
        object-fit: cover; /* Ensure the image scales without distortion */
        border-radius: 10px; /* Rounded corners */
        margin-left: 10px; /* Space on the left for Arabic layout */
    }

    .news-item h3 {
        font-size: 1rem; /* Adjusted font size for smaller screens */
        margin: 0;
        color: #fff;
        flex-grow: 1; /* Allow the text to take up remaining space */
        direction: rtl; /* Ensure proper direction for Arabic text */
    }

    .news-item h3 a {
        color: #e0e0e0;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .news-item h3 a:hover {
        color: #614b5e;
        transform: scale(1.05);
    }
        }
        
        /* Error Page Container */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #090f12, #141c20);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 404 Title */
.error-page h1 {
    font-size: 8rem;
    font-weight: bold;
    color: #bbbbd4;
    margin: 0;
}

.error-page h2 {
    font-size: 2rem;
    margin: 10px 0;
    color: #6b6b7b;
}

/* Description Text */
.error-page p {
    font-size: 1.2rem;
    margin: 15px 0;
    color: #6b6b7b;
}

/* Back Button */
.error-page .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    color: #ffffff;
    background: linear-gradient(135deg, #3e2942, #202d3a);
    text-decoration: none;
    border-radius: 5px;
      transition: background 0.3s ease, transform 0.2s ease;

}

.error-page .btn:hover {
    background: linear-gradient(135deg, #202d3a, #3e2942);
    transform: scale(1.01);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

