@charset "UTF-8";
:root {
  --primary-color: #2c3e50;
  --secondary-color: #0034ff;
  --background-color: #fff;
  --text-color: #000;
  --border-radius: 8px;
  --accent-color: #f8f9fa;
  --accent-hover-color: #e9ecef;
  --link-color: #007bff;
  --link-hover-color: #0056b3;
  --hover-opacity: 0.9;
  /* Background Colors */
  --background-light: #f8f9fa;
  --background-muted: #e9ecef;
  --background-overlay: rgba(255, 255, 255, 0.9);
  /* Border Colors */
  --border-color: #dee2e6;
  --border-color-light: #f1f3f4;
  /* Text Colors */
  --text-muted: #6c757d;
  /* Border Radius */
  --border-radius-small: 12px;
  --border-radius-pill: 25px;
  /* Box Shadows */
  --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --box-shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
  --box-shadow-light-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  /* Body scroll lock when search is active */
}
body.search-active {
  overflow: hidden;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--link-hover-color);
}

.visually-hidden {
  display: none;
}

/* Message Styles */
.error-message,
.success-message {
  position: fixed;
  top: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideInRight 0.3s ease;
}

.error-message {
  background: #dc3545;
  border: 1px solid #c82333;
}

.success-message {
  background: #28a745;
  border: 1px solid #1e7e34;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
  .error-message,
  .success-message {
    right: 1rem;
    left: 1rem;
    top: 1rem;
  }
}
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}
.btn-primary:hover {
  color: var(--background-light);
  background: var(--primary-color);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--background-light);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background: var(--background-muted);
}

.btn-danger {
  background: #dc3545;
  color: white;
}
.btn-danger:hover {
  background: #c82333;
}

.btn-link {
  color: var(--secondary-color);
}
.btn-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.admin-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.admin-modal.active {
  display: flex;
}
.admin-modal .modal-content {
  background: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow: hidden;
}
.admin-modal .modal-content.small {
  max-width: 400px;
}
.admin-modal .modal-content.large {
  max-width: 900px;
  width: 95%;
  max-height: 95vh;
}
.admin-modal .modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-modal .modal-header h3 {
  margin: 0;
  color: var(--text-color);
}
.admin-modal .modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.admin-modal .modal-close:hover {
  background: var(--background-light);
  color: var(--text-color);
}
.admin-modal .modal-body {
  padding: 1.5rem;
  max-height: 60vh;
  overflow-y: auto;
}
.admin-modal .modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color-light);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

@media (max-width: 768px) {
  .admin-modal .modal-content {
    width: 95%;
    margin: 1rem;
  }
  .admin-modal .modal-content.large {
    width: 98%;
    margin: 1%;
    max-height: 98vh;
  }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  background: var(--background-color);
  color: var(--text-color);
}
.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
  background: var(--background-muted);
  cursor: not-allowed;
}
.form-group input[type=file] {
  padding: 0.5rem;
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius);
  background: var(--background-light);
  cursor: pointer;
  transition: all 0.3s ease;
}
.form-group input[type=file]:hover {
  border-color: var(--primary-color);
  background: var(--background-color);
}
.form-group input[type=file]:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(var(--secondary-color), 0.1);
}

.form-help {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.form-help.success-text {
  color: #28a745;
}
.form-help.error-text {
  color: #dc3545;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.loading-overlay.active {
  display: flex;
}
.loading-overlay .loading-spinner {
  text-align: center;
  color: var(--primary-color);
}
.loading-overlay .loading-spinner i {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.loading-overlay .loading-spinner p {
  margin: 0;
  font-weight: 500;
}

.admin-navbar {
  background: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.admin-navbar .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  white-space: nowrap;
  margin-right: 1rem;
}
.admin-navbar .logo a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.admin-navbar .logo a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}
.admin-navbar .admin-badge {
  background: var(--secondary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.admin-navbar .mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  transition: background-color 0.3s ease;
  position: absolute;
  right: 2rem;
}
.admin-navbar .mobile-menu-toggle:hover {
  background: var(--background-light);
}
.admin-navbar .admin-nav-links {
  display: flex;
  gap: 2rem;
}
.admin-navbar .admin-nav-link {
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  font-weight: 500;
}
.admin-navbar .admin-nav-link:hover, .admin-navbar .admin-nav-link.active {
  background: var(--background-light);
  color: var(--primary-color);
  text-decoration: none;
}
.admin-navbar .admin-user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.admin-navbar .admin-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-color);
}
.admin-navbar .admin-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
}
.admin-navbar .admin-logout-btn {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-navbar .admin-logout-btn:hover {
  background: var(--background-muted);
  color: var(--primary-color);
}

.mobile-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
}
.mobile-nav-dropdown.active {
  display: block;
}
.mobile-nav-dropdown .mobile-nav-content {
  padding: 1rem;
  max-height: 70vh;
  overflow-y: auto;
}
.mobile-nav-dropdown .mobile-nav-section {
  margin-bottom: 1.5rem;
}
.mobile-nav-dropdown .mobile-nav-section:last-child {
  margin-bottom: 0;
}
.mobile-nav-dropdown .mobile-nav-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  padding: 0 0.5rem;
}
.mobile-nav-dropdown .mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-dropdown .mobile-nav-item {
  margin-bottom: 0.25rem;
}
.mobile-nav-dropdown .mobile-nav-link {
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  font-weight: 500;
}
.mobile-nav-dropdown .mobile-nav-link:hover, .mobile-nav-dropdown .mobile-nav-link.active {
  background: var(--background-light);
  color: var(--primary-color);
  text-decoration: none;
}
.mobile-nav-dropdown .mobile-nav-link i {
  font-size: 1.125rem;
  width: 20px;
  text-align: center;
}
.mobile-nav-dropdown .mobile-user-section {
  border-top: 1px solid var(--border-color-light);
  padding-top: 1rem;
}
.mobile-nav-dropdown .mobile-user-section .mobile-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--background-light);
  border-radius: var(--border-radius);
}
.mobile-nav-dropdown .mobile-user-section .mobile-user-info .admin-avatar {
  width: 40px;
  height: 40px;
}
.mobile-nav-dropdown .mobile-user-section .mobile-user-info .user-details {
  flex: 1;
}
.mobile-nav-dropdown .mobile-user-section .mobile-user-info .user-details .user-name {
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  font-size: 0.875rem;
}
.mobile-nav-dropdown .mobile-user-section .mobile-user-info .user-details .user-role {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.75rem;
}
.mobile-nav-dropdown .mobile-user-section .mobile-logout-btn {
  width: 100%;
  background: var(--background-light);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  text-decoration: none;
}
.mobile-nav-dropdown .mobile-user-section .mobile-logout-btn:hover {
  background: var(--background-muted);
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .admin-navbar {
    padding: 1rem;
  }
  .admin-navbar .mobile-menu-toggle {
    display: block;
  }
  .admin-navbar .admin-nav-links {
    display: none;
  }
  .admin-navbar .admin-user-menu .admin-user-info {
    display: none;
  }
  .admin-navbar .admin-user-menu .admin-logout-btn {
    display: none;
  }
}
@media (max-width: 480px) {
  .admin-navbar .admin-badge {
    display: none;
  }
}
.login-section {
  background: #f8f9fa;
  border-top: 2px solid var(--secondary-color);
  max-width: 480px;
  margin: 3rem auto 0 auto;
  padding: 2.5rem 2rem 2rem 2rem;
  border-radius: 0 0 16px 16px;
  box-shadow: none;
}
.login-section .login-title {
  text-align: left;
  font-size: 1.7rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.login-section .login-form {
  display: flex;
  flex-direction: column;
}
.login-section .toggle-password {
  position: absolute;
  right: 3rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-section .toggle-password:hover {
  color: var(--text-color);
}
.login-section .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-color);
}
.login-section .checkbox-label input[type=checkbox] {
  display: none;
}
.login-section .checkbox-label input[type=checkbox]:checked + .checkmark {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}
.login-section .checkbox-label input[type=checkbox]:checked + .checkmark::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: white;
  font-size: 0.75rem;
}
.login-section .checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.login-section .login-btn {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 0.9rem 0;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.login-section .login-btn:hover {
  background: var(--primary-color);
}
.login-section .login-footer {
  margin-top: 1.5rem;
}
.login-section .login-footer .back-link,
.login-section .login-footer .register-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}
.login-section .login-footer .back-link:hover,
.login-section .login-footer .register-link:hover {
  color: var(--primary-color);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.875rem;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.input-group i {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  z-index: 2;
}
.input-group input {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--background-color);
}
.input-group input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(var(--secondary-color), 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .login-section {
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
    margin-top: 1.5rem;
  }
  .login-title {
    font-size: 1.2rem;
  }
}
.logout-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.logout-card {
  text-align: center;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color-light, #f1f3f4);
  max-width: 400px;
  width: 100%;
}

