/* MetalTR Foto Galeri — koyu tema (subBlack paletiyle uyumlu) */
.mtr-album-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 16px 56px;
    color: #ddd;
    font-size: 17px;
    line-height: 1.65;
}
.mtr-album-head { margin-bottom: 26px; border-bottom: 2px solid #212121; padding-bottom: 14px; }
.mtr-album-head h1 { margin: 0 0 8px; font-size: 2.3rem; color: #ffcc00; letter-spacing: 1px; line-height: 1.2; }
.mtr-album-sub { margin: 0; font-size: 1.05rem; opacity: .8; }
.mtr-h2 { margin: 38px 0 16px; font-size: 1.5rem; color: #ffcc00; letter-spacing: 1px; }

.mtr-crumb { font-size: 1rem; margin-bottom: 16px; opacity: .85; }
.mtr-crumb a { color: #cc9900; text-decoration: none; }
.mtr-crumb a:hover { color: #ffffcc; }
.mtr-crumb span { opacity: .5; margin: 0 5px; }

/* izgara */
.mtr-grid, .mtr-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 16px;
}
.mtr-card, .mtr-cat {
    display: flex;
    flex-direction: column;
    background: #0d0d0d;
    border: 2px solid #212121;
    text-decoration: none;
    color: #ddd;
    overflow: hidden;
    transition: border-color .15s ease, transform .15s ease;
}
.mtr-card:hover, .mtr-cat:hover { border-color: #cc9900; transform: translateY(-2px); }
.mtr-card-img {
    display: block;
    aspect-ratio: 1 / 1;
    background: #000;
    overflow: hidden;
}
.mtr-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mtr-noimg {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    font-size: .95rem; opacity: .45;
}
.mtr-card-title, .mtr-cat-name {
    padding: 10px 12px 3px;
    font-size: 1.05rem;
    color: #ffffcc;
    line-height: 1.35;
    word-break: break-word;
}
.mtr-cat-name { color: #ffcc00; font-weight: 700; font-size: 1.12rem; }
.mtr-card-meta { padding: 0 12px 12px; font-size: .92rem; opacity: .72; }
.mtr-cat-desc { padding: 0 12px 12px; font-size: .95rem; opacity: .68; line-height: 1.45; }

/* ------------------------------------------------ tekil fotograf: iki sutun */
.mtr-single .mtr-photo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 26px;
    align-items: start;
}
.mtr-photo-col { min-width: 0; }
.mtr-photo-title { margin: 0 0 14px; font-size: 1.8rem; color: #ffffcc; line-height: 1.25; }

.mtr-photo { margin: 0 0 14px; background: #000; border: 2px solid #212121; }
.mtr-zoom-btn {
    display: block; position: relative; width: 100%;
    padding: 0; border: 0; background: none; cursor: zoom-in;
}
.mtr-zoom-btn img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.mtr-zoom-hint {
    position: absolute; right: 10px; bottom: 10px;
    padding: 5px 10px; font-size: .85rem;
    background: rgba(0, 0, 0, .72); border: 1px solid #cc9900; color: #ffcc00;
    opacity: 0; transition: opacity .15s ease; pointer-events: none;
}
.mtr-zoom-btn:hover .mtr-zoom-hint,
.mtr-zoom-btn:focus-visible .mtr-zoom-hint { opacity: 1; }

.mtr-photo-desc { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.75; }
.mtr-photo-meta {
    list-style: none; margin: 0 0 16px; padding: 12px 14px;
    background: #0d0d0d; border: 2px solid #212121;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 4px 18px;
}
.mtr-photo-meta li { font-size: 1rem; }
.mtr-photo-meta strong {
    display: block; color: #cc9900; font-size: .8rem;
    text-transform: uppercase; letter-spacing: .5px; font-weight: 700;
}
.mtr-photo-meta a { color: #ffffcc; }

.mtr-photo-nav { display: flex; justify-content: space-between; gap: 14px; margin: 0 0 16px; font-size: 1rem; }
.mtr-photo-nav a { color: #cc9900; text-decoration: none; }
.mtr-photo-nav a:hover { color: #ffffcc; }

/* ------------------------------------------------------------ yorum sutunu */
.mtr-cmt-col {
    background: #0d0d0d; border: 2px solid #212121;
    position: sticky; top: 16px;
    display: flex; flex-direction: column;
    max-height: calc(100vh - 32px);
}
.mtr-cmt-head-bar {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    padding: 12px 14px; border-bottom: 2px solid #212121; flex: 0 0 auto;
}
.mtr-cmt-head-bar h2 { margin: 0; font-size: 1.15rem; color: #ffcc00; letter-spacing: .5px; }
.mtr-cmt-jump { font-size: .9rem; color: #cc9900; text-decoration: none; }
.mtr-cmt-jump:hover { color: #ffffcc; }

.mtr-cmt-scroll { overflow-y: auto; padding: 14px; flex: 1 1 auto; }
.mtr-cmt-scroll::-webkit-scrollbar { width: 10px; }
.mtr-cmt-scroll::-webkit-scrollbar-track { background: #000; }
.mtr-cmt-scroll::-webkit-scrollbar-thumb { background: #333; border: 2px solid #000; }
.mtr-cmt-scroll::-webkit-scrollbar-thumb:hover { background: #cc9900; }

.mtr-cmt-list, .mtr-cmt-list .children { list-style: none; margin: 0; padding: 0; }
.mtr-cmt-list .children { margin-top: 10px; padding-left: 16px; border-left: 2px solid #212121; }
.mtr-cmt {
    display: flex; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid #191919;
}
.mtr-cmt:last-child { border-bottom: 0; }
.mtr-cmt-av { flex: 0 0 auto; }
.mtr-cmt-av img { border-radius: 50%; display: block; width: 40px; height: 40px; }
.mtr-cmt-body { min-width: 0; flex: 1; }
.mtr-cmt-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.mtr-cmt-author { color: #ffcc00; font-weight: 700; font-size: .98rem; text-decoration: none; }
.mtr-cmt-author:hover { color: #ffffcc; }
.mtr-cmt-date { font-size: .8rem; opacity: .6; }
.mtr-cmt-text { margin-top: 4px; font-size: 1rem; line-height: 1.6; word-wrap: break-word; }
.mtr-cmt-text p { margin: 0 0 .6em; }
.mtr-cmt-text p:last-child { margin-bottom: 0; }
.mtr-cmt-text img { max-width: 100%; height: auto; }
.mtr-cmt-pending { font-size: .85rem; color: #cc9900; }
.mtr-cmt-actions { margin-top: 3px; font-size: .85rem; }
.mtr-cmt-actions a { color: #cc9900; text-decoration: none; }
.mtr-cmt-empty { margin: 0 0 16px; font-size: 1rem; opacity: .7; }

/* yorum formu */
.mtr-cmt-col #respond { margin-top: 16px; border-top: 2px solid #212121; padding-top: 14px; }
.mtr-cmt-col .comment-reply-title { margin: 0 0 10px; font-size: 1.05rem; color: #ffcc00; }
.mtr-cmt-col .comment-reply-title small a { font-size: .8rem; color: #cc9900; margin-left: 8px; }
.mtr-cmt-field { margin: 0 0 10px; }
.mtr-cmt-field label {
    display: block; font-size: .82rem; color: #cc9900;
    text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px;
}
.mtr-cmt-field input, .mtr-cmt-field textarea {
    width: 100%; box-sizing: border-box;
    background: #000; color: #ddd;
    border: 1px solid #333; padding: 8px 10px;
    font: inherit; font-size: .95rem;
}
.mtr-cmt-field input:focus, .mtr-cmt-field textarea:focus {
    outline: none; border-color: #cc9900;
}
.mtr-cmt-col .form-submit { margin: 0; }
.mtr-cmt-col .mtr-cmt-submit, .mtr-cmt-col input[type=submit] {
    background: #212121; color: #ffcc00;
    border: 2px solid #cc9900; padding: 9px 20px;
    font: inherit; font-weight: 700; cursor: pointer;
}
.mtr-cmt-col .mtr-cmt-submit:hover, .mtr-cmt-col input[type=submit]:hover {
    background: #cc9900; color: #000;
}
.mtr-cmt-col .comment-form-cookies-consent { font-size: .85rem; opacity: .7; }
.mtr-cmt-col .logged-in-as, .mtr-cmt-col .must-log-in { font-size: .9rem; opacity: .8; }
.mtr-cmt-col .logged-in-as a, .mtr-cmt-col .must-log-in a { color: #cc9900; }

@media (max-width: 980px) {
    .mtr-single .mtr-photo-layout { grid-template-columns: 1fr; }
    .mtr-cmt-col { position: static; max-height: none; }
    .mtr-cmt-scroll { overflow: visible; max-height: none; }
}

/* puanlama */
.mtr-rate-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 26px; font-size: 1.02rem; }
.mtr-rate-box > strong { color: #cc9900; }
.mtr-stars, .mtr-lb-stars { display: inline-flex; align-items: center; gap: 3px; }
.mtr-star { color: #333; font-size: 1.6rem; line-height: 1; }
.mtr-star.on { color: #ffcc00; }
.mtr-stars.is-interactive .mtr-star { cursor: pointer; }
.mtr-stars.is-interactive .mtr-star:hover,
.mtr-stars.is-interactive .mtr-star.hover { color: #ffffcc; }
.mtr-rate-info { margin-left: 9px; font-size: .95rem; opacity: .78; }
.mtr-rate-hint { font-size: .95rem; opacity: .65; }

/* uye listesi */
.mtr-userlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.mtr-userrow {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; background: #0d0d0d; border: 2px solid #212121;
    text-decoration: none; color: #ddd;
}
.mtr-userrow:hover { border-color: #cc9900; }
.mtr-user-av img { border-radius: 50%; display: block; }
.mtr-user-name { flex: 1; color: #ffffcc; font-size: 1.05rem; }
.mtr-user-n { font-size: .9rem; opacity: .68; }

/* sayfalama */
.mtr-album-wrap .navigation.pagination { margin-top: 30px; }
.mtr-album-wrap .nav-links { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.mtr-album-wrap .page-numbers {
    padding: 8px 14px; background: #0d0d0d; border: 1px solid #212121;
    color: #cc9900; text-decoration: none; font-size: 1.02rem;
}
.mtr-album-wrap .page-numbers.current,
.mtr-album-wrap .page-numbers:hover { background: #212121; color: #ffcc00; }

.mtr-comments { margin-top: 36px; border-top: 2px solid #212121; padding-top: 20px; font-size: 1.02rem; }
.mtr-comments .comment-reply-title, .mtr-comments .comments-title { font-size: 1.4rem; color: #ffcc00; }

/* --------------------------------------------------- isik kutusu (lightbox) */
body.mtr-lb-open { overflow: hidden; }
.mtr-lb {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(0, 0, 0, .94);
    display: none;
    color: #ddd;
    font-size: 17px;
}
.mtr-lb.is-open { display: block; }
.mtr-lb-inner {
    height: 100%;
    display: flex; flex-direction: column;
    padding: 46px 64px 20px;
    box-sizing: border-box;
}
.mtr-lb-stage {
    flex: 1 1 auto; min-height: 0;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.mtr-lb-stage img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    display: block;
    border: 2px solid #212121;
    background: #000;
}
.mtr-lb-spin { position: absolute; font-size: 1rem; opacity: .6; }
.mtr-lb-cap {
    flex: 0 0 auto;
    max-height: 34vh; overflow-y: auto;
    padding-top: 14px; margin-top: 12px;
    border-top: 2px solid #212121;
}
.mtr-lb-cap h3 { margin: 0 0 6px; font-size: 1.5rem; color: #ffffcc; line-height: 1.25; }
.mtr-lb-meta { font-size: 1rem; opacity: .8; }
.mtr-lb-meta a, .mtr-lb-links a { color: #cc9900; text-decoration: none; }
.mtr-lb-meta a:hover, .mtr-lb-links a:hover { color: #ffffcc; }
.mtr-lb-desc { margin-top: 10px; font-size: 1.05rem; line-height: 1.7; }
.mtr-lb-desc p { margin: 0 0 8px; }
.mtr-lb-rate { margin-top: 10px; font-size: 1rem; }
.mtr-lb-links { margin-top: 10px; font-size: 1.02rem; display: flex; gap: 18px; flex-wrap: wrap; }

.mtr-lb-close, .mtr-lb-nav {
    position: absolute; z-index: 2;
    background: rgba(13, 13, 13, .85);
    border: 2px solid #212121;
    color: #ffcc00;
    cursor: pointer;
    line-height: 1;
    transition: border-color .15s ease, color .15s ease;
}
.mtr-lb-close:hover, .mtr-lb-nav:hover { border-color: #cc9900; color: #ffffcc; }
.mtr-lb-close { top: 12px; right: 14px; width: 44px; height: 44px; font-size: 1.9rem; }
.mtr-lb-nav {
    top: 50%; transform: translateY(-50%);
    width: 46px; height: 76px; font-size: 2.4rem;
}
.mtr-lb-nav.prev { left: 10px; }
.mtr-lb-nav.next { right: 10px; }

@media (max-width: 700px) {
    .mtr-lb-inner { padding: 44px 10px 14px; }
    .mtr-lb-nav { width: 38px; height: 60px; font-size: 1.9rem; }
    .mtr-lb-cap { max-height: 40vh; }
}

@media (max-width: 600px) {
    .mtr-grid, .mtr-cats { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .mtr-album-wrap { font-size: 16px; }
    .mtr-album-head h1 { font-size: 1.7rem; }
    .mtr-photo-title { font-size: 1.45rem; }
}

/* buyutme katmani: tek gorsel, gezinme oku yok */
.mtr-lb-zoom .mtr-lb-inner { padding: 46px 20px 20px; }
.mtr-lb-zoom .mtr-lb-stage { cursor: zoom-out; }
.mtr-lb-zoom .mtr-lb-cap { text-align: center; }
.mtr-lb-zoom .mtr-lb-cap h3 { margin: 0; }

/* ------------------------------------------------------ uye fotograf yukleme */
.mtr-upload { margin: 0 0 26px; }
.mtr-upload details {
    background: #0d0d0d; border: 2px solid #212121;
}
.mtr-upload-toggle {
    padding: 12px 16px; cursor: pointer;
    color: #ffcc00; font-weight: 700; font-size: 1.05rem;
    list-style: none;
}
.mtr-upload-toggle::-webkit-details-marker { display: none; }
.mtr-upload details[open] .mtr-upload-toggle { border-bottom: 2px solid #212121; }
.mtr-upload-form { padding: 16px; max-width: 620px; }
.mtr-upload-form input[type=file] { color: #ddd; }
.mtr-upload-form select {
    width: 100%; box-sizing: border-box; background: #000; color: #ddd;
    border: 1px solid #333; padding: 8px 10px; font: inherit; font-size: .95rem;
}
.mtr-upload-note {
    font-size: .92rem; opacity: .8; margin: 0 0 14px;
    padding: 10px 12px; background: #000; border-left: 3px solid #cc9900;
}
.mtr-upload-ok, .mtr-upload-err {
    margin: 0 0 12px; padding: 11px 14px; font-size: 1rem;
    background: #0d0d0d; border-left: 3px solid #cc9900;
}
.mtr-upload-err { border-left-color: #d63638; }

/* ------------------------------------------------------------------- arama */
.mtr-search {
    display: flex; gap: 0; margin: 0 0 22px;
    max-width: 640px;
}
.mtr-search input[type=search] {
    flex: 1 1 auto; min-width: 0;
    background: #0d0d0d; color: #ddd;
    border: 2px solid #212121; border-right: 0;
    padding: 11px 14px; font: inherit; font-size: 1rem;
}
.mtr-search input[type=search]::placeholder { color: #777; }
.mtr-search input[type=search]:focus { outline: none; border-color: #cc9900; }
.mtr-search button {
    flex: 0 0 auto;
    background: #212121; color: #ffcc00;
    border: 2px solid #212121; border-left: 0;
    padding: 11px 22px; font: inherit; font-weight: 700; font-size: 1rem;
    cursor: pointer; letter-spacing: .5px;
}
.mtr-search button:hover { background: #cc9900; border-color: #cc9900; color: #000; }
.mtr-search input[type=search]:focus + button,
.mtr-search input[type=search]:focus ~ button { border-color: #cc9900; }
.mtr-search-empty { font-size: 1.05rem; margin: 0 0 12px; }

/* --------------------------------------------- genis kategori kartlari */
.mtr-cats-big {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}
.mtr-cats-big .mtr-cat { flex-direction: row; }
.mtr-cats-big .mtr-card-img {
    flex: 0 0 150px; width: 150px; aspect-ratio: 1 / 1;
}
.mtr-cats-big .mtr-cat-body {
    display: flex; flex-direction: column; justify-content: center;
    padding: 12px 14px; min-width: 0;
}
.mtr-cats-big .mtr-cat-name { padding: 0; font-size: 1.2rem; line-height: 1.25; }
.mtr-cats-big .mtr-card-meta { padding: 4px 0 0; }
.mtr-cats-big .mtr-cat-desc { padding: 8px 0 0; }

@media (max-width: 520px) {
    .mtr-cats-big { grid-template-columns: 1fr; }
    .mtr-cats-big .mtr-card-img { flex-basis: 110px; width: 110px; }
    .mtr-cats-big .mtr-cat-name { font-size: 1.05rem; }
}
