
.preferences-item-info p,
.events-card-info p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.preferences-item-info p {
    -webkit-line-clamp: 6;

}

.card-image {
    aspect-ratio: unset;
}
.card-image-wrapper {
    aspect-ratio: 1.7;
}
.news-card .card {
    display: flex;
    flex-direction: column;
}
.card-info {
    flex: 1;
    display: flex;
flex-direction: column;
}
.card-info h4 {
    -webkit-line-clamp: 2;
    margin-bottom: 8px;
}
.card-info-bottom {
    margin-top: auto;
}
.card.card-active  .card-image-wrapper {
    aspect-ratio: 1.8
}

.card-image-wrapper  {
    aspect-ratio: 1.8
}

.card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column;
}
/*.header-top*/
/* {*/
/*    position: relative;*/
/*    z-index: 2;*/
/*}*/
/*.header-bottom {*/


/*}*/
.header-wrapper {
    position: relative;
    z-index: 2;
}
.header-full {
    z-index: 1;

}

@media only screen and (max-width: 992px) {
    .header-lang {
        margin-left: auto;

    }
}
.header-full {
    height: calc(100svh - (var(--header-bottom-height) + var(--header-top-height)));
}
.page-content.apply-manual img{
    max-width: 100%;
    height: auto;
}

.page-main.page-apply {
    /*display: block;*/
    /*justify-content: unset;*/
    /*align-items: unset;*/
    flex-direction: column;
    gap: 32px;
}
.page-main.page-apply > * {
    width: 100%;

}
.page-main.page-apply > * .row:not(:last-child) {
    margin-bottom: 32px;
}
.page-main.page-apply > * .row {
    margin: -12px;
}
.page-main.page-apply > * .row > div {
    padding: 12px;
}

