/**
 * BilgiFormu — global site stilleri (koyu tema)
 * base.css   → ortak değişkenler, layout, butonlar, rozetler
 * home.css   → ana sayfa
 * auth.css   → giriş / kayıt
 * panel.css  → admin & üye paneli
 */

/* Navbar */
.bf-navbar {
  --bf-navbar-logo-h: 4rem;
  background-color: var(--bf-surface-inset) !important;
  border-bottom: 1px solid var(--bf-border) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  padding-top: 0;
  padding-bottom: 0;
  min-height: var(--bf-navbar-logo-h);
}

.bf-navbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--bf-navbar-logo-h);
}

.bf-brand {
  display: inline-flex;
  align-items: stretch;
  gap: 0.65rem;
  padding: 0;
  margin-right: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
  align-self: stretch;
}

.bf-brand__logo {
  display: block;
  height: var(--bf-navbar-logo-h);
  width: auto;
  max-width: min(22rem, 65vw);
  object-fit: contain;
  object-position: left center;
}

.bf-brand__mark {
  display: block;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  border-radius: 8px;
}

.bf-brand__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--bf-primary) 0%, #14804a 100%);
  box-shadow: 0 4px 12px rgba(15, 81, 50, 0.4);
}

.bf-brand__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.bf-brand__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem;
  line-height: 1.15;
}

.bf-brand__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bf-text);
  letter-spacing: -0.02em;
}

.bf-brand__accent {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bf-primary-bright);
  letter-spacing: -0.02em;
}

.bf-navbar .navbar-brand {
  font-weight: 700;
  color: var(--bf-primary-bright) !important;
}

.bf-navbar .nav-link {
  color: rgba(248, 249, 250, 0.85);
}

.bf-navbar .nav-link:hover {
  color: var(--bf-primary-bright);
}

.bf-navbar .btn-link.nav-link {
  color: rgba(248, 249, 250, 0.85);
}

.bf-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.55);
}

.bf-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.bf-main-nav .nav-link.is-active,
.bf-navbar .nav-link.is-active {
  color: var(--bf-primary-bright);
  font-weight: 600;
}

.bf-nav-ask {
  font-weight: 700;
  color: var(--bf-primary-bright) !important;
  border: 1px solid var(--bf-primary);
  border-radius: var(--bf-radius-pill, 999px);
  padding: 0.35rem 0.9rem !important;
}

.bf-nav-ask:hover {
  background: rgba(15, 81, 50, 0.25);
  color: #fff !important;
}

.bf-nav-login {
  font-weight: 600;
  color: rgba(248, 249, 250, 0.92) !important;
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius-pill, 999px);
  padding: 0.35rem 0.9rem !important;
}

.bf-nav-login:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--bf-primary);
  color: #fff !important;
}

.bf-nav-user-menu {
  position: relative;
}

.bf-nav-user-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--bf-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--bf-primary-bright);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.bf-nav-user-toggle:hover,
.bf-nav-user-toggle:focus,
.bf-nav-user-menu.show .bf-nav-user-toggle {
  background: rgba(15, 81, 50, 0.28);
  border-color: var(--bf-primary);
  color: #fff;
  outline: none;
}

.bf-nav-user-toggle__icon {
  width: 1.2rem;
  height: 1.2rem;
}

.bf-nav-user-menu__panel {
  min-width: 14rem;
  margin-top: 0.45rem !important;
}

.bf-nav-user-menu__identity {
  padding: 0.65rem 0.85rem 0.55rem;
  line-height: 1.35;
}

.bf-nav-user-menu__name {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--bf-text);
}

.bf-nav-user-menu__email {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--bf-muted);
  word-break: break-all;
}

.bf-nav-user-menu__divider {
  margin: 0.25rem 0;
  border-color: var(--bf-border);
  opacity: 1;
}

.bf-nav-user-menu__logout-form {
  margin: 0;
}

