/* =============================================
   ARNIVA - Açılış duyurusu şeridi
   Tüm kurallar .ann- önekiyle kapsanır. Şerit sayfanın en üstünde sabittir (lacivert zemin, beyaz yazı,
   turuncu vurgu). Yer html.ann-yer sınıfıyla baştan ayrılır: gövde üst boşluğu ve sabit üst menünün
   kayması şerit yüksekliği kadardır, şerit gelince içerik oynamaz.
   ============================================= */

:root { --ann-h: 0px; }
html.ann-yer { --ann-h: 44px; }
html.ann-yer body { padding-top: var(--ann-h); }
html.ann-yer .header { top: var(--ann-h); }
html.ann-yer :where(section, [id], a[name]) { scroll-margin-top: calc(var(--anchor-header-height, 80px) + var(--ann-h) + 16px); }

.ann-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: #0b1120;
  color: #ffffff;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
}
.ann-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 12px 0 24px;
  max-width: 1440px;
  margin: 0 auto;
}
.ann-line {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ann-title { font-weight: 700; color: #ffffff; }
.ann-teaser { margin-left: 10px; color: rgba(255, 255, 255, 0.78); }
.ann-more {
  flex: none;
  border: 0;
  border-radius: 6px;
  background: #fc6800;
  color: #0b1120;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.12s ease;
}
.ann-more:hover { background: #ff7f26; }
.ann-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.12s ease;
}
.ann-close:hover { background: rgba(255, 255, 255, 0.14); }
.ann-more:focus-visible,
.ann-close:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

/* Ayrıntılar: şeridin altında açılan üst katman; sayfa içeriğini itmez */
.ann-detail {
  position: absolute;
  top: 100%; left: 0; right: 0;
  max-height: calc(100vh - 60px);
  max-height: calc(100dvh - 60px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #ffffff;
  color: #0b1120;
  border-bottom: 1px solid var(--border, #EAEAEA);
  box-shadow: 0 16px 32px -12px rgba(11, 17, 32, 0.35);
}
.ann-detail[hidden] { display: none; }
.ann-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px 24px 8px;
  font-size: 15px;
  line-height: 1.55;
}
.ann-body p { margin: 0 0 0.7em; }
.ann-body ul,
.ann-body ol { margin: 0 0 0.7em; padding-left: 22px; }
.ann-body ul { list-style: disc; }
.ann-body ol { list-style: decimal; }
.ann-body li { margin: 0 0 0.35em; }
.ann-body li:last-child { margin-bottom: 0; }
.ann-body strong,
.ann-body b { font-weight: 700; }
.ann-body a { color: #c24e00; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.ann-body a:hover { color: #fc6800; }
.ann-body > :last-child { margin-bottom: 0; }

/* Vurgulu uyarı kutusu: <p class="ann-note"> (sınıf sunucuda sabit değerle sınırlıdır) */
.ann-body p.ann-note {
  padding: 0.6em 0.9em;
  background: #fff0e5;
  border: 1px solid rgba(252, 104, 0, 0.45);
  border-left: 4px solid #fc6800;
  border-radius: 6px;
}

/* Servis talebi düğmesi: <a class="ann-btn"> (sınıf sunucuda sabit değerle sınırlıdır) */
.ann-body a.ann-btn {
  display: inline-block;
  margin: 0.2em 0 0;
  padding: 0.3em 0.9em;
  border-radius: 6px;
  background: #fc6800;
  color: #0b1120;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: normal;
  white-space: nowrap;
}
.ann-body a.ann-btn:hover { background: #ff7f26; color: #0b1120; }
.ann-body a.ann-btn:focus-visible { outline: 2px solid #0b1120; outline-offset: 2px; }

/* Desteklenen ÖKC listesi */
.ann-body ul.ann-okc {
  list-style: none !important;
  padding: 12px 16px;
  background: #f7f7f5;
  border: 1px solid var(--border, #EAEAEA);
  border-radius: 6px;
}
.ann-body ul.ann-okc li { margin: 0 0 6px; }
.ann-body ul.ann-okc li:last-child { margin-bottom: 0; }

.ann-foot {
  max-width: 880px;
  margin: 0 auto;
  padding: 12px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.ann-ok {
  flex: none;
  border: 0;
  border-radius: 6px;
  background: #fc6800;
  color: #0b1120;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.12s ease;
}
.ann-ok:hover { background: #ff7f26; }
.ann-ok:focus-visible { outline: 2px solid #0b1120; outline-offset: 2px; }
.ann-law {
  border: 1px solid #d7d7d3;
  border-radius: 6px;
  color: #0b1120;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 16px;
  text-decoration: none;
  transition: border-color 0.12s ease, color 0.12s ease;
}
.ann-law:hover { border-color: #fc6800; color: #c24e00; }
.ann-law:focus-visible { outline: 2px solid #0b1120; outline-offset: 2px; }

@media (max-width: 600px) {
  html.ann-yer { --ann-h: 48px; }
  .ann-row { height: 48px; padding: 0 4px 0 14px; gap: 8px; }
  .ann-line { font-size: 13px; }
  .ann-teaser { display: none; }
  .ann-more { padding: 7px 12px; }
  .ann-close { width: 40px; height: 40px; }
  .ann-detail { max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); }
  .ann-body { padding: 16px 16px 6px; font-size: 15px; }
  .ann-foot { padding: 10px 16px max(16px, env(safe-area-inset-bottom)); }
  .ann-ok, .ann-law { flex: 1; text-align: center; padding: 11px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .ann-more, .ann-close, .ann-ok, .ann-law { transition: none; }
}
