:root {
  --color-white: #fff;
  --color-black: #000;
  --color-light-gray: #ddd;
  --color-gray: #666;
  --color-body-bg: #f3f2ef;
  --color-blue: #0a66c2;
  --color-gray-secondary: #6c757d;
  --color-bg-light: #f3f3f3;
  --color-border-gray: #d3d3d3;
  --color-gray-dark: #333;
  --color-hover: #e4e6eb;
  --navbar-height: 54px;
}
.navbar {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-light-gray);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: var(--navbar-height);
  padding: 6px 0;
}

.navbar-item {
  color: var(--color-gray);
  text-decoration: none;
  font-size: 14px;
  position: relative;
  transition: color 0.2s ease-in-out;
}
.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  text-decoration: none;
  font-size: 12px;
  position: relative;
  transition: color 0.2s ease-in-out;
}

.navbar-logo {
  width: 35px;
  height: 35px;
}

.navbar a.active::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-black);
}
.nav-separator {
  height: 40px;
}
.search-box {
  position: relative;
  min-width: 280px;
  width: 100%;
  display: flex;
  align-items: center;
  border-radius: 4px;
}

.search-box input {
  padding-left: 40px;
  border-radius: 50px;
  font-size: 14px;
}
.card-header {
  padding: 0;
}
.card-header img {
  width: 100%;
  height: 60px;
  display: block;
  object-fit: cover;
}
.post-create {
  padding: 8px 12px;
}
.post-actions {
  padding: 6px 0;
  gap: 15px;
}
.card-header-main {
  border-bottom: 1px solid var(--color-light-gray);
  padding-bottom: 5px;
  margin-bottom: 5px;
  background-color: var(--color-white);
}

.card-footer-main {
  border-top: 1px solid var(--color-light-gray);
  padding-top: 5px;
  margin-top: 5px;
}
.featured-title {
  margin-bottom: 2px;
}

body {
  margin-top: calc(var(--navbar-height) + 20px);
  background-color: var(--color-body-bg);
}

.card-body ul li:hover {
  background-color: var(--color-body-bg);
  cursor: pointer;
}

.card-body ul li {
  padding: 6px 8px;
  border-radius: 6px;
}

.card-body ul li p {
  margin-bottom: 0;
  color: var(--color-gray);
  font-size: 13px;
}

.card-body ul li a {
  font-size: 14px;
}

.profile-card .profile-count {
  color: var(--color-blue);
}

.profile-card .profile-link {
  font-size: 14px;
  color: var(--color-black);
  text-decoration: none;
}

.profile-card .profile-link:hover {
  text-decoration: underline;
}

.links-card .link-item a {
  color: var(--color-gray-dark);
  text-decoration: none;
  font-size: 14px;
}

.links-card .link-item a:hover {
  text-decoration: underline;
}

.post-input {
  border: 1px solid var(--color-border-gray);
  border-radius: 25px;
  padding: 10px 16px;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.post-input:hover {
  background-color: var(--color-body-bg);
}

.post-actions .item {
  padding: 8px 12px;
  border-radius: 8px;
  transition: 0.2s ease;
  cursor: pointer;
}

.post-actions .item:hover {
  background-color: var(--color-bg-light);
}

.user-name {
  color: var(--color-black);
  text-decoration: none;
}

.user-name:hover {
  color: var(--color-blue);
  text-decoration: underline;
}

.dots-btn,
.close-btn {
  width: 15px;
  height: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.dots-btn {
  background-image: url("img/dots.png");
}

.close-btn {
  background-image: url("img/close.png");
}

.dots-btn:hover,
.close-btn:hover {
  opacity: 1;
}

.dots-close-wrapper {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.post {
  width: 100%;
  height: 300px;
}

.like-comment-section a {
  color: var(--color-gray-secondary);
  text-decoration: none;
}

.like-comment-section a:hover {
  text-decoration: underline;
  color: var(--color-blue);
}

.card-footer-main {
  background-color: var(--color-white);
}

footer {
  font-size: small;
  background: var(--color-white);
}

footer .nav-link {
  align-items: flex-start;
}
footer .nav-item-last .nav-link {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}
footer a:hover {
  text-decoration: underline;
  color: var(--color-blue);
}

.card-footer a {
  color: var(--color-gray-secondary);
  text-decoration: none;
  margin-right: 10px;
}

.card-footer a:hover {
  text-decoration: underline;
  color: var(--color-blue);
}

.language-selector-btn {
  background: none;
  border: 1px solid var(--color-border-gray);
  color: var(--color-gray-dark);
  transition: all 0.2s ease;
}

.language-selector-btn:hover {
  background-color: var(--color-hover);
  color: var(--color-black);
  border-color: var(--color-gray);
}

.btn-news-end {
  background: none;
  border: none;
  box-shadow: none;
}
