body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f6fb;
    margin: 0;
    padding: 0;
}

/* التاريخ الهجري والميلادي */
.circle {
	position: absolute;
	right: 0;
	left: 0;
	background-color: #007bff;
	padding: 10px;
	font-family: 'El Messiri';
}
.dates {
    font-family: 'El Messiri';
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: white;
	gap: 50px;
	margin: 0 10px;
}
.dates p {
    font-family: 'El Messiri';
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #FFF;
}

.container {
	background: white;
	margin: auto;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 0 15px rgba(0,0,0,0.1);
	width: 80%;
	text-align: center;
}
/*زر المشاركة */
.button2 {
	-webkit-appearance: none;
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	border-radius: 5px;
	background: #25D366;
	color: #fff !important;
	font-weight: 700;
	font-family: 'El Messiri';
	outline: 0;
	font-size: 0.8em;
	padding: 0.65em 1.5em 0.65em 1.5em;
	text-align: center;
	margin: 0 0 0 0;
	box-shadow: 1px 1px #cc15cd;
}
.dc-related {
	text-align: center;
	margin-bottom: 20px;
	font-size: 15px;
}
.dc-related p {
	margin-bottom: 8px;
	color: #444;
}
.dc-related-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}
.dc-btn-outline {
	border-radius: 999px;
	border: 1px solid #0c3465;
	color: #0c3465;
	background: #fff;
	padding: 7px 16px;
	font-size: 14px;
	text-decoration: none;
}
/* المقال */
.content2 {
	background: #fff;
	padding: 20px;
	border-radius: 10px;
	line-height: 1.9;
	font-size: 16px;
	margin-top: 20px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
	width: 90%;
	margin: 0 auto;
}
p.footer2 {
	font-family: 'El Messiri';
	font-size: small;
	margin: 0px 10px 10px 0px;
	color: #000;
}
    .page-wrapper {
    flex: 1;
    max-width: 90%;
    margin: 0 auto;
    padding: 15px;
    }

    .date-bar {
        margin-top: 8px;
        font-size: 0.9rem;
        color: #777;
    }

    .cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 15px;
        margin-top: 20px;
    }
    .card3 {
        background: #fff;
        border-radius: 12px;
        padding: 15px 18px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .card3-title {
        font-size: 1rem;
        margin-bottom: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 600;
    }
    .badge {
        font-size: 0.78rem;
        padding: 3px 8px;
        border-radius: 999px;
        background: #eef2ff;
        color: #3b82f6;
    }
    .sub-value {
        font-size: 1.4rem;
        font-weight: 700;
        margin: 8px 0 3px;
    }
    .value {
        font-size: 0.92rem;
        color: red;
    }
    .unit {
        font-size: 0.85rem;
        color: #999;
    }
        .unit2 {
        font-size: 0.85rem;
        color: mediumseagreen;
    }

    .info-box {
        margin-top: 20px;
        font-size: 0.9rem;
        background: #fff;
        border-radius: 10px;
        padding: 12px 14px;
        border-right: 3px solid #f59e0b;
        line-height: 1.7;
    }

    .error {
        margin-top: 25px;
        text-align: center;
        padding: 15px;
        background: #fef2f2;
        color: #b91c1c;
        border-radius: 10px;
        border: 1px solid #fecaca;
        font-size: 0.95rem;
    }

    footer {
        margin-top: 30px;
        text-align: center;
        font-size: 0.8rem;
        color: #888;
    }

    @media (max-width: 480px) {
        header h1 {
            font-size: 1.3rem;
        }
        .card3 {
            padding: 12px 14px;
        }
    }
    
    i.arb-sar {
    font-family: "sarsymbol" !important;
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
      font-family: 'sarsymbol';
      src: url('../fonts/sarsymbol.eot');
      src: url('../fonts/sarsymbol.eot') format('embedded-opentype'),
           url('../fonts/sarsymbol.woff') format('woff'),
           url('../fonts/sarsymbol.ttf') format('truetype'),
           url('../fonts/sarsymbol.svg') format('svg');
      font-weight: normal;
      font-style: normal;
    }