/* Ana stil dosyası */
.featured-section .nav {
    flex-wrap: nowrap;
    overflow: hidden;
    overflow-x: auto;
    text-wrap: nowrap;
}


.article-image img {
    max-width: 100%;
}

.author-avatar img {
    max-width: 100%;
}

html {
    overflow-x: hidden;
}

.tweet-media-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tweet-media-item {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    background: #19232eb0;
    display: flex;
    justify-content: center;
    align-items: center;

}

.tweet-media-grid:only-child .tweet-media-item {
    flex: 1 1 100%;
    max-width: 100%;

    height: auto;
}

.featured-section .feed-wrapper .x-scroll .x-feed .tweet .x-content .x-media img {
    object-position: top;
}

.tweet-media-grid:has(.tweet-media-item:nth-child(2)) .tweet-media-item {
    flex: 1 1 calc(50% - 8px);
}

.tweet-media-grid:has(.tweet-media-item:nth-child(4)) .tweet-media-item {
    flex: 1 1 calc(50% - 8px);
}

.tweet-media-item img {
    width: 100%;
    height: 100% !important;
    /* max-width: 100%; */
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.tweet-media-item:hover img {
    transform: scale(1.03);
}

.video-thumb {
    position: relative;
    display: inline-block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    opacity: 0.85;
    transition: background 0.3s, transform 0.2s;
}

.video-thumb:hover .play-button {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 768px) {
    .tweet-media-item {
        flex: 1 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
        height: 320px;
    }
}

@media (max-width: 480px) {
    .tweet-media-item {
        /* flex: 1 1 100%; */
        max-width: 100%;
        height: 140px;

    }
}

@media (max-width: 640px) {
    .thisM .content-item .content-media {
        max-width: 100% !important;
    }

    .thisM .content-item .content-media img {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
  .mobile-reverse {
    display: flex;
    flex-direction: column-reverse;
  }
}
