/* K6 · "Dergi" tipi proje sayfası: büyük fotoğraflar, numaralı bölümler, ince çizgiler. */
.nwx-mag { background: #fff; }
.nwx-mag__open { padding-top: var(--nwx-head, 100px); background: var(--nwx-paper); }
.nwx-mag__hero { margin: 0; }
.nwx-mag__hero img { display: block; width: 100%; height: min(64vh, 640px); object-fit: cover; }
@media (max-width: 767px) { .nwx-mag__hero img { height: 52vh; } }
.nwx-mag .nwx-pcards[hidden] { display: none; }
.nwx-mag__title { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-top: 28px; padding-bottom: 32px; }
@media (max-width: 1023px) { .nwx-mag__title { grid-template-columns: 1fr; gap: 18px; } }
.nwx-mag__title .nwx-crumb { margin-bottom: 14px; }
.nwx-mag__title .nwx-eyebrow { color: var(--nwx-copper-dark); }
.nwx-mag__title h1 { font-size: clamp(36px, 5vw, 72px); color: var(--nwx-ink-strong); }
.nwx-mag__stats { display: flex; flex-wrap: wrap; gap: 0; margin: 0; }
.nwx-mag__stats div { padding: 4px 22px; border-inline-start: 1px solid var(--nwx-line); }
.nwx-mag__stats dd { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; color: var(--nwx-ink-strong); line-height: 1.1; }
.nwx-mag__stats dt { font-size: 13px; color: var(--nwx-muted); }

.nwx-mag__bar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--nwx-line); border-bottom: 1px solid var(--nwx-line); backdrop-filter: blur(6px); }
.nwx-mag__bar-inner { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; min-height: 64px; }
.nwx-mag__bar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
.nwx-mag__bar ul a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--nwx-muted); text-decoration: none; border-bottom: 2px solid transparent; }
.nwx-mag__bar ul a:hover, .nwx-mag__bar ul a.is-active { color: var(--nwx-ink-strong); border-bottom-color: var(--nwx-copper); }
.nwx-mag__bar-cta { display: flex; gap: 8px; }
.nwx-mag__bar-cta .nwx-btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
@media (max-width: 860px) {
    .nwx-mag__bar ul { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
    .nwx-mag__bar ul::-webkit-scrollbar { display: none; }
    .nwx-mag__bar ul a { white-space: nowrap; }
    .nwx-mag__bar-cta { display: none; }
}

.nwx-mag__sec { padding: 72px 0; border-bottom: 1px solid var(--nwx-line); scroll-margin-top: 140px; }
.nwx-mag__sec--alt { background: var(--nwx-paper-2); }
.nwx-mag__grid { display: grid; grid-template-columns: 180px minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.nwx-mag__grid--wide { grid-template-columns: 180px minmax(0, 1fr); }
@media (max-width: 1023px) { .nwx-mag__grid, .nwx-mag__grid--wide { grid-template-columns: 1fr; gap: 20px; } }
.nwx-mag__label span { display: block; font: 700 40px/1 var(--nwx-font); color: var(--nwx-accent); }
.nwx-mag__label h2 { margin-top: 8px !important; font-size: 22px !important; }
.nwx-mag__label--row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.nwx-mag__label--row h2 { margin-top: 0 !important; }
.nwx-mag__lede { margin: 0; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; color: var(--nwx-ink-strong); }
.nwx-mag__facts { margin: 22px 0 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--nwx-ink); }
.nwx-mag__isc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--nwx-line); }
@media (max-width: 680px) { .nwx-mag__isc { grid-template-columns: 1fr; } }
.nwx-mag__isc h3 { font-size: 12px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--nwx-copper-dark); margin-bottom: 6px !important; }
.nwx-mag__isc p { margin: 0; font-size: 15px; }
.nwx-mag__kunye { margin: 0; border-top: 1px solid var(--nwx-ink-strong); }
.nwx-mag__kunye div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--nwx-line); font-size: 14px; }
.nwx-mag__kunye dt { color: var(--nwx-muted); }
.nwx-mag__kunye dd { margin: 0; color: var(--nwx-ink-strong); font-weight: 600; }
.nwx-mag__product { position: relative; display: flex; flex-direction: column; gap: 4px; margin-top: 20px; padding: 18px 48px 18px 18px; padding-inline: 18px 48px; background: var(--nwx-ink-strong); color: #fff !important; text-decoration: none !important; }
.nwx-mag__product small { font-size: 12px; letter-spacing: .14em; color: var(--nwx-accent); font-weight: 700; }
.nwx-mag__product strong { font-size: 17px; }
.nwx-mag__product span { font-size: 13px; color: rgba(255, 255, 255, .78); }
.nwx-mag__product .nwx-mag__arrow { position: absolute; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--nwx-accent); }
.nwx-mag__product:hover { background: #000; }

/* 02 Numaralı detaylar */
.nwx-spots { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .nwx-spots { grid-template-columns: 1fr; } }
.nwx-spots__fig { position: relative; margin: 0; }
.nwx-spots__fig img { display: block; width: 100%; height: auto; }
.nwx-spots__fig figcaption { margin-top: 8px; font-size: 13px; color: var(--nwx-muted); }
.nwx-spots__pin { position: absolute; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; background: rgba(20, 22, 21, .82); color: #fff; font: 700 15px/1 var(--nwx-font); cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
/* Fotoğraf aynalanmadığı için numaralar Farsçada da fiziksel konumda (left) durur. */
.nwx-spots__pin.is-active, .nwx-spots__pin:hover { background: var(--nwx-copper); }
.nwx-spots__pin:focus-visible { outline: 3px solid var(--nwx-accent); outline-offset: 2px; }
.nwx-spots__panel { padding: 22px; background: #fff; border: 1px solid var(--nwx-line); }
.nwx-spots__item[hidden] { display: none; }
.nwx-spots__count { font-size: 13px; color: var(--nwx-muted); }
.nwx-spots__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 10px 0; }
.nwx-spots__item h3 { margin: 8px 0 6px !important; }
.nwx-spots__item p { margin: 0 0 10px; font-size: 15px; }
.nwx-spots__item a { font-weight: 600; color: var(--nwx-copper-dark); }
.nwx-spots__nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.nwx-spots__nav button { width: 44px; height: 44px; border: 1px solid var(--nwx-line); background: #fff; font-size: 18px; cursor: pointer; }
.nwx-spots__nav button:hover { border-color: var(--nwx-copper); }

/* 03 Galeri: Şekil numaralı; büyük + iki küçük, sonra iki yarım */
.nwx-mag__gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.nwx-mag__fig { display: flex; flex-direction: column; margin: 0; grid-column: span 2; }
.nwx-mag__fig--big { grid-column: span 4; grid-row: span 2; }
.nwx-mag__fig--half { grid-column: span 3; }
.nwx-mag__fig--full { grid-column: span 6; }
.nwx-mag__fig a { display: block; flex: 1 1 auto; overflow: hidden; background: var(--nwx-paper); }
.nwx-mag__fig img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.nwx-mag__fig--big a { position: relative; min-height: 360px; }
.nwx-mag__fig--big img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.nwx-mag__fig--half img { aspect-ratio: 16 / 9; }
.nwx-mag__fig--full img { aspect-ratio: 21 / 9; }
.nwx-mag__fig a:hover img { transform: scale(1.03); }
.nwx-mag__fig figcaption { margin-top: 6px; font-size: 13px; color: var(--nwx-muted); }
.nwx-mag__fig figcaption strong { color: var(--nwx-ink-strong); font-weight: 600; }
@media (max-width: 860px) {
    .nwx-mag__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .nwx-mag__fig, .nwx-mag__fig--half { grid-column: span 1; grid-row: auto; }
    .nwx-mag__fig--big, .nwx-mag__fig--full { grid-column: span 2; grid-row: auto; }
    .nwx-mag__fig--big a { min-height: 0; }
    .nwx-mag__fig--big img { position: static; aspect-ratio: 3 / 2; }
    .nwx-mag__fig img, .nwx-mag__fig--half img { aspect-ratio: 4 / 3; }
}
/* Numune kutusu */
.nwx-mag__sample { padding: 44px 0; background: var(--nwx-paper); border-bottom: 1px solid var(--nwx-line); }
.nwx-mag__sample-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.nwx-mag__sample h2 { font-size: clamp(22px, 2.2vw, 30px) !important; }
.nwx-mag__sample p { margin: 8px 0 0; color: var(--nwx-ink); }

/* 04 Katmanlar */
.nwx-layers__q { margin: 0 0 18px; font-size: 19px; color: var(--nwx-ink-strong); }
.nwx-layers__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 760px) { .nwx-layers__grid { grid-template-columns: 1fr; } .nwx-layers__svg { max-width: 240px; } }
.nwx-layers__svg { width: 100%; height: auto; }
.nwx-layers__g { cursor: pointer; opacity: .45; transition: opacity .2s; }
.nwx-layers__g.is-active { opacity: 1; }
.nwx-layers__g text { font: 700 12px/1 var(--nwx-font); fill: var(--nwx-ink-strong); }
.nwx-layers__g:focus { outline: none; }
.nwx-layers__g:focus-visible rect { stroke: var(--nwx-accent); stroke-width: 3; }
.nwx-layers__list { margin: 0; padding: 0; list-style: none; counter-reset: nwx-layer; }
.nwx-layers__list li { counter-increment: nwx-layer; border-bottom: 1px solid var(--nwx-line); }
.nwx-layers__list button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 0; background: none; border: 0; text-align: start; font: 600 16px/1.3 var(--nwx-font); color: var(--nwx-muted); cursor: pointer; }
.nwx-layers__list button span::before { content: counter(nwx-layer) ' · '; color: var(--nwx-accent); }
html[lang^="fa"] .nwx-layers__list button span::before { content: counter(nwx-layer, persian) ' · '; }
.nwx-layers__list button small { font-weight: 400; font-size: 13px; }
.nwx-layers__list li.is-active button { color: var(--nwx-ink-strong); }
.nwx-layers__list p { margin: 0 0 12px; font-size: 14px; display: none; }
.nwx-layers__list li.is-active p { display: block; }
.nwx-layers__more { margin: 18px 0 0; font-size: 14px; }
.nwx-layers__more a { font-weight: 600; color: var(--nwx-copper-dark); }

/* Dosyalar */
.nwx-files-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 860px) { .nwx-files-row { grid-template-columns: 1fr; } }
.nwx-files-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .nwx-files-list { grid-template-columns: 1fr; } }
.nwx-files-list li { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff; border: 1px solid var(--nwx-line); }
.nwx-files-list small { font-weight: 700; letter-spacing: .1em; color: var(--nwx-copper-dark); }
.nwx-files-list a { margin-top: auto; font-weight: 600; color: var(--nwx-copper-dark); min-height: 32px; display: inline-flex; align-items: center; }
.nwx-files-mail { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--nwx-line); }
.nwx-files-mail h3 { margin: 0 !important; }
.nwx-files-mail__status { margin: 0; font-size: 14px; }

