/**
 * Ultra-Modern Blog & Single Post System Stylesheet — Neto ISP Theme
 * Developed by MH Badhon Ahmed (Web Techiq)
 */

/* ── BREADCRUMBS ──────────────────────────────────────────────────────── */
.neto-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 24px;
}

.neto-breadcrumbs a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.neto-breadcrumbs a:hover {
  color: var(--neto-primary-color, #ff6b00);
}

.neto-breadcrumbs .sep {
  font-size: 10px;
  color: #cbd5e1;
}

.neto-breadcrumbs .current {
  color: var(--neto-primary-color, #ff6b00);
  font-weight: 700;
}

/* ── BLOG ARCHIVE HERO & HEADER ─────────────────────────────────────── */
.blog-archive-header {
  text-align: center;
  max-width: 800px;
  margin: 40px auto 50px auto;
}

.blog-archive-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3d6;
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.22);
  border-radius: 50px;
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 18px;
  box-shadow: 0 2px 8px rgba(255, 184, 0, 0.12);
  margin-bottom: 14px;
}

.blog-archive-title {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.blog-archive-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* ── FEATURED POST SPOTLIGHT CARD ────────────────────────────────────── */
.featured-post-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  background: linear-gradient(135deg, #ffffff 0%, #fffdfa 100%);
  border: 1.5px solid #ffe6b3;
  border-radius: 28px;
  padding: 32px;
  margin-bottom: 50px;
  box-shadow: 0 16px 45px rgba(255, 184, 0, 0.1), 0 2px 10px rgba(0, 0, 0, 0.02);
  align-items: center;
  transition: all 0.3s ease;
}

.featured-post-card:hover {
  border-color: var(--neto-primary-color, #ff6b00);
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(255, 107, 0, 0.16);
}

.featured-post-thumb {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 320px;
  border: 1px solid #ffe6b3;
}

.featured-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-post-card:hover .featured-post-thumb img {
  transform: scale(1.06);
}

.featured-post-content {
  display: flex;
  flex-direction: column;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ff6b00;
  color: #ffffff;
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  width: fit-content;
  margin-bottom: 14px;
}

/* ── BLOG CARDS GRID (3 COLUMNS) ─────────────────────────────────────── */
.blog-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.post-card {
  background: #ffffff;
  border: 1.5px solid #ffe6b3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 184, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--neto-primary-color, #ff6b00);
  box-shadow: 0 18px 45px rgba(255, 107, 0, 0.15);
}

.post-card-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #f8fafc;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-thumb img {
  transform: scale(1.08);
}

.post-card-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 2;
  text-decoration: none;
}

.post-card-category-badge a {
  color: #ffffff;
  text-decoration: none;
}

.post-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 12px;
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-weight: 600;
}