.bf-nav-user-menu__logout {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.bf-nav-dropdown__menu {
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  padding: 0.35rem;
  min-width: 13rem;
}

.bf-nav-dropdown__trigger {
  display: inline-flex;
  align-items: stretch;
}

.bf-nav-dropdown__link {
  padding-right: 0.15rem !important;
}

.bf-nav-dropdown__caret {
  padding-left: 0.1rem !important;
  padding-right: 0.45rem !important;
  border: 0;
  background: transparent;
  line-height: inherit;
}

.bf-nav-dropdown__caret::after {
  margin-left: 0;
  vertical-align: 0.15em;
}

@media (min-width: 768px) {
  .bf-nav-dropdown__menu--columns {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.35rem 0.85rem;
    min-width: min(92vw, 40rem);
    max-width: 40rem;
    padding: 0.55rem 0.65rem;
  }

  .bf-nav-dropdown__menu--columns.show,
  .bf-nav-dropdown:hover > .bf-nav-dropdown__menu--columns {
    display: flex !important;
  }

  .bf-nav-dropdown__col {
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
  }

  .bf-nav-dropdown__col-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
}

.bf-nav-dropdown__item {
  color: var(--bf-text);
  border-radius: 6px;
  font-size: 0.875rem;
  padding: 0.45rem 0.75rem;
}

.bf-nav-dropdown__item:hover,
.bf-nav-dropdown__item:focus {
  background: rgba(15, 81, 50, 0.2);
  color: var(--bf-primary-bright);
}

.bf-nav-dropdown__item.is-active {
  background: rgba(15, 81, 50, 0.28);
  color: var(--bf-primary-bright);
  font-weight: 600;
}

.bf-nav-dropdown .dropdown-toggle::after {
  margin-left: 0.35rem;
  vertical-align: 0.15em;
}

.bf-nav-dropdown__caret.dropdown-toggle::after {
  margin-left: 0;
}

@media (max-width: 767.98px) {
  .bf-navbar .navbar-collapse {
    padding-bottom: 0.75rem;
  }

  .bf-nav-actions {
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.65rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .bf-nav-actions > .nav-item {
    flex: 1 1 0;
    min-width: 0;
  }

  .bf-nav-actions .nav-link.bf-nav-ask,
  .bf-nav-actions .nav-link.bf-nav-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 0.6rem 0.75rem !important;
    margin: 0;
  }

  .bf-nav-actions .bf-nav-user-menu {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .bf-nav-categories-mobile__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.75rem !important;
    border: 0;
    background: transparent;
    text-align: left;
  }

  .bf-nav-categories-mobile__toggle::after {
    flex-shrink: 0;
    margin-left: 0.75rem;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    content: "";
  }

  .bf-nav-categories-mobile__toggle:not(.collapsed)::after {
    transform: rotate(-135deg);
  }

  .bf-nav-categories-mobile__panel {
    margin: 0.15rem 0 0.35rem;
  }

  .bf-nav-categories-mobile__list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0.75rem;
    max-height: min(52vh, 22rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bf-nav-categories-mobile__list > li + li {
    margin-top: 0.1rem;
  }

  .bf-nav-sub__link {
    display: block;
    padding: 0.4rem 0.75rem !important;
    font-size: 0.9rem;
    color: rgba(248, 249, 250, 0.85);
    border-radius: 6px;
    text-decoration: none;
  }

  .bf-nav-sub__link:hover,
  .bf-nav-sub__link.is-active {
    color: var(--bf-primary-bright);
    background: rgba(15, 81, 50, 0.2);
  }

  .bf-nav-dropdown__menu {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 0.75rem;
    margin-bottom: 0.35rem;
  }

  .bf-nav-dropdown__item {
    padding-left: 0.5rem;
  }

  .bf-nav-user-menu__panel {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 0.75rem;
    margin-bottom: 0.35rem;
  }

  .bf-nav-user-menu__identity {
    padding-left: 0.5rem;
  }
}

.bf-home {
  overflow-x: clip;
}

.bf-home-feed {
  overflow-x: clip;
}

/* Content-first home */
.bf-home-top {
  padding: 2.25rem 0 1.75rem;
  background: var(--bf-bg);
  border-bottom: 1px solid var(--bf-border);
}

.bf-home-top__panel {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.bf-home-top__brand {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bf-primary-bright);
}

.bf-home-top__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  line-height: 1.3;
  color: var(--bf-text);
}

.bf-home-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.45rem 0.45rem 0.85rem;
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bf-home-search:focus-within {
  border-color: rgba(46, 204, 138, 0.5);
  box-shadow: 0 8px 32px rgba(15, 81, 50, 0.25);
}

.bf-home-search__icon {
  display: flex;
  color: var(--bf-muted);
  flex-shrink: 0;
}

.bf-home-search__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.bf-home-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0.55rem 0;
  font-size: 0.95rem;
}

.bf-home-search__input:focus {
  border: none;
  box-shadow: none;
  background: transparent;
}

.bf-home-search__btn {
  flex-shrink: 0;
  border-radius: 10px;
  padding: 0.5rem 1.15rem;
}

.bf-home-top__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.bf-home-top__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.bf-home-top__chip {
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bf-muted);
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 999px;
}

.bf-home-top__ask {
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
}

.bf-home-cat-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 0;
  background: rgba(11, 19, 43, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bf-border);
}

.bf-home-cat-nav__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.bf-home-cat-pill {
  flex-shrink: 0;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bf-muted);
  text-decoration: none;
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bf-home-cat-pill:hover,
.bf-home-cat-pill.is-active {
  color: var(--bf-text);
  background: rgba(15, 81, 50, 0.35);
  border-color: rgba(46, 204, 138, 0.4);
}

