/*
Theme Name:     MackNaija Pro
Theme URI:      https://wa.me/2347069047498
Description:    A custom WordPress theme for HipHopKray, optimized for SEO and speed, with custom post types for music, videos, and albums.
Version:        1.0.0
Author:         GBT3K
Author URI:     https://wa.me/2347069047498
Text Domain:    hiphopkray
License:        GNU General Public License v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Tags:           custom-post-types, SEO, responsive, music, video
Tested up to:   6.6.1
Requires PHP:   8.1
Update Date:    2024-08-27
*/

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font style for entire website - Bold Sans-Serif */
body, 
p, 
h1, h2, h3, h4, h5, h6, 
a, 
span, 
div, 
li, 
button, 
input, 
textarea {
    font-family: "Figtree" !important;
/* Bold weight */
}

header {
    background-color: var(--bg-color);
    padding: 10px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb {
    font-size: 16px !important;
    }
    
    .image-caption {
        left: 40% !important;
    }

    .social-container{
        width: 100% !important;
    }
    
    .social-icon{
        font-size: 24px !important;
    }
    

    
    .telegram-button {
        width: 80%;
    }
    
    
    .post-title h2 {
    font-size: 16px !important;
   
}

.post-title h1{
    font-size: 26px !important;
}
    
    .author-text {
    font-size: 15px !important;
}

.author-name {
    font-size: 15px !important;
}

.post-date {
    font-size: 11px !important;
}

/* Trending Now Title */
.trending-now {
    background-color: #012b02;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    padding: 12px 20px; /* Reduced padding for narrower background */
    border-radius: 5px;
    font-size: 14px; /* Reduced font size */
    text-align: center;
    margin-bottom: 5px;
    font-weight:800;
    display: flex;/* Ensures the width is only as wide as the content */
}

/* Post List */
.post-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 5px;
}

@media (max-width: 1100px) {
    .post-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.post-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 0;
    overflow: hidden;
    background-color: var(--bg-color);
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease;
}

.post-item:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.post-image {
    position: relative;
    display: block;
}

.post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
    transition: transform 0.3s ease-in-out;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.post-details {
    flex-grow: 1;
    padding: 10px;
}

.post-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #888;
    font-size: 15px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.post-date,
.post-comments {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border: 2px solid #999;
}

.meta-icon-clock {
    border-radius: 50%;
}

.meta-icon-clock:before {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 2px;
    height: 5px;
    background: #999;
}

.meta-icon-clock:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 7px;
    width: 5px;
    height: 2px;
    background: #999;
}

.meta-icon-comment {
    width: 18px;
    height: 14px;
    border-radius: 9px;
}

.meta-icon-comment:after {
    content: "";
    position: absolute;
    right: 1px;
    bottom: -4px;
    width: 6px;
    height: 6px;
    border-left: 2px solid #999;
    border-bottom: 2px solid #999;
    background: var(--bg-color);
    transform: rotate(-25deg);
}

/* Better Category Badge on Thumbnails */
.post-image {
    position: relative;
}

.post-category {
    position: absolute;
    bottom: 2px;
    left: 2px;
    background: #012b02;
    color: white;
    padding: 2px 2px;
    font-size: 9px;
    font-weight: 700;
    border: 1px solid #ccc;
}

.post-parts  {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: darkred;
    color: white;
    padding: 2px 2px;
    font-size: 9px;
    font-weight: 700;
    border: 1px solid #ccc;
}

.post-title {
    font-size: 15px;
    line-height: 1.25;
    margin-bottom: 5px;
    font-weight: 800;
    color: #000;
}

.post-content p {
    margin-bottom: 1em;
}

.post-content p:last-child {
    margin-bottom: 0;
}

/* Next Post Link */
.next-post {
    display: block;
    background-color: #012b02;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 16px;
    margin-top: 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}


/* Responsive Styles */
@media (max-width: 1100px) {
    .post-title {
        font-size: 14px; /* Adjusted for mobile */
    }

    .trending-now {
        font-size: 14px; /* Smaller font size on mobile */
    }
}


/* Footer Styles */
.footer {
    background-color: #012b02;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    border-top: 3px solid #012b02;
}

.footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to the next line */
    justify-content: center;
    margin-bottom: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 5px 15px;
    font-weight: 700;
    transition: color 0.3s ease;
    font-size: 16px; /* Increased font size */
}

.footer-links a:hover {
    color: #012b02;
}

.social-media {
    margin-bottom: 15px;
}

.social-media a {
    color: white;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #012b02;
}

.social-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 10px; /* Adjust as needed */
    margin-bottom: 10px; /* Adjust as needed */
}

