/* Remote First Block Styles */

.remote-first-block {
    background: #000;
    position: relative;
    padding: 80px 0;
    width: 100vw;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    margin-bottom: 80px;
}

.remote-first-block .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Center Heading */
.remote-first-block .center-heading {
    text-align: center;
    margin: 0px auto 60px;
    max-width: 900px;
}

.remote-first-block .title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #ffffff;
}

.remote-first-block .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Content */
.remote-first-block .left-content {
    color: #ffffff;
}

/* Expandable Items */
.remote-first-block .expandable-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.remote-first-block .expandable-item {
    background: none;
    border: none;
    overflow: visible;
    transition: all 0.3s ease;
    position: relative;
}


.remote-first-block .expandable-item.active {
    background: none;
}

.remote-first-block .item-header {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
}

.remote-first-block .item-header:active {
    outline: none;
    background: none;
}

.remote-first-block .item-header:hover {
    color: #cccccc;
}

.remote-first-block .item-title {
    flex: 1;
}

.remote-first-block .item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    color: #888;
    margin-left: 4px;
}

.remote-first-block .expandable-item.active .item-icon {
    transform: rotate(90deg);
    color: #ffffff;
}

.remote-first-block .item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.remote-first-block .expandable-item.active .item-content {
    max-height: 500px;
}

.remote-first-block .content-box {
    padding: 0 0 20px 0;
    color: #cccccc;
    line-height: 1.6;
    font-size: 16px;
}

.remote-first-block .content-box p {
    margin: 0 0 12px 0;
    font-size: 16px;
}

.remote-first-block .content-box p:last-child {
    margin-bottom: 0;
}

.remote-first-block .content-box strong {
    font-weight: 600;
    color: #ffffff;
}

/* Right Content */
.remote-first-block .right-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
}

.remote-first-block .video-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: #000;
}

.remote-first-block .panel-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: contain;
    object-position: center;
}

/* Responsive Design */
@media (max-width: 768px) {
        .remote-first-block .title {
        font-size: 22px;
    }
    .remote-first-block {
        padding: 60px 0;
    }
    
    .remote-first-block .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .remote-first-block .title {
        font-size: 24px;
    }
    
    .remote-first-block .center-heading {
        margin-bottom: 40px;
    }
    
    .remote-first-block .item-header {
        padding: 14px 0;
        font-size: 16px;
    }
    
    .remote-first-block .content-box {
        padding: 0 0 16px 0;
    }
    
    .remote-first-block .right-content {
        padding-top: 0;
    }
    
    .remote-first-block .video-container {
        max-width: 100%;
        overflow: hidden;
        padding: 0;
        background: #000;
        display: block;
        height: auto;
        min-height: auto;
    }
    
    .remote-first-block .panel-video {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .remote-first-block .container {
        padding: 0 15px;
    }
    
    .remote-first-block .title {
        font-size: 22px;
    }
    
    .remote-first-block .center-heading {
        margin-bottom: 30px;
    }
    
    .remote-first-block .item-header {
        padding: 12px 0;
        font-size: 14px;
    }
    
    .remote-first-block .content-box {
        padding: 0 0 14px 0;
    }
    
    .remote-first-block .content-box p {
        font-size: 14px;
    }
    
    .remote-first-block .right-content {
        padding-top: 0;
    }
    
    .remote-first-block .video-container {
        max-width: 100%;
        overflow: hidden;
        padding: 0;
        background: #000;
        display: block;
        height: auto;
        min-height: auto;
    }
    
    .remote-first-block .panel-video {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
        margin: 0;
    }
}

/* Animation Classes */
.remote-first-block .expandable-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.remote-first-block .expandable-item:nth-child(1) { animation-delay: 0.1s; }
.remote-first-block .expandable-item:nth-child(2) { animation-delay: 0.2s; }
.remote-first-block .expandable-item:nth-child(3) { animation-delay: 0.3s; }
.remote-first-block .expandable-item:nth-child(4) { animation-delay: 0.4s; }
.remote-first-block .expandable-item:nth-child(5) { animation-delay: 0.5s; }
.remote-first-block .expandable-item:nth-child(6) { animation-delay: 0.6s; }
.remote-first-block .expandable-item:nth-child(7) { animation-delay: 0.7s; }
.remote-first-block .expandable-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus States for Accessibility */
.remote-first-block .item-header:focus {
    outline: none;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .remote-first-block .expandable-item {
        border: 2px solid #ffffff;
    }
    
    .remote-first-block .expandable-item.active {
        border-color: #007cba;
    }
}
