* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.mediaArticleWrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.primaryContentSection {
    flex: 2;
    min-width: 300px;
}

.sidebarContentArea {
    flex: 1;
    min-width: 300px;
}

/* Video Player */
.videoPlaybackModule {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #1a1a1a;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInEffect 1s ease-in;
}

#videoContent {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

#videoContent:-webkit-full-screen,
#videoContent:-moz-full-screen,
#videoContent:-ms-fullscreen,
#videoContent:fullscreen {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
}

.videoControlOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
}

.videoControlToggle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.videoControlToggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

.playIcon {
    display: inline;
    font-size: 32px;
    color: #fff;
}

.pauseIcon {
    display: none;
    font-size: 32px;
    color: #fff;
}

.videoControlToggle.paused .playIcon {
    display: none;
}

.videoControlToggle.paused .pauseIcon {
    display: inline;
}

.customVideoControls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.videoPlaybackModule:hover .customVideoControls {
    opacity: 1;
}

#videoContent:-webkit-full-screen ~ .customVideoControls,
#videoContent:-moz-full-screen ~ .customVideoControls,
#videoContent:-ms-fullscreen ~ .customVideoControls,
#videoContent:fullscreen ~ .customVideoControls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 15px;
    opacity: 1;
}

.controlBtn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    margin-right: 10px;
    transition: color 0.3s, transform 0.3s;
}

.controlBtn:hover {
    color: #ff8e53;
    transform: scale(1.1);
}

.playPause .pauseIcon {
    display: none;
}

.playPause.paused .playIcon {
    display: none;
}

.playPause.paused .pauseIcon {
    display: inline;
}

.mute .unmuteIcon {
    display: none;
}

.mute.muted .muteIcon {
    display: none;
}

.mute.muted .unmuteIcon {
    display: inline;
}

.progressContainer {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progressBar {
    flex: 1;
    -webkit-appearance: none;
    height: 5px;
    background: #555;
    border-radius: 5px;
    cursor: pointer;
}

.progressBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #ff6b6b;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.timeDisplay {
    color: #fff;
    font-size: 12px;
}

/* Ads */
.bannerAdLarge, .squareAdMedium {
    margin: 20px 0;
    text-align: center;
    animation: slideInEffect 0.5s ease-out;
}

.bannerAdLarge img, .squareAdMedium img {
    width: 100%;
    max-width: 728px;
    height: auto;
}

/* Article Content */
.articleTextContainer {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    animation: fadeInEffect 1s ease-in;
}

.articleHeadline {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.publicationDate {
    color: #666;
    margin-bottom: 20px;
}

.posterTextBlock {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.filmPosterImage {
    width: 172px;
    height: 256px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    animation: slideInEffect 0.5s ease-out;
}

.sideParagraph {
    flex: 1;
    line-height: 1.6;
}

.articleMainBody p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Share Button */
.shareLinkTrigger {
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.shareLinkTrigger:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.shareNotification {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #28a745;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    animation: popInEffect 0.3s ease-out;
}

/* Related Posts */
.suggestedArticlesPanel {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: fadeInEffect 1s ease-in;
}

.suggestedArticlesPanel h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    border-bottom: 2px solid #ff8e53;
    padding-bottom: 5px;
}

.suggestedArticlesPanel ul {
    list-style: none;
}

.relatedPostItem {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.relatedPostItem:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.relatedPostImage {
    width: 100px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.relatedPostItem:hover .relatedPostImage {
    transform: scale(1.05);
}

.relatedPostTitle {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.relatedPostTitle:hover {
    color: #ff6b6b;
}

/* Upcoming Events */
.futureEventsWidget {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: #fff;
    animation: fadeInEffect 1s ease-in;
}

.futureEventsWidget h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ff8e53;
}

.futureEventsWidget ul {
    list-style: none;
}

.eventItem {
    margin-bottom: 10px;
    padding: 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: relative;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    transition: transform 0.3s ease;
}

.eventItem:hover {
    transform: scale(1.02);
}

/* Animations */
@keyframes fadeInEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes popInEffect {
    from { transform: translate(-50%, -50%) scale(0); }
    to { transform: translate(-50%, -50%) scale(1); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mediaArticleWrapper {
        flex-direction: column;
    }
    .primaryContentSection, .sidebarContentArea {
        flex: 1;
        width: 100%;
    }
    .posterTextBlock {
        flex-direction: column;
    }
    .filmPosterImage {
        width: 100%;
        max-width: 172px;
    }
    .sideParagraph {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .articleHeadline {
        font-size: 1.5rem;
    }
    .videoControlToggle {
        width: 60px;
        height: 60px;
    }
    .playIcon, .pauseIcon {
        font-size: 24px;
    }
    .bannerAdLarge img {
        max-width: 100%;
    }
    .controlBtn {
        font-size: 16px;
    }
    .timeDisplay {
        font-size: 10px;
    }
    .relatedPostImage {
        width: 80px;
        height: 120px;
    }
    .relatedPostTitle {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }
}




.videoPlaybackModule iframe {
    width: 100%;
    height: 400px; /* Adjust to match your design */
    max-width: 100%;
    border: none;
}