/*жаңа инстаграм*/
.insta-post {
        display: inline-block;
        margin: 10px;
        cursor: pointer;
        text-align: center;
        border: 3px solid #eaeaea;
        border-radius: 10px;
        padding: 10px;
		width: 320px;
    	height: 500px;
		float: left;
    }
    .insta-post img {
        width: 100%;
        height: 300px;
        border-radius: 8px;
        object-fit: cover;
    }
    .caption {
        font-size: 14px;
        color: #0073aa;
		font-weight: bold;
		text-align: left;
    }

    /* Видео кадр жасауға арналған стиль */
    .hidden-video {
        display: none;
    }
    .video-thumbnail {
        width: 100%;
        height: 300px;
        border-radius: 8px;
    }

    /* Попап стильдері */
    #popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        justify-content: center;
        align-items: center;
        overflow: auto;
        z-index: 999;
    }

    .popup-content {
        background: #fff;
        padding: 20px;
        border-radius: 8px;
        text-align: center;
        max-width: 500px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .popup-img, .popup-video {
        max-width: 100%;
        height: auto;
    }

    .close-btn {
            margin-top: 10px;
			background: #f37262;
			color: #fff;
			padding: 5px 10px;
			border: none;
			cursor: pointer;
			border-radius: 10px;
    }
	.close-btn:hover {
			background: #f37262;
    }

		#popup-caption {
				text-align: justify;
		}

/**/
#popup-time {
	color: #f37262;
    font-weight: bold;
    font-size: 15px;
}

/*инстаграм сілтеме*/
a#popup-link {
	    width: 100%;
    display: block;
    color: #444;
    font-size: 14px;
}



.expired-message {
	text-align: center;
}
.expired-message p {
	margin-bottom: 0;
}
.expired-message a {
	color: red;
}