.new3-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1056px;
    margin: 0 auto 24px;
    font-family: sans-serif;
}

.input-items-row {
    display: flex;
    align-items: center;
    gap:16px;
}

.writer-search-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.writer-search-container .writer-search-input {
    width: 100%;
    padding: 6px 12px;
    border-radius: 4px;
    background-color: #FFF;
    color: #000;
    font-size: 14px;
    border: none;
    box-sizing: border-box;
    outline: none; 
    padding: 10px 40px 10px 10px;
}

.writer-search-container .writer-search-input::placeholder {
    color: #6D6D6D;
}

.writer-search-container .writer-search-input:focus-visible .writer-custom-select:focus-visible {
   border: 1px solid#e2e2e2;
   outline: none;
}

.writer-search-container .search-input-button {
position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  color: #666;
}

.writer-custom-select select {
    appearance: none; 
    -webkit-appearance: none; 
    -moz-appearance: none;
    background-color: #FFF;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 10px 40px 10px 12px;
    font-size: 14px;
    color: #333;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
    width: 200px;
    outline: none;
  }

.writer-btn {
    background-color: #FB0D1B;
    border-radius: 4px;
    padding:8px;
}

.writer-btn a {
    color: #FFF !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    text-decoration: none;
}

.writer-ico {
    padding-left: 8px;
}

.new3-writer-container {
    max-width: 1056px;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    gap: 16px;
    font-family: sans-serif;
}

.new3-writer-box {
    flex: 1 1 calc(33.333% - 10.66px);
    max-width: calc(33.333% - 10.66px);
    height: auto;
    display: flex;
    padding: 16px;
    border-radius: 0 0 4px 4px;
    background-color: #FFFFFF;
    border-top: 4px solid #FB0D1B;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.10);
}

.new3-writer-img {
    display: block;
    margin-right: 10px;
}

.new3-writer-info {
    display: grid;
    width:100%;
}

.writer-date-col {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.new3-writer-info h6, .new3-writer-info a, .writer-btn a{
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
    margin: 0;
    color: #000;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    -webkit-line-clamp: 1;
}

.new3-writer-info a {
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.new3-writer-info a.writer-all {
    font-size: 12px;
    font-weight: 700;
}

.new3-writer-info span {
    font-size: 12px;
    font-weight: 400;
    color: #888888;
}

.new3-writer-info .line,
.article .line {
    background: #e2e2e2;
    height: 1px;
    margin: 10px 0;
}

.new3card-hor-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 auto;
}

.new3card-hor {
    width: 100%;
    height: auto;
    background-color: #000000;
    overflow: hidden;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 16px;
    font-family: sans-serif;
    color: #FFFFFF;
    line-height: 134%;
    border-left: 4px solid #780000;
}

/* detay.html için css kısmı */

.hb-detail-container {
    background-color: #FFF;
    max-width: 1056px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    box-shadow: 0 4px 6px 0 rgba(185, 185, 185, 0.5);
}

.author-header {
  position: relative;
  background-color: #c00;
  color: white;
  height: 55px; 
  padding-left: 170px;
  display: flex;
  align-items: center;
  gap:24px;
  margin-bottom: 24px;
}

.author-photo {
  position: absolute;
  top: 30px;
  left: 24px;
  width: 100%;
  height: auto;
}

.author-photo .image-wrapper {
  position: relative;
  display: inline-block;
}

.author-photo .profile-link {
  position: absolute;
  top: 36px;
  left: 145px;
  text-decoration: none;
  width:100%;
}

.author-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.author-title {
  font-weight: bold;
}

.profile-link {
  font-size: 14px;
  text-decoration: none;
}

.article {
  padding: 104px 24px 24px;
}

.article h1 {
  font-size: 36px;
  margin: 0;
  line-height:140%;
}

.date-icon-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta {
  font-size: 12px;
  color: #555;
}

.meta span {
  margin-right: 15px;
  font-size: 12px;
  font-weight: 400;
}

.social-icons img {
  width: 32px;
  height: 32px;
  margin-left: 10px;
}

.hb-detail-text {
    padding: 0 24px 24px;
    margin-bottom:36px;
}

.hb-detail-text img {
    width:100%;
    height:auto;
}

.hb-detail-text p {
    font-size: 18px;
        font-weight: 400;
        margin-top: 0;
        width: auto;
        display: block;
        line-height: 145%;
        margin-bottom:24px;
}

@media screen and (max-width: 767px) {
    .new3-title-bar {
        flex-wrap:wrap;
    }

    .article h1 {
        font-size: 26px;
    line-height: 125%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
     .new3-writer-box {
        flex: 1 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
}
