.social-carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.custom-feed-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    flex: 1;
}

.iframe-trigger iframe {
  pointer-events: none;
}

.social-double-arrow-btn {
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid rgba(6, 10, 9, 0.2);
    border-radius: 1000px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-double-arrow-btn .divider {
    width: 1px;
    height: 24px;
    background-color: rgba(6, 10, 9, 0.2);
}


.social-double-arrow-btn .social-arrow-left,
.social-double-arrow-btn .social-arrow-right {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}


.social-arrow-left svg path,
.social-arrow-right svg path {
    fill: #060A0980;
	fill-opacity: 0.7;
	opacity: 0.7;
}

.social-arrow-left:hover svg path,
.social-arrow-right:hover svg path {
    fill: #060A09;
	fill-opacity: 1;
	opacity: 1;
}

.social-swiper {
    overflow: visible;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;

    margin-bottom: 20px;
}

.swiper-slide {
    flex: 0 0 auto;
    width: 360px; /* fix szélesség, amit te adtál social-item-nek */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0 10px 10px;
}


.social-carousel-container .swiper-slide {
    flex-shrink: 0;
    width: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide {
		padding: 0 24px;

}

.social-item img {
    width: 100%;
    border-radius: 10px;
    max-width: 250px;
}

.social-item h3 {
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
}

.social-swiper-navigation {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.social-arrow-left, .social-arrow-right {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 20px;
    display: block;
}

.social-arrow-left.swiper-button-lock,
.social-arrow-right.swiper-button-lock {
    cursor: not-allowed !important;
    pointer-events: none;
}

.social-arrow-left svg path,
.social-arrow-right svg path {
    fill: #060A09;
}

.social-arrow-left:hover svg path,
.social-arrow-right:hover svg path {
    fill: #060A09;
}

.social-item {
    width: 360px;
    height: 302px;
    display: flex;
    min-width: 300px;
    padding: 8px 8px 24px 8px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow: visible;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 32px;
    background: #FBFFDA;
	box-shadow:
  0 6px 20px rgba(114, 122, 74, 0.16),
  0 3px 10px rgba(165, 174, 122, 0.10);
    transition: transform 0.15s ease-in-out;
    transform: scale(1.0);
}

.social-item:after {
    background: linear-gradient(to bottom, rgba(243, 247, 212, 0) 0%, rgba(243, 247, 212, 1) 100%);

}

.social-item a {
    display: flex;
    flex: 1;
    width: 100%;
}

.social-item:hover {
    transform: scale(1.075);
}

.social-item:hover img {
    opacity: 1;
}

.social-item img {
    opacity: 0.5;
}

.logoandtime-container {
    display: flex;
    width: 100%;
    gap: 12px;
    align-items: center;
    color: #060A09;
}

.logoandtime-container .time-ago {
	opacity: 0.5;
}


.social-carousel-header-container {
    max-width: 900px;
    margin: auto;
    align-items: center;
}

.logoandtime-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.text-padding {
    padding: 32px 24px 0px 24px;
}

.logoandtime-container .time-ago {
    font-family: Sora;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
}

.time-ago {
    display: flex;
    gap: 12px;
    align-self: stretch;
    color: rgba(6, 10, 9, 0.70);
    margin: 0;
}

.custom-feed-title {
    overflow: hidden;
    color: rgba(6, 10, 9, 0.70);
    text-overflow: ellipsis;
    white-space: normal;
    text-align: left;
    font-family: Sora;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 7; /* <<< max 7 sor */
    -webkit-box-orient: vertical;
}

.custom-feed-title-container {
    display: flex;
    padding: 32px 24px 0px 24px;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    flex: 1 0 0;
    align-self: stretch;
    min-height: 145px;
    width: 100%;
}

.custom-feed-time-container {
    display: flex;
    padding: 0px 24px 0px 24px;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: 24px;
    align-self: stretch;
}

.feed-divider-container {
    width: 100%;
    height: 100%;
    padding-top: 24px;
}

.feed-divider {
    height: 1px;
    background: rgba(6, 10, 9, 0.12);
    align-self: center;
    width: 100%;
    margin-bottom: 24px;
}

.social-platform-icon {
    width: 24px !important;
    height: 24px !important;
    color: #060A09;
}

.logoandtime-container {
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.no-padding {
    padding: 0 !important;

}

.custom-feed-video {
    width: 100%;
    border-radius: 24px;
    height: 150%;
    overflow: hidden;
}

.custom-feed-video iframe {
    object-fit: contain;
}

.social-modal-body {
	width: 150px !important;
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}
@keyframes fadeOut {
  from { opacity: 1 }
  to { opacity: 0 }
}

#social-modal.fade-in {
  animation: fadeIn 0.3s ease-in forwards;
}
#social-modal.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}


@media screen and (min-width: 1441px) {
    .social-swiper .swiper-slide {
        max-width: none !important;
    }
}

@media screen and (max-width: 1440px) {
    .social-swiper .swiper-slide {
        width: 50%;
    }
}

@media screen and (max-width: 1024px) {
    .social-item {
        min-width: 268px;
        padding: 8px 8px 0 8px;
        margin-right: 0px;
    }

    .custom-feed-title-container {
        padding: 24px 16px 0px 16px;
    }

    .custom-feed-time-container {
        padding: 38px 16px 0 16px;
        margin-bottom: 24px;
        margin-top: 0px;
    }

    .feed-divider-container {
        padding-top: 16px;
    }

    .custom-feed-video {
        height: 120%;
    }

    .no-divider {
        display: none;
    }

    .logoandtime-small {
        /*padding-bottom:20px;*/
    }

    .social-double-arrow-btn {
        display: flex !important;
    }

    .iframe-feed-time-container {
        margin-bottom: 12px !important;
    }

    .social-swiper .swiper-slide {
        max-width: 395px;
    }

}

@media screen and (max-width: 768px) {
    .social-swiper .swiper-slide {
        width: auto;
        min-width: 268px;
    }

    .social-swiper .swiper-slide .swiper-slide-next {
        width: auto;
        height: 300px !important;
    }

    .social-item {

        height: 300px !important;
        width: auto !important;
    }

    .feed-divider-container {
        padding-top: 8px;
    }

    .no-padding {
        padding-top: 8px !important;
    }

    .swiper-wrapper {
        justify-content: space-between;
    }
}