.logout-icon {
  font-size: 4rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  animation: spin 1s linear infinite;
}
.logout-icon .logout-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}
.logout-icon .logout-message {
  color: var(--text-muted);
  font-size: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 480px) {
  .logout-card {
    padding: 2rem;
    margin: 1rem;
  }
}
.admin-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}
.admin-content .admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.admin-content .admin-page-header .admin-page-title h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.admin-content .admin-page-header .admin-page-description {
  color: var(--text-muted);
  font-size: 1rem;
}
.admin-content .admin-page-header .admin-page-actions {
  display: flex;
  gap: 1rem;
}
.admin-content .admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.admin-content .admin-section-header h2 {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-content .admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.admin-content .admin-stats-grid .admin-stat-card {
  background: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.admin-content .admin-stats-grid .stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  background: var(--primary-color);
}
.admin-content .admin-stats-grid .stat-icon.admin {
  background: #28a745;
}
.admin-content .admin-stats-grid .stat-icon.editor {
  background: #ffc107;
  color: #333;
}
.admin-content .admin-stats-grid .stat-icon.author {
  background: #17a2b8;
}
.admin-content .admin-stats-grid .stat-icon.published {
  background: #28a745;
}
.admin-content .admin-stats-grid .stat-icon.draft {
  background: #6c757d;
}
.admin-content .admin-stats-grid .stat-icon.scheduled {
  background: #fd7e14;
}
.admin-content .admin-stats-grid .stat-icon.views {
  background: #17a2b8;
}
.admin-content .admin-stats-grid .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}
.admin-content .admin-stats-grid .stat-label {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.875rem;
}
.admin-content .admin-filters {
  background: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
}
.admin-content .admin-filters .admin-search {
  position: relative;
  flex: 1;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-content .admin-filters .admin-search-input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
}
.admin-content .admin-filters .admin-search .search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.admin-content .admin-filters .admin-filter-group {
  display: flex;
  gap: 1rem;
  position: relative;
}
.admin-content .admin-filters .admin-filter-group .filter-toggle {
  display: none;
  background: var(--background-light);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.75rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.admin-content .admin-filters .admin-filter-group .filter-toggle:hover {
  background: var(--background-muted);
  color: var(--primary-color);
}
.admin-content .admin-filters .admin-filter-group .filter-toggle.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
.admin-content .admin-filters .filter-menu .filter-menu-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color-light);
  background: var(--background-light);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  display: none;
}
.admin-content .admin-filters .filter-menu .filter-menu-header h4 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-content .admin-filters .filter-menu .filter-menu-content .admin-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--background-color);
  color: var(--text-color);
  font-size: 0.875rem;
  min-width: 150px;
}
.admin-content .admin-filters .filter-menu .filter-menu-footer {
  padding: 1rem;
  border-top: 1px solid var(--border-color-light);
  background: var(--background-light);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  display: none;
  gap: 0.5rem;
  justify-content: flex-end;
}
.admin-content .admin-filters .filter-menu .filter-menu-footer .btn-clear-filters {
  background: var(--background-muted);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
}
.admin-content .admin-filters .filter-menu .filter-menu-footer .btn-clear-filters:hover {
  background: var(--background-light);
}
.admin-content .admin-filters .filter-menu .filter-menu-footer .btn-apply-filters {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
}
.admin-content .admin-filters .filter-menu .filter-menu-footer .btn-apply-filters:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}
.admin-content .admin-table-container {
  background: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-bottom: 2rem;
}
.admin-content .admin-table-container .admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-content .admin-table-container .admin-table th,
.admin-content .admin-table-container .admin-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color-light);
}
.admin-content .admin-table-container .admin-table th {
  background: var(--background-light);
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.admin-content .admin-table-container .admin-table tbody tr:hover {
  background: var(--background-light);
}
.admin-content .admin-table-container .action-buttons {
  display: flex;
  gap: 0.5rem;
}
.admin-content .admin-table-container .action-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.admin-content .admin-table-container .action-btn.edit {
  background: #e3f2fd;
  color: #1976d2;
}
.admin-content .admin-table-container .action-btn.edit:hover {
  background: #1976d2;
  color: white;
}
.admin-content .admin-table-container .action-btn.delete {
  background: #ffebee;
  color: #d32f2f;
}
.admin-content .admin-table-container .action-btn.delete:hover {
  background: #d32f2f;
  color: white;
}
.admin-content .admin-form {
  display: block;
  background: var(--accent-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  padding: 1.5rem;
}
.admin-content .admin-form .admin-form-footer {
  border-top: 1px solid var(--border-color-light);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.admin-content .admin-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1rem 1.5rem;
}
.admin-content .admin-pagination .pagination-info {
  color: var(--text-muted);
  font-size: 0.875rem;
}
.admin-content .admin-pagination .pagination-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-content .admin-pagination .pagination-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  background: var(--background-color);
  color: var(--text-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.admin-content .admin-pagination .pagination-btn:hover:not(:disabled) {
  background: var(--background-light);
}
.admin-content .admin-pagination .pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.admin-content .admin-pagination .pagination-numbers {
  display: flex;
  gap: 0.25rem;
}
.admin-content .admin-pagination .pagination-number {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-color);
  background: var(--background-color);
  color: var(--text-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}
.admin-content .admin-pagination .pagination-number:hover, .admin-content .admin-pagination .pagination-number.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

@media (max-width: 768px) {
  .admin-content {
    padding: 1rem;
  }
  .admin-content .admin-page-header {
    flex-direction: column;
    gap: 1rem;
  }
  .admin-content .section-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .admin-content .section-header h2 {
    font-size: 1.25rem;
  }
  .admin-content .admin-filters {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
  }
  .admin-content .admin-filters .admin-search {
    flex: 1;
    max-width: none;
  }
  .admin-content .admin-filters .admin-filter-group .filter-toggle {
    display: flex;
  }
  .admin-content .admin-filters .filter-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    margin-top: 0.5rem;
    min-width: 300px;
  }
  .admin-content .admin-filters .filter-menu.active {
    display: block;
  }
  .admin-content .admin-filters .filter-menu .filter-menu-header {
    display: block;
  }
  .admin-content .admin-filters .filter-menu .filter-menu-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .admin-content .admin-filters .filter-menu .filter-menu-content .admin-select {
    display: block;
    margin-bottom: 0;
  }
  .admin-content .admin-filters .filter-menu .filter-menu-footer {
    display: flex;
  }
  .admin-content .admin-table-container {
    overflow-x: auto;
  }
  .admin-content .admin-pagination {
    flex-direction: column;
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .admin-content .admin-filters .admin-search-input {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
  }
  .admin-content .admin-filters .admin-search .search-icon {
    right: 0.75rem;
  }
}
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.status-badge.published {
  background: #d4edda;
  color: #155724;
}
.status-badge.draft {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
}
.status-badge.scheduled {
  background: #fff3cd;
  color: #856404;
}

.stat-icon.published {
  background: #28a745;
}
.stat-icon.draft {
  background: #6c757d;
}
.stat-icon.scheduled {
  background: #fd7e14;
}

#posts-table .post-title-cell {
  max-width: 300px;
}
#posts-table .post-title-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#posts-table .post-title-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}
#posts-table .post-meta-info {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
#posts-table .author-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#posts-table .author-avatar-small {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
#posts-table .author-name {
  font-size: 0.875rem;
  font-weight: 500;
}
#posts-table .views-count {
  font-weight: 600;
  color: var(--text-color);
}

