:root {
  --color-primary: #FF3232;
  --color-text-primary: #000000;
  --color-text-secondary: #00000070;
  --color-text-muted: #00000030;
  --color-background-primary: #FFFFFF;
  --color-background-secondary: #00000005;
  --color-background-tertiary: #00000010;
  --color-border-primary: #00000010;
  --color-border-secondary: #00000020;
  --color-shadow: #00000050;
  --color-overlay-gradient: rgba(0, 0, 0, 0.5);
  --color-button-background: #00000005;
  --color-button-border: #00000010;
  --color-input-background: #00000005;
  --color-category-background: #FF3232;
  --color-category-text: #FFFFFF;
  --color-link-external: #3258FF;
}

html.dark-mode {
  --color-primary: #FF4444;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #CCCCCC;
  --color-text-muted: #888888;
  --color-background-primary: #000000;
  --color-background-secondary: #111111;
  --color-background-tertiary: #222222;
  --color-border-primary: #333333;
  --color-border-secondary: #444444;
  --color-shadow: #00000080;
  --color-overlay-gradient: rgba(0, 0, 0, 0.7);
  --color-button-background: #111111;
  --color-button-border: #333333;
  --color-input-background: #111111;
  --color-category-background: #FF4444;
  --color-category-text: #FFFFFF;
  --color-link-external: #5577FF;
}

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input, textarea, select, button {
  font-family: "Mozilla Text", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Mozilla Text", sans-serif;
  color: var(--color-text-primary);
  background-color: var(--color-background-primary);
  font-size: 14px;
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

p {
  margin-bottom: 15px;
}

strong {
  font-weight: 700;
}

.logo {
  display: flex;
}
.logo img {
  max-height: 35px;
}
.logo svg {
  max-height: 35px;
}
.logo svg .dakik {
  fill: var(--color-text-primary);
  transition: fill 0.3s ease;
}

.button {
  display: flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  gap: 5px;
  flex-shrink: 0;
}
.button--user {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border-primary);
  background: var(--color-button-background);
  color: var(--color-text-primary);
  transition: all 0.3s ease;
}
.button--user:hover {
  background: var(--color-background-tertiary);
}
.button--username {
  font-weight: 500;
}
.button--username > img {
  width: 35px;
  height: 35px;
  object-fit: cover;
  border-radius: 50%;
}
.button--date {
  font-weight: 300;
  gap: 10px;
}
.button--date::before {
  width: 2px;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 50%;
  content: "";
  display: inline-block;
}
.button--comment {
  height: 35px;
  border: 1px solid var(--color-border-primary);
  border-radius: 35px;
  padding: 0 10px;
  background: var(--color-button-background);
  transition: all 0.3s ease;
}
.button--comment:hover {
  background: var(--color-background-tertiary);
}
.button--comment i {
  font-size: 18px;
}
.button--comment span {
  color: var(--color-text-secondary);
}
.button--like {
  height: 35px;
  border: 1px solid var(--color-border-primary);
  border-radius: 35px;
  padding: 0 10px;
  background: var(--color-button-background);
  transition: all 0.3s ease;
}
.button--like:hover {
  background: var(--color-background-tertiary);
}
.button--like i {
  font-size: 18px;
}
.button--like span {
  color: var(--color-text-secondary);
}
.button--share {
  width: 35px;
  height: 35px;
  border: 1px solid var(--color-border-primary);
  border-radius: 35px;
  background: var(--color-button-background);
  transition: all 0.3s ease;
  position: relative;
}
.button--share:hover {
  background: var(--color-background-tertiary);
}
.button--share i {
  font-size: 18px;
}
.button--save {
  width: 35px;
  height: 35px;
  border: 1px solid var(--color-border-primary);
  border-radius: 35px;
  background: var(--color-button-background);
  transition: all 0.3s ease;
}
.button--save:hover {
  background: var(--color-background-tertiary);
}
.button--save i {
  font-size: 18px;
}
.button--source {
  font-size: 12px;
  padding: 5px;
  border-radius: 5px;
  background: var(--color-background-primary);
  gap: 5px;
  border: 1px solid var(--color-border-primary);
  transition: all 0.3s ease;
}
.button--source > img {
  width: 16px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
}
.button--source i {
  color: var(--color-link-external);
}
.button--category {
  font-size: 12px;
  padding: 8px 10px;
  background: var(--color-category-background);
  color: var(--color-category-text);
  border-radius: 30px;
  transition: all 0.3s ease;
}
.button--category-sub {
  font-size: 12px;
  padding: 5px 10px;
  background: var(--color-background-tertiary);
  border-radius: 30px;
  color: var(--color-text-primary);
  transition: all 0.3s ease;
}
.button--primary {
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  border: 1px solid var(--color-border-primary);
  background: var(--color-button-background);
  color: var(--color-text-primary);
  transition: all 0.3s ease;
}
.button--primary:hover {
  background: var(--color-background-tertiary);
}

