
/* =========================================================
   MYBLOG - COMPLETE DARK MODE FIX
   Put this CSS LAST, before </head>
   ========================================================= */

/* =========================================================
   PROFILE.PHP — FINAL DARK MODE
   This MUST be the LAST CSS block in profile.php
   ========================================================= */

html.dark-mode {
    color-scheme: dark;

    --p-bg: #18191a;
    --p-card: #242526;
    --p-card-2: #3a3b3c;
    --p-input: #3a3b3c;
    --p-hover: #4e4f50;
    --p-border: #3e4042;

    --p-text: #e4e6eb;
    --p-secondary: #b0b3b8;
    --p-muted: #8b949e;

    --p-blue: #4599ff;
    --p-danger-bg: #442326;
    --p-danger: #ff6b6b;
}


/* =========================================================
   HTML / BODY
   ========================================================= */

html.dark-mode,
html.dark-mode body {
    background: var(--p-bg) !important;
    color: var(--p-text) !important;
}

html.dark-mode body {
    min-height: 100vh;
}


/* =========================================================
   LINKS
   ========================================================= */

html.dark-mode a {
    color: inherit;
}


/* =========================================================
   HEADER
   ========================================================= */

html.dark-mode .topbar,
html.dark-mode .top-header {
    background: rgba(36, 37, 38, .98) !important;
    color: var(--p-text) !important;
    border-bottom: 1px solid var(--p-border) !important;
}

html.dark-mode .title,
html.dark-mode .brand-name {
    color: var(--p-text) !important;
}

html.dark-mode .back {
    color: var(--p-text) !important;
}

html.dark-mode .back:hover {
    background: var(--p-hover) !important;
}


/* =========================================================
   PROFILE COVER
   ========================================================= */

html.dark-mode .cover {
    background:
        linear-gradient(
            135deg,
            #145dcc,
            #5937bd
        ) !important;
}

html.dark-mode .cover-button {
    background: var(--p-card-2) !important;
    color: var(--p-text) !important;
    border: 1px solid var(--p-hover) !important;
}

html.dark-mode .cover-button:hover {
    background: var(--p-hover) !important;
}


/* =========================================================
   PROFILE PHOTO AREA
   ========================================================= */

html.dark-mode .photo-area,
html.dark-mode .profile-area,
html.dark-mode .profile-header {
    background: var(--p-card) !important;
    color: var(--p-text) !important;
}

html.dark-mode .profile-photo {
    background: var(--p-card-2) !important;
    border-color: var(--p-card) !important;
}

html.dark-mode .photo-camera {
    background: var(--p-card-2) !important;
    color: var(--p-text) !important;
    border-color: var(--p-card) !important;
}

html.dark-mode .photo-camera:hover {
    background: var(--p-hover) !important;
}


/* =========================================================
   PROFILE NAME / USERNAME / BIO
   ========================================================= */

html.dark-mode .fullname,
html.dark-mode .full-name,
html.dark-mode .profile-name,
html.dark-mode .username,
html.dark-mode .profile-username,
html.dark-mode .bio {
    color: var(--p-text) !important;
}

html.dark-mode .profile-meta,
html.dark-mode .profile-subtitle {
    color: var(--p-secondary) !important;
}


/* =========================================================
   PROFILE ACTIONS
   ========================================================= */

html.dark-mode .profile-actions,
html.dark-mode .profile-action {
    color: var(--p-text) !important;
}

html.dark-mode .profile-action {
    background: var(--p-card-2) !important;
    border-color: var(--p-border) !important;
}

html.dark-mode .profile-action:hover {
    background: var(--p-hover) !important;
}

html.dark-mode .profile-action.primary {
    background: var(--p-blue) !important;
    color: #fff !important;
}


/* =========================================================
   FRIEND / FOLLOW BUTTONS
   ========================================================= */

html.dark-mode .follow-btn,
html.dark-mode .friend-btn,
html.dark-mode .add-friend,
html.dark-mode .message-btn {
    background: var(--p-card-2) !important;
    color: var(--p-text) !important;
    border-color: var(--p-border) !important;
}

html.dark-mode .follow-btn:hover,
html.dark-mode .friend-btn:hover,
html.dark-mode .add-friend:hover,
html.dark-mode .message-btn:hover {
    background: var(--p-hover) !important;
}