#post-form .editor-preview {
  padding: 0 2rem 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-color);
  /* Typography using semantic tags */
  /* Lists */
  /* Blockquotes */
  /* Code blocks */
  /* Tables */
  /* Images */
  /* Links */
  /* Emphasis */
  /* Horizontal rules */
  /* Definition lists */
}
#post-form .editor-preview h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1.5rem;
  color: var(--text-color);
  line-height: 1.2;
}
#post-form .editor-preview h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text-color);
  line-height: 1.3;
}
#post-form .editor-preview h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: var(--text-color);
  line-height: 1.4;
}
#post-form .editor-preview h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--text-color);
}
#post-form .editor-preview h5 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--text-color);
}
#post-form .editor-preview h6 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#post-form .editor-preview p {
  margin-bottom: 1.5rem;
  text-align: justify;
}
#post-form .editor-preview p:first-of-type {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-muted, #6c757d);
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color-light, #f1f3f4);
}
#post-form .editor-preview ul,
#post-form .editor-preview ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}
#post-form .editor-preview li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
#post-form .editor-preview ul li {
  list-style-type: disc;
}
#post-form .editor-preview ol li {
  list-style-type: decimal;
}
#post-form .editor-preview ul ul,
#post-form .editor-preview ol ol,
#post-form .editor-preview ul ol,
#post-form .editor-preview ol ul {
  margin: 0.5rem 0;
}
#post-form .editor-preview blockquote {
  background: var(--background-light, #f8f9fa);
  border-left: 4px solid var(--secondary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  font-size: 1.25rem;
  font-style: italic;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  position: relative;
}
#post-form .editor-preview blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--secondary-color);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  opacity: 0.3;
}
#post-form .editor-preview blockquote p:last-child {
  margin-bottom: 0;
}
#post-form .editor-preview pre {
  background: var(--background-light, #f8f9fa);
  border: 1px solid var(--border-color, #dee2e6);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
  line-height: 1.5;
}
#post-form .editor-preview pre code {
  background: none;
  padding: 0;
  color: inherit;
}
#post-form .editor-preview code {
  background: var(--background-light, #f8f9fa);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
  color: var(--secondary-color);
}
#post-form .editor-preview table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
}
#post-form .editor-preview th,
#post-form .editor-preview td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color, #dee2e6);
}
#post-form .editor-preview th {
  background: var(--background-light, #f8f9fa);
  font-weight: 600;
  color: var(--text-color);
}
#post-form .editor-preview tr:hover {
  background: var(--background-light, #f8f9fa);
}
#post-form .editor-preview img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 2rem 0;
  display: block;
  box-shadow: var(--box-shadow);
}
#post-form .editor-preview figure {
  margin: 2rem 0;
  text-align: center;
}
#post-form .editor-preview figcaption {
  font-size: 0.875rem;
  color: var(--text-muted, #6c757d);
  font-style: italic;
  margin-top: 0.5rem;
}
#post-form .editor-preview a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}
#post-form .editor-preview a:hover {
  color: var(--primary-color);
  text-decoration: none;
}
#post-form .editor-preview strong,
#post-form .editor-preview b {
  font-weight: 600;
  color: var(--text-color);
}
#post-form .editor-preview em,
#post-form .editor-preview i {
  font-style: italic;
}
#post-form .editor-preview mark {
  background: var(--accent-color);
  padding: 0.125rem 0.25rem;
  border-radius: 2px;
}
#post-form .editor-preview hr {
  border: none;
  height: 1px;
  background: var(--border-color, #dee2e6);
  margin: 3rem 0;
}
#post-form .editor-preview dl {
  margin: 1.5rem 0;
}
#post-form .editor-preview dt {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}
#post-form .editor-preview dd {
  margin-left: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted, #6c757d);
}
#post-form .image-preview {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}
#post-form .image-preview img {
  max-width: 200px;
  max-height: 150px;
  border-radius: 8px;
  margin-right: 0.5rem;
}
#post-form .btn-remove-image {
  background: #dc3545;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background-color 0.3s ease;
}
#post-form .btn-remove-image:hover {
  background: #c82333;
}