.mobile-menu {
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px;
  border-radius: 25px 25px 0 0;
  background: var(--color-background-primary);
  border-top: 1px solid var(--color-border-primary);
  border-right: 1px solid var(--color-border-primary);
  border-left: 1px solid var(--color-border-primary);
  width: max-content;
  display: flex;
  gap: 5px;
  display: none;
  z-index: 101;
  box-shadow: 0 0 10px var(--color-button-border);
}
@media (max-width: 600px) {
  .mobile-menu {
    display: flex;
  }
}
.mobile-menu a {
  min-width: 40px;
  height: 40px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-primary);
  background: var(--color-button-background);
  transition: all 0.3s ease;
}
.mobile-menu a.category {
  padding: 0 20px;
}
.mobile-menu a.category > span {
  font-weight: 600;
}

.gece-gunduz {
  width: 70px;
  height: 75px;
  position: relative;
  border: none;
  background: transparent;
  cursor: pointer;
}
.gece-gunduz.active .gece-gunduz__cat--gece {
  visibility: hidden;
  opacity: 0;
  transform: translateY(5px) scale(0.9);
}
.gece-gunduz.active .gece-gunduz__cat--gunduz {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.gece-gunduz__cat {
  width: 70px;
  height: 75px;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
}
.gece-gunduz__cat--gece {
  background: url("../images/cat-gece.png") center center no-repeat;
}
.gece-gunduz__cat--gunduz {
  background: url("../images/cat-gunduz.png") center center no-repeat;
  visibility: hidden;
  opacity: 0;
  transform: translateY(5px) scale(0.9);
}

#post-loading {
  width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  border: 1px solid var(--color-border-primary);
  background: var(--color-button-background);
  color: var(--color-text-primary);
  font-weight: 300;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 30px;
  transition: all 0.3s ease;
}
#post-loading.hidden {
  display: none;
}

.dakikha {
  width: 100%;
  max-width: 940px;
  padding: 0 20px;
  display: flex;
  margin: auto;
}
@media (max-width: 600px) {
  .dakikha {
    padding: 0;
  }
}