html.dark-mode .follow-btn.active,
html.dark-mode .friend-btn.active {
    background: var(--p-blue) !important;
    color: #fff !important;
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

html.dark-mode .container,
html.dark-mode .profile-container,
html.dark-mode .main-container {
    background: transparent !important;
}


/* =========================================================
   ALL SECTIONS / CARDS
   ========================================================= */

html.dark-mode .section,
html.dark-mode .form-section,
html.dark-mode .photo-area,
html.dark-mode .danger,
html.dark-mode .card,
html.dark-mode .dashboard-card,
html.dark-mode .stats-card,
html.dark-mode .about-card,
html.dark-mode .friends-card,
html.dark-mode .mutual-card,
html.dark-mode .posts-section,
html.dark-mode .reels-section {
    background: var(--p-card) !important;
    color: var(--p-text) !important;
    border-color: var(--p-border) !important;
}


/* =========================================================
   SECTION TITLES
   ========================================================= */

html.dark-mode .section-title,
html.dark-mode .card-title,
html.dark-mode .dashboard-title {
    color: var(--p-text) !important;
}

html.dark-mode .section-subtitle,
html.dark-mode .card-subtitle {
    color: var(--p-secondary) !important;
}


/* =========================================================
   DASHBOARD / STATISTICS
   ========================================================= */

html.dark-mode .dashboard,
html.dark-mode .dashboard-grid {
    background: transparent !important;
}

html.dark-mode .dashboard-card,
html.dark-mode .stat-card {
    background: var(--p-card) !important;
    border-color: var(--p-border) !important;
    color: var(--p-text) !important;
}

html.dark-mode .dashboard-card h3,
html.dark-mode .stat-card h3,
html.dark-mode .stat-value {
    color: var(--p-text) !important;
}

html.dark-mode .dashboard-card p,
html.dark-mode .stat-label {
    color: var(--p-secondary) !important;
}

html.dark-mode .stat-icon {
    background: var(--p-card-2) !important;
    color: var(--p-blue) !important;
}


/* =========================================================
   ABOUT
   ========================================================= */

html.dark-mode .about-row {
    background: transparent !important;
    border-bottom-color: var(--p-border) !important;
    color: var(--p-text) !important;
}

html.dark-mode .about-icon {
    background: var(--p-card-2) !important;
    color: var(--p-blue) !important;
}

html.dark-mode .about-value {
    color: var(--p-secondary) !important;
}

html.dark-mode .about-value strong {
    color: var(--p-text) !important;
}

html.dark-mode .about-value small {
    color: var(--p-muted) !important;
}


/* =========================================================
   FRIENDS
   ========================================================= */

html.dark-mode .friends-list,
html.dark-mode .mutual-list {
    background: transparent !important;
}

html.dark-mode .friend-item,
html.dark-mode .mutual-item {
    background: transparent !important;
    color: var(--p-text) !important;
}

html.dark-mode .friend-name,
html.dark-mode .mutual-name {
    color: var(--p-text) !important;
}

html.dark-mode .friend-meta,
html.dark-mode .mutual-text {
    color: var(--p-secondary) !important;
}

html.dark-mode .mutual-avatar {
    border-color: var(--p-card) !important;
}


/* =========================================================
   POSTS
   ========================================================= */

html.dark-mode .post,
html.dark-mode .post-card {
    background: var(--p-card) !important;
    color: var(--p-text) !important;
    border-color: var(--p-border) !important;
}

html.dark-mode .post-header {
    background: var(--p-card) !important;
}

html.dark-mode .post-author-name,
html.dark-mode .post-user-name,
html.dark-mode .post-title {
    color: var(--p-text) !important;
}

html.dark-mode .post-meta,
html.dark-mode .post-time {
    color: var(--p-muted) !important;
}

html.dark-mode .post-text,
html.dark-mode .post-content {
    color: var(--p-text) !important;
}


/* =========================================================
   POST MEDIA
   ========================================================= */

html.dark-mode .media-grid,
html.dark-mode .post-media {
    background: var(--p-bg) !important;
}

html.dark-mode .media-item {
    background: #000 !important;
}


/* =========================================================
   POST ACTIONS
   ========================================================= */

html.dark-mode .post-actions {
    background: var(--p-card) !important;
    border-top-color: var(--p-border) !important;
    border-bottom-color: var(--p-border) !important;
}

html.dark-mode .post-action {
    background: transparent !important;
    color: var(--p-secondary) !important;
}

html.dark-mode .post-action:hover {
    background: var(--p-card-2) !important;
}

html.dark-mode .post-action.liked,
html.dark-mode .post-action.active,
html.dark-mode .post-action.active-like {
    color: var(--p-blue) !important;
}


/* =========================================================
   REELS
   ========================================================= */

html.dark-mode .reel-card {
    background: #000 !important;
    color: #fff !important;
}

html.dark-mode .reel-name {
    color: var(--p-text) !important;
}


/* =========================================================
   FORM SECTION
   ========================================================= */

html.dark-mode .form-section {
    background: var(--p-card) !important;
    color: var(--p-text) !important;
}

html.dark-mode label {
    color: var(--p-text) !important;
}


/* =========================================================
   INPUTS
   ========================================================= */

html.dark-mode input,
html.dark-mode textarea,
html.dark-mode select {
    background: var(--p-input) !important;
    color: var(--p-text) !important;
    border-color: var(--p-border) !important;
}

html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder {
    color: var(--p-muted) !important;
}

html.dark-mode input:focus,
html.dark-mode textarea:focus,
html.dark-mode select:focus {
    background: var(--p-card-2) !important;
    color: var(--p-text) !important;
    border-color: var(--p-blue) !important;
    outline: none !important;
}

html.dark-mode select option {
    background: var(--p-card) !important;
    color: var(--p-text) !important;
}


/* =========================================================
   FILE UPLOAD
   ========================================================= */

html.dark-mode .file-box {
    background: var(--p-input) !important;
    color: var(--p-text) !important;
    border-color: var(--p-border) !important;
}

html.dark-mode .file-box input {
    background: transparent !important;
    color: var(--p-text) !important;
}

html.dark-mode input[type="file"] {
    color: var(--p-text) !important;
}

html.dark-mode input[type="file"]::file-selector-button {
    background: var(--p-hover) !important;
    color: var(--p-text) !important;
    border: 0 !important;
}


/* =========================================================
   HELP TEXT
   ========================================================= */

html.dark-mode .help,
html.dark-mode .help-text,
html.dark-mode .text-muted {
    color: var(--p-muted) !important;
}


/* =========================================================
   SAVE BUTTON
   ========================================================= */

html.dark-mode .save-button {
    background: var(--p-blue) !important;
    color: #fff !important;
}

html.dark-mode .save-button:hover {
    opacity: .9;
}


/* =========================================================
   DANGER / DELETE
   ========================================================= */

html.dark-mode .danger {
    background: var(--p-card) !important;
    color: var(--p-text) !important;
    border-color: var(--p-border) !important;
}

html.dark-mode .delete-button {
    background: var(--p-danger-bg) !important;
    color: var(--p-danger) !important;
}

html.dark-mode .delete-button:hover {
    background: #55282c !important;
}


/* =========================================================
   COMMENTS
   ========================================================= */

html.dark-mode .comments,
html.dark-mode .comments-container,
html.dark-mode .comment-list {
    background: var(--p-card) !important;
    color: var(--p-text) !important;
}

html.dark-mode .comment-item {
    background: transparent !important;
}

html.dark-mode .comment-item-bubble {
    background: var(--p-card-2) !important;
    color: var(--p-text) !important;
}

html.dark-mode .comment-item-name {
    color: var(--p-text) !important;
}

html.dark-mode .comment-item-text {
    color: var(--p-text) !important;
}

html.dark-mode .comment-item-time {
    color: var(--p-muted) !important;
}

html.dark-mode .comments-loading {
    color: var(--p-secondary) !important;
}


/* =========================================================
   COMMENT INPUT
   ========================================================= */

html.dark-mode .comment-form,
html.dark-mode .modal-comment-form {
    background: var(--p-card) !important;
    border-color: var(--p-border) !important;
}

html.dark-mode .comment-form-input,
html.dark-mode #modalCommentInput {
    background: var(--p-input) !important;
    color: var(--p-text) !important;
    border-color: var(--p-border) !important;
}

