/* Fonts */
@font-face {
	font-family: 'IRANSansXFaNum';
	src: url('../fonts/IRANSansXFaNum-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'IRANSansXFaNum';
	src: url('../fonts/IRANSansXFaNum-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'IRANSansXFaNum';
	src: url('../fonts/IRANSansXFaNum-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'IRANSansXFaNum';
	src: url('../fonts/IRANSansXFaNum-Black.ttf') format('truetype');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* AbarLowFaNum Font */
@font-face {
	font-family: 'AbarLowFaNum';
	src: url('../fonts/AbarLowFaNum-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'AbarLowFaNum';
	src: url('../fonts/AbarLowFaNum-SemiBold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'AbarLowFaNum';
	src: url('../fonts/AbarLowFaNum-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'AbarLowFaNum';
	src: url('../fonts/AbarLowFaNum-ExtraBold.woff') format('woff');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'AbarLowFaNum';
	src: url('../fonts/AbarLowFaNum-Black.woff') format('woff');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* Base */
:root { --container: var(--factpress-homepage-max-width, 1200px); --gap: 1rem; --text: #1a1a1a; --muted: #666; }
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--factpress-font-family-text, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); color: var(--text); line-height: 1.6; text-align: right; font-size: var(--factpress-font-size-p, 16px); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Typography - Headings */
h1 { font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); font-size: var(--factpress-font-size-h1, 32px); }
h2 { font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); font-size: var(--factpress-font-size-h2, 28px); }
h3 { font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); font-size: var(--factpress-font-size-h3, 24px); }
h4 { font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); font-size: var(--factpress-font-size-h4, 20px); }
h5 { font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); font-size: var(--factpress-font-size-h5, 18px); }
h6 { font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); font-size: var(--factpress-font-size-h6, 16px); margin:0;}

/* Typography - Paragraph */
p { font-family: var(--factpress-font-family-text, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); font-size: var(--factpress-font-size-p, 16px); }

.c-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }

/* Header */
.site-header { position: sticky; top: 0; background: #fff; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; overflow: visible; position: relative; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 24px; }
.primary-nav ul { list-style: none; display: flex; gap: .5rem; margin: 0; padding: 0; direction:rtl; position: relative; }
.primary-nav ul li { position: relative; }
.primary-nav ul li a {padding: .25rem 2rem; border-radius: 50px; transition:.2s; display: inline-flex; align-items: center; justify-content: center; width:100%;}
.primary-nav ul li a:hover{background-color: #bbdceb; color:var(--text);}
.primary-nav ul .current-menu-item a{background-color: var(--factpress-general-color-1); color: white;}

.primary-nav ul ul {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    margin: 0;
    padding: .75rem 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: none;
    flex-direction: column;
    gap: 0;
    direction: rtl;
    z-index: 99;
}

.primary-nav ul ul li { width: 100%; }
.primary-nav ul ul li a {
    border-radius: 0;
    padding: .5rem 1.5rem;
    justify-content: flex-start;
    font-size: .95rem;
    color: #333;
}
.primary-nav ul li:hover > ul { display: flex; }
.primary-nav ul ul ul {
    right: 100%;
    top: 0;
}


.custom-logo, .site-branding{
	height:100%;
    width:auto;
	max-height: 55px;
 }

@media (max-width: 768px) {
	.nav-toggle { display: block; }
	.primary-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #eee; }
	.primary-nav.is-open { display: block; box-shadow: #00000012 0 10px 10px; min-height: 60vh; }
	.primary-nav ul { flex-direction: column; padding: 1rem; gap: 0; }
    .primary-nav ul li a {
        padding:.75rem; 
        width: 100%; 
        justify-content: flex-start;
        font-weight: bold;
    }
    .primary-nav ul .current-menu-item a{background-color: transparent; color: black;}
    .primary-nav ul ul {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        width: 100%;
        display: flex;
    }
    .primary-nav ul ul li a {
        padding:.25rem .75rem;
        font-size:.9rem;
        font-weight: normal;
    }
    .primary-nav ul ul ul {
        margin: 0;
        margin-right: 1.5rem;
    }
}

/* Sections */
.c-section { padding: 2.5rem 0; }
.c-section__header { margin-bottom: 1rem; }
.c-section__title { 
	font-size: var(--factpress-font-size-section-title); 
	font-family: 'AbarLowFaNum', var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); 
	margin: 0; 
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

/* Section Title Position */
.c-section__title-position--left {
	justify-content: flex-start;
	text-align: left;
}

.c-section__title-position--center {
	justify-content: center;
	text-align: center;
}

.c-section__title-position--right {
	justify-content: flex-end;
	text-align: right;
}

.c-section__title-text {
	flex: 0 0 auto;
    font-weight:900;
    color: var(--factpress-general-color-1);
}

/* Section Title Decorative Circles */
.c-section__title-circle {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: var(--factpress-general-color-2);
	flex: 0 0 12px;
}

/* Circle positioning is handled naturally by flexbox order */
.c-section__title--with-circles .c-section__title-circle--left {
	order: 0;
}

.c-section__title--with-circles .c-section__title-text {
	order: 1;
}

.c-section__title--with-circles .c-section__title-circle--right {
	order: 2;
}

.c-section__empty { color: var(--muted); }

/* Grid (default) */
.c-grid { 
	display: grid; 
	grid-template-columns: repeat(3, 1fr); 
	gap:calc(var(--gap) * 2); 
	align-items: stretch; /* Ensure all grid items have same height */
}
@media (max-width: 992px) { .c-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .c-grid { grid-template-columns: 1fr; } }

/* Dynamic grid columns for card-carousel when slider is disabled */
.c-grid--columns-1 { grid-template-columns: repeat(1, 1fr); }
.c-grid--columns-2 { grid-template-columns: repeat(2, 1fr); }
.c-grid--columns-3 { grid-template-columns: repeat(3, 1fr); }
.c-grid--columns-4 { grid-template-columns: repeat(4, 1fr); }
.c-grid--columns-5 { grid-template-columns: repeat(5, 1fr); }
.c-grid--columns-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 992px) {
	.c-grid--columns-3,
	.c-grid--columns-4,
	.c-grid--columns-5,
	.c-grid--columns-6 { grid-template-columns: repeat(2, 1fr); direction:rtl; }
}

@media (max-width: 768px) {
	.c-grid--columns-3,
	.c-grid--columns-4,
	.c-grid--columns-5,
	.c-grid--columns-6 { grid-template-columns: repeat(1, 1fr); }
}


/* Ensure all cards in grid have equal height */
.c-grid .c-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}

/* Card */
.c-card { border: 1px solid #eee; border-radius: 4px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }

.c-card__media { 
	display: block; 
	aspect-ratio: 16/9; 
	background: #f6f6f6; 
	overflow: hidden;
	position: relative;
}
.c-card__media img, .c-card__media svg { 
	width: 100%; 
	height: 100%; 
	object-fit: cover; 
	object-position: center;
	display: block; 
	position: absolute;
	top: 0;
	left: 0;
}
.c-card__body { padding: 1rem; display: flex; flex-direction: column; gap: .5rem; direction: rtl; }
.c-card__title { font-size: var(--factpress-font-size-h4, 20px); font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); margin: 0; }
.c-card__meta { font-size: .75rem; color: var(--muted); display: flex; gap: .75rem; }
.c-card__excerpt { margin: 0; color: #808080; font-size: var(--factpress-font-size-excerpt); font-family: var(--factpress-font-family-text, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); }

/* Card: category badge and footer date */
.c-card__category-badge { align-self: flex-start; background: var(--factpress-general-color-2); color: #fff; font-size: var(--factpress-font-size-tag, 12px); line-height: 1; padding: .35rem .5rem; border-radius: 16px 0 0 0; }
.c-card__footer { font-size: 0.75rem; color: var(--muted); }

/* Absolutely position date at bottom when enabled */
.c-card.has-date-footer { position: relative; padding-bottom: 20px;}
.c-section--layout-card-carousel.image-layout-square-box .c-card.has-date-footer .c-card__footer { position: absolute; right: 0; bottom: 1.5rem; padding: 0 2.25rem; font-size: var(--factpress-font-size-date);}

/* List layout overrides (placed AFTER card block for cascade) */
.c-section--layout-list .c-grid { grid-template-columns: 1fr; gap: calc(var(--gap) * 1.25); }
.c-section--layout-list .c-card { flex-direction: row; align-items: stretch; }
.c-section--layout-list .c-card__media { 
	width: 38%; 
	min-width: 240px; 
	aspect-ratio: 16/9; 
	height: 200px;
	flex-shrink: 0;
}
.c-section--layout-list .c-card__body { width: 62%; }
.c-section--layout-list .c-card__title { font-size: 1.25rem; }
@media (max-width: 768px) {
	.c-section--layout-list .c-card { flex-direction: column; }
	.c-section--layout-list .c-card__media, .c-section--layout-list .c-card__body { width: 100%; }
}

/* Cudras Header (70/30) */
/* Flex fallback to guarantee two columns */
.c-section--layout-cudras-header .cudras-header { display: flex; gap: calc(var(--gap) * 1.5); align-items: flex-start; }
.c-section--layout-cudras-header .ch-left-feature__container {padding:10px 20px;}
.c-section--layout-cudras-header .cudras-header__left { flex: 0 0 30%; max-width: 30%; background-color: #f0f4f4; height:100%; }
.c-section--layout-cudras-header .cudras-header__right { flex: 0 0 70%; max-width: 70%; overflow: hidden; }
.c-section--layout-cudras-header .ch-left-list-container {padding:0 20px 20px 20px;}

@media (max-width: 992px) {
	.c-section--layout-cudras-header .cudras-header { flex-direction: column; }
	.c-section--layout-cudras-header .cudras-header__left,
	.c-section--layout-cudras-header .cudras-header__right { flex: 0 0 100%; max-width: 100%; }
}
/* Prefer CSS Grid when available */
@supports (display: grid) {
	.c-section--layout-cudras-header .cudras-header { display: grid;  grid-template-columns: 30% 1fr; column-gap: calc(var(--gap) * 2.5); }
	@media (max-width: 900px) { .c-section--layout-cudras-header .cudras-header { grid-template-columns: 1fr; } }
	.c-section--layout-cudras-header .cudras-header__left,
	.c-section--layout-cudras-header .cudras-header__right { max-width: none; flex: initial; }
}

.ch-left-feature__media { display: block; margin-bottom: .5rem; }
.ch-left-feature__title { font-size: var(--factpress-font-size-h3, 24px); font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); margin: 0 0 .25rem; }
.ch-left-list { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .5rem; }
.ch-left-list__item { border-top: 1px solid #eee; padding-top: .5rem; }
.ch-left-list__item-title { font-size: var(--factpress-font-size-h5, 18px); font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); margin: 0; }
.ch-left-list__meta { font-size: .75rem; color: var(--muted); margin-top: .25rem; }

.ch-right-main .ch-meta {font-size: .875rem;}
.ch-right-main__media { display: block; aspect-ratio: 16/9; background: #f6f6f6; margin-bottom: 1.5rem; overflow: hidden; }
.ch-right-main__title { font-size: var(--factpress-font-size-h1, 32px); font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); line-height: 1.25; margin: 0 0 .5rem; }
.ch-right-main__excerpt { margin: 0 0 .5rem; color: #333; font-size: var(--factpress-font-size-p, 16px); font-family: var(--factpress-font-family-text, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); }
.ch-right-main__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Left feature excerpt */
.ch-left-feature__excerpt { font-size: var(--factpress-font-size-p, 16px); font-family: var(--factpress-font-family-text, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); margin: .25rem 0 .5rem; color: #333; }
.ch-meta { font-size: .75rem; color: var(--muted); }

/* Top Package Dual */
.top-package-dual { margin: 0 auto 40px; min-width: 320px; max-width: 520px; padding-left: 30px; padding-right: 30px; }
@media screen and (min-width: 750px) { .top-package-dual { margin-bottom: 60px; padding-left: 0; padding-right: 0; max-width: 100%; width: 690px; } .top-package-dual__package--first { margin-bottom: 40px; } }
.top-package-dual__package--first .top-package-dual__image { margin-bottom: 5px; position: relative; padding-bottom: 56.25%; }
.top-package-dual__package--first .top-package-dual__image-cover { background-position: center; background-size: cover; position: absolute; inset: 0; }
.top-package-dual__package--first .top-package-dual__header { left: 0; position: absolute; top: 0; z-index: 1; }
.top-package-dual__package--first .top-package-dual__header a { background: rgba(0,0,0,.8); border-top: 5px solid #f25d27; color: #fff; display: inline-block; font-size: 20px; line-height: 24px; opacity: .8; padding: 7.5px 30px; }
.top-package-dual__package--first .top-package-dual__image-caption { font-size: 11px; line-height: 14px; color: #4b535d; opacity: .7; }
.top-package-dual__package--first .top-package-dual__articles { margin-top: 20px; }
@media screen and (min-width: 750px) { .top-package-dual__package--first .top-package-dual__articles { display: table; table-layout: fixed; width: 100%; } .top-package-dual__package--first .top-package-dual__articles_primary { border-right: 1px solid #afacab; display: table-cell; padding-right: 20px; vertical-align: top; width: 66.66666667%; } .top-package-dual__package--first .top-package-dual__articles_secondary { display: table-cell; padding-left: 20px; vertical-align: top; width: 33.33333333%; } .top-package-dual__package--first .top-package-dual__articles_secondary .card-article { border-bottom: 1px solid #afacab; margin-bottom: 20px; padding-bottom: 20px; } .top-package-dual__package--first .top-package-dual__articles_secondary .card-article:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } }
.top-package-dual__package--first .top-package-dual__articles_primary .card-article__title { font-size: 34px; line-height: 1.2; margin: 0 0 10px; }
.top-package-dual__package--first .top-package-dual__articles_primary .card-article__dek { display: block; font-size: 16px; line-height: 24px; margin: 0 0 10px; }
.top-package-dual__package--first .top-package-dual__articles_secondary .card-article__title { color: #4b535d; font-size: 16px; line-height: 1.2; margin-bottom: 6px; }
.top-package-dual__package--first .top-package-dual__articles .card-article { width: auto; }
.top-package-dual__package--first .top-package-dual__articles .card-article__container { border-top: none; padding-top: 0; }
.top-package-dual__package--first .top-package-dual__articles .card-article__info { margin: 0; }
.top-package-dual__package--first .top-package-dual__articles .card-article__title { float: none; width: auto; }
.top-package-dual__package--first .top-package-dual__articles .card-article__topic-tag { display: none; }
.top-package-dual__package--first .top-package-dual__articles .card-article__date, .top-package-dual__package--first .top-package-dual__articles .card-article__image, .top-package-dual__package--first .top-package-dual__articles .card-article__series { display: none; }
.top-package-dual__package--second { background-color: #f0f4f4; }
.top-package-dual__package--second .cards-column__article:first-of-type .card-article__title { font-size: 30px; line-height: 1.2; }
.top-package-dual__package--second .cards-column__article:first-of-type .card-article__dek { display: block; font-size: 16px; line-height: 24px; margin: 0 0 10px; }
@media screen and (min-width: 1024px) { .top-package-dual { display: flex; flex-direction: row; width: 920px; } .top-package-dual__package--first { margin-bottom: 0; margin-right: 20px; width: 66.66666667%; } .top-package-dual__package--second { width: 33.33333333%; } }

/* Footer */
.site-footer { border-top: 1px solid #eee; padding: 0; margin-top: 2rem; }
.site-footer__top { display: flex; gap: 2rem; padding: 3rem 1rem; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
.site-footer__brand { flex: 1 1 100px; max-width: 340px; order: 3; }
.site-footer__logo .custom-logo-link, .site-footer__logo img { display: inline-flex; max-height: 64px; width: auto; }
.site-footer__title { font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); font-size: 1.5rem; font-weight: 600; color: inherit; }
.site-footer__description { margin: 1rem 0; color: #4d4d4d; line-height: 1.8; font-size: .95rem; }
.site-footer__social { display: flex; flex-direction: column; gap: .5rem; }
.site-footer__social-label { font-size: .9rem; color: #808080; }
.site-footer__social-links { display: flex; gap: .75rem; justify-content: flex-end; }
.site-footer__social-link { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease, transform .2s ease; color: #0f172a; opacity: .6; }
.site-footer__social-link i { font-size: 1.25rem; line-height: 1; }
.site-footer__social-link:hover { background: var(--factpress-general-color-1); color: #fff; opacity: 1; }
.site-footer__nav { flex: 1 1 100px; order: 2; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; font-size: .95rem; line-height: 1.6; }
.site-footer__nav-title { margin: 0 0 1rem; font-weight: 600; color: #111; font-size: 1rem; }
.site-footer__nav a { color: #808080; }
.site-footer__newsletter { flex: 1 1 280px; max-width: 480px; background: var(--factpress-general-color-4); border-radius: 0; padding: 2rem; order: 1; }
.site-footer__newsletter-title { margin: 0 0 .75rem; font-size: var(--factpress-font-size-h4); }
.site-footer__newsletter-text { margin: 1.25rem 0; color: #4d4d4d; line-height: 1.8; font-size: var(--factpress-font-size-excerpt); direction: rtl; }
.site-footer__newsletter-form { display: flex; gap: 0; flex-wrap: nowrap;}
.site-footer__newsletter-form input[type="email"] { flex: 1 1 auto; min-width: 0; padding: .85rem 1.25rem; font-size: .95rem; font-family: inherit; border: 1px solid #e3e3e3; border-radius:8px 0 0 8px; }
.site-footer__newsletter-form button { flex: 0 0 auto; border: none; background: var(--factpress-general-color-1); color: #fff; padding: .85rem 1.75rem; font-size: .95rem; cursor: pointer; transition: opacity .2s ease; font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif); white-space: nowrap; }
.site-footer__newsletter-form button:hover { opacity: .9; }
.site-footer__bottom { border-top: 1px solid rgba(0,0,0,.08); padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 14px; }
.site-footer .footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.site-footer .footer-nav a { color: inherit; font-size: .95rem; }

@media (max-width: 768px) {
	.site-footer__top { flex-direction: column-reverse; padding:2rem; align-items: center; }
	.site-footer__newsletter { width: 100%; padding: 1.5rem; }
	.site-footer__newsletter-form { flex-direction: column; }
	.site-footer__newsletter-form { flex-direction: column; border-radius: 8px; }
	.site-footer__newsletter-form input[type="email"], .site-footer__newsletter-form button { width: 100%; border: none; border-radius: 0; }
	.site-footer__newsletter-form input[type="email"] { border-bottom: 1px solid #e3e3e3; }
	.site-footer__social {align-items: center;}
	.site-footer__logo {text-align: center;}
	.site-footer__social-links { flex-wrap: wrap; }
	.site-footer__bottom { flex-direction: column; align-items: center; }
    .site-footer__bottom.c-container {padding:15px;}
}


/* Banner Layout */
.c-section--layout-banner .banner {
	display: flex;
	align-items: stretch;
	min-height: 400px;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	background-color: #f0f4f4;
}

.c-section--layout-banner .banner__image {
	flex: 0 0 50%;
	position: relative;
	overflow: hidden;
}

.c-section--layout-banner .banner__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.c-section--layout-banner .banner__placeholder {
	width: 100%;
	height: 100%;
	background: #f6f6f6;
	display: flex;
	align-items: center;
	justify-content: center;
}

.c-section--layout-banner .banner__content {
	flex: 0 0 50%;
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
}

.c-section--layout-banner .banner__category {
	display: inline-block;
	background: #111;
	color: #fff;
	font-size: var(--factpress-font-size-tag, 12px);
	line-height: 1;
	padding: 0.35rem 0.75rem;
	border-radius: 4px;
	align-self: flex-start;
}

.c-section--layout-banner .banner__title {
	font-size: var(--factpress-font-size-h2, 28px);
	font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
	line-height: 1.3;
	margin: 0;
}

.c-section--layout-banner .banner__title a {
	color: inherit;
	text-decoration: none;
}

.c-section--layout-banner .banner__title a:hover {
	color: #666;
}

.c-section--layout-banner .banner__excerpt {
	font-size: var(--factpress-font-size-p, 16px);
	font-family: var(--factpress-font-family-text, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
	line-height: 1.6;
	color: #333;
	margin: 0;
}

.c-section--layout-banner .banner__meta {
	font-size: 0.875rem;
	color: var(--muted);
}

.c-section--layout-banner .banner__btn {
	display: inline-block;
	background: #111;
	color: #fff;
	padding: 0.75rem 1.5rem;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	align-self: flex-start;
	transition: background-color 0.2s ease;
}

.c-section--layout-banner .banner__btn:hover {
	background: #333;
	color: #fff;
}

/* Banner Responsive */
@media (max-width: 768px) {
	.c-section--layout-banner .banner {
		flex-direction: column;
		min-height: auto;
	}
	
	.c-section--layout-banner .banner__image,
	.c-section--layout-banner .banner__content {
		flex: 0 0 100%;
	}
	
	.c-section--layout-banner .banner__image {
		height: 250px;
	}
	
	.c-section--layout-banner .banner__content {
		padding: 1.5rem;
	}
	
	.c-section--layout-banner .banner__title {
		font-size: var(--factpress-font-size-h3, 24px);
	}
}

/* Hero Section */
.c-section--layout-hero {padding-top:20px!important;}
.c-section--layout-hero .hero {
	display: flex;
	align-items: stretch;
	min-height: 400px;
	background: #fff;
	overflow: hidden;
	height: 70vh;
}

.c-section--layout-hero .hero__image {
	flex: 0 0 50%;
	position: relative;
	overflow: hidden;
}

.c-section--layout-hero .hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.c-section--layout-hero .hero__placeholder {
	width: 100%;
	height: 100%;
	background: #f6f6f6;
	display: flex;
	align-items: center;
	justify-content: center;
}

.c-section--layout-hero .hero__content {
	flex: 0 0 50%;
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	background-color: var(--factpress-general-color-1);
	color: #fff;
	direction: rtl;
}

.c-section--layout-hero .hero__tag {
	display: inline-block;
	background: var(--factpress-general-color-2);
	color: #000000;
	font-size: var(--factpress-font-size-tag, 12px);
	line-height: 1;
	border-radius: 16px 0 0 0;
	align-self: flex-start;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 1.5rem;
    width: 140px;
  	height: 30px;
  	text-align: center;
  	align-content: center;
}

.c-section--layout-hero .hero__title {
	font-size: var(--factpress-font-size-h1, 32px);
	font-family: 'AbarLowFaNum', var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
	line-height: 1.3;
	margin: 0;
	font-weight: 900;
}

.c-section--layout-hero .hero__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.c-section--layout-hero .hero__title a:hover {
	color: var(--factpress-general-color-2);
}

.c-section--layout-hero .hero__excerpt {
	font-size: var(--factpress-font-size-p, 16px);
	font-family: var(--factpress-font-family-text, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
	line-height: 1.6;
	margin: 0;
}

/* Hero Responsive */
@media (max-width: 768px) {
    
    .custom-logo, .site-branding {
        max-height:50px;
    }
    
    .c-section--layout-hero {
    	padding-top:0!important;
    }
    
	.c-section--layout-hero .hero {
		flex-direction: column;
		min-height: auto;
        height:auto;
	}
	
	.c-section--layout-hero .hero__image,
	.c-section--layout-hero .hero__content {
		flex: 0 0 100%;
	}
	
	.c-section--layout-hero .hero__image {
		height: 250px;
	}
	
	.c-section--layout-hero .hero__content {
		padding: 1.5rem;
	}
	
	.c-section--layout-hero .hero__title {
		font-size: var(--factpress-font-size-h2, 28px);
	}
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16/9) {
	.c-card__media {
		height: 200px; /* Fallback height */
	}
	
	.c-section--layout-list .c-card__media {
		height: 200px; /* Override for list layout */
	}
}

/* Ensure consistent image heights across all layouts */
.c-card__media {
	min-height: 200px; /* Minimum height for consistency */
}


/* Single Post Layout */
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
	direction: ltr;
	padding: 2rem 1rem;
}

@media (min-width: 992px) {
    .single-post-layout {
        grid-template-columns: 1fr 3fr; /* Sidebar on left (1fr), Content on right (3fr) for RTL */
        grid-template-areas: "sidebar main";
        align-items: start;
    }
    .single-post-content {
        grid-area: main;
    }
    .single-post-sidebar {
        grid-area: sidebar;
        position: -webkit-sticky;
        position: sticky;
        top: 5rem; /* Adjust this value to sit below your sticky header */
    }
	
}

.single-post-content .entry-header {
    margin-bottom: 1.5rem;
}

.single-post-content .entry-title {
    font-size: var(--factpress-font-size-h1, 32px);
    font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    margin-bottom: 0.5rem;
	margin-top: 0;
}

.single-post-content .entry-meta, .c-container .entry-meta {
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 1rem;
	font-size: 0.875rem;
	direction: rtl;
}

.single-post-content .entry-meta .meta-views, .c-container .entry-meta .meta-views {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.single-post-content .entry-meta svg {
    vertical-align: middle;
}

.single-post-content .featured-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.single-post-content .entry-content {
    line-height: 2.1;
    font-family: var(--factpress-font-family-text, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
}

.single-post-content .entry-content p {
    font-size: var(--factpress-font-size-p, 16px);
}

.single-post-content .entry-content p,
.single-post-content .entry-content ul,
.single-post-content .entry-content ol {
    margin-bottom: 1.5em;
	direction: rtl;
}

.single-post-content .entry-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: none;
}

.single-post-content .tags-links a {
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    display: inline-block;
    margin: 0 0 5px 5px; /* Bottom and left margin for spacing */
}

/* Sidebar Widget - Most Viewed */
.single-post-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.single-post-sidebar .widget li {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.single-post-sidebar .widget .most-viewed-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.single-post-sidebar .widget .most-viewed-item__thumbnail  {
	flex: 0 0 120px;
	width: 120px;
	height: 120px;
	overflow: hidden;
	border-radius: 0;
}

.single-post-sidebar .widget .most-viewed-item__thumbnail img {
    width: 100%;
    height: 100%;
}

.single-post-sidebar .widget .most-viewed-item__content {
    flex: 1;
}

/* Sidebar */
.single-post-sidebar .widget-title {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.single-post-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-post-sidebar .widget li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.single-post-sidebar .widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.single-post-sidebar .widget a {
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.single-post-sidebar .widget .post-views-count {
    font-size: 0.875rem;
    color: var(--muted);
}

/* Related Posts */
.related-posts-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
	direction:rtl;
}

.related-posts-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* Full-Width Header Layout */
.single-layout-full-width-header .single-post-layout {
    margin-top: 0;
	gap: 8%;
}

.entry-header-full-width .c-container {
    text-align: right;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.entry-header-full-width .entry-title {
    font-size: var(--factpress-font-size-h1, 32px);
    font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    margin-top: 0;
    text-align: right;
}

.entry-header-full-width .entry-excerpt {
    color: var(--muted);
    margin: 1rem 0 1.5rem 0;
    text-align: right;
}


.featured-image-full-width-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.featured-image-full-width {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive video embeds in featured areas */
.featured-image iframe,
.featured-image-full-width iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
}

/* Ensure a sensible minimum height if aspect-ratio unsupported */
@supports not (aspect-ratio: 16/9) {
    .featured-image iframe,
    .featured-image-full-width iframe {
        min-height: 320px;
    }
}

/* Aparat embed helper (works even if inline styles are stripped) */
.h_iframe-aparat_embed_frame {
    position: relative;
    width: 100%;
}
.h_iframe-aparat_embed_frame .ratio,
.h_iframe-aparat_embed_frame span {
    display: block;
    width: 100%;
    height: auto;
    padding-top: 56.25%; /* 16:9 default */
}
.h_iframe-aparat_embed_frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Single Post: taxonomy badges below media */
.single-taxonomy-badges {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .5rem;
    direction: rtl;
}
.single-taxonomy-badges .category-badge {
    background-color: var(--factpress-general-color-4);
    color: #666;
    padding: 0.35rem 0.5rem;
    border-radius: 100px;
    font-size: var(--factpress-font-size-tag, 12px);
}
.single-taxonomy-badges .tag-badge {
    background-color: var(--factpress-general-color-2);
    color: #ffffff;
    border-radius: 12px;
    font-size: var(--factpress-font-size-tag, 12px);
	border-radius: 16px 0 0 0;
	width: 140px;
  	height: 35px;
  	text-align: center;
  	align-content: center;
}

/* Alternating Posts Layout */
.alternating-posts {
	display: flex;
	flex-direction: column;
	gap: var(--alternating-gap-row, 48px);
}

.alternating-post {
	display: flex;
	align-items: center;
	gap: var(--alternating-gap-item, 32px);
}

.alternating-post__image-container {
	flex: 0 0 400px;
	width: 400px;
	height: 350px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--factpress-general-color-4);
	border-radius: 6px;
}

.alternating-post__image-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.alternating-post__image {
	width: 250px;
	height: 250px;
	object-fit: cover;
	box-shadow: #00000040 0px 0px 15px 2px;
}

.alternating-post__image-placeholder {
	width: 250px;
	height: 250px;
	background-color: #e0e0e0;
}

.alternating-post__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
	direction: rtl;

}

.alternating-post__tag {
	display: inline-block;
	font-size: var(--factpress-font-size-tag);
	color: #fff;
	margin-bottom: 0.5rem;
	border-radius: 16px 0 0 0;
	width: 140px;
	height: 30px;
   	text-align: center;
   	align-content: center;
    border-right: var(--factpress-general-color-1) solid 3px;
}

.alternating-post__title {
	font-size: var(--factpress-font-size-h2);
	font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
	margin: 0;
}

.alternating-post__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.alternating-post__title a:hover {
	color: var(--factpress-general-color-1);
}

.alternating-post__excerpt {
	font-size: var(--factpress-font-size-p, 16px);
	font-family: var(--factpress-font-family-text, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
	color: #666;
	line-height: 1.6;
	margin: 0;
}

.alternating-post__date {
	font-size: var(--factpress-font-size-date);
	font-family: var(--factpress-font-family-text, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
	color: #999;
}

/* Responsive: Alternating Posts */
@media (max-width: 992px) {
	.c-container {max-width:768px;}
	.alternating-posts {
		gap: calc(var(--alternating-gap-row, 48px) * 0.75);
	}
	
	.alternating-post {
		gap: calc(var(--alternating-gap-item, 32px) * 0.75);
	}
	
	.alternating-post__image-container {
		flex: 0 0 300px;
		width: 300px;
		height: 300px;
	}

	.site-footer__nav {display:none;}
	
}

@media (max-width: 768px) {
    .c-container {padding:0 15%;}
	
	.alternating-posts {
		gap: calc(var(--alternating-gap-row, 48px) * 0.5);
	}
    
    .alternating-post {
    	gap: calc(var(--alternating-gap-item, 32px) * 0.5);
    }
	
	.alternating-post:nth-child(odd){
		flex-direction: column;	
	}
    
    .alternating-post:nth-child(even){
		flex-direction: column-reverse;
	}
	
	.alternating-post__image-container {
		flex: 0 0 auto;
		width: 100%;
		max-width: 400px;
		height: 350px;
		margin: 0 auto;
	}
    
    .alternating-post__title, .two-column-layout__list-title, .two-column-layout__right-title {
		font-size: var(--factpress-font-size-h4);
    }
    
    .alternating-post__excerpt {
    	font-size: var(--factpress-font-size-excerpt);
    }
	
	
	.alternating-post__content {
		width: 100%;
		text-align: center;
		align-items: center;
        max-width:400px;
	}
}

@media (max-width: 480px) {
	.c-container {padding:0;}
	.alternating-post {
		gap: 0;
	}
		
	.alternating-post__image-container {
		max-width: 100%;
		height: 300px;
        box-shadow: none;
	}
    
    .alternating-post__image {
    	height:100%;
        width:100%;
        box-shadow:none;
    }
    
    .alternating-post__content {
    	padding:1rem;
        max-width:none;
        text-align: right;
        align-items: flex-start;
    }

}

/* Video Section Layout */
.c-container--full-width {
	width: 100%;
	max-width: 100% !important;
	margin-left: 0;
	margin-right: 0;
}

.c-section--layout-video{
	background-color: var(--factpress-general-color-1);
    margin-bottom: 40px;
}


.c-section--layout-video .c-section__title-text{
	color:white;
}



.video-section {
	position: relative;
	width: 100%;
}

.video-section__wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 0;
	height:65vh;
}

.video-section__video,
.video-section__wrapper iframe {
	width: 100%;
	height: auto;
	min-height: 400px;
	display: block;
	object-fit: cover;
}

.video-section__placeholder {
	position: relative;
	width: 100%;
	min-height: 400px;
	background-color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
    height:100%;
}

.video-section__placeholder-image {
	width: 100%;
	height: auto;
	min-height: 400px;
	object-fit: cover;
    height:100%;
}

.video-section__placeholder-empty {
	width: 100%;
	height: 400px;
	background-color: #1a1a1a;
}

.video-section__embed {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
}

.video-section__embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-section__play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 5;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: transform 0.3s, opacity 0.3s;
}

.video-section__play-button:hover {
	transform: translate(-50%, -50%) scale(1.1);
	opacity: 0.9;
}

.video-section__play-button:focus {
	outline: 2px solid rgba(255, 255, 255, 0.8);
	outline-offset: 2px;
}

.video-section__overlay {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 4rem;
	z-index: 3;
	background: #00000060;
	border-radius: 0;
	direction: rtl;
	width:100%;
	height:100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: .25rem;
}

.video-section__overlay-title {
	font-size: var(--factpress-font-size-h2);
	font-family: var(--factpress-font-family-title, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
	color: #fff;
	margin: 0 0 0.5rem 0;
}

.video-section__overlay-title a {
	color: #fff;
	text-decoration: none;
	transition: color 0.2s;
}

.video-section__overlay-title a:hover {
	color: rgba(255, 255, 255, 0.8);
}

.video-section__overlay-date {
	font-size: var(--factpress-font-size-date);
	font-family: var(--factpress-font-family-text, 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
	color: rgba(255, 255, 255, 0.9);
	display: block;
}

/*Form Submission Page*/
.fp-submission-wrapper {
	max-width:720px; margin:1.5rem auto 2rem;padding:2rem;border:1px solid #efefef;border-radius:12px;background:#fff;
}

#fp_submission_title {
	width:100%;padding:.75rem;margin-bottom:1rem;border:1px solid #ddd;border-radius:6px;
}

.fp-submission-header{
	max-width:720px;margin:2rem auto 0;text-align:center; direction:rtl; padding:0 1rem;
}


/* Responsive: Video Section */
@media (max-width: 992px) {
	.c-section--layout-video .c-container--full-width {
		padding: 40px !important;
	}
	
	.video-section__video,
	.video-section__placeholder,
	.video-section__placeholder-image,
	.video-section__placeholder-empty {
		min-height: 300px;
	}
	
	.video-section__play-button {
		width: 60px;
		height: 60px;
	}
	
	.video-section__play-button svg {
		width: 60px;
		height: 60px;
	}
	
	.video-section__overlay {
		padding: 1rem 1.5rem;
	}
}

/* Global Video Modal */
.fp-video-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}
.fp-video-modal.is-open { display: block; }
.fp-video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.75);
}
.fp-video-modal__dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 960px;
	background: transparent;
	outline: 0;
}
.fp-video-modal__close {
	position: absolute;
	top: -40px;
	left: 0;
	background: rgba(255,255,255,0.9);
	border: 0;
	border-radius: 24px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
}
.fp-video-modal__body {
	background: #000;
	border-radius: 4px;
	overflow: hidden;
}
.fp-video-modal__media {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}
.fp-video-modal__media iframe,
.fp-video-modal__media video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}
@media (max-width: 768px) {
	.fp-video-modal__close {
		top: -36px;
	}
}

@media (max-width: 768px) {
	.c-section--layout-video .c-container--full-width {
		padding: 20px !important;
	}
	
	.video-section__video,
	.video-section__placeholder,
	.video-section__placeholder-image,
	.video-section__placeholder-empty {
		min-height: 250px;
	}
	
	.video-section__play-button {
		width: 50px;
		height: 50px;
	}
	
	.video-section__play-button svg {
		width: 50px;
		height: 50px;
	}
	
	.video-section__overlay {
		padding: 1rem;
	}
	
	.video-section__overlay-title {
		font-size: var(--factpress-font-size-h3);
	}
}

@media (max-width: 480px) {
	.c-section--layout-video .c-container--full-width {
		padding: 10px !important;
	}
	
	.video-section__video,
	.video-section__placeholder,
	.video-section__placeholder-image,
	.video-section__placeholder-empty {
		min-height: 200px;
	}
	
	.video-section__play-button {
		width: 40px;
		height: 40px;
	}
	
	.video-section__play-button svg {
		width: 40px;
		height: 40px;
	}
	
	.video-section__overlay {
		padding: 0.75rem;
	}
	
	.video-section__overlay-title {
		font-size: var(--factpress-font-size-h4);
	}

	.fp-submission-wrapper {
		border:none;
		padding:1rem;
	}
}

/* Subject Submission Banner - Full Width */
.subject-submission-banner {
	margin:20px 0;
	width: 100%;
	background-color: var(--factpress-general-color-1);
	position: relative;
	padding: 5rem 2rem;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	direction: rtl;
	overflow: hidden;
	background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
}

.subject-submission-banner__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: row;
	gap: 1.5rem;
	max-width: 1200px;
	width: 100%;
	justify-content: space-between;
    align-content: center;
	margin: 0 auto;
	padding: 0 2rem;
}

.subject-submission-banner__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	width: 100%;
	text-align: right;
}

.subject-submission-banner__title {
	font-family: 'AbarLowFaNum', 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	font-size: var(--factpress-font-size-h1, 28px);
	color: #fff;
	margin: 0;
	font-weight: 900;
	line-height: 1.4;
	text-align: right;
}

.subject-submission-banner__description {
	font-family: 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	font-size: var(--factpress-font-size-p, 16px);
	color: #fff;
	margin: 0;
	line-height: 1.6;
	text-align: right;
}

.subject-submission-banner__button-wrapper {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	align-items: center;
}

.subject-submission-banner__button {
	display: inline-block;
	background-color: var(--factpress-general-color-2);
	color: #fff;
	padding: 0.5rem 3rem;
	border-radius: 8px;
	text-decoration: none;
	font-family: 'IRANSansXFaNum', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	font-size: var(--factpress-font-size-p, 16px);
	font-weight: 800;
	transition: background-color 0.3s ease, transform 0.2s ease;
	border: none;
	cursor: pointer;
}

.subject-submission-banner__button:hover {
	background-color: var(--factpress-general-color-2);
	opacity: 0.9;
	transform: translateY(-2px);
	color: #fff;
}

/* Responsive: Subject Submission Banner */
@media (max-width: 768px) {
	.subject-submission-banner {
		padding: 2rem 1.5rem;
        margin: 0;
	}
	
	.subject-submission-banner__content {
		padding: 0 1rem;
	}
	
	.subject-submission-banner__title {
		font-size: var(--factpress-font-size-h3, 24px);
	}
	
	.subject-submission-banner__description {
		font-size: 0.9375rem;
	}
}

@media (max-width: 480px) {
	.subject-submission-banner {
		padding: 1.5rem 1rem;
	}
	
	.subject-submission-banner__content {
		flex-direction: column;
        
	}
    
    .subject-submission-banner__content div {
    	justify-content: center;
        align-items: center;
    
    }
	
	.subject-submission-banner__title {
		font-size: var(--factpress-font-size-h4, 20px);
	}
	
	.subject-submission-banner__description {
		font-size: 0.875rem;
	}
    
    .c-grid {
    	gap:0;
    }
    
    .site-footer {
    	margin-top:0;
        padding-top:20px;
    }
}