.sidebar {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 270px;
  gap: 20px;
  padding: 20px 0;
  position: sticky;
  top: 0;
  height: 100vh;
}
@media (max-width: 600px) {
  .sidebar {
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 100;
    padding: 20px 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: all 0.3s ease;
    background: var(--color-background-primary);
  }
  .sidebar.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0%);
  }
}
.sidebar__header {
  display: flex;
  position: relative;
}
.sidebar__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 35px;
  height: 35px;
  border: 1px solid var(--color-border-primary);
  border-radius: 50%;
  background: var(--color-button-background);
  color: var(--color-text-primary);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 101;
}
@media (max-width: 600px) {
  .sidebar__close {
    display: flex;
  }
}
.sidebar__close:hover {
  background: var(--color-background-tertiary);
}
.sidebar__close i {
  font-size: 16px;
}
.sidebar__menu {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 20px;
}
.sidebar__menu-news {
  width: 100%;
  display: flex;
}
.sidebar__menu-news > ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-size: 18px;
}
.sidebar__menu-news > ul > li {
  width: 100%;
  display: flex;
}
.sidebar__menu-news > ul > li > a {
  width: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 50px;
  position: relative;
  transition: all 0.3s ease;
}
.sidebar__menu-news > ul > li > a[data-new=true]::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background-color: var(--color-primary);
  border-radius: 50%;
}
.sidebar__menu-news > ul > li > a:hover {
  background: var(--color-background-secondary);
  border: 1px solid var(--color-border-primary);
}
.sidebar__menu-news > ul > li > a img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.sidebar__menu-footer {
  display: flex;
}
.sidebar__menu-footer > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  gap: 10px;
}
@media (max-width: 600px) {
  .sidebar__menu-footer > ul {
    display: none;
  }
}
.sidebar__menu-footer > ul > li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sidebar__menu-footer > ul > li::before {
  content: "";
  width: 2px;
  height: 2px;
  background-color: var(--color-text-muted);
  border-radius: 50%;
}
.sidebar__menu-footer > ul > li:first-child::before {
  display: none;
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  border-left: 1px solid var(--color-border-primary);
  border-right: 1px solid var(--color-border-primary);
  background: var(--color-background-primary);
  transition: all 0.3s ease;
}
.container__header {
  width: 100%;
  height: 60px;
  border-bottom: 1px solid var(--color-border-primary);
  display: flex;
  gap: 10px;
  position: relative;
  padding: 0 20px 0 140px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 99;
  background: var(--color-background-primary);
  transition: all 0.3s ease;
}
@media (max-width: 600px) {
  .container__header {
    padding: 0 10px 0 70px;
  }
}
.container__header .gece-gunduz {
  position: absolute;
  left: 0px;
  top: 0px;
}
.container__search {
  display: flex;
  width: 350px;
  position: relative;
}
.container__search > input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--color-border-primary);
  border-radius: 20px;
  padding: 0 50px 0 15px;
  background: var(--color-input-background);
  color: var(--color-text-primary);
  outline: 3px solid transparent;
  transition: all 0.3s ease;
}
.container__search > input:focus {
  border-color: var(--color-primary);
  outline: 3px solid var(--color-primary);
  outline-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
}
.container__search > input::placeholder {
  color: var(--color-text-secondary);
}
.container__search > button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: color 0.3s ease;
}
.container__search > button:hover {
  color: var(--color-primary);
}

.headline {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid var(--color-border-primary);
}
@media (max-width: 600px) {
  .headline {
    padding: 20px 10px;
    gap: 10px;
  }
}
.headline__item {
  width: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  position: sticky;
  top: 20px;
  border: 1px solid var(--color-border-primary);
  transition: all 0.3s ease;
}
@media (max-width: 600px) {
  .headline__item {
    border-radius: 10px;
  }
}
.headline__item-img {
  display: flex;
  width: 100%;
}
.headline__item-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 59/38;
  object-fit: cover;
}
.headline__item-title {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, var(--color-overlay-gradient), rgba(0, 0, 0, 0));
  padding: 20px 30px;
  color: white;
  font-size: 20px;
  font-weight: 600;
  text-shadow: 1px 1px 0 var(--color-shadow);
  font-family: "Mozilla Headline", sans-serif;
}
@media (max-width: 600px) {
  .headline__item-title {
    padding: 10px;
    font-size: 16px;
  }
}
.headline__item-info {
  position: absolute;
  display: flex;
  gap: 10px;
  align-items: center;
  left: 15px;
  top: 15px;
  color: white;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3137254902);
}
@media (max-width: 600px) {
  .headline__item-info {
    left: 10px;
    top: 10px;
  }
}
.headline__item-info .button--username {
  color: white;
}
.headline__item-info .button--date::before {
  background: rgba(255, 255, 255, 0.1882352941);
}
.headline__item .button--category {
  position: absolute;
  right: 15px;
  top: 15px;
}
@media (max-width: 600px) {
  .headline__item .button--category {
    right: 10px;
    top: 10px;
  }
}

