/*
Theme Name: Minimal Theme
Author: You
Version: 2.1
*/
body { font-family: Arial, sans-serif; }
main { padding: 20px; }

.site-header {
    background-color: white;
    text-align: center;
    padding: 20px 0;
}

.wrap2 {
    background-color: pink; /* Keep the pink background for the section below the header */
}

.tag-cloud {
    text-align: center;
    margin-top: 20px;
}

.tag-cloud a {

    border-radius: 5px;
    text-decoration: none;
}

.tag-cloud a:hover {
    text-decoration: underline;
}

.post-entry {
    padding: 0px;
    border: 2px solid #000;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

.post-content img,
.post-content iframe,
.post-content video {
    width: 100%;
    height: auto;
    display: block;
}



.content-wrapper {
   
    margin: 0 ;
    padding: 0 0px;
}

.single-wrapper {
   
    margin: 0 ;
    padding: 0 0px;
}
.post-content video, .post-content iframe {
    width: 100%;  /* Full width */
    height: auto;  /* Maintain aspect ratio */
    border-radius: 10px;  /* Optional: Keep rounded corners */
}

@media (max-width: 768px) {
    .post-content video, .post-content iframe {
        width: 100%;  /* Full width for smaller screens */
        height: auto;
    }
}
.post-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: left;
    opacity: 0.4;
    padding: 0px 15px;
    z-index: 11;
    background: #FFFFFF00;

}



.post-content {
    margin-top: 0;
}

.wp-block-image, .wp-block-embed, .wp-block-video {
    margin-top: 0;
}
#loading-spinner img {
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.post-content p {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-bar {
    background-color: <?php echo esc_attr(get_theme_mod('secondary_color', '#ffffff')); ?>;
    padding: 10px;
    text-align: center;
    border-top: 2px solid #000000;
    border-radius: 0 0 10px 10px;
}
.post-entry {
    position: relative;
    overflow: hidden;
}

.interaction-bar-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 11;
    opacity: 0.4; /* Default faded (25%) */
    transition: opacity 0.3s ease-in-out;
}

.interaction-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #FFF;
    cursor: pointer;
    opacity: 0.9; /* Slightly faded by default */
    transition: color 0.3s ease, opacity 0.3s ease-in-out;
}

.interaction-item i {
    margin-right: 5px;
}
.post-entry:hover .post-title {
    opacity: 1; /* Bar stays at 80% opacity when hovered */
        text-shadow: 
        -1px -1px 0 black, 
        1px -1px 0 black, 
        -1px 1px 0 black, 
        1px 1px 0 black;  /* Fallback for better compatibility */
	font-weight: bold;
}

.post-entry:hover .hamburger {
    text-shadow: 
        -1px -1px 0 black, 
        1px -1px 0 black, 
        -1px 1px 0 black, 
        1px 1px 0 black;  /* Fallback for better compatibility */
	font-weight: bold;
}

.post-entry:hover .interaction-bar-overlay {
    opacity: 0.85; /* Bar stays at 80% opacity when hovered */
}

.interaction-item:hover {
    color: #000; /* Icon turns fully black */
    opacity: 1; /* Icon becomes fully visible (100% opacity) */
}

.post-entry a {

display: flex;
    align-items: center;
    font-size: 16px;
    color: #FFF;
    text-decoration: none; /* Removes underline */
    cursor: pointer;
    opacity: 1; /* Slightly faded by default */
    transition: color 0.3s ease, opacity 0.3s ease-in-out;
}

.like-toggle {
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}



.like-toggle i {
    color: #fff; /* Default unliked state */
}


.share-button {
    color: #0073aa;
    transition: color 0.2s ease-in-out;
}

.share-button:hover {
    color: #005a8c;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    padding: 20px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.comment-form-loading {
    text-align: center;
    color: #666;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.comment-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 0;
    height: 100%;
    padding: 0px;
    z-index: 10;
    position: absolute;
}

.comment-box .comment-content {
    max-height: 100%; /* Set this to a specific height you want */
    overflow-y: auto; /* Allows vertical scrolling when content exceeds max-height */
    margin-bottom: 10px;
    background: #FFFFFF40;
}

/* Custom scrollbar for Webkit browsers */
.comment-box .comment-content::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
}

.comment-box .comment-content::-webkit-scrollbar-track {
    background: #f1f1f1; /* Background of the scrollbar track */
}


.comment-box .comment-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;

}

.comment-box .comment-submit {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 60px;
}

.login-prompt {
	margin-bottom:80px;
}

/* Menu overlay */
.hamburger {
    position: absolute; /* Position relative to the parent (post entry) */
    top: 10px; /* Adjust as needed to match logo position */
    right: 15px;
    z-index: 100; /* Ensure it's above the image */
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #00000000;
    color:#FFF;
    font-size: 20px;
	opacity: 0.4;
}