.bf-home-cat-pill--hurafe:hover { border-color: #d90429; background: rgba(217, 4, 41, 0.2); }
.bf-home-cat-pill--sosyal:hover { border-color: #5eead4; background: rgba(94, 234, 212, 0.15); }
.bf-home-cat-pill--aile:hover { border-color: #db2777; background: rgba(219, 39, 119, 0.18); }
.bf-home-cat-pill--ibadet:hover { border-color: #2ecc8a; background: rgba(15, 81, 50, 0.35); }
.bf-home-cat-pill--guncel:hover { border-color: #a78bfa; background: rgba(124, 58, 237, 0.2); }
.bf-home-cat-pill--tarih:hover { border-color: #fbbf24; background: rgba(251, 191, 36, 0.15); }
.bf-home-cat-pill--inanc:hover { border-color: #60a5fa; background: rgba(37, 99, 235, 0.2); }
.bf-home-cat-pill--hadis:hover { border-color: #818cf8; background: rgba(79, 70, 229, 0.2); }

.bf-home-categories {
  padding: 1.5rem 0 0;
}

.bf-home-cat-block {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--bf-border);
  border-left: 3px solid transparent;
  padding-left: 0.75rem;
  margin-left: -0.75rem;
}

.bf-home-cat-block:nth-child(even) {
  background: rgba(29, 45, 68, 0.12);
}

.bf-home-cat-block--hurafe { border-left-color: #d90429; }
.bf-home-cat-block--sosyal { border-left-color: #5eead4; }
.bf-home-cat-block--aile { border-left-color: #db2777; }
.bf-home-cat-block--ibadet { border-left-color: #2ecc8a; }
.bf-home-cat-block--guncel { border-left-color: #a78bfa; }
.bf-home-cat-block--tarih { border-left-color: #fbbf24; }
.bf-home-cat-block--inanc { border-left-color: #60a5fa; }
.bf-home-cat-block--hadis { border-left-color: #818cf8; }

.bf-home-cat-block__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.bf-home-cat-block__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.bf-home-cat-block__sub {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: var(--bf-muted);
}

.bf-feed-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.bf-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.bf-feed-card {
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.bf-feed-card:hover {
  border-color: rgba(46, 204, 138, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.bf-feed-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.15rem 1.2rem 1rem;
  text-decoration: none;
  color: inherit;
}

.bf-feed-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.bf-feed-card__date {
  font-size: 0.72rem;
  color: var(--bf-muted);
  white-space: nowrap;
}

.bf-feed-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.5rem;
  color: var(--bf-text);
}

.bf-feed-card__text {
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--bf-muted);
  margin: 0 0 0.85rem;
}

.bf-feed-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--bf-border);
}

.bf-feed-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bf-muted);
}

.bf-feed-card__stat svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}

.bf-home-discovery {
  padding: 2.5rem 0 3.5rem;
}

.bf-home-feed-section {
  margin-bottom: 2.5rem;
}

.bf-home-feed-section__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.bf-home-feed-section__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--bf-primary-bright);
  background: rgba(15, 81, 50, 0.3);
  flex-shrink: 0;
}

.bf-home-feed-section__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.bf-home-feed-section__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.bf-home-feed-section__sub {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  color: var(--bf-muted);
}

.bf-home-feed-section__empty {
  color: var(--bf-muted);
  font-size: 0.9rem;
  padding: 1rem 0;
}

.bf-home-discovery__all {
  margin-top: 1rem;
}

.bf-home-discovery__all-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem 1.75rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bf-sidebar) 0%, var(--bf-surface) 45%, var(--bf-primary) 100%);
  border: 1px solid rgba(46, 204, 138, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.bf-home-discovery__all-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.4rem;
}

.bf-home-discovery__all-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
  line-height: 1.55;
}

.bf-home-discovery__all-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.bf-home-empty {
  padding: 2rem 0 4rem;
}

@media (max-width: 768px) {
  .bf-home-search {
    flex-wrap: wrap;
    padding: 0.65rem;
  }

  .bf-home-search__input {
    width: 100%;
    order: 1;
  }

  .bf-home-search__icon {
    order: 0;
  }

  .bf-home-search__btn {
    width: 100%;
    order: 2;
  }

  .bf-home-feed-section__head {
    flex-wrap: wrap;
  }

  .bf-home-feed-section__head .bf-section__link {
    width: 100%;
    margin-left: 0 !important;
  }
}

/* SaaS Hero */
.bf-hero-saas {
  position: relative;
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(15, 81, 50, 0.35), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(217, 4, 41, 0.15), transparent),
    linear-gradient(180deg, var(--bf-surface-inset) 0%, var(--bf-bg) 100%);
  border-bottom: 1px solid var(--bf-border);
}

.bf-hero-saas__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .bf-hero-saas__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.bf-hero-saas__badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bf-primary-bright);
  background: rgba(15, 81, 50, 0.25);
  border: 1px solid rgba(46, 204, 138, 0.25);
  border-radius: 999px;
}

.bf-hero-saas__title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--bf-text);
  margin-bottom: 1rem;
}

.bf-hero-saas__text {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--bf-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.bf-hero-saas__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.bf-hero-saas__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: var(--bf-muted);
}

.bf-hero-saas__trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bf-hero-saas__trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bf-primary-bright);
  flex-shrink: 0;
}

.bf-hero-saas__visual {
  position: relative;
  min-height: 280px;
  padding: 1rem 0;
}

.bf-mock {
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.bf-mock--back {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 320px);
  transform: rotate(3deg);
  opacity: 0.85;
  z-index: 1;
}

.bf-mock--front {
  position: relative;
  width: min(100%, 340px);
  margin-top: 3.5rem;
  z-index: 2;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.bf-mock__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 4px;
  background: var(--bf-surface-raised);
  color: var(--bf-muted);
}

.bf-mock__title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--bf-text);
}

.bf-mock__text {
  font-size: 0.8125rem;
  color: var(--bf-muted);
  margin: 0;
  line-height: 1.5;
}

.bf-mock__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bf-border);
}

.bf-mock__pill {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--bf-muted);
  background: var(--bf-surface-raised);
  border-radius: 999px;
}

.bf-mock__pill--accent {
  color: #ff6b84;
  background: rgba(217, 4, 41, 0.2);
}

/* Stats strip */
.bf-stats {
  padding: 2rem 0;
  background: var(--bf-surface-inset);
  border-bottom: 1px solid var(--bf-border);
}

.bf-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .bf-stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bf-stat {
  text-align: center;
  padding: 0.5rem;
}

.bf-stat__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--bf-text);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.bf-stat__label {
  font-size: 0.8125rem;
  color: var(--bf-muted);
}

/* Features */
.bf-features {
  padding: 4rem 0;
}

.bf-section-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.bf-section-intro__title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bf-text);
  margin-bottom: 0.65rem;
}

.bf-section-intro__text {
  font-size: 1rem;
  color: var(--bf-muted);
  margin: 0;
  line-height: 1.6;
}

.bf-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .bf-features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bf-feature {
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.bf-feature:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  border-color: rgba(15, 81, 50, 0.5);
  transform: translateY(-2px);
}

.bf-feature__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  color: var(--bf-primary-bright);
  background: rgba(15, 81, 50, 0.3);
  border-radius: 10px;
}

.bf-feature__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.bf-feature__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--bf-text);
}

.bf-feature__text {
  font-size: 0.9rem;
  color: var(--bf-muted);
  margin: 0;
  line-height: 1.6;
}

/* Category browse */
.bf-categories {
  padding: 4rem 0;
  background: var(--bf-surface-inset);
  border-top: 1px solid var(--bf-border);
  border-bottom: 1px solid var(--bf-border);
}

.bf-categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}

.bf-category-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: var(--bf-text);
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 10px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.bf-category-card:hover {
  background: var(--bf-surface-raised);
  border-color: var(--bf-primary-bright);
  color: var(--bf-primary-bright);
  transform: translateX(2px);
}

.bf-category-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.bf-category-card__arrow {
  font-size: 1rem;
  opacity: 0.5;
  flex-shrink: 0;
}

.bf-category-card:hover .bf-category-card__arrow {
  opacity: 1;
}

/* Home sections */
.bf-section--home {
  padding: 4rem 0;
  margin-top: 0;
}

.bf-section__sub {
  font-size: 0.9rem;
  color: var(--bf-muted);
  margin: 0.25rem 0 0;
}

.bf-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bf-surface);
  border: 1px dashed var(--bf-border);
  border-radius: 14px;
}

.bf-empty-state__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--bf-text);
}

.bf-empty-state__text {
  color: var(--bf-muted);
  margin-bottom: 1.25rem;
}

/* CTA band */
.bf-cta {
  padding: 0 0 4rem;
}

.bf-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--bf-sidebar) 0%, var(--bf-surface) 45%, var(--bf-primary) 100%);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(46, 204, 138, 0.15);
}

.bf-cta__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.bf-cta__text {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 28rem;
  line-height: 1.55;
}

.bf-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bf-cta .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.bf-cta .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* Hero */
.bf-hero {
  padding: 2.5rem 0 2rem;
  margin-bottom: 1rem;
}

.bf-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--bf-text);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.bf-hero__text {
  font-size: 1.05rem;
  color: var(--bf-muted);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.bf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Section */
.bf-section {
  margin-top: 2.5rem;
}

.bf-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.bf-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--bf-text);
}

.bf-section__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bf-primary-bright);
  text-decoration: none;
}

.bf-section__link:hover {
  color: #5eead4;
}

.bf-page-head h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.bf-page-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.bf-page-head--split h1 {
  margin-bottom: 0;
}

.bf-page-head__sub {
  color: var(--bf-muted);
  font-size: 0.9rem;
}

.bf-page-head .bf-page-head__sub {
  margin: -1rem 0 1.5rem;
}

.bf-section__sub {
  color: var(--bf-muted);
  font-size: 0.9rem;
  margin: 0.35rem 0 1.25rem;
}

.bf-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bf-list-item {
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.bf-list-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.bf-list-item__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.bf-list-item__text {
  color: var(--bf-text);
  margin-bottom: 0.75rem;
}

.bf-list-item__meta {
  font-size: 0.85rem;
  color: var(--bf-muted);
}

.bf-list-item__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.bf-list-item__title a {
  color: var(--bf-text);
  text-decoration: none;
}

.bf-list-item__title a:hover {
  color: var(--bf-primary-bright);
}

.bf-load-more {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.bf-load-more__btn {
  min-width: 10rem;
}

.bf-back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bf-muted);
  text-decoration: none;
}

.bf-back-link:hover {
  color: var(--bf-primary-bright);
}

.bf-detail__meta {
  font-size: 0.85rem;
  color: var(--bf-muted);
  margin-left: auto;
}

.bf-answers {
  margin-top: 2rem;
}

.bf-answers__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bf-answer {
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.bf-answer__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.bf-answer__author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bf-primary-bright);
}

.bf-answer__meta {
  font-size: 0.8125rem;
  color: var(--bf-muted);
}

.bf-answer__body {
  line-height: 1.65;
  white-space: pre-line;
}

.bf-answer__source {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bf-primary-bright);
  text-decoration: none;
}

.bf-answer__source:hover {
  text-decoration: underline;
}

.bf-answer--pinned {
  border-color: rgba(46, 204, 138, 0.45);
  box-shadow: 0 0 0 1px rgba(46, 204, 138, 0.15);
}

.bf-badge--pinned {
  color: var(--bf-primary-bright);
  background: rgba(15, 81, 50, 0.35);
  margin-bottom: 0.35rem;
}

.bf-answer__head-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bf-answer__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--bf-border);
}

.bf-like-form {
  margin: 0;
}

.bf-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bf-muted);
  background: var(--bf-surface-raised);
  border: 1px solid var(--bf-border);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bf-like-btn:hover {
  color: var(--bf-text);
  border-color: var(--bf-primary-bright);
}

.bf-like-btn--active {
  color: var(--bf-accent);
  background: rgba(217, 4, 41, 0.15);
  border-color: rgba(217, 4, 41, 0.45);
}

.bf-like-btn__icon {
  width: 1rem;
  height: 1rem;
}

.bf-answer-form {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bf-border);
}

.bf-answer-form .bf-section__title {
  margin-bottom: 0;
}

.bf-empty--inline {
  text-align: left;
  padding: 1rem 0;
}

.bf-form {
  max-width: 640px;
}

.bf-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Filter bar */
.bf-filter {
  margin-bottom: 1.75rem;
}

.bf-filter__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.bf-filter__search {
  flex: 1 1 200px;
  min-width: 0;
}

.bf-filter__select {
  flex: 0 1 auto;
  min-width: 180px;
  max-width: 280px;
}

.bf-filter__btn {
  flex-shrink: 0;
}

.bf-empty {
  color: var(--bf-muted);
  text-align: center;
  padding: 2rem 0;
}

.bf-detail__actions {
  margin-top: 1.5rem;
}

.bf-card__answer--static {
  cursor: default;
  pointer-events: none;
}

/* Grid & cards */
.bf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.bf-card__header .bf-badge {
  color: var(--bf-primary-bright);
  background: rgba(15, 81, 50, 0.35);
  flex-shrink: 0;
}

