/* =========================
   DUYURULAR SAYFASI
========================= */

.announcements-hero,
.announcements-page,
.announcement-detail {
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

.announcements-hero *,
.announcements-page *,
.announcement-detail * {
  font-family: inherit;
}

.announcements-hero {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background: #0e2744;
}

.announcements-hero-track {
  position: absolute;
  inset: 0;
}

.announcements-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  background-position: center;
  background-size: cover;
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 1s ease;
  transform: scale(1.04);
}

.announcements-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.announcements-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 26, 48, 0.88) 0%, rgba(12, 45, 78, 0.62) 48%, rgba(10, 28, 48, 0.36) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.35));
}

.announcements-hero-slide:nth-child(1) {
  background-image: url("../../images/yeniekledigimfotolar/sayfasliders/mevzuat-kanun-slider.webp");
}

.announcements-hero-slide:nth-child(2) {
  background-image: url("../../images/yeniekledigimfotolar/sayfasliders/Kurumsal.webp");
}

.announcements-hero-slide:nth-child(3) {
  background-image: url("../../images/yeniekledigimfotolar/slider/Maden-1.webp");
}

.announcements-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 48px;
  color: #fff;
}

.announcements-hero-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: #d8ecff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.announcements-hero-kicker i {
  display: none;
}

.announcements-hero-kicker::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}

.announcements-hero-kicker::after {
  content: "";
  position: absolute;
  left: 26px;
  top: calc(50% + 4px);
  display: block;
  width: 6px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.announcements-hero-content h1 {
  max-width: 720px;
  margin: 18px 0 12px;
  color: #fff;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.08;
}

.announcements-hero-content p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.8;
}

.announcements-hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.announcements-hero-dot {
  width: 34px;
  height: 5px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.announcements-hero-dot.is-active {
  width: 54px;
  background: #1362ab;
}

.announcements-page {
  position: relative;
  padding: 72px 0 82px;
  background:
    linear-gradient(180deg, #f6f9fc 0%, #ffffff 36%, #f7fbff 100%);
}

.announcements-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.announcements-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.announcements-heading span {
  display: inline-flex;
  margin-bottom: 9px;
  color: #1362ab;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.announcements-heading h2 {
  margin: 0;
  color: #172437;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
}

.announcements-typing-title {
  min-height: 44px;
}

.announcements-typing-title .typed-cursor {
  display: inline-block;
  margin-left: 4px;
  color: #1362ab;
  animation: announcementsTypingCursor 0.85s steps(1) infinite;
}

@keyframes announcementsTypingCursor {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

.announcements-heading p {
  max-width: 690px;
  margin: 12px 0 0;
  color: #607086;
  font-size: 16px;
  line-height: 1.8;
}

.announcements-summary {
  min-width: 210px;
  padding: 24px 28px;
  border-left: 0;
  background: #10243d;
  color: #fff;
  box-shadow: 0 22px 48px rgba(16, 36, 61, 0.22);
}

.announcements-summary strong {
  display: block;
  color: #fff;
  font-size: 44px;
  line-height: 1;
}

.announcements-summary span {
  display: block;
  margin-top: 12px;
  color: #9fd0ff;
  font-size: 17px;
  font-weight: 800;
}

.announcements-filter-panel {
  position: sticky;
  top: 78px;
  z-index: 4;
  margin-bottom: 30px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 40, 66, 0.08);
  box-shadow: 0 18px 45px rgba(21, 40, 66, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.announcements-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 14px;
}

.announcements-search {
  position: relative;
}

.announcements-search i {
  display: none;
}

.announcements-search::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}

.announcements-search::before {
  position: absolute;
  left: 18px;
  top: 50%;
  color: #1362ab;
  transform: translateY(-50%);
}

.announcements-search::after,
.announcement-action::after {
  content: "";
  display: inline-block;
}

.announcements-search::after {
  width: 6px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.announcements-search::after {
  position: absolute;
  left: 30px;
  top: calc(50% + 5px);
  color: #1362ab;
}

.announcements-search input,
.announcements-sort select {
  width: 100%;
  height: 50px;
  border: 1px solid #dfe8f1;
  background: #fff;
  color: #27364a;
  font-size: 15px;
  outline: 0;
}

.announcements-search input {
  padding: 0 18px 0 48px;
}

.announcements-sort select {
  padding: 0 16px;
  cursor: pointer;
}

.announcements-search input:focus,
.announcements-sort select:focus {
  border-color: #1362ab;
  box-shadow: 0 0 0 4px rgba(19, 98, 171, 0.13);
}

.announcements-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.announcement-tab {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid #dce7ef;
  background: #f7fafc;
  color: #536479;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.announcement-tab.is-active,
.announcement-tab:hover {
  border-color: #1362ab;
  background: #1362ab;
  color: #fff;
}

.announcements-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
}

.announcements-list {
  display: grid;
  gap: 16px;
}

.announcement-card {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 22px 22px 0;
  overflow: hidden;
  border: 1px solid rgba(21, 40, 66, 0.08);
  background: #fff;
  box-shadow: 0 14px 36px rgba(21, 40, 66, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.announcement-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: #1362ab;
}

.announcement-card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 98, 171, 0.34);
  box-shadow: 0 22px 46px rgba(21, 40, 66, 0.12);
}

.announcement-date {
  display: grid;
  place-items: center;
  width: 70px;
  min-height: 74px;
  margin-left: 16px;
  background: #eaf2fb;
  color: #12243b;
}

.announcement-date strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.announcement-date span {
  display: block;
  margin-top: 4px;
  color: #1362ab;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.announcement-content {
  min-width: 0;
}

.announcement-category {
  display: inline-flex;
  margin-bottom: 7px;
  color: #1362ab;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.announcement-content h3 {
  margin: 0 0 8px;
  color: #172437;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.announcement-content p {
  margin: 0;
  color: #63748a;
  font-size: 14px;
  line-height: 1.65;
}

.announcement-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #dfe8f1;
  background: transparent;
  color: #172437;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.announcement-action i {
  display: none;
}

.announcement-action::after {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: currentColor;
  transform: rotate(45deg);
}

.announcement-action:hover {
  border-color: #12243b;
  background: #12243b;
  color: #fff;
}

.announcement-empty {
  display: none;
  padding: 46px 26px;
  background: #fff;
  border: 1px dashed #bfd0df;
  color: #607086;
  text-align: center;
  font-size: 16px;
}

.announcement-empty.is-visible {
  display: block;
}

.announcements-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e3ecf4;
}

