:root{
  --main-100: #0C2248;
  --main-80: #003CA0;
  --main-60: #006EFF;
  --main-40: #0064DC;
  --main-20: #E3EDF7;
  --mark: #FFBB00;
  --basic-60: #6E6E86;
  --basic-40: #CCCCDB;
  --bg: #F4F6F9;
}
.h1-new {
  /*font-family: "Golos Text SemiBold";*/
  font-size: 48px;
  font-weight: 600;
  line-height: 46px;
}
.h2-new {
  /*font-family: "Golos Text SemiBold";*/
  font-size: 36px;
  font-weight: 600;
  line-height: 40px;
}
.h3-new {
  /*font-family: "Golos Text SemiBold";*/
  font-size: 32px;
  font-weight: 600;
  line-height: 38px;
}
.h4-new {
  /*font-family: "Golos Text SemiBold";*/
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}
.h5-new {
  /*font-family: "Golos Text SemiBold";*/
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}
.h6-new {
  /*font-family: "Golos Text SemiBold";*/
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.t1-new {
  /*font-family: "Golos Text Medium";*/
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}
.t2-new {
  /*font-family: "Golos Text Regular";*/
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
.t3-new {
  /*font-family: "Golos Text Regular";*/
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}
.header-st, .header-st-entry {
  width: 100%;
  height: 100%;
  min-height: 560px;
  position: relative;
  z-index: 2;
  top: 0;
  /*margin-bottom: 200px;*/
}

.header-buttons {
  padding: 12px 0px 12px 28px;
  gap: 10px;
  border-radius: 6px;
  width: max-content;

}
.header-buttons-s {
  background: #FFFFFF4D;
  box-shadow: 0px 4px 10px 0px #454d5bbf;
}
.header-buttons-s:hover {
  background: #F4F6F9 !important;
  color: var(--main-80);
}

.me-auto{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 14px;
  margin: 0;
  margin-top: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(6px);
}
.me-auto > li{
  list-style: none;
  flex: 1 1 220px;
}
.me-auto > li .nav-link,
.me-auto > li > a.dropdown-item{
  display: inline-flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #f4f7ff;
  background: rgba(12, 34, 72, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: normal;
  min-height: 52px;
}
.me-auto > li .nav-link:hover,
.me-auto > li .nav-link:focus,
.me-auto > li > a.dropdown-item:hover,
.me-auto > li > a.dropdown-item:focus{
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.me-auto > li .nav-link i,
.me-auto > li > a.dropdown-item i{
  color: currentColor;
  opacity: 0.9;
}
.me-auto .dropdown.ms-3{
  margin-left: 0 !important;
}
.me-auto .header-user-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #f4f7ff;
  backdrop-filter: blur(6px);
}
.me-auto .header-user-btn:hover,
.me-auto .header-user-btn:focus,
.me-auto .header-user-btn:active{
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}
.me-auto .dropdown-menu{
  border-radius: 12px;
  border: 1px solid var(--main-20);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.me-auto .dropdown-menu .dropdown-item{
  color: var(--main-100);
  font-weight: 500;
  border-radius: 8px;
}
.me-auto .dropdown-menu .dropdown-item:hover,
.me-auto .dropdown-menu .dropdown-item:focus{
  background: var(--main-20);
  color: var(--main-80);
}
@media (max-width: 992px){
  .me-auto{
    padding: 10px 12px;
    gap: 10px;
  }
  .me-auto > li{
    flex: 1 1 100%;
  }
  .me-auto > li .nav-link,
  .me-auto > li > a.dropdown-item,
  .me-auto .header-user-btn{
    min-height: unset;
  }
}
#slider-carousel .portal-carousel-inner{
  border-radius: 0;
  overflow: hidden;
}
#slider-carousel .portal-carousel-control{
  width: 80px;
  height: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12, 34, 72, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  opacity: 1;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  margin: 0 18px;
}
#slider-carousel .portal-carousel-control:hover{
  background: rgba(12, 34, 72, 0.75);
  border-color: rgba(255, 255, 255, 0.65);
}
#slider-carousel .carousel-control-next{
  right: 50px;
}
#slider-carousel .carousel-control-prev{
  left: 50px;
}
#slider-carousel .portal-carousel-control .carousel-control-prev-icon,
#slider-carousel .portal-carousel-control .carousel-control-next-icon{
  /*filter: invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));*/
}
#slider-carousel .portal-carousel-caption{
  text-align: left;
  left: 8%;
  right: auto;
  bottom: 16%;
}
#slider-carousel .portal-carousel-caption__body{
  background: linear-gradient(120deg, rgba(12, 34, 72, 0.78), rgba(0, 60, 160, 0.62));
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(4px);
  max-width: 740px;
}
#slider-carousel .portal-carousel-caption h3{
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
#slider-carousel .portal-carousel-caption p{
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 0;
  color: #f0f4ff;
}
#slider-carousel .carousel-indicators [data-bs-target]{
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(12, 34, 72, 0.35);
}
#slider-carousel .carousel-indicators .active{
  background-color: var(--mark);
  border-color: rgba(255, 255, 255, 0.8);
}
/* Dashboards list */
.dashboard-table{
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.dashboard-table .list-group{
  display: grid;
  gap: 12px;
}
.dashboard-table .list-group-item{
  padding: 0;
  border: none;
  background: transparent;
}
.dashboard-table ul,
.dashboard-table ol{
  margin: 0;
  padding: 0;
  list-style: none;
}
.dashboard-table li{
  margin: 0;
}
.dashboard-table a,
.dashboard-table .dashboard-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--main-20);
  background: #fff;
  color: var(--main-100);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.dashboard-table a:hover,
