.sriram-home-news-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sriram-home-news-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sriram-home-news-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 51, 64, 0.55);
}

.sriram-home-news-modal__box {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: min(85vh, 560px);
  overflow: auto;
  margin: 0;
  padding: 22px 20px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.sriram-home-news-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #f0f4f2;
  color: #226643;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.sriram-home-news-modal__close:hover,
.sriram-home-news-modal__close:focus {
  background: #226643;
  color: #fff;
  outline: none;
}

.sriram-home-news-modal__title {
  margin: 0 36px 14px 0;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #226643;
  line-height: 1.3;
}

.sriram-home-news-modal__list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.sriram-home-news-modal__item {
  padding: 12px 0;
  border-bottom: 1px solid #e8ecea;
}

.sriram-home-news-modal__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sriram-home-news-modal__lang {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #e12454;
}

.sriram-home-news-modal__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #444;
}

.sriram-home-news-modal__text a {
  color: #226643;
  font-weight: 600;
  text-decoration: underline;
}

.sriram-home-news-modal__more {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #226643;
}

.sriram-home-news-modal__more:hover {
  color: #e12454;
}

body.sriram-home-news-modal-open {
  overflow: hidden;
}

html.sriram-dark-theme .sriram-home-news-modal__box {
  background: #1a2e28;
  border: 1px solid #2d4a40;
}

html.sriram-dark-theme .sriram-home-news-modal__title {
  color: #7dcea0;
}

html.sriram-dark-theme .sriram-home-news-modal__text {
  color: #d8e4de;
}

html.sriram-dark-theme .sriram-home-news-modal__item {
  border-bottom-color: #2d4a40;
}

html.sriram-dark-theme .sriram-home-news-modal__close {
  background: #2d4a40;
  color: #c8e6d4;
}