.announcements-page-info {
  color: #526378;
  font-size: 14px;
  font-weight: 700;
}

.announcements-page-buttons {
  display: flex;
  gap: 10px;
}

.announcements-page-button {
  width: 46px;
  height: 46px;
  border: 1px solid #dfe8f1;
  background: #fff;
  color: #172437;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.announcements-page-button i {
  display: none;
}

.announcements-page-button::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

#announcementPrev::before {
  transform: rotate(-135deg);
}

#announcementNext::before {
  transform: rotate(45deg);
}

.announcements-page-button:hover:not(:disabled) {
  background: #1362ab;
  color: #fff;
}

.announcements-page-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.announcements-side {
  display: grid;
  gap: 18px;
}

.announcements-side-panel {
  padding: 26px;
  background: #10243d;
  color: #fff;
  box-shadow: 0 22px 48px rgba(16, 36, 61, 0.22);
}

.announcements-side-panel h3,
.announcements-help h3 {
  margin: 0 0 12px;
  color: inherit;
  font-size: 22px;
  font-weight: 800;
}

.announcements-side-panel p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.75;
}

.announcements-featured-list {
  display: grid;
  gap: 12px;
}

.announcements-featured-list a {
  display: block;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.announcements-featured-list span {
  display: block;
  margin-top: 5px;
  color: #9fd0ff;
  font-size: 12px;
  font-weight: 700;
}

.announcements-help {
  padding: 25px;
  border: 0;
  background: #10243d;
  color: #fff;
  box-shadow: 0 22px 48px rgba(16, 36, 61, 0.22);
}

.announcements-help p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.7;
}

.announcements-help a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  border: 1px solid rgba(96, 162, 240, 0.34);
  background: linear-gradient(135deg, #12233a 0%, #1a3150 55%, #24446f 100%);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(18, 35, 58, 0.22);
  transition: all 0.3s ease;
}

.announcements-help a::before {
  content: "";
  position: absolute;
  inset: -35% auto -35% -42%;
  width: 38%;
  background: linear-gradient(
    115deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.12) 30%,
    rgba(255,255,255,0.70) 50%,
    rgba(255,255,255,0.14) 70%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-24deg);
  animation: announcementsBtnSheen 2.8s ease-in-out infinite;
  pointer-events: none;
}