.social-icon {
    text-decoration: none;
    font-size: 22px;
}
/* Facebook icon color */
.social-icon[href*="facebook.com"] {
    color: #1877F2; /* Facebook blue */
}

/* Twitter icon color */
.social-icon[href*="twitter.com"] {
    color: #1DA1F2; /* Twitter blue */
}

/* WhatsApp icon color */
.social-icon[href*="whatsapp.com"] {
    color: #25D366; /* WhatsApp green */
}

/* Telegram icon color */
.social-icon[href*="t.me"] {
    color: #0088cc; /* Telegram blue */
}

/* Link copy icon color */
#copy-link {
    color: #333; /* Dark gray for link copy */
}
#copy-link1{
    color: #333;
}

/* Hover effect for social icons */
.social-icon:hover {
    opacity: 0.8; /* Slightly dim on hover */
}


.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s;
}

.copy-notification.fade-out {
    opacity: 0;
}


.dmca {
    margin-bottom: 15px;
}

.dmca img {
    width: 100px;
    height: 20px;
}

.copyright {
    font-size: 12px;
    color: #ccc;
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .footer-links {
        flex-direction: row;
        justify-content: center; /* Center the links */
        margin-bottom: 10px;
    }

    .footer-links a {
        font-size: 14px; /* Adjust size for mobile */
        margin: 5px 10px;
    }

    .social-media a {
        font-size: 20px;
    }
    
   
    
}

/* Hide the search bar by default */
.search-bar {
    display: none;
    padding: 10px;
    background-color: white;
    position: absolute;
    top: 60px; /* Adjust based on your header height */
    right: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 1000;
}

/* Style the search input and button */
.search-bar form {
    display: flex;
    align-items: center;
}

.search-bar input[type="text"] {
    width: 200px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-right: 10px;
}

.search-bar button {
    padding: 8px 16px;
    background-color: #012b02;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}



#trend{
    margin-top: 10px;
}

/* General styling */


/* Breadcrumb styling */
.breadcrumb {
    font-size: 14px;
    margin-bottom: 5px;
    color: #012b02;
    margin-top: 10px;
}

.breadcrumb a {
    text-decoration: none;
    color: #012b02;
}

.breadcrumb a::after {
    content: " >> ";
    color: gray;
}

.breadcrumb a:last-child::after {
    content: "";
}

/* Post Title */
.post-title h1 {
    font-size: 20px;
    margin-top: 10px;
}

.post-title h2 {
    font-size: 14px;
    color: gray;
    margin-bottom: 10px;
    margin-top: 10px;
}

/* Author Info */
.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.author-name {
    font-size: 13px;
    color: #012b02;
    font-weight: 700;
}

.verified-badge {
    width: 12px;
    height: 12px;
    position: relative; /* or 'absolute' */
    top: 3px; /* Adjust the value as needed */
}

.post-date {
    color: gray;
    font-size: 12px;
}
.author-text{
    color: gray;
    font-size: 12px;
    display: inline;
    
}

/* Post Image Container */
.post-image-container {
    position: relative;
    margin-bottom: 10px;
}

.post-image-content {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: 0 0 15px 0;
    border-radius: 0;
}

.image-caption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    text-align: center;
    width: 80%;
}

/* Telegram Button */
.telegram-button {
    background-color: #012b02;
    color: white;
    padding: 10px 20px;
    text-align: center;
    border-radius: 5px;
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
}
.telegram-button:hover {
    color: white;
}


/* Post Content */
.post-content {
    max-width: 100%;
    font-size: 16px;
    font-family: Figtree;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 40px;
    position: relative;
    width: 100%;
    overflow: visible;
    clear: both;
    padding: 0 15px 15px;
    margin-top: 0;
}

/* First element in post content — no extra top gap */
.post-content > *:first-child,
.post-content > .wp-block-embed:first-child,
.post-content > figure.wp-block-embed:first-child,
.post-content > p:first-child:has(> iframe[src*="youtube"]) {
    margin-top: 0;
}

/* Social Icons */
.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
}

.social-icons img {
    width: 40px;
    height: 40px;
}

/* Separator Line */
.separator {
    height: 1px;
    background-color: #e0e0e0;
}

/*Comment */

.comment-system * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Comment System Container */
.comment-system {
  margin: 0 auto;
  padding: 20px 0;
  color: var(--card-text);
}

/* Comment Count Header */
.comment-system .comment-count {
    font-size: 1.0em;
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    font-weight: bold;
  }
