/* Türk Yapı Malzemeleri Sektör Komitesi – ön yüz
   Kurumsal kimlik: TCM Kurumsal Kimlik Kılavuzu V03 (Kurumsal Mavi #165AA4, Kurumsal Altın #BB9A6A, Antrasit #2B2E33, Kum #F4F0E9, Nunito Sans).
   Tüm renk/yazı tipi değerleri CSS değişkenlerinden gelir; değişkenler yönetim panelindeki Tema ayarlarından basılır.
   Altın vurgu ve desen rengidir, metin rengi olarak kullanılmaz. */

:root {
    --ym-text: var(--ym-dark);
    --ym-muted: #5f646b;
    --ym-border: #e6e1d8;
    --ym-shadow: 0 6px 24px rgba(43, 46, 51, .07);
    --ym-shadow-lg: 0 14px 40px rgba(43, 46, 51, .13);
    --ym-primary-deep: color-mix(in srgb, var(--ym-primary) 72%, #0b1626);
    /* Desen (logo sembolü): zemin dokusu için maske */
    --ym-desen: url("/img/logo/tcm-desen.svg");
    --bs-primary: var(--ym-primary);
    --bs-link-color: var(--ym-primary);
    --bs-link-hover-color: var(--ym-secondary);
    --bs-body-font-family: var(--ym-font-body);
    --bs-border-radius: var(--ym-radius);
}

body { font-family: var(--ym-font-body); color: var(--ym-text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--ym-font-heading); font-weight: 800; color: var(--ym-dark); letter-spacing: -.01em; }
h1, h2, .h1, .h2 { color: var(--ym-primary); }
a { color: var(--ym-primary); text-decoration: none; }
a:hover { color: var(--ym-secondary); }
img { max-width: 100%; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--ym-accent); outline-offset: 2px; }

/* Bootstrap renk eşlemesi */
.btn { font-weight: 700; }
.btn-primary { --bs-btn-bg: var(--ym-primary); --bs-btn-border-color: var(--ym-primary); --bs-btn-hover-bg: var(--ym-primary-deep); --bs-btn-hover-border-color: var(--ym-primary-deep); --bs-btn-active-bg: var(--ym-primary-deep); --bs-btn-disabled-bg: var(--ym-primary); }
.btn-outline-primary { --bs-btn-color: var(--ym-primary); --bs-btn-border-color: var(--ym-primary); --bs-btn-hover-bg: var(--ym-primary); --bs-btn-hover-border-color: var(--ym-primary); --bs-btn-active-bg: var(--ym-primary); --bs-btn-active-border-color: var(--ym-primary); }
.btn-accent { background: var(--ym-accent); color: var(--ym-dark); border: 0; font-weight: 700; }
.btn-accent:hover { filter: brightness(.94); color: var(--ym-dark); }
.btn { border-radius: calc(var(--ym-radius) * .8); }
.btn-icon { border: 0; background: transparent; font-size: 1.35rem; color: var(--ym-dark); padding: .35rem .55rem; border-radius: 50%; }
.btn-icon:hover { background: var(--ym-light); }
.text-primary { color: var(--ym-primary) !important; }
.text-bg-primary { background: var(--ym-primary) !important; color: #fff !important; }
.pagination { --bs-pagination-active-bg: var(--ym-primary); --bs-pagination-active-border-color: var(--ym-primary); --bs-pagination-color: var(--ym-primary); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--ym-primary); }
.nav-pills .nav-link { color: var(--ym-dark); }
.nav-pills .nav-link.active { color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--ym-primary); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--ym-primary) 18%, transparent); }

