/* BilgiKeşfi v172 — selected 1A, 2A, 3B, 4A, 5B. Scoped component styles. */
.bk172{--bk172-ink:#10223e;--bk172-muted:#64748b;--bk172-paper:#fff;--bk172-line:#e0e7ef;--bk172-soft:#f3f7fc;--bk172-accent:#2457e6;color:var(--bk172-ink);font-family:inherit;min-width:0;box-sizing:border-box}
.bk172 *, .bk172 *::before,.bk172 *::after{box-sizing:border-box}
.bk172 svg{width:22px;height:22px;flex:0 0 auto;vertical-align:middle}
.bk172 a{color:inherit;text-decoration:none}
.bk172 button,.bk172 input{font:inherit}
.bk172 :is(a,button,input):focus-visible{outline:3px solid #2457e6;outline-offset:4px}
.bk172 img{display:block;max-width:100%;object-fit:cover}
.bk172 h2,.bk172 h3,.bk172 p{margin:0;color:inherit;font-family:inherit}
.bk172 h2,.bk172 h3{letter-spacing:-.035em;text-wrap:balance}
.bk172 .bk172-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.15em;line-height:1.5;color:#536c91;margin:0 0 9px}
.bk172 .bk172-topic{display:inline-flex;gap:6px;align-items:center;color:var(--bk172-accent);font-size:11px;font-weight:750;line-height:1.35;letter-spacing:0;text-wrap:pretty}
.bk172 .bk172-topic svg{width:17px;height:17px}
.bk172 .bk172-heading{margin:0 0 24px;padding:0;text-align:left;max-width:none}
.bk172 .bk172-heading h2{display:flex;align-items:center;gap:10px;font-size:clamp(24px,3vw,36px);font-weight:800;line-height:1.15;margin:0;background:none;-webkit-text-fill-color:currentColor}
.bk172 .bk172-heading h2 svg{width:29px;height:29px}
.bk172 .bk172-heading p{font-size:14px;line-height:1.55;color:var(--bk172-muted);margin-top:9px}
/* 1A — one sidebar recommendation card, with two same-topic and two varied links. */
body .reader-article-sidebar .bk172-rail,body .reader-article-sidebar .bk172-quiz{padding:20px 16px;background:var(--bk172-paper);border:1px solid var(--bk172-line);border-radius:17px;box-shadow:0 5px 20px #10223e05;overflow:hidden;min-width:0}
body .reader-article-sidebar .bk172-rail{border-top:3px solid #2457e6}
.bk172-rail h2{display:flex;gap:9px;align-items:center;font-size:19px;font-weight:800;margin-bottom:18px}
.bk172-rail h2 svg{color:#2457e6;width:25px;height:25px}
.bk172 .bk172-rail-related{display:grid;gap:15px}
.bk172 .bk172-rail-row{display:grid;grid-template-columns:76px minmax(0,1fr);gap:11px;align-items:center;padding:0}
.bk172 .bk172-rail-row>img{width:76px;height:76px;border-radius:10px;aspect-ratio:1}
.bk172 .bk172-rail-row>span{min-width:0}
.bk172 .bk172-rail-row strong{display:block;font-size:13px;line-height:1.5;font-weight:700;margin-top:5px;overflow-wrap:anywhere}
.bk172 .bk172-rail-row .bk172-topic{font-size:9px;gap:4px}
.bk172 .bk172-rail-row .bk172-topic svg{width:13px;height:13px}
.bk172 .bk172-rail-other{margin-top:18px;padding-top:16px;border-top:1px solid var(--bk172-line)}
.bk172 .bk172-rail-other:first-of-type{margin-top:0;padding-top:0;border:0}
.bk172 .bk172-rail-other h3{font-size:12px;font-weight:650;color:var(--bk172-muted);margin-bottom:12px;letter-spacing:0}
.bk172 .bk172-rail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bk172 .bk172-rail-tile{display:flex;flex-direction:column;gap:7px;min-width:0}
.bk172 .bk172-rail-tile>img{width:100%;height:auto;aspect-ratio:1.25;border-radius:10px}
.bk172 .bk172-rail-tile .bk172-topic{font-size:9px;gap:3px}
.bk172 .bk172-rail-tile .bk172-topic svg{width:13px;height:13px}
.bk172 .bk172-rail-tile strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.bk172-rail a:hover strong{text-decoration:underline;text-underline-offset:3px}
/* 2A — accessible, article-specific one-question quiz. */
.bk172-quiz h2{font-size:20px;line-height:1.25;font-weight:800;margin-bottom:18px}
.bk172-quiz .bk172-eyebrow{border-left:3px solid #2457e6;padding-left:9px;color:#2457e6}
.bk172-quiz form,.bk172-quiz fieldset{margin:0;padding:0;border:0;min-width:0}
.bk172-quiz legend{font-size:14px;line-height:1.55;font-weight:700;padding:0;margin-bottom:13px;width:100%}
.bk172-quiz .bk172-option{display:flex;align-items:flex-start;gap:9px;flex-wrap:wrap;margin:0 0 8px;padding:11px 10px;border:1px solid var(--bk172-line);border-radius:10px;font-size:12px;line-height:1.5;cursor:pointer;background:var(--bk172-paper)}
.bk172-quiz .bk172-option input{width:16px;height:16px;margin:1px 0 0;accent-color:#2457e6;flex:0 0 16px}
.bk172-quiz .bk172-option>span{flex:1;min-width:0}
.bk172-quiz .bk172-option-result{flex-basis:100%;font-size:10px;padding-left:25px}
.bk172-quiz .bk172-option-result:empty{display:none}
.bk172-quiz .bk172-option:has(input:checked){border-color:#2457e6;background:color-mix(in srgb,#2457e6 5%,var(--bk172-paper))}
.bk172-quiz .bk172-option[data-result="correct"]{border-color:#168044;background:color-mix(in srgb,#168044 8%,var(--bk172-paper))}
.bk172-quiz .bk172-option[data-result="incorrect"]{border-color:#c55e19;background:color-mix(in srgb,#c55e19 7%,var(--bk172-paper))}
.bk172-quiz .bk172-check{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:43px;margin-top:13px;border:0;border-radius:10px;padding:11px 10px;background:#2457e6;color:#fff;font-weight:700;font-size:12px;cursor:pointer}
.bk172-quiz .bk172-check svg{width:17px;height:17px}
.bk172-quiz .bk172-feedback{padding:12px;border-radius:10px;background:var(--bk172-soft);margin-top:12px;font-size:12px;line-height:1.65;color:var(--bk172-ink)}
.bk172-quiz .bk172-retry{margin:9px 0 0;padding:5px 0;border:0;background:none;color:var(--bk172-accent);font-weight:700;font-size:12px;cursor:pointer;min-height:35px}
.bk172-quiz .bk172-quiz-note{display:block;text-align:center;font-size:10px;color:var(--bk172-muted);margin-top:13px}
.bk172[hidden],.bk172 [hidden]{display:none!important}
/* Homepage panels reset only the three selected legacy containers. */
body #kategoriler>section.bk172{display:block;position:relative;isolation:isolate;margin:26px 0;padding:30px;background:var(--bk172-paper);border:1px solid var(--bk172-line);border-radius:22px;box-shadow:0 7px 26px #18314804;color:var(--bk172-ink);overflow:hidden;min-height:0}
body #kategoriler>section.bk172::before,body #kategoriler>section.bk172::after{display:none}
/* 3B — alternating editorial image strips. */
.bk172 .bk172-strips{display:grid;gap:15px}
.bk172 .bk172-strip{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);border:1px solid var(--bk172-line);border-radius:16px;overflow:hidden;background:var(--bk172-paper);min-width:0}
.bk172 .bk172-strip-copy{padding:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;position:relative}
.bk172 .bk172-strip-copy::before{content:"";position:absolute;left:0;top:24px;bottom:24px;width:3px;background:var(--bk172-accent);border-radius:3px}
.bk172 .bk172-strip h3{font-size:clamp(18px,2vw,26px);font-weight:800;line-height:1.24;margin:10px 0}
.bk172 .bk172-strip p{font-size:13px;line-height:1.65;color:var(--bk172-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bk172 .bk172-text-link{display:inline-flex;align-items:center;gap:7px;color:var(--bk172-accent);font-size:12px;font-weight:750;margin-top:14px}
.bk172 .bk172-text-link svg{width:17px;height:17px}
.bk172 .bk172-strip-photo{min-width:0;min-height:220px;overflow:hidden}
.bk172 .bk172-strip-photo img{width:100%;height:100%;min-height:220px;max-height:300px;transition:transform .25s}
.bk172 .bk172-strip:nth-child(even){grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.bk172 .bk172-strip:nth-child(even) .bk172-strip-photo{grid-row:1;grid-column:1}
.bk172 .bk172-strip:nth-child(even) .bk172-strip-copy{grid-column:2}
.bk172 .bk172-strip:hover .bk172-strip-photo img{transform:scale(1.025)}
/* 4A — equal visual cards, with real reading-list bookmarks. */
.bk172 .bk172-picks-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.bk172 .bk172-pick{position:relative;min-width:0;margin:0;border:1px solid var(--bk172-line);border-radius:16px;overflow:hidden;box-shadow:0 4px 9px #10223e09;background:var(--bk172-paper)}
.bk172 .bk172-pick-link{display:block;height:100%}
.bk172 .bk172-pick-photo{overflow:hidden;aspect-ratio:1.6}
.bk172 .bk172-pick-photo img{width:100%;height:100%;transition:transform .25s}
.bk172 .bk172-pick-copy{padding:0 20px 22px;position:relative}
.bk172 .bk172-pick-copy .bk172-topic{background:var(--bk172-accent);color:#fff;border:2px solid var(--bk172-paper);padding:6px 12px;border-radius:30px;position:relative;transform:translateY(-14px);margin-bottom:-5px;font-size:11px;max-width:100%}
.bk172 .bk172-pick h3{font-size:clamp(18px,2vw,25px);font-weight:800;line-height:1.3;margin:0}
.bk172 .bk172-save{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff70;border-radius:11px;background:#10223e9c;color:#fff;cursor:pointer;backdrop-filter:blur(5px)}
.bk172 .bk172-save svg{width:20px;height:20px}
.bk172 .bk172-save[aria-pressed="true"]{background:#2457e6;color:#fff}
.bk172 .bk172-save[aria-pressed="true"] svg{fill:currentColor}
.bk172 .bk172-pick:hover .bk172-pick-photo img{transform:scale(1.025)}
/* 5B — three photographic destination cards, all visible without tabs. */
.bk172 .bk172-direction-grid{display:grid;gap:16px}
.bk172 .bk172-direction{position:relative;display:block;overflow:hidden;isolation:isolate;border:1px solid var(--bk172-line);border-left:4px solid var(--bk172-accent);border-radius:15px;min-height:185px;background:var(--bk172-paper)}
.bk172 .bk172-direction-photo{position:absolute;inset:0 0 0 28%;z-index:-2}
.bk172 .bk172-direction-photo img{width:100%;height:100%}
.bk172 .bk172-direction-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--bk172-paper) 0%,var(--bk172-paper) 8%,transparent 90%)}
.bk172 .bk172-direction-copy{padding:24px 30px;width:65%;min-height:185px;background:linear-gradient(90deg,var(--bk172-paper) 45%,transparent)}
.bk172 .bk172-direction-icon{display:inline-grid;place-items:center;width:37px;height:37px;background:color-mix(in srgb,var(--bk172-accent) 10%,var(--bk172-paper));color:var(--bk172-accent);border-radius:11px;margin-bottom:8px}
.bk172 .bk172-direction h3{font-size:24px;font-weight:800;line-height:1.3}
.bk172 .bk172-direction p{font-size:13px;color:var(--bk172-muted);line-height:1.5;margin-top:6px;max-width:280px}
.bk172 .bk172-direction-arrow{display:block;color:var(--bk172-accent);margin-top:9px}
.bk172 .bk172-direction:hover h3{text-decoration:underline;text-underline-offset:4px}
.bk172 .bk172-category-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;border-top:1px solid var(--bk172-line);margin:24px 0 0;padding:22px 0 0}
.bk172 .bk172-category-chips a{display:flex;align-items:center;gap:9px;padding:13px 12px;min-height:62px;border-radius:12px;background:color-mix(in srgb,var(--bk172-accent) 8%,var(--bk172-paper));color:var(--bk172-accent);font-size:12px;font-weight:700;line-height:1.4}
.bk172 .bk172-category-chips a svg{width:24px;height:24px}
.bk172 .bk172-category-chips a:hover{box-shadow:inset 0 0 0 1px var(--bk172-accent)}
/* Dark mode follows the existing theme switch and keeps category hues distinct. */
body.dark-theme .bk172{--bk172-ink:#ecf2fc;--bk172-muted:#afbdd0;--bk172-paper:#17273f;--bk172-line:#31445f;--bk172-soft:#213650}
body.dark-theme .bk172 .bk172-eyebrow{color:#aabfe3}
body.dark-theme .bk172 .bk172-topic:not(.bk172-pick-copy .bk172-topic),body.dark-theme .bk172 .bk172-category-chips a{color:color-mix(in srgb,var(--bk172-accent) 65%,white)}
body.dark-theme .bk172 .bk172-retry{color:#9db8ff}
@media(max-width:740px){
 body #kategoriler>section.bk172{margin:20px 0;padding:20px 15px;border-radius:18px}
 .bk172 .bk172-heading{margin-bottom:20px}
 .bk172 .bk172-heading h2{font-size:27px}
 .bk172 .bk172-heading p{font-size:12px}
 .bk172 .bk172-strip{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
 .bk172 .bk172-strip:nth-child(even){grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
 .bk172 .bk172-strip-copy{padding:15px 12px}
 .bk172 .bk172-strip h3{font-size:17px;line-height:1.3;margin:8px 0}
 .bk172 .bk172-strip .bk172-topic{font-size:9px;gap:4px}
 .bk172 .bk172-strip .bk172-topic svg{width:14px;height:14px}
 .bk172 .bk172-strip p{font-size:11px;line-height:1.5;-webkit-line-clamp:2}
 .bk172 .bk172-strip-photo,.bk172 .bk172-strip-photo img{min-height:185px;max-height:none}
 .bk172 .bk172-strip-photo img{position:absolute;inset:0;height:100%;width:100%}
 .bk172 .bk172-strip-photo{position:relative}
 .bk172 .bk172-text-link{font-size:10px;margin-top:10px}
 .bk172 .bk172-picks-grid{gap:12px}
 .bk172 .bk172-pick-photo{aspect-ratio:1.05}
 .bk172 .bk172-pick-copy{padding:0 11px 15px}
 .bk172 .bk172-pick-copy .bk172-topic{padding:4px 7px;font-size:9px;gap:4px;transform:translateY(-11px);margin-bottom:-4px}
 .bk172 .bk172-pick-copy .bk172-topic svg{width:13px;height:13px}
 .bk172 .bk172-pick h3{font-size:16px;line-height:1.4}
 .bk172 .bk172-save{top:8px;right:8px;width:34px;height:34px;border-radius:9px}
 .bk172 .bk172-direction{min-height:170px}
 .bk172 .bk172-direction-copy{width:76%;padding:19px 17px;min-height:170px}
 .bk172 .bk172-direction h3{font-size:20px}
 .bk172 .bk172-direction p{font-size:12px;max-width:190px}
 .bk172 .bk172-direction-icon{width:30px;height:30px;margin-bottom:6px}
 .bk172 .bk172-direction-icon svg{width:19px;height:19px}
 .bk172 .bk172-category-chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:18px;margin-top:20px}
 .bk172 .bk172-category-chips a{font-size:11px;min-height:54px;padding:10px}
 body:not(.nexa-focus-mode) .reader-v2.nexa-reader .reader-article-sidebar{display:grid!important;position:static;max-height:none;overflow:visible;grid-template-columns:1fr;gap:16px;padding:16px 0 0}
 body .reader-v2.nexa-reader .reader-article-sidebar>:not(.bk172){display:none!important}
 body .reader-article-sidebar .bk172-rail,body .reader-article-sidebar .bk172-quiz{padding:22px 20px}
 .bk172-quiz legend{font-size:16px}
 .bk172-quiz .bk172-option{font-size:14px;padding:12px}
 .bk172-quiz .bk172-check{font-size:14px;min-height:46px}
 .bk172-quiz .bk172-feedback{font-size:14px}
 .bk172 .bk172-rail-row{grid-template-columns:88px minmax(0,1fr)}
 .bk172 .bk172-rail-row>img{width:88px;height:75px}
 .bk172 .bk172-rail-row strong,.bk172 .bk172-rail-tile strong{font-size:14px}
 .bk172 .bk172-rail-row .bk172-topic,.bk172 .bk172-rail-tile .bk172-topic{font-size:11px}
}
@media(max-width:360px){
 body #kategoriler>section.bk172{padding:18px 10px}
 .bk172 .bk172-heading h2{font-size:24px}
 .bk172 .bk172-strip h3{font-size:15px}
 .bk172 .bk172-strip p{display:none}
 .bk172 .bk172-pick h3{font-size:14px}
 .bk172 .bk172-pick-copy{padding:0 8px 13px}
 .bk172 .bk172-pick-copy .bk172-topic{font-size:8px;gap:3px}
 .bk172 .bk172-direction h3{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.bk172 *{transition:none!important;scroll-behavior:auto!important}}
/* Keep the selected hue while increasing small text contrast on white surfaces. */
body:not(.dark-theme) .bk172 .bk172-topic:not(.bk172-pick-copy .bk172-topic),
body:not(.dark-theme) .bk172 .bk172-category-chips a,
body:not(.dark-theme) .bk172 .bk172-text-link{color:color-mix(in srgb,var(--bk172-accent) 88%,#000)}
