/* CasinoZox blog theme — builds on /assets/css/site.css (tokens: --zx-*) */

/* hero accent follows the category/product colour */
.czx-hero.zx-watch { --zx-accent: var(--zx-watch); }
.czx-hero.zx-monitor { --zx-accent: var(--zx-monitor); }
.czx-hero.zx-directory { --zx-accent: var(--zx-directory); }
.czx-hero.zx-tools { --zx-accent: var(--zx-tools); }
.czx-hero.zx-trips { --zx-accent: var(--zx-trips); }
.czx-hero.zx-brandc { --zx-accent: var(--zx-brand); }
.czx-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; }

/* category chips + search */
.czx-blognav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.czx-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.czx-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .85rem; border-radius: 999px; border: 1px solid var(--zx-line-2); color: #cfd6ea; text-decoration: none; font-size: .88rem; font-weight: 500; background: rgba(255,255,255,.02); transition: background .2s, border-color .2s, color .2s; }
.czx-chip:hover { color: #fff; background: rgba(255,255,255,.06); }
.czx-chip[class*="zx-"]:hover, .czx-chip.active[class*="zx-"] { border-color: color-mix(in srgb, var(--c) 60%, transparent); color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); }
.czx-chip.active:not([class*="zx-"]) { border-color: rgba(52,224,161,.5); color: var(--zx-brand); background: rgba(52,224,161,.08); }
.czx-search { position: relative; min-width: 260px; flex: 0 1 320px; }
.czx-search i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--zx-muted); pointer-events: none; }
.czx-search .form-control { padding-left: 2.4rem; border-radius: 999px; }

/* cards: product accent per category (higher specificity than the base card) */
.czx-card { --c: var(--zx-brand); }
.czx-card.zx-watch { --c: var(--zx-watch); }
.czx-card.zx-monitor { --c: var(--zx-monitor); }
.czx-card.zx-directory { --c: var(--zx-directory); }
.czx-card.zx-tools { --c: var(--zx-tools); }
.czx-card.zx-trips { --c: var(--zx-trips); }
.czx-card.zx-brandc { --c: var(--zx-brand); }
.czx-post-cta.zx-watch { --c: var(--zx-watch); } .czx-post-cta.zx-monitor { --c: var(--zx-monitor); } .czx-post-cta.zx-directory { --c: var(--zx-directory); }
.czx-post-cta.zx-tools { --c: var(--zx-tools); } .czx-post-cta.zx-trips { --c: var(--zx-trips); } .czx-post-cta.zx-brandc { --c: var(--zx-brand); }
.czx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.czx-card { display: flex; flex-direction: column; background: var(--zx-panel); border: 1px solid var(--zx-line); border-radius: 1.1rem; overflow: hidden; transition: transform .2s, border-color .2s, background .2s; }
.czx-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 50%, transparent); background: var(--zx-panel-2); }
.czx-cover { display: block; aspect-ratio: 16 / 8; position: relative; overflow: hidden; background:
	radial-gradient(70% 90% at 15% 20%, color-mix(in srgb, var(--c) 45%, transparent), transparent 65%),
	radial-gradient(60% 80% at 90% 90%, rgba(110,139,255,.25), transparent 60%),
	linear-gradient(135deg, var(--zx-panel-2), var(--zx-ink-2)); }
.czx-cover::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--zx-line) 1px, transparent 1px), linear-gradient(90deg, var(--zx-line) 1px, transparent 1px); background-size: 28px 28px; opacity: .6; }
.czx-cover img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.czx-cover-art { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.czx-cover-art i { font-size: 3.2rem; color: var(--c); filter: drop-shadow(0 8px 24px color-mix(in srgb, var(--c) 50%, transparent)); transition: transform .3s; }
.czx-card:hover .czx-cover-art i { transform: scale(1.08) rotate(-4deg); }
.czx-card-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.czx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; font-size: .8rem; color: var(--zx-muted); margin-bottom: .7rem; }
.czx-cat { color: var(--c); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; text-decoration: none; }
.czx-cat:hover { color: #fff; }
.czx-card-title { font-size: 1.2rem; font-weight: 600; line-height: 1.3; margin-bottom: .55rem; }
.czx-card-title a { color: #fff; text-decoration: none; }
.czx-card-title a:hover { color: var(--c); }
.czx-card-excerpt { color: var(--zx-muted); font-size: .93rem; flex: 1; margin-bottom: 1rem; }
.czx-card .more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--c); text-decoration: none; }
.czx-card .more i { transition: transform .2s; }
.czx-card:hover .more i { transform: translateX(3px); }