.post-editors-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color-light);
}

.admin-table-container {
  background: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-bottom: 2rem;
}

.admin-table .editor-info-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-table .editor-info-cell .editor-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.admin-table .editor-info-cell .editor-details h4 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-color);
}
.admin-table .editor-info-cell .editor-details p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.no-editors-message {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}
.no-editors-message .empty-state {
  color: var(--text-muted);
}
.no-editors-message .empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--border-color);
}
.no-editors-message .empty-state h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}
.no-editors-message .empty-state p {
  font-size: 1rem;
  margin: 0;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

#remove-editor-modal .editor-info {
  background: var(--background-light);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
#remove-editor-modal .editor-info .editor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
#remove-editor-modal .editor-info .editor-details h4 {
  font-size: 1rem;
}
#remove-editor-modal .editor-info .editor-details p {
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .editor-toolbar {
    padding: 0.25rem;
  }
  .editor-toolbar .editor-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .admin-table .editor-info-cell {
    gap: 0.5rem;
  }
  .admin-table .editor-info-cell .editor-avatar {
    width: 28px;
    height: 28px;
  }
  .no-editors-message {
    padding: 2rem 1rem;
  }
  .no-editors-message .empty-state i {
    font-size: 2.5rem;
  }
  .no-editors-message .empty-state h3 {
    font-size: 1.125rem;
  }
}
@media (max-width: 480px) {
  #posts-table .post-title-cell {
    max-width: 200px;
  }
  .post-editors-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
}
.role-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.role-badge.admin {
  background: #d4edda;
  color: #155724;
}
.role-badge.editor {
  background: #fff3cd;
  color: #856404;
}
.role-badge.author {
  background: #d1ecf1;
  color: #0c5460;
}

#users-table .user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
#users-table .user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
#users-table .user-details h4 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-color);
}
#users-table .user-details p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

#user-form .password-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
#user-form .password-input-group input {
  flex: 1;
  padding-right: 5rem;
}
#user-form .btn-password-action {
  position: absolute;
  right: 0.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#user-form .btn-password-action:hover {
  color: var(--secondary-color);
}
#user-form .btn-password-action:first-of-type {
  right: 2.5rem;
}
#user-form .btn-password-action.success {
  color: #28a745;
}

.delete-user-info {
  background: var(--background-light);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

/* Profile Page Styles */
.profile-section {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-bottom: 2rem;
}
.profile-section .profile-section-header {
  background: var(--background-light);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
}
.profile-section .profile-section-header h2 {
  margin: 0 0 0.5rem 0;
  color: var(--primary-color);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.profile-section .profile-section-header h2 i {
  color: var(--secondary-color);
}
.profile-section .profile-section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Profile Picture Section */
.profile-picture-container {
  padding: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
}
.profile-picture-container .current-profile-picture {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}
.profile-picture-container .current-profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-picture-container .current-profile-picture .profile-picture-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.profile-picture-container .current-profile-picture .profile-picture-overlay i {
  color: white;
  font-size: 2rem;
}
.profile-picture-container .current-profile-picture:hover {
  transform: scale(1.05);
}
.profile-picture-container .current-profile-picture:hover .profile-picture-overlay {
  opacity: 1;
}
.profile-picture-container .profile-picture-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 0;
}
.profile-picture-container .profile-picture-requirements {
  background: var(--background-light);
  padding: 1rem;
  border-radius: var(--border-radius-small);
  border: 1px solid var(--border-color);
  text-align: left;
  max-width: 300px;
}
.profile-picture-container .profile-picture-requirements p {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  color: var(--primary-color);
}
.profile-picture-container .profile-picture-requirements ul {
  margin: 0;
  padding-left: 1.2rem;
  list-style-type: disc;
}
.profile-picture-container .profile-picture-requirements li {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Personal info */
#bio-count {
  font-weight: 600;
  color: var(--secondary-color);
}

#security-form {
  /* Password input group */
  /* Password Strength Indicator */
  /* Password Requirements */
}
#security-form .password-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
#security-form .password-input-group input {
  padding-right: 3rem;
}
#security-form .password-toggle {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: color 0.3s ease;
}
#security-form .password-toggle:hover {
  color: var(--secondary-color);
}
#security-form .password-strength {
  margin-top: 0.5rem;
}
#security-form .password-strength .password-strength-bar {
  width: 100%;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}
#security-form .password-strength .password-strength-fill {
  height: 100%;
  background: #dc3545;
  transition: all 0.3s ease;
  width: 0%;
}
#security-form .password-strength .password-strength-fill.weak {
  background: #dc3545;
  width: 25%;
}
#security-form .password-strength .password-strength-fill.fair {
  background: #ffc107;
  width: 50%;
}
#security-form .password-strength .password-strength-fill.good {
  background: #fd7e14;
  width: 75%;
}
#security-form .password-strength .password-strength-fill.strong {
  background: #28a745;
  width: 100%;
}
#security-form .password-strength .password-strength-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}
#security-form .password-requirements {
  background: var(--background-light);
  padding: 1rem;
  border-radius: var(--border-radius-small);
  border: 1px solid var(--border-color);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
#security-form .password-requirements h4 {
  margin: 0 0 0.75rem 0;
  font-size: 0.9rem;
  color: var(--primary-color);
}
#security-form .password-requirements ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#security-form .password-requirements li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  font-size: 0.85rem;
}
#security-form .password-requirements li i.fa-check {
  color: #28a745;
}
#security-form .password-requirements li i.fa-times {
  color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-section .profile-section-header {
    padding: 1rem 1.5rem;
  }
  .profile-picture-container {
    padding: 1.5rem;
    flex-direction: column;
  }
  .profile-picture-container .current-profile-picture {
    width: 200px;
    height: 200px;
  }
}
@media (max-width: 480px) {
  .profile-picture-container .current-profile-picture .profile-picture-overlay i {
    font-size: 1.5rem;
  }
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  /* prevent wrapping */
  padding: 1rem 2rem;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  white-space: nowrap;
  margin-right: 1rem;
}
.navbar .logo a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.navbar .logo a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}
.navbar .search-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  /* allows input to shrink */
  justify-content: flex-end;
}
.navbar .search-input {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 300px;
  min-width: 120px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.navbar .search-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}