html.dark-mode .comment-form-input::placeholder,
html.dark-mode #modalCommentInput::placeholder {
    color: var(--p-muted) !important;
}

html.dark-mode .comment-send {
    background: var(--p-blue) !important;
    color: #fff !important;
}


/* =========================================================
   POST MODAL
   ========================================================= */

html.dark-mode .post-modal,
html.dark-mode .modal-overlay {
    background: rgba(0, 0, 0, .85) !important;
}

html.dark-mode .post-modal-dialog,
html.dark-mode .modal-dialog {
    background: var(--p-card) !important;
    color: var(--p-text) !important;
}

html.dark-mode .post-modal-header,
html.dark-mode .modal-header {
    background: var(--p-card) !important;
    border-bottom-color: var(--p-border) !important;
    color: var(--p-text) !important;
}

html.dark-mode .post-modal-side,
html.dark-mode .modal-side {
    background: var(--p-card) !important;
    color: var(--p-text) !important;
}

html.dark-mode .modal-author-name,
html.dark-mode .modal-post-text {
    color: var(--p-text) !important;
}

html.dark-mode .modal-author-meta {
    color: var(--p-muted) !important;
}

html.dark-mode .post-modal-close,
html.dark-mode .modal-close {
    background: var(--p-card-2) !important;
    color: var(--p-text) !important;
}

html.dark-mode .post-modal-close:hover,
html.dark-mode .modal-close:hover {
    background: var(--p-hover) !important;
}


/* =========================================================
   MODAL ACTIONS
   ========================================================= */

html.dark-mode .modal-actions {
    background: var(--p-card) !important;
    border-color: var(--p-border) !important;
}

html.dark-mode .modal-action {
    color: var(--p-secondary) !important;
    background: transparent !important;
}

html.dark-mode .modal-action:hover {
    background: var(--p-card-2) !important;
}

html.dark-mode .modal-action.liked {
    color: var(--p-blue) !important;
}


/* =========================================================
   DROPDOWN / MENUS
   ========================================================= */

html.dark-mode .dropdown-menu,
html.dark-mode .post-menu-dropdown,
html.dark-mode .menu-dropdown,
html.dark-mode .action-menu {
    background: var(--p-card) !important;
    color: var(--p-text) !important;
    border-color: var(--p-border) !important;
    box-shadow: 0 10px 35px rgba(0,0,0,.5) !important;
}

html.dark-mode .dropdown-menu a,
html.dark-mode .dropdown-menu button,
html.dark-mode .post-menu-dropdown button,
html.dark-mode .menu-dropdown button {
    color: var(--p-text) !important;
}

html.dark-mode .dropdown-menu a:hover,
html.dark-mode .dropdown-menu button:hover,
html.dark-mode .post-menu-dropdown button:hover,
html.dark-mode .menu-dropdown button:hover {
    background: var(--p-card-2) !important;
}


/* =========================================================
   SWEETALERT
   ========================================================= */

html.dark-mode .swal2-popup {
    background: var(--p-card) !important;
    color: var(--p-text) !important;
}

html.dark-mode .swal2-title {
    color: var(--p-text) !important;
}

html.dark-mode .swal2-html-container {
    color: var(--p-secondary) !important;
}

html.dark-mode .swal2-input,
html.dark-mode .swal2-textarea {
    background: var(--p-input) !important;
    color: var(--p-text) !important;
    border-color: var(--p-border) !important;
}

html.dark-mode .swal2-cancel {
    background: var(--p-card-2) !important;
    color: var(--p-text) !important;
}


/* =========================================================
   ICONS
   ========================================================= */

html.dark-mode .bi {
    color: inherit;
}


/* =========================================================
   BOTTOM NAVIGATION
   ========================================================= */

html.dark-mode .bottom-nav,
html.dark-mode .mobile-nav {
    background: rgba(36,37,38,.98) !important;
    border-top-color: var(--p-border) !important;
}

html.dark-mode .bottom-nav a,
html.dark-mode .bottom-nav button,
html.dark-mode .mobile-nav a,
html.dark-mode .mobile-nav button {
    color: var(--p-secondary) !important;
}

html.dark-mode .bottom-nav a.active,
html.dark-mode .bottom-nav a:hover,
html.dark-mode .mobile-nav a.active {
    color: var(--p-blue) !important;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

html.dark-mode * {
    scrollbar-color: #4e4f50 #18191a;
}

html.dark-mode *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

html.dark-mode *::-webkit-scrollbar-track {
    background: #18191a;
}

html.dark-mode *::-webkit-scrollbar-thumb {
    background: #4e4f50;
    border-radius: 10px;
}

html.dark-mode *::-webkit-scrollbar-thumb:hover {
    background: #666;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    html.dark-mode body {
        background: var(--p-bg) !important;
    }

    html.dark-mode .form-section,
    html.dark-mode .danger,
    html.dark-mode .section,
    html.dark-mode .post {
        background: var(--p-card) !important;
    }

}

/* =========================================================
   PROFILE QUICK ACTION BUTTONS
   ========================================================= */

html.dark-mode .quick-action {
    background: #3a3b3c !important;
    color: #e4e6eb !important;
    border: 1px solid #3e4042 !important;
    box-shadow: none !important;
}