body.dark-mode .comment-system .comment-count {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Comments Container */
.comment-system .comments-container {
  margin-bottom: 20px;
}

/* Individual Comment Styling */
.comment-system .comment {
  display: flex;
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
}
.comment-system .comment:last-child {
  border-bottom: none;
}
body.dark-mode .comment-system .comment {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comment-system .avatar {
  margin-right: 15px;
}
.comment-system .avatar img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-system .comment-content {
  flex: 1;
}
.comment-system .comment-header {
  margin-bottom: 5px;
  font-size: 0.9em;
  color: #555;
}
body.dark-mode .comment-system .comment-header {
  color: #ccc;
}
.comment-system .comment-header .author {
  font-weight: bold;
  color: #333;
}
body.dark-mode .comment-system .comment-header .author {
  color: var(--card-text);
}
.comment-system .comment-header .mystery {
  font-style: italic;
  color: #999;
  margin-left: 5px;
}
body.dark-mode .comment-system .comment-header .mystery {
  color: #aaa;
}
.comment-system .comment-header .date {
  float: right;
  color: #aaa;
}
body.dark-mode .comment-system .comment-header .date {
  color: #bbb;
}

.comment-system .comment-body {
  margin-bottom: 10px;
  line-height: 1.5;
  color: #444;
}
body.dark-mode .comment-system .comment-body {
  color: #ccc;
}

/* Action Buttons */
.comment-system .comment-actions {
  margin-bottom: 10px;
}
.comment-system .comment-actions button {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    margin-right: 10px;
    font-size: 0.9em;
    transition: color 0.3s;
  }
  .comment-system .comment-actions button:hover {
    color: var(--accent-color);
  }
.comment-system .like-btn.active {
  color: #e0245e;
}
.comment-system .comment-actions .like-btn:hover {
    color: #e0245e;
  }

/* Reply Form Styling */
.comment-system .reply-form {
  margin-top: 10px;
}
.comment-system .reply-form input,
.comment-system .reply-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px;
  font-family: Figtree;
  margin-bottom: 5px;
  resize: vertical;
}
body.dark-mode .comment-system .reply-form input,
body.dark-mode .comment-system .reply-form textarea {
  border: 1px solid #444;
  background: var(--card-bg);
  color: var(--card-text);
}
.comment-system .reply-form button {
  padding: 6px 12px;
  background-color: #012b02;
  border: none;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.comment-system .reply-form button:hover {
  background-color: var(--button-bg-hover);
}
body.dark-mode .comment-system .reply-form button:hover {
  background-color: var(--button-bg-hover);
}

/* Nested Replies */
.comment-system .replies {
  margin-left: 65px;
  border-left: 2px solid #f0f0f0;
  padding-left: 15px;
  margin-top: 10px;
}
.comment-system .replies:last-of-type >.replies {
    border-bottom: 1px solid var(--comment-bottom-border);
  }

body.dark-mode .comment-system .replies:last-of-type >.replies {
    border-bottom: #333;
  }

body.dark-mode .comment-system .replies {
  border-left: 2px solid rgba(255,255,255,0.1);
}

/* Responsive adjustments for mobile (minimal nested replies) */
@media (max-width: 600px) {
  .comment-system .replies {
    margin-left: 15px;
    padding-left: 5px;
    border-left: 2px solid #f0f0f0;
  }
}

/* Top-level Comment Form */
.comment-system .comment-form {
  margin-top: 20px;
}
.comment-system .comment-form input,
.comment-system .comment-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  font-family: Figtree;
  margin-bottom: 10px;
  resize: vertical;
}
body.dark-mode .comment-system .comment-form input,
body.dark-mode .comment-system .comment-form textarea {
  border: 1px solid #444;
  background: var(--card-bg);
  color: var(--card-text);
}
.comment-system .comment-form button {
  padding: 8px 16px;
  background-color: #012b02;
  border: none;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.comment-system .comment-form button:hover {
  background-color: var(--button-bg-hover);
}
body.dark-mode .comment-system .comment-form button:hover {
  background-color: var(--button-bg-hover);
}


/* Headings */
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
    font-family: 'Figtree'; /* Serif font for headings */
    color: #222; /* Slightly darker color for headings */
    margin-top: 1.5em; /* Space above headings */
    margin-bottom: 0.5em; /* Space below headings */
    line-height: 1.4; /* Improve spacing for headings */
}

/* Links */
.post-content a {
    color: #012b02; /* Red color for links */
    text-decoration: none; /* Remove underline */
}

.post-content a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Lists */
.post-content ul, .post-content ol {
    padding-left: 20px; /* Indent lists */
}

.post-content li {
    margin-bottom: 10px; /* Space between list items */
}

/*Pages */

.page-content p {
	    padding: 10px; 
}
	.page-content ul, .page-content ol, .page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6 {
	    padding: 5px;
    padding-left: 20px; /* Indent lists */
}


/* Images */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

/* Primary post media images — match YouTube embed sizing */
.post-content .wp-block-image,
.post-content figure.wp-block-image,
.post-content p:has(> img:only-child),
.post-content p:has(> a > img:only-child),
.post-content .post-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 0 15px 0;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    display: block;
    clear: both;
    border-radius: 0;
}

