/* Admin panelinden yönetilen Kurumsal, Üretim, Bayiler ve Fuarlar sayfaları. */

/* Menüdeki etkin alt sayfa */
.nav-drop li a[aria-current=page] { text-decoration: none; background: #f4f6f6; box-shadow: inset 3px 0 0 var(--gold); }

/* Görselli sayfa başı */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: 48px; align-items: center; }
.page-hero-figure { margin: 0; border: 1px solid var(--line); background: #fff; padding: 6px; }
.page-hero-figure img { width: 100%; aspect-ratio: 16 / 11; height: auto; object-fit: cover; }

/* Kurumsal alt gezinme */
.subnav { border-bottom: 1px solid var(--line); background: #fff; }
.subnav-inner { display: flex; gap: 4px 28px; overflow-x: auto; scrollbar-width: thin; }
.subnav a { flex-shrink: 0; padding: 15px 0 13px; font-size: 15px; font-weight: 650; color: #53616c; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--navy); }
.subnav a[aria-current=page] { color: var(--navy); border-bottom-color: var(--gold); }

/* Zengin metin */
.rich h3 { font-size: 22px; }
.rich ul, .rich ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.rich li::marker { color: var(--gold); }
.rich a:not(.btn) { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.rich a:not(.btn):hover { color: #496f87; }
.rich blockquote { margin: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); color: var(--ink); font-size: 20px; line-height: 1.6; }
.rich strong { color: var(--ink); }
.content-cover { margin: 0; }
.content-cover img { width: 100%; max-height: 460px; object-fit: cover; }

/* Galeri */
.content-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.content-gallery figure { margin: 0; }
.content-gallery a { display: block; overflow: hidden; background: #f4f6f6; }
.content-gallery img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; transition: opacity .2s; }
.content-gallery a:hover img { opacity: .88; }
.content-gallery figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Üretim: rakamlar ve süreç */
.stat-band { background: var(--navy-deep); color: #d5e2ea; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat-grid div { padding: 34px 24px; border-left: 1px solid #ffffff1f; }
.stat-grid div:first-child { border-left: 0; padding-left: 0; }
.stat-grid strong { display: block; color: var(--gold-light); font-size: clamp(34px, 4vw, 46px); font-weight: 650; line-height: 1.1; letter-spacing: -.02em; }
.stat-grid span { display: block; margin-top: 8px; font-size: 15px; }
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.process li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 24px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.process-no { font-size: 30px; font-weight: 650; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.process h3 { font-size: 22px; }
.process p { margin-top: 8px; color: var(--muted); max-width: 680px; }
.process img { width: 220px; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border: 1px solid var(--line); }

/* Bayiler */
.dealer-intro, .fair-intro { margin-bottom: 32px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip-row a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-size: 15px; font-weight: 600; color: var(--navy); }
.chip-row a span { color: var(--muted); font-size: 13px; font-weight: 600; }
.chip-row a:hover { border-color: #b9c6cd; background: #f7f9f9; }
.chip-row a[aria-current=page] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-row a[aria-current=page] span { color: var(--gold-light); }
.dealer-count { margin-bottom: 14px; }
.dealer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dealer-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 3px; }
.dealer-head { display: flex; gap: 14px; align-items: center; }
.dealer-logo { width: 56px; height: 56px; flex-shrink: 0; object-fit: contain; border: 1px solid var(--line); background: #fff; }
.dealer-mono { display: inline-flex; align-items: center; justify-content: center; background: #f4f6f6; color: var(--navy); font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.dealer-card h2 { font-size: 20px; letter-spacing: -.01em; }
.dealer-city { margin-top: 2px; color: #8d6b2f; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dealer-city span { color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.dealer-address { font-size: 16px; color: var(--ink); line-height: 1.55; }
.dealer-note { font-size: 15px; color: var(--muted); line-height: 1.5; }
.dealer-links { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.dealer-links a { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: #c9d3d8; text-underline-offset: 4px; }
.dealer-links a:hover { text-decoration-color: var(--navy); }

/* Fuarlar */
.fair-heading { font-size: 26px; margin: 8px 0 20px; }
.fair-heading:not(:first-child) { margin-top: 48px; }
.fair-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fair-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.fair-card > img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-bottom: 1px solid var(--line); }
.fair-card-body { display: flex; flex-direction: column; gap: 8px; padding: 22px; flex: 1; }
.fair-date { color: #8d6b2f; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fair-card h3 { font-size: 22px; }
.fair-place { color: var(--ink); font-size: 16px; }
.fair-stand { display: flex; flex-wrap: wrap; gap: 6px; }
.fair-stand span { padding: 2px 10px; border: 1px solid #e3d3ad; background: #fbf7ee; border-radius: 3px; font-size: 13px; font-weight: 700; color: var(--navy); }
.fair-text { color: var(--muted); font-size: 15px; line-height: 1.6; }
.fair-card .text-link { margin-top: auto; padding-top: 6px; font-size: 15px; }

@media (max-width: 1100px) {
    .dealer-grid, .fair-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-hero-grid { gap: 32px; }
}
@media (max-width: 760px) {
    .page-hero-grid { grid-template-columns: 1fr; }
    .dealer-grid, .fair-cards, .content-gallery { grid-template-columns: 1fr; }
    .process li { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
    .process img { grid-column: 2; width: 100%; max-width: 360px; }
    .process-no { font-size: 24px; }
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
    .stat-grid div, .stat-grid div:first-child { padding: 22px 0; border-left: 0; border-bottom: 1px solid #ffffff1f; }
    .subnav a { padding: 12px 0 10px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
    .content-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Alt bant: yasal bağlantılar ve tasarım imzası */
.foot-bar { align-items: center; }
.foot-bar-end { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.foot-bar .mb-0 { margin: 0; line-height: 1; }
.foot-bar .mb-0 a { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: inherit; }
.foot-bar .mb-0 a:hover { color: #fff; }
.foot-bar .mb-0 img { display: block; height: 25px; width: auto; }
@media (max-width: 760px) {
    .foot-bar { align-items: flex-start; }
    .foot-bar-end { gap: 12px 20px; }
    .foot-bar-end > span a:first-child { margin-left: 0; }
}

/* Haberler */
.stage-copy .stage-title { color: #fff; font-size: clamp(42px, 5vw, 68px); max-width: 14ch; line-height: 1.2; letter-spacing: -.025em; font-weight: 650; }
.news-tools { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.news-tools .chip-row { margin-bottom: 0; }
.news-search { display: flex; gap: 8px; margin-left: auto; }
.news-search input { width: min(280px, 60vw); min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 3px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.news-search input:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.news-search .btn { min-height: 44px; }
.news-result-count { margin: -12px 0 24px; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8d6b2f; }
.news-meta a { color: inherit; }
.news-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.news-meta time, .news-meta > span:last-child:not(.news-flag) { color: var(--muted); }
.news-flag { padding: 2px 8px; border-radius: 3px; background: var(--navy); color: #fff; letter-spacing: .04em; }
.news-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.news-lead:not(:has(.news-lead-media)) { grid-template-columns: minmax(0, 760px); }
.news-lead-media { display: block; overflow: hidden; background: #f4f6f6; }
.news-lead-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .2s; }
.news-lead-media:hover img { opacity: .9; }
.news-lead-body { display: grid; gap: 14px; }
.news-lead h2 { font-size: clamp(26px, 3vw, 36px); }
.news-lead h2 a:hover, .news-tile h2 a:hover, .news-tile h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-lead-body > p:not(.news-meta) { color: var(--muted); font-size: 18px; line-height: 1.6; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.news-tile { display: flex; flex-direction: column; gap: 14px; }
.news-tile-media { display: block; overflow: hidden; background: #f4f6f6; aspect-ratio: 16 / 9; }
.news-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.news-tile-media:hover img { opacity: .9; }
.news-tile:not(:has(.news-tile-media)) { padding-top: 18px; border-top: 3px solid var(--gold); }
.news-tile-body { display: grid; gap: 8px; }
.news-tile h2, .news-tile h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.01em; }
.news-tile-body > p:not(.news-meta) { color: var(--muted); font-size: 16px; line-height: 1.55; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 44px; }
.pager ol { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-weight: 600; color: var(--navy); }
.pager a:hover { border-color: #b9c6cd; background: #f7f9f9; }
.pager a[aria-current=page] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .pager-gap { border-color: transparent; background: none; color: var(--muted); }
.pager span[aria-disabled=true] { color: #a9b4bb; }

/* Haber detayı */
.preview-bar { background: #fbf2d9; border-bottom: 1px solid #e3d3ad; color: #5c4515; font-size: 15px; padding: 10px 0; }
.preview-bar strong { margin-right: 8px; padding: 2px 8px; border-radius: 3px; background: #8d6b2f; color: #fff; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.article-hero .news-meta { margin-bottom: 14px; }
.article-hero h1 { max-width: 22ch; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 200px; gap: 56px; align-items: start; }
.article-main { display: grid; gap: 32px; min-width: 0; }
.article-cover { margin: 0; }
.article-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body { max-width: none; font-size: 18px; }
.article-share { position: sticky; top: 24px; display: grid; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
.article-share ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.article-share a, .article-share button { display: inline-flex; align-items: center; min-height: 36px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--navy); cursor: pointer; text-decoration: underline; text-decoration-color: #c9d3d8; text-underline-offset: 4px; }
.article-share a:hover, .article-share button:hover { text-decoration-color: var(--navy); }
.copy-status { display: block; font-size: 13px; color: #2f6b3a; }
.article-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.article-nav .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.article-nav a { display: grid; gap: 6px; padding: 24px 0; }
.article-nav a strong { color: var(--navy); font-size: 19px; line-height: 1.35; }
.article-nav a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.article-nav-next { text-align: right; grid-column: 2; }

@media (max-width: 1100px) {
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-layout { grid-template-columns: 1fr; gap: 32px; }
    .article-share { position: static; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .article-share ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
}
@media (max-width: 760px) {
    .news-lead { grid-template-columns: 1fr; gap: 20px; }
    .news-grid { grid-template-columns: 1fr; }
    .news-search { width: 100%; margin-left: 0; }
    .news-search input { flex: 1; width: auto; }
    .article-nav .wrap { grid-template-columns: 1fr; gap: 0; }
    .article-nav-next { grid-column: 1; text-align: left; border-top: 1px solid var(--line); }
    .article-body { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .news-lead-media img, .news-tile-media img, .content-gallery img { transition: none; }
}