.navbar .search-btn {
  padding: 0.5rem 1rem;
  background-color: var(--secondary-color);
  color: white;
  border: 1px solid var(--secondary-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.navbar .search-btn:hover {
  background-color: #2980b9;
}
.navbar .user-info {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-left: 1rem;
  color: var(--text-color);
}
.navbar .user-info .user-avatar {
  border-radius: 50%;
  margin-right: 0.5rem;
  width: 32px;
  height: 32px;
}

/* Optional: Tweak max-width of search input on very small screens */
@media screen and (max-width: 768px) {
  .navbar .user-info .user-avatar {
    margin-right: 0;
  }
  .navbar .user-info .user-username {
    display: none;
  }
}
@media screen and (max-width: 480px) {
  .navbar .search-input {
    max-width: 150px;
  }
}
.owl-carousel {
  padding-top: 2rem;
  position: relative;
}
.owl-carousel.owl-drag .owl-item {
  padding-bottom: 30px;
}

/* Navigation Buttons Positioning */
.owl-theme .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}
.owl-theme .owl-nav [class*=owl-] {
  background: var(--background-overlay, rgba(255, 255, 255, 0.9));
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
  pointer-events: auto;
  position: static;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-color, #333);
}
.owl-theme .owl-nav [class*=owl-]:hover {
  background: var(--background-color, white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.owl-theme .owl-nav .owl-prev {
  position: relative;
  left: -40px;
}
.owl-theme .owl-nav .owl-next {
  position: relative;
  right: -40px;
}
.owl-theme .owl-dots {
  margin-top: 20px;
  text-align: center;
}
.owl-theme .owl-dots .owl-dot {
  margin: 0 5px;
}
.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  background: var(--border-color-light, #ddd);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.owl-theme .owl-dots .owl-dot.active span {
  background: var(--secondary-color);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .owl-theme .owl-nav {
    padding: 0 0.5rem;
  }
  .owl-theme .owl-nav [class*=owl-] {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  .owl-theme .owl-nav .owl-prev {
    left: 0;
  }
  .owl-theme .owl-nav .owl-next {
    right: 0;
  }
}
/* Hide navigation on very small screens */
@media (max-width: 480px) {
  .owl-theme .owl-nav {
    display: none;
  }
}
.post-card {
  background: var(--background-color, white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow, 0 2px 8px rgba(0, 0, 0, 0.1));
  margin-bottom: 2rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-hover, 0 8px 25px rgba(0, 0, 0, 0.15));
}
.post-card .post-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.post-card .post-card-content {
  padding: 1.5rem;
}
.post-card .post-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}
.post-card .post-card-title:hover {
  color: var(--secondary-color);
}
.post-card .post-card-meta {
  font-size: 0.875rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  opacity: 0.7;
}
.post-card .post-card-meta .post-card-author {
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
}
.post-card .post-card-meta .post-card-author:hover {
  color: var(--secondary-color);
}
.post-card .post-card-description {
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.post-card .post-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-wrap-mode: nowrap;
}
.post-card .post-card-tag {
  background: var(--accent-color);
  color: var(--text-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.post-card .post-card-tag:hover {
  background: var(--accent-hover-color);
  color: var(--text-color);
}
.post-card .post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.post-card .read-more-btn {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}
.post-card .read-more-btn:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .post-card .post-card-content {
    padding: 1rem;
  }
  .post-card .post-card-title {
    font-size: 1.25rem;
  }
}
.sidebar .sidebar-widget {
  background: var(--background-color, white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  overflow: hidden;
}
.sidebar .sidebar-widget-header {
  background: var(--background-light, #f8f9fa);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color, #dee2e6);
}
.sidebar .sidebar-widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-color, #333);
}
.sidebar .sidebar-widget-content {
  padding: 1.5rem;
}
.sidebar .tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sidebar .tag-pill {
  background: var(--background-light, #f8f9fa);
  color: var(--text-color, #000);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-pill, 25px);
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid var(--border-color, #dee2e6);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.sidebar .tag-pill:hover {
  background: var(--accent-color);
  color: var(--text-color);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}
.sidebar .category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar .category-item {
  border-bottom: 1px solid var(--border-color-light, #f1f3f4);
  padding: 0.75rem 0;
}
.sidebar .category-item:last-child {
  border-bottom: none;
}
.sidebar .category-link {
  color: var(--text-color, #333);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}
.sidebar .category-link:hover {
  color: var(--secondary-color, #007bff);
  text-decoration: none;
}
.sidebar .category-count {
  color: var(--text-muted, #6c757d);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-small, 12px);
  font-size: 0.75rem;
  font-weight: 500;
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Fallback suggestions styling */
  /* Suggestion Image */
  /* Suggestion Content */
  /* No suggestions styling */
}
.search-overlay .search-overlay-content {
  width: 100%;
  max-width: 800px;
  padding: 2rem 2rem 5rem;
  transform: translateY(30px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 auto;
}
.search-overlay .search-overlay-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.search-overlay .search-overlay-input-container {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-bottom: 1px solid var(--border-color-light);
}
.search-overlay .search-overlay-input-container .search-overlay-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--text-color);
}
.search-overlay .search-overlay-input-container .search-overlay-input::placeholder {
  color: var(--text-muted);
}
.search-overlay .search-overlay-input-container .search-overlay-btn {
  color: white;
  background-color: var(--link-color);
  border: 1px solid var(--link-color);
  border-radius: var(--border-radius);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.search-overlay .search-overlay-input-container .search-overlay-btn:hover {
  background: var(--link-hover-color);
  transform: translateY(-1px);
}
.search-overlay .search-overlay-input-container .search-overlay-btn:active {
  animation: searchPulse 0.6s ease-out;
}
.search-overlay .search-overlay-input-container .search-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  padding: 0.5rem;
  margin-left: 1rem;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.search-overlay .search-overlay-input-container .search-close-btn:hover {
  background: var(--background-light);
  color: var(--text-color);
}
.search-overlay .search-suggestions {
  max-height: 500px;
  overflow-y: auto;
}
.search-overlay .search-suggestion-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid var(--border-color-light);
}
.search-overlay .search-suggestion-item:last-child {
  border-bottom: none;
}
.search-overlay .search-suggestion-item i {
  color: var(--text-muted);
  font-size: 0.875rem;
}
.search-overlay .search-suggestion-item span {
  color: var(--text-color);
  font-size: 1rem;
}
.search-overlay .search-suggestion-item:hover {
  background: var(--background-light);
  transform: translateX(5px);
}
.search-overlay .search-suggestion-item:hover .suggestion-image img {
  transform: scale(1.05);
}
.search-overlay .search-suggestion-item.fallback {
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
}
.search-overlay .search-suggestion-item.fallback i {
  color: var(--text-muted);
  font-size: 0.875rem;
  width: 16px;
}
.search-overlay .search-suggestion-item.fallback span {
  color: var(--text-color);
  font-size: 1rem;
}
.search-overlay .suggestion-image {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--background-muted);
}
.search-overlay .suggestion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.search-overlay .suggestion-content {
  flex: 1;
  min-width: 0;
}
.search-overlay .suggestion-content .suggestion-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-overlay .suggestion-content .suggestion-title mark {
  background: rgba(var(--secondary-color-rgb, 0, 123, 255), 0.2);
  color: var(--secondary-color);
  padding: 0 2px;
  border-radius: 2px;
}
.search-overlay .suggestion-content .suggestion-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-overlay .no-suggestions {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  background: var(--background-light);
}
.search-overlay .no-suggestions::before {
  content: "🔍";
  display: block;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
}
.search-overlay.active .search-overlay-content {
  transform: translateY(0);
}

/* Animation enhancements */
@keyframes searchPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}
.content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.content .main-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.content .posts-section {
  min-width: 0;
}
.content .load-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.content .load-more .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--background-color);
  color: var(--secondary-color);
  border-radius: var(--border-radius);
  transition: background-color 0.3s ease;
}
.content .load-more .btn:hover {
  background-color: var(--background-muted);
  transform: translateY(-3px);
  text-decoration: none;
}
.content .sidebar {
  min-width: 300px;
}

.footer {
  text-align: center;
  padding: 2rem;
  background-color: var(--background-color, white);
  margin-top: 4rem;
}

@media (max-width: 968px) {
  .content .main-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .content .sidebar {
    min-width: auto;
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .content {
    padding: 0 0.5rem;
  }
}
.post-slider {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  width: 100%;
}

#post-slider .slider-post-card {
  background: var(--background-color, white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-light, 0 4px 6px rgba(0, 0, 0, 0.1));
  flex: 0 0 auto;
  max-width: 350px;
  min-width: 220px;
  height: 100%;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
}
#post-slider .slider-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-light-hover, 0 8px 15px rgba(0, 0, 0, 0.15));
}
#post-slider .slider-post-card:hover .post-image img {
  transform: scale(1.1);
}
#post-slider .slider-post-card .post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
#post-slider .slider-post-card .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
#post-slider .slider-post-card .post-content {
  padding: 1.5rem;
  height: calc(100% - 200px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#post-slider .slider-post-card .post-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}
#post-slider .slider-post-card .post-content h2 a {
  text-overflow: ellipsis;
  text-wrap-mode: nowrap;
  overflow: hidden;
}
#post-slider .slider-post-card .post-meta {
  font-size: 0.875rem;
  color: var(--text-color);
  opacity: 0.7;
  margin-bottom: 1rem;
}
#post-slider .slider-post-card .post-excerpt {
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.8em;
  /* Fixed height for exactly 3 lines */
  min-height: 4.8em;
}
#post-slider .slider-post-card .post-card-tags {
  overflow: hidden;
  flex-wrap: nowrap;
}
#post-slider .slider-post-card .read-more {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}
#post-slider .slider-post-card .read-more:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.post-card {
  background: var(--background-color, white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow, 0 2px 8px rgba(0, 0, 0, 0.1));
  margin-bottom: 2rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-hover, 0 8px 25px rgba(0, 0, 0, 0.15));
}

