/*
Theme Name: AURA — Fabryka Dobrych Stron
Theme URI: https://aura.edu.pl
Author: Fabryka Dobrych Stron
Author URI: https://fds.warszawa.pl
Description: Magazyn AURA — motyw redakcyjny. Wykonanie: <a href="https://fds.warszawa.pl">Fabryka Dobrych Stron</a>.
Version: 1.5.2
License: GPL-2.0-or-later
Text Domain: aura
*/


/* ============================================================
   Design tokens — Indygo & magenta editorial palette
   ============================================================ */
:root {
  --aura-bg: #f7f7fb;
  --aura-fg: #15132a;
  --aura-muted: #6b6889;
  --aura-card: #ffffff;
  --aura-border: #e7e5ee;
  --aura-primary: #112482;        /* granatowy AURA */
  --aura-primary-fg: #ffffff;
  --aura-secondary: #e0379a;      /* magenta */
  --aura-accent: #f3b94a;
  --aura-radius: 1rem;
  --aura-shadow-glow: 0 20px 60px -20px rgba(91, 53, 214, 0.45);
  --aura-font-display: 'Outfit', ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  --aura-font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--aura-bg);
  color: var(--aura-fg);
  font-family: var(--aura-font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--aura-font-display);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.aura-container { max-width: 1200px; margin: 0 auto; }
.aura-px { padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 768px) { .aura-px { padding-left: 3rem; padding-right: 3rem; } }

.aura-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(17,36,130,.1); color: var(--aura-primary);
  padding: .35rem 1rem; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em;
}
.aura-kicker::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--aura-primary); }

.aura-btn {
  display: inline-block; padding: 1rem 1.75rem; border-radius: 1rem;
  font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 2px solid transparent; cursor: pointer;
}
.aura-btn-primary { background: var(--aura-primary); color: var(--aura-primary-fg); box-shadow: var(--aura-shadow-glow); }
.aura-btn-primary:hover { transform: scale(1.04); }
.aura-btn-ghost { border-color: rgba(21,19,42,.1); color: var(--aura-fg); }
.aura-btn-ghost:hover { border-color: var(--aura-fg); background: var(--aura-fg); color: var(--aura-bg); }

/* ============================================================
   Nav
   ============================================================ */
