/*
Theme Name: QuickCasino Blog
Theme URI: https://quickcasino.se/
Author: Kamil Larsson
Description: QuickCasino Blog theme.
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quickcasino-blog
*/

.qcblog-pagination {
	display: flex;
	justify-content: center;
	padding: 0 0.75rem;
}

.qcblog-pagination__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	max-width: 100%;
	font-size: 0.75rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-style: italic;
}

.qcblog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	min-width: 2.75rem;
	padding: 0 0.9rem;
	color: rgba(226, 232, 240, 0.92);
	background: rgba(21, 27, 43, 0.9);
	border: 1px solid rgba(202, 82, 255, 0.45);
	text-decoration: none;
	transition: background-color 150ms ease, border-color 150ms ease,
		box-shadow 150ms ease, color 150ms ease, transform 150ms ease;
	-webkit-clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
	clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.qcblog-pagination a.page-numbers:hover {
	color: #ffffff;
	background: rgba(202, 82, 255, 0.16);
	border-color: rgba(202, 82, 255, 0.9);
	box-shadow: 0 0 0 3px rgba(202, 82, 255, 0.18);
	transform: translateY(-1px);
}

.qcblog-pagination a.page-numbers:active {
	transform: translateY(0);
	box-shadow: 0 0 0 3px rgba(202, 82, 255, 0.12);
}

.qcblog-pagination .page-numbers.current {
	color: #0b0f19;
	background: rgba(202, 82, 255, 0.95);
	border-color: rgba(202, 82, 255, 0.95);
	box-shadow: 0 0 0 3px rgba(202, 82, 255, 0.22);
}

.qcblog-pagination .page-numbers.dots {
	min-width: auto;
	padding: 0 0.35rem;
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	-webkit-clip-path: none;
	clip-path: none;
	color: rgba(153, 168, 190, 0.95);
}

.qcblog-pagination a.page-numbers:focus-visible {
	outline: 2px solid rgba(202, 82, 255, 0.75);
	outline-offset: 3px;
}

@supports not (clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px)) {
	.qcblog-pagination .page-numbers {
		border-radius: 9999px;
	}
}

@media (max-width: 640px) {
	.qcblog-pagination__list {
		gap: 0.5rem;
		font-size: 0.7rem;
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding: 0.25rem 0.25rem 0.5rem;
	}

	.qcblog-pagination .page-numbers {
		min-height: 2.5rem;
		min-width: 2.5rem;
		padding: 0 0.8rem;
	}
}

#qcblog-header-cta {
	background-color: transparent;
	background-image: none;
	box-shadow: inset 0 -2px rgba(255, 255, 255, 0.18);
}

#qcblog-header-cta[data-solid='1'] {
	background-color: #75f85e;
	background-image: repeating-linear-gradient(
		0deg,
		rgba(0, 0, 0, 0),
		rgba(0, 0, 0, 0) 3px,
		rgba(0, 0, 0, 0.06) 3px,
		rgba(0, 0, 0, 0.06) 6px
	);
	box-shadow: 0 0 16px rgba(93, 221, 69, 0.32), 0 0 6px rgba(93, 221, 69, 0.22),
		inset 0 -3px rgba(60, 169, 37, 0.9);
}

#qcblog-header-cta[data-solid='1'] .qcblog-cta-text {
	color: #0b0f19;
}

.qcblog-readable-panel {
	background: rgba(21, 27, 43, 0.95);
	border: 1px solid rgba(202, 82, 255, 0.22);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(0, 0, 0, 0.2);
	clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.qcblog-page-panel {
	max-width: 72ch;
	width: 100%;
	margin-right: auto;
	margin-left: 0;
	padding: 1.25rem;
}

@media (min-width: 768px) {
	.qcblog-page-panel {
		padding: 1.75rem;
	}
}

.qcblog-expandable-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;
}

.qcblog-expandable__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.65rem 1rem;
	font-weight: 900;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-style: italic;
	color: rgba(226, 232, 240, 0.95);
	background: rgba(202, 82, 255, 0.14);
	border: 1px solid rgba(202, 82, 255, 0.45);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
	cursor: pointer;
	transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
	clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.qcblog-js .qcblog-expandable__toggle {
	display: inline-flex;
}