html.dark-mode .quick-action i {
    color: #4599ff !important;
}

html.dark-mode .quick-action:hover {
    background: #4e4f50 !important;
    color: #ffffff !important;
}

html.dark-mode .quick-action:hover i {
    color: #ffffff !important;
}

html.dark-mode .quick-action:active {
    background: #4e4f50 !important;
    transform: translateY(1px);
}

/* =========================================================
   PROFILE CREATE POST — DARK MODE
   ========================================================= */

html.dark-mode .create-post {
    background: #242526 !important;
    color: #e4e6eb !important;
    border: 1px solid #3e4042 !important;
    box-shadow: none !important;
}


/* TOP AREA */
html.dark-mode .create-top {
    background: #242526 !important;
    color: #e4e6eb !important;
}


/* USER AVATAR */
html.dark-mode .create-avatar {
    border-color: #3e4042 !important;
}


/* "WHAT'S ON YOUR MIND?" BUTTON */
html.dark-mode .create-input {
    background: #3a3b3c !important;
    color: #b0b3b8 !important;
    border: 1px solid #3e4042 !important;
    box-shadow: none !important;
}

html.dark-mode .create-input:hover {
    background: #4e4f50 !important;
    color: #e4e6eb !important;
}

html.dark-mode .create-input:active {
    background: #4e4f50 !important;
}


/* DIVIDER */
html.dark-mode .create-options {
    background: #242526 !important;
    border-top-color: #3e4042 !important;
}


/* LIVE / PHOTO / REEL BUTTONS */
html.dark-mode .create-option {
    background: transparent !important;
    color: #b0b3b8 !important;
    border: none !important;
}

html.dark-mode .create-option:hover {
    background: #3a3b3c !important;
    color: #e4e6eb !important;
}


/* KEEP THE COLORED ICONS */
html.dark-mode .create-option i.bi-camera-video-fill {
    color: #f02849 !important;
}

html.dark-mode .create-option i.bi-image {
    color: #45bd62 !important;
}

html.dark-mode .create-option i.bi-play-btn-fill {
    color: #8b5cf6 !important;
}


/* OPTION ICONS */
html.dark-mode .create-option i {
    background: transparent !important;
}


/* MOBILE */
@media (max-width: 600px) {

    html.dark-mode .create-post {
        background: #242526 !important;
    }

    html.dark-mode .create-input {
        background: #3a3b3c !important;
    }

    html.dark-mode .create-option {
        color: #b0b3b8 !important;
    }

    html.dark-mode .create-option:hover {
        background: #3a3b3c !important;
    }
}

.avatar-camera {
    background: #ffffff;
    color: #333333;
    border: 1px solid #dddddd;
    transition: 0.3s ease;
}

body.dark-mode .avatar-camera {
    background: #242424;
    color: #ffffff;
    border-color: #444444;
}

body.dark-mode .avatar-camera:hover {
    background: #333333;
}

html.dark-mode .post-media-item {
    position: relative;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #242424;
    box-sizing: border-box;
}
/* End dark mode */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {

    background: #f0f2f5;

    color: #050505;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

}

button {
    font-family: inherit;
    cursor: pointer;
}

a {
    color: inherit;
}


/* =========================================================
   TOP BAR
========================================================= */

.topbar {

    height: 58px;

    background: #fff;

    display: flex;

    align-items: center;

    padding: 0 10px;

    border-bottom: 1px solid #dddfe2;

    position: sticky;

    top: 0;

    z-index: 1000;

}

.topbar button {

    width: 42px;
    height: 42px;

    border: 0;

    border-radius: 50%;

    background: transparent;

    font-size: 21px;

}

.topbar-title {

    flex: 1;

    margin-left: 8px;

    font-size: 17px;

    font-weight: 700;

}


/* =========================================================
   PAGE
========================================================= */

.profile-page {

    max-width: 960px;

    margin: auto;

}


/* =========================================================
   COVER
========================================================= */

.cover {

    height: 270px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #1877f2,
            #7c4dff
        );

}

.cover-image {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.cover-edit {

    position: absolute;

    right: 15px;

    bottom: 15px;

    border: 0;

    background: #fff;

    padding: 9px 13px;

    border-radius: 7px;

    font-weight: 700;

}


/* =========================================================
   PROFILE HEADER
========================================================= */

.profile-header {

    background: #fff;

    padding: 0 18px 18px;

}

.profile-avatar-wrap {

    width: 145px;

    height: 145px;

    position: relative;

    margin-top: -72px;

}

.profile-avatar {

    width: 145px;

    height: 145px;

    border-radius: 50%;

    object-fit: cover;

    border: 5px solid #fff;

    background: #eee;

}

.avatar-camera {

    position: absolute;

    right: 4px;

    bottom: 5px;

    width: 38px;

    height: 38px;

    border-radius: 50%;

    border: 3px solid #fff;

    background: #e4e6eb;

}


.profile-name {

    margin-top: 7px;

    font-size: 27px;

    font-weight: 800;

}

.profile-username {

    color: #65676b;

    margin-top: 3px;

    font-size: 14px;

}

.profile-bio {

    margin-top: 12px;

    font-size: 15px;

    line-height: 1.5;

}

.profile-stats {

    display: flex;

    gap: 18px;

    margin-top: 12px;

    color: #65676b;

    font-size: 14px;

}

.profile-stats strong {

    color: #050505;

}


/* =========================================================
   ACTIONS
========================================================= */

.profile-actions {

    display: flex;

    gap: 8px;

    margin-top: 15px;

}

.profile-action {

    border: 0;

    border-radius: 7px;

    min-height: 40px;

    padding: 0 17px;

    font-weight: 700;

    background: #e4e6eb;

}

.profile-action.primary {

    background: #1877f2;

    color: #fff;

}

.profile-action.flex {

    flex: 1;

}

.profile-action.icon {

    width: 43px;

    padding: 0;

}


/* =========================================================
   QUICK ACTIONS
========================================================= */

.quick-actions {

    display: flex;

    gap: 8px;

    margin-top: 10px;

}

.quick-action {

    flex: 1;

    border: 0;

    background: #e4e6eb;

    border-radius: 7px;

    padding: 10px 5px;

    font-size: 12px;

    font-weight: 700;

}

.quick-action i {

    display: block;

    font-size: 20px;

    margin-bottom: 3px;

}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    background: #fff;

    margin-top: 8px;

    padding: 15px;

}