.dashboard-table .dashboard-card:hover{
  border-color: var(--main-40);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.dashboard-table a .dash-title,
.dashboard-table .dashboard-card .dash-title{
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
}
.dashboard-table a .dash-desc,
.dashboard-table .dashboard-card .dash-desc{
  color: var(--basic-60);
  font-size: 14px;
  line-height: 1.4;
}
.dashboard-table a .dash-meta,
.dashboard-table .dashboard-card .dash-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--basic-60);
  font-size: 13px;
}
.dashboard-table a .dash-arrow,
.dashboard-table .dashboard-card .dash-arrow{
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--main-20);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--main-80);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.dashboard-table a:hover .dash-arrow,
.dashboard-table .dashboard-card:hover .dash-arrow{
  background: var(--main-80);
  color: #fff;
  border-color: var(--main-80);
}
@media (max-width: 768px){
  .dashboard-table a,
  .dashboard-table .dashboard-card{
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-table a .dash-arrow,
  .dashboard-table .dashboard-card .dash-arrow{
    align-self: flex-end;
  }
}
.teacher-grid{
  margin-top: 16px;
  row-gap: 18px;
}
.teacher-card .card{
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0, 60, 160, 0.08);
}
.teacher-card .card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
  border-color: rgba(0, 60, 160, 0.18);
}
.teacher-toggle{
  width: 100%;
  border: none;
  background: linear-gradient(135deg, rgba(12, 34, 72, 0.08), rgba(0, 60, 160, 0.06));
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  text-align: left;
}
.teacher-toggle:focus{
  outline: 2px solid var(--main-40);
  outline-offset: 2px;
}
.teacher-avatar{
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--main-20);
  display: flex;
  align-items: center;
  justify-content: center;
}
.teacher-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-placeholder{
  font-weight: 700;
  color: var(--main-100);
}
.teacher-meta{
  min-width: 0;
}
.teacher-name{
  font-weight: 700;
  font-size: 18px;
  color: var(--main-100);
  line-height: 1.2;
  word-break: break-word;
}
.teacher-role{
  color: var(--basic-60);
  font-size: 14px;
  margin-top: 4px;
}
.teacher-arrow{
  color: var(--main-80);
  font-size: 20px;
  transition: transform 0.2s ease;
}
.accordion-button:not(.collapsed) .teacher-arrow,
.teacher-toggle:not(.collapsed) .teacher-arrow{
  transform: rotate(180deg);
}
.accordion-button.teacher-toggle:after{
  display: none;
}
.teacher-details{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 18px;
  margin: 8px 0 14px;
}
.teacher-details dt{
  font-weight: 700;
  color: var(--main-100);
  margin: 0;
}
.teacher-details dd{
  margin: 0;
  color: var(--basic-60);
}
.teacher-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.teacher-action-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--main-20);
  background: var(--bg);
  color: var(--main-80);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.teacher-action-btn:hover{
  background: var(--main-80);
  border-color: var(--main-80);
  color: #fff;
}
.teacher-action-btn.disabled{
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
@media (max-width: 576px){
  .teacher-toggle{
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .teacher-arrow{
    justify-self: end;
    grid-column: 2 / 3;
  }
  .teacher-details{
    grid-template-columns: 1fr;
  }
}
.discussion-wrapper{
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 0 32px;
}
.discussion-header{
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.discussion-photo{
  width: min(360px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid rgba(0, 60, 160, 0.08);
}
.discussion-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.discussion-info{
  flex: 1;
  min-width: 280px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border: 1px solid rgba(0, 60, 160, 0.08);
}
.discussion-info h1{
  font-size: 26px;
  margin: 0 0 6px;
  line-height: 1.2;
}
.discussion-info .school{
  color: var(--basic-60);
  margin-bottom: 16px;
}
.discussion-details{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 18px;
}
.discussion-details dt{
  font-weight: 700;
  color: var(--main-100);
}
.discussion-details dd{
  margin: 0;
  color: var(--basic-60);
}
.discussion-actions{
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-opinion{
  border-radius: 10px;
  padding: 10px 14px;
}
.comments-block{
  margin-top: 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border: 1px solid rgba(0, 60, 160, 0.08);
  padding: 20px 24px;
}
.teacher-form textarea {
  height: 120px;
}
.teacher-form .error-message {
  font-size: 0.9em;
  color: rgba(255, 0, 0, .8);
  min-height: 18px;
  line-height: 1.4;
}
.teacher-comment {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 60, 160, 0.08);
  background: #f8fbff;
}
.teacher-comment.positive { background-color: rgba(0, 128, 0, .08); }
.teacher-comment.negative { background-color: rgba(255, 0, 0, .08); }
.teacher-comment.deleted { background-color: rgba(221, 221, 221, 0.3); }
.teacher-comment.deleted .teacher-comment-body { opacity: .5; }
.teacher-comment-info { margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--basic-60); }
.teacher-comment-author a  { color: var(--main-80); font-weight: 600; }
.comments-empty { color: #999; text-align: center; margin-top: 16px; }
.comment-count { margin-top: 0; }
.comment-tools a { text-decoration: none; margin-right: 10px; }
.not-logged-in { padding: 12px 0 0; }
.loading { opacity: .1; }
.error, .error:focus {
  border: solid 1px rgb(255, 0, 0) !important;
  box-shadow: 0 0 8px rgba(255,0,0,.6);
}
.auth-modal .modal-body{
  text-align: center;
}
.auth-modal .btn{
  min-width: 220px;
  margin: 6px 0;
}
@media (max-width: 768px){
  .discussion-details{
    grid-template-columns: 1fr;
  }
}
.discussion-index{
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 0 32px;
}
.discussion-index__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.discussion-year-nav{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.discussion-year-nav a{
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--main-20);
  text-decoration: none;
  color: var(--main-80);
  background: #fff;
}
.discussion-year-nav .active{
  background: var(--main-80);
  color: #fff;
  border-color: var(--main-80);
}
.discussion-count{
  color: var(--basic-60);
}
.discussion-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.discussion-card{
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 60, 160, 0.08);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.discussion-card__photo{
  width: 100%;
  height: 280px;
  background: var(--bg);
  overflow: hidden;
}
.discussion-card__photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.discussion-card__body{
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.discussion-card__name{
  font-weight: 700;
  font-size: 18px;
  color: var(--main-100);
  line-height: 1.3;
}
.discussion-card__school,
.discussion-card__post{
  color: var(--basic-60);
  font-size: 14px;
  line-height: 1.4;
}
.discussion-card__rating{
  align-self: flex-start;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0,128,0,0.2);
  background: rgba(0,128,0,0.08);
  color: #1a6b1a;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.discussion-card__rating.negative{
  border-color: rgba(255,0,0,0.25);
  background: rgba(255,0,0,0.08);
  color: #a11;
}
.discussion-card__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.discussion-card__toggle{
  border: 1px solid var(--main-20);
  background: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--main-80);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.discussion-card__toggle:not(.collapsed){
  transform: rotate(180deg);
  border-color: var(--main-40);
  background: var(--main-20);
}
.discussion-card__details dl{
  margin: 12px 0 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.discussion-card__details dt{
  font-weight: 700;
  color: var(--main-100);
}
.discussion-card__details dd{
  margin: 0;
  color: var(--basic-60);
}
.question-modal .modal-content{
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
  border: 1px solid rgba(0,60,160,0.12);
}
.question-modal .modal-header{
  padding: 16px 18px 10px;
}
.question-modal .modal-title{
  font-weight: 700;
  font-size: 18px;
  color: var(--main-100);
}
.question-modal .modal-body{
  padding: 0 18px 18px;
}
.question-form .form-control{
  border-radius: 10px;
}
.question-form .btn{
  border-radius: 10px;
  padding: 10px 14px;
}
.discussion-card__footer{
  margin-top: auto;
}
.discussion-card__link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--main-80);
  font-weight: 600;
}
.discussion-card__link:hover{
  color: var(--main-60);
}
@media (max-width: 992px){
  #slider-carousel .portal-carousel-control{
    width: 70px;
    height: 70px;
    margin: 0 14px;
  }
  #slider-carousel .portal-carousel-caption{
    left: 6%;
    bottom: 12%;
  }
  #slider-carousel .portal-carousel-caption__body{
    padding: 16px 18px;
    max-width: 100%;
  }
  #slider-carousel .portal-carousel-caption h3{
    font-size: 26px;
  }
  #slider-carousel .portal-carousel-caption p{
    font-size: 16px;
  }
}
@media (max-width: 576px){
  #slider-carousel .portal-carousel-caption{
    left: 5%;
    right: 5%;
    bottom: 8%;
  }
  #slider-carousel .portal-carousel-control{
    width: 64px;
    height: 64px;
    margin: 0 12px;
  }
  #slider-carousel .portal-carousel-caption__body{
    padding: 14px 16px;
    border-radius: 14px;
  }
  #slider-carousel .portal-carousel-caption h3{
    font-size: 22px;
  }
}
.header-back {
  width: auto;
  background: #0a4fbf url('../../images/header-back.jpg') center/cover no-repeat;
  min-height: inherit;
  padding: 48px 0;
  position: relative;
}
.navbar-mobile {
  position: relative;
}
.header-quick {
  gap: 12px;
  position: relative;
}

