/*
Theme Name:     LOADEDMORE MUSIC PRO 💯 
Theme URI:      https://loadedmoremp3.com.ng
Description:    A custom WordPress theme, optimized for SEO and speed, with custom post types for music, videos, and albums.
Version:        1.0.0
Author:         Dahfaith
Author URI:     https://wa.me/2347069659752
Text Domain:    Loadedmore
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:    16-01-2026



/* ===========================
   LOADEDMORE GENERAL BODY STYLESHEETS 
   =========================== */


:root {
    /* Backgrounds */
    --bg-main: #ffffff;
    --bg-card: #f9f9f9;
    --bg-white: #ffffff;
    --icon-bg: #4f6bff;
    --text-main: #222;
    --text-main2: #222;
    --text-muted: #555555;
    --svg-dark: #f0f0f0;
    --button: #0073e6;
    --head: #000;
    --primary: #0073e6;
    --primary-text: #ffffff;
    --border-color: #e0e0e0;
}


  body.dark-mode {
    --bg-main: #121212;
    --bg-card: #121212;
    --bg-white: #121212;
    --icon-bg: #1f1f1f;
    --text-main: #ffffff;
    --text-main2: #ffffff;
    --text-muted: #9aa0b3;
    --svg-dark: #1e1e1e;
    --button: #0073e6;
    --head: #000;
    --primary: #4f6bff;
    --primary-text: #ffffff;
    --border-color: #e0e0e0;
}


/* General Reset */

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


/***** Structure *****/

html { font-size: 100%; -ms-text-size-adjust: none; -webkit-text-size-adjust: none; }
body { font-family: Helvetica; background: #ffffff; word-wrap: break-word; }


/***** Typography *****/

h1, h2, h3, h4, h5, h6 { font-family: Roboto, sans-serif; color: var(--text-main); line-height: 1.3; font-weight: bold; }
b, strong { font-weight: bold; }
i, em { font-style: italic; }

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


/* Media Query for Laptop Design */
@media (min-width: 768px) {
    /* Hide mobile icons and menu toggle on larger screens */
    audio {
        width: 50% !important;
    }
    .breadcrumb {
    font-size: 16px !important;
    }
    
    .container {
      margin: 0 40px 40px 40px !important;
    }
    
    .image-caption {
        left: 50% !important;
    }

    
    .post-image-content {
    max-width: 100%;
    height: 300px;
    width: 100%;
    border-radius: 8px;
}
    
    .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: 15px !important;
}
}


/* General Styles for Homepage Body */
.homepage-body {
    background-color: var(--bg-main);
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
 
}

  /* =====================
  POST FOLLOW STYLESHEETS 
   ===================== */

.lm-social-follow {
    margin: 10px 0;
    padding: 16px;
    text-align: center;
}

.lm-social-follow h3 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: bold;
}

.lm-social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.lm-social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-main);
    transition: transform .2s ease, background .2s ease;
}

.lm-social-icons a:hover {
    transform: translateY(-4px);
    background: var(--bg-card);
}

.lm-social-icons svg {
    width: 30px;
    height: 30px;
    fill: var(--primary);
  border: 1px solid #ddd;
  border-radius: 5px
}


  /* =====================
  MUSIC POST TAG STYLESHEETS 
   ===================== */


.post-tags-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px;
}

.post-tags-icon {
    margin-right: 10px;
    color: var(--head); /* Icon color */
    font-size: 30px;
}

.post-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* space between tags */
}

.post-tags-list a {
    display: inline-block;
    background-color: var(--bg-card); /* Tag background */
    color: var(--text-main); /* Text color */
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
   border: 1px solid #ddd;
}

.post-tags-list a:hover {
    background-color: var(--primary);
    color: #fff;
}



  /* =====================
  AUTHOR STYLESHEETS 
   ===================== */

.loadedmore-author-box {
    border: 2px solid var(--border-color) !important;
    padding: 8px;
    position: relative;
    background: var(--bg-main);
    margin: 20px 0;
  border-radius: 8px;
}

.loadedmore-about-label {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px 12px;
    font-size: 13px;
    color: #fff;
    background-color: var(--primary) !important;
    border-radius: 0 0 0 4px;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
}

.loadedmore-author-mobile {
    display: block;
}

