/*
Theme Name: Ezatimo Resume v2
Theme URI: https://ezatimo.ir
Author: Mohammad Ezzati
Description: قالب رزومه شخصی محمد عزتی — داده‌محور، مینیمال، فارسی
Version: 2.0.0
Text Domain: ezatimo
*/

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
body{font-family:'Vazirmatn',sans-serif;direction:rtl;background:#fff;color:#1a1a1a;line-height:1.6;}
a{color:#185FA5;text-decoration:none;}
a:hover{color:#0C447C;}
.ez-site{min-height:100vh;display:flex;flex-direction:column;}
.ez-wrap{max-width:680px;margin:0 auto;padding:2rem 1.25rem;width:100%;}
.ez-main{flex:1;}

/* Nav */
.ez-nav{display:flex;justify-content:space-between;align-items:center;max-width:680px;margin:0 auto;padding:1.2rem 1.25rem;border-bottom:0.5px solid #e0e0e0;}
.ez-nav-name{font-size:14px;font-weight:500;}
.ez-nav-links{display:flex;gap:18px;}
.ez-nav-links a{font-size:13px;color:#888;transition:color .15s;}
.ez-nav-links a:hover,.ez-nav-links a.active{color:#185FA5;border-bottom:1.5px solid #185FA5;padding-bottom:1px;}

/* Hero */
.ez-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px;padding-bottom:28px;border-bottom:0.5px solid #e0e0e0;}
.ez-hero-text{flex:1;}
.ez-hero-text h1{font-size:26px;font-weight:500;margin-bottom:6px;line-height:1.3;}
.ez-subtitle{font-size:14px;color:#666;margin-bottom:10px;}
.ez-bio{font-size:13px;color:#888;line-height:1.9;}
.ez-hero-img{width:110px;height:132px;border-radius:10px;background:#f5f5f5;border:0.5px solid #e0e0e0;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.ez-hero-img img{width:100%;height:100%;object-fit:cover;}
.ez-hero-img svg{width:38px;height:38px;opacity:.2;}

/* Sections */
.ez-section-label{font-size:11px;color:#aaa;letter-spacing:.06em;margin-bottom:12px;}
.ez-divider{border:none;border-top:0.5px solid #e0e0e0;margin:24px 0;}

/* Jobs */
.ez-job{border:0.5px solid #e0e0e0;border-radius:12px;margin-bottom:8px;overflow:hidden;transition:border-color .15s;}
.ez-job.open{border-color:#185FA5;}
.ez-job-header{display:flex;align-items:center;gap:12px;padding:13px 15px;cursor:pointer;user-select:none;}
.ez-job-year{font-size:11px;color:#aaa;min-width:34px;text-align:left;flex-shrink:0;}
.ez-job-dot{width:7px;height:7px;border-radius:50%;background:#ccc;flex-shrink:0;transition:background .15s;}
.ez-job.open .ez-job-dot{background:#185FA5;}
.ez-job-main{flex:1;}
.ez-job-title{font-size:14px;font-weight:500;}
.ez-job-company{font-size:12px;color:#888;margin-top:2px;}
.ez-job-chevron{font-size:11px;color:#aaa;transition:transform .2s;flex-shrink:0;}
.ez-job.open .ez-job-chevron{transform:rotate(180deg);}
.ez-job-body{display:none;padding:0 15px 15px;border-top:0.5px solid #e0e0e0;}
.ez-job.open .ez-job-body{display:block;}
.ez-job-desc{font-size:13px;color:#666;line-height:1.9;margin-top:12px;margin-bottom:12px;}
.ez-ach-label{font-size:11px;color:#aaa;margin-bottom:8px;}
.ez-achievement{display:flex;gap:8px;align-items:flex-start;margin-bottom:7px;}
.ez-ach-bullet{width:4px;height:4px;border-radius:50%;background:#185FA5;flex-shrink:0;margin-top:8px;}
.ez-ach-text{font-size:13px;color:#1a1a1a;line-height:1.7;}

/* Skills */
.ez-skills-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.ez-skill-card{border:0.5px solid #e0e0e0;border-radius:10px;padding:12px 14px;}
.ez-skill-card-title{font-size:12px;font-weight:500;margin-bottom:8px;}
.ez-skill-tags{display:flex;flex-wrap:wrap;gap:5px;}
.ez-skill-tag{font-size:11px;padding:3px 9px;border-radius:20px;background:#E6F1FB;color:#0C447C;border:0.5px solid #B5D4F4;}

/* Education */
.ez-edu-item{display:flex;gap:14px;align-items:flex-start;margin-bottom:14px;}
.ez-edu-year{font-size:11px;color:#aaa;min-width:38px;text-align:left;padding-top:2px;flex-shrink:0;}
.ez-edu-dot{width:7px;height:7px;border-radius:50%;background:#ccc;flex-shrink:0;margin-top:4px;}
.ez-edu-content h3{font-size:14px;font-weight:500;margin-bottom:2px;}
.ez-edu-content p{font-size:12px;color:#888;}

/* Contact */
.ez-contact-row{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:0.5px solid #e0e0e0;}
.ez-contact-label{font-size:13px;color:#888;}
.ez-contact-val{font-size:13px;color:#185FA5;}
.ez-form-title{font-size:13px;font-weight:500;margin-bottom:12px;margin-top:20px;}
.ez-field{margin-bottom:10px;}
.ez-field input,.ez-field textarea{width:100%;padding:9px 12px;font-family:'Vazirmatn',sans-serif;font-size:13px;border:0.5px solid #e0e0e0;border-radius:8px;background:#fafafa;color:#1a1a1a;outline:none;direction:rtl;resize:none;transition:border-color .15s;}
.ez-field input:focus,.ez-field textarea:focus{border-color:#185FA5;}
.ez-field textarea{height:90px;}
.ez-send-btn{width:100%;padding:10px;font-family:'Vazirmatn',sans-serif;font-size:13px;background:#185FA5;color:#fff;border:none;border-radius:8px;cursor:pointer;margin-top:4px;transition:background .15s;}
.ez-send-btn:hover{background:#0C447C;}
.ez-form-success{background:#E6F1FB;color:#0C447C;border:0.5px solid #B5D4F4;border-radius:8px;padding:10px 14px;font-size:13px;margin-top:16px;margin-bottom:8px;}

/* Blog */
.ez-blog-item{padding:14px 0;border-bottom:0.5px solid #e0e0e0;}
.ez-blog-item:last-child{border-bottom:none;}
.ez-blog-date{font-size:11px;color:#aaa;margin-bottom:4px;}
.ez-blog-title{font-size:14px;font-weight:500;color:#1a1a1a;margin-bottom:4px;transition:color .15s;}
.ez-blog-item:hover .ez-blog-title{color:#185FA5;}
.ez-blog-excerpt{font-size:13px;color:#888;line-height:1.7;}
.ez-article-header{margin-bottom:24px;padding-bottom:16px;border-bottom:0.5px solid #e0e0e0;}
.ez-article-header h1{font-size:22px;font-weight:500;margin-top:6px;}
.ez-article-content{font-size:14px;line-height:2;color:#333;}
.ez-article-content p{margin-bottom:1rem;}
.ez-article-content h2{font-size:18px;margin:1.5rem 0 .75rem;}
.ez-article-back{margin-top:32px;padding-top:16px;border-top:0.5px solid #e0e0e0;}

/* Footer */
.ez-footer{text-align:center;padding:1.5rem;font-size:12px;color:#aaa;border-top:0.5px solid #e0e0e0;margin-top:3rem;}

/* Responsive */
@media(max-width:600px){
  .ez-hero{flex-direction:column-reverse;align-items:flex-start;}
  .ez-hero-img{width:80px;height:96px;}
  .ez-hero-text h1{font-size:22px;}
  .ez-skills-grid{grid-template-columns:1fr;}
}