.bf-card__header .bf-badge--hurafe {
  color: #fff;
  background: var(--bf-accent);
}

.bf-card {
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 12px;
  padding: 1.35rem 1.5rem 1.15rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.bf-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  border-color: rgba(15, 81, 50, 0.4);
}

.bf-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.bf-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.bf-card__title a {
  color: var(--bf-text);
  text-decoration: none;
}

.bf-card__title a:hover {
  color: var(--bf-primary-bright);
}

.bf-card__body {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.bf-card__label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bf-text);
  margin: 0 0 0.5rem;
}

.bf-card__text {
  font-size: 0.875rem;
  color: var(--bf-text);
  margin: 0 0 0.75rem;
  line-height: 1.55;
}

.bf-card__source {
  font-size: 0.8125rem;
  color: var(--bf-muted);
  margin: 0;
}

.bf-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bf-border);
  flex-wrap: wrap;
}

.bf-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--bf-text);
  background: var(--bf-surface-raised);
  border: 1px solid var(--bf-border);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.bf-card__btn:hover {
  background: var(--bf-surface-inset);
}

.bf-card__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.bf-card__answer {
  flex: 1;
  min-width: 140px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--bf-muted);
  text-decoration: none;
  background: var(--bf-surface-raised);
  border: 1px solid var(--bf-border);
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.bf-card__answer:hover {
  background: var(--bf-surface-inset);
  color: var(--bf-text);
}

@media (max-width: 480px) {
  .bf-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bf-card__answer {
    width: 100%;
  }
}

/* İçerik detay — sol içerik + sağ HTML sütunu */
.bf-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  width: 100%;
  max-width: var(--bf-content-max, 1200px);
  margin: 0 auto;
}

.bf-detail-shell:has(.bf-detail-sidebar) {
  grid-template-columns: minmax(0, 1fr) min(360px, 32%);
}

.bf-detail-shell__main {
  min-width: 0;
}

.bf-detail-shell__aside {
  min-width: 0;
  height: auto;
  max-height: none;
  overflow: visible;
}

.bf-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-self: start;
}

.bf-detail-widget {
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 10px;
  height: auto;
  max-height: none;
  min-height: 0;
}

.bf-detail-widget__title {
  margin: 0;
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bf-text-muted);
  border-bottom: 1px solid var(--bf-border);
  background: rgba(255, 255, 255, 0.02);
}

.bf-detail-widget__body {
  padding: 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--bf-text);
  height: auto;
  max-height: none;
  min-height: 0;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Reklam HTML'i yapıştırıldığında sabit yükseklik kesmesin */
.bf-detail-widget__body .bf-ad-slot,
.bf-detail-widget__body .bf-ad-slot--728x90,
.bf-detail-widget__body .bf-ad-slot--160x600 {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

.bf-detail-widget__body .bf-ad-slot__inner {
  line-height: inherit;
  height: auto;
  max-height: none;
  overflow: visible;
}

.bf-detail-widget__body [style*="height"],
.bf-detail-widget__body [style*="max-height"],
.bf-detail-widget__body [style*="overflow"] {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.bf-detail-widget__body > *:first-child {
  margin-top: 0;
}

.bf-detail-widget__body > *:last-child {
  margin-bottom: 0;
}

.bf-detail-widget__body iframe,
.bf-detail-widget__body embed,
.bf-detail-widget__body object {
  max-width: 100%;
}

.bf-detail-widget__body img {
  max-width: 100%;
  border-radius: 6px;
  vertical-align: middle;
}

/* width/height attribute'lı banner görselleri (160×600 vb.) — oranı CSS ile ezme */
.bf-detail-widget__body img:not([height]) {
  height: auto;
}

.bf-detail-widget__body img[width][height] {
  object-fit: cover;
  display: block;
}

.bf-detail-widget__body a:has(img[width][height]) {
  display: block;
  line-height: 0;
  max-width: 100%;
}

.bf-detail-widget__body a {
  color: var(--bf-primary-bright);
}

.bf-detail-widget__body ul,
.bf-detail-widget__body ol {
  margin: 0;
  padding-left: 1.15rem;
}

@media (max-width: 991.98px) {
  .bf-detail-shell:has(.bf-detail-sidebar) {
    grid-template-columns: minmax(0, 1fr);
  }

  .bf-detail-shell__aside {
    order: 2;
  }

  .bf-detail-shell__main {
    order: 1;
  }
}

/* Detail */
.bf-detail {
  max-width: none;
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 10px;
  padding: 2rem;
}

.bf-detail__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bf-detail__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.bf-detail__label {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.bf-detail__summary {
  font-size: 1.05rem;
  color: var(--bf-text);
  margin-bottom: 1.5rem;
}

.bf-detail__source {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--bf-muted);
}

.bf-detail__body {
  line-height: 1.7;
  white-space: pre-line;
}

.bf-detail__foot {
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid var(--bf-border);
}

/* Alert */
.bf-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.bf-alert__icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
}

.bf-alert__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.bf-alert__text {
  margin: 0;
  font-weight: 500;
}

.bf-alert--success {
  background: rgba(46, 204, 138, 0.14);
  color: #d8fbe8;
  border: 1px solid rgba(46, 204, 138, 0.5);
}

.bf-alert--success .bf-alert__icon {
  color: var(--bf-primary-bright);
}

.bf-alert--danger {
  background: rgba(217, 4, 41, 0.16);
  color: #ffd6dc;
  border: 1px solid rgba(217, 4, 41, 0.45);
}

.bf-alert--danger .bf-alert__icon {
  color: #ff8a9a;
}

.bf-alert--info {
  background: rgba(29, 45, 68, 0.92);
  color: var(--bf-text);
  border: 1px solid var(--bf-border);
}

.bf-alert--info .bf-alert__icon {
  color: var(--bf-primary-bright);
}

/* Bootstrap — karanlık uyum */
.form-control,
.form-select {
  background-color: var(--bf-surface);
  border-color: var(--bf-border);
  color: var(--bf-text);
}

.form-control::placeholder {
  color: var(--bf-muted);
}

.form-control:focus,
.form-select:focus {
  background-color: var(--bf-surface);
  border-color: var(--bf-primary-bright);
  color: var(--bf-text);
  box-shadow: 0 0 0 0.2rem rgba(15, 81, 50, 0.35);
}

.btn-outline-secondary {
  color: var(--bf-text);
  border-color: var(--bf-border);
}

.btn-outline-secondary:hover {
  background: var(--bf-surface-raised);
  border-color: var(--bf-muted);
  color: var(--bf-text);
}

.text-danger {
  color: #ff6b84 !important;
}

h1, h2, h3, h4, h5, h6,
.bf-page-head h1 {
  color: var(--bf-text);
}

/* Form focus */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-check-input:focus {
  border-color: var(--bf-primary-bright);
  box-shadow: 0 0 0 0.1rem var(--bf-bg), 0 0 0 0.25rem rgba(15, 81, 50, 0.45);
}

/* Ana sayfa — forum listesi */
.bf-home-forum {
  overflow-x: clip;
}

.bf-home-forum__toolbar {
  padding: 1.25rem 0 0.75rem;
  background: var(--bf-bg);
  border-bottom: 1px solid var(--bf-border);
}

.bf-home-forum__toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.bf-home-forum__toolbar-inner .bf-home-search {
  flex: 1 1 280px;
  min-width: 0;
  margin: 0;
}

.bf-home-search--compact {
  padding: 0.35rem 0.35rem 0.35rem 0.75rem;
  border-radius: 12px;
  box-shadow: none;
}

.bf-home-forum__toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  flex-shrink: 0;
}