.loadedmore-author-avatar {
    margin: 0 auto 15px auto;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    padding: 2px;
    background: var(--bg-main);
    text-align: center;
    width: 90px; /* Fixed width to match avatar size */
    height: 90px; /* Fixed height to match avatar size */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure perfect circle */
}

.loadedmore-author-avatar img {
    border-radius: 50%;
    display: block;
    width: 90px !important; /* Force exact size */
    height: 90px !important; /* Force exact size */
    object-fit: cover; /* Maintain aspect ratio */
}

.loadedmore-author-content {
    text-align: center;
}

.loadedmore-author-header {
    margin-bottom: 10px;
}

.loadedmore-author-name {
    display: block;
    font-weight: bold;
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 8px;
}

.loadedmore-author-bio {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-main);
    margin-bottom: 15px;
    text-align: center;
}

.loadedmore-author-social {
    margin-top: 10px;
    text-align: center;
}

.loadedmore-social-link {
    color: var(--text-main) !important;
    margin: 0 12px;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
}

.loadedmore-social-link:hover {
    opacity: 0.7;
}

/* Ensure Font Awesome icons display */
.loadedmore-social-link .fa {
    margin-right: 4px;
    font-size: 18px;
}

/* Desktop Layout */
@media (min-width: 769px) {
    .loadedmore-author-box {
        padding: 20px;
    }
    
    .loadedmore-author-mobile {
        display: flex;
        align-items: flex-start;
        text-align: left;
    }
    
    .loadedmore-author-avatar {
        margin: 0 20px 0 0;
        float: none;
        flex-shrink: 0;
    }
    
    .loadedmore-author-content {
        text-align: left;
        flex: 1;
    }
    
    .loadedmore-author-bio {
        text-align: left;
    }
    
    .loadedmore-author-social {
        text-align: left;
    }
    
    .loadedmore-social-link {
        margin: 0 12px 0 0;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .loadedmore-author-box {
        padding: 15px 8px 12px 8px;
    }
    
    .loadedmore-author-avatar {
        margin: 0 auto 12px auto;
    }
    
    .loadedmore-author-name {
        font-size: 16px;
    }
    
    .loadedmore-author-bio {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .loadedmore-social-link {
        margin: 0 10px;
        font-size: 14px;
    }
    
    .loadedmore-about-label {
        font-size: 11px;
        padding: 5px 10px;
    }
}



/* ===== LOADEDMORE ADS ===== */
.lm-ad-box {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 10px;
    margin: 0px 10px 0px 10px;
    text-align: center;
    max-width: 728px;
}
.lm-ad-box img {
    max-width: 100%;
    height: auto;
}
.lm-ad-label {
    display: inline-block;
    font-size: 11px;
    background: #eee;
    padding: 3px 8px;
    margin-bottom: 6px;
}

body.dark-mode .lm-ad-box {
    background:#111;
    border-color:#222;
}



  /* =====================
  FOOTER BANNER ADS STYLE
   ===================== */

.footer-banner {  
    position: fixed;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    background-color: #000;  
    padding: 8px 12px;  
    display: flex;  
    justify-content: center;  
    align-items: center;  
    z-index: 9999;  
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);  
    opacity: 0;  
    transition: opacity 0.5s ease-in-out;  
  }  
  
  .footer-banner.show {  
    opacity: 1;  
  }  
  
  .footer-download-button {  
    background-color: var(--button); /* black main button color */  
    color: #fff;  
    padding: 8px 12px;  
    text-decoration: none;  
    font-weight: bold;  
    border-radius: 8px;  
    font-size: 18px;  
    transition: background 0.3s ease, transform 0.3s ease;  
    animation: pulse 1.8s infinite; /* animated motion */  
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);  
  }  
  
  .footer-download-button:hover {  
    background-color: var(--primary);  
    transform: scale(1.08);  
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);  
  }  

  @keyframes pulse {  
    0% {  
      transform: scale(1);  
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);  
    }  
    50% {  
      transform: scale(1.1);  
      box-shadow: 0 0 25px rgba(255, 255, 255, 0.7);  
    }  
    100% {  
      transform: scale(1);  
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);  
    }  
  }  
  
  .close-circle {  
    position: fixed;  
    bottom: 70px;  
    right: 15px;  
    width: 30px;  
    height: 30px;  
    background: #222;  
    color: #f5f5f5;  
    border-radius: 50%;  
    display: flex;  
    align-items: center;  
    justify-content: center;  
    font-size: 18px;  
    font-weight: bold;  
    cursor: pointer;  
    z-index: 10000;  
  }
  
  

  /* =====================
  POST SHARER STYLE
   ===================== */