/* Üst bant */
.topbar { background: var(--ym-primary-deep); color: rgba(255, 255, 255, .8); font-size: .82rem; padding: .45rem 0; }
.topbar a { color: rgba(255, 255, 255, .8); }
.topbar a:hover { color: #fff; }
.topbar .d-flex > a + a { margin-left: .9rem; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255, 255, 255, .3); border-radius: 4px; font-size: .75rem; overflow: hidden; }
.lang-switch > * { padding: 0 .45rem; line-height: 1.6; }
.lang-switch strong { background: rgba(255, 255, 255, .15); color: #fff; }
.topbar .lang-switch a { margin-left: 0 !important; }
.lang-mobile { font-size: .8rem; font-weight: 700; border: 1px solid var(--ym-border); border-radius: 6px; padding: .3rem .5rem; line-height: 1; }

/* Header */
.site-header { background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ym-border); box-shadow: 0 1px 0 rgba(0, 0, 0, .02); }
.site-header .navbar { padding: .55rem 0; }
.navbar-brand { padding: 0; margin-right: 1.5rem; }
.navbar-brand img { height: 64px; width: auto; display: block; }
.main-nav .nav-link { font-weight: 700; color: var(--ym-dark); padding: .6rem .85rem !important; border-radius: 8px; font-size: .95rem; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--ym-primary); background: var(--ym-light); }
.main-nav .dropdown-menu { border: 0; box-shadow: var(--ym-shadow-lg); border-radius: var(--ym-radius); padding: .5rem; min-width: 240px; }
.main-nav .dropdown-item { border-radius: 6px; padding: .5rem .8rem; font-size: .92rem; }
.main-nav .dropdown-item:hover { background: var(--ym-light); color: var(--ym-primary); }
@media (min-width: 992px) {
    .main-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
    #mainNav, #mainNav .offcanvas-body { flex-grow: 1; }
}
@media (max-width: 991.98px) {
    /* backdrop-filter, header'ı "position: fixed" çocukları için kapsayıcı yapar; mobil menü (offcanvas) header içinde
       sıkışıp banner'ın altında kalıyordu. Mobilde filtreyi kaldırıp header'ı menü arka planının üstüne alıyoruz. */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; z-index: 1045; }
    .main-nav .nav-link { padding: .8rem 1rem !important; border-bottom: 1px solid var(--ym-border); border-radius: 0; }
    .main-nav .dropdown-menu { box-shadow: none; padding-left: 1rem; }
    .navbar-brand img { height: 44px; }
}

/* Hero */
.hero { position: relative; }
.hero { border-bottom: 6px solid var(--ym-accent); }
.hero-slide { position: relative; min-height: 520px; display: flex; align-items: center; color: #fff; background-color: var(--ym-primary);
    background-image: linear-gradient(120deg, var(--ym-primary-deep), var(--ym-primary)); background-size: cover; background-position: center; overflow: hidden; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 38, 74, .85) 0%, rgba(12, 38, 74, .5) 55%, rgba(12, 38, 74, .15) 100%); z-index: 1; }
/* Desen dokusu: kılavuzdaki "ton üstü ton" kullanım */
.hero-slide::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 46%; z-index: 1; background: rgba(255, 255, 255, .07); pointer-events: none;
    -webkit-mask-image: var(--ym-desen), linear-gradient(90deg, transparent, #000 60%); mask-image: var(--ym-desen), linear-gradient(90deg, transparent, #000 60%);
    -webkit-mask-size: 72px 72px, 100% 100%; mask-size: 72px 72px, 100% 100%; -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat;
    -webkit-mask-composite: source-in; mask-composite: intersect; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-content { position: relative; z-index: 2; max-width: 1140px; padding-top: 3rem; padding-bottom: 4rem; }
.hero-content h1, .hero-content .h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 760px; line-height: 1.1; }
.hero-content p { font-size: clamp(1rem, 1.6vw, 1.3rem); max-width: 620px; opacity: .9; margin: 1rem 0 1.5rem; }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 2px; }
@media (max-width: 767px) { .hero-slide { min-height: 420px; } }

