@charset "UTF-8";
@import url("social.css");
/* CSS Document */

body {
	background-color: #FFF;	
}
img {
  display: block;
  position:relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

#container {
	margin-right: auto;
	margin-left: auto;
}
#footer {
	clear: both;
	float: none;
}


/* === Releases Section === */
#releases{
  max-width: 1200px;
  margin: 40px auto 20px auto;
  padding: 0 16px;
}
#releases h2{
  font: 600 28px/1.2 Arial, Helvetica, sans-serif;
  margin: 0 0 8px 0;
}
#releases .releases-sub{
  color:#555;
  margin: 0 0 16px 0;
}
.releases-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.release-card{
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.release-meta{
  padding: 8px 4px 0 4px;
}
.release-meta h3{
  font: 600 18px/1.3 Arial, Helvetica, sans-serif;
  margin: 4px 0 2px 0;
}
.release-type{
  color:#666;
  font-size: 12px;
  margin: 0 0 8px 0;
}
.release-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.release-links a{
  display:inline-block;
  padding:6px 10px;
  border:1px solid #ddd;
  border-radius: 999px;
  text-decoration:none;
  color:#111;
  font-size: 12px;
}
.release-links a:hover{ background:#f7f7f7; }
@media (prefers-color-scheme: dark){
  body{ background:#0b0b0b; color:#f1f1f1; }
  .release-card{ background:#111; border-color:#222; }
  .release-links a{ color:#f1f1f1; border-color:#333; }
  .release-links a:hover{ background:#1a1a1a; }
  #releases .releases-sub{ color:#aaa; }
}
/* === Releases (mobil-öncelikli, responsive) === */
#releases{
  max-width: 1200px;
  margin: 24px auto 32px auto;
  padding: 0 12px;
}

/* Grid: küçük ekranda 1, büyüdükçe 2-3-4 sütuna geçer */
.releases-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* Grid desteklemeyen eski tarayıcılar için esnek fallback */
@supports not (display: grid){
  .releases-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  .release-card{
    width: calc(50% - 8px);
  }
  @media (max-width: 520px){
    .release-card{ width: 100%; }
  }
}

/* Kart stili */
.release-card{
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
}

/* Oran korumalı iframe kutusu: 16:9 */
.release-embed{
  position: relative;
  width: 100%;
  /* İstersen 56.25% (16:9) yerine 75% (4:3) de kullanabilirsin */
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 12px;
}

/* İframe, kutuyu tamamen doldursun; HTML’deki height değerini geçersiz kıl */
.release-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  border: 0;
}

/* Metin ve butonlar */
.release-meta{ padding: 10px 4px 0; }
.release-meta h3{
  font: 600 18px/1.3 Arial, Helvetica, sans-serif;
  margin: 6px 0 2px;
}
.release-type{
  color: #666;
  font-size: 12px;
  margin: 0 0 8px;
}

.release-links{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.release-links a{
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 999px;
  text-decoration: none;
  color: #111;
  font-size: 12px;
}
.release-links a:hover{ background: #f7f7f7; }

/* Küçük ekranlarda tipografi ve aralıkları sıkılaştır */
@media (max-width: 480px){
  #releases{ padding: 0 10px; }
  .release-meta h3{ font-size: 16px; }
  .release-links a{ flex: 1 1 auto; text-align: center; }
}

/* Karanlık kip uyumu (istersen) */
@media (prefers-color-scheme: dark){
  .release-card{ background:#111; border-color:#222; }
  .release-links a{ color:#f1f1f1; border-color:#333; }
  .release-links a:hover{ background:#1a1a1a; }
  .release-type{ color:#aaa; }
}

