/* Hamid SR — responsive visual layer; original page modules retained. */
@font-face{font-family:HamidYekan;src:url('../fonts/farsi-fonts/iran-yekan-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:HamidYekan;src:url('../fonts/farsi-fonts/iran-yekan-700.woff2') format('woff2');font-weight:700;font-display:swap}
body,body p,body h1,body h2,body h3,body h4,body h5,body h6,body input,body textarea,body button,body a,body li{font-family:HamidYekan,Tahoma,Arial,sans-serif!important;letter-spacing:normal!important}body{line-height:1.9}#page{--accent:#249bff;--surface:#fff;--ink:#17243a;--muted:#52647e;--line:#dce4ef;--card:#f5f8fc}#page.template-style-dark{--surface:#090f22;--ink:#f1f5ff;--muted:#b7c5df;--line:#293650;--card:#121d35}#page .site-main,#page .pt-wrapper{background:var(--surface)!important}#page .pt-page{background:var(--surface)!important;color:var(--ink)}#page .pt-page h1,#page .pt-page h2,#page .pt-page h3,#page .pt-page h4,#page .pt-page h5,#page .pt-page h6{color:var(--ink)}#page .pt-page p,#page .info-list .value{color:var(--muted)}#page .pt-page .section-inner{padding:32px clamp(18px,4vw,60px) 48px}#page .section-title{font-size:34px;color:var(--accent)!important}#page .section-description{color:var(--muted)}#page .border-block-top-110{display:none}#page .header{border:1px solid var(--line);box-shadow:none}#page .header.header-color-dark{background:#10182c}#page .header.header-color-light{background:#fff}#page .site-title span{color:var(--accent)}#page .site-main-menu li a{border:0;border-radius:12px}#page .site-main-menu li.active a{background:#1674db;color:#fff!important}#page .site-main-menu li a:after{display:none}#page .header .my-photo img{border-radius:50%}#page .hs-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center;min-height:440px}#page .hs-copy h2{font-size:clamp(28px,4vw,56px);line-height:1.55;margin:10px 0;font-weight:700}#page .hs-copy h2 span{color:var(--accent)}#page .hs-kicker{font-size:20px}#page .hs-role{font-size:clamp(15px,1.8vw,22px);font-weight:700}#page .hs-admin{display:inline-block;border:1px solid #21b7e9;color:#21b7e9;border-radius:30px;padding:5px 18px;font-weight:700}#page .hs-intro{margin:20px 0;font-size:16px;line-height:2}#page .hs-actions{display:flex;flex-wrap:wrap;gap:12px}#page .hs-actions a{padding:10px 22px;border:1px solid var(--accent);border-radius:12px;color:var(--ink)}#page .hs-actions a:first-child{background:linear-gradient(110deg,#1264e9,#19aeea);color:white}#page .hs-roles{font-size:13px;color:var(--muted);margin-top:18px}#page .hs-portrait{position:relative;max-width:460px;margin:auto;width:100%;isolation:isolate}#page .hs-portrait:before{content:'';position:absolute;inset:10%;border:3px solid #35bfff;border-radius:50%;box-shadow:0 0 35px #2968ff;z-index:-1}#page .hs-portrait img{width:100%;display:block;border-radius:35% 35% 18% 18%;mask-image:linear-gradient(#000 85%,transparent);mix-blend-mode:normal}#page .hs-float{position:absolute;bottom:8%;left:0;padding:12px 18px;border:1px solid #4664a2;background:#172440ed;color:#fff;border-radius:14px;box-shadow:0 8px 30px #0005}#page .hs-float i{color:#49baff;margin-left:8px}#page .hs-features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:24px}#page .hs-features article,#page .service-block,#page .fun-fact-block,#page .testimonial-text,#page .timeline-item{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px}#page .hs-features article{text-align:center}#page .hs-features i{font-size:28px;color:var(--accent);padding:12px;background:#258aff20;border-radius:12px}#page .hs-features h3{font-size:17px;margin:12px 0 4px}#page .hs-features p{font-size:13px;margin:0}#page .form-control{background:var(--card);color:var(--ink);border-color:var(--line);border-radius:10px}#page .form-control::placeholder{color:var(--muted)}#page .portfolio-grid figure{border-radius:12px;overflow:hidden}#page .mobile-header{background:var(--surface);color:var(--ink);border-color:var(--line)}#page .mobile-site-title,#page .menu-toggle{color:var(--ink)}#page .page-ajax-loaded{background:var(--surface);color:var(--ink)}#page .page-ajax-loaded h1,#page .page-ajax-loaded h2,#page .page-ajax-loaded h3{color:var(--ink)}#page.template-style-dark [data-id=home]{background:radial-gradient(ellipse at 15% 30%,#152e68 0,transparent 42%),radial-gradient(ellipse at 95% 95%,#251459 0,transparent 35%),#090f22!important}#page .pt-page-current{overflow-y:auto}#page .pt-page-current.mCustomScrollbar{overflow:hidden}
@media(min-width:992px){#page.layout-menu-top .header,#page.layout-menu-bottom .header{border-radius:22px;width:calc(100% - 32px);right:16px;display:flex;align-items:center;gap:14px;padding:0 20px}#page.layout-menu-top .header{top:8px}#page.layout-menu-top .site-main{margin-top:96px;height:calc(100% - 96px)}#page.layout-menu-top .site-nav,#page.layout-menu-bottom .site-nav{padding:0;margin-right:auto}#page.layout-menu-top .site-main-menu li a,#page.layout-menu-bottom .site-main-menu li a{padding:8px 15px;line-height:1.6}#page.layout-menu-top .site-main-menu li a i,#page.layout-menu-bottom .site-main-menu li a i{display:none}#page.layout-menu-top .my-photo,#page.layout-menu-bottom .my-photo{width:44px;margin:0}#page.layout-menu-top .site-title,#page.layout-menu-bottom .site-title{font-size:22px;white-space:nowrap}}
@media(max-width:991px){#page .hs-hero{grid-template-columns:1fr;gap:20px;text-align:center}#page .hs-actions{justify-content:center}#page .hs-portrait{max-width:350px;grid-row:1}#page .hs-features{grid-template-columns:repeat(2,1fr)}#page .pt-page .section-inner{padding:24px 18px 40px}#page .hs-float{font-size:12px}#page .hs-copy h2{font-size:32px}}@media(max-width:380px){#page .hs-features{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){#page *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Native document scrolling; no fixed-height page or custom scrollbar. */
html,body{height:auto!important;min-height:100%;overflow-x:hidden;background:#090f22}body{font-size:16px;font-weight:400}#page{height:auto!important;min-height:100vh;overflow:visible!important;background:var(--surface);color:var(--ink)}#page .site-main,#page .pt-wrapper,#page .subpages{position:relative!important;height:auto!important;min-height:0!important;overflow:visible!important;top:auto!important;bottom:auto!important;transform:none!important;perspective:none!important;background-image:none!important}#page .pt-wrapper{padding:0!important}#page .subpages{max-width:1320px}#page .pt-page{display:none!important;position:relative!important;height:auto!important;min-height:0!important;overflow:visible!important;transform:none!important;box-shadow:none!important;padding:0!important}#page .pt-page-current{display:block!important;visibility:visible!important;opacity:1!important;z-index:auto!important}#page .pt-page .section-inner{padding:36px 5% 64px!important}#page p{font-size:15px;font-weight:400;line-height:2.05}#page a{color:var(--accent)}#page .section-title-wrapper{text-align:center}#page .section-title{font-size:34px!important;line-height:1.6!important;color:var(--ink)!important}#page .section-description{background:transparent!important;color:var(--accent)!important;font-size:15px;font-weight:400}#page .section-title-block{margin-bottom:30px}#page .block-title h3:after{background:var(--accent)}#page .block-title h3{margin-right:12px}#page .timeline-item{margin-bottom:16px}#page .event-date,#page .skill-percentage{background:var(--accent)!important}#page .hs-about>div{padding:18px}#page .hs-about .my-photo-block img{border-radius:20px;max-height:350px;object-fit:cover;width:100%}#page .info-list{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:18px;overflow-wrap:anywhere}#page .info-list li{padding:8px 0;border-bottom:1px solid var(--line)}#page .info-list .title{color:var(--ink)}#page .hs-testimonials{display:flex;flex-wrap:wrap;gap:16px}#page .hs-testimonials .testimonial-item{flex:1 1 240px;min-width:0}#page #portfolio_grid{display:flex!important;flex-wrap:wrap;gap:16px;height:auto!important;overflow:visible!important}#page #portfolio_grid figure{position:relative!important;transform:none!important;width:calc(33.333% - 11px);margin:0!important;float:none!important;visibility:visible!important}#page #portfolio_grid figure img{width:100%;display:block}#page .contact-info-block{margin:12px 0;padding:12px;background:var(--card);border-radius:12px}#page .form-control{min-height:48px}#page textarea.form-control{height:auto}#page .hs-portrait:before{z-index:1;pointer-events:none;inset:8%;opacity:.65}#page .hs-portrait img{border-radius:24px;max-height:410px;object-fit:cover}#page .hs-float{z-index:2}#page .hs-hero{min-height:0;gap:30px}#page .hs-features{margin-top:30px}#page .hs-features p{font-size:13px}#page .header .my-photo img{border-color:var(--line)}#page .site-main-menu li a{color:var(--ink)}#page .header-color-dark .site-main-menu li a{color:#dbe7ff}#page .header-color-light .site-main-menu li a{color:#17243a}#page .header-color-main .site-main-menu li a{color:white}#page .site-main-menu li.active a{background:var(--accent)!important;color:white!important}#page .header{overflow:auto!important}#page .hs-actions a{color:var(--ink)}#page .hs-actions a:first-child{color:white}#page .site-title{margin:0}#page .site-main-menu{margin:0}#page .site-main-menu li a:after{display:none!important}#page .header .my-photo:after{display:none!important}
@media(min-width:992px){#page.layout-menu-top .site-main{margin:0!important;padding-top:100px}#page.layout-menu-bottom .site-main{margin:0!important;padding-bottom:100px}#page.layout-menu-right .site-main{margin-right:150px!important}#page.layout-menu-top .header,#page.layout-menu-bottom .header{height:72px!important;overflow:visible!important;justify-content:flex-start}#page.layout-menu-top .site-title-block h1,#page.layout-menu-bottom .site-title-block h1{line-height:1.4}#page.layout-menu-top .site-main-menu li a,#page.layout-menu-bottom .site-main-menu li a{height:auto!important;font-size:14px;padding:10px 15px!important}#page.layout-menu-top .site-nav,#page.layout-menu-bottom .site-nav{margin-right:auto;padding:0!important}}
@media(max-width:991px){#page .site-main{margin:0!important;padding-top:50px}#page .pt-page .section-inner{padding:24px 18px 48px!important}#page .hs-hero{display:flex;flex-direction:column-reverse}#page .hs-portrait{max-width:320px}#page #portfolio_grid figure{width:calc(50% - 8px)}#page .header{right:0}#page .hs-about>div{width:100%}}
@media(max-width:480px){#page #portfolio_grid figure{width:100%}#page .hs-features{grid-template-columns:1fr 1fr}#page .hs-copy h2{font-size:30px}#page .hs-float{padding:8px;font-size:11px}}
/* Hamid SR — exclusive daylight edition */
html,body{background:#edf5ff!important;color:#172c48!important}#page{--accent:#0865d9;--surface:#f6faff;--ink:#172c48;--muted:#465e78;--line:#d9e6f4;--card:#fff;background:linear-gradient(135deg,#eaf5ff,#fff 55%,#e6f6fb)!important}#page .site-main,#page .pt-wrapper,#page .pt-page{background:transparent!important}#page .header,#page .mobile-header{background:#fff!important;box-shadow:0 8px 30px #244c7a12;border:1px solid #dce8f6}#page .header .site-title{color:#172c48!important}#page .site-main-menu li a{color:#334e70!important;font-weight:700}#page .site-main-menu li.active a{background:#0865d9!important;color:#fff!important}#page .hs-copy h2{font-size:clamp(30px,4vw,55px)}#page .hs-kicker{color:#0865d9!important}#page .hs-admin{color:#0865d9;border-color:#a8c9f5;background:#eaf4ff}#page .hs-actions a{border-radius:24px;padding:12px 24px}#page .hs-portrait{background:linear-gradient(145deg,#c9e8ff,#1479e8);border-radius:32px;padding:12px;box-shadow:0 18px 48px #176ac426}#page .hs-portrait:before{display:none}#page .hs-portrait img{border-radius:24px;mask-image:none;max-height:390px}#page .hs-float{background:#fff;color:#174575;border:1px solid #d4e5fa;box-shadow:0 8px 24px #123c6826}#page .hs-features article,#page .service-block,#page .fun-fact-block,#page .testimonial-text,#page .timeline-item,#page .info-list,#page .contact-info-block{background:#fff!important;box-shadow:0 8px 24px #254d7810;border:1px solid #dce8f6;border-radius:20px}#page .hs-features i{background:#e8f3ff;color:#0865d9}#page .section-title-block{margin-bottom:36px}#page .block-title{margin-top:32px}#page .hs-about{display:flex;flex-wrap:wrap;align-items:flex-start}#page .hs-about>div{min-width:0}#page .hs-about h3{line-height:1.8}#page .info-list .title{background:transparent!important}#page .client-block img{opacity:1!important;filter:none!important}#page .testimonial-text p{color:#465e78!important}#page .form-control{background:white!important;color:#172c48!important}#page .skill-container{background:#dce9f7!important}#page .event-date{color:#fff!important}#page .portfolio-grid figure figcaption{background:#fff;color:#172c48}#page .portfolio-grid figure figcaption h5{color:#172c48!important}#page .social-links a{background:#fff!important;border-color:#cddff3!important;color:#0865d9!important}#page .section-inner{max-width:1280px;margin:auto}#page .hs-hero{padding:10px 0 20px}#page .hs-features{margin-top:12px}#page .hs-role{color:#253f60!important}#page .hs-intro{max-width:580px}#page .hs-actions a:first-child{color:#fff!important}#page .hs-actions a:last-child{background:white;color:#0865d9}#page .hs-about .my-photo-block img{object-position:center top}#page .hs-testimonials .testimonial-item{padding:8px}#page .pt-page p{line-height:2;font-weight:400}#page .pt-page h3{font-weight:700}#page .menu-toggle{color:#0865d9!important}.lm-demo-panel,.lm-demo-panel-switcher{display:none!important}
@media(max-width:991px){#page .header{background:#fff!important}#page .hs-about{display:block}#page .hs-about>div{float:none}#page .hs-portrait{max-width:340px}#page .hs-intro{margin:18px auto}}
/* Final layout — independent of legacy page dimensions. */
html,body,#page{background:#edf5ff!important;color:#142744!important}#page{--accent:#075de8;--ink:#142744;--muted:#354c69;--line:#d5e5f7;--card:#fff}#page .site-main,#page .pt-wrapper,#page .subpages,#page .pt-page{background:transparent!important}#page .site-main{padding-top:0!important}#page .header{position:sticky!important;top:10px!important;right:auto!important;margin:10px auto 0!important;width:calc(100% - 48px)!important;max-width:1320px;height:auto!important;min-height:64px;background:#ffffffed!important;box-shadow:0 10px 35px #174b8a18!important;display:flex;align-items:center;gap:12px;padding:8px 22px!important;z-index:100}#page .site-nav{flex:1;margin:0!important}#page #nav{display:flex;justify-content:center;gap:8px;float:none!important}#page #nav li{float:none!important;margin:0!important}#page #nav li a{font-size:15px!important;font-weight:700!important;padding:10px 18px!important;color:#203a59!important}#page #nav li.active a{color:white!important;background:#075de8!important}#page .site-title{font-size:24px!important;font-weight:700!important}#page .pt-page .section-inner{padding:32px 32px 48px!important;max-width:1280px}#page #home{background:url('../images/hs-waves.webp') center top/cover no-repeat!important}#page .hs-hero{grid-template-columns:1.15fr 1fr;gap:45px;padding:12px 0 24px;min-height:0}#page .hs-copy h2{font-size:clamp(34px,4.2vw,60px)!important;line-height:1.45;font-weight:700!important;color:#142744!important;white-space:normal}#page .hs-copy h2 span{color:#075de8!important}#page .hs-kicker{font-size:21px!important;font-weight:700!important}#page .hs-role{font-size:20px!important;font-weight:700!important}#page .hs-intro{font-size:17px!important;color:#304763!important;line-height:2!important;margin:14px 0!important}#page .hs-admin{font-size:16px!important;color:#075de8!important;background:#ffffffaa!important;border:1px solid #075de8!important}#page .hs-actions a{font-size:15px!important;font-weight:700!important;padding:12px 24px!important}#page .hs-portrait{max-width:470px;padding:0!important;border-radius:48px 20px 48px 20px!important;background:linear-gradient(135deg,#36bdf7,#075de8)!important;box-shadow:0 20px 50px #075de82b!important;overflow:hidden}#page .hs-portrait img{width:100%;height:350px;max-height:none;object-fit:cover;object-position:center 25%;border-radius:0!important;mask-image:none!important}#page .hs-float{bottom:18px;left:15px;font-weight:700;font-size:14px;background:#fff!important;color:#075de8!important}#page .hs-features{gap:16px;margin:0!important}#page .hs-features article{padding:20px 12px!important;background:#ffffffed!important;box-shadow:0 12px 30px #174b8a14!important}#page .hs-features h3{font-size:19px!important}#page .hs-features p{font-size:14px!important;color:#354c69!important}#page .pt-page p{color:#354c69!important;font-size:16px;line-height:2!important}#page .block-title h3{font-size:22px!important}#page .hs-about>div{padding:14px!important}#page .hs-about .my-photo-block img{height:300px;object-fit:cover}#page #portfolio_grid figure[style*="display: none"]{display:none!important}#page .site-main{margin:0!important}#page .hs-roles{display:none}#page .section-title{font-weight:700!important}#page .service-block,#page .timeline-item,#page .testimonial-text{padding:20px!important}#page .mobile-header{display:none!important}
@media(max-width:991px){#page .header{display:flex!important;flex-wrap:wrap;position:relative!important;top:0!important;width:calc(100% - 24px)!important;padding:10px!important}#page .site-nav{flex-basis:100%}#page #nav{flex-wrap:wrap;gap:3px}#page #nav li a{font-size:13px!important;padding:7px 10px!important}#page .hs-hero{grid-template-columns:1fr;gap:22px}#page .hs-portrait{grid-row:1;max-width:360px}#page .hs-portrait img{height:300px}#page .pt-page .section-inner{padding:24px 16px 40px!important}#page .hs-copy h2{font-size:34px!important}#page .hs-role{font-size:16px!important}#page .hs-features{grid-template-columns:repeat(2,minmax(0,1fr))}#page #portfolio_grid figure{width:calc(50% - 8px)!important}}