.announcements-help a:hover {
  background: linear-gradient(135deg, #163154 0%, #2b4f85 60%, #3d6da8 100%);
  box-shadow: 0 14px 28px rgba(19, 98, 171, 0.28);
  color: #fff !important;
  transform: translateY(-2px);
}

@keyframes announcementsBtnSheen {
  0% {
    left: -42%;
    opacity: 0;
  }

  12% {
    opacity: 0.9;
  }

  46% {
    left: 112%;
    opacity: 0;
  }

  100% {
    left: 112%;
    opacity: 0;
  }
}

.announcement-detail {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 20, 34, 0.64);
}

.announcement-detail.is-open {
  display: flex;
}

.announcement-detail-panel {
  width: min(720px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  box-shadow: 0 32px 80px rgba(4, 14, 26, 0.36);
}

.announcement-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 30px 20px;
  border-bottom: 1px solid #e6edf4;
}

.announcement-detail-head span {
  display: block;
  margin-bottom: 8px;
  color: #1362ab;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.announcement-detail-head h3 {
  margin: 0;
  color: #172437;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.25;
}

.announcement-detail-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 0;
  background: #eff3f7;
  color: #172437;
  cursor: pointer;
  font-size: 20px;
}

.announcement-detail-body {
  padding: 24px 30px 30px;
}

.announcement-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 17px;
}

.announcement-detail-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  background: #eaf2fb;
  color: #264059;
  font-size: 13px;
  font-weight: 700;
}

.announcement-detail-body p {
  margin: 0;
  color: #526378;
  font-size: 16px;
  line-height: 1.9;
  text-align: justify;
  text-justify: inter-word;
}

.announcement-detail-body p li,
.announcement-detail-body p div,
.announcement-detail-body p span {
  text-align: justify;
  text-justify: inter-word;
}

.announcement-detail-body p ol,
.announcement-detail-body p ul {
  margin: 0;
  padding-left: 22px;
}

.announcement-detail-body p li {
  margin-bottom: 18px;
}

.announcement-detail-files {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 22px 24px;
  border: 1px solid #e2ebf3;
  background: #f8fbfd;
}

.announcement-detail-files h4 {
  position: relative;
  margin: 0 0 10px;
  color: #172437;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
}

.announcement-detail-files h4,
.announcement-detail-files span {
  position: relative;
  z-index: 1;
}

.announcement-detail-files span {
  display: block;
  color: #172437;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.announcement-detail-files a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 42px;
  padding: 0 18px;
  background: #1362ab;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.announcement-detail-files a:hover {
  background: #0d4f8b;
  transform: translateY(-2px);
}

.announcement-detail-files.is-empty a {
  pointer-events: none;
  opacity: 0.48;
}

@media (max-width: 991.98px) {
  .announcements-hero-content h1 {
    font-size: 42px;
  }

  .announcements-toolbar,
  .announcements-layout {
    grid-template-columns: 1fr;
  }

  .announcements-summary {
    min-width: 0;
  }

  .announcements-filter-panel {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .announcements-hero {
    min-height: 280px;
  }

  .announcements-hero-slide {
    align-items: flex-start;
  }

  .announcements-hero-content {
    width: min(100% - 30px, 1180px);
    padding-top: 34px;
  }

  .announcements-hero-kicker {
    min-height: 30px;
    padding: 0 12px;
    font-size: 11px;
  }

  .announcements-hero-content h1 {
    margin: 14px 0 10px;
    font-size: 32px;
    line-height: 1.04;
  }

  .announcements-hero-content p {
    font-size: 15px;
    line-height: 1.5;
  }

  .announcements-page {
    padding: 48px 0 58px;
  }

  .announcements-shell {
    width: min(100% - 30px, 1180px);
  }

  .announcements-heading h2 {
    font-size: 29px;
  }

  .announcements-search-row,
  .announcement-card {
    grid-template-columns: 1fr;
  }

  .announcement-card {
    padding: 18px;
    gap: 14px;
  }

  .announcement-date {
    width: 74px;
    margin-left: 0;
  }

  .announcement-action {
    justify-content: center;
    width: 100%;
  }

  .announcements-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .announcements-page-buttons {
    justify-content: space-between;
  }

  .announcements-page-button {
    width: 48%;
  }

  .announcement-detail {
    padding: 14px;
  }

  .announcement-detail-head,
  .announcement-detail-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .announcement-detail-head h3 {
    font-size: 22px;
  }

  .announcement-detail-files {
    flex-direction: column;
    align-items: stretch;
  }

  .announcement-detail-files a {
    width: 100%;
  }
}
