/*
Theme Name: GeneratePress Child
Template: generatepress
*/

/* ===== fragman.gen.tr Ana Sayfa Stil ===== */
.fgt-wrap { max-width: 1200px; margin: 0 auto; padding: 16px; }
.fgt-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.fgt-more { font-size:14px; text-decoration:none; }
.fgt-section { margin: 22px 0; }

.fgt-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.fgt-hero-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }

.fgt-card, .fgt-hero-card {
  border:1px solid #eee;
  border-radius:14px;
  overflow:hidden;
  padding:12px;
  background:#fff;
  position: relative;
}

.fgt-thumb img, .fgt-hero-thumb img { width:100%; height:auto; display:block; border-radius:10px; }
.fgt-title, .fgt-hero-title { font-size:16px; margin:10px 0 6px; line-height:1.25; }
.fgt-title a, .fgt-hero-title a { text-decoration:none; }
.fgt-meta { font-size:12px; opacity:.75; }

.fgt-catgrid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.fgt-cat {
  border:1px solid #eee;
  padding:12px;
  border-radius:12px;
  text-decoration:none;
  text-align:center;
}

/* ===== Kategori etiketi (badge) ===== */
.fgt-badge{
  display:inline-block;
  font-size:12px;
  line-height:1;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid #eee;
  text-decoration:none;
  margin-bottom:10px;
}

.fgt-badge:hover{
  border-color:#ddd;
}

@media (max-width: 900px){
  .fgt-grid, .fgt-hero-grid { grid-template-columns:repeat(2,1fr); }
  .fgt-catgrid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 520px){
  .fgt-grid, .fgt-hero-grid, .fgt-catgrid { grid-template-columns:1fr; }
}
