body {
    margin: 0;
    font-family: "IRANSans", sans-serif;
    background: #f5f5f5;
}

/* Header */
header {
    background: #0b3d91;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 26px;
    font-weight: bold;
}

header .logo span {
    color: #ffcc00;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

nav ul li a:hover {
    color: #ffcc00;
}

/* Breaking News */
.breaking-news {
    background: #d40000;
    color: white;
    padding: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.breaking-news .title {
    background: #000;
    padding: 5px 10px;
    margin-left: 10px;
}

/* Slider */
.slider img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.caption {
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 15px;
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
}

/* Top News */
.top-news {
    padding: 20px;
}

.top-news h2 {
    border-right: 5px solid #0b3d91;
    padding-right: 10px;
}

.news-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.news-container article {
    background: white;
    padding: 10px;
    width: 33%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.news-container article:hover {
    transform: translateY(-5px);
}

.news-container img {
    width: 100%;
    border-radius: 8px;
}

/* Footer */
footer {
    background: #0b3d91;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}
