/* Container */
.container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 2rem;
    padding: 2rem;
    position: relative;
}

/* Article Details */
.article-details {
    width: 100%;
    animation: fadeEffect 1s ease-in-out;
}

.article-details-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(transparent, rgba(24, 24, 27, 0.9));
}

.article-title {
    font-size: 3rem;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 1rem;
}

.article-meta-info {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.article-meta-info span {
    padding: 0.5rem 1rem;
    background: rgba(255, 190, 85, 0.1);
    color: #FFBE55;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Article Sections */

.article-gallery {
    background: #27272A;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 3rem;
    border: 2px solid transparent;
    overflow: hidden;
    position: relative;
    transition: all 1s ease;
}


.article-overview {
    background: #27272A;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid transparent;
    transition: all 1s ease;
}

/*.article-overview:hover,*/ .article-gallery:hover {
    border-color: #FFBE55;
    background: #323232;
}

h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FFBE55;
}

p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Article Content Styles */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h3 {
    color: #FFBE55;
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
}

.article-content ul, .article-content ol {
    color: #ccc;
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid #FFBE55;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #aaa;
}

.article-content code {
    background: rgba(255, 190, 85, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    color: #FFBE55;
}

/* Image Styles */

.article-image-content {
    margin: 2rem 0;
    position: relative;
}
.article-image {
    width: 50%;
    border-radius: 10px;
    margin: 2rem 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.image-caption {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    /*object-fit: cover;*/
}

.video-container video::-webkit-media-controls-enclosure {
    overflow: hidden;
}

.video-container video::-webkit-media-controls-panel {
    width: calc(100% + 30px);
}


/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .article-meta-info {
        flex-wrap: wrap;
    }

    .article-overview, .article-gallery {
        padding: 1.5rem;
    }
}

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