@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Saira:ital,wght@0,100..900;1,100..900&display=swap");
html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #f8f9fa;
}
body,
html {
  width: 100%;
  height: 100%;
  overscroll-behavior-x: none;
  overflow-x: hidden;
}

/***********************
NAVBAR
************************/

.navbar-blog {
  background: #f7d7d9;

  padding: 18px 0;

  margin-bottom: 35px;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 32px;

  font-weight: bold;

  color: #222;

  text-decoration: none;
}

.logo:hover {
  color: #222;
}

.nav-right {
  display: flex;

  align-items: center;

  gap: 18px;
}

.profile-btn {
  width: 40px;

  height: 40px;

  border-radius: 50%;

  background: #fff;

  border: 2px solid #ddd;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 22px;

  color: #666;

  text-decoration: none;
  margin-left: 10px;
}

.category-select {
  border-radius: 30px;

  width: 180px;
}

.carousel-inner {
  padding-top: 10px;
  padding-bottom: 20px;
}

/***********************
SECTION TITLE
************************/

.section-title {
  font-size: 28px;

  font-weight: 700;

  margin-bottom: 25px;
}

/***********************
CARDS
************************/

.blog-card {
  border-radius: 18px;

  overflow: hidden;

  background: #fff;

  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);

  transition: 0.25s;
}

.blog-card:hover {
  transform: translateY(-5px);
}
.form-control:active,
.form-control:focus {
  box-shadow: none;
  outline: none;
  border: 2px solid #2578e4;
}
.blog-image {
  width: 100%;

  height: 220px;

  object-fit: cover;

  background: #ececec;
}

.blog-body {
  padding: 18px;
}

.blog-title {
  font-size: 22px;

  font-weight: bold;

  color: #222;

  text-decoration: none;
}

.blog-meta {
  color: #777;

  font-size: 14px;
}

.blog-summary {
  color: #555;

  margin-top: 10px;
}

.sidebar {
  background: #fff;

  border-radius: 15px;

  padding: 20px;

  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.sidebar ul {
  padding: 0;

  list-style: none;
}

.sidebar li {
  padding: 10px 0;

  border-bottom: 1px solid #eee;
}

.sidebar li:last-child {
  border: none;
}

.sidebar a {
  text-decoration: none;

  color: #333;
}

.sidebar a:hover {
  color: #0d6efd;
}

.search-overlay {
  display: none;

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: white;

  z-index: 9999;
}

.search-header {
  height: 65px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 0 25px;

  background: #0d6efd;

  color: white;
}

#searchFrame {
  width: 100%;

  height: calc(100% - 65px);

  border: none;
}
.search-results {
  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: #fff;

  z-index: 99999;

  display: none;

  overflow: hidden;
}

.search-header {
  height: 60px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 0 30px;

  background: #212121;

  color: white;
}

#searchContent {
  height: calc(100vh - 70px);

  overflow-y: auto;

  padding: 25px;
}

#searchContent a {
  text-decoration: none;
  color: #141414;
}

.page-item a:focus,
.page-item a:active {
  outline: none !important;
  box-shadow: none !important;
}
