/* =============================================================================
   GameWize.sk — Author page styles
   Drop into child theme style.css or enqueue as separate stylesheet.
   ========================================================================== */

:root {
	--gw-author-bg: #ffffff;
	--gw-author-border: #e6e8ec;
	--gw-author-muted: #6b7280;
	--gw-author-accent: #FF2453;       /* červená — uprav podľa brand farby gamewize.sk */
	--gw-author-accent-2: #ffe6e6;
	--gw-author-radius: 12px;
	--gw-author-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* HERO ====================================================================== */
.gw-author-hero {
	padding: 32px 0 24px;
	background: linear-gradient(180deg, var(--gw-author-accent-2) 0%, #fff 100%);
}
.gw-author-hero__grid {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 28px;
	align-items: center;
}
.gw-author-hero__photo img {
	width: 200px;
	height: 200px;
	border-radius: var(--gw-author-radius);
	object-fit: cover;
	box-shadow: var(--gw-author-shadow);
}
.gw-author-hero__role {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--gw-author-accent);
	margin-bottom: 6px;
}
.gw-author-hero__name {
	font-size: 38px;
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 14px;
}
.gw-author-hero__facts {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	color: #1f2937;
	font-size: 15px;
}
.gw-author-hero__facts li strong { font-weight: 600; }
.gw-author-hero__social { display: flex; gap: 10px; flex-wrap: wrap; }
.gw-author-hero__social a {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border: 1px solid var(--gw-author-border);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	color: #1f2937;
	background: #fff;
}
.gw-author-hero__social a:hover {
	border-color: var(--gw-author-accent);
	color: var(--gw-author-accent);
}
.gw-author-hero__meta {
	font-size: 13px;
	color: var(--gw-author-muted);
	margin-top: 18px;
	padding-top: 12px;
	border-top: 1px dashed var(--gw-author-border);
}

@media (max-width: 720px) {
	.gw-author-hero__grid { grid-template-columns: 1fr; text-align: center; }
	.gw-author-hero__photo img { margin: 0 auto; }
	.gw-author-hero__facts { justify-content: center; }
	.gw-author-hero__social { justify-content: center; }
	.gw-author-hero__name { font-size: 30px; }
}

/* GENERIC BLOCK ============================================================ */
.gw-author-block {
	margin: 36px 0;
	padding: 0;
}
.gw-author-block h2 {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 16px;
}
.gw-author-block h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 22px 0 12px;
}

/* BIO + EXPERTISE ========================================================= */
.gw-author-bio__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 32px;
}
.gw-author-bio__text p { margin: 0 0 12px; line-height: 1.65; }
.gw-author-bio__expertise {
	background: var(--gw-author-accent-2);
	border-radius: var(--gw-author-radius);
	padding: 18px 20px;
}
.gw-tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.gw-tags li {
	background: #fff;
	border: 1px solid var(--gw-author-border);
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 13px;
	color: #1f2937;
}

@media (max-width: 720px) {
	.gw-author-bio__grid { grid-template-columns: 1fr; }
}

/* TRUST STRIP ============================================================= */
.gw-trust-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	background: #f8fafc;
	border: 1px solid var(--gw-author-border);
	border-radius: var(--gw-author-radius);
	padding: 14px;
}
.gw-trust-strip__item {
	display: block;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--gw-author-border);
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease;
}
.gw-trust-strip__item:hover {
	border-color: var(--gw-author-accent);
	background: var(--gw-author-accent-2);
}
.gw-trust-strip__title {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: #0f172a;
}
.gw-trust-strip__sub {
	display: block;
	font-size: 12px;
	color: var(--gw-author-muted);
	margin-top: 2px;
}