.czx-card-featured { display: grid; grid-template-columns: 1.1fr 1fr; margin-bottom: 1.5rem; }
.czx-card-featured .czx-cover { aspect-ratio: auto; min-height: 320px; }
.czx-card-featured .czx-cover-art i { font-size: 5.5rem; }
.czx-card-featured .czx-card-body { padding: 2.2rem; justify-content: center; }
.czx-card-featured .czx-card-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.czx-card-featured .czx-card-excerpt { font-size: 1.02rem; flex: 0; }
@media (max-width: 991.98px) { .czx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
	.czx-card-featured { grid-template-columns: 1fr; }
	.czx-card-featured .czx-cover { min-height: 0; aspect-ratio: 16 / 8; }
	.czx-card-featured .czx-cover-art i { font-size: 3.4rem; }
	.czx-card-featured .czx-card-body { padding: 1.4rem; }
	.czx-search { flex-basis: 100%; }
	.czx-grid { grid-template-columns: 1fr; }
}

/* pagination */
.czx-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 2.5rem; }
.czx-pagination .page-numbers { display: inline-flex; align-items: center; gap: .35rem; min-width: 42px; height: 42px; padding: 0 .9rem; justify-content: center; border-radius: .7rem; border: 1px solid var(--zx-line-2); color: #cfd6ea; text-decoration: none; font-weight: 500; }
.czx-pagination .page-numbers.current { background: var(--zx-brand); color: var(--zx-brand-ink); border-color: var(--zx-brand); }
.czx-pagination a.page-numbers:hover { background: rgba(255,255,255,.06); color: #fff; }

/* single article */
.czx-narrow { max-width: 760px; margin: 0 auto; }
.czx-article-hero { padding-bottom: 2.5rem; }
.czx-crumbs { font-size: .85rem; margin-bottom: 1.2rem; color: var(--zx-muted); }
.czx-crumbs a { color: var(--zx-accent); text-decoration: none; font-weight: 600; }
.czx-crumbs i { font-size: .7rem; margin: 0 .3rem; }
.czx-article-title { font-size: clamp(1.9rem, 4.2vw, 2.9rem) !important; line-height: 1.12; margin-bottom: 1rem; }
.czx-byline { display: flex; align-items: center; gap: .8rem; margin-top: 1.6rem; }
.czx-byline strong { display: block; color: #fff; font-size: .95rem; }
.czx-byline span { color: var(--zx-muted); font-size: .85rem; }
.czx-avatar img { border-radius: 50%; border: 1px solid var(--zx-line-2); }
.czx-featured-img img { width: 100%; height: auto; border-radius: 1rem; margin-bottom: 2rem; }

.czx-content { font-size: 1.08rem; line-height: 1.8; color: #cdd4e6; }
.czx-content > * { margin-bottom: 1.3rem; }
.czx-content h2 { font-size: 1.6rem; margin: 2.6rem 0 1rem; }
.czx-content h3 { font-size: 1.25rem; margin: 2rem 0 .8rem; }
.czx-content strong { color: #fff; }
.czx-content a { color: var(--zx-brand); }
.czx-content ul, .czx-content ol { padding-left: 1.3rem; }
.czx-content li { margin-bottom: .45rem; }
.czx-content li::marker { color: var(--zx-brand); }
.czx-content ul.is-style-zx-checklist { list-style: none; padding-left: 0; }
.czx-content ul.is-style-zx-checklist li { position: relative; padding-left: 1.9rem; }
.czx-content ul.is-style-zx-checklist li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .1rem; color: var(--zx-brand); font-size: 1.1rem; }
.czx-content blockquote, .czx-content .wp-block-quote { border-left: 3px solid var(--zx-brand); background: var(--zx-panel); margin: 1.8rem 0; padding: 1.1rem 1.4rem; border-radius: 0 .8rem .8rem 0; font-size: 1.12rem; color: #fff; }
.czx-content blockquote p:last-child { margin: 0; }
.czx-content .wp-block-table { margin: 1.8rem 0; overflow-x: auto; border: 1px solid var(--zx-line); border-radius: .9rem; background: var(--zx-panel); }
.czx-content table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0; }
.czx-content th { text-align: left; color: var(--zx-muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; background: var(--zx-panel-2); }
.czx-content th, .czx-content td { padding: .8rem 1rem; border: 0; border-bottom: 1px solid var(--zx-line); }
.czx-content tr:last-child td { border-bottom: 0; }
.czx-content .wp-block-group[class*="is-style-zx-"] { border: 1px solid var(--zx-line-2); border-radius: .9rem; padding: 1.1rem 1.3rem 1.1rem 3.2rem; position: relative; margin: 1.8rem 0; background: var(--zx-panel); }
.czx-content .wp-block-group[class*="is-style-zx-"] > :last-child { margin-bottom: 0; }
.czx-content .wp-block-group[class*="is-style-zx-"]::before { font-family: "bootstrap-icons"; position: absolute; left: 1.15rem; top: 1.05rem; font-size: 1.2rem; }
.czx-content .is-style-zx-note { border-color: rgba(110,139,255,.4) !important; }
.czx-content .is-style-zx-note::before { content: "\F431"; color: var(--zx-watch); }
.czx-content .is-style-zx-tip { border-color: rgba(52,224,161,.4) !important; }
.czx-content .is-style-zx-tip::before { content: "\F46A"; color: var(--zx-brand); }
.czx-content .is-style-zx-warning { border-color: rgba(245,184,61,.45) !important; }
.czx-content .is-style-zx-warning::before { content: "\F33B"; color: var(--zx-gold); }
.czx-content code { background: var(--zx-panel-2); color: #ffd58a; padding: .1rem .4rem; border-radius: .35rem; font-size: .9em; }

.czx-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 2.2rem 0 0; }
.czx-tags a { font-size: .85rem; padding: .3rem .75rem; border-radius: 999px; background: var(--zx-panel); border: 1px solid var(--zx-line); color: #cfd6ea; text-decoration: none; }
.czx-tags a:hover { color: var(--zx-brand); border-color: rgba(52,224,161,.4); }

.czx-post-cta { display: flex; align-items: center; gap: 1.1rem; margin: 2.2rem 0 1.2rem; padding: 1.3rem 1.4rem; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); background: radial-gradient(80% 140% at 0% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 60%), var(--zx-panel); }
.czx-post-cta .zx-ico { margin: 0; flex: 0 0 46px; }
.czx-post-cta strong { color: #fff; font-family: "Space Grotesk", sans-serif; font-size: 1.1rem; }
.czx-post-cta p { margin: 0; color: var(--zx-muted); font-size: .92rem; }
@media (max-width: 575.98px) { .czx-post-cta { flex-wrap: wrap; } }
.czx-disclaimer { font-size: .85rem; color: var(--zx-muted); padding: .9rem 1.1rem; border-radius: .8rem; background: rgba(255,255,255,.02); border: 1px dashed var(--zx-line-2); }
.czx-disclaimer i { color: var(--zx-brand); margin-right: .3rem; }

.czx-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.2rem 0; }
.czx-prevnext a { display: block; padding: 1rem 1.2rem; border-radius: .9rem; border: 1px solid var(--zx-line); background: var(--zx-panel); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.czx-prevnext a:hover { border-color: rgba(52,224,161,.4); }
.czx-prevnext a span { display: block; color: var(--zx-muted); font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.czx-prevnext .next { text-align: right; grid-column: 2; }
@media (max-width: 575.98px) { .czx-prevnext { grid-template-columns: 1fr; } .czx-prevnext .next { grid-column: 1; } }

/* comments */
.czx-comments { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--zx-line); }
.czx-comment-list { list-style: none; padding: 0; }
.czx-comment-list .comment-body { background: var(--zx-panel); border: 1px solid var(--zx-line); border-radius: .9rem; padding: 1rem 1.2rem; margin-bottom: 1rem; color: #cdd4e6; }
.czx-comment-list .comment-meta, .czx-comment-list .comment-metadata a { font-size: .82rem; color: var(--zx-muted); }
.czx-comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-respond .comment-reply-title { font-size: 1.3rem; margin-bottom: .6rem; }
.comment-respond .form-submit { margin-top: 1rem; }