.select2-selection.select2-selection--single
{
  height: unset !important;
}

.select2-selection__arrow{
  display: none !important;
}
.header-search {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 8px 6px 12px;
}
.header-search-input {
  background: transparent !important;
  border: none;
  color: #fff;
}
.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}
.header-search-input:focus {
  box-shadow: none;
}
.header-search-btn {
  color: #fff;
  border: none;
  background: transparent;
}
.header-burger-btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
}
.header-burger-panel {
  position: fixed;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  transform: translateY(-6px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 999;
  width: min(320px, calc(100vw - 24px));
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.header-burger-panel.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.header-burger-panel__inner {
  display: flex;
  flex-direction: column;
}
.header-burger-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--main-100);
  text-decoration: none;
  background: var(--bg);
  margin-bottom: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.header-burger-link:hover {
  background: var(--main-20);
  color: var(--main-80);
}
.navbar-mobile {
  position: relative;
}
.header-quick {
  gap: 12px;
}
.header-search {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 8px 6px 12px;
}
.header-search-input {
  background: transparent;
  border: none;
  color: #fff;
}
.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}
.header-search-input::-webkit-search-cancel-button {
  filter: invert(1);
  cursor: pointer;
}
.header-search-input::-moz-search-clear {
  filter: invert(1);
}
.header-search-input:focus {
  box-shadow: none;
  color: #fff;
}
.header-search-input:focus {
  box-shadow: none;
}
.header-search-btn {
  color: #fff;
  border: none;
  background: transparent;
}
.header-burger-btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
}
.header-burger-btn i,
.header-user-btn i {
  font-size: 24px;
  line-height: 1;
}
.header-burger-btn:focus,
.header-burger-btn:active,
.header-burger-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  box-shadow: none;
}
.header-user-btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
}
.header-user-btn:hover,
.header-user-btn:focus,
.header-user-btn:active {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.header-burger-panel {
  position: absolute;
  right: 12px;
  top: 100%;
  width: 320px;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 999;
}
.header-burger-panel.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.header-burger-panel__inner {
  display: flex;
  flex-direction: column;
}
.header-burger-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--main-100);
  text-decoration: none;
  background: var(--bg);
  margin-bottom: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.header-burger-link:hover {
  background: var(--main-20);
  color: var(--main-80);
}