.aura-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: rgba(247,247,251,.8); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--aura-border);
}
@media (min-width: 768px) { .aura-nav { padding: 1.25rem 3rem; } }
.aura-logo { font-family: var(--aura-font-display); font-weight: 800; font-size: 1.5rem; color: var(--aura-primary); letter-spacing: -0.04em; display: inline-flex; align-items: center; }
.aura-logo span { color: var(--aura-fg); }
.aura-logo .custom-logo-link,
.aura-logo img,
.aura-logo .custom-logo { display: inline-block; line-height: 0; }
.aura-logo img,
.aura-logo .custom-logo {
	height: auto;
	width: auto;
	max-height: 56px;
	max-width: 260px;
	object-fit: contain;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
	-ms-interpolation-mode: bicubic;
	backface-visibility: hidden;
	transform: translateZ(0);
}
@media (min-width: 768px) {
	.aura-logo img,
	.aura-logo .custom-logo { max-height: 64px; max-width: 320px; }
}
.aura-menu { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.aura-menu a:hover { color: var(--aura-primary); }

/* Mobile hamburger toggle (CSS-only, checkbox hack) */
.aura-menu-toggle-input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.aura-menu-toggle {
	display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
	width: 44px; height: 44px; padding: 10px; margin-left: auto; margin-right: .5rem;
	cursor: pointer; border-radius: 10px; background: transparent;
	transition: background .2s ease;
}
.aura-menu-toggle:hover { background: rgba(17,36,130,.08); }
.aura-menu-toggle-bar {
	display: block; height: 2px; width: 100%; background: var(--aura-fg);
	border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.aura-menu-toggle-input:focus-visible + .aura-menu-toggle { outline: 2px solid var(--aura-primary); outline-offset: 2px; }

/* Mobile: hide desktop menu, show hamburger; open drawer when checked */
@media (max-width: 767px) {
	.aura-menu {
		display: none;
		position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; border-bottom: 1px solid var(--aura-border);
		box-shadow: 0 20px 40px -20px rgba(0,0,0,.18);
		padding: 1rem 1.5rem 1.25rem;
	}
	.aura-menu-list { flex-direction: column; gap: 0; }
	.aura-menu-list > li { border-bottom: 1px solid var(--aura-border); }
	.aura-menu-list > li:last-child { border-bottom: none; }
	.aura-menu-list > li > a { display: block; padding: .9rem 0; }
	.aura-menu-list .sub-menu,
	.aura-menu-list .children {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: none; padding: 0 0 .5rem .75rem; min-width: 0;
	}
	.aura-menu-toggle-input:checked ~ .aura-menu { display: block; }
	.aura-menu-toggle-input:checked ~ .aura-menu-toggle .aura-menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.aura-menu-toggle-input:checked ~ .aura-menu-toggle .aura-menu-toggle-bar:nth-child(2) { opacity: 0; }
	.aura-menu-toggle-input:checked ~ .aura-menu-toggle .aura-menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Desktop: no hamburger */
@media (min-width: 768px) {
	.aura-menu-toggle { display: none; }
}

/* Menu list + dropdown submenu (Safari-friendly, no display:none animation) */
.aura-menu-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.aura-menu-list li { position: relative; }
.aura-menu-list > li > a { display: inline-block; padding: .5rem 0; }
.aura-menu-list .sub-menu,
.aura-menu-list .children {
	list-style: none;
	margin: 0;
	padding: .5rem 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid rgba(0,0,0,.08);
	box-shadow: 0 20px 40px -20px rgba(0,0,0,.25);
	border-radius: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
	z-index: 100;
}
.aura-menu-list li:hover > .sub-menu,
.aura-menu-list li:focus-within > .sub-menu,
.aura-menu-list li:hover > .children,
.aura-menu-list li:focus-within > .children {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.aura-menu-list .sub-menu li,
.aura-menu-list .children li { display: block; }
.aura-menu-list .sub-menu a,
.aura-menu-list .children a {
	display: block;
	padding: .55rem 1rem;
	white-space: nowrap;
	letter-spacing: .12em;
}
.aura-menu-list .menu-item-has-children > a::after { content: " ▾"; font-size: 9px; opacity: .7; }
.aura-cta {
  background: var(--aura-fg); color: var(--aura-bg);
  padding: .65rem 1.25rem; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
}
.aura-cta:hover { background: var(--aura-primary); }

/* ============================================================
   Hero
   ============================================================ */
.aura-hero { position: relative; overflow: hidden; padding: 4rem 1.5rem; }
@media (min-width: 768px) { .aura-hero { padding: 6rem 3rem; } }
.aura-hero::before, .aura-hero::after {
  content:""; position:absolute; width: 24rem; height: 24rem; border-radius:50%;
  filter: blur(120px); pointer-events: none; z-index: 0;
}
.aura-hero::before { left: -8rem; top: 5rem; background: rgba(17,36,130,.2); }
.aura-hero::after { right: -8rem; bottom: 0; background: rgba(224,55,154,.2); }
.aura-hero-grid {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 4rem; align-items: center;
}
@media (min-width: 1024px) { .aura-hero-grid { grid-template-columns: 1fr 1fr; } }
.aura-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
}
.aura-hero h1 .accent { color: var(--aura-primary); }
.aura-hero p.lead { color: var(--aura-muted); font-size: 1.125rem; max-width: 32rem; margin: 1.5rem 0; }
.aura-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.aura-hero-image { position: relative; }
.aura-hero-image img { aspect-ratio: 4/5; object-fit: cover; border-radius: 2.5rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); width:100%; }
.aura-hero-badge {
  position: absolute; bottom: -1.5rem; right: -1rem; z-index: 2;
  display: flex; align-items: center; gap: 1rem;
  background: var(--aura-card); padding: 1.25rem; border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.15); border: 1px solid var(--aura-border);
}
.aura-hero-badge .num {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--aura-secondary); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.aura-hero-topics {
  max-width: 1200px; margin: 5rem auto 0; padding-top: 2rem;
  border-top: 1px solid var(--aura-border);
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--aura-muted);
}
.aura-hero-topics strong { color: var(--aura-fg); }
.aura-hero-topics .sep { color: var(--aura-border); }

/* ============================================================
   About / stats / pillars
   ============================================================ */
