/* article box */

.instagram-feed {
    /* max-width: 600px; */
    margin: 0 auto;
    /* border: 1px solid red; */
}

.instagram-post {
    background-color: #fff;
    /* border: 1px solid #dbdbdb; */
    border-radius: 3px;
    margin-bottom: 60px;
}

.post-header {
    display: flex;
    align-items: center;
    padding: 16px;
    display: none;
}

.profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 12px;
}

.username {
    font-weight: 600;
}

.post-content video {
    width: 100%;
    height: auto;
}

.article-audio {
    position: relative;
    /* padding: 20px; */
    /* border: 1px solid red; */
}

.post-content audio {
    width: 100%;
}

.post-footer {
    padding: 0 16px 16px;
}

.post-actions {
    font-size: 24px;
    padding: 8px 0;
}

.post-actions i {
    cursor: pointer;
    margin-right: 16px;
}

.post-actions i:hover {
    color: #8e8e8e;
}

.post-caption {
    font-size: 14px;
    line-height: 1.4;
}

.post-caption strong {
    font-weight: 600;
    margin-right: 5px;
}

.article-box {
    /* padding: 15px; */
}

.article-bar-title-author-box {
    display: flex;
    flex-direction: column;
}

.article-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 20px 0;
    padding: 0 20px 0 0;
    /* border: 1px solid red; */
}

.article-date {
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    display: none;
}

.article-date .icon {
    margin-right: 5px;
    color: var(--textColor);
    position: relative;
    top: 1px;
}

.article-share {
    display: flex;
    align-items: center;
    display: none;
}

.article-share-text {
    font-size: 0.7rem;
}

.article-share ul {
    display: flex;
}

.article-share ul li {
    list-style: none;
    margin-left: 12px;
}

.article-share ul li a {
    text-decoration: none;
    color: var(--textColor);
}

.article-share ul li a i:hover {
    color: #454545;
}


/* article authors */

.article-author-box {
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

.article-author p {
    font-size: 0.7rem;
}

.article-details ul {
    display: flex;
}

.article-details ul li {
    list-style: none;
}

.article-details ul li button {
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 30px;
    background-color: rgb(233, 233, 233);
    color: var(--textColor);
    cursor: pointer;
    display: none;
}

.article-details ul li button:hover {
    background-color: var(--textColor);
    color: #fff;
}

.article-details ul li button i {
    margin-right: 3px;
    position: relative;
    top: 1px;
}


/* article cover image */

.article-cover-img {
    /* border: 1px solid black; */
    height: auto;
    /* min-height: 411px; */
    max-height: 100%;
    background-color: #dadada;
}

.article-cover-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    vertical-align: middle;
}

.article-image-details {
    background-color: var(--textColor);
    color: #fff;
    font-size: 0.75rem;
    /* padding: 10px; */
}

.img-caption {
    padding: 7px 7px;
}

.img-source {
    font-weight: 600;
    padding: 7px 7px;
}


/* article content box */

.article-content-box {
    margin: 0px 0;
    /* border: 1px solid red; */
    padding: 15px;
}

.article-content {
    font-size: 0.95rem;
}

.article-content p {
    margin: 0 0 15px 0;
    font-weight: 370;
    line-height: 1.6;
}

.article-content a {
    color: #0f4fc6;
    text-decoration: none;
    /* font-weight: 600; */
}

.article-content ul {
    padding-left: 25px;
    margin: 0 0 15px 0;
    font-weight: 370;
    list-style: disc;
}

.article-content ul li {
    margin-bottom: 5px;
}

.article-content h1 {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    /* font-weight: 600; */
}

.article-content h2 {
    font-size: 1.3rem;
    margin: 0 0 7px 0;
}

blockquote {
    position: relative;
    padding: 1em 1.5em;
    margin: 1.5em 0;
    font-style: italic;
    background: #f9f9f9;
    border-left: 6px solid var(--specialColor);
    color: #333;
}

blockquote::before {
    content: "“";
    font-size: 3em;
    position: absolute;
    left: 10px;
    top: -10px;
    color: var(--specialColor);
}

.article-gallery {
    /* display: flex;
    flex-wrap: wrap;
    gap: 10px; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.article-gallery img {
    /* width: calc(33.333% - 10px); */
    width: 100%;
    height: 185px;
    object-fit: cover;
    /* border-radius: 5px; */
}

.article-video {
    margin: 3px 0;
}


