/*
Theme Name: Hamed Business Consultant FA
Author: OpenAI
Description: قالب فارسی راست‌چین برای مشاوره کسب‌وکار، سرمه‌ای و نارنجی، سازگار با Elementor و WooCommerce.
Version: 2.1.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: hamed-business-consultant-fa
*/
:root{--navy:#102A43;--navy2:#0A1F33;--orange:#F58220;--orange2:#D9680C;--ink:#263746;--muted:#607386;--bg:#F5F7FA;--border:#DCE4EC;--font:IRANSans,IRANSansWeb,Tahoma,sans-serif}
*{box-sizing:border-box}html{direction:rtl;scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:var(--font);font-size:15px;line-height:2;direction:rtl;text-align:right}button,input,select,textarea{font-family:var(--font);font-size:inherit}input,textarea,select{direction:rtl;text-align:right;max-width:100%}a{color:var(--navy);text-decoration:none}a:hover{color:var(--orange2)}img,video,iframe{max-width:100%;height:auto}.container{width:min(1180px,92%);margin-inline:auto}
.site-topbar{background:var(--navy2);color:#edf3f8;font-size:12px;padding:6px 0}.topbar-inner{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.site-header{background:#fff;border-bottom:1px solid var(--border);position:relative;z-index:20}.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:22px;direction:rtl}.site-branding{display:flex;align-items:center;gap:12px;min-width:180px}.custom-logo{max-height:58px;width:auto}.site-title{font-size:20px;font-weight:800;color:var(--navy);margin:0;line-height:1.6}.site-description{font-size:11px;color:var(--muted);margin:0}.primary-nav ul{display:flex;align-items:center;gap:20px;list-style:none;padding:0;margin:0}.primary-nav li{margin:0;padding:0}.primary-nav a{font-size:13px;font-weight:700;padding:10px 0;display:block}.header-actions{display:flex;align-items:center;gap:10px}
.button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--orange);border-radius:10px;background:var(--orange);color:#fff!important;padding:10px 20px;font-weight:700;cursor:pointer;transition:.2s;line-height:1.8}.button:hover,.wp-block-button__link:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--orange2);border-color:var(--orange2);color:#fff!important}.button-outline{background:transparent;color:var(--navy)!important;border-color:var(--navy)}.menu-toggle{display:none;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--navy);padding:7px 12px}
.hero{background:linear-gradient(120deg,#F5F8FB 0%,#fff 58%,#FFF0E2 100%);padding:72px 0 66px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:48px;direction:rtl}.eyebrow{display:inline-block;color:var(--orange2);font-weight:800;font-size:12px;margin-bottom:10px}.hero h1{font-size:clamp(29px,3.8vw,46px);line-height:1.8;color:var(--navy);margin:0 0 15px;font-weight:900}.hero p{font-size:16px;color:#53677A;max-width:650px;margin:0 0 24px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.hero-visual{min-height:320px;border-radius:26px;background:linear-gradient(140deg,#D9E5EF,#FFE0C3);display:flex;align-items:center;justify-content:center;padding:28px;position:relative}.hero-visual:before{content:"";position:absolute;inset:16px;border:1px solid rgba(16,42,67,.18);border-radius:19px}.hero-visual-card{position:relative;background:rgba(255,255,255,.94);border:1px solid #fff;border-radius:18px;padding:26px;width:min(340px,100%);box-shadow:0 18px 45px rgba(16,42,67,.13)}.hero-visual-card strong{display:block;font-size:22px;color:var(--navy);margin-bottom:8px}.hero-visual-card span{font-size:13px;color:var(--muted)}.hero-visual-card hr{border:0;border-top:1px solid var(--border);margin:16px 0}.hero-visual-card b{font-size:12px;color:var(--orange2)}
.section{padding:64px 0}.section-soft{background:var(--bg)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px;direction:rtl}.section-heading h2{font-size:clamp(22px,2.8vw,31px);line-height:1.7;margin:0;color:var(--navy)}.section-heading p{margin:5px 0 0;color:var(--muted);font-size:14px}.feature-grid,.service-grid,.post-grid,.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;direction:rtl}.feature-card,.service-card,.post-card,.course-card{border:1px solid var(--border);border-radius:16px;padding:22px;background:#fff;text-align:right;min-width:0}.feature-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#FFF0E2;color:var(--orange2);font-size:21px;margin-bottom:12px}.feature-card h3,.service-card h3,.post-card h3,.course-card h3{font-size:17px;line-height:1.8;margin:0 0 7px;color:var(--navy)}.feature-card p,.service-card p,.post-card p,.course-card p{margin:0 0 10px;color:var(--muted);font-size:13px}.consult-cta{background:var(--navy);color:#fff;border-radius:22px;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:22px;direction:rtl}.consult-cta h2{color:#fff;margin:0 0 8px;font-size:25px}.consult-cta p{color:#D9E4ED;margin:0}.consult-cta .button{white-space:nowrap}.page-intro{padding:38px 0;background:var(--bg);border-bottom:1px solid var(--border);text-align:right}.page-intro h1{margin:0;color:var(--navy);font-size:clamp(25px,3vw,36px);line-height:1.8}.content-area{padding:44px 0;min-height:42vh;direction:rtl;text-align:right}.entry-content{font-size:15px;line-height:2.1;text-align:right;overflow-wrap:anywhere}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4{color:var(--navy);line-height:1.8}.entry-content ul,.entry-content ol{padding-right:1.6em;padding-left:0}.entry-content blockquote{border-right:4px solid var(--orange);border-left:0;margin:1.5em 0;padding:.5em 1em;background:var(--bg)}.post-meta{font-size:12px;color:var(--muted);margin:7px 0}.post-card img,.course-card img{border-radius:11px;margin-bottom:12px;width:100%;object-fit:cover}.pagination{margin-top:26px}
.site-footer{background:var(--navy2);color:#DCE6EE;padding:40px 0 18px;text-align:right}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:28px;direction:rtl}.site-footer h2,.site-footer h3{color:#fff;margin-top:0}.site-footer a{color:#FFB36F}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin-bottom:5px}.footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:24px;padding-top:14px;font-size:11px;color:#AFC0CE}
.woocommerce,.woocommerce-page{direction:rtl;text-align:right}.woocommerce ul.products{direction:rtl}.woocommerce .products li.product,.woocommerce ul.products li.product{border:1px solid var(--border);border-radius:13px;padding:13px;overflow:hidden;text-align:right}.woocommerce div.product div.images img{border-radius:13px}.woocommerce div.product .product_title{color:var(--navy)}.woocommerce span.onsale{background:var(--orange)}.woocommerce-message,.woocommerce-info{border-top-color:var(--orange)}.woocommerce-message:before,.woocommerce-info:before{color:var(--orange)}.woocommerce form .form-row label{display:block}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{direction:rtl;text-align:right}.woocommerce table.shop_table,.woocommerce table.shop_table th,.woocommerce table.shop_table td{text-align:right}.elementor-page .content-area{padding:0}.elementor-widget-container,.elementor-widget-text-editor,.elementor-heading-title{direction:rtl;text-align:right}.elementor-section,.elementor-container,.elementor-column,.elementor-widget-wrap,.wp-block-group,.wp-block-columns,.wp-block-column{direction:rtl}.elementor-button{font-family:var(--font)}.wp-block-list{padding-right:1.5em;padding-left:0}form label{direction:rtl}input[type=email],input[type=url],input[type=tel]{direction:rtl;text-align:right}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.header-inner{min-height:70px}.menu-toggle{display:inline-flex}.primary-nav{display:none;position:absolute;top:100%;right:0;left:0;background:#fff;border-bottom:1px solid var(--border);padding:16px 4%}.primary-nav.is-open{display:block}.primary-nav ul{align-items:stretch;flex-direction:column;gap:5px}.primary-nav a{display:block;padding:7px 0}.hero{padding:46px 0}.hero-grid{grid-template-columns:1fr;gap:26px}.hero-visual{min-height:230px}.feature-grid,.service-grid,.post-grid,.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.consult-cta{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.topbar-inner{justify-content:center;text-align:center}.header-inner{gap:9px}.site-title{font-size:16px}.site-description{display:none}.header-actions .button{padding:7px 10px;font-size:11px}.feature-grid,.service-grid,.post-grid,.course-grid,.footer-grid{grid-template-columns:1fr}.section{padding:42px 0}.section-heading{align-items:flex-start;flex-direction:column}.consult-cta{padding:23px}.hero h1{font-size:28px}.hero p{font-size:14px}}