.section-title {

    font-size: 19px;

    font-weight: 800;

    margin-bottom: 13px;

}

.section-subtitle {

    color: #65676b;

    font-size: 13px;

}


/* =========================================================
   ABOUT
========================================================= */

.about-row {

    display: flex;

    gap: 12px;

    margin: 14px 0;

    align-items: center;

    font-size: 14px;

}

.about-icon {

    width: 28px;

    text-align: center;

    color: #65676b;

    font-size: 19px;

}

.about-value {

    flex: 1;

}

.about-value small {

    display: block;

    color: #65676b;

    margin-top: 2px;

}


/* =========================================================
   FRIENDS
========================================================= */

.friends-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;

}

.friend-card {

    text-decoration: none;

}

.friend-card img {

    width: 100%;

    aspect-ratio: 1;

    object-fit: cover;

    border-radius: 7px;

}

.friend-name {

    font-size: 12px;

    font-weight: 700;

    margin-top: 4px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


/* =========================================================
   MUTUAL FRIENDS
========================================================= */

.mutual-list {

    display: flex;

    align-items: center;

}

.mutual-avatar {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid #fff;

    margin-left: -7px;

}

.mutual-avatar:first-child {

    margin-left: 0;

}

.mutual-text {

    margin-left: 10px;

    color: #65676b;

    font-size: 13px;

}


/* =========================================================
   REELS
========================================================= */

.reels-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;

}

.reel {

    position: relative;

    aspect-ratio: 9 / 13;

    background: #000;

    border-radius: 7px;

    overflow: hidden;

}

.reel video {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.reel-play {

       position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    pointer-events: none;
    z-index: 5;

}


/* =========================================================
   CREATE POST
========================================================= */

.create-post {

    background: #fff;

    padding: 15px;

    margin-top: 8px;

}

.create-top {

    display: flex;

    align-items: center;

    gap: 10px;

}

.create-avatar {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    object-fit: cover;

}

.create-input {

    flex: 1;

    background: #f0f2f5;

    border: 0;

    border-radius: 22px;

    min-height: 42px;

    padding: 0 16px;

    display: flex;

    align-items: center;

    color: #65676b;

    font-size: 14px;

}

.create-options {

    display: flex;

    border-top: 1px solid #eee;

    margin-top: 12px;

    padding-top: 10px;

}

.create-option {

    flex: 1;

    border: 0;

    background: transparent;

    font-weight: 700;

    color: #65676b;

}

.create-option i {

    font-size: 19px;

    margin-right: 4px;

}


/* =========================================================
   POST
========================================================= */

.post {

    background: #fff;

    margin-top: 8px;

    padding: 14px;

}

.post-header {

    display: flex;

    align-items: center;

}

.post-avatar {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    object-fit: cover;

}

.post-author {

    flex: 1;

    margin-left: 9px;

}

.post-author-name {

    font-size: 14px;

    font-weight: 700;

}

.post-time {

    color: #65676b;

    font-size: 12px;

    margin-top: 3px;

}

.post-menu {

    width: 35px;

    height: 35px;

    border: 0;

    background: transparent;

    border-radius: 50%;

}

.post-content {

    margin-top: 11px;

    font-size: 15px;

    line-height: 1.5;

    /* white-space: pre-wrap; */

    word-break: break-word;

}

.post-image {

    width: 100%;

    max-height: 600px;

    object-fit: cover;

    margin-top: 10px;

    border-radius: 5px;

}

.post-video {

    width: 100%;

    max-height: 600px;

    background: #000;

    margin-top: 10px;

    border-radius: 5px;

}

.post-stats {

    display: flex;

    justify-content: space-between;

    color: #65676b;

    font-size: 12px;

    padding: 10px 2px;

}

.post-actions {

    border-top: 1px solid #e4e6eb;

    display: flex;

}

.post-action {

    flex: 1;

    height: 40px;

    border: 0;

    background: transparent;

    color: #65676b;

    font-weight: 700;

}

.post-action.liked {

    color: #1877f2;

}

.post-action.saved {

    color: #1877f2;

}


/* =========================================================
   EMPTY
========================================================= */

.empty {

    text-align: center;

    padding: 30px;

    color: #65676b;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .cover {

        height: 190px;

    }

    .profile-avatar-wrap {

        width: 115px;

        height: 115px;

        margin-top: -57px;

    }

    .profile-avatar {

        width: 115px;

        height: 115px;

    }

    .profile-name {

        font-size: 23px;

    }

    .profile-header {

        padding-left: 12px;

        padding-right: 12px;

    }

    .profile-actions {

        flex-wrap: wrap;

    }

    .profile-action.flex {

        min-width: 100%;

    }

    .quick-action {

        font-size: 11px;

    }

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 700px) {

    .profile-page {

        margin-top: 12px;

    }

    .cover,
    .profile-header,
    .section,
    .create-post,
    .post {

        border-radius: 8px;

    }

}

/*
|--------------------------------------------------------------------------
| FACEBOOK SHARE BOTTOM MODAL
|--------------------------------------------------------------------------
*/

.share-modal-overlay {

    position:fixed;

    inset:0;

    background:
        rgba(0,0,0,.55);

    z-index:99999;

    display:flex;

    align-items:flex-end;

    justify-content:center;

    opacity:0;

    transition:
        opacity .25s ease;

}


.share-modal-overlay.show {

    opacity:1;

}


