.box-form {
    border: 1px solid #FBFBFB;
    border-radius: 6px;
    padding: 15px 2px;
    background: #FBFBFB;
    margin: 10px 0;
}

.markers {
    margin: 0 0 17px 16px;
    padding: 0 0 0 0;
}

.markers li::marker {
    color: #539E53;
    font-size: 18px;
}

.markers-vacation-description {
    margin: 0 0 0 40px;
    padding: 0 0 0 0;
}

.markers-vacation-description li::marker {
    color: #539E53;
    font-size: 18px;
}

.vocation-location {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.vocation-circle {
    --vocation-circle-size: 32px;
    flex-shrink: 0;
    width: var(--vocation-circle-size);
    height: var(--vocation-circle-size);
    background-color: black;
    border-radius: 50%;
}

.vocation-location-name {
    font-size: 18px;
    color: #AFADA4;
}

.vocation-detailed-name {
    font-size: 20px;
    color: var(--primary);
}

.close-button {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #FBFBFB;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin: 0;
    outline: none;
}

.close-button::before,
.close-button::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 1px;
    background-color: #000;
    border-radius: 2px;
    top: 26px;
    left: 16px;
}

.close-button::before {
    transform: rotate(45deg);
}

.close-button::after {
    transform: rotate(-45deg);
}

.close-button:hover {
    background: #e0e0e0;
}

.blog-list {
    display:flex;
    flex-direction:column;
    gap:40px;
}

.radio-tabs {
    display: inline-flex;
    border: 1px solid #B9B9B9;
    border-radius: 50px;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    background-color: #FFFFFF;
    overflow: hidden;

}

.radio-tabs input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-tabs label {
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.radio-tabs .selection-indicator {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    background-color: #F4F3EF;
    border-radius: 50px;
    z-index: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1.0);
}

.radio-tabs input[type="radio"]:checked + label {
    color: #2c2c2c;
    font-weight: 500;
}
.radio-tabs input[type="radio"]:checked + label:hover {
    transform: none;
    cursor: default;
    outline:none;
}


.radio-tabs label:hover {
    /*background-color:#DDDAD0;*/
    outline:1px solid #539E53;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.radio-tabs label:active {
    transform: scale(0.98);
}


.radio-tabs label span {
    display: inline-block;
    transition: transform 0.1s ease;
}

.radio-tabs input[type="radio"]:checked + label span {
    transform: scale(1.05);
}

.col {
    display: none;
}

.col:nth-child(-n+4) {
    display: block;
}

.card {

    background-color: #F4F3EF;
    border:none;
}


.blog-list .col {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.2s cubic-bezier(0.25, 0.1, 0.25, 1.0) calc(var(--index) * 0.1s), transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.0) calc(var(--index) * 0.1s);

}

.blog-list .col.animate {
    opacity: 1;
    transform: translateX(0);
}
.blog-list.animation-1 .col {
}

/* Вариант 2: Анимация fade-in */
.blog-list.animation-2 .col.animate {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Вариант 3: Анимация scale-in */
.blog-list.animation-3 .col.animate {
    animation: scaleIn 0.6s ease forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Вариант 4: Анимация slide-in слева */
.blog-list.animation-4 .col.animate {
    animation: slideInLeft 0.7s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.list-item {
    display:flex;
    flex-direction:column;
    height: 100%;
    gap:15px;

}

.date-tag {
    font-size: 14px;
    color: #AFADA4;
}

.img-post {
    border-radius: 10px;
    transition: transform 0.5s ease;
}
.video-post {
    border-radius: 10px;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66%; /* Соотношение 16:9 */
    overflow: hidden;
}
.video-post  iframe,
.video-post  video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


.detail-button {

}

.detail-button:hover {
    background-color: #308630;
}
.detail-button:active {
    background-color: #216021;
    transform: scale(0.98);
}
.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show{
    background-color: #216021;
}
.min-w{
    min-width:350px;
}
.pages-container{
    display:flex;
    justify-content: space-between;
    align-items:center;
}
.button-group{
    background-color:#F4F3EF;
    border-radius:38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
}
.button-group-item {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.button-group-item img{
    height: 16px;
    width: 8px;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.button-group-item:hover:not(:disabled){
    background-color:#FFFFFF;
}
.button-group-item:active:not(:disabled){
    transform: scale(0.90);
}
.button-group-item:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: scale(1);
}
.button-group-item:disabled img {
    filter: grayscale(100%);
}

.radio-strip {
    display: flex;
    width: 50%;
    height: 4px;
    background: #F4F3EF;
    border-radius: 20px;
    position: relative;
}

.radio-segment {
    flex: 1;
    height: 6px;
    position: relative;
    z-index: 1;
}

.radio-segment input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-segment label {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-align: center;
    line-height: 32px;
    font-weight: 500;
    color: #666;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.radio-strip::before {
    content: '';
    position: absolute;
    width: 20%;
    height: 6px;
    background: #539E53;
    border-radius: 16px;
    transition: all 0.3s ease;
    z-index: 1;
}

.radio-strip[data-selected="1"]::before { left: 4px; }
.radio-strip[data-selected="2"]::before { left: calc(20% + 4px); }
.radio-strip[data-selected="3"]::before { left: calc(40% + 4px); }
.radio-strip[data-selected="4"]::before { left: calc(60% + 4px); }
.radio-strip[data-selected="5"]::before { left: calc(80% + 4px); }

.radio-segment input[type="radio"]:checked + label {
    color: white;
}


.radio-segment:hover label {
    color: #007bff;
}




@media (max-width: 1200px) {

    .title-page{
        font-size: 2rem;
    }
    .radio-tabs {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }
    .radio-tabs label {
        padding: 8px 16px;
        font-size:16px;
    }

    .date-tag {
        font-size: 12px;
    }
    .title-post{
        font-size: 18px;
    }
    .detail-button {
        font-size: 14px;
    }
}
@media (max-width: 375px) {
    .title-page{
        font-size: 20px;
    }
    .radio-tabs {
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }
    .radio-tabs label {
        padding: 6px 12px;
        font-size:12px;
    }

    .date-tag {
        font-size: 10px;
    }
    .title-post{
        font-size: 16px;
    }
    .detail-button {
        font-size: 12px;
    }
}

/* Стили для индикатора загрузки */
.scroll-loader {
    text-align: center;
    padding: 20px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
}

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

