:root { --emo-blue: #0087ca; --col-rule: 1px solid #e0e0e0; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: #fff; color: #1a1a1a; display: flex; flex-direction: column; min-height: 100vh; }

/* SIDEBAR */
.sidebar { width: 272px; min-width: 272px; background: #fcfcfc; border-right: var(--col-rule); padding: 2.5rem 1.75rem; display: flex; flex-direction: column; justify-content: space-between; }
.sb-logo-img { width: 120px; height: auto; object-fit: contain; display: block; margin: 0 auto 0.75rem; }
.sb-header-logo { max-height: 38px; display: block; }
.sb-hr { border: none; border-top: var(--col-rule); margin: 1.25rem 0; }
.sb-issue { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-style: italic; color: #222; }
.sb-meta { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #555; margin-top: 0.2rem; }
.sb-desc { font-size: 12px; color: #555; line-height: 1.7; font-style: italic; margin-top: 0.85rem; }
.sb-lbl { font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #666; margin-bottom: 0.25rem; }
.sb-name { font-size: 13px; font-weight: 400; color: #333; }
.sb-list { list-style: none; }
.sb-list li { font-size: 12px; color: #555; padding: 0.18rem 0 0.18rem 1rem; position: relative; }
.sb-list li::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 1.5px; background: var(--emo-blue); transform: translateY(-50%); }
.btn-archive { display: block; width: 100%; background: var(--emo-blue); color: #fff; border: none; padding: 0.85rem; font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; cursor: pointer; transition: background 0.2s; text-align: center; text-decoration: none; }
.btn-archive:hover { background: #005f8d; }
.sb-social { display: flex; justify-content: center; gap: 7px; margin-top: 0.9rem; }
.si { width: 29px; height: 29px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e0e0e0; border-radius: 50%; color: #bbb; transition: all 0.2s; text-decoration: none; }
.si:hover { border-color: var(--emo-blue); color: var(--emo-blue); }
.si svg { width: 12px; height: 12px; fill: currentColor; }
.sb-copy { font-size: 8px; color: #ccc; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; margin-top: 0.6rem; }

/* LAYOUT */
.layout { display: flex; flex: 1; align-items: stretch; }
main { flex: 1; padding: 1.75rem 2.25rem; min-width: 0; display: flex; flex-direction: column; overflow-x: hidden; }

/* HEADER */
.mh { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.65rem; border-bottom: 2.5px solid var(--emo-blue); gap: 1rem; flex-wrap: wrap; }
.masthead { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-style: italic; color: #111; line-height: 1; text-decoration: none; }
.masthead span { font-weight: 300; color: var(--emo-blue); }
.mh-right { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; }
.nav a { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #aaa; text-decoration: none; margin-left: 1.25rem; transition: color 0.2s; }
.nav a:hover { color: var(--emo-blue); }
.hi { width: 29px; height: 29px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e5e5e5; border-radius: 50%; color: #bbb; transition: all 0.2s; text-decoration: none; }
.hi:hover { border-color: var(--emo-blue); color: var(--emo-blue); background: #f0f8ff; }
.hi svg { width: 12px; height: 12px; fill: currentColor; }
.btn-listen { background: #1DB954; color: #fff; border: none; padding: 0.45rem 0.8rem; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; transition: background 0.2s, transform 0.15s; border-radius: 2px; text-decoration: none; }
.btn-listen:hover { background: #17a349; transform: translateY(-1px); }
.btn-listen svg { width: 12px; height: 12px; fill: white; }
.btn-pdf { background: var(--emo-blue); color: #fff; border: none; padding: 0.45rem 0.8rem; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; transition: background 0.2s, transform 0.15s; border-radius: 2px; text-decoration: none; }
.btn-pdf:hover { background: #005f8d; transform: translateY(-1px); }
.btn-toggle { background: transparent; border: 1px solid #e5e5e5; border-radius: 50%; width: 29px; height: 29px; display: inline-flex; align-items: center; justify-content: center; color: #bbb; cursor: pointer; transition: all 0.2s; }
.btn-toggle:hover { border-color: var(--emo-blue); color: var(--emo-blue); background: #f0f8ff; }
.dateline { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: #ccc; text-align: right; padding: 0.35rem 0 1.1rem; border-bottom: 1px solid #efefef; margin-bottom: 0; }

/* TICKER / DUYURU BANDI */
.ticker { overflow: hidden; background: #f8fbfe; border-bottom: var(--col-rule); padding: 0.4rem 0; white-space: nowrap; position: relative; }
.ticker::before, .ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(to right, #f8fbfe, transparent); }
.ticker::after { right: 0; background: linear-gradient(to left, #f8fbfe, transparent); }
.ticker-track { display: inline-flex; gap: 6rem; animation: tickerScroll 30s linear infinite; white-space: nowrap; }
.ticker-item { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--emo-blue); flex-shrink: 0; }
.ticker-item::before { content: '\2014'; margin-right: 0.75rem; color: #b0d4ec; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* AUDIO PLAYER */
.audio-player { padding: 0.75rem 0; border-bottom: var(--col-rule); }
.audio-player iframe { width: 100%; border-radius: 8px; }

/* KAPAK BANDI (MANSET) */
.lead { display: grid; grid-template-columns: 1fr 340px; border-bottom: none; gap: 0; margin-bottom: 0; min-height: 280px; }
.lead-l { padding: 1.5rem 1.5rem 1.5rem 0; border-right: var(--col-rule); }
.lead-r { overflow: hidden; filter: drop-shadow(-6px 0 18px rgba(0,0,0,0.18)); }
.lead-r img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead-separator { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-top: var(--col-rule); border-bottom: var(--col-rule); margin-bottom: 0; }
.lead-separator .btn-toggle { flex-shrink: 0; }

.tag { font-size: 8px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--emo-blue); display: block; margin-bottom: 0.45rem; }
.lead-title { font-family: 'Playfair Display', serif; font-size: 1.35rem; line-height: 1.2; color: #111; margin-bottom: 0.65rem; }
.lead-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.lead-title a:hover { color: var(--emo-blue); }
.lead-deck { font-family: 'Source Serif 4', serif; font-size: 13px; font-style: italic; line-height: 1.75; color: #777; margin-bottom: 0.9rem; }
.lead-body { font-family: 'Source Serif 4', serif; font-size: 12.5px; line-height: 1.7; color: #333; max-height: 200px; overflow: hidden; position: relative; }
.lead-body p { margin-bottom: 0.3rem; }
.lead-body p:empty, .lead-body p > br:only-child { display: block; margin: 0; padding: 0; line-height: 0.2; font-size: 4px; }
.lead-body div { margin-bottom: 0; }
.lead-body div:empty, .lead-body div > br:only-child { margin: 0; padding: 0; line-height: 0.2; font-size: 4px; }
.lead-body::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50px; background: linear-gradient(transparent, #fff); }
.lead-body img { max-width: 100%; height: auto; }
.lead-body iframe, .lead-body .youtube-embed { display: none; }
.pq { border-left: 3px solid var(--emo-blue); padding: 0.35rem 0.65rem; margin: 0.8rem 0; break-inside: avoid; }
.pq p { font-family: 'Playfair Display', serif; font-size: 12.5px; font-style: italic; line-height: 1.5; color: #444; }
.byline { font-size: 9px; letter-spacing: 0.08em; color: #bbb; margin-top: 0.7rem; text-transform: uppercase; }
.btn-more { display: inline-block; margin-top: 0.85rem; font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--emo-blue); text-decoration: none; border-bottom: 1px solid var(--emo-blue); padding-bottom: 1px; }

/* HABER LISTESI (SATIR) */
.newspaper { display: flex; flex-direction: column; border-bottom: var(--col-rule); }
.nc { display: grid; grid-template-columns: 180px 1fr; gap: 1.25rem; padding: 1.1rem 0; border-bottom: var(--col-rule); cursor: pointer; transition: background 0.2s; }
.nc:last-child { border-bottom: none; }
.nc:hover { background: #fafbff; }
.nc-img-wrap { flex-shrink: 0; }
.nc-img-wrap img { width: 180px; height: 115px; object-fit: cover; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15)); }
.nc-content { display: flex; flex-direction: column; justify-content: center; }
.nc-title { font-family: 'Playfair Display', serif; font-size: 17px; line-height: 1.25; color: #111; margin-bottom: 0.4rem; transition: color 0.2s; }
.nc-title a { color: inherit; text-decoration: none; }
.nc:hover .nc-title, .nc-title a:hover { color: var(--emo-blue); }
.nc-body { font-family: 'Source Serif 4', serif; font-size: 12px; line-height: 1.8; color: #666; }
.nc-read { font-size: 8.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--emo-blue); border-bottom: 1px solid var(--emo-blue); padding-bottom: 1px; display: inline-block; margin-top: 0.5rem; text-decoration: none; }

/* GRID GORUNUM */
.grid-view { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; padding: 1.25rem 0; }
.grid-card { background: #fff; display: flex; flex-direction: column; transition: all 0.2s; cursor: pointer; text-decoration: none; color: inherit; }
.grid-card:hover { transform: translateY(-3px); }
.grid-card-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.grid-card-body { padding: 1rem 0; display: flex; flex-direction: column; flex: 1; }
.grid-card-tag { font-size: 8px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--emo-blue); display: block; margin-bottom: 0.4rem; }
.grid-card-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; line-height: 1.25; color: #111; margin-bottom: 0.5rem; }
.grid-card:hover .grid-card-title { color: var(--emo-blue); }
.grid-card-excerpt { font-family: 'Source Serif 4', serif; font-size: 12px; line-height: 1.7; color: #777; margin-bottom: 0.75rem; flex: 1; }

/* ARSIV - KART GORUNUM */
.archive-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; padding: 1.25rem 0; }
.archive-item { display: flex; flex-direction: column; transition: all 0.2s; text-decoration: none; color: inherit; }
.archive-item:hover { transform: translateY(-3px); }
.archive-item-cover { width: 100%; aspect-ratio: 1 / 1; background: #f0f4f8; overflow: hidden; }
.archive-item-cover img { width: 100%; height: 100%; object-fit: cover; }
.archive-item-cover { display: flex; align-items: center; justify-content: center; }
.archive-item-cover span { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-style: italic; color: var(--emo-blue); }
.archive-item-body { display: flex; flex-direction: column; padding: 1rem 0; flex: 1; }
.archive-item-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: #111; margin-bottom: 0.25rem; line-height: 1.25; }
.archive-item:hover .archive-item-title { color: var(--emo-blue); }
.archive-item-meta { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--emo-blue); margin-bottom: 0.5rem; }
.archive-item-desc { font-size: 12px; color: #777; line-height: 1.6; margin-bottom: 0.75rem; flex: 1; }

/* YAZI DETAY */
.article-detail { padding: 2rem 0; max-width: 100%; overflow: hidden; word-wrap: break-word; overflow-wrap: break-word; }
.page-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; line-height: 1.3; color: #111; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: var(--col-rule); }
.page-content p { margin-bottom: 0.3rem; }
.page-content p:empty, .page-content p > br:only-child { display: block; margin: 0; padding: 0; line-height: 0.2; font-size: 4px; }
.page-content div { margin-bottom: 0; }
.page-content div:empty, .page-content div > br:only-child { margin: 0; padding: 0; line-height: 0.2; font-size: 4px; }
.article-title { font-family: 'Playfair Display', serif; font-size: 2rem; line-height: 1.2; color: #111; margin-bottom: 0.75rem; }
.article-img-top { margin-bottom: 1.5rem; }
.article-img-top img { width: 100%; max-height: 400px; object-fit: contain; display: block; border: 1px solid #e0e0e0; border-radius: 2px; }
.article-content { font-family: 'Source Serif 4', serif; font-size: 15px; line-height: 1.7; color: #333; width: 100%; overflow: hidden; word-wrap: break-word; overflow-wrap: break-word; }
.article-content p { margin-bottom: 0.3rem; }
.article-content p:empty, .article-content p > br:only-child { display: block; margin: 0; padding: 0; line-height: 0.2; font-size: 4px; }
.article-content div { margin-bottom: 0; }
.article-content div:empty, .article-content div > br:only-child { margin: 0; padding: 0; line-height: 0.2; font-size: 4px; }
.article-content br + br { display: none; }
.article-float-img { max-width: 280px; margin-bottom: 1rem; }
.article-content.img-left .article-float-img { float: left; margin-right: 1.5rem; }
.article-content.img-right .article-float-img { float: right; margin-left: 1.5rem; }
.article-content img { max-width: 100% !important; height: auto !important; border: 1px solid #e0e0e0 !important; border-radius: 2px !important; cursor: pointer; }
.page-content img { max-width: 100% !important; height: auto !important; border: 1px solid #e0e0e0 !important; border-radius: 2px !important; }
.article-content iframe { max-width: 100%; }
.article-content div, .article-content p, .article-content span, .article-content table { max-width: 100% !important; }
.article-content div[style*="float"] { float: none !important; width: 100% !important; margin: 0 0 1rem 0 !important; }
.nc-body img { display: none; }
.nc-body iframe { display: none; }

/* HABER KAYNAK LINKI */
.article-ext-link { margin-top: 1.5rem; padding: 0.85rem 1rem; background: #f8fbfe; border-left: 3px solid var(--emo-blue); font-size: 13px; word-break: break-all; }
.article-ext-link-lbl { font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 10px; color: var(--emo-blue); display: block; margin-bottom: 0.25rem; }
.article-ext-link a { color: #333; text-decoration: none; }
.article-ext-link a:hover { color: var(--emo-blue); text-decoration: underline; }

/* ILETISIM HARITA */
.contact-map { margin-top: 2rem; padding-top: 1.5rem; border-top: var(--col-rule); }
.contact-map-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: #222; margin-bottom: 0.5rem; }
.contact-map-address { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 1rem; }
.contact-map-wrap iframe { display: block; width: 100%; }

/* FOOTER */
footer { background: #1a1a1a; }
.ft { display: grid; grid-template-columns: 2fr 1fr auto; gap: 2rem; padding: 1.75rem 2.25rem; }
.ft-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-style: italic; color: #fff; margin-bottom: 0.35rem; }
.ft-logo span { font-weight: 300; color: var(--emo-blue); }
.ft-desc { font-size: 11px; color: #555; line-height: 1.6; }
.ft-social { display: flex; gap: 6px; margin-top: 0.85rem; }
.fi { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #2e2e2e; border-radius: 50%; color: #555; transition: all 0.2s; text-decoration: none; }
.fi:hover { border-color: var(--emo-blue); color: var(--emo-blue); }
.fi svg { width: 11px; height: 11px; fill: currentColor; }
.ft-col h4 { font-size: 8px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: #444; margin-bottom: 0.7rem; }
.ft-col ul { list-style: none; }
.ft-col ul li { margin-bottom: 0.35rem; }
.ft-col ul a { font-size: 11px; color: #666; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; transition: color 0.2s; }
.ft-col ul a:hover { color: var(--emo-blue); }
.ft-links-inline { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.ft-bot { border-top: 1px solid #252525; padding: 0.7rem 2.25rem; text-align: center; }
.ft-bot p { font-size: 8.5px; color: #3a3a3a; letter-spacing: 0.15em; text-transform: uppercase; }
.ft-bot span { color: var(--emo-blue); }

/* GELECEK AYIN PROGRAMI */
.program-section { margin-top: 2.5rem; border-top: 2.5px solid var(--emo-blue); padding-top: 1.25rem; }
.program-header { font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--emo-blue); margin-bottom: 1rem; }
.program-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.program-item { font-size: 0.88rem; color: #333; padding: 0.6rem 0; border-bottom: 1px solid #efefef; display: flex; align-items: center; gap: 0.6rem; line-height: 1.4; }
.program-item::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--emo-blue); flex-shrink: 0; }

/* MINI CALENDAR (SIDEBAR) */
.mini-cal { background: #fff; border: 1px solid #eee; border-radius: 4px; padding: 0.6rem; }
.mini-cal-title { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emo-blue); text-align: center; margin-bottom: 0.4rem; }
.mini-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; text-align: center; }
.mini-cal-hdr { font-size: 8px; font-weight: 700; color: #999; padding: 2px 0; }
.mini-cal-hdr:nth-child(6), .mini-cal-hdr:nth-child(7) { color: #5aa0c4; }
.mini-cal-day { font-size: 10px; color: #666; padding: 3px 0; border-radius: 50%; line-height: 1; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin: 0 auto; }
.mini-cal-day.is-weekend { color: #006099; }
.mini-cal-day.has-event { background: var(--emo-blue); color: #fff; font-weight: 700; }
.mini-cal-day.has-event.is-weekend { background: #5aa0c4; }

/* ODA TAKVIMI PAGE */
.cal-page { padding: 1.5rem 0; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.cal-nav-title { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-style: italic; color: #222; }
.cal-nav-btn { background: none; border: 1px solid #ddd; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; color: #555; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.cal-nav-btn:hover:not(:disabled) { border-color: var(--emo-blue); color: var(--emo-blue); background: #f0f8ff; }
.cal-nav-btn:disabled { opacity: 0.3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 1.5rem; }
.cal-grid-hdr { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #999; text-align: center; padding: 0.5rem 0; border-bottom: 1px solid #eee; }
.cal-grid-hdr-we { color: #5aa0c4; }
.cal-grid-empty { min-height: 48px; }
.cal-grid-day { min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 4px; position: relative; transition: background 0.15s; }
.cal-grid-day:hover { background: #f5f9ff; }
.cal-grid-num { font-size: 14px; color: #444; font-weight: 500; }
.cal-grid-weekend .cal-grid-num { color: #006099; }
.cal-grid-has-event { background: #daeefa; border-left: 3px solid var(--emo-blue); }
.cal-grid-has-event .cal-grid-num { color: var(--emo-blue); font-weight: 700; }
.cal-grid-has-event.cal-grid-weekend { background: #cce5f5; border-left-color: #006099; }
.cal-grid-has-event.cal-grid-weekend .cal-grid-num { color: #006099; font-weight: 700; }
.cal-grid-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emo-blue); }
.cal-grid-has-event.cal-grid-weekend .cal-grid-dot { background: #5aa0c4; }
.cal-events-section { border-top: 2px solid var(--emo-blue); padding-top: 1rem; }
.cal-events-title { font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--emo-blue); margin-bottom: 0.75rem; }
.cal-event-card { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid #f0f0f0; }
.cal-event-card:last-child { border-bottom: none; }
.cal-event-date { width: 48px; height: 48px; background: var(--emo-blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 4px; flex-shrink: 0; }
.cal-event-day { font-size: 18px; font-weight: 700; line-height: 1; }
.cal-event-dayname { font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.cal-event-info { flex: 1; }
.cal-event-title { font-size: 0.92rem; color: #333; line-height: 1.4; }

/* LIGHTBOX */
.lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s; }
.lightbox-overlay.active { opacity: 1; }
.lightbox-img { max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: 4px; box-shadow: 0 4px 30px rgba(0,0,0,0.4); transition: transform 0.25s; }
.lightbox-close { position: absolute; top: 1rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; opacity: 0.7; transition: opacity 0.2s; }
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: #fff; font-size: 2.5rem; cursor: pointer; padding: 0.5rem; opacity: 0.7; transition: opacity 0.2s; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; opacity: 0.7; }

/* BACK TO TOP */
.btn-top { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 38px; height: 38px; border-radius: 50%; background: var(--emo-blue); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s, background 0.2s; z-index: 99; box-shadow: 0 2px 8px rgba(0,0,0,0.15); pointer-events: none; }
.btn-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.btn-top:hover { background: #005f8d; }

/* MOBILE SIDEBAR ACCORDION */
.sb-mobile-toggle { display: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .layout { flex-direction: column; }
    .sidebar { width: 100%; min-width: auto; border-right: none; border-bottom: var(--col-rule); padding: 0; }
    .sb-mobile-toggle { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.25rem; cursor: pointer; background: #fcfcfc; border-bottom: var(--col-rule); }
    .sb-mobile-toggle span { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-style: italic; color: #222; }
    .sb-mobile-toggle .arrow { font-size: 0.7rem; color: #aaa; transition: transform 0.3s; }
    .sb-mobile-toggle.open .arrow { transform: rotate(180deg); }
    .sb-content { display: none; padding: 1.25rem; }
    .sb-content.open { display: block; }
    .sb-bottom-mobile { display: none; }
    .lead { grid-template-columns: 1fr; min-height: auto; }
    .lead-l { border-right: none; padding-right: 0; }
    .lead-r { height: 220px; }
    .lead-r img { height: 220px; }
    .nc { grid-template-columns: 120px 1fr; }
    .nc-img-wrap img { width: 120px; height: 80px; }
    .grid-view { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .archive-list { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .ft { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .nc { grid-template-columns: 1fr; }
    .nc-img-wrap img { width: 100%; height: 150px; }
    .grid-view { grid-template-columns: 1fr; }
    main { padding: 1rem; }
}