@media (max-width: 768px) {
  .slider-post-card {
    margin-bottom: 1.5rem;
  }
  .slider-post-card .post-image {
    height: 180px;
  }
  .slider-post-card .post-content {
    padding: 1rem;
  }
  .slider-post-card .post-content h2 {
    font-size: 1.3rem;
  }
  .slider-post-card .post-meta {
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .slider-post-card {
    max-width: 460px;
    margin-bottom: 1rem;
  }
  .slider-post-card .post-image {
    height: 160px;
  }
  .slider-post-card .post-content {
    padding: 0.8rem;
  }
  .slider-post-card .post-content h2 {
    font-size: 1.2rem;
  }
  .slider-post-card .post-meta {
    font-size: 0.75rem;
  }
  .slider-post-card .read-more {
    font-size: 0.875rem;
  }
}
.post-article {
  background: var(--background-color, white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-bottom: 2rem;
  /* Post Comments */
  /* Post Footer */
}
.post-article .post-header {
  position: relative;
}
.post-article .post-featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.post-article .post-header-content {
  padding: 2rem;
}
.post-article .post-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}
.post-article .post-meta-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.post-article .post-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.post-article .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.post-article .author-name {
  font-weight: 600;
  color: var(--text-color);
}
.post-article .post-meta-details {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted, #6c757d);
}
.post-article .post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.post-article .post-tags .post-tag {
  background: var(--accent-hover-color, #e9ecef);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-pill, 25px);
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: 1px solid var(--accent-hover-color, #e9ecef);
}
.post-article .post-tags .post-tag:hover {
  background: var(--accent-color);
  color: var(--text-color);
}
.post-article .post-content {
  padding: 0 2rem 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-color);
  /* Typography using semantic tags */
  /* Lists */
  /* Blockquotes */
  /* Code blocks */
  /* Tables */
  /* Images */
  /* Links */
  /* Emphasis */
  /* Horizontal rules */
  /* Definition lists */
}
.post-article .post-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1.5rem;
  color: var(--text-color);
  line-height: 1.2;
}
.post-article .post-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text-color);
  line-height: 1.3;
}
.post-article .post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: var(--text-color);
  line-height: 1.4;
}
.post-article .post-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--text-color);
}
.post-article .post-content h5 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--text-color);
}
.post-article .post-content h6 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.post-article .post-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}
.post-article .post-content p:first-of-type {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-muted, #6c757d);
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color-light, #f1f3f4);
}
.post-article .post-content ul,
.post-article .post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}
.post-article .post-content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.post-article .post-content ul li {
  list-style-type: disc;
}
.post-article .post-content ol li {
  list-style-type: decimal;
}
.post-article .post-content ul ul,
.post-article .post-content ol ol,
.post-article .post-content ul ol,
.post-article .post-content ol ul {
  margin: 0.5rem 0;
}
.post-article .post-content blockquote {
  background: var(--background-light, #f8f9fa);
  border-left: 4px solid var(--secondary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  font-size: 1.25rem;
  font-style: italic;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  position: relative;
}
.post-article .post-content blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--secondary-color);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  opacity: 0.3;
}
.post-article .post-content blockquote p:last-child {
  margin-bottom: 0;
}
.post-article .post-content pre {
  background: var(--background-light, #f8f9fa);
  border: 1px solid var(--border-color, #dee2e6);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
  line-height: 1.5;
}
.post-article .post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.post-article .post-content code {
  background: var(--background-light, #f8f9fa);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
  color: var(--secondary-color);
}
.post-article .post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
}
.post-article .post-content th,
.post-article .post-content td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color, #dee2e6);
}
.post-article .post-content th {
  background: var(--background-light, #f8f9fa);
  font-weight: 600;
  color: var(--text-color);
}
.post-article .post-content tr:hover {
  background: var(--background-light, #f8f9fa);
}
.post-article .post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 2rem 0;
  display: block;
  box-shadow: var(--box-shadow);
}
.post-article .post-content figure {
  margin: 2rem 0;
  text-align: center;
}
.post-article .post-content figcaption {
  font-size: 0.875rem;
  color: var(--text-muted, #6c757d);
  font-style: italic;
  margin-top: 0.5rem;
}
.post-article .post-content a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}
.post-article .post-content a:hover {
  color: var(--primary-color);
  text-decoration: none;
}
.post-article .post-content strong,
.post-article .post-content b {
  font-weight: 600;
  color: var(--text-color);
}
.post-article .post-content em,
.post-article .post-content i {
  font-style: italic;
}
.post-article .post-content mark {
  background: var(--accent-color);
  padding: 0.125rem 0.25rem;
  border-radius: 2px;
}
.post-article .post-content hr {
  border: none;
  height: 1px;
  background: var(--border-color, #dee2e6);
  margin: 3rem 0;
}
.post-article .post-content dl {
  margin: 1.5rem 0;
}
.post-article .post-content dt {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}
.post-article .post-content dd {
  margin-left: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted, #6c757d);
}
.post-article .post-comments {
  border-top: 1px solid var(--border-color);
  border-bottom: solid 1px var(--border-color);
}
.post-article .post-comments .comments-section {
  background: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
}
.post-article .post-comments .comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color-light);
  margin-bottom: 3rem;
}
.post-article .post-comments .comments-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.post-article .post-comments .comments-title i {
  color: var(--secondary-color);
}
.post-article .post-comments .add-comment-section {
  background: var(--background-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: solid 2px var(--border-color);
}
.post-article .post-comments .comment-form-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.post-article .post-comments .comment-avatar {
  flex-shrink: 0;
}
.post-article .post-comments .avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}
.post-article .post-comments .comment-user-info {
  display: flex;
  flex-direction: column;
}
.post-article .post-comments .comment-username {
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.875rem;
}
.post-article .post-comments .comment-user-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.post-article .post-comments .comment-input-wrapper {
  width: 100%;
}
.post-article .post-comments .comment-textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  resize: vertical;
  background: var(--background-color);
  color: var(--text-color);
  min-height: 100px;
}
.post-article .post-comments .comment-textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(var(--secondary-color), 0.1);
}
.post-article .post-comments .comment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  border-top: 1px solid var(--border-color-light);
}
.post-article .post-comments .comment-tools {
  display: flex;
  gap: 0.5rem;
}
.post-article .post-comments .tool-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.post-article .post-comments .tool-btn:hover {
  background: var(--background-muted);
  color: var(--text-color);
}
.post-article .post-comments .comment-submit {
  display: flex;
  gap: 0.75rem;
}
.post-article .post-comments .btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.post-article .post-comments .comment-item {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  border-bottom: 1px solid var(--border-color-light);
}
.post-article .post-comments .comment-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.post-article .post-comments .comment-content {
  flex: 1;
}
.post-article .post-comments .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.post-article .post-comments .comment-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.post-article .post-comments .author-name {
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.875rem;
}
.post-article .post-comments .comment-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.post-article .post-comments .comment-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.post-article .post-comments .comment-text {
  margin-bottom: 1rem;
  line-height: 1.6;
}
.post-article .post-comments .comment-text p {
  margin: 0;
  color: var(--text-color);
  font-size: 0.875rem;
}
.post-article .post-comments .comment-login-prompt {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--background-light);
  border-radius: var(--border-radius);
  margin-top: 2rem;
}
.post-article .post-comments .comment-login-prompt .login-prompt-content {
  max-width: 400px;
  margin: 0 auto;
}
.post-article .post-comments .comment-login-prompt .login-prompt-content h4 {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}
.post-article .post-comments .comment-login-prompt .login-prompt-content p {
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.post-article .post-footer {
  padding: 2rem;
  border-top: 1px solid var(--border-color-light, #f1f3f4);
}
.post-article .post-footer .post-share {
  margin-bottom: 2rem;
}
.post-article .post-footer .post-share h4 {
  margin-bottom: 1rem;
  color: var(--text-color);
}
.post-article .post-footer .share-buttons {
  display: flex;
  gap: 1rem;
}
.post-article .post-footer .share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease;
}
.post-article .post-footer .share-btn:hover {
  transform: translateY(-2px);
}
.post-article .post-footer .share-btn.twitter {
  background: #1da1f2;
}
.post-article .post-footer .share-btn.facebook {
  background: #1877f2;
}
.post-article .post-footer .share-btn.linkedin {
  background: #0077b5;
}
.post-article .post-footer .share-btn.copy-link {
  background: var(--text-muted, #6c757d);
  border: none;
  cursor: pointer;
}

/* Author Bio Section */
.sidebar .author-bio {
  text-align: center;
}
.sidebar .author-bio .author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}
.sidebar .author-bio .author-bio-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}
.sidebar .author-bio .author-bio-name a {
  color: var(--primary-color);
  text-decoration: none;
}
.sidebar .author-bio .author-bio-name a:hover {
  color: var(--secondary-color);
}
.sidebar .author-bio .author-bio-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted, #6c757d);
  margin-bottom: 1rem;
}
.sidebar .author-bio .author-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.sidebar .author-bio .social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--background-light, #f8f9fa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #6c757d);
  text-decoration: none;
  transition: all 0.3s ease;
}
.sidebar .author-bio .social-link:hover {
  background: var(--secondary-color);
  color: white;
}

