/* Base only. No section or page design here: that lives in Elementor. */
html{-webkit-text-size-adjust:100%}
body{font-family:'iClinic Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:#111;-webkit-font-smoothing:antialiased}
html[lang^="fa"] body{font-family:'iClinic Sans FA',system-ui,sans-serif}
/* Persian pages: switch Elementor's global fonts to the Persian family */
html[lang^="fa"] body[class*="elementor-kit-"]{
	--e-global-typography-primary-font-family:'iClinic Sans FA';
	--e-global-typography-secondary-font-family:'iClinic Sans FA';
	--e-global-typography-text-font-family:'iClinic Sans FA';
	--e-global-typography-accent-font-family:'iClinic Sans FA';
	--e-global-typography-ic_h1-font-family:'iClinic Sans FA';
	--e-global-typography-ic_h2-font-family:'iClinic Sans FA';
	--e-global-typography-ic_h3-font-family:'iClinic Sans FA';
	--e-global-typography-ic_eyebrow-font-family:'iClinic Sans FA';
	--e-global-typography-ic_body-font-family:'iClinic Sans FA';
	--e-global-typography-ic_lead-font-family:'iClinic Sans FA';
	--e-global-typography-ic_button-font-family:'iClinic Sans FA';
	--e-global-typography-ic_small-font-family:'iClinic Sans FA';
	--e-global-typography-ic_item-font-family:'iClinic Sans FA';
	--e-global-typography-ic_link-font-family:'iClinic Sans FA';
}
img{max-width:100%;height:auto}
:focus-visible{outline:2px solid #004081;outline-offset:2px}
/* Elementor text blocks: no extra space after the last paragraph */
.elementor-widget-text-editor p:last-child{margin-block-end:0}
/* (Phase 1) Buttons with the "ic-btn-left" class keep their label on the left */
.ic-btn-left .elementor-button-content-wrapper{justify-content:flex-start}
html[dir="rtl"] .ic-btn-left .elementor-button-content-wrapper{justify-content:flex-start}

/* ===== Design system v2 · shared interaction styles (reusable CSS classes for Elementor → Advanced → CSS Classes) ===== */
:root{--ic-ease:cubic-bezier(.25,.1,.25,1)}
/* Buttons (class ic-btn): smooth colour change, no jump */
.ic-btn .elementor-button{transition:background-color .2s var(--ic-ease),color .2s var(--ic-ease),border-color .2s var(--ic-ease)}
.ic-btn-link .elementor-button{padding:0 !important;background:none !important;border:0 !important}
.ic-btn-link .elementor-button:hover .elementor-button-text{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
/* Cards (class ic-card on a container): hairline border turns navy on hover */
.e-con.ic-card{transition:border-color .2s var(--ic-ease),transform .2s var(--ic-ease)}
.e-con.ic-card:hover{border-color:var(--e-global-color-accent,#004081) !important}
a.e-con.ic-card{color:inherit;text-decoration:none}
/* Text links (class ic-ulink on a Heading): thin animated navy underline */
.ic-ulink a{background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;padding-bottom:2px;transition:background-size .25s var(--ic-ease),color .2s var(--ic-ease)}
.ic-ulink a:hover{color:var(--e-global-color-accent,#004081) !important;background-size:100% 1px}
html[dir="rtl"] .ic-ulink a{background-position:100% 100%}
/* Desktop nav (class ic-nav-underline on the ElementsKit Nav Menu): thin navy line under hover / current item */
.ic-nav-underline .elementskit-navbar-nav>li>a{position:relative}
.ic-nav-underline .elementskit-navbar-nav>li>a::after{content:"";position:absolute;left:var(--ic-pad,18px);right:var(--ic-pad,18px);bottom:18px;height:1px;background:var(--e-global-color-accent,#004081);transform:scaleX(0);transition:transform .25s var(--ic-ease)}
@media (max-width:1366px){.ic-nav-underline .elementskit-navbar-nav>li>a::after{--ic-pad:12px}}
.ic-nav-underline .elementskit-navbar-nav>li:hover>a::after,.ic-nav-underline .elementskit-navbar-nav>li.current-menu-item>a::after{transform:scaleX(1)}
.ic-tick{color:var(--e-global-color-accent,#004081)}
/* Breadcrumbs */
.ic-crumbs a{color:inherit;text-decoration:none}
.ic-crumbs a:hover{color:var(--e-global-color-accent,#004081)}
.ic-crumbs .ic-sep{margin:0 6px;opacity:.5}
/* Simple lists inside text */
.ic-list{margin:0;padding:0;list-style:none}
.ic-list li{position:relative;padding:10px 0 10px 22px;border-bottom:1px solid var(--e-global-color-ic_line,#E8E8ED)}
.ic-list li::before{content:"";position:absolute;left:2px;top:19px;width:6px;height:6px;border-radius:50%;background:var(--e-global-color-accent,#004081)}
html[dir="rtl"] .ic-list li{padding:10px 22px 10px 0}
html[dir="rtl"] .ic-list li::before{left:auto;right:2px}
/* FAQ accordion: hairlines only */
.ic-accordion .elementor-accordion-item{border:0 !important;border-bottom:1px solid var(--e-global-color-ic_line,#E8E8ED) !important}
.ic-accordion .elementor-accordion-item:first-child{border-top:1px solid var(--e-global-color-ic_line,#E8E8ED) !important}
.ic-accordion .elementor-tab-title{padding:20px 0 !important;border:0 !important}
.ic-accordion .elementor-tab-title a{color:inherit;text-decoration:none}
.ic-accordion .elementor-tab-content{padding:0 40px 22px 0 !important;border:0 !important}
html[dir="rtl"] .ic-accordion .elementor-tab-content{padding:0 0 22px 40px !important}
.ic-accordion .elementor-accordion-icon{font-size:12px;color:var(--e-global-color-secondary,#66666C)}
/* Map */
.ic-map iframe{border-radius:16px;display:block}
/* Arabic & Persian: no negative letter-spacing, slightly taller lines; uppercase labels stay natural */
html[dir="rtl"] body{letter-spacing:0}
html[dir="rtl"] .elementor-heading-title,html[dir="rtl"] .elementor-widget-text-editor{letter-spacing:0 !important}
html[dir="rtl"] .elementor-widget-text-editor,html[dir="rtl"] .icf{line-height:1.75}
html[dir="rtl"] .elementor-heading-title{line-height:1.35 !important}
/* Search results and simple archive pages (theme templates) */
body.search .site-main,body.archive .site-main,body.error404 .site-main{max-width:1200px;margin:0 auto;padding:48px 40px 72px}
body.search .page-header h1,body.error404 .page-header h1{font-size:32px;font-weight:600;letter-spacing:-.015em;margin:0 0 24px}
body.search .site-main article{padding:18px 0;border-top:1px solid var(--e-global-color-ic_line,#E8E8ED)}
body.search .site-main article h2{font-size:17px;font-weight:600;margin:0 0 4px}
body.search .site-main article h2 a{color:#111;text-decoration:none}
body.search .site-main article h2 a:hover{color:var(--e-global-color-accent,#004081)}
body.search .site-main article p{color:#66666C;font-size:14px;margin:0}
@media (max-width:767px){body.search .site-main,body.archive .site-main,body.error404 .site-main{padding:32px 20px 48px}}
/* Brand colours instead of the parent theme's default pink (#c36) on plain links and buttons.
   Buttons built in Elementor use their own Style → Hover colours and are not affected. */
a{color:var(--e-global-color-accent,#004081)}
[type=button],[type=submit],button{border-color:var(--e-global-color-accent,#004081);color:var(--e-global-color-accent,#004081)}
[type=button]:focus,[type=button]:hover,[type=submit]:focus,[type=submit]:hover,button:focus,button:hover{background-color:var(--e-global-color-accent,#004081);color:#fff}