.post-card-meta i {
  color: var(--neto-primary-color, #ff6b00);
}

.post-card-title {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px 0;
  color: #0f172a;
}

.post-card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-card-title a:hover {
  color: var(--neto-primary-color, #ff6b00);
}

.post-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-author-block {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.post-author-name {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
}

.post-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 13px;
  font-weight: 800;
  color: var(--neto-primary-color, #ff6b00);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.post-read-link:hover {
  gap: 10px;
}

/* ── PAGINATION WRAPPER ──────────────────────────────────────────────── */
.pagination-wrap {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-wrap a.page-numbers,
.pagination-wrap span.page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #ffe6b3;
  color: #334155;
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination-wrap a.page-numbers:hover,
.pagination-wrap span.current {
  background: var(--neto-primary-color, #ff6b00);
  color: #ffffff;
  border-color: var(--neto-primary-color, #ff6b00);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
}

/* ── SINGLE POST LAYOUT (`single.php`) ──────────────────────────────── */
.single-post-container {
  max-width: 900px;
  margin: 40px auto 70px auto;
}

.single-post-hero-header {
  text-align: center;
  margin-bottom: 30px;
}

.single-post-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.single-post-categories a {
  background: #fff3d6;
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.25);
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.single-post-categories a:hover {
  background: var(--neto-primary-color, #ff6b00);
  color: #ffffff;
  border-color: transparent;
}

.single-post-main-title {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
}

.single-post-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  padding: 12px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  width: fit-content;
  margin: 0 auto;
}

.single-post-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-post-meta-item i {
  color: var(--neto-primary-color, #ff6b00);
}

.single-author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.single-post-featured-thumb {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1.5px solid #ffe6b3;
  box-shadow: 0 20px 50px rgba(255, 184, 0, 0.12);
  margin-bottom: 40px;
  max-height: 480px;
}

.single-post-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── STICKY / FLOATING SOCIAL SHARE BAR ──────────────────────────────── */
.single-post-wrapper {
  position: relative;
}

.single-social-share-sticky {
  position: sticky;
  top: 100px;
  float: left;
  margin-left: -70px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-btn:hover {
  transform: scale(1.14) translateY(-2px);
  color: #ffffff;
}

.share-btn.wa { background: #25D366; }
.share-btn.fb { background: #1877F2; }
.share-btn.x { background: #000000; }
.share-btn.in { background: #0A66C2; }
.share-btn.copy { background: #ff6b00; }

/* ── INTERACTIVE TABLE OF CONTENTS (`.neto-toc-box`) ─────────────────── */
.neto-toc-box {
  background: linear-gradient(135deg, #ffffff 0%, #fffdfa 100%);
  border: 1.5px solid #ffe6b3;
  border-radius: 20px;
  padding: 20px 24px;
  margin: 30px 0 40px 0;
  box-shadow: 0 8px 24px rgba(255, 184, 0, 0.08);
}

.neto-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.neto-toc-title {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.neto-toc-title i {
  color: var(--neto-primary-color, #ff6b00);
}

.neto-toc-toggle-btn {
  background: #fff3d6;
  border: 1px solid rgba(217, 119, 6, 0.25);
  color: #d97706;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.neto-toc-toggle-btn:hover {
  background: var(--neto-primary-color, #ff6b00);
  color: #ffffff;
}

.neto-toc-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
}

.neto-toc-list li {
  margin-bottom: 8px;
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 14px;
  font-weight: 600;
}

.neto-toc-list li.toc-sub-item {
  padding-left: 20px;
  font-size: 13.5px;
}

.neto-toc-list a {
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease;
}

.neto-toc-list a:hover {
  color: var(--neto-primary-color, #ff6b00);
}

/* ── ENTRY CONTENT TYPOGRAPHY (`.entry-content`) ─────────────────────── */
.entry-content {
  font-size: 17px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 40px;
}

.entry-content h2 {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 40px 0 16px 0;
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}

.entry-content h3 {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 32px 0 14px 0;
  scroll-margin-top: 100px;
}

.entry-content p {
  margin-bottom: 24px;
}

.entry-content blockquote {
  background: #fffdfa;
  border-left: 4px solid var(--neto-primary-color, #ff6b00);
  padding: 20px 24px;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: #0f172a;
  margin: 30px 0;
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.08);
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 24px 0;
}

/* ── AUTHOR BOX SPOTLIGHT ────────────────────────────────────────────── */
.neto-author-box {
  background: linear-gradient(135deg, #ffffff 0%, #fffdfa 100%);
  border: 1.5px solid #ffe6b3;
  border-radius: 24px;
  padding: 30px;
  margin: 50px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(255, 184, 0, 0.08);
}

.author-box-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #ffe6b3;
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.2);
  flex-shrink: 0;
}

.author-box-content {
  flex: 1;
}

.author-box-name {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.author-box-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--neto-primary-color, #ff6b00);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.author-box-bio {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 12px 0;
}

.author-box-link {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 13px;
  font-weight: 800;
  color: var(--neto-primary-color, #ff6b00);
  text-decoration: none;
}

/* ── RELATED POSTS SECTION ───────────────────────────────────────────── */
.neto-related-posts-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1.5px solid #e2e8f0;
}

.related-posts-title {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 24px 0;
  text-align: center;
}

/* ── TOAST NOTIFICATION FOR COPY LINK ───────────────────────────────── */
.neto-toast-notify {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #ffffff;
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999999;
}

.neto-toast-notify.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ── RESPONSIVE BREAKPOINTS ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .single-social-share-sticky {
    position: static;
    float: none;
    margin: 0 0 30px 0;
    flex-direction: row;
    justify-content: center;
  }

  .blog-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-post-card {
    grid-template-columns: 1fr;
  }

  .featured-post-thumb {
    height: 250px;
  }
}

@media (max-width: 639px) {
  .single-post-main-title {
    font-size: 28px;
  }

  .blog-archive-title {
    font-size: 28px;
  }

  .blog-grid-3 {
    grid-template-columns: 1fr;
  }

  .neto-author-box {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

/* ── SEARCH FORM (searchform.php) ────────────────────────────────────── */
.neto-search-form {
  width: 100%;
}

.neto-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: #ffffff;
  border: 2px solid #ffe6b3;
  border-radius: 100px;
  padding: 4px 4px 4px 20px;
  box-shadow: 0 8px 28px rgba(255, 184, 0, 0.1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.neto-search-input-wrap:focus-within {
  border-color: var(--neto-primary-color, #ff6b00);
  box-shadow: 0 10px 32px rgba(255, 107, 0, 0.2);
}

.neto-search-input-wrap .search-icon {
  color: var(--neto-primary-color, #ff6b00);
  font-size: 15px;
  flex-shrink: 0;
  margin-right: 4px;
}

.neto-search-field {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  min-width: 0;
  padding: 10px 4px;
}

.neto-search-field::placeholder {
  color: #94a3b8;
}

.neto-search-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #ff6b00 0%, #ffb800 100%);
  border: none;
  border-radius: 100px;
  padding: 10px 22px;
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
  flex-shrink: 0;
}

.neto-search-submit-btn:hover {
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
  transform: scale(1.04);
}

/* ── EMPTY STATE / NOTHING FOUND CARD (content-none.php) ─────────────── */
.neto-none-found-card {
  max-width: 680px;
  margin: 60px auto 80px auto;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #fffdfa 100%);
  border: 1.5px solid #ffe6b3;
  border-radius: 32px;
  padding: 56px 48px;
  box-shadow: 0 20px 55px rgba(255, 184, 0, 0.1);
}

.none-found-icon-wrap {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, #fff3d6 0%, #ffe6b3 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px auto;
  font-size: 38px;
  color: var(--neto-primary-color, #ff6b00);
  box-shadow: 0 10px 28px rgba(255, 107, 0, 0.18);
}

.none-found-title {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
}

.none-found-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  margin: 0 0 32px 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.none-found-search-wrap {
  margin-bottom: 32px;
}

.none-found-quick-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.quick-links-label {
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quick-links-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.none-found-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  padding: 8px 18px;
  font-family: var(--neto-heading-font-family, 'Outfit', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
}

.none-found-btn i {
  color: var(--neto-primary-color, #ff6b00);
  font-size: 13px;
}

.none-found-btn:hover {
  background: var(--neto-primary-color, #ff6b00);
  border-color: var(--neto-primary-color, #ff6b00);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.3);
  transform: translateY(-2px);
}

.none-found-btn:hover i {
  color: #ffffff;
}

/* ── BLOG ARCHIVE SEARCH BAR ─────────────────────────────────────────── */
.blog-archive-search-bar {
  max-width: 600px;
  margin: 0 auto 20px auto;
}

/* ── RESPONSIVE — NONE FOUND CARD ────────────────────────────────────── */
@media (max-width: 639px) {
  .neto-none-found-card {
    padding: 36px 24px;
    margin: 30px auto 50px auto;
  }

  .none-found-title {
    font-size: 22px;
  }

  .quick-links-btns {
    gap: 8px;
  }
}

