/*
Theme Name: Iman Soleimani
Theme URI: https://imansoleimani.com/
Author: Iman Soleimani
Description: وب‌سایت فارسی ایمان سلیمانی همراه با وبلاگ و راه‌اندازی محتوای اولیه.
Version: 1.2.2
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: iman-soleimani
License: GPL-2.0-or-later
*/
.navigation{gap:20px}.navigation .current-section{color:var(--primary)}.navigation .current-section:after{right:30%;left:30%}.cta{cursor:pointer}.menu-toggle{border:0;background:transparent;color:var(--foreground);align-items:center;justify-content:center;border-radius:8px}.menu-toggle svg{width:24px;height:24px}.site-footer .brand{color:var(--foreground)}
.blog-index{min-height:65vh;background:linear-gradient(180deg,#f5f9ff 0,#fff 340px)}.blog-intro{padding:42px 0 32px}.breadcrumb{color:#687895;font-size:.875rem}.breadcrumb:hover{color:var(--primary)}.breadcrumb-divider{margin-inline:12px;color:#b3bfd0}.blog-intro h1{font-size:clamp(1.8rem,3.5vw,2.7rem);margin:16px 0 12px}.blog-intro>div>p{max-width:700px;font-size:1.0625rem}.blog-posts{padding-bottom:72px}.blog-categories{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 30px}.blog-categories>a{padding:7px 18px;font-size:.875rem;border-radius:99px;border:1px solid #dce8f8;background:white;color:#526480}.blog-categories>a:hover{border-color:#0062ee}.blog-categories>a[aria-current=page]{background:#0062ee;color:white;border-color:#0062ee}.blog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.blog-card{overflow:hidden;border:1px solid #e3ebf7;border-radius:17px;background:#fff;box-shadow:0 7px 24px #15487508;display:flex;flex-direction:column}.blog-card-image{display:block;aspect-ratio:16/9;background:#edf3fb;overflow:hidden}.post-cover-image{width:100%;height:100%;object-fit:cover;display:block}.blog-card-image img{transition:transform .25s}.blog-card:hover .blog-card-image img{transform:scale(1.025)}.blog-card-body{padding:25px 27px 27px;display:flex;flex-direction:column;align-items:flex-start;flex:1}.blog-card h2{font-size:1.4rem;line-height:1.85;margin:13px 0 12px}.blog-card h2 a:hover{color:var(--primary)}.blog-excerpt{font-size:1rem;line-height:2.05;flex:1}.blog-card-meta{display:flex;gap:15px;flex-wrap:wrap;font-size:.8125rem;color:#758299;margin:22px 0 16px}.post-read-link{display:inline-flex;align-items:center;color:#0062ee;font-weight:700;font-size:.9375rem}.post-read-link:hover{text-decoration:underline;text-underline-offset:5px}.article-page{padding:32px 0 55px}.article-heading{max-width:900px;text-align:right}.article-breadcrumbs{display:flex;align-items:center;gap:12px;color:#b3bfd0;margin-bottom:24px}.article-heading h1{font-size:clamp(1.65rem,3vw,2.55rem);line-height:1.85;margin:14px 0 15px;letter-spacing:-.025em}.article-deck{font-size:1.08rem;line-height:2.05}.article-meta{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:20px;color:#63718b;font-size:.875rem}.sources-checked{font-size:.8125rem;margin-top:8px;color:#77859c}.article-cover{max-width:1000px;margin-block:28px 42px;aspect-ratio:16/8.3;border-radius:17px;overflow:hidden;background:#edf3fb}.article-content{max-width:790px;width:calc(100% - 40px);margin-inline:auto;direction:rtl;text-align:right;color:#2d3b51;font-size:1.0625rem;line-height:2.25;overflow-wrap:anywhere}.article-content p{color:inherit;margin:0 0 25px}.article-content strong{font-weight:750;color:#112647}.article-content a{color:#075fd8;text-decoration:underline;text-underline-offset:5px}.article-content .source{font-size:.82em;white-space:nowrap}.article-content ul,.article-content ol{padding-inline-start:25px;margin:0 0 28px;list-style:disc}.article-content li{padding-inline-start:5px;margin:8px 0}.article-content ol{list-style:decimal}.article-content h2,.article-content h3{margin:32px 0 16px}.article-content figure{margin-block:25px}.article-content img{max-width:100%;height:auto;border-radius:12px}.article-content table{direction:rtl;width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;margin:12px 0 30px;font-size:.94rem;line-height:2}.article-content th,.article-content td{padding:15px;text-align:right;vertical-align:top;border-bottom:1px solid #e1e9f5}.article-content th{background:#edf5ff;color:#183b69;font-weight:650}.article-content thead th:first-child{border-top-right-radius:10px;width:25%}.article-content thead th:last-child{border-top-left-radius:10px}.article-content tbody tr:last-child>*{border-bottom:0}.article-tags{display:flex;flex-wrap:wrap;gap:10px 14px;border-top:1px solid #e4ebf6;padding-top:24px;margin-top:35px;color:#386497;font-size:.875rem}.article-end{max-width:790px;border-top:1px solid #e4ebf6;padding-top:25px;margin-top:30px}.pagination{margin-top:32px}.pagination .nav-links{display:flex;flex-wrap:wrap;gap:12px}.pagination a,.pagination .current{border:1px solid #dce8f8;padding:7px 14px;border-radius:8px}.pagination .current{background:var(--primary);color:#fff}.screen-reader-text{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}.not-found{padding-block:80px;min-height:60vh}.not-found h1{margin:15px 0}.not-found>div{display:flex;gap:25px;margin-top:20px}.empty-posts{padding-block:45px}
@media(max-width:1100px){.navigation{gap:13px}.header-inner{gap:15px}.blog-card-body{padding:22px}.blog-card h2{font-size:1.3rem}}
@media(max-width:850px){.navigation{gap:6px}.blog-grid{gap:20px}.blog-card h2{font-size:1.2rem}.blog-card-body{padding:20px}.article-cover{width:calc(100% - 40px)}.article-heading{width:calc(100% - 40px)}}
@media(max-width:620px){.blog-intro{padding:28px 0 25px}.blog-intro h1{font-size:1.8rem}.blog-intro>div>p{font-size:1rem}.blog-grid{grid-template-columns:1fr;gap:25px}.blog-posts{padding-bottom:42px}.blog-categories{margin-bottom:23px;gap:8px}.blog-categories>a{padding:7px 13px}.blog-card h2{font-size:1.35rem}.blog-card-body{padding:22px}.article-page{padding-top:24px}.article-heading h1{font-size:1.65rem;line-height:1.9}.article-deck{font-size:1rem}.article-breadcrumbs{margin-bottom:18px}.article-meta{gap:6px 15px}.article-cover{margin-block:24px 30px;border-radius:12px;aspect-ratio:16/10}.article-content{font-size:1rem;line-height:2.2}.article-content p{margin-bottom:22px}.article-content th,.article-content td{padding:10px 7px;font-size:.875rem}.article-content thead th:first-child{width:27%}.article-tags{font-size:.8125rem}.article-end{width:calc(100% - 40px)}}

.service-country-links{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:10px;border-top:1px solid #e5edf9;padding-top:18px;margin-top:18px}.service-country-links>span{font-size:.875rem;color:#63718b}.service-country-links>div{display:flex;flex-wrap:wrap;gap:10px;width:100%}.service-country-links a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;font-size:.9375rem;font-weight:700;text-align:center;color:#fff;padding:9px 18px;background:#0062ee;border-radius:8px;line-height:1.8}.service-country-links a:hover{background:#0056d3}.service-country-links a:focus-visible{outline:3px solid #82b7ff;outline-offset:3px}@media(max-width:700px){.service-country-links a{width:100%}}

/* Country navigation shares the site's desktop hover and mobile disclosure controls. */
.navigation{gap:15px}.navigation>a{white-space:nowrap}.country-menu{position:relative}.country-menu-toggle{display:flex;align-items:center;gap:6px;white-space:nowrap;border:0;background:transparent;padding:25px 0;color:#52617c;font:inherit;font-size:.875rem;font-weight:600;cursor:pointer}.country-menu-toggle:hover,.country-menu-toggle[aria-expanded=true],.country-menu.current-section .country-menu-toggle{color:#0062ee}.country-menu-mark{font:18px/1 Arial,sans-serif;width:12px}.country-menu-toggle:focus-visible{outline:3px solid #82b7ff;outline-offset:3px;border-radius:5px}.country-menu-panel{position:absolute;top:100%;inset-inline-start:-14px;z-index:60;width:280px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:12px;background:#fff;border:1px solid #e1eafa;border-radius:12px;box-shadow:0 12px 32px #102b5020}.country-menu-panel[hidden]{display:none!important}.navigation .country-menu-panel a{padding:10px 13px;border-radius:7px;font-size:.9375rem;color:#304c70}.navigation .country-menu-panel a:hover,.navigation .country-menu-panel a:focus-visible,.navigation .country-menu-panel a[aria-current=page]{background:#edf5ff;color:#005ed9;outline:none}.navigation .country-menu-panel a:after{display:none}.service-country-links a{min-height:42px;padding:7px 16px;width:auto}.service-card{scroll-margin-top:105px}.video-grid-mixed{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.video-topic{display:inline-block;margin-top:15px;padding:3px 10px;border-radius:5px;background:#edf5ff;color:#0961d5;font-size:.8125rem;font-weight:650}.video-grid-mixed .video-card h3{font-size:1rem;line-height:1.95;margin-top:8px}
@media(max-width:1080px){.header-inner{flex-wrap:wrap;min-height:72px;gap:12px}.header-booking{margin-right:auto}.menu-toggle{width:42px;height:42px;display:inline-flex}.navigation{order:4;display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;padding:5px 0 16px;max-height:calc(100dvh - 85px);overflow-y:auto}.navigation.is-open{display:grid}.navigation>a{text-align:center;background:#f4f8ff;border-radius:7px;padding:9px 10px}.navigation>a:after{display:none}.country-menu{grid-column:1/-1;width:100%}.country-menu-toggle{width:100%;justify-content:space-between;text-align:right;background:#f4f8ff;border-radius:7px;padding:10px 15px;min-height:44px}.country-menu-panel{position:static;width:100%;margin:5px 0 2px;box-shadow:none;padding:6px;border-color:#e9eff8}.navigation .country-menu-panel a{text-align:right;min-height:44px;padding:10px 14px}.video-grid-mixed{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}}
@media(max-width:620px){.video-grid-mixed{grid-template-columns:1fr;gap:25px}.video-grid-mixed .video-card h3{font-size:1.1rem}.service-country-links>div{gap:8px}.service-country-links a{width:auto;flex:0 1 auto;min-height:42px}}
/* Readable secondary text and clear links on pale backgrounds. */
.hero-notes span,.blog-card-meta,.sources-checked,.footer-bottom>p,.footer-top>p,.contact-card span{color:#52617c}
.related-guides ul{list-style:disc;padding-inline-start:1.4rem;margin-top:16px;display:grid;gap:12px;max-width:900px}
.related-guides a{color:#075fd8;text-decoration:underline;text-underline-offset:5px;line-height:2}
.related-guides a:focus-visible{outline:3px solid #82b7ff;outline-offset:4px;border-radius:3px}