.header-logo {
  width: 320px;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-image {
  width: 52px;
  height: 60px;
  position: relative;

}
.logo-frame {
  width: 246px;
  height: 48px;
  display: flex;
  flex-direction: column;

}
.logo-system {
  color: var(--main-20);
}
.logo-name {
  color: var(--main-20);
}
.header-text {
  width: 643px;
}
.header-entry-text {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 0px;
}
.text-head {
  /*font-family: "Golos Text", sans-serif;*/
  /*font-size: 48px;*/
  /*font-weight: 600;*/
  /*line-height: 56px;*/
  text-align: left;
  color: var(--main-20);
  position: relative;
}
.text-subhead {
  /*font-family: "Golos Text", sans-serif;*/
  /*font-size: 20px;*/
  /*font-weight: 200;*/
  /*line-height: 28px;*/
  text-align: left;
  color: var(--main-20);
  padding: 20px 0;
}
.header-login {
  width: 534px;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0px 4px 10px 0px #CCD5E5BF;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 30px;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(30px);
  gap:50px;
  z-index: 5;
  max-width: min(534px, calc(100% - 24px));
}

@media (max-width: 991.98px) {
  .header-login {
    left: 50%;
    right: auto;
    transform: translate(-50%, 30px);
    top: 120px;
  }
  .header-back {
    padding-bottom: 340px;
    min-height: 640px;
  }
}
.login-hello {
  width: 232px;
  height: 32px;
  /*font-family: "Golos Text", sans-serif;*/
  /*font-size: 24px;*/
  /*font-weight: 600;*/
  /*line-height: 32px;*/
  text-align: left;
  color: var(--main-100);
}
.login-info {
  width: 450px;
  height: 56px;;
  /*font-family: "Golos Text", sans-serif;*/
  /*font-size: 20px;*/
  /*font-weight: 600;*/
  /*line-height: 28px;*/
  text-align: center;
  color: var(--basic-40);
}
.login-logo {
  width: 176px;
  height: 31px;

}
.login-button {
  width: 242px;
  height: 60px;
  padding: 15px 40px;
  border-radius: 6px;
  background: #EE2F53;
  /*font-family: "Golos Text", sans-serif;*/
  /*font-size: 20px;*/
  /*font-weight: 600;*/
  /*line-height: 10px;*/
  text-align: center;
  color: var(--bg);
}
.login-button:hover {
  background: #D41C3E;
  color: var(--bg);
}

.footer-back {
  width: auto;
  /*height: 100%;*/
  background: url('../../images/footer.jpg');
  background-size: 100%;
  position: relative;
}
.footer-logo {
  width: 320px;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-system {
  text-align: left;
  color: #4576A7;
  position: relative;
}
.footer-name {
  text-align: left;
  color: #4576A7;
  position: relative;
}

.card-st {
  height: 196px;
  border-radius: 12px;
  position: relative;
  background: var(--main-20);
  overflow: hidden !important;
  transition: all 0.6s;

}
.card-panel {
  position: relative;
  overflow: hidden !important;
  display: block;
  width: 100%;
  height: 100%;
}
.card-st:hover {
  top:-20px;
  transition: all 0.6s;
}
.card-image {
  position: absolute;
  right: 1%;
  top: 5%;
  opacity: 1;
  border-radius: 100%;
  border: 10px solid transparent;
}
.card-text {
  position: relative;
  /*font-family: "Golos Text", sans-serif;*/
  /*font-size: 16px;*/
  /*font-weight: 500;*/
  /*line-height: 24px;*/
  text-align: left;
  width: 260px;
  height: 72px;
  top: 100px;
  left: 28px;
  color: var(--main-100);

}
.card-text-big {
  position: relative;
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  top: 70px;
  color: var(--main-100);

}

.text-news-new {
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  white-space: initial;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card-svg1 {
  box-shadow: 0px 0px 30px 20px #FFE4E4CC;
  background-color: #FFE4E4CC !important;
}
.card-svg2 {
  box-shadow: 0px 0px 30px 20px #D8CDFFCC;
  background-color: #D8CDFFCC !important;
}
.card-svg3 {
  box-shadow: 0px 0px 30px 20px #FFFFE4CC;
  background-color: #FFFFE4CC !important;
}
.card-svg4 {
  box-shadow: 0px 0px 30px 20px #FFEED4CC;
  background-color: #FFEED4CC !important;
}
.card-svg5 {
  box-shadow: 0px 0px 30px 20px #FFE4E5CC;
  background-color: #FFE4E5CC !important;
}
.card-svg6 {
  box-shadow: 0px 0px 30px 20px #E4FFEBCC;
  background-color: #E4FFEBCC !important;
}
.card-svg7 {
  box-shadow: 0px 0px 30px 20px #FFF5E4CC;
  background-color: #FFF5E4CC !important;
}
.card-svg8 {
  box-shadow: 0px 0px 30px 20px #E8FFE4CC;
  background-color: #E8FFE4CC !important;
}
.accordion-item-new {
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
}
.accordion-button-new {
  background: var(--main-20);
}
.accordion-button-new:not(.collapsed) {
  color: var(--bg) !important;
  background-color: var(--main-80) !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125) !important;
}
.accordion-body-new {
  background: var(--bg);
  padding: 2rem 1.25rem;
}
.input-new {
  width: 100%;
  background: #F4F6F9;
  min-height: 26px;
  padding: 16px 20px 16px 20px;
  border-radius: 6px;
}
.input-sort-text {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}
.select-area {
  width: 100%;
  white-space: break-spaces;
}
.accordion-body-map {
  background: var(--bg);
  padding: 1rem 1.25rem;
}

.card-map {
  border-radius: 12px;
  background: var(--main-20);
  transition: all 0.6s;
  padding: 1rem;
  margin: 1rem;

}
.card-info-text {
  margin-top: 1rem;
}
.card-map:hover {
  box-shadow: 0px 0px 20px 3px #006eff52 !important;
  transition: all 0.6s;
}
.tab-list {
  height: 700px;
  /* width: 100%; */
  overflow-y: auto;
  padding-right: 25px;
  overflow-x: hidden;
}

/* org list */
.table-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.table-scroll {
  width: 100%;
  min-width: 900px;
}

.table-scroll.table-fixed {
  table-layout: auto;
}

.table-scroll.table-fixed td.first-col,
.table-scroll.table-fixed th.first-col {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 2;
  box-shadow: 6px 0 8px -6px rgba(0, 0, 0, 0.15);
}

.table-scroll.table-fixed tbody td:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
  box-shadow: 6px 0 8px -6px rgba(0, 0, 0, 0.12);
}
.teacher-page .card {
  border-radius: 12px;
}
.teacher-page .teacher-actions a {
  color: #0c2248;
  text-decoration: none;
}
.teacher-page .teacher-actions a:hover {
  color: #003ca0;
}
.teacher-info dt {
  font-weight: 700;
  color: #0c2248;
}
.teacher-info dd {
  color: #6e6e86;
}
.teacher-photo {
  object-fit: cover;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.teacher-layout {
  background: #f4f8ff;
}
.teacher-layout__content {
  background: #f4f8ff;
}
.teacher-page .card,
.teacher-layout .card {
  border-radius: 12px;
  border: none;
}
.teacher-layout .leftColumn {
  padding-top: 8px;
}
.teacher-layout .leftColumn .nav-list a {
  color: #0c2248;
}
.teacher-layout .leftColumn .nav-list a:hover {
  color: #003ca0;
}
.teacher-layout h1,
.teacher-layout h2,
.teacher-layout h3 {
  color: #0c2248;
}
.teacher-layout .row-fluid .content {
  color: #0c2248;
}
.pa-cta {
  background: linear-gradient(90deg, var(--main-80), var(--main-60));
  border-radius: 16px;
}
.pa-cta-btn {
  border-radius: 10px;
  padding: 10px 20px;
}
.select2-container--default .select2-selection--single {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #dce1eb;
  background: #f7f9fb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  right: 12px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px;
  color: #0c2248;
  font-weight: 500;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #6e6e86;
}
.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--main-60);
  box-shadow: 0 0 0 3px rgba(0, 110, 255, 0.15);
  outline: none;
}
.select2-dropdown {
  border-radius: 12px;
  border: 1px solid #dce1eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.select2-search--dropdown .select2-search__field {
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid #dce1eb;
}
.select2-results__option {
  padding: 10px 12px;
}
.select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--main-20);
  color: var(--main-100);
}
.event-card {
  background: #ffffff;
  border: 1px solid #e1e5ee;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}
.event-card .event-type {
  display: inline-block;
  background: var(--main-20);
  color: var(--main-80);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 10px;
}
.event-card small,
.event-card .event-organizer {
  color: #6e6e86;
}
._bg-primary-soft {
  background: #ffffff !important;
  border: 1px solid #e1e5ee;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  padding: 24px !important;
  color: #0c2248 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
._bg-primary-soft:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}
._bg-primary-soft h5,
._bg-primary-soft .title {
  color: #0c2248 !important;
}
._bg-primary-soft small,
._bg-primary-soft .event-organizer {
  color: #6e6e86 !important;
}
._bg-primary-soft .event-type {
  display: inline-block;
  background: var(--main-20);
  color: var(--main-80);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 10px;
}
a._btn-panel.card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
a._btn-panel.card img.img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.clients-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  min-height: 90px;
}
.clients-logo img,
.banner-img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  display: inline-block;
}
.org-page .accordion-button {
  background: #fff;
  color: #0c2248;
  font-weight: 600;
  border: none;
  box-shadow: none;
}
.org-page .accordion-button:focus {
  box-shadow: none;
}
.org-page .accordion-button:not(.collapsed) {
  background: #f7f9fb;
  color: #003ca0;
}
.org-info {
  margin: 0;
}
.org-info-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8px 16px;
  padding: 8px 0;
  border-bottom: 1px solid #eef1f6;
}
.org-info-row:last-child {
  border-bottom: none;
}
.org-info-row dt {
  margin: 0;
  font-weight: 600;
  color: #0c2248;
}
.org-info-row dd {
  margin: 0;
  color: #6e6e86;
}
.org-subtitle {
  font-weight: 600;
  color: #0c2248;
}
.org-photo img {
  border-radius: 12px;
  object-fit: cover;
}
.table-scroll-wrapper {
  overflow-x: auto;
}
#map {
  min-height: 300px;
}
.select2-container--default .select2-selection--single {
  height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #dce1eb;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
  right: 10px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px;
}

