/* NTC: strona polityki prywatności. Warstwa układu nad istniejącą treścią (teksty nie są zmieniane). */
.ntcx-pol-h1 { margin: 0 0 12px; color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; text-transform: none; }
body.ntcx-pol-on .wd-page-title,
body.ntcx-pol-on article.entry-content > .ntcx-pol-x,
body.ntcx-pol-on article.entry-content > .wp-block-wd-divider,
body.ntcx-pol-on article.entry-content > .wp-block-post-date { display: none; }

.ntcx-pol { --y: #ffcc00; --yd: #e6b800; --ink: #0d0d0d; --bg: #1c1a14; --line: #e8e8e8; font-family: var(--wd-text-font, inherit); color: #2b2b2b; margin: 8px 0 40px; }
.ntcx-pol *, .ntcx-pol *::before, .ntcx-pol *::after { box-sizing: border-box; }

.ntcx-pol-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); color: #ece8d9; border-radius: 22px; padding: 38px 40px; margin-bottom: 28px; }
.ntcx-pol-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 300px at 100% 0, rgba(255, 204, 0, .2), transparent 65%); }
.ntcx-pol-hero::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--y); }
.ntcx-pol-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--y); margin-bottom: 10px; }
.ntcx-pol-hero p.lead { margin: 0 0 20px; max-width: 640px; color: #c8c3ad; font-size: 16px; line-height: 1.55; }
.ntcx-pol-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.ntcx-pol-facts span { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 204, 0, .25); border-radius: 999px; padding: 7px 14px; font-size: 13px; color: #f2f2f2; }
.ntcx-pol-facts b { color: var(--y); font-weight: 700; margin-right: 4px; }

.ntcx-pol-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.ntcx-pol-nav { position: sticky; top: 120px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 10px; box-shadow: 0 14px 34px -26px rgba(0, 0, 0, .4); max-height: calc(100vh - 150px); overflow-y: auto; }
.ntcx-pol-nav h4 { margin: 0 0 8px 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #777; font-weight: 800; }
.ntcx-pol-nav a { display: flex; gap: 10px; align-items: baseline; padding: 8px 12px; border-radius: 10px; font-size: 14px; line-height: 1.3; color: #3a3a3a; text-decoration: none; transition: background .2s, color .2s; }
.ntcx-pol-nav a i { font-style: normal; font-weight: 800; color: #b38f00; min-width: 20px; font-size: 13px; }
.ntcx-pol-nav a:hover { background: #fff7d6; color: #111; }
.ntcx-pol-nav a.on { background: var(--y); color: var(--ink); font-weight: 700; }
.ntcx-pol-nav a.on i { color: var(--ink); }

.ntcx-pol-main { display: grid; gap: 16px; }
.ntcx-pol-sec { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 30px; scroll-margin-top: 130px; box-shadow: 0 14px 34px -28px rgba(0, 0, 0, .35); }
.ntcx-pol-sh { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.ntcx-pol-sh b { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--y); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 16px; }
.ntcx-pol-sh span { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: #111; line-height: 1.25; }
.ntcx-pol-sec p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.65; color: #3a3a3a; }
.ntcx-pol-sec p:last-child, .ntcx-pol-sec ul:last-child { margin-bottom: 0; }
.ntcx-pol-sec ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 9px; }
.ntcx-pol-sec li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.6; color: #3a3a3a; }
.ntcx-pol-sec li::before { content: ""; position: absolute; left: 0; top: .35em; width: 17px; height: 17px; border-radius: 50%; background: var(--y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ntcx-pol-sec a { color: #111; font-weight: 600; text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 3px; word-break: break-word; }
.ntcx-pol-sec a:hover { background: var(--y); text-decoration: none; }
.ntcx-pol-btn { display: inline-flex; align-items: center; margin-top: 6px; padding: 12px 22px; border-radius: 12px; background: var(--y); color: var(--ink) !important; font-weight: 800 !important; text-decoration: none !important; font-size: 15px; transition: background .2s, box-shadow .2s; }
.ntcx-pol-btn:hover { background: var(--yd) !important; box-shadow: 0 10px 24px -8px rgba(255, 204, 0, .6); }

@media (max-width: 900px) {
	.ntcx-pol-hero { padding: 26px 22px; border-radius: 18px; }
	.ntcx-pol-grid { grid-template-columns: 1fr; gap: 16px; }
	.ntcx-pol-nav { position: static; max-height: none; padding: 12px 8px; display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; scrollbar-width: none; }
	.ntcx-pol-nav::-webkit-scrollbar { display: none; }
	.ntcx-pol-nav h4 { display: none; }
	.ntcx-pol-nav a { flex: none; white-space: nowrap; background: #f6f6f6; padding: 8px 14px; }
	.ntcx-pol-sec { padding: 20px 18px; border-radius: 16px; }
	.ntcx-pol-sh span { font-size: 17.5px; }
	.ntcx-pol-sec p, .ntcx-pol-sec li { font-size: 15px; }
}
