/**
Theme Name: mnweb
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mnweb
Template: astra
*/

/* ── MN Single Post Additions ─────────────────────────────────────────────── */

/* Post meta row */
.mn-post-meta-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
}
.mn-post-meta-sep { color: #D1D5DB; }

/* Post header (beige hero area) */
.mn-post-header {
  background: #F6F4EF;
  padding: 72px 48px 56px;
  width: 100%;
  box-sizing: border-box;
}
.mn-post-header-inner {
  max-width: 680px;
  margin: 0 auto;
}
.mn-post-header .mn-blog-cat {
  display: inline-block;
  margin-bottom: 16px;
}
.mn-post-header h1 {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(36px, 5vw, 62px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  color: #0E1411 !important;
  margin: 0 0 24px !important;
  letter-spacing: -0.02em !important;
}
.mn-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #9CA3AF;
}

/* Featured image strip between header and content */
.mn-post-featured-img-wrap {
  max-width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 48px;
  padding-top: 8px;
}
.mn-post-featured-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  max-height: 520px;
  object-fit: cover;
}
.mn-post-img-placeholder {
  width: 100%;
  height: 420px;
  background: #E8E5DE;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  font-size: 15px;
}

/* Two-column content + sidebar grid */
body.single-post .entry-content {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
#mn-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 80px;
  align-items: start;
}
#mn-post-content {
  background: #fff;
  border-radius: 16px;
  padding: 48px 52px 56px;
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
  min-width: 0;
}
#mn-post-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Content typography */
#mn-post-content h2 {
  font-size: 23px !important;
  font-weight: 700 !important;
  color: #0E1411 !important;
  margin: 44px 0 14px !important;
  line-height: 1.25 !important;
  padding-top: 8px;
  border-top: 1px solid #F3F4F6;
}
#mn-post-content h2:first-child { border-top: none !important; margin-top: 0 !important; }
#mn-post-content h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0E1411 !important;
  margin: 32px 0 10px !important;
}
#mn-post-content p { margin: 0 0 18px !important; }
#mn-post-content ul, #mn-post-content ol { padding-left: 22px !important; margin: 0 0 18px !important; }
#mn-post-content li { margin-bottom: 6px !important; }
#mn-post-content strong { color: #0E1411; }

/* TOC */
.mn-toc {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #EAECF0;
  padding: 22px;
}
.mn-toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin: 0 0 14px;
}
.mn-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mn-toc-list a {
  font-size: 13px;
  color: #6B7280 !important;
  text-decoration: none !important;
  display: block;
  padding: 5px 8px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  line-height: 1.4;
  transition: all 0.15s;
}
.mn-toc-list a:hover,
.mn-toc-list a.active {
  background: #F6F4EF;
  color: #5172FF !important;
  border-left-color: #5172FF;
}
.mn-toc-list .mn-toc-sub a { padding-left: 18px; font-size: 12px; }

/* Sidebar CTA */
.mn-sidebar-cta {
  background: #5172FF;
  border-radius: 12px;
  padding: 22px;
  color: #fff;
}
.mn-sidebar-cta h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 8px !important;
  line-height: 1.3 !important;
}
.mn-sidebar-cta p {
  font-size: 13px !important;
  color: rgba(255,255,255,0.8) !important;
  margin: 0 0 14px !important;
  line-height: 1.5 !important;
}
.mn-sidebar-cta a {
  display: block;
  background: #fff;
  color: #5172FF !important;
  text-align: center;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

/* Responsive */
@media (max-width: 900px) {
  #mn-post-layout { grid-template-columns: 1fr; }
  #mn-post-sidebar { position: static; }
  #mn-post-content { padding: 32px 24px; }
}

/* After-content wrapper */
.mn-post-after-wrap {
  max-width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 24px;
}

/* ── Author Card ── */
.mn-post-author-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #EAECF0;
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.mn-post-author-photo {
  width: 200px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}
.mn-post-author-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.mn-post-author-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
.mn-post-author-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5172FF;
}
.mn-post-author-card .mn-post-author-name {
  font-family: 'Outfit', sans-serif;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0E1411 !important;
  display: block;
  line-height: 1.2;
}
.mn-post-author-card .mn-post-author-bio {
  font-size: 15px !important;
  color: #6B7280 !important;
  line-height: 1.65 !important;
  margin: 4px 0 0 !important;
}
.mn-post-author-card .mn-post-author-link {
  display: inline-block;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #5172FF !important;
  text-decoration: none !important;
  margin-top: 6px;
}
.mn-post-author-card .mn-post-author-link:hover { text-decoration: underline !important; }
.mn-post-author-link {
  display: inline-block;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #5172FF !important;
  text-decoration: none !important;
  margin-top: 6px;
}
.mn-post-author-link:hover { text-decoration: underline !important; }

/* Related Posts */
.mn-related-posts {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid #F3F4F6;
}
.mn-related-posts > .mn-blog-label {
  display: block;
  margin-bottom: 24px;
}
.mn-related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mn-related-post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  border: 1px solid #F3F4F6;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.mn-related-post-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.mn-related-post-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.mn-related-post-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mn-related-post-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5172FF;
}
.mn-related-post-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0E1411 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* ── End-of-post CTA (blue, full grid width) ── */
.mn-post-cta-end {
  border-radius: 20px;
  overflow: hidden;
  margin-top: 24px;
  background: #5172FF !important;
  max-width: min(1120px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}
.mn-post-cta-inner {
  display: block;
}
.mn-post-cta-photo {
  display: none !important;
}
.mn-post-cta-text {
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mn-post-cta-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.55) !important;
  margin: 0 !important;
}
.mn-post-cta-end h3 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}
.mn-post-cta-end p {
  font-size: 15px !important;
  color: rgba(255,255,255,0.75) !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}
.mn-post-cta-btn {
  display: inline-block;
  background: #fff;
  color: #5172FF !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none !important;
  margin-top: 4px;
  align-self: flex-start;
  transition: opacity 0.2s;
}
.mn-post-cta-btn:hover { opacity: 0.88; }
.mn-post-cta-photo {
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.mn-post-cta-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .mn-related-posts-grid { grid-template-columns: 1fr 1fr; }
  #mn-post-layout { grid-template-columns: 1fr; }
  #mn-post-sidebar { position: static; }
  #mn-post-content { padding: 32px 24px; }
  .mn-post-author-card { flex-direction: column; }
  .mn-post-author-photo { width: 140px; }
  .mn-post-author-photo img { height: 170px; }
  .mn-post-cta-photo { display: none; }
  .mn-post-cta-inner { grid-template-columns: 1fr; }
  .mn-post-cta-text { padding: 40px; }
}
@media (max-width: 600px) {
  .mn-related-posts-grid { grid-template-columns: 1fr; }
  .mn-post-author-card { padding: 28px; gap: 24px; }
  .mn-post-cta-text { padding: 32px; }
}