/* CRED CARDS ============================================================== */
.gw-cred-cards__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
}
.gw-cred-card {
	background: #fff;
	border: 1px solid var(--gw-author-border);
	border-radius: var(--gw-author-radius);
	padding: 18px;
	text-align: center;
}
.gw-cred-card__icon { width: 48px; height: 48px; margin: 0 auto 10px; }
.gw-cred-card__title { font-weight: 700; font-size: 16px; color: #0f172a; }
.gw-cred-card__sub   { font-size: 13px; color: var(--gw-author-muted); margin-top: 4px; }

/* STATS =================================================================== */
.gw-stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
}
.gw-stat {
	background: linear-gradient(180deg, var(--gw-author-accent-2) 0%, #fff 100%);
	border: 1px solid var(--gw-author-border);
	border-radius: var(--gw-author-radius);
	padding: 22px 18px;
	text-align: center;
}
.gw-stat__num {
	font-size: 36px;
	font-weight: 800;
	color: var(--gw-author-accent);
	line-height: 1;
}
.gw-stat__label {
	margin-top: 6px;
	font-size: 13px;
	color: #1f2937;
}

/* CAREER TIMELINE ========================================================= */
.gw-career__list {
	list-style: none;
	margin: 0;
	padding: 0 0 0 28px;
	border-left: 2px solid var(--gw-author-border);
}
.gw-career__item {
	position: relative;
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 14px;
	padding: 0 0 18px;
}
.gw-career__item::before {
	content: "";
	position: absolute;
	left: -35px;
	top: 18px;
	width: 12px; height: 12px;
	background: var(--gw-author-accent);
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px var(--gw-author-border);
}
.gw-career__logo { border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--gw-author-border); }
.gw-career__company { font-weight: 700; font-size: 16px; }
.gw-career__role    { font-size: 14px; color: #1f2937; }
.gw-career__period  { font-size: 13px; color: var(--gw-author-muted); margin-top: 2px; }

/* EDU + CERTS ============================================================= */
.gw-edu__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}
.gw-edu__list {
	list-style: none;
	margin: 0; padding: 0;
}
.gw-edu__list li {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--gw-author-border);
	align-items: center;
}
.gw-edu__list li:last-child { border-bottom: 0; }
.gw-edu__list img { border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--gw-author-border); }

@media (max-width: 720px) {
	.gw-edu__grid { grid-template-columns: 1fr; }
}

/* EXPERT INTRO + QUOTE ==================================================== */
.gw-expert__intro p { line-height: 1.65; }
.gw-expert__quote {
	margin: 18px 0 0;
	padding: 18px 22px;
	background: var(--gw-author-accent-2);
	border-left: 4px solid var(--gw-author-accent);
	border-radius: 8px;
	font-style: italic;
	font-size: 17px;
	line-height: 1.6;
}
.gw-expert__quote cite {
	display: block;
	margin-top: 10px;
	font-style: normal;
	font-size: 14px;
	color: var(--gw-author-muted);
}

/* TESTING PROCESS ========================================================= */
.gw-process__list {
	counter-reset: gw-step;
	list-style: none;
	margin: 0; padding: 0;
}
.gw-process__list li {
	counter-increment: gw-step;
	position: relative;
	padding: 12px 14px 12px 56px;
	margin-bottom: 8px;
	background: #fff;
	border: 1px solid var(--gw-author-border);
	border-radius: 10px;
}
.gw-process__list li::before {
	content: counter(gw-step);
	position: absolute;
	left: 14px; top: 50%;
	transform: translateY(-50%);
	width: 30px; height: 30px;
	background: var(--gw-author-accent);
	color: #fff;
	border-radius: 50%;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}
.gw-process__factchecker {
	margin-top: 14px;
	font-size: 14px;
	color: #1f2937;
	background: #f8fafc;
	border: 1px dashed var(--gw-author-border);
	padding: 10px 14px;
	border-radius: 8px;
}

/* SOURCES + EVENTS ======================================================== */
.gw-sources__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}
.gw-source {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 12px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--gw-author-border);
	border-radius: var(--gw-author-radius);
	padding: 14px;
}
.gw-source img { border-radius: 8px; object-fit: contain; background: #fff; }
.gw-source p { margin: 4px 0 0; font-size: 13px; color: var(--gw-author-muted); line-height: 1.5; }
.gw-source a { color: var(--gw-author-accent); text-decoration: none; }
.gw-source a:hover { text-decoration: underline; }

/* Q&A ===================================================================== */
.gw-qa__item {
	border: 1px solid var(--gw-author-border);
	border-radius: 10px;
	padding: 14px 18px;
	margin-bottom: 10px;
	background: #fff;
}
.gw-qa__item summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 16px;
	color: #0f172a;
	list-style: none;
	position: relative;
	padding-right: 24px;
}
.gw-qa__item summary::-webkit-details-marker { display: none; }
.gw-qa__item summary::after {
	content: "▾";
	position: absolute;
	right: 0;
	transition: transform 0.2s ease;
}
.gw-qa__item[open] summary::after { transform: rotate(180deg); }
.gw-qa__answer { margin-top: 10px; line-height: 1.65; color: #1f2937; }
.gw-qa__answer p { margin: 0 0 10px; }

/* CONTACT CTA ============================================================= */
.gw-contact__links { display: flex; gap: 10px; flex-wrap: wrap; }
.gw-btn {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border-radius: 8px;
	background: var(--gw-author-accent);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 14px;
}
.gw-btn:hover { filter: brightness(1.07); }
.gw-btn--secondary {
	background: #fff;
	color: #0f172a !important;
	border: 1px solid var(--gw-author-border);
}
