/* #region TOP && HTML TAGS */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500&display=swap");

* {
  font-family: "Poppins", sans-serif;
}

:root {
  /* #region Renk Paleti */

  --color-bg-light: #ffffff;
  --color-bg-dark: #0f5a00;
  --color-bg-dark-dark: #0f4404;

  --color-light: #ffffff;
  --color-light-dark: #f3f3f3;

  --color-main: #c8102e;
  --color-main-dark: #991026;
  --color-main-last: #4595f4;
  --color-dark: #0f5a00;
  --color-dark-soft: #27282c;
  --color-dark-blur: #1e1f28;
  /* #endregion Renk Paleti */
}
/* --------------------------------------- */ /*  */ /* --------------------------------------- */
:root {
  --boomers-red: #ffffff;
}
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-bg-dark) !important;
  color: var(--color-light) !important;
}

a {
  color: var(--color-light) !important;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--color-dark);
}

h1,
.h1 {
  font-size: 2rem;
}
h2,
.h2 {
  font-size: 1.75rem;
}
h3,
.h3 {
  font-size: 1.5rem;
}
h4,
.h4 {
  font-size: 1.25rem;
}
h5,
.h5 {
  font-size: 1rem;
}
h6,
.h6 {
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  h1,
  .h1 {
    font-size: 2.5rem;
  }
  /* … */
}

/* --------------------------------------- */ /* NAV */ /* --------------------------------------- */

.nav {
  background-color: var(--color-bg-dark-dark) !important;
  height: 60px;
  margin: 0;
  padding: 10px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.navSub {
  margin-top: 3px;
}

/* --------------------------------------- */ /* TOP */ /* --------------------------------------- */

/* Taşmayı tüm sayfa genelinde engelle */
html,
body {
  overflow-x: hidden;
}

/* Flex yapıyı koruyoruz */
header .top {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  height: 180px;
  display: flex;
  flex-wrap: wrap; /* Mobilde taşmayı engeller */
  width: 100%; /* Ekrana tam oturur */
  margin: 0; /* row class'ı varsa gerekebilir */
}

/* Ortalayıcılar */
.top .logo,
.top .featured-img {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Görselleri sınırla */
.logo img,
.featured-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* --------------------------------------- */ /* FOOTER */ /* --------------------------------------- */
footer {
  text-align: center;
}
footer .slogan {
  height: 180px;
  margin-top: 3px;
}

.slogan .slogan-img {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slogan-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block; /* boşluk bırakmaması için */
}

.path-nav {
  font-size: 18px;
  background-color: var(--color-bg-dark-dark);
  padding: 10px 5px;
  border-radius: 5px;
  display: inline-block;
}

.path-nav a {
  color: #007bff;
  text-decoration: none;
  margin: 0 5px;
}
.path-nav a:hover {
  text-decoration: underline;
}

.path-nav span {
  color: #6c757d;
  margin: 0 3px;
}

/* --------------------------------------- */ /* MAIN */ /* --------------------------------------- */
.campaign-item {
  background-color: var(--color-light-dark) !important;
  color: var(--color-dark) !important;

  height: auto;
  margin-bottom: 6px;

  display: flex;
  align-items: center;
  padding: 20px 10px;
}

.campaign-item:hover {
  background-color: var(--color-light) !important;
  color: var(--color-light) !important;
}

.campaign-item .campaign-img {
  margin: 0px 10px;
}

.campaign-item .campaign-img img {
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
  display: block;
}

.separator {
  width: 1px;
  height: 30px;
  background-color: #ccc;
  margin: 0 15px;
}

.campaign-item .campaign-title {
  font-weight: 500;
  color: var(--bs-dark);
  text-transform: uppercase;

  white-space: nowrap; /* Taşmayı engeller */
  overflow: hidden; /* Taşan kısmı gizler */
  text-overflow: ellipsis; /* ... ile gösterir */
  flex: 1; /* Kalan alanı kaplar */
  min-width: 0; /* Flex içinde taşmayı engeller */
}

.campaign-item:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.campaign-item:last-child {
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

/* ------------------------------------- */

.post-heading-title,
.post-heading-description {
  background-color: var(--color-main-dark) !important;
  height: 50px;
  margin: 0;
  padding: 5px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
}
.post-heading-title {
  border-bottom: 1px solid #dadbe0;
}
/* ------------------------------------- */

.post {
  background-color: var(--color-light) !important;
  color: var(--color-light) !important;
  width: 100%;
}
.post-item {
  background-color: var(--color-light-dark) !important;
  color: var(--color-dark) !important;

  height: auto;
  /* margin: 5px; */

  border-bottom: 1px solid #000000;

  width: 100%;
}
.post-item.style-1 {
  display: flex;
  align-items: center;
  padding: 5px 8px 5px 5px;
}

.post-item:hover {
  background-color: var(--color-light) !important;
  color: var(--color-light) !important;
}
.post-item .separator {
  margin: 0 10px;
}
.post-item .content {
  display: flex;
  align-items: center;
  width: 80%;
}

.post-item .post-img {
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20%;
  margin-left: 2%;
}

.post-item .post-img img {
  /* max-width: 100%; */
  width: 80px;
  object-fit: contain;
  display: block;
}

.post-item .post-title {
  font-weight: 500;
  color: var(--bs-dark);
  text-transform: uppercase;

  /* Taşan kısmı alt satıra al */
  white-space: normal; /* satır sarma izinli */
  overflow-wrap: break-word; /* uzun kelimelerde boşluk olmasa bile kır */
  word-break: break-word; /* Firefox ve eski tarayıcılar için destek */

  /* Flex içindeyse genişlik sorunlarını önlemek için */
  flex: 1;
}

.post-item .post-title h6 {
  text-transform: uppercase;
}
.post-item .post-title p {
  font-style: italic;
  font-weight: 300;
  font-size: 12px;
  text-transform: capitalize;
}

.post-item .post-price {
  flex: 0 0 80px; /* sabit genişlik */
  font-weight: 500;
  color: var(--bs-dark);
  text-transform: uppercase;
  width: 80px;
}

/* ------------------------------------- */
/* ------------------------------------- */
/* ------------------------------------- */
/* ------------------------------------- */
.post-item.style-3 .separator:first-child {
  display: none;
}
.post-item.style-3 .post-img {
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-left: 0;
}

.post-item.style-3 .post-img img {
  /* max-width: 100%; */
  width: 100%;
  max-height: 180px;
  object-fit: cover;
}
.post-item.style-3 .content {
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid #000000;
}
