/*
Theme Name: Kicker Child
Template: kicker
Theme URI: http://kicker.axiomthemes.com/
Description: Kicker is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: AxiomThemes
Author URI: http://axiomthemes.com/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
html, body, div, span, applet, object, iframe, video, audio,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, input, textarea, button,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, address, section, .sc_item_subtitle {
  font-family: iransans !important;
 }

 @font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: bold;
	src: url('fonts/iransans/eot/IRANSansWeb(FaNum)_Bold.eot');
	src: url('fonts/iransans/eot/IRANSansWeb(FaNum)_Bold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('fonts/iransans/woff2/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('fonts/iransans/woff/IRANSansWeb(FaNum)_Bold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('fonts/iransans/ttf/IRANSansWeb(FaNum)_Bold.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 500;
	src: url('fonts/iransans/eot/IRANSansWeb(FaNum)_Medium.eot');
	src: url('fonts/iransans/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('fonts/iransans/woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('fonts/iransans/woff/IRANSansWeb(FaNum)_Medium.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('fonts/iransans/ttf/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 300;
	src: url('fonts/iransans/eot/IRANSansWeb(FaNum)_Light.eot');
	src: url('fonts/iransans/eot/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('fonts/iransans/woff2/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('fonts/iransans/woff/IRANSansWeb(FaNum)_Light.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('fonts/iransans/ttf/IRANSansWeb(FaNum)_Light.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: 200;
	src: url('fonts/iransans/eot/IRANSansWeb(FaNum)_UltraLight.eot');
	src: url('fonts/iransans/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('fonts/iransans/woff2/IRANSansWeb(FaNum)_UltraLight.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('fonts/iransans/woff/IRANSansWeb(FaNum)_UltraLight.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('fonts/iransans/ttf/IRANSansWeb(FaNum)_UltraLight.ttf') format('truetype');
}
@font-face {
	font-family: IRANSans;
	font-style: normal;
	font-weight: normal;
	src: url('fonts/iransans/eot/IRANSansWeb(FaNum).eot');
	src: url('fonts/iransans/eot/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('fonts/iransans/woff2/IRANSansWeb(FaNum).woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('fonts/iransans/woff/IRANSansWeb(FaNum).woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('fonts/iransans/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
}
.teacher-profile-container {

    max-width: 1200px !important;
    margin: 0 auto !important;
    font-family: Arial, sans-serif !important;
    line-height: 1.6 !important;
    color: #747474 !important;
}

/* General layout sections */
.teacher-header, 
.teacher-videos, 
.teacher-details, 
.teacher-bottom {
    display: flex !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}

/* Details box style */
.details-box {
    flex: 1 !important;
    padding: 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    background: #fff !important;
}

/* Specific styles for teacher image */
.teacher-image {
    max-width: 350px !important; /* Full size for desktop */
    text-align: center !important;
}

.teacher-image div {
    width: 350px !important;
    height: 350px !important;
    overflow: hidden !important;
    border-radius: 20% !important;
    margin: 0 auto !important;
}

.teacher-image img {
    width: 100% !important;
    object-fit: cover !important;
}

/* Videos adjustments for web */
.teacher-videos div {
    flex: 1 !important;
    aspect-ratio: 16/9 !important; /* Maintain 16:9 ratio */
    background: #f0f0f0 !important;
    border-radius: 10px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Responsive styles for mobile devices */
@media (max-width: 768px) {
    .teacher-header, 
    .teacher-videos, 
    .teacher-details, 
    .teacher-bottom {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .details-box {
        width: 100% !important;
    }

    .teacher-image {
        max-width: 250px !important; /* Smaller size for mobile */
    }

    .teacher-image div {
        width: 250px !important; /* Match the container size */
        height: 250px !important;
    }

    .teacher-image img {
        width: 100% !important; /* Ensure the image scales properly */
        height: auto !important;
    }

    .top-section, 
    .middle-section {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .additional-details > div {
        flex: 1 1 100% !important;
        margin-bottom: 15px !important;
    }

    .teaching-methods {
        flex-direction: column !important;
        gap: 15px !important;
    }
}

/* Content width adjustment */
.content {
    width: 100% !important; /* Set content width to 100% of parent */
    max-width: 1200px !important; /* Max width of the container */
    margin: 0 auto !important; /* Center the content */
}
/* ✅ استایل موبایل مخصوص تصویر مربی */
@media (max-width: 768px) {
  .teacher-image {
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .teacher-image > div {
    width: 80% !important;
    max-width: 260px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    border-radius: 20px !important;
  }

  .teacher-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 20px !important;
  }

  .teacher-image h2,
  .teacher-image p {
    text-align: center !important;
  }
}

.teaching-methods div {
    background: #fff; /* بک‌گراند سفید */
    border: 1px solid #ddd; /* حاشیه ظریف */
    border-radius: 10px; /* گوشه‌های گرد */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* سایه ملایم */
    padding: 20px; /* فاصله داخلی */
    transition: all 0.3s ease; /* افکت ملایم هنگام تغییر */
}

.teaching-methods div:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* افزایش سایه هنگام هاور */
}

.videos {
    margin-top: 50px; /* تنظیم فاصله از بالا */
    
}
.videos div, 
.videos div img, 
.videos div iframe {
    border-radius: 10px !important;
    overflow: hidden !important;
}

div[style*="border-bottom: 1px solid #ddd"] p {
        margin: 10px 0 !important; /* کاهش فاصله بالا و پایین خطوط */
}
.search-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #007bff; /* رنگ پس زمینه */
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0; /* فاصله از سایر بخش‌ها */
}

.search-box form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 800px;
}