.aura-about { background: var(--aura-card); padding: 5rem 1.5rem; }
@media (min-width: 768px) { .aura-about { padding: 7rem 3rem; } }
.aura-about h2 { font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 800; }
.aura-about h2 .accent { color: var(--aura-primary); }
.aura-stats {
  margin-top: 3.5rem; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--aura-border); border-radius: 1.5rem; overflow: hidden;
}
@media (min-width: 768px) { .aura-stats { grid-template-columns: repeat(4, 1fr); } }
.aura-stat { background: var(--aura-card); padding: 1.25rem; min-width: 0; }
@media (min-width: 768px) { .aura-stat { padding: 2rem; } }
.aura-stat .v {
  font-family: var(--aura-font-display); font-weight: 800; color: var(--aura-primary);
  font-size: clamp(1.75rem, 7vw, 3rem); line-height: 1.1;
  overflow-wrap: break-word; word-break: break-word; hyphens: auto;
  max-width: 100%;
}
.aura-stat .l { margin-top: .5rem; font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--aura-muted); overflow-wrap: break-word; }

/* Editorial feature spread ("O czym piszemy") */
.aura-feature-wrap { margin-top: 6rem; position: relative; }
.aura-feature-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding-bottom: 1.5rem; margin-bottom: 3rem;
  border-bottom: 1px solid rgba(17,36,130,.12);
}
.aura-feature-head h3 {
  font-family: var(--aura-font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.01em;
  color: var(--aura-fg);
}
.aura-feature-all {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 600; color: var(--aura-primary);
  transition: gap .2s ease;
}
.aura-feature-all:hover { gap: .85rem; }

.aura-feature {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
}
@media (min-width: 900px) {
  .aura-feature { grid-template-columns: 7fr 5fr; gap: 3.5rem; }
}
.aura-feature-media {
  position: relative; display: block; overflow: hidden;
  border-radius: 1.25rem; background: #f0f0ff;
  box-shadow: 0 30px 60px -30px rgba(26,26,46,.18);
  transition: transform .6s ease;
}
.aura-feature-media:hover { transform: scale(1.01); }
.aura-feature-media img {
  display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover;
}
.aura-feature-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(26,26,46,.10), transparent 60%);
  pointer-events: none;
}
.aura-feature-noimg {
  display: block; aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f0ecff, #fde9f3);
}

.aura-feature-body { display: flex; flex-direction: column; gap: 1.5rem; }
.aura-feature-kicker {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em;
  color: var(--aura-primary);
  background: rgba(17,36,130,.06);
  padding: .35rem .75rem; border-radius: 4px;
}
.aura-feature-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.875rem, 3.2vw, 2.875rem);
  line-height: 1.08; font-weight: 700; letter-spacing: -0.01em;
  color: var(--aura-fg);
}
.aura-feature-title a { color: inherit; transition: color .2s; }
.aura-feature-title a:hover { color: var(--aura-primary); }
.aura-feature-excerpt {
  font-size: 1.0625rem; line-height: 1.65; color: var(--aura-muted); margin: 0;
}
.aura-feature-meta {
  display: flex; align-items: center; gap: 1.5rem; padding-top: .5rem;
}
.aura-feature-meta .lbl {
  display: block;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em;
  color: rgba(26,26,46,.45); margin-bottom: .35rem;
}
.aura-feature-meta .val {
  font-size: .875rem; font-weight: 500; color: rgba(26,26,46,.85);
}
.aura-feature-meta .sep {
  width: 1px; height: 2rem; background: rgba(17,36,130,.15); flex-shrink: 0;
}
.aura-feature-cta {
  align-self: flex-start; margin-top: .5rem;
  padding: .85rem 1.75rem; border-radius: 999px;
  background: var(--aura-fg); color: #fff;
  font-size: .875rem; font-weight: 600;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.aura-feature-cta:hover {
  background: var(--aura-primary); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(17,36,130,.45);
  transform: translateY(-1px);
}

/* 3-column pillar grid ("O czym piszemy") */
.aura-pillars {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 700px) {
  .aura-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .aura-pillars { grid-template-columns: repeat(3, 1fr); gap: 2.25rem; }
}
.aura-pillar { display: flex; flex-direction: column; gap: 1.25rem; }
.aura-pillar-media {
  position: relative; display: block; overflow: hidden;
  border-radius: 1rem; background: #f0f0ff;
  box-shadow: 0 20px 40px -24px rgba(26,26,46,.18);
  transition: transform .5s ease;
}
.aura-pillar-media:hover { transform: scale(1.01); }
.aura-pillar-media img {
  display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover;
}
.aura-pillar-noimg {
  display: block; aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f0ecff, #fde9f3);
}
@media (max-width: 767px) {
  .aura-pillar-media { max-width: 88%; margin-left: auto; margin-right: auto; }
}
.aura-pillar-body { display: flex; flex-direction: column; gap: .85rem; }
.aura-pillar-kicker {
  align-self: flex-start;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em;
  color: var(--aura-primary);
  background: rgba(17,36,130,.06);
  padding: .3rem .65rem; border-radius: 4px;
}
.aura-pillar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em;
  color: var(--aura-fg); margin: 0;
}
.aura-pillar-title a { color: inherit; transition: color .2s; }
.aura-pillar-title a:hover { color: var(--aura-primary); }
.aura-pillar-excerpt {
  font-size: .9375rem; line-height: 1.6; color: var(--aura-muted); margin: 0;
}
.aura-pillar-meta {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8125rem; color: rgba(26,26,46,.6);
}
.aura-pillar-meta .dot { opacity: .5; }
.aura-pillar-cta {
  align-self: flex-start; margin-top: .25rem;
  font-size: .875rem; font-weight: 600; color: var(--aura-primary);
  display: inline-flex; align-items: center; gap: .4rem;
  transition: gap .2s ease;
}
.aura-pillar-cta:hover { gap: .7rem; }

