.mainheading {
  padding: 1rem 0rem;
}

a {
  color: var(--brand-accent-color, #007bff);
  transition: all 0.2s;
}

a:hover {
  color: var(--brand-accent-hover, #0056b3);
  text-decoration: none;
}

pre {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: #e3edf3 1px solid;
  width: 100%;
  padding: 7px;
  font-family: monospace, sans-serif;
  font-size: 14px;
  white-space: pre;
  overflow: auto;
  background: #fff;
  border-radius: 0px;
  line-height: 1.6;
  color: #333;
  margin-bottom: -rem;
}
.card {
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.mediumnavigation {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.15);
  transition: top 0.2s ease-in-out;
}

.main-content {
  min-height: 300px;
}

.site-content {
  min-height: 60vh;
  padding-top: 1.5rem;
  margin-top: 57px;
  transition: all 0.4s;
}

section {
  margin-bottom: 20px;
}

section.recent-posts {
  margin-bottom: 0;
}

.section-title h2 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  margin-bottom: 25px;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 27px;
}

.section-title span {
  border-bottom: 2px solid var(--brand-accent-color, #007bff);
  display: inline-block;
  padding-bottom: 20px;
  margin-bottom: -1px;
}
.section-title span:hover {
  color: var(--brand-accent-color, #007bff);
}

.article-post ol,
.article-post ul {
  margin-bottom: 1.5rem;
}

.article-post ol ol,
.article-post ul ul {
  list-style: disc;
  margin-bottom: 0rem;
}
.ml-auto {
  display: flex;
  align-items: center;
}
@media (min-width: 576px) {
  .card-columns.listfeaturedtag {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
}


/* Professional Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff; /* Clean white background */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08); /* Subtle shadow */
}

th, td {
  border: 1px solid #d4d7dc; /* Light gray borders */
  padding: 12px 15px;
  text-align: left;
  font-size: 16px;
}

/* Professional muted header */
th {
  background: #455a64; /* Deep grayish-blue (professional, not too vibrant) */
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Alternating row colors for readability */
tbody tr:nth-child(even) {
  background: #f0f2f5; /* Very light gray */
}

tbody tr:hover {
  background: #eef2f7;
  transition: background 0.3s ease-in-out;
}

/* Responsive Table */
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  th, td {
    padding: 10px;
    font-size: 14px;
  }
}




@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
  }
}

.listfeaturedtag {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.listfeaturedtag .wrapthumbnail {
  height: 290px;
  flex: 0 0 auto;
  height: 100%;
}

.maxthumb {
  max-height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.listfeaturedtag .card,
.card-footer {
  border: 0;
}

.listfeaturedtag .thumbnail {
  background-size: cover;
  height: 100%;
  display: block;
  background-position: 38% 22% !important;
  background-origin: border-box !important;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.listfeaturedtag .card-block {
  padding-left: 0;
}

.listfeaturedtag h2.card-title,
.listrecent h2.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
}

.listfeaturedtag h4.card-text,
.listrecent h4.card-text {
  color: rgba(0, 0, 0, 0.44);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
}

.featured-box-img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

@media (max-width: 991px) {
  .featured-box-img-cover {
    height: auto;
    width: 100%;
  }
}

.wrapfooter {
  font-size: 12px;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.author-thumb {
  width: 40px;
  height: 40px;
  border-radius: 100%;
}

.post-top-meta {
  margin-bottom: 2rem;
}

.post-top-meta .author-thumb {
  width: 72px;
  height: 72px;
}

.post-top-meta.authorpage .author-thumb {
  margin-top: 40px;
}

.post-top-meta span {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.44);
  display: inline-block;
}

.post-top-meta .author-description {
  margin-bottom: 5px;
  margin-top: 5px;
  font-size: 0.95rem;
}

.toc ul {
  list-style: decimal;
  font-weight: 400;
}

.author-meta {
  flex: 1 1 auto;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
}

span.post-name,
span.post-date,
span.author-meta {
  display: inline-block;
}

span.post-date,
span.post-read {
  color: rgba(0, 0, 0, 0.44);
}

span.post-read-more {
  align-items: center;
  display: inline-block;
  float: right;
  margin-top: 8px;
  margin-left: 15px;
}

span.post-read-more a {
  color: rgba(0, 0, 0, 0.44);
}

span.post-name a,
span.post-read-more a:hover {
  color: rgba(0, 0, 0, 0.8);
}

.dot:after {
  content: "·";
  margin-left: 3px;
  margin-right: 3px;
}

.mediumnavigation .form-control {
  font-size: 0.8rem;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  min-width: 180px;
}

.mediumnavigation .form-inline {
  margin-left: 15px;
}

.mediumnavigation .form-inline .btn {
  margin-left: -50px;
  border: 0;
  border-radius: 30px;
  cursor: pointer;
}

.mediumnavigation .form-inline .btn:hover,
.mediumnavigation .form-inline .btn:active {
  background: transparent;
  color: var(--brand-accent-color, #007bff);
}

.mediumnavigation .navbar-brand {
  font-weight: 500;
}

.mediumnavigation .dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0.5rem 0 0;
}

.mediumnavigation .nav-item,
.dropdown-menu {
  font-size: 0.9rem;
}

.mediumnavigation .search-icon {
  margin-left: -40px;
  display: inline-block;
  margin-top: 3px;
  cursor: pointer;
}

.mediumnavigation .navbar-brand img {
  max-height: 30px;
  margin-right: 5px;
}

.mainheading h1.sitetitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.mainheading h1.posttitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding-top: 15px;
  padding-bottom: 12px;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.44);
  margin-top: 50px;
  margin-bottom: 62px;
  position: relative;
  background: #fff;
}