/* Related Posts */
.related-posts {
  border-top: 1px solid var(--border-color-light, #f1f3f4);
}
.related-posts h3 {
  margin-bottom: 1.5rem;
  color: var(--text-color);
}
.related-posts .related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.related-posts .related-post-card {
  border: 1px solid var(--border-color, #dee2e6);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related-posts .related-post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}
.related-posts .related-post-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.related-posts .related-post-content {
  padding: 1rem;
}
.related-posts .related-post-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}
.related-posts .related-post-title:hover {
  color: var(--secondary-color);
}
.related-posts .related-post-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted, #6c757d);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.related-posts .related-post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted, #6c757d);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .post-article .post-title {
    font-size: 2rem;
  }
  .post-article .post-header-content,
  .post-article .post-content,
  .post-article .post-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .post-article .post-content h1 {
    font-size: 2rem;
  }
  .post-article .post-content h2 {
    font-size: 1.75rem;
  }
  .post-article .post-content h3 {
    font-size: 1.5rem;
  }
  .post-article .post-comments .comments-section {
    padding: 1.5rem;
  }
  .post-article .post-comments .comments-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .post-article .post-comments .comments-title {
    font-size: 1.25rem;
  }
  .post-article .post-comments .add-comment-section {
    padding: 1rem;
  }
  .post-article .post-comments .comment-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .post-article .post-comments .comment-submit {
    width: 100%;
    justify-content: flex-end;
  }
  .post-article .post-comments .comment-item {
    gap: 0.75rem;
  }
  .post-article .post-footer .share-buttons {
    justify-content: center;
  }
  .post-article .post-meta-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .related-posts {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .related-posts .related-posts-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .post-article .post-featured-image {
    height: 250px;
  }
  .post-article .post-title {
    font-size: 1.75rem;
  }
  .post-article .post-content {
    font-size: 1rem;
  }
  .post-article .post-content h1 {
    font-size: 1.75rem;
  }
  .post-article .post-content h2 {
    font-size: 1.5rem;
  }
  .post-article .post-content h3 {
    font-size: 1.25rem;
  }
  .post-article .post-comments .comments-section {
    padding: 1rem;
  }
  .post-article .post-comments .comment-form-header {
    gap: 0.75rem;
  }
  .post-article .post-comments .avatar-img {
    width: 32px;
    height: 32px;
  }
  .post-article .post-comments .comment-textarea {
    font-size: 0.8rem;
    padding: 0.75rem;
  }
  .post-article .post-comments .comment-tools {
    gap: 0.25rem;
  }
  .post-article .post-comments .tool-btn {
    padding: 0.375rem;
    font-size: 0.8rem;
  }
  .post-article .post-comments .comment-submit {
    gap: 0.5rem;
  }
  .post-article .post-comments .btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }
  .post-article .post-comments .comment-item {
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
}
/* Tag Header */
.tag-header {
  background-color: var(--secondary-color);
  color: white;
  padding: 3rem 0;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}
.tag-header .tag-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}
.tag-header .tag-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.tag-header .tag-title i {
  font-size: 2rem;
}
.tag-header .tag-description {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.tag-header .tag-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1rem;
  opacity: 0.8;
}
.tag-header .post-count {
  font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .tag-header {
    padding: 2rem 0;
    margin-bottom: 1.5rem;
  }
  .tag-header .tag-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  .tag-header .tag-title i {
    font-size: 1.5rem;
  }
  .tag-header .tag-description {
    font-size: 1rem;
  }
  .tag-header .tag-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}