/* ============================================================
   Issue TOC
   ============================================================ */
.aura-toc { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .aura-toc { padding: 7rem 3rem; } }
.aura-toc-grid { max-width: 1200px; margin: 0 auto; display: grid; gap: 3rem; }
@media (min-width: 1024px) { .aura-toc-grid { grid-template-columns: 340px 1fr; gap: 4rem; } }
.aura-toc aside h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-top: 1rem; }
.aura-toc aside p { color: var(--aura-muted); margin: 1rem 0 2rem; }
.aura-toc-cover { border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--aura-border); background: #ece9f5; }
.aura-toc-cover img { aspect-ratio: 3/4; object-fit: contain; width: 100%; display: block; transition: opacity .2s ease; }
.aura-toc-cover a { display: block; }
.aura-toc-cover a:hover img { opacity: .9; }
@media (max-width: 767px) {
  .aura-toc-cover { max-width: 62%; margin-left: auto; margin-right: auto; }
}
.aura-archive-card .cover,
.aura-archive-card .cover img { /* handled below */ }
.aura-toc-issue-title { margin: 1rem 0 0; font-size: 1.25rem; line-height: 1.3; }
.aura-toc-issue-title a { color: var(--aura-ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.aura-toc-issue-title a:hover { border-bottom-color: var(--aura-ink); }
.aura-toc-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.aura-toc-actions .aura-btn { padding: .75rem 1.25rem; font-size: .875rem; border-radius: 1rem; }
.aura-toc-section { margin-bottom: 3rem; }
.aura-toc-section .label { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--aura-primary); }
.aura-toc-section .label::after { content:""; flex:1; height:1px; background: var(--aura-border); }
.aura-toc-list { border-top: 1px solid var(--aura-border); border-bottom: 1px solid var(--aura-border); }
.aura-toc-entry { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--aura-border); transition: background .15s; }
.aura-toc-entry:last-child { border-bottom: none; }
.aura-toc-entry:hover { background: var(--aura-card); }
.aura-toc-entry h3 { font-family: var(--aura-font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.aura-toc-entry:hover h3 { color: var(--aura-primary); }
.aura-toc-entry .pages { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; font-weight: 600; color: var(--aura-muted); text-transform: uppercase; letter-spacing: .1em; }
.aura-toc-entry .author { grid-column: 1 / -1; font-size: .875rem; color: var(--aura-muted); }

/* ============================================================
   Papers
   ============================================================ */
.aura-papers { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .aura-papers { padding: 6rem 3rem; } }

/* ============================================================
   Subscription
   ============================================================ */
.aura-sub { padding: 0 1.5rem 6rem; }
@media (min-width: 768px) { .aura-sub { padding: 0 3rem 6rem; } }
.aura-sub-inner {
  position: relative; overflow: hidden; max-width: 1200px; margin: 0 auto;
  background: var(--aura-fg); color: var(--aura-bg);
  border-radius: 3rem; padding: 3rem;
}
@media (min-width: 768px) { .aura-sub-inner { padding: 4rem; } }
.aura-sub-inner::before, .aura-sub-inner::after {
  content:""; position:absolute; width: 24rem; height: 24rem; border-radius:50%; filter: blur(110px);
}
.aura-sub-inner::before { right:0; top:0; background: rgba(17,36,130,.25); }
.aura-sub-inner::after  { left:0; bottom:0; background: rgba(224,55,154,.25); }
.aura-sub-grid { position: relative; z-index:1; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .aura-sub-grid { grid-template-columns: 1fr 1fr; } }
.aura-sub h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1.25rem; }
.aura-sub p { max-width: 28rem; color: rgba(247,247,251,.7); margin-bottom: 2rem; }
.aura-sub .aura-kicker { background: rgba(243,185,74,.2); color: var(--aura-accent); margin-bottom: 1.25rem; }
.aura-sub-cover { position: relative; max-width: 24rem; margin: 0 auto; }
.aura-sub-cover img { aspect-ratio: 4/5; object-fit: cover; border-radius: 1.5rem; transform: rotate(3deg); transition: transform .5s; box-shadow: 0 25px 50px -12px rgba(0,0,0,.4); width:100%; }
.aura-sub-cover img:hover { transform: rotate(0); }

/* ============================================================
   Ads
   ============================================================ */
.aura-ad-leaderboard { background: rgba(17,36,130,.04); border-bottom: 1px solid var(--aura-border); padding: 1.25rem 1.5rem; }
@media (min-width: 768px) { .aura-ad-leaderboard { padding: 1.25rem 3rem; } }
.aura-ad-mid { padding: 3rem 1.5rem; }
@media (min-width: 768px) { .aura-ad-mid { padding: 3rem 3rem; } }
.aura-ad-mid > .inner { max-width: 1200px; margin: 0 auto; }
.aura-ad-sidebar { padding: 0 1.5rem 5rem; }
@media (min-width: 768px) { .aura-ad-sidebar { padding: 0 3rem 5rem; } }
.aura-ad-sidebar .grid { max-width: 1200px; margin: 0 auto; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .aura-ad-sidebar .grid { grid-template-columns: 1fr 300px; } }
.aura-ad-sidebar h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; margin: .5rem 0 1rem; }
.aura-ad-sidebar h3 .accent { color: var(--aura-primary); }
.aura-ad-sidebar p { color: var(--aura-muted); max-width: 36rem; margin-bottom: 1rem; }
.aura-ad-stack { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }

.aura-ad {
  position: relative; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-radius: 1rem; border: 2px dashed rgba(17,36,130,.4);
  background: linear-gradient(135deg, rgba(17,36,130,.05), var(--aura-bg) 50%, rgba(224,55,154,.08));
}
.aura-ad-inner { position: relative; text-align: center; padding: 1rem; z-index: 1; }
.aura-ad-inner .tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .25em; color: var(--aura-primary); }
.aura-ad-inner .name { font-family: var(--aura-font-display); font-weight: 800; font-size: 1.125rem; margin-top: .25rem; }
.aura-ad-inner .dims { font-family: ui-monospace, monospace; font-size: .75rem; color: var(--aura-muted); margin-top: .25rem; }
.aura-ad img.creative { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ============================================================
   Footer
   ============================================================ */
.aura-footer { border-top: 1px solid var(--aura-border); background: var(--aura-bg); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .aura-footer { padding: 4rem 3rem; } }
.aura-footer-grid { max-width: 1200px; margin: 0 auto; display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .aura-footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.aura-footer .brand { font-family: var(--aura-font-display); font-size: 1.875rem; font-weight: 800; color: var(--aura-primary); }
.aura-footer .brand span { color: var(--aura-fg); }
.aura-footer p { margin-top: 1.25rem; max-width: 22rem; font-size: .875rem; color: var(--aura-muted); }
.aura-footer h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--aura-muted); margin-bottom: 1.25rem; }
.aura-footer li { margin-bottom: .75rem; font-size: .9rem; }
.aura-footer a:hover { color: var(--aura-primary); }
.aura-footer .legal {
  max-width: 1200px; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid var(--aura-border);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--aura-muted);
}

/* ============================================================
   Entry content typography (posts, pages, custom post types)
   ============================================================ */
.aura-content {
  color: var(--aura-fg);
}
.aura-content > *:first-child { margin-top: 0; }
.aura-content > *:last-child { margin-bottom: 0; }

.aura-content p {
  margin: 0 0 1.35em;
}

.aura-content h1,
.aura-content h2,
.aura-content h3,
.aura-content h4,
.aura-content h5,
.aura-content h6 {
  margin: 2em 0 0.75em;
  line-height: 1.15;
  color: var(--aura-fg);
}

.aura-content h1 { font-size: 2em; }
.aura-content h2 { font-size: 1.65em; }
.aura-content h3 { font-size: 1.35em; }
.aura-content h4 { font-size: 1.15em; }

.aura-content ul,
.aura-content ol {
  margin: 0 0 1.35em;
  padding-left: 1.5em;
  list-style: initial;
}

