.gyf-gallery{
  max-width: 100%;
}

.gyf-main{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,81,168,0.15);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.gyf-main-link{
  display: block;
  text-decoration: none !important;
}

.gyf-main-media{
  position: relative;
  background: #0b1f3a;
}

.gyf-main-img{
  width: 100%;
  height: auto;
  display: block;
}

.gyf-open-badge{
  position: absolute;
  right: 12px;
  bottom: 12px;
  background-color: #FF0033;
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.gyf-main-meta{
  padding: 14px 16px 16px;
}

.gyf-main-title{
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  color: #0b2e5f;
  line-height: 1.2;
  text-decoration: none !important;
}

.gyf-main-title:hover{
  text-decoration: underline !important;
}

.gyf-main-desc{
  margin-top: 8px;
  color: #3b587a;
  line-height: 1.4;
}

.gyf-thumbs{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 980px){
  .gyf-thumbs{ grid-template-columns: repeat(2, 1fr); }
}

.gyf-thumb{
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  height: 92px;
  display: block;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  transition: border-color .15s ease, transform .15s ease;
}

.gyf-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gyf-thumb:hover{
  transform: translateY(-1px);
}

.gyf-thumb.is-active{
  border-color: #0051A8;
}