.share-bottom-modal {

    width:100%;

    max-width:600px;

    background:#fff;

    border-radius:
        18px 18px 0 0;

    transform:
        translateY(100%);

    transition:
        transform .25s ease;

    box-shadow:
        0 -5px 30px
        rgba(0,0,0,.2);

}


.share-modal-overlay.show
.share-bottom-modal {

    transform:
        translateY(0);

}


/*
|--------------------------------------------------------------------------
| SHARE HEADER
|--------------------------------------------------------------------------
*/

.share-modal-header {

    display:flex;

    align-items:center;

    justify-content:center;

    position:relative;

    padding:17px;

    border-bottom:
        1px solid #ddd;

    font-size:18px;

    font-weight:700;

}


.share-close-button {

    position:absolute;

    right:15px;

    top:10px;

    width:38px;

    height:38px;

    border:0;

    border-radius:50%;

    background:#e4e6eb;

    cursor:pointer;

    font-size:16px;

}


/*
|--------------------------------------------------------------------------
| SHARE OPTIONS
|--------------------------------------------------------------------------
*/

.share-options {

    padding:15px;

    display:flex;

    flex-direction:column;

}


.share-option {

    display:flex;

    align-items:center;

    gap:15px;

    width:100%;

    border:0;

    background:transparent;

    padding:12px 8px;

    border-radius:10px;

    cursor:pointer;

    text-align:left;

    font-size:15px;

    font-weight:600;

}


.share-option:hover {

    background:#f0f2f5;

}


.share-icon {

    width:44px;

    height:44px;

    min-width:44px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:21px;

}


.share-icon.messenger {

    background:#e7f0ff;

    color:#0084ff;

}


.share-icon.feed {

    background:#e9f7ef;

    color:#42b72a;

}


.share-icon.copy {

    background:#f0f2f5;

    color:#050505;

}


.share-icon.whatsapp {

    background:#e7f8ed;

    color:#25d366;

}


.share-icon.more {

    background:#e4e6eb;

    color:#050505;

}


/*
|--------------------------------------------------------------------------
| SEND USER MODAL
|--------------------------------------------------------------------------
*/

.send-post-modal {

    width:100%;

    max-width:600px;

    background:#fff;

    border-radius:
        18px 18px 0 0;

    transform:
        translateY(100%);

    transition:
        transform .25s ease;

}


.share-modal-overlay.show
.send-post-modal {

    transform:
        translateY(0);

}


.share-user-search {

    width:100%;

    border:0;

    outline:0;

    background:#f0f2f5;

    border-radius:20px;

    padding:13px 17px;

    font-size:15px;

}


.share-user-results {

    margin-top:12px;

    max-height:350px;

    overflow-y:auto;

}


.share-user-item {

    width:100%;

    display:flex;

    align-items:center;

    gap:12px;

    border:0;

    background:#fff;

    padding:10px;

    border-radius:8px;

    text-align:left;

    cursor:pointer;

}


.share-user-item:hover {

    background:#f0f2f5;

}


.share-user-item img {

    width:45px;

    height:45px;

    border-radius:50%;

    object-fit:cover;

}


.share-user-item div {

    display:flex;

    flex-direction:column;

}


.share-user-item small {

    color:#65676b;

    margin-top:3px;

}


.share-search-empty,
.share-search-loading {

    text-align:center;

    color:#65676b;

    padding:25px;

}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:600px) {

    .share-bottom-modal,
    .send-post-modal {

        max-width:none;

    }

}


/* SHARE MODAL */

.share-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    visibility: hidden;
    pointer-events: none;
}

.share-modal.active {
    visibility: visible;
    pointer-events: auto;
}


/* BACKDROP */

.share-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    transition: .25s;
}

.share-modal.active .share-modal-backdrop {
    opacity: 1;
}


/* MODAL */

.share-modal-box {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 20px 20px 0 0;
    transform: translate(-50%, 100%);
    transition: transform .3s ease;
    overflow: hidden;
}

.share-modal.active .share-modal-box {
    transform: translate(-50%, 0);
}


/* HEADER */

.share-modal-header {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
    position: relative;
}

.share-modal-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.share-modal-close {
    position: absolute;
    right: 15px;
    top: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f0f2f5;
    cursor: pointer;
}


/* BODY */

.share-modal-body {
    padding: 10px 15px 20px;
}


/* SHARE ITEM */

.share-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 13px 8px;
    border: none;
    background: transparent;
    text-align: left;
    border-radius: 10px;
    cursor: pointer;
}

.share-item:hover {
    background: #f0f2f5;
}


/* ICON */

.share-item-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: #e4e6eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.share-item-icon.whatsapp {
    color: #25d366;
    background: #e7f8ed;
}


/* TEXT */

.share-item div:last-child {
    display: flex;
    flex-direction: column;
}

.share-item strong {
    font-size: 15px;
    color: #050505;
}

.share-item small {
    margin-top: 3px;
    color: #65676b;
}


/* MOBILE */

@media(max-width:600px) {

    .share-modal-box {
        max-width: 100%;
        border-radius: 18px 18px 0 0;
    }

}






.profile-share-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}

.profile-share-modal.active {
    display: block;
}

.profile-share-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.profile-share-panel {
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 100%;
    max-width: 600px;

    background: #fff;

    border-radius: 20px 20px 0 0;

    transform: translate(-50%, 100%);
    transition: transform .3s ease;

    overflow: hidden;
}

.profile-share-modal.active .profile-share-panel {
    transform: translate(-50%, 0);
}

.profile-share-header {
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-bottom: 1px solid #eee;

    font-size: 18px;

    position: relative;
}

.profile-share-close {
    position: absolute;
    right: 15px;

    width: 36px;
    height: 36px;

    border: 0;
    border-radius: 50%;

    background: #e4e6eb;

    cursor: pointer;
}

.profile-share-options {
    padding: 10px 15px 25px;
}

