/* Nevşehir Milat — Ana sayfa içerik düzeltmeleri (manşet sonrası) */

/* Bootstrap sütunlarının ana sayfada düzgün çalışması */
@media (min-width: 992px) {
  .home-page .home-blok-row {
    display: flex;
    flex-wrap: wrap;
  }
  .home-page .home-blok-row > .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
    max-width: 66.66666667%;
  }
  .home-page .home-blok-row > .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
    max-width: 33.33333333%;
  }
}

.home-page .home-blok-row .category-news-widget {
  width: 100%;
}

.home-page .cnw-grid {
  width: 100%;
}

.home-page .cnw-grid > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.home-page .cat-news-box {
  width: 100%;
}

/* Günün manşetleri — 2 sütun grid */
.home-page .b1-manset-widget {
  width: 100%;
}

.home-page .b1-manset-item {
  width: 100%;
  padding: 0.55rem 0.45rem;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.home-page .b1-manset-item:hover {
  background: #f6faf7;
  border-color: #dce8e1;
}

.home-page .b1-manset-body {
  min-width: 0;
  flex: 1;
}

.home-page .b1-manset-num {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--te-color, #D10A11);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 3px;
}

.home-page .b1-manset-img img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

.home-page .b1-manset-title {
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 0 0 0.2rem;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-page .b1-manset-time {
  font-size: 0.72rem;
  color: #999;
}

/* Mini manşet grid — eşit kartlar, büyük tek haber yok */
.home-page .mm-grid {
  width: 100%;
}

.home-page .mm-card {
  border: 1px solid #ececec;
  background: #fff;
  height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-page .mm-card:hover {
  border-color: #E5E5E5;
  box-shadow: 0 4px 14px rgba(209,10,17, 0.08);
}

.home-page .mm-card-img {
  aspect-ratio: 16 / 10;
  height: auto !important;
  max-height: none;
  overflow: hidden;
  background: #f3f3f3;
}

.home-page .mm-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-page .mm-card-body {
  padding: 8px 10px 10px !important;
}

.home-page .mm-card-title {
  font-size: 0.84rem !important;
  font-weight: 650 !important;
  line-height: 1.38 !important;
  -webkit-line-clamp: 2 !important;
  margin-bottom: 4px !important;
}

.home-page .mm-grid .hn-cat-label {
  font-size: 0.62rem;
  margin-bottom: 3px;
}

.home-page .mm-grid--compact .mm-card-title {
  font-size: 0.8rem !important;
}

.home-page .mm-grid--compact .mm-card-img {
  aspect-ratio: 16 / 10;
}

@media (min-width: 992px) {
  .home-page .col-lg-8 .mm-grid .mm-card-img {
    max-height: 130px;
  }
  .home-page .col-lg-6 .mm-grid--compact .mm-card-img {
    max-height: 110px;
  }
}

@media (max-width: 575.98px) {
  .home-page .mm-card-body {
    padding: 6px 8px 8px !important;
  }
  .home-page .mm-card-title {
    font-size: 0.78rem !important;
  }
}

.home-page .cat-badge-mini {
  display: none !important;
}

/* Manşet blok — video oynat ikonu */
.home-page .hm-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.home-page .hm-play--lg {
  width: 56px;
  height: 56px;
  font-size: 18px;
}

.home-page .hm-block--photo .spor-header {
  border-bottom-color: #D10A11;
}

.home-page .hm-block--video .spor-header {
  border-bottom-color: #e53935;
}

.home-page .hm-manset-block .spor-body {
  padding: 10px;
}

/* Manşet blok — gelişmiş görünüm */
.home-page .hm-manset-block--pro {
  border: 1px solid rgba(209,10,17, 0.15);
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.12);
}

.home-page .hm-manset-block--pro .spor-header {
  background: linear-gradient(90deg, #2A2A2A 0%, #8A0309 55%, #D10A11 100%);
}

.home-page .hm-manset-block--pro .spor-main-overlay {
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.88) 100%);
}

.home-page .hm-manset-block--pro .spor-mini-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.home-page .hm-manset-block--pro .spor-slider-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
}

