/* Patch Header */
.patch-header {
    text-align: center;
    margin-bottom: 40px;
}

.patch-header h1 {
    font-size: 2.5rem;
    color: rgb(230, 230, 230)
    ;
}

.patch-header p {
    color: #aaa;
    margin-top: 10px;
}

/* Patch Section Styling */
.patch-section {
    padding: 5px;
    margin-bottom: 40px;
    background-color: rgba(50, 50, 50, 0.7);
    border-left: 5px solid #7d4cae;
}

.patch-section h2 {
    color: rgb(230, 230, 230)
;
    font-size: 1.8rem;
    margin-bottom: 40px;
    margin-left: 15px;
}

.patch-section h3 {
    color: #e4c26d;
    margin-top: 15px;
    margin-bottom: 10px;
    margin-left: 15px;
}

.patch-section p {
    line-height: 1.6;
    margin-bottom: 10px;
    margin-left: 15px;
}

.patch-section ul {
    list-style: disc;
    margin-left: 35px;
}

/* Images in Section */
.patch-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #333;
}

.patch-image-side {
    width: 30%;
    min-width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* New Character Section */
.new-character {
    background-color: rgba(50, 50, 50, 0.7);
    border-left: 5px solid #7d4cae;
    padding: 20px;
    margin-top: 20px;
}

/* Footer */
.footer {
    text-align: center;
    color: #555;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* Preview Box Styling */
.patch-preview {
    flex: 1; /* take remaining space next to slider */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid #dddddd9f;
    background-color: rgba(30, 30, 30, 0);
    border-radius: 2px;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.patch-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px #1A1A1D;
}

.patch-preview .patch-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.patch-preview h3 {
    color:  #7a5af8a1;
    margin-bottom: 10px;
}

.patch-preview p {
    color: rgb(230, 230, 230);

    margin-bottom: 10px;
}

.patch-preview ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.patch-preview ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    
}

.patch-preview ul li::before {
    content: "•";
    color: rgb(230, 230, 230);
    position: absolute;
    left: 0;
}

.patch-preview .cta-button {
    background: 
   
    #7a5af8a1;


    color: rgb(230, 230, 230);
    text-align: center;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.patch-preview .cta-button:hover {
    background-color: #1A1A1D;
    color: rgb(230, 230, 230);
}

/* Layout Wrapper for Slider and Preview */
.slider-container-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: stretch; /* Ensures equal height */
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-container {
    width: 40%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    border: 1px solid #dddddd9f;
    z-index: 43;
}

/* Flex Layout for Patch Sections */
.flex-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* Responsive wrap */
}

.patch-section.flex-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.patch-text {
    flex: 1;
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .flex-layout,
    .patch-section.flex-layout {
        flex-direction: column;
    }

    .patch-image-side {
        width: 100%;
    }

    .slider-container-wrapper {
        flex-direction: column;
    }

    .slider-container,
    .patch-preview {
        width: 100%;
        max-width: 100%;
    }
}