.menu-overlay {
    position: absolute;
    top: 0;
    border: none;
    border-radius: 5px;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 20px;
    display: none;
    width:44%;
    z-index:20;
    flex-direction: column;
    justify-content: space-between; /* Push the ad or other content to the bottom */
}

.menu-items {
    max-height: 70%; /* Limit height of the menu items */
    overflow-y: auto; /* Enable scrolling if items overflow */
}

.menu-ad {
    margin-top: 10px;
    text-align: center;
}



.menu-overlay.active {
    display: flex;
    opacity: 1;
}

.menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.menu-content ul li {
    margin: 15px 0;
}

.menu-content ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease-in-out;
}

.menu-content ul li a:hover {
    color: #ff69b4;
}
.image-overlay {
    pointer-events: auto;
}
#back-to-top {
    position: fixed;
    bottom: 15px;/* Adjust based on screen size */
    right: 15px;
    display: none;
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 18px;
    z-index: 999;
    cursor: pointer;
    transition: background-color 0.3s ease;
    opacity: 0.5;
}

#back-to-top:hover {
    opacity: 1;
}
.interaction-item {
    cursor: pointer; /* Makes it clear this span is clickable */
}

.post-content {
    position: relative; /* Ensure post-content container is positioned relative */
}

.share-menu {
    position: absolute;

    right: 0;
    bottom: 40px;
    padding:15px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    display: none;
    max-width:250px;
    max-height:250px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10; /* Ensure it overlays other content */
    border-radius: 10px; /* Optional for rounded corners */
}

.share-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 10;
}

.share-menu li {
    margin: 10px 0;
}

.share-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease-in-out;
}


.share-menu.visible {
    display: flex;
}
.text-box {
    position: relative;
}

.copy-feedback {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background-color: #0073aa; /* Match theme colors */
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
    display: none; /* Hidden by default */
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}
.fass {
    position: absolute;
    font-size: 4rem;

    transform: translate(-50%, -50%) scale(0.8);
    animation: popAndFade 1s ease-out forwards;
    z-index: 9999;
    pointer-events: none; /* Prevent interaction */
}

@keyframes popAndFade {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}
.image-overlay {
  position: relative;
  background: #111;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  padding-top: 150px;
  height: 350px;
  width: 100%;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.post-entry.revealed .image-overlay {
  opacity: 0;
  visibility: hidden;
  height: 0;
  padding: 0;
  overflow: hidden;
}


.close-comment-box {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px; /* Adjust size as needed */
    color: #000;
    cursor: pointer;
    z-index: 11;
}

.close-comment-box:hover {
    color: #ff0000; /* Change color on hover for better visibility */
}

.custom-phrase h2 {
padding: 15px;
}

#category-filter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjust 150px as needed */
    gap: 10px; /* Space between items */
    padding: 10px;
    border: 1px solid #ddd; /* Optional: Add a border for styling */
    border-radius: 5px; /* Optional: Rounded corners */
    width:100%;
}
.spacer {
width:100%;
}
#category-filter label {
    display: flex;
    align-items: center; /* Center the checkbox and text vertically */
    font-size: 14px; /* Adjust font size */
    padding: 5px;
    border-radius: 5px;
    background: #fff; /* Optional: White background for labels */
    transition: background-color 0.3s ease;
    cursor: pointer;
}

#category-filter label input {
    margin-right: 5px;
}

#category-filter label:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}
#category-filter label:hover {
    background-color: #e9ecef; /* Light hover effect */
}

#category-filter input[type="checkbox"] {
    margin-right: 8px; /* Space between checkbox and label text */
}

#loading-spinner {
    position: static; /* Default flow */
    margin: 20px auto;
    visibility: hidden; /* Initially hidden */
}
#age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-gate-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
}

.buttons {
    margin-top: 1rem;
}

.logo2 {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10000;
    max-width: 150px;
}
.content-wrapper {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.containme {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    padding-bottom:20px;
width:100%;
}

.mobile-ad {
    position: relative;
    display: inline-block;
    max-width: 300px;
    width: 100%;
    margin: 20px auto;
    overflow: hidden;
    padding-bottom: 56.25%;
    height: 0;
    border-radius:15px;

}

.mobile-adtop {
    position: relative;
    display: inline-block;
    max-width: 300px;
    width: 100%;
    margin: 20px auto;
    overflow: hidden;
    
    height: 0;
    border-radius:15px;

}

.mobile-ad iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
video {
touch-action: manipulation;
}
.image-overlay {
z-index:10;
}