/* Haberler modülü: blog listesi, yazı sayfası, ana sayfa vitrini. Renkler tema değişkenlerinden gelir. */
.news-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .news-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.md-blog .item { margin-bottom: 1.5rem; }
.md-blog .item .image { display: block; }
.md-blog .item .image img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 350; object-fit: cover; }
.md-blog .item h2 { margin: 15px 0 10px; font-size: 1.25rem; }
.md-blog .item h2 a { color: var(--text); transition: color .3s; }
.md-blog .item h2 a:hover { color: var(--accent-dark); }
.md-blog .item small { display: block; margin-bottom: 10px; color: var(--muted); font-style: italic; }
.md-blog .item p { margin-bottom: 20px; color: var(--muted); font-size: 16px; line-height: 1.8em; }
.md-blog .item p a.more { color: var(--accent-dark); white-space: nowrap; }
.news-grid-3 .item h2 { font-size: 1rem; }

.news-post .blog-title { font-size: 26px; }
.news-meta { margin: 0 0 1rem; color: var(--muted); font-size: 14px; font-style: italic; }
.news-hero { margin: 0 0 1.25rem; text-align: center; }
.news-hero img { display: inline-block; width: auto; max-width: 100%; height: auto; }
.news-content { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.news-content p { text-align: justify; }
.news-content a { color: var(--accent-dark); }
.news-content img { max-width: 100%; height: auto; }
.news-content iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; margin: 0 0 1rem; }
.news-content .embed-responsive { margin-bottom: 1rem; }
.news-content h2, .news-content h3, .news-content h4, .news-content h5 { margin: 1.5rem 0 .75rem; font-size: 1.15rem; font-weight: 600; }
.news-content ul, .news-content ol { padding-left: 1.5rem; }
.news-related { margin-top: 2rem; }

/* Ana sayfa vitrini */
.news-carousel { position: relative; margin: 0 0 1.5rem; }
.news-carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.news-carousel-track::-webkit-scrollbar { display: none; }
.news-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 825 / 370; background: var(--navy); overflow: hidden; }
.news-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.news-slide-caption { position: absolute; left: 15%; right: 15%; bottom: 0; z-index: 2; padding: 0 0 20px; text-align: center; }
.news-slide-caption h2 { margin: 0; font-size: 1.25rem; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.news-slide-caption a { color: #fff; }
.news-carousel-btn { position: absolute; top: 0; bottom: 0; z-index: 3; width: 15%; max-width: 70px; border: 0; background: none; color: #fff; font-size: 48px; line-height: 1; opacity: .7; transition: opacity .2s; }
.news-carousel-btn:hover, .news-carousel-btn:focus-visible { opacity: 1; }
.news-carousel-btn.prev { left: 0; }
.news-carousel-btn.next { right: 0; }
@media (max-width: 575px) {
	.news-slide-caption { left: 10%; right: 10%; padding-bottom: 10px; }
	.news-slide-caption h2 { font-size: 13px; }
	.news-carousel-btn { font-size: 34px; }
}

/* Kenar çubuğu */
.sidebar-news { margin-top: 1.5rem; }
.sidebar-news .sidebar-blog { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
@media (min-width: 576px) and (max-width: 991px) { .sidebar-news .sidebar-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }