/* =========================================================
   Brands / Markalar Archive Page Fix
   File: assets/css/pages/brands-page.css
   Scope: /markalar + /en/brands
========================================================= */

.ak-brandsPage {
  background: #05090f;
  color: #fff;
  padding: 72px 0 96px;
  overflow: hidden;
}

.ak-brandsPage .ak-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* Intro Card */
.ak-brandsIntro {
  margin: 0 0 56px;
}

.ak-brandsIntro .ak-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
  gap: 42px !important;
  align-items: start !important;
  padding: 42px !important;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(21, 156, 232, 0.13), rgba(255, 255, 255, 0.025));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.ak-brandsIntro__body {
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

.ak-brandsIntro__icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 0 18px;
  border-radius: 18px;
  color: #26aef2;
  background: rgba(21, 156, 232, 0.12);
  border: 1px solid rgba(21, 156, 232, 0.24);
}

.ak-brandsIntro__title {
  width: 100% !important;
  max-width: 860px !important;
  margin: 0 0 20px !important;
  color: #fff !important;
  font-size: clamp(34px, 4.2vw, 64px) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  white-space: normal !important;
}

.ak-brandsIntro__desc {
  width: 100% !important;
  max-width: 820px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 17px !important;
  line-height: 1.85 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  white-space: normal !important;
}

.ak-brandsIntro__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ak-brandsIntro__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ak-brandsIntro__meta i {
  color: #26aef2;
}

.ak-brandsIntro__actions {
  display: grid !important;
  gap: 12px !important;
  align-self: start !important;
  width: 100% !important;
  max-width: 360px !important;
  min-width: 0 !important;
  order: initial !important;
}

.ak-brandsIntro__actions .ak-btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

/* Section Head */
.ak-brandsList {
  padding: 0;
}

.ak-brandsHead {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) !important;
  gap: 34px !important;
  align-items: end !important;
  margin: 0 0 32px !important;
}

.ak-brandsHead__left,
.ak-brandsHead__right {
  min-width: 0 !important;
}

.ak-brandsHead__title {
  width: 100% !important;
  max-width: 820px !important;
  margin: 0 0 14px !important;
  color: #fff !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.14 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  white-space: normal !important;
}

.ak-brandsHead__desc {
  width: 100% !important;
  max-width: 780px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  white-space: normal !important;
}

.ak-brandsSearch {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.ak-brandsSearch i {
  color: rgba(255, 255, 255, 0.72);
}

.ak-brandsSearch input {
  width: 100% !important;
  min-width: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  color: #fff !important;
  background: transparent !important;
  font-size: 15px;
  font-weight: 700;
}

.ak-brandsSearch input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

/* Grid */
.ak-brandsGrid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

.ak-brandCard {
  min-width: 0 !important;
  height: 100%;
}

.ak-brandCard__link {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-height: 160px;
  overflow: hidden;
  border-radius: 22px;
  text-decoration: none !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.ak-brandCard__link:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 156, 232, 0.55);
  background: rgba(21, 156, 232, 0.08);
}

.ak-brandCard__logo {
  display: grid !important;
  place-items: center;
  height: 112px !important;
  padding: 24px !important;
  background: rgba(255, 255, 255, 0.96);
}

.ak-brandCard__logo img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 76px !important;
  object-fit: contain !important;
}

.ak-brandCard__body {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
  padding: 18px !important;
}

.ak-brandCard__title {
  margin: 0 !important;
  color: #fff !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.ak-brandCard__arrow {
  display: inline-grid !important;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  transition: transform .25s ease, background .25s ease;
}

.ak-brandCard__link:hover .ak-brandCard__arrow {
  transform: translateX(3px);
  background: #159ce8;
}

.ak-brandsEmpty {
  padding: 28px;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.035);
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

/* Hidden by search */
.ak-brandCard.is-hidden {
  display: none !important;
}

/* Tablet */
@media (max-width: 1100px) {
  .ak-brandsGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .ak-brandsPage {
    padding: 54px 0 72px;
  }

  .ak-brandsIntro .ak-container,
  .ak-brandsHead {
    grid-template-columns: 1fr !important;
  }

  .ak-brandsIntro .ak-container {
    padding: 28px !important;
  }

  .ak-brandsIntro__actions {
    max-width: 420px !important;
  }

  .ak-brandsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .ak-brandsPage .ak-container {
    width: min(100% - 28px, 1180px);
  }

  .ak-brandsIntro .ak-container {
    padding: 22px !important;
    border-radius: 22px;
  }

  .ak-brandsIntro__title {
    font-size: 34px !important;
  }

  .ak-brandsIntro__desc,
  .ak-brandsHead__desc {
    font-size: 15.5px !important;
    line-height: 1.72 !important;
  }

  .ak-brandsGrid {
    grid-template-columns: 1fr !important;
  }
}