/* ==========================================================================
   Casino Collectible News — pixel match of classic ccgtcc-ccn layout
   ========================================================================== */

:root {
	--ccn-green: #559106;
	--ccn-link: #4e8006;
	--ccn-text: #333333;
	--ccn-bar: #454545;
	--ccn-bar-text: #dadada;
	--ccn-muted: #999999;
	--ccn-bg: #ffffff;
	--ccn-white: #ffffff;
	--ccn-width: 860px;
	--ccn-sidebar: 215px;
	--ccn-content: 620px;
	--ccn-font: "Trebuchet MS", Arial, Helvetica, sans-serif;

	--lucky-fg-primary: var(--lucky-setting-heading-color, var(--ccn-green));
	--lucky-fg-secondary: var(--lucky-setting-text-color, var(--ccn-text));
	--lucky-bg-base: #ffffff;
	--lucky-bg-elevated: var(--lucky-setting-content-background, var(--ccn-white));
	--lucky-content-link: var(--lucky-setting-content-link-color, var(--ccn-link));
	--lucky-content-link-hover: var(--lucky-setting-content-link-hover-color, #3d6605);
	--lucky-header-bg: var(--lucky-setting-header-background, var(--ccn-bar));
	--lucky-header-nav: var(--lucky-setting-header-nav-color, #ffffff);
	--lucky-footer-bg: var(--lucky-setting-footer-background, var(--ccn-bar));
	--lucky-footer-text: var(--lucky-setting-footer-text-color, #ffffff);
	--lucky-footer-link: var(--lucky-setting-footer-link-color, #ffffff);
	--lucky-font-sans: var(--lucky-setting-font-family-base, var(--ccn-font));
	--lucky-container-max: var(--lucky-setting-container-width, var(--ccn-width));
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	margin-top: 24px;
	background-color: #ffffff;
	background-image: linear-gradient(to bottom, #c5c5c5 0%, #ffffff 750px);
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 100% 750px;
	font-family: var(--lucky-font-sans);
	font-size: 13px;
	color: var(--lucky-fg-secondary);
	line-height: 1.5;
	min-height: 100vh;
}

body.admin-bar {
	margin-top: 24px;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
	vertical-align: middle;
}

a {
	color: var(--lucky-content-link);
}

a:hover,
a:active {
	text-decoration: none;
	color: var(--lucky-content-link-hover);
}

a:visited {
	color: var(--lucky-content-link);
}

h1,
h2,
h3 {
	margin: 0;
	text-transform: lowercase;
	font-weight: normal;
	color: var(--lucky-fg-primary);
	font-family: var(--lucky-font-sans);
}

h1 {
	letter-spacing: -1px;
	font-size: 32px;
}

h2 {
	font-size: 23px;
}

p,
ul,
ol {
	margin: 0 0 1.5em;
	text-align: justify;
	line-height: 1.85;
	font-size: 11px;
}

.ccn-screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.ccn-skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	left: 8px;
	top: 8px;
	z-index: 100000;
	background: #000;
	color: #fff;
	padding: 8px 14px;
}

/* ==========================================================================
   Shell
   ========================================================================== */

.ccn-site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.ccn-header {
	width: 100%;
}

/* Nav — original #header / #menu */
.ccn-nav-wrap {
	width: min(100%, var(--lucky-container-max));
	min-height: 52px;
	height: auto;
	margin: 0 auto;
	background: #454545 url("../img/nav-bg.jpg") no-repeat left top;
	background-size: 100% 100%;
	position: relative;
	z-index: 40;
}

.ccn-nav {
	float: none;
	width: 100%;
	min-height: 52px;
	height: auto;
	position: relative;
}

.ccn-menu-toggle {
	display: none;
	position: absolute;
	right: 8px;
	top: 8px;
	z-index: 50;
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	padding: 8px;
	line-height: 0;
}

	.ccn-menu-list {
	margin: 0;
	padding: 0 0 0 20px;
	list-style: none;
	line-height: normal;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	height: auto;
	min-height: 52px;
	overflow: visible;
}

.ccn-menu-list > li {
	display: block;
	float: none;
	flex: 0 0 auto;
	position: relative;
}

.ccn-menu-list > li > a {
	display: block;
	margin-right: 3px;
	padding: 12px 16px;
	letter-spacing: -0.5px;
	text-decoration: none;
	text-transform: lowercase;
	font: 16px/1.2 var(--ccn-font);
	color: #ffffff;
	white-space: nowrap;
}

.ccn-menu-list > li > a:hover,
.ccn-menu-list > .current-menu-item > a,
.ccn-menu-list > .current_page_item > a,
.ccn-menu-list > .current_page_item > a:visited {
	text-decoration: none;
	color: #ffffff;
}

.ccn-menu-list .sub-menu {
	display: none;
	position: absolute;
	z-index: 60;
	background: #333;
	list-style: none;
	margin: 0;
	padding: 4px 0;
	min-width: 180px;
}

.ccn-menu-list > li:hover > .sub-menu {
	display: block;
}

.ccn-menu-list .sub-menu a {
	display: block;
	padding: 8px 14px;
	color: #fff;
	text-decoration: none;
	text-transform: lowercase;
	font-size: 14px;
}

/* Logo wrap — original #logo-wrap padding 30px 0 20px */
.ccn-logo-wrap {
	width: min(100%, var(--lucky-container-max));
	margin: 0 auto;
	padding: 30px 0 20px;
	
	background-size: 100% 100%;
}

.ccn-logo {
	width: min(100% - 40px, 820px);
	margin: 0 auto;
	height: auto;
	min-height: 0;
	background: #fff;
	display: block;
	line-height: 0;
}

.ccn-logo-link {
	display: block;
	width: 100%;
	line-height: 0;
}

.ccn-logo-img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

/* ==========================================================================
   Page: classic float layout (sidebar left, content right)
   ========================================================================== */

.ccn-site-content {
	flex: 1 0 auto;
	width: 100%;
}

.ccn-main {
	width: 100%;
}

.ccn-page {
	width: 850px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
	overflow: hidden; /* clear floats */
}

.ccn-sidebar {
	float: left;
	width: 215px;
	padding: 0;
	box-sizing: border-box;
}

.ccn-content {
	float: right;
	width: 620px;
	max-width: calc(100% - 230px);
	box-sizing: border-box;
	
}

.ccn-page--full .ccn-content {
	float: none;
	width: 100%;
	max-width: 100%;
}

/* ==========================================================================
   Sidebar — original #sidebar li padding 0 15px, margin-bottom 40px
   ========================================================================== */

.ccn-sidebar-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ccn-sidebar-list > .ccn-widget,
.ccn-sidebar .widget {
	margin: 0 0 40px;
	padding: 0 15px;
	list-style: none;
}

/* Never show search in sidebar */
.ccn-sidebar .widget_search,
.ccn-sidebar .wp-block-search,
.ccn-sidebar .search-form,
.ccn-sidebar form[role="search"],
.ccn-sidebar .wp-block-search__button-outside,
#sidebar .widget_search,
#sidebar .wp-block-search {
	display: none !important;
}

/* Title bars with arrow */
.ccn-widget-title,
.ccn-sidebar h2,
.ccn-sidebar .widget-title {
	position: relative;
	display: block;
	height: 32px;
	padding: 8px 26px 0 15px;
	margin: 0 0 10px;
	background: #454545 url("../img/sidebar-h2.jpg") no-repeat left top;
	background-size: 100% 32px;
	font-size: 18px;
	line-height: 1.1;
	color: #dadada;
	text-transform: lowercase;
	font-weight: normal;
	box-sizing: border-box;
}

.ccn-widget-title::after,
.ccn-sidebar h2::after,
.ccn-sidebar .widget-title::after {
	content: ">";
	position: absolute;
	right: 10px;
	top: 7px;
	font-size: 15px;
	color: #fff;
	font-weight: normal;
}

.ccn-widget ul,
.ccn-sidebar .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ccn-widget li,
.ccn-sidebar .widget li {
	margin: 0;
	padding: 2px 0 2px 12px;
	background: none;
	font-size: 11px;
	line-height: 1.55;
	font-weight: bold;
	color: #000;
	text-align: left;
	position: relative;
}

.ccn-widget li::before,
.ccn-sidebar .widget li::before {
	content: "•";
	position: absolute;
	left: 0;
	top: 2px;
	color: #000;
	font-weight: bold;
}

.ccn-widget a,
.ccn-sidebar a {
	color: var(--ccn-link);
	text-decoration: underline;
	font-weight: bold;
}

.ccn-widget a:hover,
.ccn-sidebar a:hover {
	text-decoration: none;
}

.ccn-advertisers-list li,
.ccn-advertisers-list li.ccn-plain,
.ccn-widget li.ccn-plain {
	font-weight: bold;
	color: #000 !important;
}

.ccn-advertisers-list li.ccn-plain a {
	color: #000 !important;
	text-decoration: none;
	pointer-events: none;
}

.ccn-archives-links li {
	font-weight: bold;
}

.ccn-archive-years {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 10px;
	row-gap: 2px;
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
}

.ccn-archive-years li {
	font-weight: normal;
	padding-left: 0;
}

.ccn-archive-years li::before {
	content: none;
}

.ccn-archive-years a {
	font-weight: normal;
	font-size: 11px;
}

.ccn-archives-label {
	margin: 8px 0 4px;
	padding-left: 0 !important;
	font-weight: bold;
	font-size: 11px;
	color: #000;
}

.ccn-archives-label::before {
	content: none !important;
}

/* ==========================================================================
   Content / posts — original .post padding 15px, .entry padding 0 15px
   ========================================================================== */

.ccn-post,
.ccn-post-card {
	padding: 15px;
	box-sizing: border-box;
}

.ccn-post__title,
.ccn-archive-header .title {
	margin: 0 0 20px;
	padding: 0 0 5px;
	color: var(--lucky-fg-primary);
	text-transform: lowercase;
	font-size: 32px;
	letter-spacing: -1px;
	font-weight: normal;
	text-align: left;
	overflow: visible;
	white-space: normal;
	word-wrap: break-word;
}

/* Dark bar headings — full content width, do not truncate */
.ccn-post__bar-title {
	position: relative;
	display: block;
	height: 32px;
	padding: 8px 28px 0 15px;
	margin: 0 -15px 14px;
	width: auto;
	max-width: none;
	background: #454545 url("../img/post-h2.jpg") no-repeat left top;
	background-size: 100% 32px;
	font-size: 18px;
	line-height: 1.1;
	color: #dadada;
	text-transform: lowercase;
	font-weight: normal;
	overflow: visible;
	white-space: normal;
	box-sizing: border-box;
}

.ccn-post__bar-title::after {
	content: ">";
	position: absolute;
	right: 12px;
	top: 7px;
	font-size: 15px;
	color: #fff;
}

.ccn-post__entry,
.ccn-post-card__excerpt {
	padding: 0 15px;
	font-size: 11px;
	line-height: 26px;
	color: var(--ccn-text);
	text-align: justify;
	overflow-wrap: anywhere;
	word-wrap: break-word;
}

.ccn-post__entry p {
	margin: 0 0 1.5em;
	font-size: 11px;
	line-height: 26px;
	text-align: justify;
}

.ccn-post__entry a {
	color: var(--ccn-link);
	text-decoration: underline;
}

.ccn-post__entry img.alignleft,
.ccn-post__entry .alignleft,
.ccn-post__entry img.left {
	float: left;
	margin: 0 15px 12px 0;
}

.ccn-post__entry img.alignright,
.ccn-post__entry .alignright,
.ccn-post__entry img.right {
	float: right;
	margin: 0 0 12px 15px;
}

.ccn-post__entry img.aligncenter,
.ccn-post__entry .aligncenter {
	display: block;
	margin: 0 auto 12px;
}

.ccn-post__entry::after,
.ccn-post-card::after,
.ccn-post::after {
	content: "";
	display: table;
	clear: both;
}

.ccn-awards {
	text-align: center;
	font-weight: bold;
	font-size: 12px;
	line-height: 1.6;
	margin: 0 0 1.5em;
	color: #000;
}

/* Homepage images from theme settings */
.ccn-home-hero {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 0 0 18px;
}

.ccn-home-hero__media {
	flex: 0 0 auto;
}

.ccn-home-hero__copy {
	flex: 1 1 auto;
	min-width: 0;
}

.ccn-home-cover {
	float: none;
	display: block;
	width: 140px;
	max-width: 140px;
	height: auto;
	margin: 0;
}

.ccn-home-association__row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 0 0 16px;
}

.ccn-home-association__media {
	flex: 0 0 auto;
}

.ccn-home-association__copy {
	flex: 1 1 auto;
	min-width: 0;
}

.ccn-home-association-logo {
	float: none;
	display: block;
	width: 300px;
	max-width: 100%;
	height: auto;
	margin: 0;
}

.ccn-home-banner {
	margin: 0 0 16px;
	clear: both;
}

.ccn-home-mogh {
	display: block;
	width: 100%;
	max-width: 590px;
	height: auto;
}

.ccn-home-chipguide {
	float: none;
	display: block;
	width: 200px;
	max-width: 100%;
	height: auto;
}

.ccn-home-image-link {
	display: inline-block;
	line-height: 0;
}

.ccn-home-intro p {
	margin: 0 0 1.25em;
}

@media (max-width: 767px) {
	.ccn-home-hero,
	.ccn-home-association__row {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.ccn-home-cover,
	.ccn-home-association-logo,
	.ccn-home-chipguide,
	.ccn-home-mogh {
		margin: 0 auto 12px;
	}

	.ccn-awards {
		text-align: center;
	}

	.ccn-home-association__copy,
	.ccn-home-intro {
		text-align: left;
	}
}

.ccn-featured-image {
	margin: 0 0 16px;
}

.ccn-featured-img {
	display: block;
	width: 100%;
	height: auto;
}

.ccn-entry-meta {
	margin: 0 0 14px;
	padding: 0 10px;
}

.ccn-entry-footer.meta {
	padding: 12px 10px 24px;
	border-top: 1px dotted #d1d1d1;
	margin-top: 16px;
}

.ccn-entry-footer .byline {
	margin: 0;
	font-size: 11px;
	line-height: normal;
	color: var(--ccn-muted);
	text-align: left;
}

.lucky-author-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0 0;
}

.lucky-author-photo img {
	border-radius: 50%;
	width: 40px;
	height: 40px;
	object-fit: cover;
}

.lucky-meta-author-name {
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
}

.lucky-author-date {
	display: block;
	font-size: 11px;
	color: var(--ccn-muted);
}

/* Article cards */
.ccn-post-card {
	border-bottom: 1px dotted #d1d1d1;
	margin: 0 0 6px;
	padding-bottom: 14px;
}

.ccn-post-card__title {
	font-size: 20px;
	margin: 0 0 8px;
	text-transform: none;
	text-align: left;
}

.ccn-post-card__title a {
	color: var(--ccn-green);
	text-decoration: none;
}

.ccn-post-card__title a:hover {
	text-decoration: underline;
}

.ccn-post-card__thumb {
	float: left;
	margin: 0 14px 8px 0;
	max-width: 120px;
}

.ccn-post-card__meta {
	clear: both;
	padding-top: 6px;
	font-size: 11px;
	color: var(--ccn-muted);
	text-align: left;
}

.lucky-article-footer-meta {
	display: inline;
}

.lucky-meta-dot {
	margin: 0 5px;
}

.ccn-more-link {
	margin-left: 8px;
	font-weight: bold;
	text-decoration: underline;
}

.ccn-author-header {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 12px;
	margin-bottom: 8px;
}

.ccn-author-avatar img {
	width: 88px;
	height: 88px;
	object-fit: cover;
}

.ccn-author-count {
	font-size: 12px;
	color: var(--ccn-muted);
	margin: 4px 0 8px;
	text-align: left;
}

.ccn-author-bio {
	font-size: 11px;
	text-align: justify;
}

.ccn-pagination,
.navigation.pagination,
.ccn-post-nav {
	padding: 12px 12px 20px;
	font-size: 12px;
}

.ccn-pagination .page-numbers,
.navigation.pagination .page-numbers {
	display: inline-block;
	padding: 3px 8px;
	margin: 0 2px;
	text-decoration: none;
	border: 1px solid #d1d1d1;
	color: var(--ccn-link);
}

.ccn-pagination .current,
.navigation.pagination .current {
	background: #4a4a4a;
	color: #fff;
	border-color: #4a4a4a;
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.lucky-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 1em;
}

.ccn-post__entry table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1em;
}

.ccn-post__entry th,
.ccn-post__entry td {
	border: 1px solid #d1d1d1;
	padding: 5px 7px;
	font-size: 11px;
}

/* ==========================================================================
   Footer — original #footer / #footer-wrap
   ========================================================================== */

.ccn-footer {
	width: 100%;
	margin-top: 10px;
	padding: 0 0 30px;
}

.ccn-footer-wrap {
	width: min(100%, var(--lucky-container-max));
	height: 75px;
	min-height: 75px;
	margin: 0 auto;
	background: #454545 url("../img/footer-bg.gif") no-repeat left top;
	background-size: 100% 75px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 0;
}

.ccn-footer-legal {
	margin: 0;
	clear: both;
	padding-top: 10px;
	text-align: center;
	color: #ffffff;
	font-size: 11px;
	line-height: 1.5;
}

.ccn-footer-legal a {
	color: var(--lucky-footer-link);
	text-decoration: underline;
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 900px) {
	.ccn-page {
		width: 100%;
		padding: 0 8px;
		box-sizing: border-box;
	}

	.ccn-menu-list > li > a {
		padding: 12px 10px;
		font-size: 14px;
	}

	.ccn-sidebar {
		width: 190px;
	}

	.ccn-content {
		width: calc(100% - 200px);
		max-width: calc(100% - 200px);
	}
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 767px) {
	body {
		margin-top: 0;
		padding-top: 0;
		background-color: #ffffff;
		background-image: none;
		font-size: 14px;
	}

	.ccn-nav-wrap {
		width: 100%;
		height: auto;
		min-height: 48px;
		margin: 0;
		background: #454545;
		background-image: none;
	}

	.ccn-nav {
		height: auto;
		min-height: 48px;
	}

	.ccn-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.ccn-menu-list {
		display: none;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		height: auto;
		overflow: visible;
		padding: 0;
		background: #333;
		position: absolute;
		left: 0;
		right: 0;
		top: 48px;
		z-index: 100;
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
	}

	.ccn-nav.is-toggled .ccn-menu-list {
		display: flex;
	}

	.ccn-menu-list > li > a {
		padding: 14px 18px;
		border-top: 1px solid #555;
		font-size: 15px;
		margin: 0;
	}

	.ccn-menu-list .sub-menu {
		position: static;
		display: none;
		background: #2a2a2a;
	}

	.ccn-menu-list .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.ccn-logo-wrap {
		width: 100%;
		margin: 0;
		padding: 16px 12px;
		background: transparent;
	}

	.ccn-logo {
		width: 100%;
	}

	.ccn-page {
		width: 100%;
		margin: 0;
		padding: 0 0 16px;
		overflow: visible;
	}

	.ccn-sidebar,
	.ccn-content {
		float: none;
		width: 100%;
		max-width: 100%;
		display: block;
	}

	.ccn-content {
		background: #fff url("../img/content-bg.jpg") no-repeat left top;
		background-size: 100% auto;
		padding: 0 0 8px;
	}

	.ccn-sidebar {
		clear: both;
		padding: 12px 0 16px;
		border-top: 1px solid #ddd;
	}

	.ccn-sidebar-list > .ccn-widget {
		margin-bottom: 28px;
		padding: 0 12px;
	}

	.ccn-post,
	.ccn-post-card {
		padding: 12px;
	}

	.ccn-post__bar-title {
		margin-left: -12px;
		margin-right: -12px;
		height: auto;
		min-height: 32px;
		padding: 8px 28px 8px 15px;
	}

	.ccn-post__title {
		font-size: 24px;
		letter-spacing: -0.5px;
	}

	.ccn-post__entry,
	.ccn-post__entry p,
	.ccn-post-card__excerpt {
		font-size: 14px;
		line-height: 1.65;
		text-align: left;
		padding: 0 8px;
	}

	.ccn-post__entry img.alignleft,
	.ccn-post__entry .alignleft,
	.ccn-post__entry img.left,
	.ccn-post-card__thumb {
		float: none;
		display: block;
		margin: 0 auto 12px;
		max-width: 160px;
	}

	.ccn-archive-years {
		grid-template-columns: 1fr 1fr;
	}

	.ccn-author-header {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.ccn-footer {
		padding: 0 0 12px;
		margin-top: 0;
	}

	.ccn-footer-wrap {
		width: 100%;
		margin: 0;
		height: auto;
		min-height: 56px;
		background: #454545;
		background-image: none;
		padding: 14px 12px;
		align-items: center;
	}

	.ccn-footer-legal {
		padding-top: 0;
		font-size: 11px;
		color: #fff;
	}
}

@media (min-width: 768px) {
	.has-sticky-header .ccn-nav-wrap {
		position: sticky;
		top: 0;
		z-index: 200;
	}

	.admin-bar.has-sticky-header .ccn-nav-wrap {
		top: 32px;
	}
}

@media print {
	.ccn-nav-wrap,
	.ccn-sidebar,
	.ccn-menu-toggle {
		display: none !important;
	}

	.ccn-content {
		width: 100%;
		float: none;
	}

	body {
		background: #fff;
	}
}