.link-dark {
  color: rgba(0, 0, 0, 0.8);
}

.article-post {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(0, 0, 0, 0.8);
  letter-spacing: -0.01em;
}


/* =============== Blockquotes =============== */
blockquote {
  border-left: 4px solid #3a4750;
  box-shadow: inset 3px 0 0 #3a4750; /* Softer left shadow */
  padding: 15px 20px; /* More readable spacing */
  font-style: italic;
  background: #f9fafb;
  color: #555;
  margin: 20px 0;
}



.article-post p,
.article-post blockquote {
  margin: 0 0 1.5rem 0;
}

.featured-image {
  display: block;
  margin-bottom: 2rem;
}

.share {
  text-align: center;
}

.share p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.share ul li {
  display: inline-block;
  margin-bottom: 9px;
}

.share ul {
  padding-left: 0;
  margin-left: 0;
}

.share ul li i.fa {
  border: 1px solid #ddd;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
}

.svgIcon {
  vertical-align: middle;
}

.sticky-top-offset {
  top: 90px;
}

@media (min-width: 1024px) {
  .share ul li {
    display: block;
  }
}

@media (max-width: 999px) {
  .featured-box-img-cover {
    height: 359px;
  }

  .alertbar {
    position: relative !important;
    margin-bottom: 20px;
    margin-top: 20px;
    box-shadow: none !important;
    padding-right: 14px !important;
  }

  #comments {
    margin-right: 15px;
  }

  .jumbotron.fortags {
    margin-bottom: 0 !important;
  }

  .alertbar form {
    margin-top: 20px;
  }

  .alertbar span,
  .alertbar form {
    display: block;
  }

  .alertbar input[type="submit"] {
    border-radius: 3px !important;
  }

  .alertbar input[type="email"] {
    margin-right: 0px !important;
    display: block;
    border-right: 1px solid #ddd !important;
    margin-bottom: 10px;
  }

  .jumbotron {
    margin-bottom: 0;
    border-radius: 0;
  }

  .listfeaturedtag .card {
    height: auto;
  }

  .listfeaturedtag .wrapfooter {
    position: relative;
    margin-top: 30px;
  }

  .listfeaturedtag .card-block {
    padding: 20px;
  }

  .footer {
    margin-top: 0px;
    margin-bottom: 0px;
  }
}

@media (max-width: 1024px) {
  .post-top-meta .col-md-10 {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .post-top-meta.authorpage {
    text-align: center;
  }
}

.share,
.share a {
  color: rgba(0, 0, 0, 0.44);
  fill: rgba(0, 0, 0, 0.44);
}

.graybg {
  background-color: #fafafa;
  padding: 40px 0 46px;
  position: relative;
}

.listrelated .card {
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.05);
  border: 0;
}