/* ============ SUBSCRIBERS ONLY CONTENT ============== */

.subscriber-only-notice {
    background-color: #f9f9f9;
    border: 2px dashed #dbdbdb;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.sub-only-lock-icon i {
    font-size: 2rem;
    color: var(--specialColor);
}

.sub-only-dec {
    width: 400px;
    max-width: 100%;
    margin: 10px auto 20px auto;
    padding: 20px;
}

.sub-only-dec h3 {
    /* font-size: 1.1rem; */
    margin-bottom: 10px;
}

.sub-only-btn {
    display: flex;
    justify-content: center;
}

.sub-only-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 48px;
    border: none;
    border-radius: 30px;
    background-color: var(--textColor);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}


/* article audio box */

.article-audio-box {
    /* border: 1px solid #ccc; */
}

.article-audio-text-only {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 0;
    background-color: var(--specialColor);
    color: #fff;
    text-decoration: none;
}

.article-audio-text a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 0;
    background-color: var(--specialColor);
    color: #fff;
    text-decoration: none;
}

.art-audio-icon i {
    font-size: 0.9rem;
    position: relative;
    top: 1px;
    margin-right: 5px;
}

.art-audio-text {
    font-size: 0.62rem;
    text-transform: uppercase;
    font-weight: 500;
}

.custom-audio-player {
    display: flex;
    align-items: center;
    gap: 7px;
    /* border: 1px solid #ccc; */
    /* background: #f4f4f4; */
    padding: 0 10px 0 0;
    width: 100%;
}

#seekBar {
    flex-grow: 1;
    -webkit-appearance: none;
    height: 5px;
    background: #ccc;
    /* border-radius: 5px; */
    outline: none;
    cursor: pointer;
    /* margin: 0 10px; */
    transition: background 0.3s ease;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
    transition: background 0.3s ease;
}

input[type=range]::-moz-range-thumb {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
}

#currentTime,
#duration {
    font-size: 0.8rem;
}

#playPauseBtn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--textColor);
    /* border: 1px solid red; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background-color: whitesmoke;
}

#playPauseBtn:hover {
    color: var(--specialColor);
}

#playPauseBtn i {
    position: relative;
    top: 2px;
}

.article-audio-blur {
    /* border: 1px solid red; */
    display: flex;
    height: 100%;
    width: 100%;
    position: absolute;
    backdrop-filter: blur(3px);
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 9;
}

.audioBtn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--textColor);
    /* border: 1px solid red; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background-color: whitesmoke;
    text-decoration: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    /* padding-top: 60px; */
    left: 0;
    top: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    /* border: 1px solid red; */
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

.modal-box {
    /* border: 1px solid rgba(255, 0, 0, 0.219); */
    /* width: 974px; */
    width: 474px;
    max-width: 100%;
    height: 595px;
    margin: auto;
}

.modal-content-box {
    display: grid;
    /* border: 1px solid yellow; */
    grid-template-columns: repeat(auto-fill, minmax(474px, 1fr));
    height: inherit;
}

.modal-content-img {
    width: 100%;
    height: inherit;
    margin: auto;
    /* border: 1px solid red; */
}

.modal-content {
    width: 100%;
    height: inherit;
    object-fit: contain;
    /* cursor: pointer; */
}

.close {
    position: absolute;
    top: 20px;
    right: 15px;
    color: white;
    font-size: 1.7rem;
    cursor: pointer;
}

.close:hover {
    color: #ccc;
}


/* ================================ */

@media screen and (max-width: 600px) {
    .main-layer-article {
        padding-top: 20;
    }
    .article-bar-title-author-box {
        padding: 0 10px;
    }
    .article-top-bar {
        padding: 20px 0 0 0;
    }
    .article-date {
        font-size: 0.55rem;
    }
    .article-share-text {
        font-size: 0.55rem;
    }
    .article-title h1 {
        font-size: 1.4rem;
    }
    .article-author p {
        font-size: 0.6rem;
    }
    .article-cover-img {
        height: auto;
        /* min-height: 220px; */
        /* max-height: 300px; */
    }
    .article-image-details {
        font-size: 0.6rem;
    }
    .article-content p {
        font-size: 0.8rem;
    }
    .article-content ul {
        font-size: 0.8rem;
        padding-left: 15px;
    }
    .article-content h1 {
        font-size: 1.3rem;
    }
    .article-content h2 {
        font-size: 1.1rem;
    }
}