/* Bölümler */
.section { padding: 4.5rem 0; }
.bg-soft { background: var(--ym-light); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ym-primary); margin-bottom: .35rem; }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--ym-accent); flex-shrink: 0; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--ym-muted); background: var(--ym-light); border-radius: var(--ym-radius); }
.empty-state i { font-size: 2.4rem; opacity: .5; }
.empty-state p { margin: .6rem 0 0; }
.panel { background: #fff; border: 1px solid var(--ym-border); border-radius: var(--ym-radius); padding: 1.5rem; box-shadow: var(--ym-shadow); }

/* Sayfa başlığı */
.page-hero { background: linear-gradient(120deg, var(--ym-primary-deep), var(--ym-primary)); color: #fff; padding: 2.6rem 0 2.4rem; position: relative; overflow: hidden; border-bottom: 4px solid var(--ym-accent); }
.page-hero::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 40%; background: rgba(255, 255, 255, .08); pointer-events: none;
    -webkit-mask-image: var(--ym-desen), linear-gradient(90deg, transparent, #000 70%); mask-image: var(--ym-desen), linear-gradient(90deg, transparent, #000 70%);
    -webkit-mask-size: 54px 54px, 100% 100%; mask-size: 54px 54px, 100% 100%; -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat;
    -webkit-mask-composite: source-in; mask-composite: intersect; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.5rem); margin: 0; max-width: 900px; }
.page-hero .lead { opacity: .85; margin: .6rem 0 0; font-size: 1.05rem; max-width: 800px; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .75); font-size: .85rem; margin-bottom: .8rem; }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .9); }