.social-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
   
    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;
}



  /* =====================
 LOADMORE STYLESHEETS 
   ===================== */
.load-more-btn {
  display: block;
  width: 250px;
  max-width: 40%;
  margin: 5px 0 5px auto; /* 🔥 move to right */
  padding: 8px 0;
  background: var(--button);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn {
  margin-left: auto;
}

.load-more-btn:hover {
  background: #222;
  color: #fff;
  transform: translateY(-2px);
  }

.load-more-btn:active {
  transform: scale(0.96);
}

.load-more-btn:disabled {
  background: #444;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.6;
}

.load-more-btn.loading {
  pointer-events: none;
  background: #222;
  position: relative;
}

.load-more-btn.loading::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}



.trending-now {
  display: flex;
  align-items: center;
  width: 100%;
}

.trending-badge {
  background: var(--button);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 6px 0 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-transform: uppercase;
}

.trending-line {
  flex: 1;
  height: 3px;
  background: var(--button);
}


.trending {
    position: relative;
    display: inline-block;
    background: var(--button);
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    margin-top: 14px;
    padding: 10px 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
}

/* Long straight line */
.trending::after {
    content: "";
    position: absolute;
    left: 100%;
    bottom: 50%;
    margin-left: 10px;
    width:  0px;        /* adjust line length */
    height: 2px;         /* line thickness */
    background: var(--button);
}


.tending-now {
    position: relative;
    display: inline-block;
    background: var(--button);
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    margin-top: 14px;
    padding: 10px 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
}

/* Long straight line */
.trnding-now::after {
    content: "";
    position: absolute;
    left: 100%;
    bottom: 50%;
    margin-left: 10px;
    width:  160px;        /* adjust line length */
    height: 2px;         /* line thickness */
    background: var(--button);
}


/* ===========================
   LOADEDMORE HEADER & FOOTER STYLESHEETS 
   =========================== */

 
/* Header Wrapper */
.loadedmore-header-wrapper {
  background: var(--head);
  color: #ccc;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.loadedmore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 14px;
}

/* Logo */
.loadedmore__logo img.custom-logo{
  height: 55px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* Controls */
.loadedmore__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}


.loadedmoremp3-button {
background: none;
border: none;
cursor: pointer;
padding: 6px;
}

.loadedmoremp3-button svg {
  color: #ccc;
width: 22px;
height: 22px;
fill: currentColor;
}


/* Buttons SVG */
.loadedmoremp3-button svg,
.darkmode-toggle svg {
  width: 22px;
  height: 22px;
  stroke: #ccc;
  fill: none;
  stroke-width: 2;
}

/* Dark mode toggle icons */
.darkmode-toggle .icon-sun { display: inline-block; }
.darkmode-toggle .icon-moon { display: none; }
body.dark-mode .darkmode-toggle .icon-sun { display: none; }
body.dark-mode .darkmode-toggle .icon-moon { display: inline-block; }

/* ===============================
SEARCH
================================ */


.loadedmore__search form {
  display: none;
  position: absolute;
  top: 46px;
  right: 0;
  background: var(--bg-main:);
  box-shadow: 0 8px 25px rgba(0,0,0,.12);
  padding: 10px;
  border-radius: 8px;
  gap: 6px;
  align-items: center;
  z-index: 999;
}

.search-form.active {
display: flex;
gap: 6px;
}

.loadedmoremp3-search__input {
flex: 1;
padding: 8px;
border-radius: 6px;
border: 1px solid var(--border-color);
}

.loadedmoremp3-search__submit {
padding: 8px 12px;
border-radius: 6px;
background: var(--primary);
color: #fff;
border: none;
}



#themeToggle {
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #ccc; /* White color */
    padding: 6px;
    transition: transform .2s ease, opacity .2s ease;
}

#themeToggle:hover {
    transform: scale(1.1);
    opacity: .8;
}


