body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  text-align: left;
  background-color: #17202a;
}
.bg-light {
  background-color: #17202a !important;
}
.navbar-light .navbar-nav .nav-link {
  color: #ffffff !important;
}

#nprogress .bar {
  height: 4px !important;
}

.ql-editor {
  min-height: 300px;
}

.featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

/**
 * card 
 */

.flip {
  position: relative;
}
.flip > .front,
.flip > .back {
  display: block;
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-duration: 0.5s;
  transition-property: transform, opacity;
}
.flip > .front {
  transform: rotateY(0deg);
}
.flip > .back {
  position: absolute;
  opacity: 0;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  transform: rotateY(-180deg);
}
.flip:hover > .front {
  transform: rotateY(180deg);
}
.flip:hover > .back {
  opacity: 1;
  transform: rotateY(0deg);
}
.flip.flip-vertical > .back {
  transform: rotateX(-180deg);
}
.flip.flip-vertical:hover > .front {
  transform: rotateX(180deg);
}
.flip.flip-vertical:hover > .back {
  transform: rotateX(0deg);
}
.flip {
  position: relative;
  display: inline-block;
  margin-right: 2px;
  margin-bottom: 1em;
  width: 100%;
  /*width: 400px;*/
}
.flip > .front,
.flip > .back {
  display: block;
  color: white;
  width: inherit;
  background-size: cover !important;
  background-position: center !important;
  height: 220px;
  padding: 1em 2em;
  background: #313131;
  border-radius: 10px;
}
.flip > .front p,
.flip > .back p {
  font-size: 0.9125rem;
  line-height: 160%;
  color: #999;
}
.text-shadow {
  text-shadow: 1px 1px rgba(0, 0, 0, 0.04), 2px 2px rgba(0, 0, 0, 0.04),
    3px 3px rgba(0, 0, 0, 0.04), 4px 4px rgba(0, 0, 0, 0.04),
    0.125rem 0.125rem rgba(0, 0, 0, 0.04), 6px 6px rgba(0, 0, 0, 0.04),
    7px 7px rgba(0, 0, 0, 0.04), 8px 8px rgba(0, 0, 0, 0.04),
    9px 9px rgba(0, 0, 0, 0.04), 0.3125rem 0.3125rem rgba(0, 0, 0, 0.04),
    11px 11px rgba(0, 0, 0, 0.04), 12px 12px rgba(0, 0, 0, 0.04),
    13px 13px rgba(0, 0, 0, 0.04), 14px 14px rgba(0, 0, 0, 0.04),
    0.625rem 0.625rem rgba(0, 0, 0, 0.04), 16px 16px rgba(0, 0, 0, 0.04),
    17px 17px rgba(0, 0, 0, 0.04), 18px 18px rgba(0, 0, 0, 0.04),
    19px 19px rgba(0, 0, 0, 0.04), 1.25rem 1.25rem rgba(0, 0, 0, 0.04);
}

/* Header styles moved from styled-jsx to global CSS */
.navbar-outer {
  width: 100%;
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 1rem;
}

.navbar-floating {
  border-radius: 20px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 1200px;
  width: 100%;
  min-width: 320px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  background: rgba(13, 17, 23, 0.8) !important;
}

.navbar-shrink {
  padding: 0.5rem 1rem !important;
  max-width: 900px !important;
  border-radius: 25px !important;
}

.navbar-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.navbar-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  border: 2px solid rgba(0, 123, 255, 0.2);
  transition: all 0.3s ease;
  object-fit: cover;
}

.navbar-logo-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.navbar-logo-img-shrink {
  width: 32px;
  height: 32px;
}

.navbar-search {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.navbar-navwrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-link-custom {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.95rem;
  border-radius: 10px;
  margin: 0 0.25rem;
}

.nav-link-custom:hover {
  color: #fff !important;
  background: rgba(0, 123, 255, 0.15);
  transform: translateY(-1px);
}

.write-blog-btn {
  padding: 0.5rem 1.5rem;
  margin: 0 0.5rem;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff !important;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.write-blog-btn:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.navbar-toggler {
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 20px;
  height: 20px;
}

.navbar-collapse {
  justify-content: flex-end;
}

.navbar-nav {
  align-items: center;
  gap: 0.5rem;
}

.search-container {
  position: relative;
  width: 100%;
  max-width: 350px;
}

.mobile-search {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991.98px) {
  .navbar-floating {
    width: 95%;
    max-width: none;
    margin: 0 auto;
  }
}

@media (max-width: 991.98px) {
  .navbar-grid {
    grid-template-columns: auto auto;
    gap: 1rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-search {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .navbar-outer {
    padding: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .navbar-floating {
    padding: 0.5rem 1rem;
    border-radius: 15px;
  }
}

@media (max-width: 767.98px) {
  .navbar-grid {
    gap: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .navbar-logo-img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 767.98px) {
  .nav-link-custom {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .write-blog-btn {
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0;
  }
}

@media (max-width: 767.98px) {
  .navbar-nav {
    gap: 0;
    margin-top: 0.5rem;
  }
}

@media (max-width: 576px) {
  .navbar-floating {
    width: 98%;
    padding: 0.5rem;
  }
}

@media (max-width: 576px) {
  .navbar-logo-img {
    width: 28px;
    height: 28px;
  }
}
