/* Referanslar — homepage-aligned premium layout (does not touch Landor main.css) */
.galip-refs-intro {
  padding: 56px 0 8px;
}
.galip-refs-intro .ga-lead,
.galip-refs-clients .ga-lead {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
}
.galip-refs-cats {
  padding: 12px 0 28px;
}
.galip-refs-cat {
  height: calc(100% - 0px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(23, 36, 58, 0.06);
  text-decoration: none;
  color: inherit;
}
.galip-refs-cat__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eef1f5;
}
.galip-refs-cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.galip-refs-cat:hover .galip-refs-cat__media img {
  transform: scale(1.04);
}
.galip-refs-cat__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}
.galip-refs-cat h3 {
  margin: 0 0 10px;
  color: #17243a;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}
.galip-refs-cat p {
  margin: 0 0 18px;
  flex: 1;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}
.galip-refs-clients {
  padding: 40px 0 12px;
}
.galip-refs-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.galip-refs-firmgal {
  position: relative;
  min-width: 0;
}
.galip-refs-firmgal > a:not(.galip-refs-client) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}
.galip-refs-client {
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(23, 36, 58, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.galip-refs-client:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 0, 18, 0.28);
  box-shadow: 0 16px 36px rgba(23, 36, 58, 0.1);
  color: inherit;
}
.galip-refs-client__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eef1f5;
}
.galip-refs-client__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.galip-refs-client:hover .galip-refs-client__media img {
  transform: scale(1.04);
}
.galip-refs-client__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 20px 20px;
  min-height: 118px;
}
.galip-refs-client__panel img {
  width: auto;
  height: 36px;
  max-width: 160px;
  object-fit: contain;
}
.galip-refs-client__panel strong {
  display: block;
  color: #17243a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}
.galip-refs-client__panel span {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
}
.galip-refs-gallery {
  padding: 36px 0 20px;
}
.galip-refs-gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}
.galip-refs-gallery__titles {
  min-width: 0;
}
.galip-refs-gallery__titles .tp-section-sub-title {
  display: inline-block;
  margin: 0 0 10px;
}
.galip-refs-gallery__titles .tp-section-title {
  margin: 0;
}
.galip-refs-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.galip-refs-filter.is-active {
  background: rgba(230, 0, 18, 0.1);
  border-color: rgba(230, 0, 18, 0.55);
  color: #e60012;
}
.galip-refs-card {
  display: flex;
  flex-direction: column;
  height: calc(100% - 30px);
  margin-bottom: 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(23, 36, 58, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.galip-refs-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(23, 36, 58, 0.1);
  color: inherit;
}
.galip-refs-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef1f5;
}
.galip-refs-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.galip-refs-card:hover .galip-refs-card__media img {
  transform: scale(1.04);
}
.galip-refs-card__tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 11px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
}
.galip-refs-card__brand {
  display: none;
}
.galip-refs-card__body {
  padding: 20px 22px 22px;
}
.galip-refs-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
}
.galip-refs-card__meta img {
  width: auto !important;
  height: 28px !important;
  max-width: 110px;
  object-fit: contain !important;
}
.galip-refs-card__body h3 {
  margin: 0;
  color: #17243a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}
.galip-refs-card:not(:has(.galip-refs-card__meta)) .galip-refs-card__body h3 {
  margin-bottom: 8px;
}
.galip-refs-card__body p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
}
.galip-refs-item.is-hidden {
  display: none !important;
}
.galip-refs-firmhead {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 36px;
  align-items: center;
  margin: 8px 0 44px;
  padding: 32px;
  background: #fff;
  border: 1px solid #e7eaf0;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(23, 36, 58, 0.06);
}
.galip-refs-firmhead__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 24px;
  background: #f6f8fb;
}
.galip-refs-firmhead__logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 88px;
  object-fit: contain;
}
.galip-refs-firmhead__copy .tp-section-sub-title {
  display: inline-block;
}
.galip-refs-firmhead__copy p {
  margin: 0;
  max-width: 560px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
}
.galip-refs-others {
  padding: 28px 0 12px;
}
.galip-refs-others .galip-refs-logos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.galip-refs-masonry {
  column-count: 7;
  column-gap: 10px;
  width: 100%;
  max-width: 100%;
}
.galip-refs-masonry .galip-refs-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 10px;
}
.galip-refs-slide {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #eef1f5;
  cursor: zoom-in;
}
.galip-refs-slide img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.galip-refs-masonry .galip-refs-item:nth-child(7n+1) .galip-refs-slide img { aspect-ratio: 3 / 4; }
.galip-refs-masonry .galip-refs-item:nth-child(7n+2) .galip-refs-slide img { aspect-ratio: 4 / 5; }
.galip-refs-masonry .galip-refs-item:nth-child(7n+3) .galip-refs-slide img { aspect-ratio: 1 / 1; }
.galip-refs-masonry .galip-refs-item:nth-child(7n+4) .galip-refs-slide img { aspect-ratio: 3 / 5; }
.galip-refs-masonry .galip-refs-item:nth-child(7n+5) .galip-refs-slide img { aspect-ratio: 4 / 3; }
.galip-refs-masonry .galip-refs-item:nth-child(7n+6) .galip-refs-slide img { aspect-ratio: 2 / 3; }
.galip-refs-masonry .galip-refs-item:nth-child(7n) .galip-refs-slide img { aspect-ratio: 5 / 6; }
.galip-refs-slide:hover img {
  transform: scale(1.06);
}
.galip-refs-cat,
.galip-refs-firmgal,
.galip-refs-client,
.galip-refs-client__panel {
  min-width: 0;
  max-width: 100%;
}
.galip-refs-client__panel img {
  max-width: 100%;
}
.galip-refs-cat .tp-btn {
  max-width: 100%;
  white-space: normal;
}
body:has(.galip-refs-masonry) {
  overflow-x: hidden;
}