.post-content .wp-block-image img,
.post-content figure.wp-block-image img,
.post-content p:has(> img:only-child) img,
.post-content p:has(> a > img:only-child) img,
.post-content .post-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
}

/* Blockquotes */
.post-content blockquote {
    border-left: 4px solid #012b02; /* Red border for blockquote */
    padding-left: 15px; /* Space inside blockquote */
    margin: 20px 0; /* Margin for spacing */
    font-style: italic; /* Italicize text */
    color: #555; /* Slightly lighter color */
    background-color: #f1f1f1; /* Light background */
    border-radius: 4px; /* Rounded corners for blockquote */
}

/* Code Blocks */
.post-content pre {
    background-color: #333; /* Dark background for code blocks */
    color: #f8f8f2; /* Light text color */
    padding: 10px; /* Padding inside code blocks */
    border-radius: 4px; /* Rounded corners for code blocks */
    overflow-x: auto; /* Scrollbar for long lines */
}

/* Tables */
.post-content table {
    width: 100%; /* Full width */
    border-collapse: collapse; /* Collapse borders */
    margin: 20px 0; /* Margin for spacing */
}

.post-content th, .post-content td {
    padding: 10px; /* Padding inside cells */
    border: 1px solid #ddd; /* Light border */
    text-align: left; /* Left align text */
}

.post-content th {
    background-color: #f4f4f4; /* Light background for headers */
    font-weight: bold; /* Bold headers */
}

/* Style for the post tags */

.post-tag-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
	max-width: 1100px;
}

.post-tags {
  display: inline-flex;          /* keeps tags in a row */
  font-size: 14px;
  margin: 30px 0;
  gap: 2px;
  color: #333;
  text-align: left;
  white-space: nowrap;           /* prevent wrapping */
}


.post-tag-container::-webkit-scrollbar {
  display: none;                 /* Chrome, Safari: hide scrollbar */
}

.post-tags p {
  margin: 0;
  display: flex;
  flex-wrap: nowrap;      /* prevent wrapping, force horizontal */
  align-items: center;
  gap: 10px;
}

.post-tags a {
  display: inline-block;
  background: #012b02;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 13px;
  transition: all 0.3s ease;
  white-space: nowrap;    /* keep each tag on one line */
}

.post-tags a:hover {
  background: #000;
  color: #fff;
  transform: none;
}

.post-tags-icon {
  flex: 0 0 auto;         /* icon stays fixed at start */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  color: #fff!important;
  text-decoration: none;
  padding: 6px 15px;
  border-radius: 3px;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* Style for the call-to-action section */
.rating-call-to-action {
    margin: 20px 0;
    font-size: 16px;
    color: #333;
    text-align: left; /* Align text to the left */
}

.rating-call-to-action p {
    margin: 10px 0;
}

.rating-call-to-action strong {
    font-weight: bold;
}

.rating-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: #012b02; /* Adjust as needed */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.rating-link:hover {
    color: #fff;
}


/* Style for the post image wrapper */
.post-image-wrapper {
    position: relative;
    display: inline-block;
}

/* Style for the number overlay */
#post-number-1,
#post-number-2,
#post-number-3,
#post-number-4, /* Add more IDs if necessary */
#post-number-5 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px; /* Adjust size as needed */
    height: 30px; /* Adjust size as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Round border */
    font-size: 14px; /* Adjust font size */
    font-weight: bold;
    color: #fff; /* White text color */
    background-color: #012b02; /* Red background */
    z-index: 10; /* Ensure it is above the image */
     margin-left: 40%;
}


/* Add more specific styles for other number IDs if needed */
#trending-now{
    margin-top: 10px;
}


/* Style for the SVG icon */
#trend svg {
    margin-left: 10px; /* Space between text and icon */
    margin-top: -3px;
    vertical-align: middle; /* Aligns the icon with the text */
}
.hiphopkray-related-post {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    margin-top: 20px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    max-width: 100%; /* Ensure full width on mobile */
}

.hiphopkray-related-post:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #333;
}

.hiphopkray-related-post-link {
    text-decoration: none;
    display: flex;
    color: #333 !important;
    width: 100%;
    font-size: 14px;
}

.hiphopkray-related-post-image {
    flex-shrink: 0;
    margin-right: 20px;
}

.hiphopkray-related-post-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.hiphopkray-related-post-title {
    flex-grow: 1;
    font-size: 14px;
    font-weight: bold;
    text-align: left; /* Align text to the left */
}




