/*
Theme Name: IrisMed Academy
Theme URI: https://irismed.ir
Author: IrisMed
Description: Lightweight Persian RTL academy theme for Tutor LMS and WooCommerce.
Version: 1.3.9
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: irismed
*/
@font-face{font-family:Vazirmatn;src:url(assets/Vazirmatn.woff2) format('woff2');font-weight:100 900;font-display:swap}
.course-cover.course-cover-original{display:block;aspect-ratio:728/485}
.course-cover.course-cover-original img{width:100%;height:100%;object-fit:cover}
:root{--ink:#203c46;--muted:#667b83;--blue:#126c92;--light:#eef7fb;--green:#edf6ef;--line:#dee8ec;--white:#fff;--radius:8px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:#fff;color:var(--ink);font-family:Vazirmatn,Tahoma,sans-serif;font-size:15px;line-height:1.95;letter-spacing:0}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button{cursor:pointer}img{max-width:100%;height:auto;display:block}h1,h2,h3,h4{line-height:1.6;font-weight:700;margin:0 0 16px;letter-spacing:0}h1{font-size:38px}h2{font-size:26px}h3{font-size:19px}p{margin:0 0 18px}.wrap{width:min(1180px,calc(100% - 48px));margin:auto}.section{padding:64px 0}.soft{background:var(--light)}.health{background:var(--green)}.muted{color:var(--muted)}.eyebrow{font-size:13px;font-weight:600;color:var(--blue);margin-bottom:12px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}.section-head h2{margin:0}.section-head a{color:var(--blue);font-size:14px}.btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:10px 24px;border-radius:6px;border:1px solid var(--blue);background:var(--blue);color:white;font-weight:600;line-height:1.7;text-align:center}.btn:hover{background:#0e5776;color:white}.btn.secondary{background:white;color:var(--blue);border-color:#c9dce5}.btn.small{min-height:38px;padding:6px 16px;font-size:13px}.btn:disabled{opacity:.6;cursor:wait}.actions{display:flex;flex-wrap:wrap;gap:12px}.site-header{background:white;border-bottom:1px solid var(--line);position:relative;z-index:10}.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;gap:10px;align-items:center;flex-shrink:0;line-height:1.5}.brand-mark{width:38px;height:38px;border:2px solid #69a5bc;border-radius:50%;display:grid;place-items:center;color:var(--blue);font-size:23px;font-weight:700}.brand strong{display:block;font-size:23px}.brand small{font-size:10px;color:var(--muted)}.main-nav{display:flex;gap:20px;align-items:center;font-size:13px}.main-nav a{white-space:nowrap}.main-nav a:hover{color:var(--blue)}.menu-toggle{display:none;background:none;border:1px solid var(--line);width:42px;height:42px;border-radius:6px;font-size:22px}.skip{position:absolute;top:-100px;right:0;background:white;padding:12px;z-index:20}.skip:focus{top:0}.hero{min-height:500px;position:relative;display:flex;align-items:center;background:#f3f7f6;overflow:hidden}.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(270deg,rgba(247,251,252,.99) 0%,rgba(247,251,252,.95) 35%,rgba(247,251,252,.12) 78%)}.hero-content{position:relative;z-index:1;padding:56px 0;max-width:620px}.hero h1{font-size:44px;line-height:1.7;max-width:600px}.hero p{max-width:490px;color:#536c76;font-size:16px}.hero-footer{display:flex;gap:26px;margin-top:32px;font-size:12px;color:#526e77}.hero-footer span{display:flex;align-items:center;gap:8px}.hero-footer span:before{content:'✓';color:#4e8a6c}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.course-card{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white;display:flex;flex-direction:column}.course-cover{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--light)}.course-cover img{width:100%;height:100%;object-fit:cover}.tag{display:inline-block;background:var(--light);color:var(--blue);border-radius:4px;padding:3px 10px;font-size:11px}.course-cover .tag{position:absolute;right:16px;top:16px;background:white}.course-body{padding:22px;display:flex;flex-direction:column;flex:1}.course-body h3{margin-bottom:8px}.course-body .teacher{font-size:13px;color:var(--muted);margin-bottom:22px}.course-bottom{border-top:1px solid var(--line);padding-top:16px;margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px}.price{font-size:17px;font-weight:700;white-space:nowrap}.price small{font-weight:400;font-size:11px}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.category-item{padding:22px 0;display:flex;gap:18px;align-items:center;border-bottom:1px solid #cfdfe7}.category-symbol{width:48px;height:48px;background:white;border-radius:6px;display:grid;place-items:center;color:var(--blue);font-size:22px}.category-item h3{font-size:17px;margin:0}.category-item p{font-size:12px;margin:0;color:var(--muted)}.teacher-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}.teacher-item{display:flex;gap:24px;align-items:center;border-bottom:1px solid var(--line);padding:20px 0}.teacher-portrait{width:100px;height:110px;object-fit:cover;background:var(--light);border-radius:6px;display:grid;place-items:center;font-size:32px;color:var(--blue);flex-shrink:0}.teacher-item h3{margin:0 0 8px}.teacher-item p{font-size:13px;color:var(--muted);margin:0 0 8px}.teacher-item a{font-size:13px;color:var(--blue)}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}.benefit h3{font-size:16px;margin-bottom:8px}.benefit p{font-size:13px;color:var(--muted);margin:0}.benefit-number{font-size:12px;color:var(--blue);margin-bottom:12px;display:block}.service-band{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}.service-band img{aspect-ratio:4/3;width:100%;object-fit:cover;border-radius:6px}.service-band p{color:var(--muted)}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.article-item img{aspect-ratio:16/10;object-fit:cover;width:100%;border-radius:6px;margin-bottom:18px}.article-item h3{font-size:18px}.article-item p{font-size:13px;color:var(--muted)}.empty{border:1px dashed #c5d8df;border-radius:6px;padding:28px;text-align:center;color:var(--muted)}.faq{max-width:850px;margin:auto}details{border-bottom:1px solid var(--line);padding:18px 0}summary{font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}summary:after{content:'+';color:var(--blue);font-size:22px}details[open] summary:after{content:'−'}details p{font-size:14px;color:var(--muted);margin:14px 0 0}.footer{background:#f4f8fa;border-top:1px solid var(--line);padding:48px 0 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:48px}.footer h3{font-size:15px}.footer p,.footer a{font-size:13px;color:var(--muted)}.footer-links{display:grid;gap:8px}.footer-bottom{border-top:1px solid var(--line);padding:20px 0;margin-top:36px;display:flex;justify-content:space-between;font-size:11px;color:var(--muted);gap:20px}.page-header{padding:44px 0;background:var(--light);margin-bottom:40px}.page-header h1{font-size:30px;margin-bottom:6px}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:16px}.content{max-width:850px;margin:auto}.content-wide{padding-bottom:60px}.content a:not(.btn){color:var(--blue)}.content ul{padding-right:22px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.filters a{border:1px solid var(--line);padding:8px 16px;border-radius:5px;font-size:13px}.filters a.active{background:var(--blue);color:white}.form-shell{max-width:820px;margin:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-field{display:flex;flex-direction:column;gap:7px}.form-field.full{grid-column:1/-1}.form-field label{font-size:13px;font-weight:600}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;border:1px solid #c7d8df;border-radius:5px;padding:10px 12px;background:white;color:var(--ink);min-height:46px}textarea{resize:vertical;min-height:110px}input[type=checkbox],input[type=radio]{accent-color:var(--blue)}:focus-visible{outline:3px solid #8dc2d6;outline-offset:3px}.notice{padding:16px 20px;background:var(--light);border-right:3px solid var(--blue);font-size:13px;margin-bottom:24px}.notice.error{background:#fff2f2;border-color:#b33b3b}.notice.success{background:var(--green);border-color:#51866a}.consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;margin:24px 0}.honeypot{position:absolute;left:-9999px}.quiz-progress{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin-bottom:16px}.quiz-options{display:grid;gap:12px;margin:24px 0}.quiz-options label{display:flex;gap:12px;border:1px solid var(--line);padding:14px;border-radius:6px;cursor:pointer}.quiz-options label:has(input:checked){background:var(--light);border-color:var(--blue)}.quiz-actions{display:flex;justify-content:space-between;gap:12px}.quiz-result{padding:28px;background:var(--green);margin-bottom:24px}.quiz-result h2{font-size:24px}.course-layout{display:grid;grid-template-columns:1fr 340px;gap:40px}.purchase-box{border:1px solid var(--line);padding:24px;border-radius:8px;position:sticky;top:24px;align-self:start}.purchase-box .btn{width:100%;margin-top:20px}.course-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:28px 0;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px}.course-facts b{display:block;margin-top:6px}.woocommerce,.tutor-wrap{font-family:inherit}.tutor-wrap .tutor-btn-primary{background:var(--blue);border-color:var(--blue)}.tutor-dashboard{margin:32px 0}.entry-content{overflow-wrap:anywhere}.entry-content img{border-radius:6px}.pagination{display:flex;gap:12px;padding-top:24px}.woocommerce table.shop_table{border-color:var(--line)}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.ir-medical-note{font-size:12px;color:var(--muted);margin-top:24px}
.student-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:36px}.student-nav{display:flex;flex-direction:column;align-self:start;border-left:1px solid var(--line);padding-left:20px;gap:4px}.student-nav a{padding:10px 14px;border-radius:4px}.student-nav a.active{background:var(--light);color:var(--blue);font-weight:700}.student-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.student-course{border:1px solid var(--line);border-radius:8px;overflow:hidden}.student-course>img{width:100%;aspect-ratio:16/9;object-fit:cover}.student-course>div{padding:20px}.student-course progress{display:block;width:100%;height:8px;accent-color:var(--blue);margin-top:10px}.student-course label,.student-course p{font-size:13px}.student-items{list-style:none;padding:0}.student-items li{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding:16px 0}.student-items span{color:var(--muted);font-size:13px}.table-scroll{overflow:auto}.table-scroll table{width:100%;border-collapse:collapse}.table-scroll td,.table-scroll th{padding:12px;border-bottom:1px solid var(--line);text-align:right}@media(max-width:700px){.student-layout{grid-template-columns:1fr;gap:24px}.student-nav{border-left:0;border-bottom:1px solid var(--line);padding:0 0 16px;flex-direction:row;flex-wrap:wrap;gap:4px}.student-nav a{font-size:13px;padding:8px 10px}.student-course-grid{grid-template-columns:1fr}.student-items li{flex-direction:column;gap:4px}}
.brand-logo{width:58px;height:58px;object-fit:contain;flex-shrink:0}.brand small{font-size:11px}.social-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.social-links a{display:inline-flex;gap:8px;align-items:center;font-size:12px;padding:6px 0}.social-links img{width:22px;height:22px;object-fit:contain}.course-cover .discount-badge{position:absolute;top:14px;left:14px;z-index:2}.discount-badge{display:inline-block;background:#e6f4ec;color:#236646;border:1px solid #c3e2cf;border-radius:4px;padding:4px 10px;font-size:12px;font-weight:700;white-space:nowrap}.price del,.tutor-course-price del{display:block;color:var(--muted);font-size:12px;font-weight:400;text-decoration:line-through;opacity:.85}.price ins,.tutor-course-price ins{font-weight:800;color:var(--ink);text-decoration:none}.price-wrap{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.access-page{min-height:100vh;background:#f1f8fb}.access-content{width:min(480px,calc(100% - 40px));margin:0 auto;padding:64px 0}.access-brand{display:flex;align-items:center;flex-direction:column;gap:8px;margin-bottom:36px;text-align:center}.access-brand img{width:90px;height:90px;object-fit:contain}.access-brand strong{font-size:28px}.access-brand span{font-size:14px;color:var(--muted)}.access-content h1{font-size:25px;text-align:center}.access-content>p{text-align:center;color:var(--muted)}.access-content .form-field{margin-bottom:18px}.access-content .btn{width:100%}.access-privacy{margin-top:24px;font-size:12px}.access-content .social-links{justify-content:center}.honeypot{position:absolute;left:auto;right:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:600px){.brand-logo{width:44px;height:44px}.brand small{font-size:9px}.access-content{padding:32px 0}.access-content h1{font-size:23px}}
.course-body .course-availability{align-self:flex-start;margin:0 0 18px;padding:3px 10px;border:1px solid #c9dce5;border-radius:4px;background:#edf7fb;color:#16536a;font-size:12px;font-weight:600;white-space:normal}
@media(max-width:1100px){.main-nav{gap:12px;font-size:12px}.header-inner{gap:16px}.brand strong{font-size:20px}.header-inner>.btn{padding:9px 14px;font-size:12px}}
@media(max-width:900px){.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:88px;left:0;right:0;background:white;padding:24px;box-shadow:0 12px 18px #203c4610;border-bottom:1px solid var(--line);flex-wrap:wrap;font-size:14px}.main-nav.is-open{display:flex}.header-inner>.btn{margin-right:auto}.hero h1{font-size:36px;max-width:500px}.hero:after{background:linear-gradient(270deg,#f7fbfcfa 5%,#f7fbfce8 50%,#f7fbfc55)}.course-grid{grid-template-columns:repeat(2,1fr)}.benefits{grid-template-columns:repeat(2,1fr)}.service-band{gap:32px}.footer-grid{grid-template-columns:2fr 1fr;gap:28px}.course-layout{grid-template-columns:1fr 290px;gap:24px}}
@media(max-width:600px){.wrap{width:calc(100% - 32px)}.header-inner{min-height:76px;gap:10px}.main-nav{top:76px}.brand small{font-size:9px}.brand strong{font-size:18px}.brand-mark{width:30px;height:30px;font-size:18px}.header-inner>.btn{font-size:11px;min-height:38px;padding:7px 10px}.menu-toggle{width:36px;height:38px}.hero{min-height:470px}.hero h1{font-size:30px;max-width:330px}.hero p{font-size:14px;max-width:340px}.hero-content{padding:38px 0}.hero:after{background:#f7fbfcea}.hero-footer{gap:12px;flex-wrap:wrap;font-size:11px}.section{padding:40px 0}h2{font-size:23px}.section-head{align-items:flex-start}.section-head a{font-size:12px}.course-grid,.category-grid,.teacher-grid,.article-grid,.service-band,.course-layout{grid-template-columns:1fr}.course-body{padding:20px}.category-grid{gap:0}.teacher-grid{gap:8px}.benefits{gap:24px 18px}.benefit h3{font-size:15px}.service-band{gap:24px}.service-band img{max-height:260px}.footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:6px}.page-header{padding:28px 0;margin-bottom:28px}.page-header h1{font-size:26px}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.purchase-box{position:static}.course-facts{grid-template-columns:repeat(2,1fr)}.teacher-portrait{width:80px;height:90px}.teacher-item{gap:18px}.actions .btn{padding:10px 18px;font-size:13px}.content-wide{padding-bottom:40px}}
