.library-page {
  overflow-wrap: break-word;
}

.library-print-brand {
  display: none;
}

.ust2 .ust-ara span {
  display: none;
}

.hero-panel .hero-baslik .serif {
  font-size: .9em;
}

.ak-blog.library-page .ak-article-hero {
  padding: 48px 0 44px;
}

.ak-blog.library-page .ak-article-hero h1 {
  max-width: 26ch;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
}

.library-page .ak-cover > picture,
.library-card .ak-card-image > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.library-page .ak-cover img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.library-card .ak-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.library-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e7ea;
  border-radius: 20px;
  background: #fff;
}

.library-card .ak-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.library-page .ak-answer p {
  line-height: 1.75;
  margin: 0;
}

.library-card .ak-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.library-card .ak-card-body h2 {
  font-family: inherit;
  font-size: 1.24rem;
  line-height: 1.4;
  margin: 12px 0;
  letter-spacing: -.025em;
}

.library-card .ak-card-body p {
  font-size: .93rem;
  line-height: 1.7;
}

.library-card .ak-card-link {
  display: inline-flex;
  gap: 12px;
  margin-top: 20px;
  font-weight: 600;
}

.library-card[hidden],
.library-pagination[hidden],
#library-empty[hidden] {
  display: none;
}

.library-clusters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.library-cluster {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  border: 1px solid #dce3e6;
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
}

.library-cluster strong {
  font-size: 1.05rem;
  line-height: 1.4;
}

.library-cluster > span {
  color: var(--metin-2);
  font-size: .9rem;
}

.library-cluster:hover {
  border-color: var(--blue);
}

.library-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}

#library-filter {
  scroll-margin-top: 110px;
}

.library-table {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid #dce3e6;
  border-radius: 14px;
}

.library-table table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: .92rem;
  line-height: 1.6;
}

.library-table th,
.library-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #dce3e6;
}

.library-table th {
  background: #eef5fa;
  font-weight: 600;
}

.library-toc ul {
  padding-left: 18px;
  line-height: 1.5;
}

.library-toc li + li {
  margin-top: 10px;
}

.library-page .ak-answer h2 {
  font-size: 1.2rem;
  line-height: 1.45;
  margin: 0 0 12px;
}

.library-faq {
  border-bottom: 1px solid #dce3e6;
  padding: 22px 0;
  max-width: 960px;
}

.library-faq summary {
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
}

.library-faq p {
  margin: 18px 0 0;
  max-width: 78ch;
  line-height: 1.8;
}

.library-home-sectors .ak-card-body h2 {
  font-size: 1.5rem;
}

.library-home-sectors .ak-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.library-home-answer {
  max-width: 960px;
  padding: 28px;
  background: #eef5fa;
  border-left: 4px solid var(--blue);
  border-radius: 0 20px 20px 0;
}

.library-home-answer h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.library-equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 32px;
}

.library-equipment-grid figure {
  aspect-ratio: 16 / 10;
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 20px;
}

.library-equipment-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.library-equipment-grid h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.library-equipment-grid p,
.library-home-roi > p {
  line-height: 1.8;
  max-width: 80ch;
}

.library-home-roi {
  max-width: 960px;
}

.library-roi {
  margin-top: 32px;
  padding: 30px;
  border-radius: 20px;
  background: white;
}

.library-roi h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.library-roi-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.library-roi label {
  display: grid;
  gap: 10px;
  font-size: .95rem;
  font-weight: 600;
}

.library-roi input {
  width: 100%;
  min-width: 0;
  border: 1px solid #aab6bd;
  border-radius: 10px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.library-roi output {
  display: block;
  margin-top: 24px;
  font-weight: 600;
  line-height: 1.7;
}

.library-roi > p {
  margin-top: 16px;
  color: var(--metin-2);
  font-size: .9rem;
  line-height: 1.7;
}

@media (max-width: 800px) {
  .library-clusters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-home-sectors .ak-cards {
    grid-template-columns: 1fr;
  }

  .library-equipment-grid,
  .library-roi-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .library-clusters {
    grid-template-columns: 1fr;
  }

  .ak-blog.library-page .ak-article-hero {
    padding-top: 28px;
  }

  .library-home-answer {
    padding: 22px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 16mm;
  }

  header, footer, .hizli, .mobil-cubuk, .atla, .ak-sidebar,
  .ak-listen, .com-reading-actions, .ak-reading-progress,
  .ak-related, .ak-inline-cta, .ak-breadcrumb, .library-pagination {
    display: none !important;
  }

  .library-download {
    display: none;
  }

  .library-print-brand {
    display: block;
    margin-bottom: 18px;
  }

  .library-print-brand img {
    width: 140px;
    height: auto;
  }

  .library-page .ak-content-grid,
  .library-page .ak-hero-grid {
    display: block;
  }

  .library-page .ak-wrap {
    max-width: none;
    padding: 0;
  }

  .library-page .ak-cover img {
    max-height: 70mm;
  }

  .library-page .ak-prose {
    font-size: 10pt;
    line-height: 1.55;
  }

  .library-page h2, .library-page h3 {
    break-after: avoid;
  }

  .library-table {
    overflow: visible;
    border-radius: 0;
  }

  .library-table table {
    min-width: 0;
    font-size: 8pt;
  }

  .library-table th, .library-table td {
    padding: 8px;
  }

  .library-table tr {
    break-inside: avoid;
  }
}
