

/* Start:/local/templates/vahtovichkof/components/bitrix/news.detail/vacancies/style.css?175069313211423*/
.job-card {
    background: #fff;
    padding: 20px 0;
    font-family: sans-serif;
    width: 80%;
}

.job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1%;
}

.brand-logo {
    width: 160px;
    height: auto;
}

.brand-icon {
    width: 60px;
    height: auto;
}

.company-desc {
    text-align: left;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.job-text-block {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 16px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.job-text-block ul {
    padding-left: 20px;
    margin: 10px 0;
}

.photo-section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 30px 0 15px;
    text-align: center;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 в ряд */
    gap: 10px;
    margin-bottom: 30px;
}

.photo-grid img {
    width: 100%; /* автоматическая ширина ячейки */
    border-radius: 8px;
    object-fit: cover;
    height: auto;
}

.job-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-work {
    background: #d40000;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

.btn-call {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 26px;
    background-color: transparent;
    border: 1px solid;
    border-radius: 20px;
    font-size: 20px;
    color: #4c4c4c;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background 0.2s ease;
}

.btn-back:hover {
    background-color: #f2f2f2;
}

.photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.photo-grid img {
    width: calc(33.3% - 10px);
    border-radius: 8px;
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.video-grid iframe {
    width: 100%;
    max-width: 350px;
    height: 200px;
    border-radius: 8px;
}
.company-block,
.job-summary-fallback {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 25px;
    font-size: 16px;
    color: #222;
    line-height: 1.6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.company-block h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.company-block p {
    margin: 0;
    color: #444;
}

.job-summary-fallback li {
    margin-bottom: 6px;
    list-style: disc;
    padding-left: 5px;
}

.job-summary-fallback li strong {
    font-weight: 600;
    color: #000;
}

.job-description,
.job-preview-text {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 25px;
    font-size: 16px;
    color: #222;
    line-height: 1.6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.job-description p,
.job-preview-text p {
    margin-bottom: 10px;
}

.job-description ul,
.job-preview-text ul {
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.job-description li,
.job-preview-text li {
    margin-bottom: 6px;
}
.jobs-block__buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.jobs-block__buttons__apply {
    background-color: #d40000;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.jobs-block__buttons__apply:hover {
    background-color: #b30000;
}

.jobs-block__buttons__contact {
    background-color: white;
    color: #d40000;
    border: 2px solid #d40000;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background 0.2s ease-in-out;
}

.jobs-block__buttons__contact:hover {
    background-color: #ffe5e5;
}

.living-swiper,
.work-swiper{
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.living-swiper .swiper-slide,
.work-swiper .swiper-slide {
    width: 250px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f9f9f9;
}

.living-swiper .swiper-slide img,
.work-swiper .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Стрелки */
.living-swiper .swiper-button-next,
.living-swiper .swiper-button-prev,
.work-swiper .swiper-button-next,
.work-swiper .swiper-button-prev{
    color: #d40000;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    z-index: 10;
}

.living-swiper .swiper-button-prev,
.work-swiper .swiper-button-prev{
    left: 10px;
}

.living-swiper .swiper-button-next,
.work-swiper .swiper-button-next{
    right: 10px;
}

.video-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 20px;
}

.video-review iframe {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.job-bonuses-block {
    border: 2px solid #d40000;
    background-color: #fef5f5;
    padding: 20px;
    margin-top: 30px;
    border-radius: 8px;
    width: 500px;
}

.job-bonuses-block h3 {
    font-size: 18px;
    font-weight: bold;
}

.job-bonuses-text {
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
}

.job-rating-top {
    font-size: 16px;
    font-weight: 600;
    color: #4a5a6a;
    background: #f9f9f9;
    border-radius: 20px;
    padding: 6px 12px;
    text-decoration: none;
    transition: background 0.3s;
    float: right;
    margin-top: -60px;
}
.job-rating-top:hover {
    background: #ececec;
}

.job-rating-top::before {
    content: "★";
    color: #ff9900;
    margin-right: 5px;
}

.job-reviews-section {
    margin-top: 40px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.review-summary {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: right;
}

.review-summary__star {
    color: orange;
    margin-right: 4px;
}

.review-list {
    margin-bottom: 30px;
}

.review-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #eee;
    text-align: center;
    line-height: 35px;
    font-weight: bold;
    margin-right: 10px;
}

.review-info {
    flex-grow: 1;
}

.review-rating .review-star {
    color: #ccc;
    font-size: 20px;
}

.review-rating .review-star.active {
    color: orange;
}

.review-text {
    margin-top: 10px;
}

#review-form textarea {
    width: 100%;
    min-height: 80px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#review-form .btn-submit {
    background-color: #d40000;
    color: #fff;
    border: none;
    padding: 8px 16px;
}

.review-auth-warning {
    font-size: 14px;
    color: #555;
    background: #ffecec;
    padding: 10px;
    border: 1px dashed #ccc;
}
#review-form {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 8px;
    max-width: 100%;
}

#review-form h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.review-stars {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.review-stars input[type="radio"] {
    display: none;
}

.review-stars label {
    font-size: 20px;
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s ease-in-out;
}

.review-stars input[type="radio"]:checked ~ label {
    color: #FFD700;
}

/* Подсвечивать все до выбранной */
.review-stars label:hover,
.review-stars label:hover ~ label {
    color: #FFD700;
}

#review-form textarea {
    width: 100%;
    height: 100px;
    resize: vertical;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    font-family: inherit;
}

#review-form button {
    background: #d40000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

#review-form button:hover {
    background: #aa0000;
}

#review-form .review-rating {
    direction: rtl; /* чтобы звёзды визуально шли справа налево */
    unicode-bidi: bidi-override;
    font-size: 24px;
    display: inline-flex;
    gap: 5px;
}

#review-form .review-rating input {
    display: none;
}

#review-form .review-rating label {
    cursor: pointer;
    color: #ccc; /* серые звёзды */
    transition: color 0.2s ease;
}

#review-form .review-rating input:checked ~ label,
#review-form .review-rating label:hover,
#review-form .review-rating label:hover ~ label {
    color: gold; /* жёлтые при наведении и выборе */
}

.review-success-message {
    margin-top: 15px;
    background: #e7fbe7;
    color: #26733a;
    padding: 10px 15px;
    border: 1px solid #b0e5b0;
    border-radius: 5px;
}

.your-review-label {
    font-size: 15px;
    color: #cc0000;
    margin: 4px;
}

.review-status {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.your-review {
    border: 2px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    background: #f7f8f9;
}

.no-reviews {
    padding: 25px;
    background: #fff6f6;
    border: 1px solid #ffcccc;
    color: #cc0000;
    text-align: center;
    font-weight: 500;
    font-size: 17px;
    border-radius: 8px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .job-bonuses-block {
        padding: 10px;
        width: 100%;
    }

    .job-bonuses-block h3 {
        font-size: 16px;
    }

    .job-bonuses-text {
        font-size: 14px;
    }
    .living-swiper .swiper-slide,
    .work-swiper .swiper-slide{
        width: 90%;
        margin: 0 auto;
    }

    /*.living-swiper .swiper-button-next,
    .living-swiper .swiper-button-prev {
        display: none;
    }*/
}

@media screen and (max-width: 600px) {
    .job-card{
        width: 95%;
    }
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-call {
        width: 50px;
        height: 50px;
    }
}

/* End */
/* /local/templates/vahtovichkof/components/bitrix/news.detail/vacancies/style.css?175069313211423 */