/* Media Query for Desktop View */
@media (min-width: 768px) {
    .hiphopkray-related-post {
        max-width: 1100px; /* Set the desired width for desktop */
        margin: 20px 0; /* Align to the left by removing auto margin */
    }

    .hiphopkray-related-post-image img {
        width: 120px; /* Slightly larger image on desktop */
        height: 120px;
    }

    .hiphopkray-related-post-title {
        font-size: 18px; /* Slightly larger font size for desktop */
    }
}
/* Wrapper for the content and sidebar */
.content-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 20px;
}

/* Main content area */
.main-content {
    width: 100%; /* Adjusted to 100% for proper layout */
    box-sizing: border-box;
    flex-shrink: 0;
    display: block;
    overflow: visible;
}

/* Sidebar */
.sidebar {
    width: 320px;
    flex-shrink: 0;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Sidebar post item */
.sidebar .post-item {
    display: flex;
    margin-bottom: 15px;
}

.sidebar .post-image-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    margin-right: 10px;
}

.sidebar .post-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #012b02;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.sidebar .post-info {
    flex: 1;
}

.sidebar .post-title {
    font-size: 14px;
    color: #333;
    margin-top: 4px;
}

    /* Adjust the post list layout for mobile view */
    .post-list-sidebar {
        display: flex;
        flex-direction: column; /* Stack items vertically */
    }

    .post-list-sidebar .post-item {
        display: flex;
        align-items: flex-start; /* Align items to the top */
        margin-bottom: 20px; /* Space between items */
        
        border-bottom: 1px solid #ddd; /* Optional border for separation */
    }

    .post-list-sidebar .post-image-wrapper {
        margin-right: 20px; /* Increase space between image and text */
    }

    .post-list-sidebar .post-image {
        width: 100px; /* Adjust image size for mobile */
        height: 100px; /* Adjust image size for mobile */
        display: block; /* Ensure the image displays as a block */
    }

    .post-list-sidebar .post-number {
       
    display: flex;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    text-decoration: none;
    color: inherit;
    transition: box-shadow .3s ease;
}
    

    .post-list-sidebar .post-info {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center text vertically */
    }

    .post-list-sidebar .post-title {
        font-size: 14px; /* Adjust font size for mobile */
        margin-bottom: 5px; /* Add space below the title */
    }

/* end of post sidebar for single content*/

/*VIDEO SECTION CSS*/

/* Unique styling for the video section */
.video-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns on larger screens */
    gap: 15px;
    margin: 20px auto;
    max-width: 1200px; /* Adjust as needed */
}

/* Ensure the grid items are properly styled */
.video-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
}


/* Styling for the video thumbnail */
.video-thumbnail {
    position: relative;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Play icon styling */
.play-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #012b02; /* Red accent color */
    color: white;
    padding: 5px;
    border-radius: 50%;
    font-size: 20px;
}

/* Video title styling */
.video-title {
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.video-title small {
    display: block;
    font-size: 12px;
    color: #777;
}

/* Responsive design for mobile view */
@media (max-width: 768px) {
    .video-section {
        grid-template-columns: repeat(2, 1fr); /* Ensure 2 columns on mobile */
    }

    .video-thumbnail img {
        width: 100%; /* Full width for mobile */
        height: auto; /* Maintain aspect ratio */
    }

    .video-title {
        font-size: 12px; /* Adjust font size for mobile */
    }
}

/* Ensure the grid is responsive and maintains 2x2 layout on very small screens */
@media (max-width: 480px) {
    .video-section {
        grid-template-columns: repeat(2, 1fr); /* Two columns for small screens */
    }
}

/* END OF HOME VIDEO CSS*/

/* Pagination Container */
.pagination {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Pagination Links */
.pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 16px;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: #fff;
    background-color: #012b02; /* Red background for the links */
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Active Pagination Link */
.pagination .current {
    background-color: #012b02; /* Darker color for the active page */
    color: #fff; /* Red text for the active page */
    border: 2px solid #012b02; /* Red border for the active page */
    font-weight: bold;
    padding: 8px 16px; /* Adjust padding to account for border */
    border-radius: 4px;
}

/* Hover Effects */
.pagination a:hover {
    background-color: #012b02; /* Slightly darker red on hover */
    color: #fff;
}

/* Previous/Next Text */
.pagination .prev, .pagination .next {
    font-weight: bold;
    margin-top: 10px;
}

/* Additional Styling for Mobile */
@media (max-width: 768px) {
    .pagination a {
        padding: 6px 12px;
        font-size: 13px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    }

    .pagination .current {
        padding: 5px 10px;
        font-size: 13px;
    }
}
/* Style for the Page Title */
.page-title {
    background-color: #012b02; /* Red background */
    color: #fff; /* White text color */
    padding: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* General Styling for Category, Tag, and Author Post Items */
.page-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.page-post-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.2s;
}


.page-post-thumbnail {
    position: relative;
}

.page-post-thumbnail img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 200px; /* Adjust the height to maintain aspect ratio */
}

.page-post-title {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.page-post-title a {
    text-decoration: none;
    color: #333;
}

.page-post-title a:hover {
    color: #012b02; /* Accent color on hover */
}

/* Sidebar Styles */
.sidebar-desktop {
    float: right;
    width: 25%;
    margin-left: 20px; /* Adjust as needed */
}


/* Desktop Navigation */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.nav-menu li a:hover,
.nav-menu li:hover > a {
    color: #0073aa;
}

/* Dropdown Menu */
.nav-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #333;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    border-radius: 4px;
}

.nav-menu .dropdown-menu li {
    width: 100%;
}

.nav-menu .dropdown-menu li a {
    padding: 12px 15px;
    color: #fff;
}

.nav-menu .dropdown-menu li a:hover {
    background: #444;
    color: #fff;
}

/* Show dropdown on hover */
.nav-menu li:hover > .dropdown-menu {
    display: block;
}

/* Navigation container */
.nav-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Handle raw YouTube iframes in paragraphs */
.post-content p:has(> iframe[src*="youtube"]) {
    position: relative;
    clear: both;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 15px 0;
    padding: 0;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 4px;
}

.post-content p iframe[src*="youtube"] {
    display: block;
    margin: 0;
    border: none;
}

/* Responsive 16:9 embed container */
.youtube-embed,
.post-content .wp-block-embed__wrapper,
.entry-content .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 4px;
}