@media (max-width: 1399.98px) {
  .galip-refs-masonry {
    column-count: 5;
  }
}
@media (max-width: 1199.98px) {
  .galip-refs-masonry {
    column-count: 4;
  }
}
@media (max-width: 991.98px) {
  .galip-refs-logos,
  .galip-refs-others .galip-refs-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .galip-refs-firmhead {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }
  .galip-refs-masonry {
    column-count: 3;
  }
  .galip-refs-cat h3 {
    font-size: 20px;
  }
}
@media (max-width: 767.98px) {
  .galip-refs-intro {
    padding: 28px 0 4px;
  }
  .galip-refs-cats,
  .galip-refs-clients,
  .galip-refs-gallery {
    padding-left: 0;
    padding-right: 0;
  }
  .galip-refs-gallery {
    padding: 24px 0 28px;
  }
  .galip-refs-gallery__head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 12px;
  }
  .galip-refs-filters {
    position: sticky;
    top: 72px;
    z-index: 30;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: calc(100% + 24px);
    margin-left: -12px;
    padding: 10px 12px;
    background: #fff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.9);
  }
  .galip-refs-filters::-webkit-scrollbar {
    display: none;
  }
  .galip-refs-filters .galip-hero-pill {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 13px;
    line-height: 1.2;
  }
  .galip-refs-masonry {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-count: unset;
    column-gap: unset;
    gap: 8px;
  }
  .galip-refs-masonry .galip-refs-item {
    margin: 0;
  }
  .galip-refs-masonry .galip-refs-item .galip-refs-slide img,
  .galip-refs-masonry .galip-refs-item:nth-child(n) .galip-refs-slide img {
    aspect-ratio: 3 / 4;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .galip-refs-slide {
    border-radius: 12px;
  }
  .galip-refs-card,
  .galip-refs-cat {
    margin-bottom: 16px;
    height: auto;
  }
  .galip-refs-cat__body,
  .galip-refs-card__body {
    padding: 18px 16px 20px;
  }
  .galip-refs-logos,
  .galip-refs-others .galip-refs-logos {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .galip-refs-client__panel {
    min-height: 0;
    padding: 14px 16px 16px;
  }
  .galip-refs-intro .ga-lead,
  .galip-refs-clients .ga-lead {
    font-size: 15px;
  }
}
@media (max-width: 575.98px) {
  .galip-refs-masonry {
    gap: 6px;
  }
  .galip-refs-cat h3 {
    font-size: 18px;
  }
  .galip-refs-client:hover {
    transform: none;
  }
  body:has(.galip-refs-masonry) .ga-cta {
    padding-bottom: 40px;
  }
  body:has(.galip-refs-masonry) .ga-cta__inner {
    padding: 22px 16px;
    gap: 18px;
  }
  body:has(.galip-refs-masonry) .ga-cta__copy,
  body:has(.galip-refs-masonry) .ga-cta__actions {
    width: 100%;
  }
  body:has(.galip-refs-masonry) .ga-cta__actions .tp-btn {
    width: 100%;
  }
}
@media (hover: none) {
  .galip-refs-slide:hover img {
    transform: none;
  }
}

html.galip-lb-open,
html.galip-lb-open body {
  overflow: hidden !important;
}
html.galip-lb-open body {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}
.galip-lb[hidden] {
  display: none !important;
}
.galip-lb {
  position: fixed;
  inset: 0;
  z-index: 1000000000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 14, 18, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: none;
  overscroll-behavior: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.galip-lb.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.galip-lb__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 64px 56px 88px;
  box-sizing: border-box;
}
.galip-lb__img {
  display: block;
  max-width: min(100%, calc(100vw - 24px));
  max-height: calc(100dvh - 160px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: opacity 0.18s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.galip-lb.is-zoomed .galip-lb__img {
  transition: none;
  cursor: grab;
}
.galip-lb__close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  z-index: 4;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.82);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.galip-lb__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M12.5 4.5L7 10l5.5 5.5' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  cursor: pointer;
}
.galip-lb__nav--next {
  right: max(10px, env(safe-area-inset-right, 0px));
  transform: scaleX(-1);
}
.galip-lb__nav--prev {
  left: max(10px, env(safe-area-inset-left, 0px));
}
.galip-lb__tools {
  position: absolute;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 6px 14px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.82);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.galip-lb__zoom {
  display: flex;
  align-items: center;
  gap: 2px;
}
.galip-lb__zbtn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.galip-lb__zoom span {
  min-width: 48px;
  text-align: center;
}
@media (max-width: 767.98px) {
  .galip-lb__stage {
    padding: 56px 8px 108px;
  }
  .galip-lb__img {
    max-width: calc(100vw - 8px);
    max-height: calc(100dvh - 168px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  }
  .galip-lb__nav {
    top: auto;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    margin-top: 0;
  }
}
