/* ==================== YAZARLARIMIZ PAGE LAYOUT ==================== */

/* This is the main container for the page */
.Yazarlarımız-page {
margin:0 12vw;
}

/* This is the flex container for the content and sidebar */
.container {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  width:100%;
}

/* The main content column on the left */
.yazarlar-list {
  flex: 1;
  width:75%;
}

/* The sidebar column on the right */
.yazarlar-side {
  width: 25%;
  flex-shrink: 0;
}

/* ==================== WRITER CARDS GRID (THE FIX) ==================== */

/* This is the most important rule. It creates the grid. */
.yazarlar-cell {
  display: grid;
  /* Create 3 columns by default */
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 30px;
}

/* Individual writer card */
.yazar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.yazar:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.yazar-link-wrapper {
  text-decoration: none;
  color: inherit;
}

.yazar-image-container {
  width: 150px;
  height: 150px;
  border-radius: 50%; /* Make it circular */
  overflow: hidden;
  margin-bottom: 15px;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.yazar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yazar .red-header {
  font-size: 1.2rem;
  font-weight: 600;
  color: #d82126; /* Brand red */
  margin-bottom: 5px;
}

.yazar p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.writers-buttons-wrappers .btn-blue {
  align-items: center;
    background-color: #c2c2c24a;
    border: none;
    border-radius: 5px;
    color: #202020;
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin-top: 15px;
    padding: 10px 20px;
    transition: background-color .3s ease
}

.writers-buttons-wrappers .btn-blue:hover {
  background-color: #d82126;
  color: white;
  border-color: #d82126;
}

/* ==================== RESPONSIVE STYLES ==================== */

@media (max-width: 768px) {
  /* On tablets, stack the sidebar below */
  .container {
    flex-direction: column;
  }
  .yazarlar-list {
  width:100%;
}.yazarlar-side {
    width: 100%;
    margin-top: 30px;
  }
}
@media (max-width: 992px) {
  /* On tablets, stack the sidebar below */
  
  
  /* Use 2 columns for writers */
  .yazarlar-cell {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  /* On mobile, use a single column */
  .yazarlar-cell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1000px) {
.Yazarlarımız-page {
margin:0 5vw;
}

}



/* -------------------------------- */
/* yarınların sesi */
/* -------------------------------- */

.child-yazar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  background-image: url("/static/kibrisliapp/img/child-editor-card-bg.jpg");
  background-size: cover;

}

.child-yazar:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.child-yazar  .yazar-link-wrapper{
  width:100%;
  display: flex;
  flex-direction: column;
align-items: center;
}

.child-yazar .red-header {
  font-size: 1.2rem;
  font-weight: 600;
  color: #142745; /* Brand red */
  margin-bottom: 5px;
}

.child-yazar p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}



.child-yazar-last-news-header{
    font-size: 0.9rem;
  color: #D82126;
  margin-bottom: 15px;
    display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}









