/* stylelint-disable selector-list-comma-newline-after */

.blog-header {
  border-bottom: 1px solid #e5e5e5;
}

.sticky-site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #f8f9fa;
}

.blog-header-logo {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif/*rtl:Amiri, Georgia, "Times New Roman", serif*/;
  font-size: 2.25rem;
}

.blog-header-logo:hover {
  text-decoration: none;
}

.header-logo-column {
  padding-left: 0;
}

.header-logo-link {
  display: block;
}

.header-logo {
  display: block;
  width: 85%;
  max-width: 100%;
  height: auto;
}

.category-nav {
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.navbar {
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 24px;
  padding-right: 24px;
}

.category-nav-label,
.category-link {
  margin: 0.25rem 0.5rem;
}

.category-link {
  font-weight: bold;
}

.category-sidebar-list {
  text-align: center;
}

.category-sidebar-card h4 {
  text-align: center;
}

.category-sidebar-card .card-body .row {
  justify-content: center;
}

.category-sidebar-card .card-body .col-sm-6 {
  width: 100%;
}

.category-sidebar-card .category-sidebar-list {
  width: 100%;
}

.follow-us-card h4,
.follow-us-card ol {
  text-align: center;
}

.follow-us-card ol {
  margin-bottom: 0;
}

.about-sidebar-heading {
  text-align: center;
}

.about-sidebar-description {
  text-align: left;
}

.pagination {
  flex-wrap: wrap;
}

.responsive-form {
  width: min(500px, 100%);
  margin: 0 auto;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 2rem;
  background: #ffc107;
  color: #212529;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.2);
}

.sky-blue-button {
  border-color: #87ceeb;
  background-color: #87ceeb;
  color: #123047;
}

.sky-blue-button:hover,
.sky-blue-button:focus {
  border-color: #5eb8df;
  background-color: #5eb8df;
  color: #123047;
}

.sky-blue-button:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(135, 206, 235, 0.45);
}

.blog-detail-sidebar {
  display: flex;
  flex-direction: column;
}

.blog-detail-content p.line-spacing-single,
.blog-detail-content p.line-spacing-1-15,
.blog-detail-content p.line-spacing-1-5,
.blog-detail-content p.line-spacing-double {
  margin-top: 0;
  margin-bottom: 1rem;
}

.blog-detail-content p.line-spacing-single {
  line-height: 1;
}

.blog-detail-content p.line-spacing-1-15 {
  line-height: 1.15;
}

.blog-detail-content p.line-spacing-1-5 {
  line-height: 1.5;
}

.blog-detail-content p.line-spacing-double {
  line-height: 2;
}

.back-to-top i {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 24px;
}

.back-to-top:hover,
.back-to-top:focus {
  background: #e0a800;
  color: #212529;
  text-decoration: none;
}

.back-to-top:focus-visible {
  outline: 0.2rem solid rgba(13, 110, 253, 0.5);
  outline-offset: 0.15rem;
}

.auth-page {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem 4rem;
  background: linear-gradient(135deg, #f8f6fb 0%, #fff8e8 100%);
}

.auth-card {
  width: min(100%, 540px);
  padding: 2.5rem clamp(1.25rem, 5vw, 3rem);
  border: 1px solid rgba(128, 0, 128, 0.12);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(55, 35, 75, 0.12);
  text-align: left;
}

.auth-brand {
  text-align: center;
}

.auth-brand img {
  width: min(70%, 240px);
  height: auto;
}

.auth-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  margin: 1.5rem auto 1rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(128, 0, 128, 0.1);
  color: #800080;
  font-size: 1.35rem;
}

.auth-title {
  margin-bottom: 0.5rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  text-align: center;
}

.auth-subtitle {
  margin: 0 auto 1.75rem;
  color: #6c757d;
  text-align: center;
}

.auth-form .form-group {
  margin-bottom: 1.1rem;
}

.auth-form {
  width: min(100%, 380px);
  margin-right: auto;
  margin-left: auto;
}

.auth-form input {
  box-sizing: border-box;
  min-height: 2.75rem;
  width: 100%;
}

.auth-form input[name="username"],
.auth-form input[name="password"],
.auth-form input[name="password1"],
.auth-form input[name="password2"] {
  width: 100%;
}

.auth-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.7rem 1rem;
  font-weight: 600;
}

.login-submit {
  display: block;
  width: auto;
  margin-right: auto;
  margin-left: auto;
}

.auth-switch {
  margin: 1.5rem 0 0;
  color: #6c757d;
  text-align: center;
}

.auth-switch a {
  color: #800080;
  font-weight: 600;
}

.login-page-body {
  background: #2850c7;
}

.login-page-body > .container {
  width: 100%;
  max-width: none;
  padding: 0;
  background: transparent;
}

.login-page-body .blog-header,
.login-page-body footer {
  display: none;
}

