/*!
 * Uskudar FA theme base styles (RTL)
 * Developed by Ali Ghanouni
 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: UGFont, Tahoma, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.95;
	color: #3a4448;
	background: #fff;
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body, button, input, select, textarea, .elementor-widget, .elementor-button { font-family: UGFont, Tahoma, "Segoe UI", sans-serif; }
h1, h2, h3, h4, h5, h6 { color: #13272e; font-weight: 800; line-height: 1.6; margin: 0 0 .6em; }
a { color: #0f5e6e; }
a:hover { color: #0b4855; }
img, video, iframe { max-width: 100%; height: auto; }
figure { margin: 0; }
:focus-visible { outline: 3px solid rgba(15, 94, 110, .4); outline-offset: 2px; }
::selection { background: #0f5e6e; color: #fff; }

.ugt-skip { position: absolute; right: -9999px; top: 8px; z-index: 10000; background: #13272e; color: #fff; padding: 10px 16px; border-radius: 8px; }
.ugt-skip:focus { right: 8px; }
.ugt-main { display: block; outline: none; min-height: 40vh; }
.ugt-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.ugt-narrow { max-width: 900px; }
.ugt-section { padding-block: 48px 64px; }
.ugt-band { background: #f6f3ec; padding-block: 56px; }

/* sticky header wrapper (works with Elementor templates and Pro theme builder) */
/* The whole header is sticky, offset upwards by the top bar height (set by JS),
   so the top bar scrolls away naturally and nothing changes size while scrolling. */
.ugt-site-header { position: sticky; top: var(--ugt-sticky-top, 0px); z-index: 999; }
.ugt-site-header .ug-header.is-sticky { position: relative; top: 0; }
.ugt-site-header .elementor-section, .ugt-site-header .e-con { --padding-top: 0; --padding-bottom: 0; }

/* classic layout */
.ugt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-block: 48px 64px; align-items: start; }
.ugt-aside { display: grid; gap: 20px; position: sticky; top: 100px; }
.ugt-article { min-width: 0; }
.ugt-h2 { position: relative; font-size: 1.45rem; margin: 30px 0 12px; padding-right: 14px; }
.ugt-h2::before { content: ""; position: absolute; right: 0; top: .3em; bottom: .3em; width: 4px; border-radius: 4px; background: #0f5e6e; }
.ugt-facts { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.ugt-facts li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; background: #fff; border: 1px solid #e5dfd3; border-radius: 7px; padding: 14px; }
.ugt-facts__wide { grid-column: 1 / -1; }
.ugt-facts .ug-icon { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 6px; background: #e9f1f2; color: #0f5e6e; }
.ugt-facts small { color: #6b7478; font-size: .78rem; line-height: 1.5; }
.ugt-facts b { color: #13272e; font-size: .95rem; line-height: 1.6; }
.ugt-facts b a { color: inherit; text-decoration: none; }
.ugt-facts b a:hover { color: #0f5e6e; }
.ugt-careers { grid-template-columns: repeat(2, 1fr); display: grid; }
.ugt-highlights { margin-top: 0; }
.ugt-source { margin-top: 24px; padding-top: 16px; border-top: 1px dashed #e5dfd3; color: #6b7478; font-size: .88rem; }
.ugt-featured { margin: 0 0 24px; border-radius: 9px; overflow: hidden; }
.ugt-featured img { display: block; width: 100%; height: auto; }
.ugt-feebox { background: #fff; border: 1px solid #e5dfd3; border-radius: 9px; padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 18px 50px rgba(19, 39, 46, .1); position: relative; overflow: hidden; }
.ugt-feebox::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: linear-gradient(90deg, #b8862f, #0f5e6e); }
.ugt-feebox__label { color: #6b7478; font-size: .85rem; font-weight: 700; }
.ugt-feebox__price { font-size: 1.9rem; color: #13272e; font-weight: 800; line-height: 1.3; }
.ugt-feebox__off { font-size: .88rem; color: #0b4855; background: #e9f1f2; border-radius: 5px; padding: 8px 12px; }
.ugt-feebox__year { font-size: .8rem; color: #6b7478; }
.ugt-feebox__note { margin: 0; font-size: .82rem; color: #6b7478; line-height: 1.9; }
.ugt-feebox__link { text-align: center; font-weight: 700; font-size: .9rem; text-decoration: none; }

/* search results */
.ugt-search-again { margin-bottom: 28px; max-width: 720px; }
.ugt-results { display: grid; gap: 12px; }
.ugt-result { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 16px 18px; border: 1px solid #e5dfd3; border-radius: 7px; text-decoration: none; color: inherit; transition: .2s; }
.ugt-result:hover { border-color: #0f5e6e; box-shadow: 0 8px 24px rgba(19, 39, 46, .06); }
.ugt-result__title { font-weight: 800; color: #13272e; }
.ugt-result__excerpt { grid-column: 1 / -1; color: #6b7478; font-size: .9rem; }
.ugt-404 { text-align: center; }
.ugt-404 .ug-search-form { max-width: 640px; margin: 0 auto 24px; }
.ugt-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* basic fallbacks (no core plugin) */
.ugt-basic-header { background: #fff; border-bottom: 1px solid #e5dfd3; }
.ugt-basic-header .ugt-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.ugt-brand { font-weight: 800; font-size: 1.2rem; color: #13272e; text-decoration: none; }
.ugt-basic-header ul { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.ugt-basic-footer { background: #13272e; color: #cbd5e1; padding: 24px 0; }
.ugt-hero-basic { background: #13272e; color: #fff; padding: 48px 0; }
.ugt-hero-basic h1 { color: #fff; margin: 0; }

/* WordPress core */
.alignleft { float: left; margin: 0 0 1em 1.5em; }
.alignright { float: right; margin: 0 1.5em 1em 0; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { color: #6b7478; font-size: .85rem; text-align: center; }
.sticky, .bypostauthor, .gallery-caption { display: block; }

/* Elementor */
.elementor-page .ugt-main > .elementor { width: 100%; }
.elementor-widget-text-editor.ug-prose p:last-child { margin-bottom: 0; }
.e-con.ug-main, .e-con.ug-aside { min-width: 0; }
.e-con.ug-aside { position: sticky; top: 100px; }
@media (max-width: 1024px) { .e-con.ug-aside { position: static; } }

@media (max-width: 1024px) {
	.ugt-layout { grid-template-columns: 1fr; }
	.ugt-aside { position: static; }
}
@media (max-width: 600px) {
	.ugt-careers { grid-template-columns: 1fr; }
	.ugt-layout { padding-block: 32px 48px; gap: 28px; }
	.ugt-feebox__price { font-size: 1.6rem; }
}
