/* Rezbee news: home-page strip and the /haberler page. */
.news { padding: 3.5rem 2rem; background: #fff; }
.news .section-container { max-width: 1200px; margin: 0 auto; }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.news-head h2 { font-size: 1.9rem; font-weight: 800; color: #1A1A2E; margin: .4rem 0 .3rem; }
.news-head p { margin: 0; color: #666; font-size: 1rem; }
.news-all { font-weight: 700; color: #00747F; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; }
.news-all:hover { text-decoration: underline; }

.news-track { display: flex; gap: 1rem; overflow-x: auto; padding: .25rem .25rem 1rem; margin: 0 -.25rem; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.news-track::-webkit-scrollbar { display: none; }
.news-track > li { flex: none; width: 340px; scroll-snap-align: start; }
@media (max-width: 520px) { .news-track > li { width: 82vw; } }

.news-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #E3EBED; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s; }
a.news-card:hover, a.news-card:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10,30,35,.12); outline: none; }
.news-cover { aspect-ratio: 16 / 9; background: #EAF8FB; overflow: hidden; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-cover.empty { display: grid; place-items: center; background: linear-gradient(135deg, #00BCD4, #0097A7); color: #fff; font-size: 2.2rem; }
.news-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.news-date { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #00747F; margin: 0; }
.news-title { font-size: 1.08rem; font-weight: 800; color: #1A1A2E; margin: 0; line-height: 1.3; }
.news-summary { font-size: .9rem; color: #666; margin: 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { margin-top: auto; padding-top: .6rem; font-size: .86rem; font-weight: 700; color: #00747F; }
.news-empty { color: #666; padding: 1.5rem 0; }

/* Full list (/haberler) */
.news-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; }
.news-post { display: grid; grid-template-columns: 300px 1fr; gap: 1.4rem; background: #fff; border: 1px solid #E3EBED; border-radius: 18px; overflow: hidden; }
.news-post .news-cover { aspect-ratio: auto; position: relative; min-height: 220px; }
.news-post .news-cover img { position: absolute; inset: 0; width: 100%; height: 100%; }
.news-post .news-body { padding: 1.2rem 1.3rem 1.3rem; gap: .5rem; }
.news-post .news-title { font-size: 1.35rem; }
.news-post .news-text p { margin: 0 0 .7rem; color: #444; font-size: .97rem; line-height: 1.65; }
.news-post .news-text p:last-child { margin-bottom: 0; }
.news-post .news-link { margin-top: .4rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: #00747F; text-decoration: none; }
.news-post .news-link:hover { text-decoration: underline; }
.news-gallery { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.news-gallery img { width: 110px; height: 82px; object-fit: cover; border-radius: 10px; border: 1px solid #E3EBED; }
@media (max-width: 760px) {
  .news { padding: 2.6rem 1rem; }
  .news-head h2 { font-size: 1.5rem; }
  .news-post { grid-template-columns: 1fr; }
  .news-post .news-cover { aspect-ratio: 16 / 9; min-height: 0; }
}