/* Dark Mode */
body.dark-mode {
  background: #000;
  color: #fff;
}
body.dark-mode a { color: #fff; }

/* ---------- Mobile Dropdown Menu ---------- */
.mobile-dropdown-menu {
    position: sticky;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-main);
    z-index: 999;
    display: none;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-dropdown-menu.active {
    display: block;
}

.mobile-dropdown-content {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.mobile-dropdown__item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-dropdown__link {
    font-family: Arial, sans-serif;
    color: var(--text-main); !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: block;
    padding: 15px 0;
    text-transform: uppercase;
}

}

/* ensure nav links don't wrap and cause vertical scroll */
.site-navigation__menu li { 
    white-space: nowrap; 
}

/* Remove mobile dropdown header */
.mobile-dropdown-header {
    display: none !important;
}



.site-footer {
  background: var(--head);
  color: #ccc;
  text-align: center;
  padding: 20px 10px 10px;
  position: relative;
  margin-bottom: 68px;
}

.footer-logo img {
  max-width: 180px;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-links a {
  font-family: arial, sans-serif;
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
}

.footer-socials a {
  color: #ccc;
  font-size: 22px;
  transition: 0.3s;
}

.footer-socials a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 14px;
  font-weight: 700;
  color: #ccc;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}



/* ===== POST LIST ===== */

.post-list {
    border-radius: 10px;
}

.post-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 0;
    margin-left: 8px;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

.post-info {
    flex: 1;
}

/* Arrow Style */
.post-arrow {
    font-size: 18px;
    color: var(--text-main);
    margin-left: auto;
    transition: 0.3s ease;
}

/* Hover effect */
.post-item:hover .post-arrow {
    transform: translateX(5px);
}


.ost-item {display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 0;
    margin-left: 8px;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    }

.post-item:hover {
    
}

.post-item:last-child {
    border-bottom: none;
}


.post-image img {
    width: 80px;
    height: 65px;
    border-radius: 5px;
    object-fit: cover;
  flex-shrink: 0;
    overflow: hidden;
}

.post-details {
  flex-grow: 1;
    
}

.post-title {
    font-family: arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: var(--text-main2);
}


.post-meta {
    font-size: 12px;
     font-weight: 600;
    color: #666;
}

.post-number {
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  background: var(--primary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}




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




/* ===== RELATED POST LIST ===== */


.related-posts .post-item {
    display: flex;
    align-items: center;
    gap: 18px;
  margin-left: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
}

/* Image wrapper */
.related-posts .post-image {
    width: 80px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
    
}

/* Force image to fit box */
.related-posts .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* 🔥 key line */
    display: block;
}

/* Title */
.related-posts .post-title {
    color: var(--text-main2);
    font-size: 15px;
    
    margin: 0;
}



/* ===== BREADCRUMBS===== */

.container {
    padding: 10px;
}

.breadcrumb {
    font-size: 14.5px;
    margin-bottom: 5px;
    color: var(--text-main);
    margin-top: 10px; 
}

.breadcrumb a {
    font-family: Arial, sans-serif; 
    text-decoration: none;
    color: var(--primary);
}

.breadcrumb a::after {
    content: "";
    color: var(--bg-main);
}

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

/* Post Title */
.post-title h1 {
    font-size: 26px;
    margin-top: 10px;
  font-weight: bold;
  color: var(--text-main)
}

.post-title h2 {
  font-weight: bold;
    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: var(--primary);
    font-weight: bold;
}

.verified-badge {
    width: 12px;
    height: 12px;
    position: relative; /* or 'absolute' */
    top: 2px; /* 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 {
    max-width: 100%;
    height: auto;
    width: 100%;
    border-radius: 2px;
}

.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%;
}



/* Post Content */
.post-content {
    font-family: Helvetica;
    font-size: 15px;
    margin-bottom: 20px;
}

.post-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.post-content p:first-of-type {
    font-weight: bold;
}

/* 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;
}


/* Container for post content */
.post-content {
    font-family: Helvetica;
    max-width: 800px; /* Limit width for readability */
    line-height: 1.6; /* Improve readability */
    color: var(--text-main); /* Dark text color for readability */
}


/* Headings */
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
    color: var(--text-main); /* Slightly darker color for headings */
    margin-top: 0.5em; /* Space above headings */
    margin-bottom: 0.5em; /* Space below headings */
    line-height: 1.4; /* Improve spacing for headings */
}


/* Links */
.post-content a {
   font-family: Arial, sans-serif;
    color: var(--primary); /* Green color for links */
    text-decoration: none; /* Remove underline */
}

.post-content a:hover {
    text-decoration: none; /* 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 */
}

/* Images */
.post-content img {
    max-width: 100%; /* Responsive images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners for images */
    margin: 10px 0; /* Margin for spacing */
}

/* Blockquotes */
.post-content blockquote {
    border-left: 4px solid var(--border-color); /* Green 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 image wrapper */
.post-image-wrapper {
    position: relative;
    display: inline-block;
}
/* Wrapper for the content and sidebar */

.content-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
}

/* Main content area */
.main-content {
    width: 75%;
    box-sizing: border-box;
    padding-top: 20px;
}

.main2-content {
    width: 75%; 
    box-sizing: border-box;
    padding-top: 40px;
}

@media (max-width: 767px) {
.main2-content {
    width: 99%;
    box-sizing: border-box;
    padding-top: 20px;
}
}


/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .main-content, .post-list-sidebar {
        width: 100%;
        padding: 0;
        
    }

}

/*PAGINATION SECTION CSS*/

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
}