/* Sonraki proje */
.nwx-mag__next { position: relative; display: block; min-height: 340px; overflow: hidden; color: #fff !important; text-decoration: none !important; background: #1f2120; }
.nwx-mag__next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .6s, opacity .3s; }
.nwx-mag__next:hover img { transform: scale(1.03); opacity: .45; }
.nwx-mag__next-text { position: relative; display: flex; flex-direction: column; gap: 6px; width: min(100% - 60px, 1380px); margin-inline: auto; padding: 72px 0; }
.nwx-mag__next small { font-size: 12px; letter-spacing: .16em; font-weight: 700; color: var(--nwx-accent); }
.nwx-mag__next strong { font-size: clamp(30px, 4vw, 56px); font-weight: 600; line-height: 1.1; }
.nwx-mag__next em { font-style: normal; color: rgba(255, 255, 255, .8); }
.nwx-mag__next > .nwx-mag__arrow { position: absolute; inset-inline-end: 6%; bottom: 72px; font-size: 40px; color: var(--nwx-accent); }
.nwx-mag__fig { position: relative; }
.nwx-mag__more { position: absolute; inset-inline-end: 12px; top: 12px; padding: 6px 12px; background: rgba(20, 22, 21, .82); color: #fff; font-weight: 700; font-size: 15px; pointer-events: none; }
/* Çeviri eklentisinin dil seçicisi sayfa kayınca da sağ üstte (FA'da solda) sabit duruyor; çubukta ona yer bırak. */
.nwx-mag__bar-inner { padding-inline-end: max(0px, calc(195px - (100vw - min(100vw - 60px, 1380px)) / 2)); }
@media (max-width: 767px) { .nwx-mag__bar-inner { padding-inline-end: 112px; } }

/* Pano 13 · açılış: başlık ve rakamlar fotoğrafın üstünde (768 px ve üstü) */
.nwx-mag__hero { position: relative; }
.nwx-mag__hero figcaption { position: absolute; top: 16px; inset-inline-end: 16px; z-index: 2; max-width: calc(100% - 32px); padding: 6px 10px; font-size: 12px; line-height: 1.4; color: #fff; background: rgba(20, 21, 20, .72); }
@media (min-width: 768px) {
    .nwx-mag__open--photo { position: relative; background: #1f2120; }
    .nwx-mag__open--photo .nwx-mag__hero img { height: min(76vh, 720px); }
    .nwx-mag__open--photo .nwx-mag__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 21, 20, 0) 38%, rgba(20, 21, 20, .82) 100%); pointer-events: none; }
    .nwx-mag__open--photo .nwx-mag__title { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding-bottom: 36px; }
    .nwx-mag__open--photo .nwx-mag__title h1 { color: #fff; }
    .nwx-mag__open--photo .nwx-mag__title .nwx-eyebrow { color: rgba(255, 255, 255, .88); }
    .nwx-mag__open--photo .nwx-crumb, .nwx-mag__open--photo .nwx-crumb a, .nwx-mag__open--photo .nwx-crumb span { color: rgba(255, 255, 255, .82); }
    .nwx-mag__open--photo .nwx-mag__stats div { border-color: rgba(255, 255, 255, .3); }
    .nwx-mag__open--photo .nwx-mag__stats dd { color: #fff; }
    .nwx-mag__open--photo .nwx-mag__stats dt { color: rgba(255, 255, 255, .75); }
}
/* Pano 13 · "Bu projedeki ürün" kartı: beyaz, küçük görselli */
.nwx-mag__product { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 48px 14px 14px; padding-inline: 14px 48px; background: #fff; border: 1px solid var(--nwx-line); color: var(--nwx-ink-strong) !important; }
.nwx-mag__product.has-img { grid-template-columns: 64px minmax(0, 1fr); }
.nwx-mag__product img { width: 64px; height: 64px; object-fit: cover; display: block; }
.nwx-mag__product-text { display: flex; flex-direction: column; gap: 3px; }
.nwx-mag__product small { color: var(--nwx-muted); font-size: 11px; }
.nwx-mag__product strong { color: var(--nwx-ink-strong); }
.nwx-mag__product .nwx-mag__product-text span { font-size: 13px; color: var(--nwx-muted); }
.nwx-mag__product .nwx-mag__arrow { color: var(--nwx-copper-dark); }
.nwx-mag__product:hover { background: #fff; border-color: var(--nwx-ink-strong); }
/* Pano 13 · numune bandı: dört tür rengi */
.nwx-mag__sample-text { flex: 1 1 320px; }
.nwx-mag__swatches { display: flex; gap: 4px; }
.nwx-mag__swatches i { display: block; width: 22px; height: 48px; }