/* Search dropdown styles */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-height: 70vh;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  width: max-content;
  min-width: 100%;
  max-width: min(600px, calc(100vw - 32px));
}

.search-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-dropdown-body {
  padding: 16px;
  max-width: 100%;
}

.search-loading {
  text-align: center;
  padding: 20px;
  color: var(--basic-60);
  font-size: 14px;
}

.search-no-results {
  text-align: center;
  padding: 20px;
  color: var(--basic-60);
  font-size: 14px;
}

.search-error {
  text-align: center;
  padding: 20px;
  color: #dc3545;
  font-size: 14px;
}

.search-results-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-result {
  padding: 12px;
  border-radius: 8px;
  background: var(--bg);
  transition: background 0.15s ease;
  text-decoration: none;
  display: block;
  color: inherit;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.search-result:hover {
  background: var(--main-20);
}

.search-result-title {
  font-weight: 600;
  color: var(--main-100);
  margin-bottom: 4px;
  font-size: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.search-result-excerpt {
  color: var(--basic-60);
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.header-back {
  position: relative;
}
#searchNavbar {
  width: min(80vw, 960px);
  max-width: 80vw;
  margin-top: 8px;
  right: 0;
  left: auto !important;
  top: 50px !important;
  transform: none !important;
}
#searchNavbar .bg-white {
  border-radius: 12px;
}
#searchNavbar .search-results {
  max-height: 60vh;
  overflow: auto;
  word-break: break-word;
}
@media (max-width: 991.98px) {
  #searchNavbar {
    width: 80vw;
    max-width: 80vw;
    right: 0 !important;
    left: auto !important;
    top: calc(100% + 8px);
    margin-top: 8px;
  }
}

