/*
 * Header va bosh sahifa slayderi — tartib va bo'shliqlarni tekislash.
 * typography.css dan keyin yuklanadi.
 */

/* ================= HEADER ================= */
.main-header {
  padding: 14px 0 0;
}
.main-header .logo {
  min-height: 0;
  margin-bottom: 0;
}
.main-header .logo > a {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}
.main-header .logo .logo-img {
  margin-right: 0;
}
.main-header .logo .logo-img img {
  width: auto;
  height: 104px;
  display: block;
}
.main-header .logo .logo-text {
  margin-top: 0;
  text-align: left;
  color: #1a2340;
}
.main-header .logo .logo-text h1,
.main-header .logo .logo-text h2 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: .2px;
}

/* qidiruv + ishonch telefoni: bir qatorda, o'ngga tekislangan */
.main-header .right-box {
  min-height: 104px;
  justify-content: flex-end;
  gap: 28px;
}
.main-header .right-box .search-box form,
.main-header .right-box .search-box .form-group {
  margin: 0;
}
.main-header .right-box .search-box .search {
  margin-top: 0;
  width: 240px;
  height: 42px;
  padding: 0 44px 0 18px;
  font-size: 14px;
  border-color: #c9d2e6;
  background: #f5f7fb;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.main-header .right-box .search-box .search:focus {
  border-color: #1f3c88;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 60, 136, .12);
}
.main-header .right-box .search-box i.fa-search {
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
  right: 8px;
  color: #1f3c88;
  cursor: pointer;
}
.main-header .call-center {
  float: none;
  padding-left: 28px;
  border-left: 1px solid #e3e8f2;
  line-height: 1.25;
}
.main-header .call-center h3 {
  margin: 0 0 2px;
  font-size: 13px;
  color: #6b7591;
}
.main-header .call-center h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}
.main-header .call-center h4 span {
  font-size: 26px;
  margin-left: 4px;
}
.main-header .call-center > a + a h4 {
  margin-top: 6px;
  font-size: 13px;
  color: #1f3c88;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* menyu */
.main-header nav {
  margin-top: 14px;
  border-top: 1px solid #edf0f6;
}
.main-header nav > ul {
  margin-bottom: 0;
}
.main-header nav > ul > li {
  font-size: 15px;
  letter-spacing: .3px;
}
.main-header nav > ul > li a {
  padding: 18px 8px;
  color: #33405f;
}
.main-header nav > ul > li a:hover,
.main-header nav > ul > li .dropdown.open > div > a {
  color: #1f3c88;
}
.main-header nav > ul > li a .fa-chevron-down {
  font-size: 9px;
  margin-left: 5px;
  vertical-align: 2px;
  opacity: .6;
}

/* ================= SLAYDER ================= */
.section-slider .container {
  padding-top: 24px;
}
.section-slider .slider-white-bg {
  margin-top: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 60, 136, .12);
}
/* ikki ustun bir xil balandlikda, pastda oq bo'shliq qolmaydi */
.section-slider .slider-white-bg > .col-md-10 {
  background: #1f3c88;
}

/* "Dolzarb" ro'yxati */
.section-slider .actually-box {
  padding: 14px 14px 10px;
}
.section-slider .actually-box .actually-title {
  margin-bottom: 14px;
  border-radius: 6px;
  letter-spacing: .5px;
}
.section-slider .actually-box ul li {
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  margin-bottom: 12px;
  padding-bottom: 12px;
}
.section-slider .actually-box ul li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.section-slider .actually-box ul li a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* span (sana) clamp ichida qolmasligi uchun alohida chiqariladi */
}
.section-slider .actually-box ul li a:hover {
  color: #bcd3ff;
}
.section-slider .actually-box ul li a span {
  display: none;
}
.section-slider .actually-box .actually-date {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
}

/* asosiy slayd matni */
.section-slider .slider-content-box {
  min-height: 0;
  height: 360px;
  padding: 28px 28px 0;
  overflow: hidden;
}
.section-slider .slider-item .slider-title {
  margin-bottom: 0;
}
.section-slider .slider-item .slider-title a {
  font-family: "Panton-Bold", var(--font-text);
  font-size: 24px;
  line-height: 1.35;
  -webkit-line-clamp: 7;
}
.section-slider .slider-item .slider-title a:hover {
  color: #bcd3ff;
}
.section-slider .slider-item .slider-info {
  width: 100%;
  padding: 0 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}
.section-slider .slider-item .slider-info:before {
  display: none;
}
.section-slider .slider-item .slider-info .date {
  color: rgba(255, 255, 255, .75);
}
.section-slider .slider-item .slider-info a {
  float: none;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 20px;
  transition: background .2s, color .2s;
}
.section-slider .slider-item .slider-info a:hover {
  background: #fff;
  color: #1f3c88;
  text-decoration: none;
}

/* strelkalar faqat rasm ustida, oq dumaloq tugma */
.section-slider #slider .flex-direction-nav a {
  width: 44px;
  height: 44px;
  margin-top: -22px;
  top: 217px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  text-align: center;
  opacity: 0;
}
.section-slider #slider .flex-direction-nav a:before {
  font-size: 18px;
  line-height: 44px;
  color: #1f3c88;
  text-shadow: none;
}
.section-slider #slider .flex-direction-nav .flex-disabled {
  display: none;
}
.section-slider #slider:hover .flex-direction-nav .flex-prev {
  left: 12px;
  opacity: 1;
}
.section-slider #slider:hover .flex-direction-nav .flex-next {
  right: calc(41.6667% + 12px);
  opacity: 1;
}

/* qisqa matn (anons) sarlavha ostida */
.section-slider .slider-content-box .slider-excerpt {
  margin: 16px 0 0;
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .8);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* qidiruv: Yii validatsiya bloki joy egallamasin, ikonka markazda */
.main-header .right-box .search-box .help-block {
  display: none;
}
.main-header .right-box .search-box label[for="search"] {
  position: absolute;
  top: 0;
  right: 0;
  height: 42px;
  margin: 0;
}
.main-header .right-box .search-box i.fa-search {
  position: static;
  transform: none;
  display: block;
  padding: 0 16px 0 8px;
  line-height: 42px;
  margin: 0;
}

/* ================= MOBIL ================= */
@media (max-width: 991px) {
  .main-header .logo { white-space: normal; }
  .main-header .logo > a { gap: 12px; }
  .main-header .logo .logo-img img { height: 64px; }
  .main-header .logo .logo-text h1,
  .main-header .logo .logo-text h2 { font-size: 13px; white-space: normal; }
}
@media (max-width: 767px) {
  .main-header .col-xs-5 { width: 100%; }
  .main-header .col-xs-3 { display: none; }
  .section-slider .container { padding-top: 12px; }
}
