jannah-child
خبر من Goodpresslb
/* === Reset === */
*, *::before, *::after {
box-sizing: border-box;
}
/* === Body & Fonts === */
body {
margin: 0;
font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
background: #fff;
color: #232323;
line-height: 1.7;
direction: rtl;
}
/* === Headings === */
h1, h2, h3, h4 {
font-weight: bold;
margin-top: 1.2em;
margin-bottom: 0.5em;
color: #1a1a1a;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }
/* === Header (sticky) === */
.site-header {
position: sticky;
top: 0;
background: #fff;
z-index: 999;
border-bottom: 2px solid #e30613;
padding: 1rem 0.5rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.site-header img {
height: 40px;
}
/* === Main Layout === */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 1rem 1rem;
}
.main-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 2rem;
}
@media (max-width: 900px) {
.main-grid { grid-template-columns: 1fr; }
}
/* === Links === */
a {
color: #0072ce;
text-decoration: none;
transition: color 0.2s;
}
a:hover {
color: #e30613;
text-decoration: underline;
}
/* === Article Card === */
.article-card {
border-bottom: 1px solid #eee;
margin-bottom: 1.5rem;
padding-bottom: 1.5rem;
background: #fafbfc;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 2px 12px 0 #eaeaea44;
}
.article-card img {
width: 100%;
height: auto;
display: block;
border-radius: 6px;
margin-bottom: 0.5rem;
}
.article-card h2 {
margin-top: 0.7rem;
font-size: 1.4rem;
color: #e30613;
}
/* === Sidebar (sticky) === */
.sidebar {
position: sticky;
top: 80px;
}
.sidebar .widget {
margin-bottom: 2rem;
background: #fff;
border: 1px solid #eee;
border-radius: 8px;
padding: 1rem;
box-shadow: 0 1px 6px 0 #f3f3f3;
}
/* === Responsive Media === */
img, video, iframe {
max-width: 100%;
height: auto;
}
/* === Video Wrapper === */
.video-wrapper {
position: relative;
width: 100%;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
border-radius: 8px;
margin-bottom: 1rem;
}
.video-wrapper iframe, .video-wrapper video {
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
width: 100%; height: 100%;
}
/* === Buttons === */
button, .btn, input[type="submit"] {
background: #e30613;
color: #fff;
border: none;
border-radius: 7px;
padding: 0.6em 1.5em;
font-size: 1rem;
cursor: pointer;
transition: background 0.2s;
margin-top: 0.6em;
}
button:hover, .btn:hover, input[type="submit"]:hover {
background: #ba0510;
}
/* === Footer === */
.site-footer {
background: #fafbfc;
color: #666;
border-top: 2px solid #e30613;
padding: 1.5rem 1rem;
text-align: center;
font-size: 1rem;
margin-top: 2rem;
}
/* === News Ticker === */
.news-ticker {
background: #e30613;
color: #fff;
padding: 0.7em 1em;
font-weight: bold;
letter-spacing: 1px;
border-bottom: 2px solid #d0000d;
margin-bottom: 1em;
font-size: 1.12em;
border-radius: 0 0 12px 12px;
}