.teachers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.teacher-card {
    flex: 0 0 calc(16.66% - 20px); /* عرض هر کارت */
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
    background: #fff;
    transition: transform 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.teacher-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view-profile {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.view-profile:hover {
    background: #555;
}
.teacher-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  margin: 32px auto 0 auto;
  max-width: 1300px;
}

@media (max-width: 1200px) {
  .teacher-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 900px) {
  .teacher-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .teacher-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}
.teacher-card {
  /* می‌توانید سایز و سایر جزئیات کارت را اینجا به دلخواه تنظیم کنید */
  min-width: 0; /* برای شکسته نشدن ریسپانسیو */
}
.teacher-name {
  font-weight: bold;
  font-size: 16px;
  margin-top: 10px;
  color: #333;
}
.teacher-link {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.teacher-link:hover {
  background-color: #0056b3;
}

.teacher-instrument {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em;
  max-height: 3em;
  position: relative;
  cursor: default;
  color: #444;
  font-size: 14px;
  margin-top: 6px;
  padding: 0 6px;
  text-align: center;
  white-space: normal !important;
}

.teacher-instrument:hover::after {
  content: attr(title);
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border: 1px solid #bbb;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  white-space: pre-line;
  font-size: 13px;
  z-index: 10;
  min-width: 200px;
  max-width: 300px;
  direction: rtl;
}
.teacher-link {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 130px;
  text-align: center;
}

.teacher-link:hover {
  background-color: #0056b3;
}
.teacher-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.teacher-link {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 14px;
}

.teacher-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.teacher-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.teacher-filters input,
.teacher-filters select {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  min-width: 200px;
  transition: all 0.3s ease-in-out;
}

.teacher-filters input:focus,
.teacher-filters select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
  outline: none;
}

@media screen and (max-width: 768px) {
  .teacher-filters {
    flex-direction: column;
    align-items: stretch;
  }
}
.teacher-class-box {
  width: 100%;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.08);
  box-sizing: border-box;
  clear: both;
}

.teacher-class-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #222;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.teacher-class-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.teacher-class-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #ddd;
}

.teacher-class-list li:last-child {
  border-bottom: none;
}

.class-name {
  font-size: 15px;
  color: #444;
  font-weight: bold;
}

.class-btn {
  background-color: #ffa600;
  color: #fff;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.3s;
}

.class-btn:hover {
  background-color: #ff8500;
}

@media (max-width: 768px) {
  .teacher-class-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .class-btn {
    align-self: flex-start;
  }
}
.dashboard-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.dashboard-form h2 {
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
  color: #333;
}

.dashboard-form .form-group {
  margin-bottom: 20px;
}

.dashboard-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #444;
}

.dashboard-form input,
.dashboard-form select,
.dashboard-form textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  transition: all 0.3s ease;
}

.dashboard-form input::placeholder {
  color: #aaa;
  font-size: 14px;
}

.dashboard-form input:disabled {
  background-color: #f3f3f3;
  color: #888;
}

.dashboard-form small {
  display: block;
  margin-top: 5px;
  color: #999;
  font-size: 13px;
}

.dashboard-form .form-actions {
  margin-top: 30px;
  text-align: center;
}

.dashboard-form button {
  padding: 12px 30px;
  font-size: 16px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}
/* ✅ نوار زرد راهنما */
.info-box {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 14px;
  color: #333;
  margin-bottom: 25px;
}

/* ✅ چک‌باکس‌ها + متن همراه */

.checkbox-group label {
  font-weight: normal !important;
  font-size: 14px !important;
  color: #333;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.dashboard-form .checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #f5b400;
  margin-top: 3px;
}

/* ✅ دکمه زرد هنرآموز */
.dashboard-form .form-actions button {
  background-color: #f5b400;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  padding: 14px 40px;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.dashboard-form .form-actions button:hover {
  background-color: #e0a800;
  transform: scale(1.03);
}

/* ✅ ستاره قرمز کنار لیبل‌ها */

label.required {
  font-weight: bold;
  position: relative;
  display: inline-block;
}

label.required::after {
  content: '\0020\002A'; /* فاصله + علامت * */
  color: red;
  font-size: 18px;
  font-weight: bold;
  margin-right: 3px;
  display: inline-block;
}
.teacher-image-wrapper {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.teacher-image-box {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.teacher-avatar-fixed {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}
/* 📍 تصحیح اندازه تصویر پروفایل معلم */
.single-teacher .teacher-image-wrapper {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 auto;
}

.single-teacher .teacher-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 20px;
    display: block;
}
@media (max-width: 768px) {
  .top-section {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .top-section .teacher-image {
    max-width: 100% !important;
  }

  .top-section .videos {
    flex-direction: column;
  }
}
.teacher-image div div:hover {
  filter: brightness(1.05);
  transition: all 0.3s ease-in-out;
}


