#terms-popup {
    display: none;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 600px;
    height: 600px; 
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
    padding: 10px;
    z-index: 1100;
    border-radius: 8px;
    overflow: hidden; 
}


#terms-popup iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* Close Button for Pop-up */
#terms-popup button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
#cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: rgba(34, 34, 34, 0.9);
    color: #fff;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    border-radius: 5px;
    display: none; /* Hide initially */
}

#accept-cookies {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 2px 5px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 3px;
}
.popup {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 600px;
    height: 600px;
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 1100;
    border-radius: 8px;
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#policy-popup iframe {
    width: 100%;
    height: 100%; 
    border: none;
}

.popup.active {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
#like-count{font-size: 0.80rem;}
#share-count{font-size: 0.80rem;}
.mbm-post {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    border-radius: 5px; /* Optional rounded corners */
}

.mbm-img {
    width: 100%;
    display: block;
    border-radius: 5px;
}

.mbm-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%; /* Bottom 10% overlay */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgb(0 0 0 / 71%)); /* Dark to transparent */
}

.mbm-tx {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%); /* Center text */
    color: white;
    font-size: 1rem;
    text-align: center;
    z-index: 2;
    width: 90%; /* Ensures text stays inside */
}
/*pagination*/
.mbm-pagination h2 {
  text-align: center;
  color: #fff;
  font-size: 40px;
  font-family: "Lora", serif;
  font-weight: 700;
  margin-top: 60px;
  text-shadow: 0 5px 8px rgba(0, 0, 0, 0.25);
}
.mbm-pagination h2 span {
  font-weight: 400;
}
.pgn-container {
  position: relative; /* This keeps absolute children inside */
  background: lightgray;
}
.mbm-pagination {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 10px;
  background-color: #fff;
  border-radius: 40px;
  box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.04);
  white-space: nowrap; /* Prevents pagination from stretching */
}
.mbm-pagination li {
  display: inline-block;
  list-style: none;
}
.mbm-pagination li a {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #fff;
  text-align: center;
  text-decoration: none;
  color: #252525;
  border-radius: 4px;
  margin: 5px;
  box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
.mbm-pagination li a:hover, .mbm-pagination li a.active {
  color: #fff;
  background-color: #ff4242;
}
.mbm-pagination li:first-child a {
  border-radius: 40px 0 0 40px;
}
.mbm-pagination li:last-child a {
  border-radius: 0 40px 40px 0;
}
.styled-list {
    list-style: none;
    padding: 0;
}

.styled-list li {
    position: relative;
    padding-left: 20px; /* Space for text */
    margin-bottom: 15px;
    border-left: 7px solid #ddd; /* Border comes first */
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    align-items: center; /* Align items vertically */
    gap: 10px; /* Space between SVG and text */
}

.styled-list li svg {
    width: 20px;
    height: 20px;
    fill: #555; /* Change icon color */
}
        .dt-nav-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        /*    width: 250px;  Adjust width as needed */
        }

        .dt-nav-menu li {
            background: #f5f5f5; /* Light background */
            text-align: center;
            color: #000; /* Text color */
            padding: 10px;
            margin-bottom: 4px; /* Spacing between <li> elements */
            position: relative;
            border-left: 5px solid transparent; /* Reserve space for border */
            transition: background 0.2s ease-in-out, border-left 0s; /* Instant border effect */
        }

        .dt-nav-menu li a {
            text-decoration: none;
            color: #000;
            display: block;
            width: 100%;
        }

        /* Hover Effect */
        .dt-nav-menu li:hover {
            border-left: 5px solid #ff003e; /* Instant left border */
            background: #e0e0e0; /* Slightly darker background */
        }

        /* Active State */
        .dt-nav-menu li.active-item {
            border-left: 5px solid #ff003e; /* Ensure active border */
            background: #dcdcdc; /* Permanent active background */
        }
/* Post Content Styling inside #mbm section */
#mbm p {
    font-family: 'Arial', sans-serif; /* Change font */
    font-size: 16px; /* Adjust font size */
    font-weight: 400; /* Normal font weight */
    color: #333; /* Text color */
    line-height: 1.6; /* Line spacing */
    letter-spacing: 0.5px; /* Adjust letter spacing */
    text-align: justify; /* Align text */
}

/* Styling Headings inside #mbm section */
#mbm h1 {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    text-transform: uppercase;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

#mbm h2 {
    font-size: 24px;
    font-weight: 600;
    color: #444;
}

/* Customizing Line Styles inside #mbm section */
#mbm hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #ddd, #000, #ddd); /* Gradient line */
    margin: 20px 0;
}

#mbm .dashed-line {
    border-bottom: 2px dashed #888; /* Dashed line */
    margin: 15px 0;
}

#mbm .dotted-line {
    border-bottom: 2px dotted #555; /* Dotted line */
    margin: 15px 0;
}

#mbm .solid-line {
    border-bottom: 2px solid #333; /* Solid line */
    margin: 15px 0;
}

/* Styling Links Inside #mbm Section */
#mbm a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

#mbm a:hover {
    text-decoration: underline;
    color: #0056b3;
}
 .mbm-container {
            width: 800px;
            height: 300px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 2px solid black;
            margin: 50px auto;
            position: relative;
            flex-direction: column;
            background: black;
            transition: background 0.5s ease;
        }
        .comm {
            width: 370px;
            height: 190px;
            background: black;
            color: lime;
            font-family: monospace;
            padding: 10px;
            overflow: hidden;
            display: block;
            overflow-y: auto;
            text-align: left;
        }

        .device1 img {
            width: 60px;
            height: 30px;
			 overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
			 border-radius: 50%;
            transition: background 0.5s ease;
        }
        .mbm-line {
            width: 2px;
            height: 30px;
            background: black;
            margin: auto;
        }
        .dark-mode {
            background: black;
        }
      .status-text {
            display: none;