.youtube-embed {
    display: block;
    clear: both;
    margin: 0 0 15px 0;
}

/* Outer Gutenberg embed — spacing only, no double aspect-ratio padding */
.post-content .wp-block-embed,
.post-content figure.wp-block-embed,
.post-content .wp-block-embed.is-type-video,
.post-content .wp-block-embed.wp-has-aspect-ratio,
.entry-content .wp-block-embed,
.wp-block-embed {
    display: block;
    clear: both;
    width: 100%;
    max-width: 100%;
    margin: 0 0 15px 0;
    padding: 0;
    height: auto;
    overflow: visible;
    background: transparent;
}

/* WordPress core aspect-ratio embeds */
.post-content .wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.youtube-embed iframe,
.entry-content iframe,
.entry-content .wp-block-embed iframe,
.wp-block-embed iframe,
iframe[src*="youtube"],
.post-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile responsiveness for embeds and post media images */
@media (max-width: 768px) {
    .youtube-embed,
    .post-content p:has(> iframe[src*="youtube"]),
    .post-content .wp-block-embed,
    .entry-content .wp-block-embed,
    .wp-block-embed,
    .post-content .wp-block-embed__wrapper,
    .entry-content .wp-block-embed__wrapper,
    .post-content .wp-block-image,
    .post-content figure.wp-block-image,
    .post-content p:has(> img:only-child),
    .post-content p:has(> a > img:only-child),
    .post-content .post-image-container,
    .post-image-content {
        max-width: 100%;
        margin: 0 0 12px 0;
    }
}

.macknaija-title {
  padding: 0;
  border: 0.5px solid #012b02;
  border-radius: 5px 5px 0px 0px;
  margin: 0px;
  margin-bottom: 0px;
  text-align: center;
}

.new-entry-tt {
  font-size: 20px;
  background: #012b02;
  color: white;
  padding: 10px;
  margin: 0;
  border-radius: 5px 5px 0px 0px;
  font-family: Figtree;
}

.entrymetang {
    font-size: 10px;
    color: grey;
    margin: 5px;
    padding: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-bottom: 1px solid #012b02;
    border-radius: 0px 0px 5px 5px;
    margin-bottom: 0px;
}
			.entrytime {
				margin-right: 0;
				color: grey!important;
			}
			.entrycat {
				margin-left: 0 ;
				color: grey!important;
			}

.mndivi {
				border: 2px solid #301934;
				height: 10px;
			}
			.rmp-results-widget {
				display: flex;
				align-items: center;
			}
			.rmp-results-widget__vote-count {
				margin-left: 2px;
			}

.vadnav {
			border: 1px solid #333;
			margin: 4px;
			padding: 4px;
			display: inline-block;
			color: white;
			background: #012b02;
			box-shadow: 0px 0px 1.5px 0px;
			border-radius: 3px;
		}
		.vadnav a {
			color: white;
		}

/* Main site wrapper */

	.site-wrapper {
    width: 100%;
}

.gencontainer{
    width:100%;
    max-width:1100px;
    margin:0 auto;
    background:#fff;
    box-sizing:border-box;
    box-shadow:0 0 2px rgba(0,0,0,.1);
}