.profile-share-option {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 12px 8px;

    border: 0;
    background: transparent;

    text-align: left;

    cursor: pointer;

    border-radius: 10px;
}

.profile-share-option:hover {
    background: #f0f2f5;
}

.profile-share-option-icon {
    width: 45px;
    height: 45px;

    min-width: 45px;

    border-radius: 50%;

    background: #e4e6eb;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
}

.profile-share-option-icon.whatsapp {
    background: #e8f8ee;
    color: #25d366;
}

.profile-share-option > div:last-child {
    display: flex;
    flex-direction: column;
}

.profile-share-option strong {
    font-size: 15px;
    color: #050505;
}

.profile-share-option small {
    margin-top: 3px;
    color: #65676b;
}



.post-menu-overlay {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: flex-end;

    background:
        rgba(0,0,0,.5);

    opacity: 0;

    visibility: hidden;

    transition: .25s;
}

.post-menu-overlay.active {

    opacity: 1;

    visibility: visible;
}


.post-menu-sheet {

    width: 100%;

    max-width: 650px;

    margin: auto auto 0;

    padding: 8px 15px
        calc(15px + env(safe-area-inset-bottom));

    background: white;

    border-radius:
        22px 22px 0 0;

    transform:
        translateY(100%);

    transition:
        transform .3s
        cubic-bezier(.22,.61,.36,1);
}

.post-menu-overlay.active
.post-menu-sheet {

    transform:
        translateY(0);
}


.post-menu-handle {

    width: 42px;

    height: 4px;

    margin: 3px auto 15px;

    border-radius: 10px;

    background: #d0d4d8;
}


.post-menu-title {

    padding:
        5px 5px 12px;

    font-size: 16px;

    font-weight: 750;

    border-bottom:
        1px solid #edf0f2;
}


.post-menu-item {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 5px;

    background: transparent;

    text-align: left;

    cursor: pointer;

    border-bottom:
        1px solid #f0f1f2;
}


.post-menu-icon {

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #f0f2f5;

    color: #333;

    font-size: 17px;
}


.post-menu-item strong {

    display: block;

    color: #20252b;

    font-size: 13px;
}


.post-menu-item small {

    display: block;

    margin-top: 3px;

    color: #8b949e;

    font-size: 9px;
}


.post-menu-item.danger {

    color: #dc3545;
}

.post-menu-item.danger
.post-menu-icon {

    color: #dc3545;

    background: #fff0f1;
}


.post-menu-cancel {

    width: 100%;

    height: 45px;

    margin-top: 10px;

    border-radius: 11px;

    background: #f0f2f5;

    color: #333;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;
}


@media (min-width: 768px) {

    .post-menu-overlay {

        align-items: center;

        padding: 20px;
    }

    .post-menu-sheet {

        margin: auto;

        max-width: 480px;

        border-radius: 18px;

        transform: translateY(30px);

        opacity: 0;
    }

    .post-menu-overlay.active
    .post-menu-sheet {

        transform: translateY(0);

        opacity: 1;
    }

}


.share-overlay {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    background: rgba(0,0,0,.55);

    opacity: 0;

    visibility: hidden;

    transition: .25s ease;
}

.share-overlay.active {

    opacity: 1;

    visibility: visible;
}


.share-sheet {

    width: 100%;

    max-width: 650px;

    background: #fff;

    border-radius:
        22px 22px 0 0;

    padding:
        8px 16px
        calc(16px + env(safe-area-inset-bottom));

    transform: translateY(100%);

    transition:
        transform .3s
        cubic-bezier(.22,.61,.36,1);
}

.share-overlay.active
.share-sheet {

    transform: translateY(0);
}


.share-handle {

    width: 42px;

    height: 4px;

    margin: 3px auto 15px;

    border-radius: 20px;

    background: #d0d4d8;
}


.share-title {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 14px;

    border-bottom:
        1px solid #edf0f2;

    font-size: 17px;

    font-weight: 700;
}


.share-title button {

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: #f0f2f5;

    font-size: 18px;

    cursor: pointer;
}


.share-item {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 13px 4px;

    border: 0;

    border-bottom:
        1px solid #f0f1f2;

    background: transparent;

    text-align: left;

    cursor: pointer;
}


.share-item:active {

    background: #f5f6f7;
}


.share-icon {

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    font-size: 18px;
}


.share-icon.facebook {

    background: #e8f1ff;

    color: #1877f2;
}


.share-icon.send {

    background: #edf5ff;

    color: #1677ff;
}


.share-icon.whatsapp {

    background: #e8f8ee;

    color: #20a95a;
}


.share-icon.link {

    background: #f0f2f5;

    color: #555;
}


.share-icon.more {

    background: #f0f2f5;

    color: #555;
}


.share-text strong {

    display: block;

    font-size: 13px;

    color: #20252b;
}


.share-text small {

    display: block;

    margin-top: 3px;

    color: #8b949e;

    font-size: 9px;
}


.share-cancel {

    width: 100%;

    height: 46px;

    margin-top: 10px;

    border: 0;

    border-radius: 12px;

    background: #f0f2f5;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;
}


@media (min-width: 768px) {

    .share-overlay {

        align-items: center;

        padding: 20px;
    }

    .share-sheet {

        max-width: 480px;

        border-radius: 18px;

        transform:
            translateY(30px);

        opacity: 0;
    }

    .share-overlay.active
    .share-sheet {

        transform:
            translateY(0);

        opacity: 1;
    }

}



/* =========================================================
   FACEBOOK STYLE FEED VIDEO
========================================================= */

.facebook-video {

    position: relative;

    width: 100%;

    overflow: hidden;

    background: #000;

    cursor: pointer;
}


.feed-video {

    display: block;

    width: 100%;

    max-height: 600px;

    object-fit: cover;

    background: #000;
}


/* =========================================================
   CENTER PLAY BUTTON
========================================================= */