.home-page .hm-manset-block--pro .spor-slider-pagination .swiper-pagination-bullet-active {
  background: var(--te-color, #D10A11);
  border-color: var(--te-color, #D10A11);
  color: #fff;
}

/* Yan yana medya galeri (foto / video) */
.home-page .hm-media-gallery {
  background: #1E1E1E;
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 22px rgba(10, 22, 40, 0.1);
}

.home-page .hm-media-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: linear-gradient(90deg, #1E1E1E 0%, #2A2A2A 100%);
  border-bottom: 2px solid var(--te-color, #D10A11);
}

.home-page .hm-media--photo .hm-media-head {
  border-bottom-color: #D10A11;
}

.home-page .hm-media--video .hm-media-head {
  border-bottom-color: #e53935;
}

.home-page .hm-media-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.home-page .hm-media-all {
  color: var(--te-color, #D10A11);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.home-page .hm-media-all:hover {
  color: #fff;
}

.home-page .hm-media-body {
  padding: 8px;
}

.home-page .hm-media-slider-wrap {
  position: relative;
  margin-bottom: 8px;
}

.home-page .hm-media-slider {
  border-radius: 4px;
  overflow: hidden;
}

.home-page .hm-media-main {
  height: 200px;
}

.home-page .hm-media-main-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.home-page .hm-media-main:hover .hm-media-main-img {
  transform: scale(1.04);
}

.home-page .hm-media-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
}

.home-page .hm-media-badge {
  display: inline-block;
  background: var(--te-color, #D10A11);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 2px;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.home-page .hm-media--photo .hm-media-badge {
  background: #D10A11;
}

.home-page .hm-media--video .hm-media-badge {
  background: #e53935;
}

.home-page .hm-media-main-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-page .hm-media-time {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}

.home-page .hm-media-pagination {
  position: static !important;
  margin-top: 6px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.home-page .hm-media-pagination .swiper-pagination-bullet {
  width: 22px;
  height: 22px;
  line-height: 20px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  opacity: 1;
  margin: 0 !important;
}

.home-page .hm-media-pagination .swiper-pagination-bullet-active {
  background: var(--te-color, #D10A11);
  border-color: var(--te-color, #D10A11);
}

.home-page .hm-media-minis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.home-page .hm-media-mini {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  height: 88px;
  position: relative;
}

.home-page .hm-media-mini-img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.home-page .hm-media-mini:hover .hm-media-mini-img {
  transform: scale(1.05);
}

.home-page .hm-media-mini-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 6px 8px;
}

.home-page .hm-media-mini-title {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-page .hm-play--md {
  width: 48px;
  height: 48px;
  font-size: 16px;
}

.home-page .hm-play--sm {
  width: 30px;
  height: 30px;
  font-size: 10px;
}

/* Seri ilanlar */
.home-page .hm-classifieds-panel {
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.home-page .hm-classifieds-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(90deg, #D10A11 0%, #E30613 100%);
  border-bottom: 2px solid #A0050A;
}

.home-page .hm-classifieds-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.home-page .hm-classifieds-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-page .hm-classifieds-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.home-page .hm-classifieds-link:hover {
  color: #fff;
}

.home-page .hm-classifieds-cta {
  background: #fff;
  color: #D10A11;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}

.home-page .hm-classifieds-cta:hover {
  background: #FDECEC;
  color: #A0050A;
}

.home-page .hm-classifieds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #eceff1;
}

.home-page .hm-classified-card {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: #fff;
  text-decoration: none;
  color: #1a1a1a;
  transition: background 0.15s ease;
  min-height: 100px;
}

.home-page .hm-classified-card:hover {
  background: #FFF5F5;
}

.home-page .hm-classified-thumb {
  flex-shrink: 0;
  width: 110px;
  height: 90px;
  border-radius: 4px;
  overflow: hidden;
  background: #f3f3f3;
}

.home-page .hm-classified-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-page .hm-classified-body {
  min-width: 0;
  flex: 1;
}

.home-page .hm-classified-cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: #D10A11;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
}

.home-page .hm-classified-name {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #1a1a1a;
}

.home-page .hm-classified-price {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 2px;
}

.home-page .hm-classified-loc {
  font-size: 10px;
  color: #888;
}

@media (max-width: 991.98px) {
  .home-page .hm-classifieds-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .home-page .hm-media-main,
  .home-page .hm-media-main-img {
    height: 170px;
  }
  .home-page .hm-classifieds-grid {
    grid-template-columns: 1fr;
  }
  .home-page .hm-classifieds-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .home-page .category-news-widget .sidebar-mini-item img {
    width: 80px;
    height: 54px;
  }
}
