/*
Theme Name: Health ND Wealth Custom
Author: Maruti
Version: 5.0
*/

/* ======================
   GLOBAL
====================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 18px;
  line-height: 1.9;
  color: #222;
  background: #f4f4f4;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Mukta', sans-serif;
  font-weight: 700;
}
/* ======================
   FINAL STABLE LAYOUT
====================== */

.main-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 30px;
}

.content {
    width: 70%;
}

.sidebar {
    width: 30%;
}

/* Make sidebar start same height as content */
.sidebar .tab-widget {
    position: sticky;
    top: 100px;
}

/* Fix single template spacing */
.single-post-clean,
.single-post-modern {
    width: 100%;
}

/* Prevent image overflow */
.single-thumbnail-clean img,
.single-thumbnail-modern img {
    width: 100%;
    height: auto;
}

/* Mobile fix */
@media (max-width: 768px) {

    .main-wrapper {
        flex-direction: column;
    }

    .content,
    .sidebar {
        width: 100%;
    }

    .sidebar .tab-widget {
        position: relative;
        top: 0;
    }
}
/* ======================
   CONTAINER
====================== */

.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ======================
   HEADER
====================== */

.top-header {
  background: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-size: 26px;
  font-weight: bold;
  text-decoration: none;
}

.logo-orange { color: #ff6a00; }
.logo-dark { color: #333; }
.logo-green { color: #2ca24c; }

/* ======================
   NAVIGATION
====================== */

.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  position: relative;
}

.nav-menu a:hover {
  color: #ff6a00;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: #ff6a00;
  transition: 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Dropdown */

.nav-menu ul {
  display: none;
  position: absolute;
  background: #fff;
  top: 100%;
  left: 0;
  padding: 10px 0;
  min-width: 180px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  list-style: none;
}

.nav-menu li:hover > ul {
  display: block;
}

.nav-menu ul li {
  padding: 8px 15px;
}

/* ======================
   LAYOUT FIX FINAL
====================== */

.container {
  width: 95%;
  max-width: 1200px;
  margin: auto;
}

.main-wrapper {
  display: flex;
  gap: 35px;
  margin-top: 30px;
  align-items: flex-start;
}

.content {
  width: 68%;
}

.sidebar {
  width: 32%;
}

/* Mobile */

@media (max-width: 768px) {
  .main-wrapper {
    flex-direction: column;
  }

  .content,
  .sidebar {
    width: 100%;
  }
}
/* ======================
   POST CARD
====================== */

.post-card-modern {
  background: #fff;
  margin-bottom: 40px;
}

.post-thumb-large img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 10px;
}

.modern-post-title {
  font-size: 28px;
  margin: 20px 0 12px;
}

.modern-post-title a {
  text-decoration: none;
  color: #111;
}

.modern-post-title a:hover {
  color: #2c6fb7;
}

.post-meta {
  font-size: 14px;
  color: #777;
}

/* ======================
   SINGLE POST
====================== */

.single-post-modern {
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.single-title-modern {
  font-size: 34px;
  margin-bottom: 25px;
}

.post-meta-modern {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.single-thumbnail-modern img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 30px;
}

.single-content-modern {
  font-size: 18px;
  line-height: 1.9;
}

/* Headings inside content */

.single-content-modern h2 {
  font-size: 26px;
  margin: 40px 0 20px;
  padding: 12px 18px;
  background: #f4f8ff;
  border-left: 6px solid #2c6fb7;
  border-radius: 8px;
}

/* Remove unwanted lines */

.single-content-modern hr {
  display: none;
}

/* Lists */

.single-content-modern ul {
  margin: 20px 0;
  padding-left: 20px;
}

.single-content-modern ul li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.single-content-modern ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #2c6fb7;
}

/* ======================
   SIDEBAR
====================== */

.widget-card,
.wp-block-search,
.tab-widget {
  background: #fff;
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* ======================
   AUTHOR BOX
====================== */

.author-pro-box {
  display: flex;
  align-items: center;
  gap: 25px;
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  margin-top: 50px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.author-pro-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #2c6fb7;
}

/* ======================
   FOOTER
====================== */

.pro-footer {
  background: #0b0b0b;
  color: #fff;
  padding: 60px 20px;
}

/* ======================
   RESPONSIVE
====================== */

@media (max-width: 768px) {

  .header-flex {
    flex-direction: column;
    gap: 15px;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
  }

  .main-wrapper {
    flex-direction: column;
  }

  .single-post-modern {
    padding: 25px;
  }

  .single-title-modern {
    font-size: 26px;
  }

}
/* ======================
   FIX FOOTER DESIGN
====================== */

.pro-footer {
    background: #0b0b0b;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-box {
    flex: 1;
    min-width: 250px;
}

.footer-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
}

.footer-box h3::after {
    content: "";
    width: 45px;
    height: 3px;
    background: #ff4d6d;
    display: block;
    margin-top: 8px;
}

.footer-box p {
    color: #ccc;
    line-height: 1.8;
}

/* Footer Links */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc !important;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ff4d6d !important;
}

/* Follow Section */

.social-icons a {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    margin-right: 8px;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
}

/* Footer Bottom */

.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 40px;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* Responsive */

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
}
/* ======================
   FOOTER IMPROVED LAYOUT
====================== */