.bf-home-forum__tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bf-surface-inset);
  border-bottom: 1px solid var(--bf-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.bf-home-forum__tabs-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bf-home-forum__tabs-track::-webkit-scrollbar {
  display: none;
}

.bf-home-forum__tab {
  flex: 0 0 auto;
  padding: 0.9rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bf-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.bf-home-forum__tab:hover {
  color: var(--bf-text);
  background: rgba(248, 249, 250, 0.04);
}

.bf-home-forum__tab.is-active {
  color: var(--bf-text);
  border-bottom-color: #f59e0b;
}

.bf-home-forum__content {
  padding: 0 0 1.5rem;
}

.bf-home-forum__table-wrap {
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.bf-home-forum__head,
.bf-home-forum__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.5rem 9.5rem 8.5rem;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.65rem 1.15rem;
}

.bf-home-forum__head {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bf-muted);
  background: var(--bf-surface-inset);
  border-bottom: 1px solid var(--bf-border);
}

.bf-home-forum__row {
  border-bottom: 1px solid var(--bf-border);
  transition: background 0.12s ease;
}

.bf-home-forum__row:last-child {
  border-bottom: 0;
}

.bf-home-forum__row:hover {
  background: rgba(15, 81, 50, 0.08);
}

.bf-home-forum__col--stats {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.875rem;
}

.bf-home-forum__col--last {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  font-size: 0.8125rem;
}

.bf-home-forum__col--cat {
  min-width: 0;
}

.bf-home-forum__topic {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: var(--bf-text);
  text-decoration: none;
}

.bf-home-forum__topic:hover .bf-home-forum__title {
  color: var(--bf-primary-bright);
}

.bf-home-forum__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.bf-home-forum__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--bf-primary) 0%, #14804a 100%);
}

.bf-home-forum__status {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--bf-surface);
}

