.container {
  margin-top: 40px;
}
.admin-menu-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
}
.admin-menu-bar .container {
  margin-top: 0px;
}
.admin-menu-bar strong {
  font-size: 0.875rem;
}
.admin-menu-bar small {
  font-size: 0.75rem;
}
.admin-menu-bar a {
  font-size: 0.875rem;
}
.admin-menu-bar a:hover {
  text-decoration: underline !important;
  opacity: 0.9;
}
.admin-menu-bar nav {
  gap: 1rem !important;
}
.admin-menu-bar .row {
  margin-top: 0;
  margin-bottom: 0;
}
.blog-footer {
  line-height: 1;
  border-top: 1px solid #e5e5e5;
  margin-bottom: 20px;
}
.blog-footer .blog-header-logo {
  font-size: 24px;
}
a.top-menu {
  margin-left: 15px;
  margin-right: 15px;
}
a.link-icon {
  text-decoration: none;
}
a.link-icon i {
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 22px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}
@media (max-width: 767.98px) {
  a.link-icon svg {
    width: 18px;
    height: 18px;
  }
  a.link-icon i {
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 16px;
  }
}
.post-meta {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 20px;
}
.object-fit-cover {
  object-fit: cover;
}
.blog-post .blog-post-title {
  font-size: 2rem;
}
.blog-post .blog-post-title a {
  color: #333;
  text-decoration: none;
}
.post-pinned {
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f1f1f1;
}
.post-recomendation .card-text {
  font-size: 11px;
  max-height: 90px;
  overflow: hidden;
}
.post-recomendation h5 a {
  text-decoration: none;
  color: #333;
}
.featured-post .img-fluid {
  max-height: 400px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.posts-list .thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  /* or adjust as needed */
  overflow: hidden;
}
.posts-list .thumbnail .post-thumbnail {
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.posts-list .continue-reading {
  display: inline-block;
  margin-top: 20px;
  margin-left: 30px;
  color: #333;
  font-weight: bold;
}
.post-short a {
  text-decoration: none;
  color: #333;
}
.post-compact a {
  text-decoration: none;
  color: #333;
}
.post-compact .thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.post-compact .thumbnail img {
  width: 100%;
  height: auto;
}
.blog-post-content img {
  max-width: 75%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.blog-post-content figure figcaption {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-left: 30px;
  margin-right: 30px;
}
.blog-post-content .table-responsive td {
  border: #333 1px solid;
  border-spacing: 2px;
}
.blog-post-content .table-responsive td img {
  max-width: 95%;
}
.blog-post-content .table-responsive th {
  border: #333 1px solid;
  border-spacing: 2px;
}
.blog-post-content blockquote {
  border-left: 4px solid #ccc;
  margin: 1.5em 0;
  padding: 0.5em 1em;
  color: #555;
  background-color: #f9f9f9;
}
.blog-post-content blockquote p {
  margin-bottom: 0;
}
.blog-post-content hr {
  margin-top: 2em;
  margin-bottom: 2em;
}
.blog-post-content h2 {
  font-size: 24px;
  margin-top: 1em;
  margin-bottom: 1.5em;
}
.blog-post-content h3 {
  font-size: 20px;
  margin-top: 1em;
  margin-bottom: 1em;
}
.blog-post-content h4 {
  font-size: 18px;
}
.pagination li {
  padding-left: 5px;
  padding-right: 5px;
}
.pagination li.active a {
  pointer-events: none;
  text-decoration: none;
  color: #aaa;
  cursor: default;
}
.pagination li.disabled a {
  pointer-events: none;
  color: #aaa;
  cursor: default;
}
.dragover {
  border: 2px dashed #007bff;
  background-color: #e9f5ff;
}
.filedroparea {
  min-height: 300px;
}
.filedroparea-file {
  min-height: 150px;
  cursor: pointer;
}
.filedroparea-file.dragover {
  border: 2px dashed #007bff !important;
  background-color: #e9f5ff;
}
/* Contact & message tweaks */
.alert.alert-success.alert-site {
  background-color: #e8f5e9;
  /* light green */
  border-left: 4px solid #34a853;
  color: #0b3d06;
}
.contact-form .form-group {
  margin-bottom: 1rem;
}
.contact-form textarea {
  min-height: 160px;
}
@media (max-width: 767.98px) {
  .contact-form {
    margin-bottom: 20px;
  }
  .btn {
    width: 100%;
  }
}

/* ---- Auth pages (registration, awaiting activation) ---- */
.auth-page {
  padding: 8px 0 40px;
}
.auth-card {
  max-width: 520px;
  margin: 0 auto;
}
.auth-card .card {
  border-radius: 14px;
  overflow: hidden;
}
.auth-hero {
  background: linear-gradient(135deg, #111827 0%, #312e81 55%, #111827 100%);
  color: #f9fafb;
  padding: 28px 32px;
}
.auth-hero h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 4px;
}
.auth-hero p {
  margin: 0;
  color: #c7d2fe;
  font-size: .95rem;
}
.auth-body {
  padding: 28px 32px 32px;
}
.auth-body .form-floating > label {
  color: #6b7280;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #9ca3af;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 26px 0 18px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, .09);
}
.auth-social {
  display: flex;
  gap: 10px;
}
.auth-social-btn {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
}
.auth-social-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}
.auth-social-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.auth-social-btn.is-apple {
  background: #111827;
  border-color: #111827;
  color: #fff;
}
.auth-social-btn.is-apple:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}
.auth-foot {
  text-align: center;
  margin-top: 22px;
  color: #6b7280;
  font-size: .95rem;
}
.auth-terms {
  font-size: .9rem;
  color: #4b5563;
}
@media (max-width: 575.98px) {
  .auth-hero {
    padding: 22px 20px;
  }
  .auth-body {
    padding: 22px 20px 26px;
  }
}

/* Password strength meter (registration form) */
.pw-meter-track {
  display: flex;
  gap: 4px;
}
.pw-meter-track span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #e5e7eb;
  transition: background-color .15s ease-in-out;
}
.pw-meter-label {
  font-size: .8rem;
  margin-top: 5px;
  color: #6b7280;
}
.pw-meter.pw-weak .pw-meter-track span:nth-child(1) {
  background: #dc2626;
}
.pw-meter.pw-weak .pw-meter-label {
  color: #b91c1c;
}
.pw-meter.pw-fair .pw-meter-track span:nth-child(-n + 1) {
  background: #f59e0b;
}
.pw-meter.pw-fair .pw-meter-label {
  color: #b45309;
}
.pw-meter.pw-good .pw-meter-track span:nth-child(-n + 2) {
  background: #4f46e5;
}
.pw-meter.pw-good .pw-meter-label {
  color: #4338ca;
}
.pw-meter.pw-strong .pw-meter-track span {
  background: #16a34a;
}
.pw-meter.pw-strong .pw-meter-label {
  color: #15803d;
}
