
.seotemel-edumaster-grid{
  display: grid;
  grid-template-columns: repeat(var(--seotemel-cols, 7), minmax(0, 1fr)) !important;
  gap: 16px;
  margin: 18px 0;
  position: relative;
}
.seotemel-card{
  position: relative;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  outline: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.seotemel-card:focus,
.seotemel-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.seotemel-card-image{
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f2f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seotemel-card-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.seotemel-card-placeholder{
  color: rgba(0,0,0,0.55);
  font-weight: 600;
}
.seotemel-card-title{
  padding: 10px 12px;
  font-weight: 700;
  font-size: 14px;
}
.seotemel-card:hover .seotemel-tooltip,
.seotemel-card:focus .seotemel-source{
  grid-column: 1 / -1;
  font-size: 13px;
  color: rgba(0,0,0,0.65);
}
.seotemel-source a{
  font-weight: 700;
  text-decoration: underline;
}

.seotemel-modal{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}
.seotemel-modal.is-open{
  display: block;
}
.seotemel-modal-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.seotemel-modal-dialog{
  position: relative;
  max-width: 640px;
  width: calc(100% - 24px);
  margin: 8vh auto;
  background: #fff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}
.seotemel-modal-title{
  margin: 6px 28px 10px 0;
  font-size: 20px;
}
.seotemel-modal-desc{
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
.seotemel-modal-actions{
  display:flex;
  justify-content:flex-end;
  margin-top: 14px;
}
.seotemel-modal-close-btn{
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  background: rgba(0,0,0,0.08);
  font-weight: 700;
}
.seotemel-modal-close-btn:hover{
  background: rgba(0,0,0,0.12);
}


@media (max-width: 1024px){
  .seotemel-edumaster-grid{
    grid-template-columns: repeat(var(--seotemel-cols, 7), minmax(0, 1fr)) !important;
  }
}
@media (max-width: 768px){
  .seotemel-edumaster-grid{
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}
}
@media (max-width: 480px){
  .seotemel-edumaster-grid{
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}
}