/* Apply main: card visuals aligned with inner / rich pages (shell sidebar cards) */
.page-main.page-apply .row > [class*="col-"] {
    display: flex;
}
.page-main.page-apply .row > [class*="col-"] > .apply-category,
.page-main.page-apply .row > [class*="col-"] > .apply-status,
.page-main.page-apply .row > [class*="col-"] > a.apply-help {
    width: 100%;
    flex: 1 1 auto;
}
.page-main.page-apply .apply-category {
    border-radius: 16px;
    border: 1px solid rgba(15, 106, 68, 0.12);
    box-shadow: 0 4px 20px rgba(15, 106, 68, 0.05), 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    padding: 28px 24px 24px;
}
.page-main.page-apply .apply-category::after {
    left: 0;
    right: 0;
    top: 0;
    border-radius: 16px 16px 0 0;
}
@media only screen and (max-width: 1199px) {
    .page-main.page-apply .apply-category {
        padding: 22px 18px 18px;
    }
}
.page-main.page-apply .apply-category .line {
    margin: 20px 0;
}
.page-main.page-apply .apply-status {
    text-align: center;
    border-radius: 16px;
    border: 1px solid rgba(15, 106, 68, 0.12);
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 106, 68, 0.05), 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 28px 24px 24px;
}
@media only screen and (max-width: 1199px) {
    .page-main.page-apply .apply-status {
        padding: 22px 18px 20px;
    }
}
.page-main.page-apply a.apply-help {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 20px rgba(15, 106, 68, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.page-main.page-apply a.apply-help:hover {
    box-shadow: 0 8px 28px rgba(15, 106, 68, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.section-accordion .section-item {
    margin-bottom: 20px;
    padding: 32px;
    border-radius: 2px;
    border: 1px solid rgba(1, 26, 18, 0.15);
    background: #FFF;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}
@media only screen and (max-width: 1599px) {
    .section-accordion .section-item {
        padding: 24px;
    }
}
@media only screen and (max-width: 1199px) {
    .section-accordion .section-item {
        padding: 16px;
    }
}
.section-accordion .section-item::after {
    content: "";
    height: 6px;
    position: absolute;
    left: -0.5px;
    right: -0.5px;
    top: -0.5px;
    background-color: #088868;
    z-index: 2;
    border: 1px solid rgb(7, 119, 91);
    border-bottom: none;
    border-radius: 2px 2px 0 0;
}
.section-accordion .section-button {
    background-color: white;
    display: flex;
    align-items: center;
    width: 100%;
    gap: var(--space-16);
    text-align: left;
    padding: var(--space-20);
    background-color: var(--color-white-1);
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    color: var(--color-black-1);
    text-align: left;
}
@media only screen and (max-width: 768px) {
    .section-accordion .section-button {
        font-size: 20px;
    }
}
.section-accordion .section-button i {
    transform: rotate(0);
    margin-left: auto;
    transition: all 0.3s ease-in-out;
}
.section-accordion .section-button.collapsed i {
    transform: rotate(315deg);
}
.section-accordion .section-content-wrapper {
    padding: 16px 0 4px;
}
.section-accordion .section-content-wrapper p {
    color: #011a12;
    font-size: 18px;
    line-height: 150%;
    opacity: 0.8;
    margin-bottom: 0;
}
@media only screen and (max-width: 768px) {
    .section-accordion .section-content-wrapper p {
        font-size: 16px;
    }
}

.faq-wrapper {
    display: block;
}
.page-content img{
    width: 100% !important;
    height: auto;
    margin-bottom: 30px;
}

.form-group-phone .dropdown-menu ul li img {
    width: unset !important;
    height: unset !important;
    margin-bottom: 0 !important;
}
.form-group-phone .dropdown-menu {
    max-height: 400px !important;
    overflow-y: scroll;
}
.form-group-phone .dropdown-toggle img {
    height: 22px !important;
    width: 30px !important;
    margin: 0 !important;
}

/* Check status sahifa: original layout — chapda forma, o'ngda sidebar */
.page-main.check-status {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
}
.page-main.check-status .page-content {
    flex: 1;
    min-width: 280px;
}
.page-main.check-status .page-aside {
    width: 100%;
    max-width: 372px;
}
@media (min-width: 992px) {
    .page-main.check-status .page-aside {
        flex-shrink: 0;
    }
}
.check-status-input-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.check-status-input-wrapper .form-control {
    flex: 1;
    min-width: 200px;
}
.check-status-input-wrapper .button.primary {
    flex-shrink: 0;
}

/* grnu-news-static-banner-title: body:has — banner main dan oldin */
body:has(.news-detail-wrapper) .page-banner {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
  }
  body:has(.news-detail-wrapper) .page-banner .container {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
  }
  body:has(.news-detail-wrapper) .page-banner .page-banner-wrapper {
    width: 100% !important;
    max-height: 100% !important;
    overflow: hidden;
  }
  body:has(.news-detail-wrapper) .page-banner .page-banner-wrapper h1,
  body:has(.news-detail-wrapper) .page-banner h1 {
    font-size: clamp(0.9375rem, 2.35vw, 1.35rem) !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    display: block !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    overflow: visible !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    margin: 0 !important;
  }
  @media only screen and (max-width: 991px) {
    body:has(.news-detail-wrapper) .page-banner {
      height: 160px !important;
      min-height: 160px !important;
      max-height: 160px !important;
    }
    body:has(.news-detail-wrapper) .page-banner .page-banner-wrapper h1,
    body:has(.news-detail-wrapper) .page-banner h1 {
      font-size: clamp(0.875rem, 2.65vw, 1.1rem) !important;
      line-height: 1.2 !important;
    }
    #grnu-news-banner-title {
      font-size: clamp(0.875rem, 2.65vw, 1.1rem) !important;
      line-height: 1.2 !important;
    }
  }

/* grnu-news-banner-title-id */
#grnu-news-banner-title {
  display: block !important;
  font-size: clamp(0.9375rem, 2.35vw, 1.35rem) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  overflow: visible !important;
  text-overflow: clip !important;
  -webkit-line-clamp: 999 !important;
  line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  margin: 0 !important;
  max-height: none !important;
  color: #fff !important;
}

/* From/To dan keyin Apply + refresh bir qatorda (main.css .filter .button{width:100%} ni bekor qiladi) */
.page.news .filter .news-filter-actions,
.sidebar-news-filter .filter .news-filter-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    margin-top: 8px;
}

.page.news .filter .news-filter-actions .button.primary,
.sidebar-news-filter .filter .news-filter-actions .button.primary {
    margin: 0;
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
}

.page.news .filter .news-filter-actions .news-filter-refresh,
.sidebar-news-filter .filter .news-filter-actions .news-filter-refresh {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 var(--form-height, 56px);
    width: var(--form-height, 56px);
    min-width: var(--form-height, 56px);
    height: var(--form-height, 56px);
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

@media (max-width: 360px) {
    .page.news .filter .news-filter-actions,
    .sidebar-news-filter .filter .news-filter-actions {
        flex-wrap: wrap;
    }

    .page.news .filter .news-filter-actions .button.primary,
    .sidebar-news-filter .filter .news-filter-actions .button.primary {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .page.news .filter .news-filter-actions .news-filter-refresh,
    .sidebar-news-filter .filter .news-filter-actions .news-filter-refresh {
        flex: 0 0 var(--form-height, 56px);
    }
}

/* NEWS_PAGE_FILTER_GRNU_BORDERS — sana, Apply, refresh, kalendar = yangiliklar panel border */
.page.news .filter .form-control,
.sidebar-news-filter .filter .form-control {
    border: 1px solid rgba(15, 106, 68, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(15, 106, 68, 0.06);
}

.page.news .filter .form-control:focus,
.sidebar-news-filter .filter .form-control:focus {
    border-color: rgba(15, 106, 68, 0.32) !important;
    box-shadow: 0 0 0 3px rgba(15, 106, 68, 0.1);
    outline: none;
}

.page.news .filter .news-filter-actions .button.primary,
.sidebar-news-filter .filter .news-filter-actions .button.primary {
    border-radius: 12px !important;
    border: 1px solid rgba(15, 106, 68, 0.3) !important;
    box-shadow: 0 4px 16px rgba(15, 106, 68, 0.14);
}

.page.news .filter .news-filter-actions .news-filter-refresh,
.sidebar-news-filter .filter .news-filter-actions .news-filter-refresh {
    border: 1px solid rgba(15, 106, 68, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(15, 106, 68, 0.1);
}

.page.news .calendar-main .pika-single {
    border-radius: 14px !important;
    border: 1px solid rgba(15, 106, 68, 0.1) !important;
    box-shadow: 0 10px 32px rgba(15, 106, 68, 0.12) !important;
}