.page-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1.5px solid var(--border-color);
    color: var(--text-main);
    background: var(--bg-white);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.page-btn:hover {
    background: var(--button);
    color: #ffffff;
}

.page-btn.active {
    background: var(--button);
    color: #ffffff;
    pointer-events: none;
}



/*VIDEO SECTION CSS*/

.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: var(--bg-main);
    border: 1px solid var(--border-color);
    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: 200px;
    display: block;
    object-fit: cover;
}

/* Play icon styling */
.play-icon {
    position: absolute;
    top: 50px;
    left: 50px;
    background-color: var(--button); /* Green accent color */
    color: white;
    padding: 5px;
    border-radius: 50%;
    font-size: 20px;
}

/* Video title styling */
.video-title {
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: var(--text-main2);
}

.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: 100px; /* Maintain aspect ratio */
    }

    .video-title {
        font-size: 14px; /* 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 */
    }
}

/* Style for the Page Title */
.page-title {
    background-color: var(--primary); /* Green background */
    color: #fff; /* White text color */
    padding: 12px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    border-radius: 6px;
}

/* 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: var(--bg-main);
    border: 1px solid var(--border-color);
    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: 150px; 
}

.page-post-title {
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    color: var(--text-main2);
}

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

.page-post-title a:hover {
    color: var(--primary); /* Accent color on hover */
}

audio {
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
    width: 100%;
}


.youtube-embed {
    text-align: center;
}

.youtube-embed iframe {
    max-width: 100%;
    height: 300px;
}

/* 404 Page Styles */
.error-404 {
    text-align: center;
    padding: 60px 20px;
}

.error-404 .page-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 20px;
}

.error-404 .page-content {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.error-404 .page-content p {
    margin: 0;
}

.error-404 a {
    color: #6b0522;
    text-decoration: none;
    font-weight: bold;
}

.error-404 a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    .post-image-content {
    max-width: 100%;
    height: 300px;
    width: 100%;
    border-radius: 8px;
}
}



.download-ad { display: inline-flex;
  /* Initially hidden */
  background: linear-gradient(135deg, var(--primary));
  color: #fff;
  border-radius: 7px;
  padding: 8px 9px;
  font-size: 14px;
  text-align: center;
  margin: 8px auto; /* Centering */
  max-width: 190px; /* Limit width for mobile */
  position: relative; /* For close button positioning */
 transition: background-color 0.3s ease;
    gap: 5px;
}

.download-ad a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.download-ad .close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}

@media only screen and (max-width: 991px) {
  /* Show only on mobile */
  .download-ad {
    display: block;
  }
}

@media only screen and (max-width: 991px) {
  /* Show on mobile only */
  .mobile-ad-text {
    display: block;
  }
}

@media only screen and (min-width: 992px) {
  /* Hide on desktop */
  .mobile-ad-text {
    display: none;
  }
}


.download-btn {
  display: block;
  /* Initially hidden */
  background: linear-gradient(135deg, var(--primary));
  color: #fff;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 14px;
  text-align: center;
  margin: 0 0 5px 70px; /* Centering */
  max-width: 190px; /* Limit width for mobile */
  position: relative; /* For close button positioning */
 transition: background-color 0.3s ease;
    gap: 5px;
  
  }

.download-btn:hover {
    background-color: #000;
}

.download-btn:active {
    transform: scale(0.98);
}

.download-icon {
    width: 20px;
    height: 20px;
    fill: white;
}