/* Адаптивная ширина для больших экранов */
@media (min-width: 1200px) {
  .search-dropdown {
    max-width: 600px;
  }
}

/* Для планшетов и средних экранов */
@media (min-width: 768px) and (max-width: 1199px) {
  .search-dropdown {
    max-width: min(500px, calc(100vw - 32px));
  }
}

/* Для мобильных устройств */
@media (max-width: 767px) {
  .search-dropdown {
    position: fixed;
    left: 16px !important;
    right: 16px !important;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    min-width: unset !important;
  }

  .search-dropdown-body {
    padding: 12px;
  }

  .search-result {
    padding: 10px;
  }
}

/* Teacher profile layout */
.teacher-profile-shell {
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.teacher-nav-shell {
  background: #f5f7fb;
  border-bottom: 1px solid #e0e7ff;
  padding: 35px 0;
}
.teacher-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.teacher-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #d5def8;
  background: #fff;
  color: #0f1f4d;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.teacher-nav__item:hover {
  background: #eef3ff;
  border-color: #b7c7f6;
}
.teacher-nav__item--home {
  color: #0046d5;
}
.teacher-nav__home-icon {
  display: inline-flex;
  align-items: center;
}
.teacher-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.teacher-profile__sidebar {
  flex: 1 1 280px;
  max-width: 360px;
  width: 100%;
}
.teacher-profile__content {
  flex: 1 1 520px;
  min-width: 0;
}
.teacher-card,
.teacher-publications,
.teacher-details-card,
.teacher-profile__text {
  background: #fff;
  border: 1px solid #e0e7ff !important;
  border-radius: 18px !important;
}
.teacher-card {
  padding: 24px;
}
.teacher-card__photo {
  width: 100%;
  padding-top: 75%;
  position: relative;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  background: #f1f5ff;
}
.teacher-card__photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teacher-card__name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.teacher-card__position {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: #4b5675;
}
.teacher-card__placeholder {
  color: #97a3c7;
  font-style: italic;
}
.teacher-publications {
  margin-top: 24px;
  padding: 24px;
}
.teacher-publications__title {
  margin-bottom: 0.35rem;
  font-weight: 700;
}
.teacher-publications__hint {
  margin-bottom: 1.5rem;
  color: #6e768f;
  font-size: 0.9rem;
}
.teacher-publications__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.teacher-publications__item {
  display: block;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid #cfe0ff;
  text-decoration: none;
  background: #f7faff;
  font-weight: 600;
  color: #1c2753;
  transition: background 0.2s ease, border-color 0.2s ease;
  text-align: center;
}
.teacher-publications__item:hover {
  background: #e7f0ff;
  border-color: #94b6ff;
}
.teacher-details-card {
  padding: 24px 28px 30px;
}
.teacher-details-card__title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.teacher-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 18px 24px;
}
.teacher-info-grid__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8891ad;
  margin-bottom: 0.2rem;
}
.teacher-info-grid__value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #121a3a;
}
.teacher-profile__text {
  margin-top: 24px;
  padding: 24px 28px;
}
.teacher-profile__text > *:first-child {
  margin-top: 0;
}
.teacher-profile__text > *:last-child {
  margin-bottom: 0;
}
.teacher-profile__text--empty {
  text-align: center;
  color: #8d96b8;
  font-weight: 500;
}
.teacher-posts-board {
  background: #fff;
  border: 1px solid #e0e7ff;
  border-radius: 20px;
  box-shadow: 0 25px 45px rgba(18, 44, 116, 0.08);
  padding: 28px 32px;
}
.teacher-posts-board__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid #ecf0ff;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.teacher-posts-board__label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #97a3c7;
  margin-bottom: 4px;
}
.teacher-posts-board__title {
  margin: 0;
}
.teacher-posts-board__back {
  border-radius: 999px;
  padding: 10px 22px;
  border: 1px solid #b7c8f9;
  color: #1c2753;
  font-weight: 600;
  text-decoration: none;
}
.teacher-posts-board__back:hover {
  background: #eff4ff;
}
.teacher-posts-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.teacher-posts-list__empty {
  padding: 32px;
  text-align: center;
  color: #8d96b8;
  border-radius: 18px;
  border: 1px dashed #cfe0ff;
  background: #f9fbff;
}
.teacher-post-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 18px;
  border: 1px solid #dfe7ff;
  padding: 20px 24px;
  background: #fefeff;
  box-shadow: 0 18px 32px rgba(18, 44, 116, 0.06);
}
.teacher-post-card__image {
  display: block;
  border-radius: 14px;
  overflow: hidden;
}
.teacher-post-card__image img {
  width: 100%;
  height: auto;
  display: block;
}
.teacher-post-card__date {
  font-size: 0.9rem;
  color: #6e7aa5;
  margin-bottom: 8px;
}
.teacher-post-card__name {
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.teacher-post-card__name a {
  color: #0f1f4d;
  text-decoration: none;
}
.teacher-post-card__name a:hover {
  color: #0050d4;
}
.teacher-post-card__excerpt {
  margin-bottom: 12px;
  color: #4b5675;
}
.teacher-post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #0f4de8;
  font-weight: 600;
}
.teacher-post-card__link:hover {
  text-decoration: underline;
}
.teacher-latest-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.teacher-latest-item {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f6f8ff;
  border: 1px solid #dfe7ff;
  text-decoration: none;
  color: #101c3c;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.teacher-latest-item:hover {
  background: #e9efff;
  border-color: #bcd0ff;
}
.teacher-latest-item__title {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}
.teacher-latest-item__desc {
  display: block;
  font-size: 0.9rem;
  color: #5a678c;
  margin-bottom: 6px;
}
.teacher-latest-item__date {
  font-size: 0.82rem;
  color: #7d89ad;
}
.teacher-latest-empty {
  margin: 0;
  padding: 12px;
  text-align: center;
  color: #7a87b5;
  border-radius: 12px;
  border: 1px dashed #d0daf8;
}
.teacher-gallery-board {
  background: #fff;
  border: 1px solid #e0e7ff;
  border-radius: 20px;
  box-shadow: 0 25px 45px rgba(18, 44, 116, 0.08);
  padding: 28px 32px;
}
.teacher-gallery-board__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.teacher-gallery-board__hint {
  margin: 0;
  color: #6f7ba5;
}
.teacher-gallery-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.teacher-gallery-filter .form-control {
  min-width: 220px;
}
.teacher-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.teacher-gallery-card {
  border-radius: 16px;
  border: 1px solid #dfe7ff;
  padding: 16px;
  background: #fdfdff;
  box-shadow: 0 18px 32px rgba(18, 44, 116, 0.04);
}
.teacher-gallery-card__image {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}
.teacher-gallery-card__image img {
  width: 100%;
  height: auto;
  display: block;
}
.teacher-gallery-card__meta {
  font-size: 0.85rem;
  color: #7d89ad;
  margin-bottom: 6px;
}
.teacher-gallery-card__name {
  font-weight: 600;
  margin-bottom: 0;
  color: #101c3c;
}
.teacher-gallery-empty {
  text-align: center;
  padding: 32px;
  border-radius: 16px;
  border: 1px dashed #cfe0ff;
  color: #7d89ad;
}
@media (max-width: 992px) {
  .teacher-profile__sidebar {
    max-width: 100%;
  }
  .teacher-nav {
    justify-content: flex-start;
  }
}