/* Birlik logoları */
.assoc-strip-section { padding-bottom: 3rem; }
.logo-marquee { overflow: hidden; position: relative; padding: .5rem 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { display: flex; gap: 1.2rem; width: max-content; animation: marquee 60s linear infinite; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .logo-track > [aria-hidden="true"] { display: none; } }
.logo-item { flex: 0 0 auto; width: 190px; height: 104px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--ym-border); border-radius: var(--ym-radius); padding: 14px 18px; transition: .2s; }
.logo-item img { max-height: 72px; max-width: 100%; object-fit: contain; filter: grayscale(.25); transition: .2s; }
.logo-item:hover { box-shadow: var(--ym-shadow-lg); transform: translateY(-2px); border-color: transparent; }
.logo-item:hover img { filter: none; }
.assoc-mono { font-weight: 800; color: var(--ym-primary); letter-spacing: .02em; font-size: 1.2rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; background: var(--ym-light); color: var(--ym-dark); font-size: .88rem; font-weight: 500; border: 1px solid transparent; transition: .15s; }
.chip:hover { border-color: var(--ym-primary); color: var(--ym-primary); background: #fff; }
.chip-sm { padding: .2rem .6rem; font-size: .76rem; }

.assoc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.assoc-tile { background: #fff; border: 1px solid var(--ym-border); border-radius: var(--ym-radius); padding: 1rem; display: flex; flex-direction: column; gap: .7rem; transition: .2s; }
.assoc-tile:hover { box-shadow: var(--ym-shadow-lg); border-color: transparent; }
.assoc-card { display: flex; flex-direction: column; gap: .7rem; color: inherit; }
.assoc-card .assoc-logo { height: 110px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: calc(var(--ym-radius) * .7); }
.assoc-card .assoc-logo img { max-height: 90px; max-width: 85%; object-fit: contain; }
.assoc-card .assoc-name strong { display: block; color: var(--ym-primary); font-size: 1.05rem; }
.assoc-card .assoc-name span { font-size: .85rem; color: var(--ym-muted); line-height: 1.35; display: block; }
.assoc-tags { display: flex; gap: .8rem; font-size: .78rem; color: var(--ym-muted); }
.assoc-groups { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: auto; }
.assoc-profile-logo { height: 160px; display: flex; align-items: center; justify-content: center; }
.assoc-profile-logo img { max-height: 150px; max-width: 90%; object-fit: contain; }
.profile-dl dt { font-weight: 600; color: var(--ym-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.profile-dl dd { margin-bottom: .7rem; }
.rep-card { display: flex; gap: .8rem; align-items: center; padding: .9rem; border: 1px solid var(--ym-border); border-radius: var(--ym-radius); }
.rep-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ym-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.mini-logo { width: 64px; height: 40px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mini-logo img { max-width: 64px; max-height: 40px; object-fit: contain; }
.social { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; }
.social:hover { background: var(--ym-accent); color: var(--ym-dark); }
.social-dark { background: var(--ym-light); color: var(--ym-primary); }

/* İstatistik */
.stats-section { background: linear-gradient(135deg, var(--ym-primary-deep) 0%, var(--ym-primary) 100%); color: #fff; position: relative; overflow: hidden; }
.stats-section::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .045); pointer-events: none;
    -webkit-mask: var(--ym-desen) 0 0 / 64px 64px repeat; mask: var(--ym-desen) 0 0 / 64px 64px repeat; }
.stats-section > .container { position: relative; }
.stats-section h2, .stats-section h3 { color: #fff; }
.stats-section .eyebrow { color: var(--ym-accent); }
.kpi { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--ym-radius); padding: 1.3rem; height: 100%; }
.kpi-label { font-size: .82rem; opacity: .8; margin-bottom: .4rem; }
.kpi-value { font-size: 2rem; font-weight: 800; line-height: 1.1; font-family: var(--ym-font-heading); }
.kpi-value small { font-size: .9rem; font-weight: 500; opacity: .8; }
.kpi-foot { margin-top: .5rem; font-size: .8rem; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.kpi-foot span:not(.chg) { opacity: .7; }
.kpi-light { background: #fff; border-color: var(--ym-border); box-shadow: var(--ym-shadow); color: var(--ym-text); }
.kpi-light .kpi-value { color: var(--ym-primary); font-size: 1.6rem; }
.kpi-light .kpi-label { color: var(--ym-muted); opacity: 1; }
.chg { font-weight: 700; font-size: .85em; white-space: nowrap; }
.chg.up { color: #1a9d5b; }
.chg.down { color: #d64545; }
.stats-section .chg.up { color: #63e6a2; }
.stats-section .chg.down { color: #ff9b9b; }
.stats-section .panel { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; color: #fff; }
.bar-row { display: grid; grid-template-columns: minmax(140px, 1.3fr) 2fr auto; gap: .8rem; align-items: center; padding: .35rem 0; font-size: .86rem; }
.bar-track { background: rgba(255, 255, 255, .12); height: 8px; border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--ym-accent); border-radius: 4px; }
.bar-val { white-space: nowrap; font-weight: 600; text-align: right; min-width: 120px; }
.top-list { margin: 0; padding-left: 1.2rem; }
.top-list li { padding: .5rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.top-list li > span { display: inline-flex; justify-content: space-between; align-items: center; width: calc(100% - .2rem); }
.top-list li > span > span:last-child { font-weight: 600; white-space: nowrap; }
@media (max-width: 575px) { .bar-row { grid-template-columns: 1fr; gap: .2rem; } .bar-val { text-align: left; } }

.stats-explorer { position: relative; }
.stats-explorer.loading .chart-wrap { opacity: .4; }
.chart-wrap { position: relative; height: 420px; transition: opacity .2s; }
.stats-table { font-size: .87rem; }
.stats-table caption { caption-side: top; }

/* Kartlar */
.post-card { border: 1px solid var(--ym-border); border-radius: var(--ym-radius); overflow: hidden; transition: .2s; }
.post-card:hover { box-shadow: var(--ym-shadow-lg); transform: translateY(-3px); border-color: transparent; }
.post-card-img { position: relative; display: block; aspect-ratio: 16/9; background: var(--ym-light); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--ym-primary); opacity: .25; background: linear-gradient(135deg, var(--ym-light), #fff); }
.badge-type { position: absolute; left: 12px; top: 12px; background: var(--ym-secondary); font-weight: 600; }
.badge-type.badge-activity { background: var(--ym-primary); }
.assoc-feed { border-top: 1px solid var(--ym-border); }
.activity-thumb { width: 64px; height: 40px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.post-card .meta { font-size: .78rem; color: var(--ym-muted); margin-bottom: .5rem; }
.post-card .card-title { line-height: 1.4; }
.post-card .card-title a { color: var(--ym-dark); }
.post-card .card-title a:hover { color: var(--ym-primary); }

.doc-card { border: 1px solid var(--ym-border); border-radius: var(--ym-radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: .2s; }
.doc-card:hover { box-shadow: var(--ym-shadow-lg); }
.doc-cover { aspect-ratio: 4/3; background: var(--ym-light); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: var(--ym-secondary); overflow: hidden; }
.doc-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Etkinlikler */
.event-list { display: flex; flex-direction: column; gap: .7rem; }
.event-row { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--ym-border); border-radius: var(--ym-radius); padding: .9rem 1rem; color: inherit; transition: .2s; }
.event-row:hover { box-shadow: var(--ym-shadow); border-color: var(--ym-primary); color: inherit; }
.event-date { border-bottom: 3px solid var(--ym-accent); width: 62px; flex-shrink: 0; text-align: center; background: var(--ym-primary); color: #fff; border-radius: calc(var(--ym-radius) * .8); padding: .45rem 0; line-height: 1.1; }
.event-date .d { display: block; font-size: 1.45rem; font-weight: 800; }
.event-date .m { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.event-list.compact .event-row { padding: .6rem; border: 0; border-bottom: 1px solid var(--ym-border); border-radius: 0; }
.meeting-card { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--ym-border); border-radius: var(--ym-radius); padding: 1.1rem; color: inherit; height: 100%; transition: .2s; }
.meeting-card:hover { box-shadow: var(--ym-shadow); color: inherit; }
.meeting-card:not(.upcoming) .event-date { background: #8a8e94; border-bottom-color: #c9ccd0; }
.about-card { background: var(--ym-primary); color: #fff; border-radius: var(--ym-radius); padding: 2.2rem; height: 100%; position: relative; overflow: hidden; border-bottom: 6px solid var(--ym-accent); }
.about-card::after { content: ""; position: absolute; right: 1.4rem; top: 1.4rem; width: 64px; height: 64px; background: var(--ym-accent); pointer-events: none;
    -webkit-mask: var(--ym-desen) center / contain no-repeat; mask: var(--ym-desen) center / contain no-repeat; }
.about-card > * { position: relative; z-index: 1; }
.about-card h2 { padding-right: 70px; }
.about-card h2 { color: #fff; }
.about-card p { opacity: .85; }
.partner { display: inline-block; border: 1px solid rgba(255, 255, 255, .3); padding: .25rem .75rem; border-radius: 6px; margin: 0 .3rem .3rem 0; font-weight: 600; font-size: .85rem; }

.cal-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; flex-wrap: wrap; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .75rem; font-weight: 700; color: var(--ym-muted); text-transform: uppercase; padding: .3rem 0; }
.cal-cell { min-height: 96px; background: #fff; border: 1px solid var(--ym-border); border-radius: 8px; padding: 4px 5px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.cal-cell.empty { background: transparent; border-color: transparent; }
.cal-cell.today { border: 2px solid var(--ym-accent); }
.cal-day { font-size: .8rem; font-weight: 700; color: var(--ym-muted); }
.cal-ev { display: block; font-size: .7rem; line-height: 1.25; padding: 2px 5px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.cal-ev.ev-meeting { background: var(--ym-primary); }
.cal-ev.ev-activity { background: var(--ym-secondary); }
.cal-ev:hover { color: #fff; filter: brightness(1.1); }

/* Filtreler */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .4rem; border-bottom: 1px solid var(--ym-border); padding-bottom: .6rem; }
.filter-tabs a, .filter-tabs button { border: 0; background: transparent; padding: .45rem .9rem; border-radius: 999px; font-weight: 600; color: var(--ym-muted); font-size: .9rem; }
.filter-tabs a:hover, .filter-tabs button:hover { color: var(--ym-primary); background: var(--ym-light); }
.filter-tabs .active { background: var(--ym-primary) !important; color: #fff !important; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.filter-bar .form-select { width: auto; min-width: 200px; }
[data-tags].is-hidden { display: none; }

/* İçerik */
.rich { line-height: 1.75; font-size: 1.02rem; }
.rich h2, .rich h3 { margin-top: 1.8rem; margin-bottom: .8rem; }
.rich h2 { font-size: 1.5rem; } .rich h3 { font-size: 1.22rem; }
.rich img { border-radius: var(--ym-radius); height: auto; }
.rich table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.rich table td, .rich table th { border: 1px solid var(--ym-border); padding: .5rem .7rem; }
.rich blockquote { border-left: 4px solid var(--ym-accent); padding: .5rem 1rem; background: var(--ym-light); border-radius: 0 8px 8px 0; }
.rich iframe { max-width: 100%; border-radius: var(--ym-radius); aspect-ratio: 16/9; height: auto; width: 100%; }
.rich ul li, .rich ol li { margin-bottom: .4rem; }
.decisions { background: #f2faf5; border-left: 4px solid #1a9d5b; padding: 1rem 1.2rem; border-radius: 0 8px 8px 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; color: var(--ym-muted); font-size: .88rem; margin-bottom: 1rem; }
.article-cover { margin: 0 0 1.6rem; border-radius: var(--ym-radius); overflow: hidden; }
.article-cover img { width: 100%; }
.share a, .share button { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ym-light); margin-right: .3rem; color: var(--ym-primary); text-decoration: none; }
.share a:hover, .share button:hover { background: var(--ym-primary); color: #fff; }
.related-list li { padding: .6rem 0; border-bottom: 1px solid var(--ym-border); }
.related-list li a { display: block; font-weight: 600; color: var(--ym-dark); line-height: 1.35; }
.related-list li small { color: var(--ym-muted); }
.partner-logo-lg { display: flex; align-items: center; justify-content: center; height: 150px; background: #fff; border: 1px solid var(--ym-border); border-radius: var(--ym-radius); }
.partner-logo-lg img { max-height: 110px; max-width: 70%; object-fit: contain; }
.identity-logo { display: flex; align-items: center; justify-content: center; height: 150px; padding: 1.2rem; background: #fff; border: 1px solid var(--ym-border); border-radius: var(--ym-radius); }
.identity-logo.is-dark { background: var(--ym-primary); border-color: var(--ym-primary); }
.rich .identity-logo img { max-height: 100%; max-width: 100%; border-radius: 0; }
.side-nav { display: flex; flex-direction: column; border: 1px solid var(--ym-border); border-radius: var(--ym-radius); overflow: hidden; }
.side-nav a { padding: .8rem 1.1rem; border-bottom: 1px solid var(--ym-border); color: var(--ym-dark); font-weight: 500; }
.side-nav a:last-child { border-bottom: 0; }
.side-nav a.active, .side-nav a:hover { background: var(--ym-light); color: var(--ym-primary); border-left: 3px solid var(--ym-accent); }
.committee-table td { padding-top: .8rem; padding-bottom: .8rem; }
.sitemap ul { padding-left: 1.1rem; }
.sitemap li { margin-bottom: .35rem; }
.columns-2 { columns: 2; } @media (max-width: 575px) { .columns-2 { columns: 1; } }

/* İletişim */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map-consent { border: 1px dashed var(--ym-border); border-radius: var(--ym-radius); overflow: hidden; background: var(--ym-light); }
.map-consent iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--ym-dark); color: rgba(255, 255, 255, .85); padding: 4rem 0 1.4rem; margin-top: 0; position: relative; }
/* Kılavuzdaki alt bant: Kurumsal Mavi + Kurumsal Altın */
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--ym-primary) 0 78%, var(--ym-accent) 78% 100%); }
.site-footer h6 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--ym-accent); }
.footer-brand { display: inline-block; }
.footer-brand img { width: 190px; height: auto; display: block; }
.footer-links li { margin-bottom: .5rem; font-size: .92rem; }
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-logos a { display: inline-flex; opacity: .85; transition: opacity .2s; }
.footer-logos a:hover { opacity: 1; }
.footer-logos img { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
@media (max-width: 575px) { .footer-logos { gap: 1.5rem; } .footer-logos img { height: 38px; max-width: 150px; } }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; opacity: .85; }

/* Çerez bandı */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1080; background: rgba(43, 46, 51, .97); border-top: 3px solid var(--ym-accent); color: #fff; padding: 1rem 0; box-shadow: 0 -6px 24px rgba(0, 0, 0, .2); }
.cookie-banner a { color: var(--ym-accent); }

/* Canlı arama */
#liveSearchResults .list-group-item { border-left: 0; border-right: 0; }
#liveSearchResults mark { padding: 0; background: color-mix(in srgb, var(--ym-accent) 40%, transparent); }

@media print {
    .topbar, .site-header, .site-footer, .cookie-banner, .share, aside { display: none !important; }
    .page-hero { background: none; color: #000; padding: 0; }
    .page-hero h1 { color: #000; }
}