.category-title {
  width: 100%;
  height: 145px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: var(--color-background-primary);
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border-primary);
  transition: all 0.3s ease;
}
@media (max-width: 600px) {
  .category-title {
    padding: 20px 10px;
  }
}
html.dark-mode .category-title {
  background: #000000;
  color: #FFFFFF;
}
.category-title__container {
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 99;
}
.category-title__container > h1 {
  font-size: 20px;
  font-weight: 600;
  font-family: "Mozilla Headline", sans-serif;
}
.category-title__description {
  font-size: 12px;
  font-weight: 300;
  margin-top: 5px;
}
.category-title__description p:last-child {
  margin-bottom: 0;
}
.category-title__bg {
  width: auto;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  object-fit: cover;
  pointer-events: none;
}
@media (max-width: 600px) {
  .category-title__bg {
    display: none;
  }
}

.post-detail {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--color-border-primary);
  background: var(--color-background-primary);
  transition: all 0.3s ease;
}
.post-detail__desc {
  width: 100%;
  padding: 20px;
}
@media (max-width: 600px) {
  .post-detail__desc {
    padding: 20px 10px;
  }
}
.post-detail__desc > h1 {
  font-size: 20px;
  font-weight: 600;
  font-family: "Mozilla Headline", sans-serif;
  margin-bottom: 10px;
}
.post-detail__desc-texts {
  font-size: 18px;
}
.post-detail__desc-texts p:last-child {
  margin-bottom: 0;
}
.post-detail__img {
  width: 100%;
  position: relative;
  display: flex;
}
.post-detail__img > img {
  width: 100%;
  height: auto;
  aspect-ratio: 63/40;
  object-fit: cover;
  border-top: 1px solid var(--color-border-primary);
  border-bottom: 1px solid var(--color-border-primary);
}
.post-detail__img .button--source {
  position: absolute;
  right: 10px;
  top: 10px;
}
.post-detail__footer {
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 600px) {
  .post-detail__footer {
    padding: 10px;
  }
}
.post-detail__footer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-detail__footer-buttons {
  display: flex;
  gap: 10px;
}
.post-detail__content {
  font-size: 16px;
  padding: 0 20px 20px 20px;
}
@media (max-width: 600px) {
  .post-detail__content {
    padding: 0 10px 20px 10px;
  }
}
.post-detail__content h1, .post-detail__content h2, .post-detail__content h3, .post-detail__content h4, .post-detail__content h5, .post-detail__content h6 {
  font-family: "Mozilla Headline", sans-serif;
  margin-bottom: 5px;
}
.post-detail__content ul {
  padding-left: 20px;
  margin-bottom: 15px;
}
.post-detail__content ul li {
  list-style: disc;
}
.post-detail__content ol {
  padding-left: 20px;
  margin-bottom: 15px;
}
.post-detail__content ol li {
  list-style: decimal;
}
.post-detail__content a {
  text-decoration: underline;
}
.post-detail__content hr {
  border: none;
  border-top: 1px solid var(--color-border-primary);
  margin: 20px 0;
}
.post-detail__content p:last-child {
  margin-bottom: 0;
}
.post-detail__categories {
  padding: 0 20px 20px 20px;
  display: flex;
  gap: 10px;
}
@media (max-width: 600px) {
  .post-detail__categories {
    padding: 0 10px 20px 10px;
  }
}