.bf-home-forum__title {
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.12s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bf-home-forum__stat {
  color: #60a5fa;
}

.bf-home-forum__stat-sep {
  margin: 0 0.2rem;
  color: var(--bf-muted);
  font-weight: 400;
}

.bf-home-forum__last-user {
  font-weight: 600;
  color: var(--bf-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bf-home-forum__last-time {
  font-size: 0.72rem;
  color: var(--bf-muted);
}

.bf-home-forum__muted {
  color: var(--bf-muted);
  font-size: 0.8125rem;
}

.bf-home-forum__empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: 12px;
}

.bf-home-forum__foot {
  padding: 0 0 2.5rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .bf-home-forum__head {
    display: none;
  }

  .bf-home-forum__row {
    display: block;
    padding: 0.85rem 1rem;
  }

  .bf-home-forum__col {
    display: grid;
    grid-template-columns: minmax(5.5rem, 34%) 1fr;
    gap: 0.35rem 0.85rem;
    align-items: start;
    padding: 0.35rem 0;
    font-size: 0.8125rem;
  }

  .bf-home-forum__col::before {
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bf-muted);
  }

  .bf-home-forum__col--topic {
    display: block;
    padding-bottom: 0.65rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid var(--bf-border);
  }

  .bf-home-forum__col--topic::before {
    display: none;
  }

  .bf-home-forum__col--stats {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .bf-home-forum__toolbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .bf-home-forum__toolbar-actions {
    justify-content: space-between;
  }

  .bf-home-search__btn {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

/* Ana sayfa — kategori akordiyon */
.bf-home-cat-accordions {
  padding: 2rem 0 1.5rem;
  border-top: 1px solid var(--bf-border);
  background: rgba(11, 19, 43, 0.45);
}

.bf-home-cat-accordions__list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bf-home-cat-accordions__ad {
  margin: 0.75rem 0;
}

.bf-home-cat-acc {
  border: 1px solid var(--bf-border);
  border-radius: 0;
  overflow: hidden;
  background: var(--bf-surface);
}

.bf-home-cat-acc:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.bf-home-cat-accordions__list > .bf-home-cat-acc:last-child,
.bf-home-cat-accordions__list > .bf-home-cat-accordions__ad:last-child + .bf-home-cat-acc {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.bf-home-cat-acc__summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, #1a2238 0%, #151c30 100%);
  cursor: pointer;
  list-style: none;
  user-select: none;
  border-left: 4px solid transparent;
  transition: background 0.15s ease;
}

.bf-home-cat-acc__summary::-webkit-details-marker {
  display: none;
}

.bf-home-cat-acc__summary::marker {
  content: "";
}

.bf-home-cat-acc__summary:hover {
  background: linear-gradient(180deg, #212a45 0%, #1a2238 100%);
}

.bf-home-cat-acc.bf-home-cat-block--hurafe .bf-home-cat-acc__summary { border-left-color: #d90429; }
.bf-home-cat-acc.bf-home-cat-block--sosyal .bf-home-cat-acc__summary { border-left-color: #5eead4; }
.bf-home-cat-acc.bf-home-cat-block--aile .bf-home-cat-acc__summary { border-left-color: #db2777; }
.bf-home-cat-acc.bf-home-cat-block--ibadet .bf-home-cat-acc__summary { border-left-color: #2ecc8a; }
.bf-home-cat-acc.bf-home-cat-block--guncel .bf-home-cat-acc__summary { border-left-color: #a78bfa; }
.bf-home-cat-acc.bf-home-cat-block--tarih .bf-home-cat-acc__summary { border-left-color: #fbbf24; }
.bf-home-cat-acc.bf-home-cat-block--inanc .bf-home-cat-acc__summary { border-left-color: #60a5fa; }
.bf-home-cat-acc.bf-home-cat-block--hadis .bf-home-cat-acc__summary { border-left-color: #818cf8; }

.bf-home-cat-acc__chev {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--bf-muted);
  transition: transform 0.2s ease, color 0.15s ease;
}

.bf-home-cat-acc__chev svg {
  width: 1rem;
  height: 1rem;
}

.bf-home-cat-acc[open] .bf-home-cat-acc__chev {
  transform: rotate(180deg);
  color: var(--bf-text);
}

.bf-home-cat-acc__title {
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 700;
}

.bf-home-cat-acc__title .bf-badge {
  font-size: inherit;
}

.bf-home-cat-acc__count {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bf-muted);
  white-space: nowrap;
}

.bf-home-cat-acc__link {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bf-primary-bright);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.bf-home-cat-acc__link:hover {
  color: var(--bf-text);
  background: rgba(255, 255, 255, 0.06);
}

.bf-home-cat-acc__panel {
  border-top: 1px solid var(--bf-border);
  background: var(--bf-surface);
}

.bf-home-cat-acc__empty {
  margin: 0;
  padding: 1.35rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--bf-muted);
}

.bf-home-cat-acc .bf-home-forum__table-wrap {
  border: 0;
  border-radius: 0;
}

@media (max-width: 575.98px) {
  .bf-home-cat-acc__summary {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
  }

  .bf-home-cat-acc__title {
    flex: 1 1 calc(100% - 2rem);
    order: 1;
  }

  .bf-home-cat-acc__chev {
    order: 0;
  }

  .bf-home-cat-acc__count {
    order: 2;
    margin-left: 1.95rem;
  }

  .bf-home-cat-acc__link {
    order: 3;
    margin-left: auto;
  }
}

.bf-home-forum--compact .bf-home-forum__head,
.bf-home-forum--compact .bf-home-forum__row {
  grid-template-columns: minmax(0, 1fr) 4.75rem 6.25rem;
  gap: 0.45rem 0.65rem;
  padding: 0.5rem 0.85rem;
}

.bf-home-forum--compact.bf-home-forum--no-cat .bf-home-forum__head,
.bf-home-forum--compact.bf-home-forum--no-cat .bf-home-forum__row {
  grid-template-columns: minmax(0, 1fr) 4.75rem 6.25rem;
}

.bf-home-forum--no-cat:not(.bf-home-forum--compact) .bf-home-forum__head,
.bf-home-forum--no-cat:not(.bf-home-forum--compact) .bf-home-forum__row {
  grid-template-columns: minmax(0, 1fr) 7.5rem 9.5rem;
}

.bf-home-forum--compact .bf-home-forum__head {
  font-size: 0.62rem;
}

.bf-home-forum--compact .bf-home-forum__title {
  font-size: 0.8125rem;
  -webkit-line-clamp: 1;
}

.bf-home-forum--compact .bf-home-forum__avatar {
  width: 1.65rem;
  height: 1.65rem;
  font-size: 0.58rem;
}

.bf-home-forum--compact .bf-home-forum__col--stats {
  font-size: 0.78rem;
}

.bf-home-forum--compact .bf-home-forum__col--last {
  font-size: 0.75rem;
}

.bf-home-forum__empty--compact {
  padding: 1.25rem 1rem;
}

.bf-home-forum__empty--compact .bf-empty-state__title {
  font-size: 0.9rem;
}

.bf-home-forum__empty--compact .bf-empty-state__text {
  font-size: 0.8125rem;
  margin-bottom: 0;
}

/* Ana sayfa — sol reklam şeridi + yerleşimler */
.bf-home-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
}

.bf-home-shell.has-rail {
  grid-template-columns: 160px minmax(0, 1fr);
  padding-left: var(--bf-page-gutter);
  padding-right: var(--bf-page-gutter);
}

.bf-home-shell.has-rail .bf-home-shell__main .bf-container {
  padding-left: 0;
  padding-right: 0;
}

.bf-home-shell__rail {
  position: relative;
}

.bf-home-shell__main {
  min-width: 0;
}

.bf-home-shell__bottom-ad {
  padding-bottom: 2rem;
}

.bf-home-cat-grid__ad-span,
.bf-home-cat-accordions__ad {
  width: 100%;
}

.bf-ad-slot {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin: 1rem 0;
  overflow: hidden;
}

.bf-ad-slot__inner {
  width: 100%;
  max-width: 100%;
  line-height: 0;
}

.bf-ad-slot__inner > * {
  max-width: 100%;
}

.bf-ad-slot--728x90 {
  min-height: 90px;
  max-width: 728px;
  margin-left: auto;
  margin-right: auto;
}

.bf-ad-slot--160x600 {
  width: 160px;
  min-height: 600px;
}

.bf-home-shell__rail .bf-ad-slot--160x600 {
  position: sticky;
  top: 5.5rem;
  margin-top: 0.5rem;
}

.bf-code-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8125rem;
  line-height: 1.45;
}

@media (max-width: 1199.98px) {
  .bf-home-shell.has-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .bf-home-shell__rail {
    order: 2;
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
  }

  .bf-home-shell__main {
    order: 1;
  }

  .bf-home-shell.has-rail .bf-home-shell__main .bf-container {
    padding-left: var(--bf-page-gutter);
    padding-right: var(--bf-page-gutter);
  }

  .bf-home-shell.has-rail {
    padding-left: 0;
    padding-right: 0;
  }

  .bf-home-shell__rail .bf-ad-slot--160x600 {
    position: static;
    width: 100%;
    max-width: 728px;
    min-height: 90px;
  }
}

/* Dini olaylar */
.bf-page-head--with-action {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.bf-fieldset {
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius);
  padding: 1rem 1.25rem;
}

.bf-fieldset legend {
  float: none;
  width: auto;
  padding: 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bf-text-muted);
}

.bf-event-admin-preview {
  max-width: 320px;
  max-height: 180px;
  object-fit: cover;
  border-radius: var(--bf-radius);
  border: 1px solid var(--bf-border);
}

.bf-event-year-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.bf-event-year-filter__label {
  font-size: 0.875rem;
  color: var(--bf-text-muted);
  margin-right: 0.25rem;
}

.bf-event-year-filter__link {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--bf-text-muted);
  text-decoration: none;
  border: 1px solid var(--bf-border);
}

.bf-event-year-filter__link.is-active,
.bf-event-year-filter__link:hover {
  color: var(--bf-accent);
  border-color: var(--bf-accent);
}

.bf-event-year-group {
  margin-bottom: 2rem;
}

.bf-event-year-group__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--bf-border);
}

.bf-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

.bf-event-card {
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.bf-event-card:hover {
  border-color: var(--bf-accent);
  transform: translateY(-2px);
}

.bf-event-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.bf-event-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.bf-event-card__body {
  padding: 1rem 1.1rem 1.15rem;
}

.bf-event-card__date {
  display: block;
  font-size: 0.8125rem;
  color: var(--bf-accent);
  margin-bottom: 0.35rem;
}

.bf-event-card__title {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.bf-event-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  color: var(--bf-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bf-event-article__header {
  margin-bottom: 1.25rem;
}

.bf-event-article__date {
  display: block;
  font-size: 0.875rem;
  color: var(--bf-accent);
  margin-bottom: 0.5rem;
}

.bf-event-article__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.bf-event-article__lead {
  font-size: 1.05rem;
  color: var(--bf-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.bf-event-article__hero {
  margin: 0 0 1.5rem;
}

.bf-event-article__hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--bf-radius);
  border: 1px solid var(--bf-border);
}

.bf-event-article__content {
  font-size: 1rem;
  line-height: 1.75;
}

.bf-event-article__content p {
  margin-bottom: 1rem;
}

.bf-event-article__content h2,
.bf-event-article__content h3 {
  margin: 1.5rem 0 0.75rem;
  line-height: 1.3;
}

.bf-event-article__content blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--bf-accent);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 var(--bf-radius) var(--bf-radius) 0;
}

.bf-event-article__content blockquote p:last-child {
  margin-bottom: 0;
}

.bf-event-article__content blockquote cite {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.875rem;
  color: var(--bf-text-muted);
  font-style: normal;
}

.bf-event-figure,
.bf-event-article__content figure {
  margin: 1.5rem 0;
}

.bf-event-figure img,
.bf-event-article__content figure img {
  width: 100%;
  border-radius: var(--bf-radius);
  border: 1px solid var(--bf-border);
}

.bf-event-figure figcaption,
.bf-event-article__content figcaption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--bf-text-muted);
  text-align: center;
}

.bf-quill-editor {
  min-height: 320px;
  background: var(--bf-surface);
  border-radius: var(--bf-radius);
}

.bf-quill-editor .ql-toolbar.ql-snow,
.bf-quill-editor .ql-container.ql-snow {
  border-color: var(--bf-border);
}

.bf-quill-editor .ql-toolbar.ql-snow {
  border-top-left-radius: var(--bf-radius);
  border-top-right-radius: var(--bf-radius);
  background: var(--bf-surface-elevated);
}

.bf-quill-editor .ql-container.ql-snow {
  border-bottom-left-radius: var(--bf-radius);
  border-bottom-right-radius: var(--bf-radius);
  font-family: inherit;
  font-size: 1rem;
}

.bf-quill-editor .ql-editor {
  min-height: 280px;
  color: var(--bf-text);
}

.bf-quill-editor .ql-snow .ql-stroke {
  stroke: var(--bf-text-muted);
}

.bf-quill-editor .ql-snow .ql-fill {
  fill: var(--bf-text-muted);
}

.bf-quill-editor .ql-snow .ql-picker {
  color: var(--bf-text-muted);
}

/* Ana sayfa mockup tasarımı → wwwroot/css/home.css */
