

/* Start:/bitrix/templates/E-gorc/css/program-listing.css?177945604217488*/
/* Custom Fonts */
@font-face {
    font-family: 'Chiffon TRIAL';
    src: url('/bitrix/templates/E-gorc/fonts/chiffon-trial-extralight.ttf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chiffon TRIAL';
    src: url('/bitrix/templates/E-gorc/fonts/chiffon-trial-light.ttf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chiffon TRIAL';
    src: url('/bitrix/templates/E-gorc/fonts/chiffon-trial-medium.ttf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chiffon TRIAL';
    src: url('/bitrix/templates/E-gorc/fonts/chiffon-trial-regular.ttf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chiffon TRIAL';
    src: url('/bitrix/templates/E-gorc/fonts/chiffon-trial-semibold.ttf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --color-surface-page: #FFF;
    --color-text-information: #4772EA;
    --color-surface-warning: #FEF3C7;
    --color-text-warning: #F59E0B;
    --color-text-subtitle: #334155;
    --size-elements-180: 18px;
    --size-elements-240: 24px;
    --type-fontFamily-body: Inter;
    --type-fontSize-label-1: 14px;
    --type-lineHeight-body-2: 18px;
    --type-fontSize-body-1: 14px;
    --type-lineHeight-body-1: 20px;
    --type-fontSize-label-2: 12px;
    --type-lineHeight-label-2: 16px;
    --type-fontSize-sub-2: 16px;
    --type-lineHeight-sub-2: 24px;
}

/* General Styles */
body {
    background-color: #F8FAFC;
    margin: 0;
    font-family: var(--type-fontFamily-body, Inter);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    flex-direction: column;
}

*{
    margin: 0;
}

/* Main Wrapper */
.main-wrapperr {
    width: 100%;
    height: 589px;
    background: url('/bitrix/templates/E-gorc/img/job-listing-bg.png') no-repeat center bottom;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -124px;
}

/* Hero Section */
.hero {
    width: 1440px;
    height: 465px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: transparent;
    overflow: visible;
}

.hero-content {
    width: 670px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    color: #061C3D;
    text-align: center;
    font-family: "Lexend Deca";
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 52px;
    letter-spacing: -0.72px;
}

.hero-subtitle {
    margin-top: 12px;
    color: #334155;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

/* Programs Section */
.programs-section {
    width: 1440px;
    margin: 36px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.programs-content {
    width: 100%;
    max-width: 1440px;
}

.program-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.program-card {
    display: flex;
    width: calc(50% - 12px);
    border-radius: 12px;
    box-shadow: 0px 2px 4px 0px #F1F5F9;
    box-sizing: border-box;
}

.program-content {
    display: flex;
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 1px solid #E6E8EC;
    background: var(--color-surface-page, #FFF);
    width: 100%;
    box-sizing: border-box;
}

.program-title {
    color: #061C3D;
    font-family: Inter;
    font-size: var(--size-elements-180, 18px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--type-lineHeight-sub-2, 24px);
    letter-spacing: -0.36px;
}

.program-meta {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-icon {
    width: 18px;
    height: 18px;
}

.meta-date {
    color: #94A3B8;
    font-family: Inter;
    font-size: var(--type-fontSize-label-1, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--type-lineHeight-body-2, 18px);
    letter-spacing: -0.28px;
}

.program-details {
    display: flex;
    align-items: center;
    gap: 24px;
}

.program-amount, .program-period {
    display: flex;
    align-items: center;
    gap: 8px;
}

.amount-label, .period-label {
    color: #94A3B8;
    font-family: Inter;
    font-size: var(--type-fontSize-label-1, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--type-lineHeight-body-2, 18px);
}

.amount-tag {
    display: flex;
    padding: 4px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
    background: #EDF2FF;
}

.amount-tag span {
    color: var(--color-text-information, #4772EA);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.period-tag {
    display: flex;
    padding: 4px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
    background: var(--color-surface-warning, #FEF3C7);
}

.period-tag span {
    color: var(--color-text-warning, #F59E0B);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px;
    text-transform: capitalize;
}

.program-description {
    color: var(--color-text-subtitle, #334155);
    font-family: var(--type-fontFamily-body, Inter);
    font-size: var(--type-fontSize-sub-2, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--type-lineHeight-sub-2, 24px);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 48px; /* 24px * 2 строки */
    width: 100%;
}

.program-organizer {
    display: flex;
    padding-top: 16px;
    justify-content: space-between; 
    align-items: center;
    align-self: stretch;
    border-top: 1px solid #E6E8EC;
    gap: 16px;
}

.organizer-logo-box {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 7.5px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 0.5px solid #E6E8EC;
}

.organizer-logo {
    width: 25px;
    height: 25px;
}

.organizer-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.organizer-label {
    color: #94A3B8;
    font-family: var(--type-fontFamily-body, Inter);
    font-size: var(--type-fontSize-label-2, 12px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--type-lineHeight-label-2, 16px);
}

.organizer-name {
    color: #061C3D;
    font-family: Inter;
    font-size: var(--type-fontSize-body-1, 14px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--type-lineHeight-body-1, 20px);
    letter-spacing: -0.28px;
}

.organizer-icon {
    width: 24px;
    height: 24px;
}

.organizer-icon-link,
.organizer-icon {
    margin-left: auto; 
}

.organizer-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; 
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 40px;
}

.pagination-btn {
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.pagination-btn:disabled .pagination-icon,
.pagination-btn:disabled .pagination-text {
    opacity: 0.38;
}

.pagination-btn:not(:disabled) {
    color: #061C3D;
    font-family: Lexend;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 48px;
    text-transform: capitalize;
}

.pagination-btn:hover:not(:disabled) {
    color: #061C3D;
}

.pagination-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.next-btn .pagination-icon {
    margin-right: 0;
    margin-left: 8px;
}

.pagination-text {
    color: #061C3D;
    font-family: Lexend;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 48px;
    text-transform: capitalize;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.page-number {
    display: flex;
    padding: 14px 18px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: #061C3D;
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
}

.page-number.active {
    background: #061C3D;
    color: #FFF;
}

.page-number:hover:not(.active) {
    background: #F1F5F9;
}

/* =========================================================
   E-gorc Program Listing Mobile Styles
   ========================================================= */

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        background: #F8FAFC;
        align-items: stretch;
    }

    .main-wrapperr {
        width: 100%;
        height: auto;
        min-height: 292px;
        margin-top: 0;
        padding: 0 16px 24px;
        box-sizing: border-box;
        background: url('/bitrix/templates/E-gorc/img/job-listing-bg.png') no-repeat center top;
        background-size: cover;
    }

    .hero {
        width: 100%;
        height: auto;
        padding-top: 24px;
        align-items: center;
        justify-content: flex-start;
        overflow: visible;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-title {
        max-width: 380px;
        margin: 0 auto;
        color: #061C3D;
        text-align: center;
        font-family: "Lexend Deca", sans-serif;
        font-size: 30px;
        font-weight: 600;
        line-height: 38px;
        letter-spacing: -0.6px;
    }

    .hero-subtitle {
        max-width: 380px;
        margin: 12px auto 0;
        color: #334155;
        text-align: center;
        font-family: Inter, sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }

    .programs-section {
        width: 100%;
        max-width: 100%;
        margin: 24px auto 0;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .programs-content {
        width: 100%;
        max-width: 100%;
    }

    .program-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .program-card {
        width: 100%;
        max-width: 100%;
        display: flex;
        border-radius: 12px;
        background: #FFF;
        border: 1px solid #E6E8EC;
        box-shadow: 0 2px 4px 0 #F1F5F9;
        box-sizing: border-box;
        overflow: hidden;
    }

    .program-content {
        width: 100%;
        padding: 14px;
        gap: 8px;
        border: none;
        border-radius: 12px;
        background: #FFF;
        box-sizing: border-box;
    }

    .program-title {
        color: #061C3D;
        font-family: Inter, sans-serif;
        font-size: 18px;
        font-weight: 500;
        line-height: 22px;
        letter-spacing: -0.36px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .program-meta {
        width: 100%;
        display: flex;
        align-items: flex-start;
        gap: 6px;
    }

    .meta-icon {
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
        margin-top: 1px;
    }

    .meta-date {
        color: #94A3B8;
        font-family: Inter, sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: -0.24px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .program-details {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .program-amount,
    .program-period {
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
    }

    .amount-label,
    .period-label {
        color: #94A3B8;
        font-family: Inter, sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        white-space: nowrap;
    }

    .amount-tag,
    .period-tag {
        min-height: 22px;
        padding: 3px 10px;
        border-radius: 50px;
        box-sizing: border-box;
        white-space: nowrap;
    }

    .amount-tag span,
    .period-tag span {
        font-family: Inter, sans-serif;
        font-size: 12px;
        font-weight: 500;
        line-height: 16px;
    }

    .program-description {
        width: 100%;
        color: #334155;
        font-family: Inter, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        max-height: 60px;
        -webkit-line-clamp: 3;
    }

    .program-organizer {
        width: 100%;
        margin-top: 4px;
        padding-top: 10px;
        gap: 10px;
        border-top: 1px solid #E6E8EC;
        box-sizing: border-box;
    }

    .organizer-logo-box {
        width: 32px;
        height: 32px;
        padding: 5px;
        flex: 0 0 32px;
        border-radius: 4px;
        box-sizing: border-box;
    }

    .organizer-logo {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }

    .organizer-info {
        min-width: 0;
        gap: 2px;
        flex: 1;
    }

    .organizer-label {
        color: #94A3B8;
        font-family: Inter, sans-serif;
        font-size: 12px;
        line-height: 16px;
    }

    .organizer-name {
        color: #061C3D;
        font-family: Inter, sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 18px;
        letter-spacing: -0.28px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .organizer-icon-link,
    .organizer-icon {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        margin-left: auto;
    }

    .organizer-icon-link {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .organizer-icon-link .organizer-icon {
        margin-left: 0;
    }

    .loader {
        width: 100%;
        padding: 24px 0 !important;
        color: #334155;
        font-family: Inter, sans-serif;
        font-size: 14px;
        line-height: 20px;
    }

    .spinner {
        width: 28px;
        height: 28px;
        margin: 0 auto 8px;
        border: 3px solid #E6E8EC;
        border-top-color: #061C3D;
        border-radius: 50%;
        animation: programMobileSpin 0.8s linear infinite;
    }

    @keyframes programMobileSpin {
        to {
            transform: rotate(360deg);
        }
    }

    .no-programs,
    .no-more {
        width: 100%;
        padding: 24px 16px;
        border-radius: 12px;
        background: #FFF;
        color: #334155;
        text-align: center;
        font-family: Inter, sans-serif;
        font-size: 16px;
        line-height: 24px;
        box-sizing: border-box;
    }

    .pagination {
        width: 100%;
        gap: 6px;
        margin: 16px 0 28px;
        flex-wrap: nowrap;
    }

    .pagination-btn {
        padding: 8px 10px;
        min-width: 42px;
    }

    .pagination-text {
        font-size: 14px;
        line-height: 20px;
    }

    .pagination-icon {
        width: 16px;
        height: 16px;
        margin-right: 4px;
    }

    .next-btn .pagination-icon {
        margin-left: 4px;
    }

    .pagination-numbers {
        gap: 4px;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .page-number {
        min-width: 34px;
        height: 34px;
        padding: 0;
        border-radius: 8px;
        font-size: 14px;
        line-height: 20px;
    }

    .page-number.active,
    .page-number:hover:not(.active) {
        padding: 0;
    }
}

@media (max-width: 390px) {
    .main-wrapperr {
        padding-left: 12px;
        padding-right: 12px;
        min-height: 268px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 34px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 21px;
    }

    .programs-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .program-content {
        padding: 12px;
    }

    .program-title {
        font-size: 16px;
        line-height: 21px;
    }

    .program-details {
        gap: 8px;
    }

    .amount-label,
    .period-label,
    .amount-tag span,
    .period-tag span {
        font-size: 11px;
    }

    .program-description {
        font-size: 13px;
        line-height: 19px;
        max-height: 57px;
    }

    .pagination-btn {
        min-width: 36px;
        padding: 8px 6px;
    }

    .pagination-text {
        font-size: 13px;
    }

    .page-number {
        min-width: 32px;
        height: 32px;
    }
}
/* End */
/* /bitrix/templates/E-gorc/css/program-listing.css?177945604217488 */