.qcblog-expandable__toggle:hover {
	background: rgba(202, 82, 255, 0.22);
	border-color: rgba(202, 82, 255, 0.85);
	box-shadow: 0 0 0 3px rgba(202, 82, 255, 0.16), 0 10px 24px rgba(0, 0, 0, 0.35);
	transform: translateY(-1px);
}

.qcblog-expandable__toggle:active {
	transform: translateY(0);
	box-shadow: 0 0 0 3px rgba(202, 82, 255, 0.12), 0 10px 24px rgba(0, 0, 0, 0.3);
}

.qcblog-expandable__toggle:focus-visible {
	outline: 2px solid rgba(202, 82, 255, 0.75);
	outline-offset: 3px;
}

.qcblog-expandable__toggle-less {
	display: none;
}

.qcblog-js .qcblog-expandable[data-state='expanded'] + .qcblog-expandable__toggle .qcblog-expandable__toggle-more {
	display: none;
}

.qcblog-js .qcblog-expandable[data-state='expanded'] + .qcblog-expandable__toggle .qcblog-expandable__toggle-less {
	display: inline;
}

.qcblog-js .qcblog-expandable {
	position: relative;
}

.qcblog-js .qcblog-expandable[data-state='collapsed'] {
	max-height: var(--qcblog-collapsed-height, 18rem);
	overflow: hidden;
}

.qcblog-js .qcblog-expandable[data-state='collapsed']::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 96px;
	background: linear-gradient(to top, rgba(21, 27, 43, 1), rgba(21, 27, 43, 0));
	pointer-events: none;
}

html.qcblog-age-gate-open,
body.qcblog-age-gate-open {
	overflow: hidden;
}

.qcblog-age-gate {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.qcblog-age-gate[hidden] {
	display: none;
}

.qcblog-age-gate__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 15, 25, 0.78);
	backdrop-filter: blur(7px);
}

.qcblog-age-gate__dialog {
	position: relative;
	width: min(640px, 100%);
	padding: 1.25rem;
}

.qcblog-age-gate__eyebrow {
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-style: italic;
	color: rgba(153, 168, 190, 0.95);
}

.qcblog-age-gate__title {
	margin: 0.45rem 0 0;
	font-size: 1.15rem;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.98);
}

.qcblog-age-gate__text {
	margin: 0.65rem 0 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: rgba(226, 232, 240, 0.92);
}

.qcblog-age-gate__actions {
	margin-top: 1rem;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.qcblog-age-gate__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	width: 100%;
	padding: 0 1.1rem;
	font-weight: 900;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-style: italic;
	white-space: nowrap;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, color 150ms ease;
	clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.qcblog-age-gate__btn--yes {
	color: #0b0f19;
	background: #75f85e;
	border-color: rgba(93, 221, 69, 0.9);
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(0, 0, 0, 0.22);
}

.qcblog-age-gate__btn--yes:hover {
	background: #86ff70;
	transform: translateY(-1px);
	box-shadow: 0 0 0 3px rgba(93, 221, 69, 0.22), 0 12px 26px rgba(0, 0, 0, 0.38);
}

.qcblog-age-gate__btn--no {
	color: rgba(226, 232, 240, 0.92);
	background: rgba(202, 82, 255, 0.12);
	border-color: rgba(202, 82, 255, 0.55);
}

.qcblog-age-gate__btn--no:hover {
	color: #ffffff;
	background: rgba(202, 82, 255, 0.2);
	border-color: rgba(202, 82, 255, 0.9);
	transform: translateY(-1px);
	box-shadow: 0 0 0 3px rgba(202, 82, 255, 0.16);
}

.qcblog-age-gate__btn:active {
	transform: translateY(0);
}

.qcblog-age-gate__btn:focus-visible {
	outline: 2px solid rgba(202, 82, 255, 0.75);
	outline-offset: 3px;
}

@supports not (clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px)) {
	.qcblog-age-gate__btn {
		border-radius: 6px;
	}
}

@media (max-width: 420px) {
	.qcblog-age-gate {
		padding: 0.75rem;
	}

	.qcblog-age-gate__dialog {
		padding: 1rem;
	}

	.qcblog-age-gate__actions {
		grid-template-columns: 1fr;
	}
}