.announcements-section {
  width: 100%;
  background-color: #ffffff;
  padding: 32px 0 56px;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
}

.announcements-section .container {
  width: min(100% - 32px, 1320px);
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}


.announcements-header {
  margin-bottom: 28px;
}

.announcements-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.announcements-title {
  margin: 0;
  font-size: 37px;
  font-weight: 600;
  line-height: 1.2;
  color: #143d6b;
}

.announcements-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  color: #143d6b;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  white-space: nowrap;
}

.announcements-all-link:hover {
  opacity: 0.8;
  transform: translateY(-1px);
  color: #143d6b;
  text-decoration: none;
}

.announcements-all-link span {
  font-size: 20px;
  line-height: 1;
}

.announcements-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.announcements-state-list {
  min-height: 170px;
  align-items: center;
  justify-content: center;
}

.announcements-message {
  margin: 0;
  padding: 24px 0;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #4f5d6b;
}

.announcement-card {
  width: 100%;
  min-height: 128px;
  background: #f8f8f8;
  border: 1px solid #e8ebef;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 20px;
  box-shadow: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.announcement-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 61, 107, 0.18);
}

.announcement-left {
  flex: 0 0 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.announcement-icon-box {
  width: 96px;
  height: 96px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.announcement-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
}

.announcement-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.announcement-date {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #ff4d4f;
}

.announcement-card-title {
  margin: 0 0 7px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.32;
  color: #0d4a78;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.announcement-card-title a {
  color: inherit;
  text-decoration: none;
}

.announcement-card-title a:hover {
  color: #143d6b;
  text-decoration: none;
}

.announcement-description {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #4f4f4f;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* HTML tag-ların görünməməsi üçün əlavə qoruma */
.announcement-description * {
  display: inline;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
}

.announcement-right {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-arrow-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #a8a8a8;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.announcement-arrow-icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.8;
}

.announcement-arrow-btn:hover {
  color: #0d4a78;
  background-color: rgba(13, 74, 120, 0.08);
  transform: translateX(2px);
  text-decoration: none;
}

@media (max-width: 1399px) {
  .announcements-section {
    padding: 30px 0 52px;
  }

  .announcements-title {
    font-size: 35px;
  }

  .announcements-all-link {
    font-size: 17px;
  }

  .announcement-card {
    min-height: 118px;
    padding: 14px 18px;
    gap: 16px;
  }

  .announcement-left {
    flex-basis: 88px;
  }

  .announcement-icon-box {
    width: 88px;
    height: 88px;
  }

  .announcement-icon {
    width: 50px;
    height: 50px;
  }

  .announcement-card-title {
    font-size: 18px;
  }

  .announcement-description {
    font-size: 13.5px;
    line-height: 1.48;
  }
}

@media (max-width: 1199px) {
  .announcements-section {
    padding: 28px 0 46px;
  }

  .announcements-header {
    margin-bottom: 24px;
  }

  .announcements-title {
    font-size: 32px;
  }

  .announcements-all-link {
    font-size: 16px;
  }

  .announcements-all-link span {
    font-size: 18px;
  }

  .announcements-list {
    gap: 14px;
  }

  .announcement-card {
    min-height: 108px;
    padding: 13px 16px;
    gap: 14px;
    border-radius: 13px;
  }

  .announcement-left {
    flex-basis: 78px;
  }

  .announcement-icon-box {
    width: 78px;
    height: 78px;
    border-radius: 11px;
  }

  .announcement-icon {
    width: 44px;
    height: 44px;
  }

  .announcement-date {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .announcement-card-title {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .announcement-description {
    font-size: 13px;
    line-height: 1.45;
  }

  .announcement-right {
    flex-basis: 42px;
  }

  .announcement-arrow-btn {
    width: 36px;
    height: 36px;
  }

  .announcement-arrow-icon {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 991px) {
  .announcements-section {
    padding: 26px 0 40px;
  }

  .announcements-header {
    margin-bottom: 22px;
  }

  .announcements-title {
    font-size: 29px;
  }

  .announcements-all-link {
    font-size: 14.5px;
  }

  .announcements-all-link span {
    font-size: 17px;
  }

  .announcement-card {
    min-height: 98px;
    padding: 12px 14px;
    gap: 12px;
    border-radius: 12px;
  }

  .announcement-left {
    flex-basis: 66px;
  }

  .announcement-icon-box {
    width: 66px;
    height: 66px;
    border-radius: 10px;
  }

  .announcement-icon {
    width: 37px;
    height: 37px;
  }

  .announcement-date {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .announcement-card-title {
    font-size: 15.8px;
    line-height: 1.3;
    margin-bottom: 5px;
  }

  .announcement-description {
    font-size: 12.2px;
    line-height: 1.4;
  }

  .announcement-right {
    flex-basis: 36px;
  }

  .announcement-arrow-btn {
    width: 32px;
    height: 32px;
  }

  .announcement-arrow-icon {
    width: 23px;
    height: 23px;
  }

  .announcements-message {
    font-size: 14px;
  }

  .announcements-state-list {
    min-height: 140px;
  }
}

@media (max-width: 767px) {
  .announcements-section {
    padding: 24px 0 36px;
  }

  .announcements-header {
    margin-bottom: 18px;
  }

  .announcements-header-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .announcements-title {
    font-size: 25px;
  }

  .announcements-all-link {
    font-size: 13px;
    gap: 6px;
  }

  .announcements-all-link span {
    font-size: 15px;
  }

  .announcements-list {
    gap: 12px;
  }

  .announcement-card {
    min-height: 88px;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 11px;
  }

  .announcement-left {
    flex-basis: 54px;
  }

  .announcement-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 9px;
  }

  .announcement-icon {
    width: 30px;
    height: 30px;
  }

  .announcement-date {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .announcement-card-title {
    font-size: 14.2px;
    line-height: 1.28;
    margin-bottom: 4px;
  }

  .announcement-description {
    font-size: 11.2px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .announcement-right {
    flex-basis: 30px;
  }

  .announcement-arrow-btn {
    width: 28px;
    height: 28px;
  }

  .announcement-arrow-icon {
    width: 20px;
    height: 20px;
  }

  .announcements-message {
    font-size: 13px;
  }

  .announcements-state-list {
    min-height: 120px;
  }
}

@media (max-width: 575px) {
  .announcements-section {
    padding: 22px 0 32px;
  }

  .announcements-header {
    margin-bottom: 16px;
  }

  .announcements-header-row {
    gap: 10px;
  }

  .announcements-title {
    font-size: 22px;
  }

  .announcements-all-link {
    font-size: 12px;
  }

  .announcements-all-link span {
    font-size: 14px;
  }

  .announcement-card {
    min-height: 78px;
    gap: 9px;
    padding: 10px 11px;
    border-radius: 10px;
  }

  .announcement-left {
    flex-basis: 46px;
  }

  .announcement-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 8px;
  }

  .announcement-icon {
    width: 26px;
    height: 26px;
  }

  .announcement-date {
    font-size: 10.2px;
    margin-bottom: 3px;
  }

  .announcement-card-title {
    font-size: 12.8px;
    line-height: 1.25;
    margin-bottom: 3px;
  }

  .announcement-description {
    font-size: 10.3px;
    line-height: 1.3;
  }

  .announcement-right {
    flex-basis: 26px;
  }

  .announcement-arrow-btn {
    width: 25px;
    height: 25px;
  }

  .announcement-arrow-icon {
    width: 18px;
    height: 18px;
  }

  .announcements-message {
    font-size: 12.5px;
  }
}

@media (max-width: 480px) {
  .announcements-section {
    padding: 20px 0 28px;
  }

  .announcements-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .announcements-title {
    font-size: 20px;
  }

  .announcements-all-link {
    font-size: 11.5px;
  }

  .announcements-list {
    gap: 10px;
  }

  .announcement-card {
    min-height: 72px;
    gap: 8px;
    padding: 9px 10px;
  }

  .announcement-left {
    flex-basis: 40px;
  }

  .announcement-icon-box {
    width: 40px;
    height: 40px;
  }

  .announcement-icon {
    width: 22px;
    height: 22px;
  }

  .announcement-date {
    font-size: 9.5px;
  }

  .announcement-card-title {
    font-size: 11.8px;
    line-height: 1.22;
  }

  .announcement-description {
    font-size: 9.7px;
    line-height: 1.25;
  }

  .announcement-right {
    flex-basis: 23px;
  }

  .announcement-arrow-btn {
    width: 23px;
    height: 23px;
  }

  .announcement-arrow-icon {
    width: 16px;
    height: 16px;
  }

  .announcements-state-list {
    min-height: 105px;
  }
}

@media (max-width: 420px) {
  .announcements-section {
    padding: 18px 0 26px;
  }

  .announcements-header {
    margin-bottom: 14px;
  }

  .announcements-title {
    font-size: 18.5px;
  }

  .announcements-all-link {
    font-size: 10.8px;
  }

  .announcement-card {
    min-height: 66px;
    gap: 7px;
    padding: 8px 9px;
    border-radius: 9px;
  }

  .announcement-left {
    flex-basis: 36px;
  }

  .announcement-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 7px;
  }

  .announcement-icon {
    width: 20px;
    height: 20px;
  }

  .announcement-date {
    font-size: 9px;
    margin-bottom: 2px;
  }

  .announcement-card-title {
    font-size: 11px;
    line-height: 1.2;
    margin-bottom: 2px;
  }

  .announcement-description {
    font-size: 9px;
    line-height: 1.22;
  }

  .announcement-right {
    flex-basis: 21px;
  }

  .announcement-arrow-btn {
    width: 21px;
    height: 21px;
  }

  .announcement-arrow-icon {
    width: 15px;
    height: 15px;
  }

  .announcements-message {
    font-size: 11.8px;
  }
}

@media (max-width: 360px) {
  .announcements-section {
    padding: 16px 0 24px;
  }

  .announcements-title {
    font-size: 17px;
  }

  .announcements-all-link {
    font-size: 10px;
  }

  .announcement-card {
    min-height: 60px;
    gap: 6px;
    padding: 7px 8px;
  }

  .announcement-left {
    flex-basis: 32px;
  }

  .announcement-icon-box {
    width: 32px;
    height: 32px;
  }

  .announcement-icon {
    width: 18px;
    height: 18px;
  }

  .announcement-date {
    font-size: 8.3px;
  }

  .announcement-card-title {
    font-size: 10.3px;
  }

  .announcement-description {
    font-size: 8.4px;
    line-height: 1.2;
  }

  .announcement-right {
    flex-basis: 19px;
  }

  .announcement-arrow-btn {
    width: 19px;
    height: 19px;
  }

  .announcement-arrow-icon {
    width: 14px;
    height: 14px;
  }

  .announcements-message {
    font-size: 11px;
  }
}
@media (max-width: 1199px) {
  .announcements-section .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 991px) {
  .announcements-section .container {
    width: min(100% - 24px, 1320px);
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 767px) {
  .announcements-section .container {
    width: min(100% - 20px, 1320px);
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 575px) {
  .announcements-section .container {
    width: min(100% - 18px, 1320px);
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media (max-width: 420px) {
  .announcements-section .container {
    width: min(100% - 14px, 1320px);
    padding-left: 4px;
    padding-right: 4px;
  }
}