.post-comments {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-bottom: 1px solid var(--color-border-primary);
  background: var(--color-background-primary);
  transition: all 0.3s ease;
}
.post-comments__item {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 10px;
  border: 1px solid var(--color-border-primary);
  border-bottom: none;
  background: var(--color-background-primary);
  transition: all 0.3s ease;
}
.post-comments__item:first-child {
  border-radius: 20px 20px 0 0;
}
.post-comments__item-info {
  display: flex;
  gap: 10px;
}
.post-comments__item-content p:last-child {
  margin-bottom: 0;
}
.post-comments__item-buttons {
  display: flex;
  gap: 10px;
}
.post-comments__write {
  border: 1px solid var(--color-border-primary);
  border-radius: 0 0 20px 20px;
  padding: 20px;
  background: var(--color-background-primary);
  transition: all 0.3s ease;
}
.post-comments__write > form {
  width: 100%;
  display: flex;
  position: relative;
}
.post-comments__write > form > input {
  width: 100%;
  border: 1px solid var(--color-border-primary);
  border-radius: 35px;
  padding: 10px 50px 10px 15px;
  background: var(--color-input-background);
  color: var(--color-text-primary);
  outline: 3px solid transparent;
  transition: all 0.3s ease;
}
.post-comments__write > form > input:focus {
  border-color: var(--color-primary);
  outline: 3px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
}
.post-comments__write > form > input::placeholder {
  color: var(--color-text-secondary);
}
.post-comments__write > form > button {
  display: flex;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  font-size: 24px;
  transition: color 0.3s ease;
}
.post-comments__write > form > button:hover {
  color: var(--color-primary);
}

.post-list {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.post-list > h3 {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  padding: 20px 20px 0 20px;
  font-family: "Mozilla Headline", sans-serif;
  color: var(--color-text-primary);
  text-transform: uppercase;
  opacity: 0.5;
}
@media (max-width: 600px) {
  .post-list > h3 {
    padding: 20px 10px 0 10px;
  }
}

.post {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-bottom: 1px solid var(--color-border-primary);
  background: var(--color-background-primary);
  transition: all 0.3s ease;
}
@media (max-width: 600px) {
  .post {
    padding: 20px 10px;
  }
}
.post__title {
  display: flex;
  width: 100%;
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 600;
  font-family: "Mozilla Headline", sans-serif;
  color: var(--color-text-primary);
}
.post__desc {
  margin-bottom: 10px;
  color: var(--color-text-primary);
  font-size: 16px;
}
.post__desc p:last-child {
  margin-bottom: 0;
}
.post__gallery {
  display: flex;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  border: 1px solid var(--color-border-primary);
  transition: all 0.3s ease;
}
@media (max-width: 600px) {
  .post__gallery {
    border-radius: 10px;
  }
}
.post__gallery-img {
  width: 100%;
  display: flex;
}
.post__gallery-img > img {
  width: 100%;
  height: auto;
  aspect-ratio: 63/40;
  object-fit: cover;
}
.post__gallery .button--category {
  position: absolute;
  right: 16px;
  top: 15px;
}
.post__footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.post__footer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post__footer-buttons {
  display: flex;
  gap: 10px;
}

.no-results {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
  padding: 20px;
  background: var(--color-background-primary);
  transition: all 0.3s ease;
}
.no-results__icon {
  font-size: 75px;
}
.no-results > h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0;
  font-family: "Mozilla Headline", sans-serif;
  color: var(--color-text-primary);
}
.no-results > span {
  margin-bottom: 20px;
  color: var(--color-text-secondary);
}

.share-menu {
  position: absolute;
  bottom: 50px;
  right: 5px;
  background: var(--color-background-primary);
  border: 1px solid var(--color-border-primary);
  border-radius: 16px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  min-width: 220px;
}
.share-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.share-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-text-primary);
  font-size: 14px;
}
.share-menu__item:hover {
  background: var(--color-background-secondary);
}
.share-menu__item i {
  font-size: 16px;
}

