/*
Theme Name: Casinos Crazy
Text Domain: casinos-crazy
Version: 2.0.0
Description: Classic WordPress theme for Casinos Crazy: felt green, champagne gold and coral, built mobile-first.
Requires at least: 6.4
Requires PHP: 7.4
WPVibe: yes
Update URI: false
*/

:root {
	--navy: #0E1A2B;
	--felt: #0F5B45;
	--felt-dark: #0A3F30;
	--gold: #F2C14E;
	--coral: #E4572E;
	--coral-dark: #C8431D;
	--cream: #FBF7EF;
	--paper: #FFFFFF;
	--line: #E7E0D2;
	--muted: #5B6473;
	--radius: 16px;
	--shadow: 0 1px 2px rgba(14,26,43,.06), 0 8px 24px rgba(14,26,43,.08);
	--display: "Fraunces", Georgia, "Times New Roman", serif;
	--body: "Instrument Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--navy);
	font: 400 1.0625rem/1.7 var(--body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: var(--felt); }
a:hover { color: var(--coral); }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; color: var(--navy); margin: 0 0 .5em; }
.cc-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.cc-skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; }
.cc-skip:focus { left: 8px; top: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* ---------- Notice bar ---------- */
.cc-notice { background: var(--navy); color: #d8dde6; font-size: .78rem; letter-spacing: .04em; text-align: center; padding: 7px 0; }
.cc-notice strong { color: var(--gold); }

/* ---------- Header ---------- */
.cc-header { position: sticky; top: 0; z-index: 60; background: rgba(251,247,239,.92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.admin-bar .cc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cc-header { top: 46px; } }
.cc-header.is-scrolled { box-shadow: 0 6px 20px rgba(14,26,43,.08); }
.cc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.cc-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.cc-brand:hover { color: var(--navy); }
.cc-brand__mark { width: 46px; height: 46px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.cc-brand:hover .cc-brand__mark { transform: rotate(135deg); }
.cc-brand__word { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; line-height: 1; }
.cc-brand__word em { font-style: italic; color: var(--coral); margin-left: .18em; display: inline-block; transform: rotate(-5deg) translateY(-1px); }
.cc-brand--light { color: #fff; }
.cc-brand--light:hover { color: #fff; }

.cc-nav { display: flex; align-items: center; gap: 18px; }
.cc-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.cc-menu li { position: relative; }
.cc-menu a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .15s, color .15s; }
.cc-menu a:hover, .cc-menu .current-menu-item > a, .cc-menu .current-menu-ancestor > a { background: rgba(15,91,69,.1); color: var(--felt); }
.cc-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 10; }
.cc-menu .sub-menu a { border-radius: 8px; font-weight: 500; }
.cc-menu li:hover > .sub-menu, .cc-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.cc-sub-toggle { display: none; }
.cc-nav__search { display: none; }

.cc-burger { display: none; align-items: center; gap: 10px; background: var(--felt); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font: 600 .95rem var(--body); cursor: pointer; }
.cc-burger__lines { display: grid; gap: 4px; width: 18px; }
.cc-burger__lines span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.cc-menu-open .cc-burger__lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.cc-menu-open .cc-burger__lines span:nth-child(2) { opacity: 0; }
.cc-menu-open .cc-burger__lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1339px) {
	.cc-header__inner { min-height: 66px; }
	.cc-brand__mark { width: 40px; height: 40px; }
	.cc-brand__word { font-size: 1.35rem; }
	.cc-burger { display: inline-flex; }
	.cc-nav {
		position: fixed; inset: 0; top: var(--cc-nav-top, 0); z-index: 55;
		display: block; padding: 120px var(--gutter) 40px; overflow-y: auto;
		background: var(--felt-dark);
		background-image: radial-gradient(circle at 80% 10%, rgba(242,193,78,.18), transparent 45%);
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s;
	}
	.cc-menu-open { overflow: hidden; }
	.cc-menu-open .cc-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--felt-dark); border-color: transparent; }
	.cc-menu-open .cc-nav { opacity: 1; visibility: visible; transform: none; }
	.cc-menu-open .cc-burger { position: relative; z-index: 70; background: var(--gold); color: var(--navy); }
	.cc-menu-open .cc-brand { position: relative; z-index: 70; color: #fff; }
	.cc-menu { display: block; }
	.cc-menu > li { border-bottom: 1px solid rgba(255,255,255,.12); }
	.cc-menu a { color: #fff; font-family: var(--display); font-size: 1.5rem; font-weight: 800; padding: 14px 0; border-radius: 0; }
	.cc-menu a:hover, .cc-menu .current-menu-item > a { background: none; color: var(--gold); }
	.cc-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: none; border: 0; box-shadow: none; padding: 0 0 12px 12px; min-width: 0; }
	.cc-menu .sub-menu a { font-family: var(--body); font-size: 1.05rem; font-weight: 500; padding: 8px 0; color: #dfe9e4; }
	.cc-menu li.is-open > .sub-menu { display: block; }
	.cc-sub-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 10px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: none; color: #fff; font-size: 1.1rem; cursor: pointer; }
	.cc-menu li.is-open > .cc-sub-toggle { transform: rotate(180deg); }
	.cc-nav__search { display: block; margin-top: 28px; }
}
@media (min-width: 1340px) {
	.cc-menu > li > a { white-space: nowrap; padding-left: 7px; padding-right: 7px; font-size: .92rem; }
	.cc-menu > li.menu-item-has-children > a::after { content: "▾"; font-size: .7em; margin-left: 6px; opacity: .6; }
}

/* ---------- Buttons, chips, kickers ---------- */
.cc-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--coral); color: #fff; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 18px rgba(228,87,46,.35); transition: transform .15s, background .15s; }
.cc-btn:hover { background: var(--coral-dark); color: #fff; transform: translateY(-2px); }
.cc-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.cc-btn--ghost:hover { background: rgba(255,255,255,.1); }
.cc-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.cc-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242,193,78,.25); }
.cc-chip { display: inline-block; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: rgba(15,91,69,.1); color: var(--felt); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.cc-chip:hover { background: var(--felt); color: #fff; }
.cc-chip--light { background: rgba(255,255,255,.14); color: #fff; margin-bottom: 14px; }
.cc-chip--light:hover { background: var(--gold); color: var(--navy); }

/* ---------- Felt surfaces (hero + bands) ---------- */
.cc-hero, .cc-band {
	position: relative; isolation: isolate; overflow: hidden; color: #e6efe9;
	background-color: var(--felt);
	background-image:
		radial-gradient(ellipse 70% 90% at 15% 0%, rgba(255,255,255,.10), transparent 60%),
		radial-gradient(ellipse 60% 80% at 100% 100%, rgba(0,0,0,.28), transparent 60%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


.cc-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 9vw, 120px); }
.cc-hero__inner { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 40px; }
.cc-hero__title { color: #fff; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1; margin-bottom: 20px; }
.cc-hero__title span { display: block; font-style: italic; color: var(--gold); }
.cc-hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 34rem; margin: 0 0 28px; color: #d6e5dd; }
.cc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cc-hero__text > * { animation: cc-rise .7s cubic-bezier(.2,.8,.2,1) both; }
.cc-hero__text > *:nth-child(2) { animation-delay: .08s; }
.cc-hero__text > *:nth-child(3) { animation-delay: .16s; }
.cc-hero__text > *:nth-child(4) { animation-delay: .24s; }
@keyframes cc-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.cc-chipstack { position: relative; width: min(320px, 100%); aspect-ratio: 1; margin-left: auto; }
.cc-chipstack__mark { position: absolute; inset: 12%; width: 76%; height: 76%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); animation: cc-spin 28s linear infinite; }
.cc-chipstack__chip { position: absolute; border-radius: 50%; border: 10px dashed rgba(255,255,255,.65); }
.cc-chipstack__chip--1 { width: 34%; aspect-ratio: 1; right: -4%; top: -2%; background: var(--coral); animation: cc-float 6s ease-in-out infinite; }
.cc-chipstack__chip--2 { width: 24%; aspect-ratio: 1; left: -2%; bottom: 6%; background: var(--gold); border-color: rgba(14,26,43,.35); animation: cc-float 7s ease-in-out -2s infinite; }
.cc-chipstack__chip--3 { width: 16%; aspect-ratio: 1; right: 10%; bottom: -4%; background: var(--navy); animation: cc-float 5s ease-in-out -1s infinite; }
@keyframes cc-spin { to { transform: rotate(360deg); } }
@keyframes cc-float { 50% { transform: translateY(-10px) rotate(20deg); } }

/* Compact home banner */
.cc-hero--compact { padding: clamp(22px, 3vw, 34px) 0 clamp(28px, 3.5vw, 40px); }
.cc-hero__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.cc-hero--compact .cc-hero__title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.1; margin: 0; }
.cc-hero--compact .cc-hero__title span { display: inline; }
.cc-hero--compact .cc-hero__lead { font-size: 1rem; margin: 6px 0 0; animation: none; }
.cc-hero--compact .cc-btn { padding: 11px 20px; flex-shrink: 0; }
.cc-hero--compact + .cc-section--tight { padding-top: clamp(28px, 4vw, 44px); }
@media (max-width: 560px) { .cc-hero--compact .cc-btn { display: none; } }

.cc-band { padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 4.5vw, 56px); }
.cc-band__title { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); max-width: 22ch; margin: 0; }
.cc-band__lead { max-width: 40rem; margin: 14px 0 0; color: #d6e5dd; }
.cc-band__meta { margin: 14px 0 0; color: #cfe0d7; font-size: .95rem; }
.cc-band__search { margin-top: 22px; max-width: 520px; }
.cc-crumbs { font-size: .85rem; margin: 0 0 12px; color: #cfe0d7; }
.cc-crumbs a { color: #fff; }

/* ---------- Sections ---------- */
.cc-section { padding: clamp(48px, 7vw, 88px) 0; }
.cc-section--tight { padding-bottom: 0; }
.cc-section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cc-section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.cc-section__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.cc-section__title::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 12px; border-radius: 4px; background: var(--coral); }
.cc-more { font-weight: 700; text-decoration: none; }

/* Category tiles */
.cc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 12px; }
.cc-section--tight .cc-section__head { margin-bottom: 18px; }
.cc-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100px; padding: 16px 18px; border-radius: var(--radius); text-decoration: none; color: #fff; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cc-tile::before { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; border: 14px dashed rgba(255,255,255,.22); transition: transform .6s; }
.cc-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: #fff; }
.cc-tile:hover::before { transform: rotate(90deg); }
.cc-tile--1 { background: var(--felt); }
.cc-tile--2 { background: var(--navy); }
.cc-tile--3 { background: var(--coral); }
.cc-tile--4 { background: var(--gold); color: var(--navy); }
.cc-tile--4:hover { color: var(--navy); }
.cc-tile--4::before { border-color: rgba(14,26,43,.18); }
.cc-tile__count { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.cc-tile__name { font-family: var(--display); font-size: 1.45rem; font-weight: 800; line-height: 1.15; margin-top: 4px; padding-right: 34px; }
.cc-tile__go { position: absolute; right: 18px; bottom: 18px; font-size: 1.3rem; transition: transform .2s; }
.cc-tile:hover .cc-tile__go { transform: translateX(4px); }

/* Cards */
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.cc-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cc-card__media img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.cc-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; border-top: 4px solid var(--gold); }
.cc-card__title { font-size: 1.3rem; margin: 0; }
.cc-card__title a { color: var(--navy); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 3px no-repeat; transition: background-size .25s; }
.cc-card:hover .cc-card__title a { background-size: 100% 3px; }
.cc-card__excerpt { margin: 0; color: var(--muted); font-size: .97rem; }
.cc-card__meta { margin-top: auto; font-size: .82rem; font-weight: 600; color: var(--felt); }

/* Pagination */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--navy); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--felt); border-color: var(--felt); color: #fff; }

/* ---------- Article content ---------- */
.cc-prose { max-width: 760px; margin: 0 auto; font-size: 1.08rem; }
.cc-prose > :first-child { margin-top: 0; }
.cc-prose p:empty { display: none; }
.cc-prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-top: 2em; }
.cc-prose h3 { font-size: 1.4rem; margin-top: 1.8em; }
.cc-prose h4 { font-size: 1.15rem; margin-top: 1.6em; }
.cc-prose a { color: var(--felt); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(15,91,69,.35); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cc-prose a:hover { color: var(--coral); text-decoration-color: currentColor; }
.cc-prose img { border-radius: 10px; }
.cc-prose figure { margin: 2em 0; }
.cc-prose figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 8px; }
.cc-prose p:has(> a > img:only-child), .cc-prose p:has(> img:only-child) { text-align: center; }
.cc-prose ul, .cc-prose ol { padding-left: 1.3em; }
.cc-prose li { margin: .35em 0; }
.cc-prose li::marker { color: var(--coral); font-weight: 700; }
.cc-prose strong { color: var(--navy); }
.cc-prose blockquote { margin: 1.8em 0; padding: 18px 22px; background: var(--cream); border-left: 5px solid var(--gold); border-radius: 0 12px 12px 0; }
.cc-prose blockquote blockquote { margin: 0; padding: 0; background: none; border: 0; }
.cc-prose blockquote p:last-child { margin-bottom: 0; }
.cc-prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.cc-prose table { width: 100% !important; border-collapse: collapse; margin: 1.8em 0; font-size: .97rem; }
.cc-prose th, .cc-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.cc-prose th, .cc-prose thead td { background: var(--felt); color: #fff; }
.cc-prose tr:nth-child(even) td { background: #fcfaf5; }
.cc-prose .wp-block-table { overflow-x: auto; }
.cc-prose .wp-block-button__link { background: var(--coral); color: #fff; border-radius: 999px; text-decoration: none; }
.cc-prose--home { max-width: 820px; }
.cc-warning { margin: 0 0 2em; padding: 18px 20px 18px 58px; border-radius: 12px; position: relative; font-size: 1rem; line-height: 1.55; }
.cc-warning::before { position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; }
.cc-warning strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.cc-warning--blacklist { background: #fdecea; border: 2px solid #c62828; color: #5f1414; }
.cc-warning--blacklist::before { content: "!"; background: #c62828; }
.cc-warning--blacklist strong { color: #b71c1c; }
.cc-warning--closed { background: #f1f2f4; border: 2px solid #6b7280; color: #374151; }
.cc-warning--closed::before { content: "×"; background: #6b7280; }
.cc-feature { display: block; width: 100%; border-radius: var(--radius); margin-bottom: 2em; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) {
	.cc-prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.alignleft, .alignright { float: none; margin: 1em auto; display: block; }
}

.cc-postnav { max-width: 760px; margin: 48px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cc-postnav a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--navy); font-family: var(--display); font-weight: 800; line-height: 1.25; transition: border-color .15s, background .15s; }
.cc-postnav a:hover { border-color: var(--felt); background: var(--cream); }
.cc-postnav span { display: block; font-family: var(--body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); margin-bottom: 6px; }
.cc-postnav div:last-child { text-align: right; }

.cc-empty { text-align: center; max-width: 520px; margin: 0 auto; }

/* ---------- Search form ---------- */
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 50px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; color: var(--navy); }
.search-field:focus { outline: 3px solid var(--gold); border-color: transparent; }
.search-submit { height: 50px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--coral); color: #fff; font: 700 1rem var(--body); cursor: pointer; }
.search-submit:hover { background: var(--coral-dark); }

/* ---------- Footer ---------- */
.cc-footer { background: var(--navy); color: #b9c2cf; padding: clamp(48px, 7vw, 80px) 0 28px; font-size: .97rem; }
.cc-footer a { color: #fff; }
.cc-footer a:hover { color: var(--gold); }
.cc-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.cc-footer__links { font-size: .9rem; }
.cc-footer__safe { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.cc-footer__safe .cc-badge { flex-shrink: 0; width: 42px; height: 42px; }
@media (max-width: 1100px) { .cc-footer__grid { grid-template-columns: repeat(4, 1fr); } .cc-footer__about { grid-column: 1 / -1; } }
.cc-footer__about p { max-width: 34ch; margin-top: 16px; }
.cc-footer__title { font-family: var(--body); color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 8px 0 16px; }
.cc-footer__links { list-style: none; margin: 0; padding: 0; }
.cc-footer__links li { margin: 0 0 10px; }
.cc-footer__links a { text-decoration: none; }
.cc-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--coral); color: #fff; font-weight: 800; }
.cc-footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.cc-footer__base p { margin: 0; }
.cc-totop { text-decoration: none; font-weight: 600; }

/* ---------- Home page content ---------- */
.cc-home-section { padding-top: clamp(28px, 4vw, 44px); }
.cc-home h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.cc-home h3 { font-size: 1.25rem; }
.cc-home a:not(.cc-btn):not(.cc-mini__go) { color: var(--felt); font-weight: 600; }
.cc-home a:not(.cc-btn):not(.cc-mini__go):hover { color: var(--coral); }
.cc-h-block { margin-top: clamp(48px, 6vw, 72px); }
.cc-h-sub { color: var(--muted); margin-top: -.2em; }
.cc-h-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.cc-h-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin: 0 0 8px; }

.cc-h-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.cc-h-intro__text p { color: #2c3646; }
.cc-h-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-h-stats li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.cc-h-stats strong { display: block; font-family: var(--display); font-size: 2.1rem; line-height: 1; color: var(--felt); }
.cc-h-stats li:nth-child(2) strong { color: var(--coral); }
.cc-h-stats li:nth-child(3) strong { color: var(--navy); }
.cc-h-stats li:nth-child(4) strong { color: #b88a12; }
.cc-h-stats span { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted); line-height: 1.35; }

/* Top casinos table */
.cc-toplist { display: grid; gap: 12px; counter-reset: top; }
.cc-top { display: grid; grid-template-columns: 56px 1.4fr 1.2fr auto; align-items: center; gap: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; box-shadow: 0 1px 2px rgba(14,26,43,.04); transition: box-shadow .2s, transform .2s; }
.cc-top:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cc-top:first-child { border: 2px solid var(--gold); background: linear-gradient(90deg, #fffaf0, var(--paper) 40%); }
.cc-top__rank { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--felt); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.3rem; box-shadow: inset 0 0 0 4px var(--felt), inset 0 0 0 6px rgba(255,255,255,.5); }
.cc-top:first-child .cc-top__rank { background: var(--gold); color: var(--navy); box-shadow: inset 0 0 0 4px var(--gold), inset 0 0 0 6px rgba(14,26,43,.25); }
.cc-top__name { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.cc-top__name > a { grid-row: 1 / span 2; }
.cc-top__name strong { align-self: end; }
.cc-top__name .cc-top__tags { align-self: start; }
.cc-logo-img { display: block; width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px; }
.cc-spot__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; text-align: left; }
.cc-spot__head .cc-logo-img { width: 64px; height: 64px; }
.cc-spot__head h3 { margin: 0; }
.cc-top__name strong { display: block; font-family: var(--display); font-size: 1.2rem; }
.cc-top__tags, .cc-top__offer span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.cc-top__offer strong { display: block; font-size: 1.15rem; color: var(--coral-dark); }
.cc-top__cta { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
.cc-top__cta .cc-btn { justify-content: center; padding: 12px 20px; white-space: nowrap; }
.cc-top__review { font-size: .88rem; }

/* Top casinos box after page/post content */
.cc-box { max-width: 760px; margin: 48px auto 0; padding: 22px; background: var(--cream); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); }
.cc-box__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cc-box__head h2 { font-size: 1.4rem; margin: 0; }
.cc-box__head a { font-weight: 700; text-decoration: none; font-size: .92rem; }
.cc-toplist--compact { gap: 10px; }
.cc-toplist--compact .cc-top { grid-template-columns: 40px 1.3fr 1fr auto; gap: 14px; padding: 12px 16px; }
.cc-toplist--compact .cc-top__rank { width: 36px; height: 36px; font-size: 1rem; }
.cc-toplist--compact .cc-logo-img { width: 56px; height: 56px; }
.cc-toplist--compact .cc-top__name { grid-template-columns: 56px 1fr; }
.cc-toplist--compact .cc-top__name strong { font-size: 1.05rem; }
.cc-toplist--compact .cc-top__offer strong { font-size: 1rem; }
.cc-toplist--compact .cc-top__review { display: none; }
@media (max-width: 900px) { .cc-toplist--compact .cc-top { grid-template-columns: 40px 1fr; } }
@media (max-width: 560px) { .cc-toplist--compact .cc-top { grid-template-columns: 1fr; } .cc-box { padding: 16px; } }
/* Casino cards that replace old banners in imported pages */
.cc-pick { display: flex; align-items: center; gap: 16px; padding: 14px 18px; margin: 1.4em 0; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold, #F2C14E); border-radius: 16px; box-shadow: 0 6px 18px rgba(14,26,43,.06); }
.cc-pick .cc-logo-img { width: 60px; height: 60px; flex-shrink: 0; margin: 0; }
.cc-pick__body { flex: 1; min-width: 0; line-height: 1.35; }
.cc-pick__body strong { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 1.12rem; }
.cc-pick__body span { font-size: .92rem; opacity: .75; }
.cc-pick .cc-btn { flex-shrink: 0; }
.cc-inline-cta { margin: 1.2em 0; }
.cc-prose .cc-inline-cta a.cc-btn, .cc-prose .cc-pick a.cc-btn, .cc-prose .cc-inline-cta a.cc-btn:hover, .cc-prose .cc-pick a.cc-btn:hover { color: #fff; text-decoration: none; }
.cc-prose .cc-numlist { list-style: none; counter-reset: ccn; padding: 0; margin: 1.4em 0; display: grid; gap: 12px; }
.cc-prose .cc-numlist li { counter-increment: ccn; position: relative; padding: 14px 18px 14px 62px; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 0; }
.cc-prose .cc-numlist li::before { content: counter(ccn); position: absolute; left: 16px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: #0F5B45; color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.cc-prose .cc-terms { list-style: none; padding: 0; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.cc-prose .cc-terms li { padding: 12px 18px; margin: 0; border-top: 1px solid var(--line); }
.cc-prose .cc-terms li:first-child { border-top: 0; }
.cc-prose .cc-terms strong { display: block; color: #0F5B45; }
.cc-prose .cc-linkgrid { list-style: none; padding: 0; margin: 1.4em 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.cc-prose .cc-linkgrid li { margin: 0; }
.cc-prose .cc-linkgrid a { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 100%; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; text-decoration: none; color: #0E1A2B; transition: border-color .15s, transform .15s; }
.cc-prose .cc-linkgrid a::after { content: "→"; color: #E4572E; }
.cc-prose .cc-linkgrid a:hover { border-color: #0F5B45; transform: translateY(-1px); }
.cc-prose .cc-callout { padding: 14px 18px; background: #FFF6DC; border: 1px solid #F2C14E; border-radius: 14px; font-weight: 600; }
.cc-callout .cc-chip { display: inline-block; margin-right: 8px; padding: 3px 10px; border-radius: 999px; background: #E4572E; color: #fff; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
@media (max-width: 560px) { .cc-pick { flex-wrap: wrap; } .cc-pick .cc-btn { width: 100%; text-align: center; } }
/* Lists and grids inside normal pages */
.cc-prose .cc-toplist { margin: 1.5em 0; }
.cc-reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; padding: 0; list-style: none; margin: 1.2em 0 2em; }
.cc-reviews-grid li { margin: 0; }
.cc-reviews-grid li::marker { content: none; }
.cc-reviews-grid a { display: block; height: 100%; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--felt); border-radius: 12px; text-decoration: none !important; color: var(--navy) !important; font-family: var(--display); font-weight: 800; line-height: 1.25; }
.cc-reviews-grid a:hover { border-color: var(--felt); background: var(--cream); }
.cc-reviews-grid small { display: block; font-family: var(--body); font-weight: 500; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.cc-reviews-grid .is-bad a { border-left-color: #c62828; }
.cc-reviews-grid .is-closed a { border-left-color: #9ca3af; opacity: .8; }
.cc-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 2.2em 0; padding: 22px 24px; border-radius: var(--radius); background: var(--felt); color: #e6efe9; }
.cc-cta-band p { margin: 0; }
.cc-cta-band strong { color: #fff; font-family: var(--display); font-size: 1.25rem; display: block; }
.cc-prose .cc-cta-band a.cc-btn { color: #fff; text-decoration: none; }
.cc-prose .cc-spot { margin: 1.5em 0; }
.cc-prose .cc-spot a.cc-btn { color: #fff; text-decoration: none; }
.cc-prose .cc-top__cta a.cc-btn { color: #fff; text-decoration: none; }
.cc-prose .cc-top a { text-decoration: none; }

/* Mini casino cards */
.cc-minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 20px; }
.cc-mini { display: flex; flex-direction: column; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--felt); border-radius: 12px; padding: 14px 16px; }
.cc-mini strong { font-family: var(--display); font-size: 1.1rem; }
.cc-mini span { font-size: .85rem; color: var(--muted); }
.cc-mini div { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: .9rem; }
.cc-mini__go { background: var(--coral); color: #fff !important; padding: 5px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.cc-mini__go:hover { background: var(--coral-dark); }
.cc-btn--outline { background: transparent; color: var(--felt) !important; box-shadow: inset 0 0 0 2px var(--felt); }
.cc-btn--outline:hover { background: var(--felt); color: #fff !important; }

/* Spotlights */
.cc-spots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: stretch; }
.cc-spot { display: flex; flex-direction: column; }
.cc-spot__cta { margin-top: auto !important; padding-top: 6px; }
.cc-spot { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-top: 5px solid var(--coral); font-size: .97rem; }
.cc-spot:nth-child(2) { border-top-color: var(--felt); }
.cc-spot:nth-child(3) { border-top-color: var(--gold); }
.cc-spot__label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.cc-spot h3 { font-size: 1.5rem; margin-bottom: .4em; }
.cc-spot p { color: #2c3646; }
.cc-spot__cta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 0; }
.cc-spot__cta .cc-btn { justify-content: center; text-align: center; }

/* Why trust us */
.cc-h-why { background: var(--navy); color: #c9d1dc; border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 5vw, 52px); }
.cc-h-why h2 { color: #fff; }
.cc-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 20px; }
.cc-why h3 { color: #fff; margin: 10px 0 6px; }
.cc-why p { margin: 0; font-size: .95rem; }
.cc-why__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 1.4rem; }
.cc-why > div:nth-child(2) .cc-why__icon, .cc-why > div:nth-child(3) .cc-why__icon { background: var(--coral); color: #fff; }

/* Link lists */
.cc-h-learn { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.cc-h-learn h2 { font-size: 1.4rem; }
.cc-linklist { list-style: none; margin: 0; padding: 0; }
.cc-linklist li { border-bottom: 1px solid var(--line); }
.cc-linklist a { display: block; padding: 10px 24px 10px 0; position: relative; text-decoration: none; line-height: 1.35; }
.cc-linklist a::after { content: "→"; position: absolute; right: 0; top: 10px; color: var(--coral); transition: transform .15s; }
.cc-linklist a:hover::after { transform: translateX(3px); }
.cc-h-tip p { background: #fff6dc; border: 1px solid #f1dd9f; border-radius: var(--radius); padding: 18px 22px; margin: 0; }

/* FAQ */
.cc-h-faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.cc-h-faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 700; position: relative; }
.cc-h-faq summary::-webkit-details-marker { display: none; }
.cc-h-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(15,91,69,.1); color: var(--felt); font-size: 1.2rem; }
.cc-h-faq details[open] summary::after { content: "–"; background: var(--felt); color: #fff; }
.cc-h-faq details p { margin: 0; padding: 0 20px 18px; color: #2c3646; }

/* Featured editorial resources (paid partner links, bottom of home page) */
.cc-res-section { padding-top: clamp(40px, 5vw, 64px); }
.cc-res__heading { font-size: 1.3rem !important; letter-spacing: .08em; text-transform: uppercase; color: var(--felt) !important; }
.cc-res__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.cc-res__card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cc-res__card header { display: flex; gap: 12px; align-items: center; padding: 16px 16px 8px; }
.cc-res__icon { flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(15,91,69,.1); color: var(--felt); }
.cc-res__label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #999; }
.cc-res__card h3 { font-size: 1.1rem !important; margin: 2px 0 0; }
.cc-res__body { padding: 4px 16px 0; font-size: .9rem; color: #333; max-height: 180px; overflow: hidden; position: relative; }
.cc-res__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, var(--paper)); }
.cc-res__card.is-open .cc-res__body { max-height: none; }
.cc-res__card.is-open .cc-res__body::after { display: none; }
.cc-res__toggle { display: block; width: 100%; border: 0; border-top: 1px solid var(--line); background: #fcfaf5; padding: 11px 16px; text-align: left; font: 700 .78rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--coral-dark); cursor: pointer; }

/* ---------- Phones & tablets ---------- */
@media (max-width: 900px) {
	.cc-h-intro { grid-template-columns: 1fr; }
	.cc-top { grid-template-columns: 48px 1fr; }
	.cc-top__offer, .cc-top__cta { grid-column: 2; }
	.cc-top__cta { flex-direction: row; flex-wrap: wrap; align-items: center; }
	.cc-res__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.cc-top { grid-template-columns: 1fr; gap: 10px; padding: 16px; position: relative; }
	.cc-top__rank { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; font-size: 1.05rem; }
	.cc-top__offer, .cc-top__cta { grid-column: 1; }
	.cc-top__name { grid-template-columns: 60px 1fr; padding-right: 44px; }
	.cc-top__name img, .cc-top__name .cc-logo-img { max-width: none; width: 60px; height: 60px; }
	.cc-top__name strong { font-size: 1.1rem; }
	.cc-top__cta .cc-btn { flex: 1; }
	.cc-spot { padding: 18px; }
}
@media (max-width: 860px) {
	.cc-hero__inner { grid-template-columns: 1fr; }
	.cc-hero__art { display: none; }
	.cc-footer__grid { grid-template-columns: 1fr 1fr; }
	.cc-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	body { font-size: 1rem; }
	.cc-notice { font-size: .7rem; }
	.cc-burger__label { display: none; }
	.cc-burger { padding: 12px; }
	.cc-hero__actions .cc-btn { flex: 1 1 100%; justify-content: center; }
	.cc-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
	.cc-tile { min-height: 120px; padding: 16px; }
	.cc-tile__name { font-size: 1.15rem; padding-right: 0; }
	.cc-tile__go { display: none; }
	.cc-grid { grid-template-columns: 1fr; }
	.cc-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.cc-postnav { grid-template-columns: 1fr; }
	.cc-postnav div:last-child { text-align: left; }
	.search-submit { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
