/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
@font-face {
	font-family: 'shabnam';
	src:url('./fonts/shabnam.eot'); 
	src:url('./fonts/shabnam.eot?#iefix') format('embedded-opentype'),
		url('./fonts/shabnam.woff') format('woff'),
		url('./fonts/shabnam.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
	font-display: swap;
}
h1,h2,h3,h4,h5,h6,p,span,a,figcaption,table,ul,ol{
	font-family:'shabnam' !important;
}
.myHide{
	display:none;
}

/*--------------- Rank Math ---------------- */

div#rank-math-toc {
    background: #95ee6230;
    border-radius: 30px;
    padding: 18px 24px;
}
div#rank-math-toc ul li a {
    font-size: 14px;
    line-height: 36px;
    color: #555;
    display: inline-block;
}

h3.rank-math-question {
    font-size: 16px;
    color: black !important;
	background:none !important;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 3px;
    line-height: 30px;
    text-align: justify;
}

.rank-math-answer {
	font-size: 12px;
    margin: 10px;
    line-height: 32px;
    background: #01544805;
    padding: 10px;
    border-radius: 10px;
    text-align: justify;
	font-family:'shabnam' !important;
}

/* ----------------Single Post ----------------- */

.single .entry-header {
    border-radius: 15px;
    padding: 10px 25px;
    margin-bottom: 15px;
    background: #d9d9d929;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.single .wp-block-image img , .page .wp-block-image img,iframe {
    border: 1px solid #e1e1e1;
    filter: brightness(103%) contrast(96%) saturate(81%) blur(0px) hue-rotate(336deg);
    border-radius: 4px 4px 4px 4px;
    box-shadow: 10px 10px 0px 1px rgba(0, 0, 0, 0.07);
}
.single .wp-block-image figcaption, .page .wp-block-image figcaption {
    margin-bottom: 1em;
    margin-top: 0.5em;
	font-size:10px;
	opacity:0.4;
}

.single ol.wp-block-list, .single ul.wp-block-list ,
.page ol.wp-block-list, .page ul.wp-block-list
{
	background: #95ee6230;
    border-radius: 30px;
    padding: 18px 24px;
}
.single ol.wp-block-list li, .single ul.wp-block-list li,
.page ol.wp-block-list li, .page ul.wp-block-list li{
	
	margin-right: 10px;
    font-size: 14px;
    line-height: 36px;
    color: #221f1fb5;
    font-weight: bold;
}

.page p.wp-block-paragraph, .single p.wp-block-paragraph {
    text-align: justify;
    line-height: 42px;
    padding: 10px;
}
.single .uagb-ifb-content, .page .uagb-ifb-content{
	box-shadow: 0px 5px 20px 0px rgb(0 0 0 / 10%);
    padding: 20px 10px;
    border-radius: 10px;
	text-align:center;
    min-height: 240px;
    max-height: 240px;
}
.uagb-ifb-icon-wrap svg, .page .uagb-ifb-icon-wrap svg {
    width: 25%;
}

div#block-10 img {
    border: none;
    box-shadow: none;
}

/*---------- Widget ----------*/

div#block-1 img {
    box-shadow: none;
    border: none;
}

div#block-1, div#block-1 p {
    text-align: center;
}

/*--------------- Time and View ---------------- */

.ds-article-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    font-size:14px;
    color:#6b7280;
    margin-top:8px;
    line-height:1.8;
}

.ds-article-meta .meta-item{
    display:flex;
    align-items:center;
    gap:6px;
}

.ds-article-meta .meta-item i{
    font-size:13px;
    opacity:.8;
}

.ds-article-meta .meta-separator{
    color:#cbd5e1;
    font-weight:700;
}

@media (max-width:768px){

    .ds-article-meta{
        margin-top:10px;
        font-size:10px;
        gap:2px;
    }
	h1.entry-title {
		text-align: center;
		font-size: 18px;
	}

}
/*---------------- Internal Linking --------- */
.dr-internal-link-box{
    display:flex;
    align-items:center;
    gap:15px;
    margin:30px 0;
    padding:20px;
    border-radius:12px;
    background:#f8fafc;
    border-right:5px solid #2563eb;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
    transition:.3s;
}

.dr-internal-link-box:hover{
    transform:translateY(-2px);
    box-shadow:0 5px 15px rgba(0,0,0,.12);
}

.dr-icon{
    font-size:32px;
    flex-shrink:0;
}

.dr-title{
    font-weight:700;
    margin-bottom:5px;
    color:#1e293b;
	display:contents;
}

.dr-internal-link-box a{
    color:#2563eb;
    font-weight:600;
    text-decoration:none;
}

.dr-internal-link-box a:hover{
    text-decoration:underline;
}

/*-------------------- Table ----------------*/

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* استایل برای سرستون‌های جدول */
th {
    background-color: #076951; /* رنگ پس‌زمینه سرستون */
    color: white; /* رنگ متن سرستون */
    padding: 12px 15px;
}
/* استایل برای سطرهای جدول */
td {
    background-color: #f9f9f9; /* رنگ پس‌زمینه سطرهای جدول */
    padding: 12px 15px;
    border-bottom: 1px solid #076951 !important; /* خط زیر سطرها */
}
/* تغییر رنگ سطرها هنگام هاور */
tr:hover {
    background-color: #f1f1f1; /* رنگ پس‌زمینه سطر در حالت هاور */
}
/* استایل برای سطرهای فرد */
tr:nth-child(odd) {
    background-color: #f2f2f2; /* رنگ پس‌زمینه سطرهای فرد */
}
/* استایل برای سطرهای زوج */
tr:nth-child(even) {
    background-color: #ffffff; /* رنگ پس‌زمینه سطرهای زوج */
}
.wp-block-table td, .wp-block-table th{
	border:1px solid #076951;
}
/* استایل برای جدول در حالت موبایل */
@media (max-width: 600px) {
    table {
        font-size: 14px; /* اندازه فونت در حالت موبایل */
    }
th, td {
        padding: 10px 8px; /* فاصله داخلی برای موبایل */
    }
}