.login-design-page {
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  place-items: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(ellipse at 8% 100%, rgba(20, 57, 174, 0.85) 0 22%, transparent 23%),
    radial-gradient(ellipse at 90% 18%, rgba(55, 87, 202, 0.75) 0 28%, transparent 29%),
    linear-gradient(135deg, #2d54c9 0%, #2449bd 100%);
}

.login-design-panel {
  width: min(100%, 430px);
  padding: 2.25rem 2rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1.5rem 3rem rgba(11, 29, 100, 0.28);
  backdrop-filter: blur(10px);
  text-align: center;
}

.login-design-mark {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 3.5rem;
}

.login-design-brand img {
  display: block;
  width: min(72%, 220px);
  height: auto;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 1.25rem;
}

.login-design-title,
.login-design-subtitle {
  color: #fff;
}

.login-design-title {
  margin-bottom: 0.35rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.login-design-subtitle {
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.login-design-form {
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.login-design-form label {
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
}

.login-design-form .input-group-text,
.login-design-form input {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.96);
  color: #212529;
  box-shadow: none;
}

.login-design-form .input-group-text {
  width: 3.25rem;
  justify-content: center;
  color: #2850c7;
}

.login-design-form input {
  width: 1%;
}

.login-design-form input::placeholder {
  color: #6c757d;
}

.login-design-form input:focus {
  border-color: #fff;
  background: #fff;
  color: #212529;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.login-design-form .invalid-feedback,
.login-design-form .text-danger,
.login-design-form .errorlist {
  color: #ffd9d9;
  font-size: 0.85rem;
}

.login-design-submit {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 0.5rem;
  background: #fff;
  color: #2850c7;
  font-weight: 700;
  box-shadow: 0 0.35rem 0.5rem rgba(10, 31, 105, 0.35);
}

.login-design-submit:hover,
.login-design-submit:focus {
  background: #f0f3ff;
  color: #1e3e9f;
}

.login-design-alert {
  margin-bottom: 1.25rem;
  text-align: left;
  font-size: 0.9rem;
}

.login-design-switch {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.login-design-switch a {
  color: #fff;
  font-weight: 700;
}

.dashboard-posts-table {
  text-align: left;
}

.dashboard-users-table {
  text-align: left;
}

.dashboard-categories-table {
  text-align: left;
}

.dashboard-sidebar-menu {
  text-align: left;
  font-weight: 700;
}

.dashboard-summary-heading {
  font-weight: 700;
}

.dashboard-page-heading {
  font-weight: 700;
}

.dashboard-section-rule {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-detail-page {
  text-align: left;
}

.blog-detail-content {
  text-align: left;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif/*rtl:Amiri, Georgia, "Times New Roman", serif*/;
}

.recent-posts-heading {
  color: #800080;
  font-family: "Poppins", sans-serif;
}

.featured-posts-heading {
  color: olive;
  font-family: "Poppins", sans-serif;
}

.category-page-heading {
  color: rgb(136, 0, 21);
  font-family: "Poppins", sans-serif;
}

.display-4 {
  font-size: 2.5rem;
}
@media (min-width: 768px) {
  .display-4 {
    font-size: 3rem;
  }
}

.flex-auto {
  flex: 0 0 auto;
}

.h-250 { height: 250px; }
@media (min-width: 768px) {
  .h-md-250 { height: 250px; }
}

/* Pagination */
.blog-pagination {
  margin-bottom: 4rem;
}

/*
 * Blog posts
 */
.blog-post {
  margin-bottom: 4rem;
}
.blog-post-title {
  font-size: 2.5rem;
}
.blog-post-meta {
  margin-bottom: 1.25rem;
  color: #727272;
}

/*
 * Footer
 */
.blog-footer {
  padding: 2.5rem 0;
  color: #727272;
  text-align: center;
  background-color: #f9f9f9;
  border-top: .05rem solid #e5e5e5;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}

.footer-logo-link {
  display: block;
  width: 100%;
}

.footer-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.footer-featured-post-link {
  text-decoration: none;
}

.footer-featured-post-link:hover,
.footer-featured-post-link:focus {
  text-decoration: none;
}

.footer-quick-link,
.footer-quick-link:hover,
.footer-quick-link:focus {
  text-decoration: none;
}

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: 3rem 1rem;
  text-align: center;
}

.error-page-card {
  width: min(100%, 680px);
  padding: 2.5rem 1.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.error-page-logo {
  width: min(70%, 260px);
  height: auto;
  margin-bottom: 1.5rem;
}

.error-page-icon {
  color: #800080;
  font-size: 3rem;
}

.error-page-code {
  margin: 0.5rem 0 0;
  color: #800080;
  font-family: "Poppins", sans-serif;
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 700;
  line-height: 1;
}

.error-page-title {
  margin-top: 1rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.error-page-message {
  max-width: 30rem;
  margin: 1rem auto 1.5rem;
}

.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 767.98px) {
  .header-main-nav {
    flex-wrap: wrap;
    padding: 0.75rem;
  }

  .header-logo-column,
  .header-search-column,
  .header-account-column {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .header-logo {
    width: min(85%, 220px);
    margin: 0 auto 0.75rem 0;
  }

  .header-account-column {
    justify-content: flex-start !important;
    margin-top: 0.75rem;
  }

  .category-nav {
    justify-content: flex-start;
    padding: 0.5rem 0.75rem;
  }

  .category-nav-label,
  .category-link {
    margin: 0.25rem 0.35rem;
  }
}
