/* motorcular.com — yeni üst bilgi ve ana sayfa düzeni (2026-11-24). Eski ortak.css'in üzerine yüklenir. */
:root { --mc-sari: #f8b133; --mc-koyu: #141414; --mc-koyu2: #1f1f1f; }

/* ---------------- Üst bilgi ---------------- */
.mc-ust { background: var(--mc-koyu); border-bottom: 3px solid var(--mc-sari); position: relative; z-index: 50; }
.mc-ust-bar-ic { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.mc-logo img { display: block; width: 190px; height: auto; }
.mc-ara { flex: 1 1 auto; max-width: 460px; margin: 0 auto; display: flex; background: #262626; border: 1px solid #333; border-radius: 22px; overflow: hidden; }
.mc-ara input { flex: 1; background: transparent; border: 0; color: #eee; padding: 8px 16px; font-size: 14px; outline: none; min-width: 0; }
.mc-ara input::placeholder { color: #8a8a8a; }
.mc-ara button { background: transparent; border: 0; color: var(--mc-sari); padding: 0 14px; font-size: 15px; cursor: pointer; }
.mc-ara:focus-within { border-color: var(--mc-sari); }
.mc-uye { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; align-items: center; }
.mc-uye li, .mc-uye form { margin: 0; }
.mc-uye .btn { background: transparent; border: 1px solid #444; color: #e6e6e6; border-radius: 18px; padding: 6px 14px; font-size: 13px; font-weight: 600; box-shadow: none; }
.mc-uye li:last-child .btn { background: var(--mc-sari); border-color: var(--mc-sari); color: #111; }
.mc-uye .btn:hover, .mc-uye .btn:focus { border-color: var(--mc-sari); color: var(--mc-sari); background: transparent; }
.mc-uye li:last-child .btn:hover { background: #fff; color: #111; border-color: #fff; }
.mc-menu-ac { display: none; margin-left: auto; background: transparent; border: 0; width: 38px; height: 34px; padding: 6px; cursor: pointer; }
.mc-menu-ac span { display: block; height: 2px; background: #eee; margin: 5px 0; transition: transform .2s, opacity .2s; }
.mc-menu-ac.acik span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mc-menu-ac.acik span:nth-child(2) { opacity: 0; }
.mc-menu-ac.acik span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mc-menu { background: var(--mc-koyu2); border-top: 1px solid #2a2a2a; }
.mc-menu ul, .mc-altmenu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.mc-menu a { display: block; color: #f0f0f0; font-weight: 700; font-size: 14px; padding: 12px 14px; letter-spacing: .01em; border-bottom: 3px solid transparent; }
.mc-menu a:hover, .mc-menu a:focus { color: var(--mc-sari); text-decoration: none; }
.mc-menu li.etkin a { color: var(--mc-sari); border-bottom-color: var(--mc-sari); }
.mc-altmenu { background: #fff; border-bottom: 1px solid #e6e6e6; }
.mc-altmenu ul { justify-content: center; }
.mc-altmenu a { display: block; color: #444; font-size: 12.5px; font-weight: 600; padding: 8px 8px; white-space: nowrap; }
.mc-altmenu a:hover, .mc-altmenu a:focus, .mc-altmenu li.etkin a { color: #c98400; text-decoration: none; }

@media (max-width: 991px) {
    .mc-uye { display: none; }
    .mc-ust.acik .mc-uye { display: flex; order: 4; flex-basis: 100%; justify-content: center; padding-top: 4px; }
    .mc-logo img { width: 160px; }
}
@media (max-width: 767px) {
    .mc-ust-bar-ic { flex-wrap: wrap; gap: 10px; }
    .mc-menu-ac { display: block; }
    .mc-ara { order: 3; flex-basis: 100%; max-width: none; }
    .mc-menuler { display: none; }
    .mc-menuler.acik { display: block; }
    .mc-menu ul, .mc-altmenu ul { display: block; }
    .mc-menu a { padding: 11px 16px; border-bottom: 1px solid #2a2a2a; }
    .mc-menu li.etkin a { border-bottom-color: #2a2a2a; border-left: 3px solid var(--mc-sari); }
    .mc-altmenu ul { display: grid; grid-template-columns: 1fr 1fr; }
    .mc-altmenu a { padding: 10px 16px; border-bottom: 1px solid #eee; }
    .mc-menuler.acik .mc-uye-mobil { display: flex; }
}
.mc-sayfa { padding-top: 16px; }

/* ---------------- Ana sayfa: slider ---------------- */
#index-slider .img-kapsul { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
#index-slider .img-kapsul img, #index-slider .img-kapsul a { display: block; width: 100%; height: 100%; }
#index-slider .img-kapsul img { object-fit: cover; }
#index-slider .carousel-caption { left: 0; right: 0; bottom: 0; padding: 40px 20px 22px; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
#index-slider .carousel-caption h4 { margin: 0; font-size: 20px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
#index-slider .carousel-indicators { bottom: 6px; }

/* ---------------- Ana sayfa: bölüm kutuları (eşit boy, sabit oranlı görsel) ---------------- */
.mc-esit { display: flex; flex-wrap: wrap; }
.mc-esit > [class*="col-"] { display: flex; margin-bottom: 15px; }
.mc-esit > [class*="col-"] > .bolum_bottom_item { flex: 1; display: flex; flex-direction: column; margin-bottom: 0; }
.bolum_bottom_item .main_category_img { aspect-ratio: 16 / 9; overflow: hidden; background: #ececec; }
.bolum_bottom_item .main_category_img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.bolum_bottom_item a:hover .main_category_img img { transform: scale(1.03); }
.bolum_bottom_item .main_category_img.bos { display: flex; align-items: center; justify-content: center; background: #1f1f1f url('../eski/assets/img/footer/footerloogo.png') center / 55% no-repeat; }
.bolum_bottom_item ul { flex: 1; }
.bolum_bottom_item ul li a { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- Sağ sütun listeleri: sabit küçük görsel ---------------- */
.anabaslik_img { width: 92px; height: 62px; overflow: hidden; flex: none; }
.anabaslik_img img { width: 100%; height: 100%; object-fit: cover; }
.anabaslik_name a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.anabaslik_text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- Liste sayfaları: kapak küçük görseli sabit oran ---------------- */
.liste-kapak .center-img-container-150 { width: 200px; aspect-ratio: 16 / 10; overflow: hidden; }
.liste-kapak .center-img-container-150 img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .liste-kapak { float: none !important; margin: 0 0 10px; } .liste-kapak .center-img-container-150 { width: 100%; } }

/* Ana sayfa: sağ sütunun ilk bloğu (reklam) slider ile aynı yükseklikte başlasın */
@media (min-width: 992px) {
    .row.kutu-cercevesi2 > [class*="col-md-4"] > .row:first-of-type { margin-top: 0; }
    .row.kutu-cercevesi2 > [class*="col-md-4"] > .row:first-of-type .padding-bottom-15 { padding-top: 0; }
}