/* Desktop Header */
.thenewheader{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 20px;
    border-bottom:1px solid #e5e5e5;
}

.dlogo img{
    max-height:45px;
    width:auto;
}

/* Desktop Navigation */
.dlnavi{
    margin:0;
    padding:0;
}

.mnmovies-scroll{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    white-space:nowrap;
}

.navidl{
    display:inline-block;
}

.navidl a{
    color:#000;
    text-decoration:none;
    font-size:14px;
    font-family:Figtree;
    font-weight:800;
    text-transform:uppercase;
}

.navidl a:hover{
    color:#012b02;
}

/* Hide mobile menu on desktop */
.mobile-nav{
    display:none;
}

/* Mobile */
@media screen and (max-width:768px){

    .thenewheader{
        padding:15px 10px;
    }

    /* Hide desktop menu */
    .dlnavi{
        display:none;
    }

    /* Show mobile menu */
    .mobile-nav{
        display:block !important;
        visibility:visible !important;
        border-bottom:1px solid #e5e5e5;
        background:#fff;
    }

    .mnmoviesnav{
        padding:10px;
        overflow-x:auto;
        white-space:nowrap;
    }

    .mnmoviesnav .mnmovies-scroll{
        display:flex;
        justify-content:flex-start;
        gap:15px;
    }

    .navidl a{
        font-size:13px;
    }
}

.homepage-body{
    width:100%;
    max-width:1100px; /* same width as your header */
    margin:20px auto;
    box-sizing:border-box;
}

.main-content{
    flex:1;
    min-width:0;
}

.sidebar{
    width:300px;
    flex-shrink:0;
}

@media (max-width:1100px){
    .content-wrapper{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
    }
}

.viewall {
				background: #012b02;
				color: white;
				padding: 5px;
				float:right;
				font-size: 12px;
				font-weight: 600;
				font-family: Figtree;
				border-radius: 5px;
				margin-right: 10px;
			}

.mnheadtitle {
			font-weight: 700; 
			margin-left: 5px; 
			margin-right: 5px; 
			margin-bottom: 5px; 
			background: #012b02; 
			color: white; 
			padding: 6px; 
			text-align:center; 
			font-size: 16px;
			display: block;
			font-family: Figtree!important;
			}

.comments-link,
.post-comments,
.comment-count {
    font-size: 11px !important;
}

.homepage-body > .main-content:first-child {
    width: 100%;
    max-width: 100%;
}

/* Desktop */
.homepage-body > .main-content:first-child .post-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

/* Tablet */
@media (max-width: 992px) {
    .homepage-body > .main-content:first-child .post-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .homepage-body > .main-content:first-child .post-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .homepage-body > .main-content:first-child .mnheadtitle {
        font-size: 14px;
    }

    .homepage-body > .main-content:first-child .viewall {
        font-size: 12px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .homepage-body > .main-content:first-child .post-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}


.post-list-sidebar{
    width:100%;
    overflow:hidden;
    box-sizing:border-box;
}

.sidebar-scroll-grid{
    display:flex;
    overflow-x:auto;
    overflow-y:hidden;
    gap:12px;
    width:100%;
    max-width:100%;
    padding:10px 0;
    box-sizing:border-box;
    scrollbar-width:thin;
}

.sidebar-grid-item{
    flex:0 0 150px;
    min-width:150px;
    max-width:150px;

    background:#fff;
    border:1px solid #ddd;
    border-radius:10px;
    overflow:hidden;

    text-decoration:none;
    color:inherit;
    box-sizing:border-box;
}

.sidebar-grid-image{
    width:100%;
}

.sidebar-grid-image img{
    width:100%;
    height:200px;
    object-fit:cover;
    display:block;
}

.sidebar-grid-content{
    padding:10px;
}

.sidebar-grid-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:12px;
    color:#888;
    margin-bottom:8px;
}