.aura-content ol { list-style: decimal; }

.aura-content li {
  margin-bottom: 0.35em;
}

.aura-content blockquote {
  margin: 2em 0;
  padding: 1.25em 1.5em;
  border-left: 4px solid var(--aura-primary);
  background: rgba(17,36,130,.05);
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
}

.aura-content figure {
  margin: 2em 0;
}

.aura-content figcaption {
  font-size: 0.85rem;
  color: var(--aura-muted);
  margin-top: 0.5rem;
  text-align: center;
}

.aura-content a {
  color: var(--aura-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.aura-content a:hover {
  color: var(--aura-secondary);
}

.aura-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
}

.aura-content th,
.aura-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--aura-border);
  text-align: left;
}

.aura-content th {
  background: var(--aura-bg);
  font-weight: 700;
}

/* ============================================================
   WordPress core required classes
   ============================================================ */
.alignleft   { float: left; margin: 0 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignwide   { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull   { max-width: 100%; }
.wp-caption  { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--aura-muted); margin-top: .5rem; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.sticky, .gallery-caption, .bypostauthor { /* required by theme check */ }

/* ------------------------------------------------------------------
 * Archive of issues
 * ------------------------------------------------------------------ */
.aura-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}
.aura-archive-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.aura-archive-card .cover {
  display: block;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #ece9f5;
  aspect-ratio: 3/4;
}
.aura-archive-card .cover img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform .4s ease;
}
.aura-archive-card .cover:hover img { transform: scale(1.03); }
@media (max-width: 767px) {
  .aura-archive-card .cover { max-width: 62%; margin-left: auto; margin-right: auto; }
}
.aura-archive-card .body .kicker {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em;
  color: var(--aura-primary);
}
.aura-archive-card .body h3 {
  font-size: 1.25rem; font-weight: 700; line-height: 1.25; margin: .5rem 0;
}
.aura-archive-card .body h3 a { color: inherit; text-decoration: none; }
.aura-archive-card .body h3 a:hover { color: var(--aura-primary); }
.aura-archive-card .body p {
  font-size: .9375rem; color: var(--aura-muted); line-height: 1.55; margin: 0 0 .75rem;
}
.aura-archive-card .body .meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8125rem; color: var(--aura-muted);
  padding-top: .75rem; border-top: 1px solid var(--aura-line);
}
.aura-archive-card .body .meta .more { font-weight: 600; color: var(--aura-primary); text-decoration: none; }

/* ------------------------------------------------------------------
 * Article / page sidebar layouts — responsive
 * ------------------------------------------------------------------ */
@media (max-width: 900px) {
  .aura-article-grid,
  .aura-page-grid {
    grid-template-columns: 1fr !important;
  }
  .aura-article-sidebar,
  .aura-page-sidebar {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.aura-footer .brand{display:inline-block;text-decoration:none;color:inherit}
.aura-footer .brand:hover{opacity:.85}
.aura-footer-logo-img{display:block;max-height:56px;width:auto;height:auto}


/* ------------------------------------------------------------------
 * CTA „CAŁOŚĆ ARTYKUŁU DOSTĘPNA TUTAJ" — link do portalu SIGMA-NOT
 * ------------------------------------------------------------------ */
.aura-content a.aura-article-cta,
a.aura-article-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 1.5rem 0;
  padding: .95rem 1.6rem;
  font-family: var(--aura-font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(135deg, var(--aura-primary), #2b47c9 55%, var(--aura-secondary));
  border: none;
  border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(17,36,130,.55), 0 6px 14px -8px rgba(224,55,154,.45);
  transition: transform .25s ease, box-shadow .25s ease, letter-spacing .25s ease;
}
.aura-content a.aura-article-cta::after,
a.aura-article-cta::after {
  content: "→";
  display: inline-block;
  font-size: 1.15em;
  transform: translateX(0);
  transition: transform .25s ease;
}
.aura-content a.aura-article-cta:hover,
a.aura-article-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 40px -14px rgba(17,36,130,.6), 0 10px 20px -10px rgba(224,55,154,.55);
  letter-spacing: .05em;
  color: #fff !important;
}
.aura-content a.aura-article-cta:hover::after,
a.aura-article-cta:hover::after {
  transform: translateX(5px);
}
.aura-content p:has(> a.aura-article-cta:only-child) {
  text-align: center;
}
@media (max-width: 640px) {
  .aura-content a.aura-article-cta,
  a.aura-article-cta {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}