.post-gallery {
  width: calc(100% - 40px);
  margin: 0 20px 20px 20px;
}
@media (max-width: 600px) {
  .post-gallery {
    width: calc(100% - 20px);
    margin: 0 10px 20px 10px;
  }
}
.post-gallery--default {
  column-count: auto;
  column-width: 250px;
  column-gap: 10px;
}
@media (max-width: 600px) {
  .post-gallery--default {
    column-width: 150px;
    column-gap: 10px;
  }
}
.post-gallery--default .post-gallery__item {
  display: inline-block;
  width: 100%;
  margin-bottom: 5px;
  overflow: hidden;
  transition: transform 0.3s ease;
  break-inside: avoid;
}
.post-gallery--default .post-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 1px solid var(--color-border-primary);
  border-radius: 8px;
  transition: border-color 0.3s ease;
}
.post-gallery--default .post-gallery__item img:hover {
  border-color: var(--color-primary);
}
.post-gallery--vertical {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.post-gallery--vertical .post-gallery__item {
  display: block;
  width: 100%;
}
.post-gallery--vertical .post-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 1px solid var(--color-border-primary);
  border-radius: 8px;
  transition: border-color 0.3s ease;
}
.post-gallery--vertical .post-gallery__item img:hover {
  border-color: var(--color-primary);
}
.post-gallery--slider {
  position: relative;
  max-width: 628px;
}
.post-gallery--slider .post-gallery-swiper {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .post-gallery--slider .post-gallery-swiper {
    height: 180px;
  }
}
.post-gallery--slider .post-gallery-swiper .swiper-slide {
  width: auto;
  height: 100%;
  margin-right: 10px;
}
.post-gallery--slider .post-gallery-swiper .swiper-slide .post-gallery__item {
  display: block;
  height: 100%;
  width: auto;
}
.post-gallery--slider .post-gallery-swiper .swiper-slide .post-gallery__item img {
  height: 100%;
  width: auto;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--color-border-primary);
  transition: border-color 0.3s ease;
}
.post-gallery--slider .post-gallery-swiper .swiper-slide .post-gallery__item img:hover {
  border-color: var(--color-primary);
}
.post-gallery--slider .post-gallery-swiper .swiper-button-next,
.post-gallery--slider .post-gallery-swiper .swiper-button-prev {
  width: 40px;
  height: 40px;
  background: var(--color-background-primary);
  border: 1px solid var(--color-border-primary);
  border-radius: 50%;
  color: var(--color-text-primary);
  transition: all 0.3s ease;
}
.post-gallery--slider .post-gallery-swiper .swiper-button-next:after,
.post-gallery--slider .post-gallery-swiper .swiper-button-prev:after {
  font-size: 16px;
  font-weight: 700;
}
.post-gallery--slider .post-gallery-swiper .swiper-button-next:hover,
.post-gallery--slider .post-gallery-swiper .swiper-button-prev:hover {
  background: var(--color-background-secondary);
  transform: scale(1.1);
}
.post-gallery--slider .post-gallery-swiper .swiper-button-next.swiper-button-disabled,
.post-gallery--slider .post-gallery-swiper .swiper-button-prev.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.post-gallery--slider .post-gallery-swiper .swiper-button-next.swiper-button-disabled:hover,
.post-gallery--slider .post-gallery-swiper .swiper-button-prev.swiper-button-disabled:hover {
  transform: none;
}
@media (max-width: 600px) {
  .post-gallery--slider .post-gallery-swiper .swiper-button-next,
  .post-gallery--slider .post-gallery-swiper .swiper-button-prev {
    width: 35px;
    height: 35px;
  }
  .post-gallery--slider .post-gallery-swiper .swiper-button-next:after,
  .post-gallery--slider .post-gallery-swiper .swiper-button-prev:after {
    font-size: 14px;
  }
}
.post-gallery--slider .post-gallery-swiper .swiper-button-next {
  right: 10px;
}
.post-gallery--slider .post-gallery-swiper .swiper-button-prev {
  left: 10px;
}

.mfp-bg {
  background: rgba(0, 0, 0, 0.9);
}

.mfp-figure figure {
  margin: 0;
}

.mfp-img {
  max-width: 100%;
  height: auto;
}

.mfp-close {
  color: #fff;
  font-size: 24px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.mfp-close:hover {
  opacity: 1;
}

.mfp-arrow {
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.mfp-arrow:hover {
  opacity: 1;
}

.mfp-counter {
  color: #fff;
  font-size: 14px;
}

body.mfp-open {
  overflow: hidden;
}

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