.sidebar-grid-title{
    font-size:15px;
    font-weight:700;
    line-height:1.4;
    color:#111;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* Mobile */
@media (max-width:768px){

    .sidebar-grid-item{
        flex:0 0 130px;
        min-width:130px;
        max-width:130px;
    }

    .sidebar-grid-image img{
        height:170px;
    }

    .sidebar-grid-title{
        font-size:13px;
    }

}

.post-list-sidebar {
    flex: 0 0 350px;   /* fixed sidebar width */
    max-width: 350px;
    width: 350px;
    overflow: hidden;
}
.sidebar {
    width: 350px;
    flex-shrink: 0;
}

.fa-clock,
.fa-comment {
    font-weight: normal !important;
}

@media (max-width: 768px) {
    .sidebar-grid-meta {
        font-size: 10px !important;
        gap: 6px !important;
    }

    .sidebar-grid-meta i {
        font-size: 10px !important;
    }

    .sidebar-grid-meta .date,
    .sidebar-grid-meta .comments {
        font-size: 10px !important;
    }
}

@media (max-width: 1100px) {

    .content-wrapper {
        display: block !important;
    }

    .content-wrapper .main-content,
    .content-wrapper .post-list-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .post-list-sidebar {
        margin-top: 20px;
    }

    .sidebar-scroll-grid {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .sidebar-grid-item {
        min-width: 180px;
        flex: 0 0 180px;
    }

    .sidebar-grid-image img {
        width: 100%;
        height: 110px;
        object-fit: cover;
    }
}

.post-item,
.sidebar-grid-item {
    height: auto !important;
    min-height: unset !important;
}

.post-details,
.sidebar-grid-content {
    padding-bottom: 10px !important;
}

.post-list {
    gap: 15px !important;
}

.post-item {
    margin-bottom: 0 !important;
}

		input[type=search] {
			padding: 15px;
			width: 100%;
			border: 0px solid #e5e5e5;
			/*border-radius: 5px 0px 0px 5px; */
			background: #fff;
			font-size: 15px;
			font-family: Figtree;
		}
			input[type=text] {
			padding: 10px;
			width: 80%;
			border: 1px solid black;
			font-size: 15px;
			font-family: Figtree;
		}
			textarea {
				border: 1px solid black;
			}
		input[type=submit] {
			min-width: 100px;
			background: #012b02!important;
		}

.sbtn {
	padding: 15px;
    border: none;
    background-color: #012b02;
    color: white;
    cursor: pointer;
	font-weight: 700;
	font-family: Figtree;
	font-size: 15px;
	display: flex;
	align-items:center;
	/* border-radius: 0px 5px 5px 0px; */
	/* margin: 5px; */
		}
		
.telegram-wrapper {
  text-align: center; /* replaces <center> */
}

.telegram-btn {
  max-width: 35%;     /* never exceed screen width */
  height: auto;        /* keep aspect ratio */
  border: 2px solid #012b02;
  display: inline-block;
}

/* Optional: add breathing room on very small screens */
@media (max-width: 480px) {
  .telegram-btn {
    max-width: 100%;
  }
}

.rmp-widgets-container {
  border: 1px solid #012b02;
}

.mnmovies-tg {
			display: inline-block;
			padding: 10px;
			margin: 5px;
			text-align: center;
			text-transform: uppercase;
			text-decoration: none;
			font-size: 17px;
			font-weight: 600;
			color: white;
			background: #012b02;
		}
		.mnmovies-tg:hover {
			border-radius: 10px;
			transition: 5ms;
		}
		.mnmovies-tg a {
			color: white;
		}
		.mnmovies-tg a:hover {
			color: white;
			text-decoration: none;
		}

.generatelinks, .fastdl {
				background: #012b02;
				display: inline-block;
				border: 1px solid #301934;
				border-radius: 3px;
				padding: 12px;
	margin: 2px;
				margin-top: 3px;
				margin-bottom: 3px;
				color: white!important;
				font-weight: 700!important;
				font-size: 12px!important;
			}
			.generatelinks:hover {
				background: white;
				color: black!important;
				border: 2px solid #301934;
				text-decoration: none!important;
			}
			.fastdl:hover {
				background: white;
				color: black!important;
				border: 2px solid #012b02;
				text-decoration: none!important;
			}
			.generatelinks:after {
				content: " \f061";
				font-family: 'FontAwesome';
			}		

/* Related section header */
.mnheadtitle#related {
	 text-align: left;        /* text sits on the left */
}

/* Card style */
.post-item {
  border: 1px solid #012b02;/* rounded corners */ }


/* Hide sidebar only on single post pages when screen is small */
@media (max-width: 768px) {
  .single-post .post-list-sidebar {
    display: none !important;
  }


/* Boxed style for main-content */
.content-wrapper {
  width: 100%;              /* stretch across available space */
  max-width: 1100px;        /* optional: control max width */
  margin: 0 auto;           /* center the box */
  background: #fff;         /* box background */

	
  padding: 10px;            /* inner spacing */
  box-sizing: border-box;
}

}

/* Container Padding Fix - Desktop + Mobile */
.container,
.homepage-body,
.content-wrapper,
.footer {
    padding-left: 5px !important;
    padding-right: 5px !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}



/* Tight padding on small mobile */
@media (max-width: 480px) {
    .container,
    .homepage-body,
    .content-wrapper {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

/* General Styles for Homepage Body */
.homepage-body {
    background-color: #fff;
    max-width: 1100px;
 
}