.smi-intro {
  background: #ffffff;
  border-radius: 999px;
  padding: 12px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #2F343B;
  text-align: center;
  margin: 0 auto 30px;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  line-height: 1.4;
}

.smi-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(22, 36, 68, 0.04);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  padding: 13px;
  border: 1px solid #E6EAF0;
  width: 252px;
  box-sizing: border-box;
}

.smi-card__photo-wrap {
  border-radius: 12px;
  overflow: hidden;
  width: 226px;
  height: 226px;
  margin-bottom: 14px;
  border: 1px solid #E6EAF0;
}

.smi-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.smi-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.smi-card__title {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2F343B;
  line-height: 1.4;
  margin-bottom: 10px;
}

.smi-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.smi-card__issue {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #1F5FBF;
}

.smi-card__date {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #6B7280;
}

.smi-issue-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 42px 8px 42px;
  margin: 0 auto 30px;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(22, 36, 68, 0.04);
  border: 1px solid rgba(31, 95, 191, 0.1);
  height: 56px;
}

.smi-issue-meta__gazeta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EAF2FF;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #1F5FBF;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 15px;
  height: 30px;
}

.smi-issue-meta__title {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  font-style: italic;
  color: #2F343B;
}

.smi-issue-meta__pages {
  font-family: 'PT Serif', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #6B7280;
  margin-left: 15px;
}

.smi-issue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  gap: 16px;
  row-gap: 10px;
  padding: 0 70px;
  width: 100%;
}

.smi-issue-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(22, 36, 68, 0.04);
  padding: 10px 15px;
  border: 1px solid #E6EAF0;
  align-items: center;
  text-decoration: none;
  width: 252px;
  box-sizing: border-box;
}

.smi-issue-card__photo-wrap {
  width: 222px;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
  border: 1px solid #E6EAF0;
}

.smi-issue-card__photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.smi-issue-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 16px;
  border-radius: 12px;
  background: #EAF2FF;
  color: #1F5FBF;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.smi-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.smi-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.smi-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 41, 54, 0.65);
  backdrop-filter: blur(8px);
}

.smi-modal__close {
  position: absolute;
  top: 40px;
  right: 60px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 1002;
}
.smi-modal__close svg {
  width: 24px;
  height: 24px;
}

.smi-modal__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 1002;
}
.smi-modal__arrow--left {
  left: 60px;
}
.smi-modal__arrow--right {
  right: 60px;
}
.smi-modal__arrow svg {
  width: 28px;
  height: 28px;
}

.smi-modal__box {
  position: relative;
  z-index: 1001;
  background: #F8F9FA;
  width: 760px;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  overflow: hidden;
}

.smi-modal__header {
  padding: 45px 60px 0;
  text-align: center;
  flex-shrink: 0;
}

.smi-modal__paper-title {
  font-family: 'PT Serif', 'Georgia', serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 700;
  color: #2F343B;
  margin-bottom: 14px;
}

.smi-modal__paper-meta {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-bottom: 20px;
  border-bottom: 2px solid #D6E0EF;
}

.smi-modal__body {
  padding: 35px 60px;
  overflow-y: auto;
  flex: 1;
}

.smi-modal__photo {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin-bottom: 40px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.smi-modal__article-title {
  font-family: 'PT Serif', 'Georgia', serif;
  font-size: 28px;
  font-weight: 700;
  color: #2F343B;
  margin-bottom: 24px;
  line-height: 1.3;
}

.smi-modal__text {
  font-family: 'PT Serif', 'Georgia', serif;
  font-size: 16px;
  line-height: 1.8;
  color: #3b424d;
}

.smi-modal__text p {
  margin-bottom: 22px;
  font-size: 15px;
  font-weight: 400;
}

.smi-modal__text p:last-child {
  margin-bottom: 0;
}

.smi-modal__text .bold-intro {
  font-weight: 700;
  font-size: 16px;
}

.smi-modal__footer {
  padding: 0 60px 40px;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #8c93a1;
  flex-shrink: 0;
  letter-spacing: 2px;
}

.smi-modal__footer::before {
  content: "";
  display: block;
  margin-bottom: 25px;
  border-top: 2px solid #D6E0EF;
}

.smi-modal__arrow svg {
  pointer-events: none;
}