/* Important Links 2 Column */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 40px;
}

.footer-links li {
    margin-bottom: 6px;
}

/* Bottom Section */

.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

.footer-bottom a {
    color: #ff4d6d;
    text-decoration: none;
    margin: 0 8px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}
/* ======================
   SIDEBAR TAB PREMIUM
====================== */

.tab-widget {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.tab-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 8px 0;
    border: none;
    background: #f2f4f8;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    background: #2c6fb7;
    color: #fff;
}

.tab-btn:hover {
    background: #2c6fb7;
    color: #fff;
}

/* Sidebar post link */

.sidebar-post {
    margin-bottom: 14px;
}

.sidebar-post a {
    text-decoration: none;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.sidebar-post a:hover {
    color: #2c6fb7;
}
/* ==========================
   CLEAN NEWS STYLE SIDEBAR
========================== */

.tab-widget {
    background: #ffffff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Tab Header */

.tab-header {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
}

.tab-btn {
    flex: 1;
    padding: 14px 0;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: #333;
}

.tab-btn.active {
    color: #000;
}

/* Active bottom line */

.tab-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background: #2c6fb7;
}

/* Tab Content */

.tab-content {
    padding: 20px;
    display: none;
}

.tab-content.active {
    display: block;
}

/* Sidebar Post */

.sidebar-post {
    margin-bottom: 22px;
}

.sidebar-post:last-child {
    margin-bottom: 0;
}

.sidebar-post a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #111;
    display: block;
    margin-bottom: 6px;
}

.sidebar-post a:hover {
    color: #2c6fb7;
}

/* Category + Date */

.sidebar-meta {
    font-size: 14px;
    color: #777;
}

.sidebar-meta a {
    color: #2c6fb7;
    text-decoration: none;
    font-weight: 500;
}

.sidebar-meta a:hover {
    text-decoration: underline;
}
/* ======================
   SINGLE PAGE SPACING FIX
====================== */

.main-wrapper {
  align-items: flex-start;
}

.content {
  padding-right: 20px;
}

.sidebar {
  margin-top: 40px;
}

/* Breadcrumb spacing */

.breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
}

/* Title spacing */

.single-title-modern,
.single-title-clean {
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Author meta spacing */

.post-meta-modern,
.post-meta-clean {
  margin-bottom: 25px;
}
/* =========================
 STYLE SINGLE
========================= */

.single-post-support {
  background: #fff;
  padding: 40px;
  border-radius: 6px;
}

.breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
}

.breadcrumb a {
  text-decoration: none;
  color: #2c6fb7;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.single-title-support {
  font-size: 34px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.post-meta-support {
  font-size: 14px;
  color: #777;
  margin-bottom: 25px;
}

.post-meta-support a {
  color: #2c6fb7;
  text-decoration: none;
}

.single-thumbnail-support img {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  border-radius: 4px;
}

.single-content-support {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
}

.single-content-support h2 {
  font-size: 26px;
  margin: 40px 0 20px;
  font-weight: 700;
}

.single-content-support p {
  margin-bottom: 20px;
}

.single-content-support ul {
  margin: 20px 0;
  padding-left: 20px;
}

.single-content-support ul li {
  margin-bottom: 10px;
}

/* Sticky Sidebar */

.sidebar {
  position: sticky;
  top: 100px;
}

/* Layout */

.main-wrapper {
  display: flex;
  gap: 40px;
}

.content {
  width: 70%;
}

.sidebar {
  width: 30%;
}

/* Mobile */

@media (max-width: 768px) {

  .main-wrapper {
    flex-direction: column;
  }

  .content,
  .sidebar {
    width: 100%;
  }

  .sidebar {
    position: relative;
    top: 0;
  }

  .single-post-support {
    padding: 20px;
  }

  .single-title-support {
    font-size: 26px;
  }

}
/* =========================
   SUPPORTMEINDIA STYLE CARD LAYOUT
========================= */

/* Page Background */

body {
  background: #f5f6f8;
}

/* Main Wrapper Spacing */

.main-wrapper {
  margin-top: 30px;
}

/* Content Card */

.single-post-support {
  background: #ffffff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Breadcrumb Box */

.breadcrumb {
  background: #f7f8fa;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 14px;
}

/* Title */

.single-title-support {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Meta */

.post-meta-support {
  font-size: 14px;
  color: #777;
  margin-bottom: 30px;
}

/* Paragraph Spacing */

.single-content-support p {
  margin-bottom: 22px;
}

/* Sidebar Card */

.sidebar .tab-widget {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}