/* Base RTL + Persian font (MihanWP) */
html{direction:rtl;}
body{direction:rtl;text-align:right;overflow-x:hidden;}
body,p,h1,h2,h3,h4,h5,h6,li,td,th,dd,dt,blockquote,figcaption,label,input,textarea,select,button,.button,.wp-block-heading{font-family:'Vazirmatn',Tahoma,'Iranian Sans',sans-serif !important;}
/* MihanWP responsive + legibility safety */
img,figure,video,iframe{max-width:100%!important;height:auto;}
figure{margin-inline:0;}
.wp-block-cover{overflow:hidden;}
.wp-block-cover__image-background{object-fit:cover!important;}
.wp-block-cover__inner-container,.wp-block-group__inner-container{max-width:1240px;margin-inline:auto;width:100%;}
.wp-block-group.alignfull{padding-inline:max(1.25rem,calc((100% - 1240px) / 2));}
.wp-block-columns.alignfull,.wp-block-columns.alignwide{max-width:1240px;margin-inline:auto;}
.wp-block-cover .wp-block-cover__inner-container{text-shadow:0 1px 4px rgba(0,0,0,.5);}
@media (max-width:781px){.wp-block-columns{flex-wrap:wrap!important;}.wp-block-column{flex-basis:100%!important;min-width:0!important;}.wp-block-media-text{grid-template-columns:1fr!important;}}

/* rtlcss-flipped theme styles */
/*
Theme Name: Ury
Theme URI: https://themeshaper.com/ury/
Author: Automattic
Author URI: https://automattic.com/
Description: Ury is a minimal blogging theme designed for comfortable, distraction-free reading. A fixed sidebar holds your site title, navigation, and tagline while your posts fill a wide content column. It offers a variety of highly readable typography pairings and three color schemes -- a light default, a warm sepia, and a dark mode -- so you can match the look to the mood of your writing.
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 7.2
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ury
Tags: one-column, two-columns, featured-images, full-site-editing, block-patterns, rtl-language-support, threaded-comments, translation-ready, wide-blocks, style-variations, blog
*/

/* Crossfade page transition */

@view-transition {
	navigation: auto;
}

/* Font smoothing */
body {
	text-rendering: geometricprecision;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: 0.1em
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}

/*
 * Make sure footers have no margin.
 * https://github.com/WordPress/gutenberg/issues/47637
 */
footer.wp-block-template-part {
	margin-block-start: 0 !important;
}

/* Utility classes for removing text decoration from link. */
.no-underline a {
	text-decoration: none;
}

/*
 * Calendar and Latest Comments overrides that core block styles
 * out-rank: global-styles `css` emits at :where() specificity, so
 * these need real selectors rather than !important.
 */
.wp-block-calendar table:not(.has-text-color) td,
.wp-block-calendar table:not(.has-text-color) th {
	border-color: var(--wp--preset--color--theme-4);
}

.wp-block-latest-comments .wp-block-latest-comments__comment-excerpt p {
	font-size: inherit;
	margin: 0;
}