@media (max-width: 480px) {
  .tag-title {
    font-size: 1.75rem;
  }
  .tag-title .tag-description {
    font-size: 0.9rem;
  }
}
/* Category Header */
.category-header {
  background: var(--primary-color);
  color: white;
  padding: 3rem 0;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}
.category-header .category-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}
.category-header .category-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.category-header .category-title i {
  font-size: 2rem;
}
.category-header .category-description {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.category-header .category-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1rem;
  opacity: 0.8;
}
.category-header .post-count {
  font-weight: 600;
}

@media (max-width: 768px) {
  .category-header {
    padding: 2rem 0;
    margin-bottom: 1.5rem;
  }
  .category-header .category-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  .category-header .category-title i {
    font-size: 1.5rem;
  }
  .category-header .category-description {
    font-size: 1rem;
  }
  .category-header .category-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}
@media (max-width: 480px) {
  .category-header .category-title {
    font-size: 1.75rem;
  }
  .category-header .category-description {
    font-size: 0.9rem;
  }
}
.profile-header {
  background: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1rem;
  margin-bottom: 2rem;
}
.profile-header .author-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1200px;
}
.profile-header .author-details-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}
.profile-header .author-avatar-large {
  flex-shrink: 0;
  align-self: center;
}
.profile-header .author-avatar-large img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--border-color);
}
.profile-header .author-details .author-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 0.5rem 0;
}
.profile-header .author-details .author-title {
  font-size: 1.125rem;
  color: var(--secondary-color);
  font-weight: 500;
  margin: 0 0 1rem 0;
}
.profile-header .author-details .author-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}
.profile-header .author-details .author-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.profile-header .author-details .author-stat i {
  color: var(--secondary-color);
}
.profile-header .author-details .author-bio {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  opacity: 0.8;
}
.profile-header .author-contact-container {
  min-width: 300px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.profile-header .author-contact-container h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 1rem 0;
  background: var(--background-light, #f8f9fa);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color, #dee2e6);
}
.profile-header .author-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem 1.5rem;
}
.profile-header .contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: var(--text-color);
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  font-size: 0.875rem;
}
.profile-header .contact-link i {
  font-size: 1rem;
  width: 16px;
  text-align: center;
}
.profile-header .contact-link:hover {
  background: var(--background-light);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
  .profile-header .author-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .profile-header .author-details .author-name {
    font-size: 1.75rem;
  }
  .profile-header .author-details .author-meta {
    gap: 1rem;
  }
  .profile-header .author-contact {
    gap: 0.5rem;
  }
  .profile-header .contact-link {
    padding: 0.5rem;
    font-size: 0.875rem;
  }
}
@media (max-width: 480px) {
  .profile-header .author-details-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .profile-header .author-details {
    text-align: center;
    margin: 0 auto;
  }
  .profile-header .author-details .author-name {
    font-size: 1.5rem;
  }
  .profile-header .author-details .author-meta {
    justify-content: center;
    gap: 0.5rem;
  }
  .profile-header .author-contact-container {
    min-width: auto;
  }
  .profile-header .contact-link {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
}
.error-404-container {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}
.error-404-container .error-404-content {
  text-align: center;
  max-width: 600px;
  padding: 0 1rem;
}
.error-404-container .error-number {
  font-size: 8rem;
  font-weight: 900;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.3;
}
.error-404-container .error-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}
.error-404-container .error-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .error-404-container .error-number {
    font-size: 6rem;
  }
  .error-404-container .error-title {
    font-size: 2rem;
  }
  .error-404-container .error-description {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .error-404-container {
    min-height: 60vh;
    padding: 1rem 0;
  }
  .error-404-container .error-number {
    font-size: 4rem;
  }
  .error-404-container .error-title {
    font-size: 1.75rem;
  }
}

/*# sourceMappingURL=style.css.map */