.video-play-button {

    position: absolute;

    top: 50%;

    left: 50%;

    width: 64px;

    height: 64px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform:
        translate(-50%, -50%);

    border: none;

    border-radius: 50%;

    background:
        rgba(0,0,0,.68);

    color: #fff;

    font-size: 34px;

    padding-left: 4px;

    cursor: pointer;

    z-index: 5;

    transition:
        transform .2s,
        opacity .2s;
}


.video-play-button:hover {

    transform:
        translate(-50%, -50%)
        scale(1.08);
}


.video-play-button:active {

    transform:
        translate(-50%, -50%)
        scale(.94);
}


/* =========================================================
   HIDE PLAY BUTTON WHEN PLAYING
========================================================= */

.facebook-video.playing
.video-play-button {

    opacity: 0;

    pointer-events: none;
}


/* =========================================================
   MUTE BUTTON
========================================================= */

.video-mute-button {

    position: absolute;

    right: 12px;

    bottom: 12px;

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 50%;

    background:
        rgba(0,0,0,.65);

    color: #fff;

    font-size: 16px;

    cursor: pointer;

    z-index: 6;
}


.video-mute-button:active {

    transform: scale(.94);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .feed-video {

        max-height: 520px;

    }


    .video-play-button {

        width: 58px;

        height: 58px;

        font-size: 30px;

    }

}


.post-action.active-like {
    color: #1877f2;
}

.post-action.active-like i {
    color: #1877f2;
}

.post-action.active-save {
    color: #1877f2;
}

.post-action.active-save i {
    color: #1877f2;
}




/*
|--------------------------------------------------------------------------
| VIDEO
|--------------------------------------------------------------------------
*/

.feed-video-wrap {

    position: relative;

    width: 100%;

    height: 100%;
}

.feed-video {

    cursor: pointer;
}

.video-play-button {

    position: absolute;

    top: 50%;

    left: 50%;

    transform:
        translate(-50%,-50%);

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(0,0,0,.6);

    color: white;

    font-size: 31px;

    transition: .2s;

    cursor: pointer;
}

.feed-video-wrap.playing
.video-play-button {

    opacity: 0;

    pointer-events: none;
}

.video-mute-button {

    position: absolute;

    right: 12px;

    bottom: 12px;

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(0,0,0,.65);

    color: white;

    font-size: 16px;

    cursor: pointer;
}




/* =========================================================
   FACEBOOK POST MEDIA
========================================================= */


/* =========================================================
   FACEBOOK STYLE POST MEDIA GRID - FIXED
========================================================= */

.post-media-container {
    width: 100%;
    display: grid;
    gap: 2px;
    overflow: hidden;
    background: #f0f2f5;
    box-sizing: border-box;
}


/* =========================================================
   ALL MEDIA ITEMS
========================================================= */

.post-media-item {
    position: relative;

    min-width: 0;
    min-height: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #e4e6eb;

    box-sizing: border-box;
}


/* =========================================================
   1 MEDIA
========================================================= */

.post-media-container.media-count-1 {
    grid-template-columns: 1fr;
    height: auto;
}

.post-media-container.media-count-1
.post-media-item {
    height: auto;
    max-height: 650px;
}


/* =========================================================
   2 MEDIA
========================================================= */

.post-media-container.media-count-2 {
    grid-template-columns: 1fr 1fr;
    height: 400px;
}

.post-media-container.media-count-2
.post-media-item {
    height: 400px;
}


/* =========================================================
   3 MEDIA
========================================================= */

.post-media-container.media-count-3 {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    grid-template-rows:
        minmax(0, 1fr)
        minmax(0, 1fr);

    height: 400px;

    gap: 2px;
}


/* =========================================================
   FIRST MEDIA
========================================================= */

.post-media-container.media-count-3
.post-media-item:nth-child(1) {

    grid-column: 1;
    grid-row: 1 / 3;

}


/* =========================================================
   SECOND MEDIA
========================================================= */

.post-media-container.media-count-3
.post-media-item:nth-child(2) {

    grid-column: 2;
    grid-row: 1;

}


/* =========================================================
   THIRD MEDIA
========================================================= */

.post-media-container.media-count-3
.post-media-item:nth-child(3) {

    grid-column: 2;
    grid-row: 2;

}


/* =========================================================
   IMAGES
========================================================= */

.post-image {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: cover;

    cursor: pointer;

    box-sizing: border-box;
}


/* =========================================================
   VIDEO ITEM
========================================================= */

.post-video-item {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #000;

    box-sizing: border-box;
}


/* =========================================================
   VIDEO WRAPPER
========================================================= */

.post-video-wrapper {

    position: relative;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

    background: #000;

    cursor: pointer;

    box-sizing: border-box;
}


/* =========================================================
   VIDEO
========================================================= */

.feed-video {

    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: cover;

    background: #000;

    box-sizing: border-box;
}


/* =========================================================
   VIDEO PLAY BUTTON
========================================================= */

.video-play-overlay {

    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    width: 56px;
    height: 56px;

    border-radius: 50%;

    background:
        rgba(0, 0, 0, .65);

    color: #fff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 34px;

    pointer-events: none;

    z-index: 5;
}


/* =========================================================
   +N OVERLAY
========================================================= */

.more-media-overlay {

    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
        rgba(0, 0, 0, .55);

    display: flex;

    align-items: center;
    justify-content: center;

    color: #fff;

    cursor: pointer;

    z-index: 10;

    box-sizing: border-box;
}


.more-media-overlay span {

    font-size: 38px;

    font-weight: 700;

    line-height: 1;

    pointer-events: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .post-media-container.media-count-2 {

        height: 300px;

    }

    .post-media-container.media-count-2
    .post-media-item {

        height: 300px;

    }


    .post-media-container.media-count-3 {

        height: 300px;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        grid-template-rows:
            minmax(0, 1fr)
            minmax(0, 1fr);

    }


    .video-play-overlay {

        width: 48px;
        height: 48px;

        font-size: 29px;

    }


    .more-media-overlay span {

        font-size: 30px;

    }

}
