﻿/* Patine Osta | Home featured courses (V15) | UTF-8 | RTL */
.po-home .po-courses {background:#fff!important;margin-top:16px;padding-top:27px;padding-bottom:36px}
.po-home .po-courses, .po-home .po-courses * {box-sizing:border-box}
.po-home .po-course-section-head {display:flex;align-items:center;justify-content:space-between;gap:20px;direction:rtl;margin:0 0 20px}
.po-home .po-course-section-head h2 {margin:0!important;font-family:iranyekan,IRANSans,Tahoma,sans-serif!important;font-weight:800!important;font-size:24px!important;line-height:1.5!important;color:#1c2924!important}
.po-home .po-course-section-head>a {display:inline-flex;align-items:center;gap:7px;font-size:12px!important;font-weight:700!important;color:#2f7659!important;text-decoration:none!important;white-space:nowrap}
.po-home .po-course-section-head>a:hover {color:#174936!important}
.po-home .po-courses-feed {min-height:0!important}
.po-home .po-course-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;direction:rtl;align-items:stretch}
.po-home .po-course-card {display:flex;flex-direction:column;min-width:0;border:1px solid #e4e9e3;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 3px 14px rgba(26,60,42,.065);transition:transform .2s ease,box-shadow .2s ease}
.po-home .po-course-card:hover {transform:translateY(-3px);box-shadow:0 12px 26px rgba(24,61,43,.12)}
.po-home .po-course-cover {height:162px;flex:none;position:relative;background:#eeeee8;border-radius:9px 9px 0 0}
.po-home .po-course-photo-link {display:block;width:100%;height:100%;overflow:hidden;border-radius:9px 9px 0 0}
.po-home .po-course-photo-link img {display:block;width:100%!important;height:100%!important;object-fit:cover;object-position:center;transition:transform .3s ease}
.po-home .po-course-card:hover .po-course-photo-link img {transform:scale(1.035)}
.po-home .po-course-photo-fallback {display:block;width:100%;height:100%;background:linear-gradient(145deg,#dedbd2,#f1eee8)}
.po-home .po-course-level {position:absolute;z-index:2;right:9px;top:9px;padding:4px 12px;background:#43be84;color:#fff!important;font-family:iranyekan,IRANSans,Tahoma,sans-serif;font-size:11px;font-weight:700;line-height:1.5;border-radius:999px;box-shadow:0 2px 8px rgba(17,71,44,.12)}
.po-home .po-course-play {position:absolute;z-index:3;bottom:-15px;left:50%;transform:translateX(-50%);width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:#fff;color:#183e2f!important;border-radius:50%;border:1px solid #e6ece5;box-shadow:0 4px 12px rgba(0,0,0,.1);text-decoration:none!important}
.po-home .po-course-play svg {width:23px;height:23px}
.po-home .po-course-play:hover {color:#3aaa7b!important}
.po-home .po-course-content {display:flex;flex-direction:column;flex:1;min-width:0;align-items:center;text-align:center;padding:21px 11px 13px;font-family:iranyekan,IRANSans,Tahoma,sans-serif}
.po-home .po-course-title {margin:0!important;width:100%;min-height:26px;max-height:26px;overflow:hidden;font-size:14px!important;font-weight:800!important;line-height:1.8!important;color:#1b2f27!important;white-space:nowrap;text-overflow:ellipsis}
.po-home .po-course-title>a {color:inherit!important;text-decoration:none!important}
.po-home .po-course-title>a:hover {color:#2e8b62!important}
.po-home .po-course-description {display:block;width:100%;min-height:21px;max-height:21px;margin:2px 0 0!important;color:#89918b!important;font-weight:400;font-size:11px!important;line-height:1.8!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.po-home .po-course-meta {min-height:30px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;column-gap:15px;row-gap:4px;margin-top:1px;color:#667d70;font-size:11px;line-height:1.5;direction:rtl}
.po-home .po-course-meta>span {display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.po-home .po-course-meta svg {width:14px;height:14px;color:#337454}
.po-home .po-course-view {margin-top:auto;display:flex;align-items:center;justify-content:center;width:100%;min-height:37px;padding:7px 8px;background:#f6f9f4;color:#26543c!important;border:1px solid #c7d7c8;border-radius:6px;box-shadow:none;font-size:12px!important;font-weight:800!important;line-height:1.5;text-decoration:none!important;transition:background .2s,border-color .2s}
.po-home .po-course-view:hover {background:#e8f4ea;border-color:#74b48c;color:#164b34!important}
.po-home .po-course-play:focus-visible, .po-home .po-course-view:focus-visible,.po-home .po-course-title>a:focus-visible {outline:2px solid #3cad7a;outline-offset:2px}
.po-home .po-course-empty {border:1px dashed #d6e1d4;border-radius:10px;background:#fbfcf9;color:#7a877d;text-align:center;padding:34px 18px;font-size:13px}
@media(max-width:1150px) {.po-home .po-course-grid{gap:12px}.po-home .po-course-cover{height:146px}.po-home .po-course-title{font-size:13px!important}}
@media(max-width:850px) {.po-home .po-course-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.po-home .po-course-cover{height:180px}}
@media(max-width:530px) {.po-home .po-course-section-head h2{font-size:19px!important}.po-home .po-course-section-head>a{font-size:11px!important}.po-home .po-course-grid{gap:10px}.po-home .po-course-cover{height:125px}.po-home .po-course-card{border-radius:9px}.po-home .po-course-content{padding:20px 7px 9px}.po-home .po-course-title{font-size:12px!important}.po-home .po-course-description{font-size:10px!important}.po-home .po-course-meta{column-gap:7px;font-size:9px}.po-home .po-course-meta svg{width:12px;height:12px}.po-home .po-course-view{font-size:11px!important}}
@media(max-width:375px) {.po-home .po-course-grid{grid-template-columns:1fr}.po-home .po-course-cover{height:190px}}