ul.tags {
  list-style: none;
  padding-left: 0;
  margin: 0 0 3rem 0;
}

ul.tags li {
  display: inline-block;
  font-size: 0.9rem;
}

ul.tags li a {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.6);
  border-radius: 3px;
  padding: 5px 10px;
}

ul.tags li a:hover {
  background: rgba(0, 0, 0, 0.07);
  text-decoration: none;
}

.margtop3rem {
  margin-top: 3rem;
}

.sep {
  height: 1px;
  width: 20px;
  background: #999;
  margin: 0px auto;
  margin-bottom: 1.2rem;
}

.btn.follow {
  border-color: var(--brand-accent-color, #007bff);
  color: var(--brand-accent-color, #007bff);
  padding: 3px 10px;
  text-align: center;
  border-radius: 999em;
  font-size: 0.85rem;
  display: inline-block;
}

.btn.subscribe {
  background: var(--brand-accent-color, #007bff);
  border-color: var(--brand-accent-color, #007bff);
  color: rgba(255, 255, 255, 1);
  fill: rgba(255, 255, 255, 1);
  border-radius: 8px;
  font-size: 0.85rem;
  margin-left: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.post-top-meta .btn.follow {
  margin-left: 5px;
  margin-top: -4px;
}

.alertbar {
  box-shadow: 0 -3px 10px 0 rgba(0, 0, 0, 0.0785);
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #fff;
  width: 100%;
  padding: 14px 0;
  z-index: 1;
  display: none;
}

.alertbar form {
  display: inline-block;
}

.alertbar input[type="email"] {
  font-size: 0.85rem;
  padding: 3px 5px 3px 10px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  border: 1px solid #ddd;
  border-right: 0;
  margin-right: -10px;
  height: 34px;
  letter-spacing: 0.5px;
  margin-left: 5px;
}

.alertbar input[type="submit"] {
  background-color: var(--brand-accent-color, #007bff);
  border: 1px solid #1c9963;
  color: rgba(255, 255, 255, 1);
  fill: rgba(255, 255, 255, 1);
  font-size: 0.85rem;
  border-radius: 0;
  padding: 4px 10px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  font-weight: 600;
  height: 34px;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.form-control::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.form-control:-moz-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.form-control::-moz-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.form-control:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.form-control::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.authorpage h1 {
  font-weight: 700;
  font-size: 30px;
}

.post-top-meta.authorpage .author-thumb {
  float: none;
}

.authorpage .author-description {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.6);
}

.post-top-meta.authorpage .btn.follow {
  padding: 7px 20px;
  margin-top: 10px;
  margin-left: 0;
  font-size: 0.9rem;
}

.graybg.authorpage {
  border-top: 1px solid #f0f0f0;
}

.authorpostbox {
  width: 760px;
  margin: 0px auto;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.authorpostbox .img-thumb {
  width: 100%;
}

.sociallinks {
  margin: 1rem 0;
}

.sociallinks a {
  background: #666;
  transition: all 0.3s ease-in-out;
  color: #fff;
  width: 22px;
  height: 22px;
  display: inline-block;
  text-align: center;
  line-height: 22px;
  border-radius: 50%;
  font-size: 12px;
}

#comments {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.article-post .h1,
.article-post .h2,
.article-post .h3,
.article-post .h4,
.article-post .h5,
.article-post .h6,
.article-post h1,
.article-post h2,
.article-post h3,
.article-post h4,
.article-post h5,
.article-post h6 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.article-post img.shadow {
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
}

.layout-page .article-post {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.layout-page .article-post p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 5px; /* Slightly round corners for a modern look */
}


.bottompagination span.navigation {
  display: block;
  font-size: 0.93rem;
  padding: 15px 0 0 0;
  text-align: center;
  margin-bottom: 0rem;
  color: #999;
  border-top: 1px solid #ddd;
}

.pointerup {
  margin-bottom: -17px;
  margin-left: 49%;
  font-size: 30px;
}

.pointerup i.fa {
  color: #eaeaea;
}

.bottompagination span.navigation i {
  display: inline-block;
}

span.navigation {
  display: inline-block;
  font-size: 0.93rem;
  font-weight: 700;
  text-align: center;
}

.pagination {
  display: block;
}

iframe {
  max-width: 100%;
}

.transpdark {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}

@media (min-width: 768px) {
  .jumbotron.fortags {
    margin-bottom: -50px;
    margin-top: 3rem;
    padding: 0;
    height: 350px;
    border-radius: 0;
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    background-size: cover;
  }

  .jumbotron.fortags .col-md-4 {
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
  }

  .jumbotron.fortags .row {
    margin: 0;
  }
}

.jumbotron.fortags {
  margin-top: 3rem;
  padding: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
  background-size: cover;
}

.jumbotron.fortags a {
  padding: 5px 10px 7px;
  background: #222;
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
  text-transform: lowercase;
  font-size: 0.8rem;
  display: inline-block;
}

.layout-page .jumbotron.fortags {
  display: none;
}

.mb-30px {
  margin-bottom: 30px;
}

.flex-first {
  -webkit-box-ordinal-group: 0;
  -webkit-order: -1;
  -ms-flex-order: -1;
  order: -1;
}

@media (min-width: 768px) {
  .flex-md-unordered {
    -webkit-box-ordinal-group: 1;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
  }

  .flex-first {
    -webkit-box-ordinal-group: 0;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
  }
}

@media (max-width: 768px) {
  .share {
    margin-top: 30px;
  }
}

.card .img-fluid {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.sticky-top-80 {
  top: 80px;
}

#language {
  border: solid 2px var(--brand-accent-color, #007bff);
  border-radius: 8px;
  background-color: #fff;
  outline: none;
  color: var(--brand-accent-color, #007bff);
  padding: 10px;
  text-overflow: ellipsis;
  appearance: none;
  text-align-last: center;
  transition: all 0.3s ease;
}
#language:hover {
  background-color: var(--brand-accent-color, #007bff);
  border-radius: 8px;
  color: #fff;
}

.nav-item {
  padding: 4px 8px;
  text-align: center;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.nav-item:hover {
  background-color: rgba(0, 0, 0, 0.06);
}
.nav-item:hover > .nav-link:not(.btn) {
  color: var(--brand-accent-color, #007bff) !important;
}
.nav-item:active {
  background-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  #language,
  .nav-item {
    width: 300px;
  }
  #language option {
    width: 80vw !important;
  }
}


/* =============== Dark Mode Toggle Button =============== */
#dark-mode-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #3a4750;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

#dark-mode-toggle:hover {
  background: #555;
}


/* =============== Article Type Accent Bar =============== */
.accent-bar {
  height: 4px;
  background: var(--brand-accent-color, #007bff);
  border-radius: 2px 2px 0 0;
  margin-bottom: 0;
}

/* =============== Article Type Badge =============== */
.article-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.article-type-badge.badge-video {
  background: rgba(229, 57, 53, 0.1);
  color: #e53935;
  border: 1px solid rgba(229, 57, 53, 0.2);
}

.article-type-badge.badge-blog {
  background: rgba(30, 136, 229, 0.1);
  color: #1e88e5;
  border: 1px solid rgba(30, 136, 229, 0.2);
}

.article-type-badge.badge-lesson {
  background: rgba(67, 160, 71, 0.1);
  color: #43a047;
  border: 1px solid rgba(67, 160, 71, 0.2);
}

html.dark-mode .article-type-badge.badge-video {
  background: rgba(229, 57, 53, 0.2);
  color: #ef9a9a;
  border-color: rgba(229, 57, 53, 0.3);
}

html.dark-mode .article-type-badge.badge-blog {
  background: rgba(30, 136, 229, 0.2);
  color: #90caf9;
  border-color: rgba(30, 136, 229, 0.3);
}

html.dark-mode .article-type-badge.badge-lesson {
  background: rgba(67, 160, 71, 0.2);
  color: #a5d6a7;
  border-color: rgba(67, 160, 71, 0.3);
}


/* =============== Blog Hero Overlay =============== */
.article-hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.article-hero img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.article-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
}

.article-hero-overlay h1 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.article-hero-overlay .hero-meta {
  font-size: 0.85rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .article-hero img {
    height: 220px;
  }
  .article-hero-overlay h1 {
    font-size: 1.3rem;
  }
}


/* =============== Blog Tags (top pills) =============== */
.blog-tags-top {
  margin-bottom: 1.5rem;
}

.blog-tags-top .tag-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--brand-accent-color, #007bff);
  color: #fff;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

html.dark-mode .blog-tags-top .tag-pill {
  background: var(--brand-accent-color, #66b3ff);
  color: #121212;
}


/* =============== Premium Support CTA Section =============== */
.premium-support-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.premium-support-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--brand-accent-color);
    filter: blur(80px);
    opacity: 0.1;
    z-index: -1;
    border-radius: 50%;
}

.support-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(var(--brand-accent-color), 0.05); /* very light fallback */
    color: var(--brand-accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.support-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.7rem;
    color: #111;
}

.support-desc {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.premium-btn-primary {
    background: var(--brand-accent-color);
    color: #fff !important;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    border: 2px solid transparent;
}

.premium-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.18);
}

.premium-btn-secondary {
    background: #fff;
    color: #333 !important;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(0,0,0,0.08);
}

.premium-btn-secondary:hover {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* =============== Premium Author Box =============== */
.premium-author-box {
    margin-top: 5rem;
    margin-bottom: 2rem;
    padding: 0 3rem 2.5rem 3rem;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-author-box:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.premium-author-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--brand-accent-color);
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -48px; 
    margin-bottom: 1.5rem;
    border: 6px solid #fdfdfd; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.premium-author-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: #111;
}

.premium-author-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin: 0 auto 1.25rem auto;
}

.premium-author-social {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.premium-social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.premium-social-link:hover {
    background: var(--brand-accent-color);
    color: #fff;
    border-color: var(--brand-accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ---- Dark Mode Variants ---- */
html.dark-mode .premium-support-box,
html.dark-mode .premium-author-box {
    background: #181818;
    border-color: #2a2a2a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

html.dark-mode .premium-support-box::before {
    opacity: 0.12;
}

html.dark-mode .support-title,
html.dark-mode .premium-author-name {
    color: #fff;
}

html.dark-mode .support-desc,
html.dark-mode .premium-author-bio {
    color: #bbb;
}

html.dark-mode .support-icon-circle {
    background: rgba(255, 255, 255, 0.05);
}

html.dark-mode .premium-btn-secondary {
    background: #222;
    color: #ddd !important;
    border-color: #444;
}

html.dark-mode .premium-btn-secondary:hover {
    background: #2a2a2a;
    border-color: #666;
}

html.dark-mode .premium-author-avatar {
    border-color: #181818;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

html.dark-mode .premium-social-link {
    background: #222;
    border-color: #444;
    color: #bbb;
}

html.dark-mode .premium-social-link:hover {
    background: var(--brand-accent-color);
    color: #fff;
    border-color: var(--brand-accent-color);
}


/* =============== Sticky Sidebar ToC =============== */
.toc-sidebar {
  position: sticky;
  top: 90px;
  font-size: 0.85rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.toc-sidebar-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 0.75rem;
}

.toc-sidebar nav#TableOfContents ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc-sidebar nav#TableOfContents ul ul {
  padding-left: 1rem;
}

.toc-sidebar nav#TableOfContents li {
  margin-bottom: 0.4rem;
}

.toc-sidebar nav#TableOfContents a {
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
  display: block;
  padding: 0.15rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
}

.toc-sidebar nav#TableOfContents a:hover {
  color: var(--brand-accent-color, #007bff);
  border-left-color: var(--brand-accent-color, #007bff);
}

html.dark-mode .toc-sidebar-title {
  color: #888;
}

html.dark-mode .toc-sidebar nav#TableOfContents a {
  color: #aaa;
}

html.dark-mode .toc-sidebar nav#TableOfContents a:hover {
  color: var(--brand-accent-color, #66b3ff);
  border-left-color: var(--brand-accent-color, #66b3ff);
}

@media (max-width: 991px) {
  .toc-sidebar {
    position: relative;
    top: auto;
    max-height: none;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
  }
  html.dark-mode .toc-sidebar {
    background: #1e1e1e;
    border-color: #333;
  }
}