/* Yılmazlar v1.2.0 — yayın, bilgi merkezi ve form erişilebilirliği */
.rb-form-error-summary,
.rb-field-error {
  display: block;
  color: #a32020;
  font-weight: 700;
}
.rb-form-error-summary {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  padding: 13px 15px;
  border-left: 3px solid #e44343;
  background: #fff1f1;
}
.rb-field-error { margin-top: 7px; font-size: 12px; }
.site-form [aria-invalid="true"] {
  border-color: #c53030 !important;
  box-shadow: 0 0 0 3px rgba(197,48,48,.11);
}

.rb-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}
.rb-knowledge-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe7ee;
  box-shadow: 0 18px 45px rgba(5,25,46,.08);
}
.rb-knowledge-card__media { display: block; aspect-ratio: 9/5.6; overflow: hidden; }
.rb-knowledge-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.rb-knowledge-card:hover .rb-knowledge-card__media img { transform: scale(1.035); }
.rb-knowledge-card__body { padding: 25px; }
.rb-knowledge-card__body > small { color: #f36f21; font-weight: 800; letter-spacing: .08em; }
.rb-knowledge-card h3 { margin: 10px 0; font-size: clamp(21px,2vw,27px); line-height: 1.2; }
.rb-knowledge-card h3 a { color: #071e42; }
.rb-knowledge-card p { color: #5a6878; line-height: 1.7; }

.rb-article-hero { padding: 145px 0 70px; background: #071a2e; color: #fff; }
.rb-article-hero__inner { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); align-items: center; gap: 58px; }
.rb-article-hero h1 { margin: 14px 0 18px; font-size: clamp(42px,5.2vw,78px); line-height: .98; }
.rb-article-hero p { color: #b8c5d2; font-size: 18px; line-height: 1.7; }
.rb-article-hero img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border: 1px solid rgba(255,255,255,.16); }
.rb-article-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 65px; }
.rb-prose { color: #28394b; font-size: 17px; line-height: 1.85; }
.rb-prose h2 { margin: 38px 0 14px; color: #071e42; font-size: clamp(27px,3vw,38px); line-height: 1.15; }
.rb-prose h3 { margin: 30px 0 12px; color: #071e42; }
.rb-prose p, .rb-prose ul, .rb-prose ol { margin: 0 0 20px; }
.rb-prose li { margin: 7px 0; }
.rb-article-aside { position: sticky; top: 110px; padding: 30px; background: #f2f5f8; border-top: 4px solid #f36f21; }
.rb-article-aside h2 { margin: 11px 0; color: #071e42; }
.rb-article-aside p { color: #5b6978; line-height: 1.65; }
.rb-article-aside .rb-btn { width: 100%; justify-content: center; margin-top: 10px; }
.rb-project-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; }
.rb-project-meta span { display: inline-flex; align-items: center; gap: 8px; color: #d8e1ea; font-weight: 700; }
.rb-project-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; margin-top: 34px; }
.rb-project-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.rb-photo-credit { font-size: 13px; color: #718093; }

@media (max-width: 980px) {
  .rb-knowledge-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rb-article-hero { padding-top: 120px; }
  .rb-article-hero__inner, .rb-article-layout { grid-template-columns: 1fr; }
  .rb-article-aside { position: static; }
}
@media (max-width: 640px) {
  .rb-knowledge-grid { grid-template-columns: 1fr; }
  .rb-article-hero { padding: 105px 0 46px; }
  .rb-article-hero__inner { gap: 28px; }
  .rb-article-hero h1 { font-size: clamp(36px,12vw,56px); }
  .rb-project-gallery { grid-template-columns: 1fr; }
}

/* v1.2.5 — doğrulanmış referanslar ve gerçek saha galerileri */
.rb-home-project-grid,
.rb-project-list-grid { margin-top: 8px; }
.rb-home-project-grid .rb-case,
.rb-project-list-grid .rb-case { min-height: 460px; }
.rb-home-project-grid .rb-case__media,
.rb-project-list-grid .rb-case__media { position: absolute; inset: 0; display: block; }
.rb-home-project-grid .rb-case__content strong,
.rb-project-list-grid .rb-case__content strong { display: block; margin: 10px 0 2px; color: #fff; font-size: 13px; }
.rb-home-project-grid .rb-text-link,
.rb-project-list-grid .rb-text-link { margin-top: 14px; color: #fff; }

.rb-home-references { background: #f4f6f8; }
.rb-home-reference-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 12px;
}
.rb-home-reference-card {
  min-height: 150px;
  padding: 22px 18px 18px;
  background: #fff;
  border: 1px solid #dfe6ed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.rb-home-reference-card:hover {
  transform: translateY(-3px);
  border-color: #cbd7e2;
  box-shadow: 0 16px 34px rgba(7,30,66,.08);
}
.rb-home-reference-card img { width: 100%; max-width: 150px; height: 64px; object-fit: contain; }
.rb-home-reference-card strong { margin-top: 13px; color: #071e42; font-size: 12px; line-height: 1.35; }

.rb-reference-count { display: inline-flex; align-items: baseline; gap: 9px; margin-top: 18px; }
.rb-reference-count strong { color: #f36f21; font-size: 36px; line-height: 1; }
.rb-reference-count span { color: #657487; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.rb-reference-grid--verified { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.rb-reference--verified { min-height: 230px; padding: 24px 18px; background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.rb-reference--verified:hover { transform: translateY(-3px); border-color: #cbd7e2; box-shadow: 0 16px 34px rgba(7,30,66,.08); }
.rb-reference__logo { min-height: 84px; width: 100%; display: grid; place-items: center; }
.rb-reference__logo img { width: 100%; max-width: 185px; height: 78px; object-fit: contain; }
.rb-reference__sector { display: inline-flex; margin-top: 14px; padding: 6px 9px; border-radius: 999px; background: #f2f5f8; color: #627184; font-size: 10px; line-height: 1; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.rb-reference__initial { font-size: 2rem; font-weight: 900; color: #f36f21; }
.rb-reference--verified h3 { margin-top: 12px; font-size: 15px; line-height: 1.3; }

.rb-project-gallery {
  display: block;
  column-count: 3;
  column-gap: 14px;
  margin-top: 34px;
}
.rb-project-gallery__item {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
  overflow: hidden;
  background: #071a2e;
  border: 1px solid #e0e6ec;
}
.rb-project-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  transition: transform .3s ease;
}
.rb-project-gallery__item:hover img { transform: scale(1.015); }
.rb-project-gallery__item--video { background: #061526; }
.rb-project-gallery__item video { display: block; width: 100%; height: auto; max-height: 720px; background: #000; }

@media (max-width: 1100px) {
  .rb-home-reference-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .rb-reference-grid--verified { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .rb-project-gallery { column-count: 2; }
}
@media (max-width: 760px) {
  .rb-home-reference-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rb-reference-grid--verified { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rb-home-project-grid .rb-case,
  .rb-project-list-grid .rb-case { min-height: 390px; }
  .rb-project-gallery { column-count: 1; }
}
@media (max-width: 480px) {
  .rb-home-reference-grid,
  .rb-reference-grid--verified { grid-template-columns: 1fr; }
  .rb-home-reference-card { min-height: 130px; }
}


/* v1.2.6 — Kurumsal > Referanslar compact navigation */
.rb-submenu{position:absolute;z-index:8;top:calc(100% - 7px);left:50%;width:310px;padding:9px;background:#fff;color:var(--rb-ink);border-top:3px solid var(--rb-orange);box-shadow:0 24px 58px rgba(0,15,32,.22);opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,14px);transition:.22s var(--rb-ease)}
.rb-nav-group:hover>.rb-submenu,.rb-nav-group.is-open>.rb-submenu{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
.rb-submenu>a{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:center;padding:14px 13px;color:var(--rb-ink);border-bottom:1px solid var(--rb-line);transition:background .18s ease,transform .18s ease}
.rb-submenu>a:last-child{border-bottom:0}.rb-submenu>a:hover,.rb-submenu>a.active{background:var(--rb-soft);transform:translateX(2px)}
.rb-submenu>a>i{width:36px;height:36px;display:grid;place-items:center;background:#fff3eb;color:var(--rb-orange);font-size:.86rem}
.rb-submenu strong,.rb-submenu small{display:block}.rb-submenu strong{font-size:.86rem}.rb-submenu small{margin-top:3px;color:var(--rb-muted);font-size:.69rem;line-height:1.35;font-weight:600}
@media (max-width:980px){.rb-submenu{position:static;width:auto;display:none;opacity:1;visibility:visible;pointer-events:auto;transform:none!important;margin:0 -10px;padding:7px 14px;background:var(--rb-soft);border-top:0;box-shadow:none}.rb-nav-group.is-open>.rb-submenu{display:block}.rb-submenu>a{min-height:58px;padding:10px;border-bottom:1px solid var(--rb-line)}.rb-submenu>a>i{background:#fff}.rb-submenu>a:hover,.rb-submenu>a.active{transform:none;background:#fff}}
