/* IsCoinLegit Design — icl-design.css
   Brand: navy #0a1433 / #101d49, green #0c8a5a / #3bd18f.
   Every selector is .icl- prefixed so nothing clashes with the Foxiz theme. */

/* ---------- Tool cards (sidebar grid + article-bottom row) ---------- */

.icl-tool-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
}

/* In a narrow sidebar force a tidy 2-column grid. */
.icl-tool-cards--sidebar {
	grid-template-columns: repeat(2, 1fr);
}

/* Article-bottom row: 4 across on desktop, 2 on small screens. */
.icl-tool-cards--row {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 720px) {
	.icl-tool-cards--row {
		grid-template-columns: repeat(2, 1fr);
	}
}

.icl-tool-card {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 10px 11px;
	background: #ffffff;
	border: 1px solid rgba(10, 20, 51, 0.12);
	border-radius: 12px;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.icl-tool-card:hover,
.icl-tool-card:focus {
	transform: translateY(-3px);
	border-color: #3bd18f;
	box-shadow: 0 10px 24px rgba(12, 138, 90, 0.28), 0 0 0 1px rgba(59, 209, 143, 0.45), 0 0 18px rgba(59, 209, 143, 0.35);
	text-decoration: none;
}

.icl-tool-card-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	font-size: 17px;
	line-height: 1;
	color: #ffffff;
	background: linear-gradient(135deg, #3bd18f 0%, #0c8a5a 100%);
	box-shadow: 0 3px 8px rgba(12, 138, 90, 0.35);
}

.icl-tool-card-name {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #101d49;
}

.icl-tools-heading {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 700;
	color: #101d49;
}

/* ---------- Scrolling tools strip (marquee) ---------- */

.icl-marquee {
	overflow: hidden;
	padding: 12px 0;
	background: linear-gradient(90deg, #0a1433 0%, #101d49 50%, #0a1433 100%);
	border-top: 1px solid rgba(59, 209, 143, 0.35);
	border-bottom: 1px solid rgba(59, 209, 143, 0.35);
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}

.icl-marquee-track {
	display: flex;
	width: max-content;
	animation: icl-marquee-scroll 45s linear infinite;
}

.icl-marquee:hover .icl-marquee-track {
	animation-play-state: paused;
}

.icl-marquee-group {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.icl-marquee-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-right: 34px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	color: #ffffff;
	text-decoration: none;
	transition: color 0.2s ease;
}

.icl-marquee-item:hover,
.icl-marquee-item:focus {
	color: #3bd18f;
	text-decoration: none;
}

.icl-marquee-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 7px;
	font-size: 14px;
	line-height: 1;
	background: linear-gradient(135deg, #3bd18f 0%, #0c8a5a 100%);
	box-shadow: 0 2px 6px rgba(12, 138, 90, 0.4);
}

@keyframes icl-marquee-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* ---------- Animated counters band ---------- */

.icl-counters {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 22px 0;
	padding: 26px 20px;
	border-radius: 16px;
	text-align: center;
	background: linear-gradient(135deg, #0a1433 0%, #101d49 100%);
	border: 1px solid rgba(59, 209, 143, 0.3);
	box-shadow: 0 12px 32px rgba(10, 20, 51, 0.25), inset 0 0 40px rgba(59, 209, 143, 0.06);
}

@media (max-width: 720px) {
	.icl-counters {
		grid-template-columns: repeat(2, 1fr);
	}
}

.icl-counter {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.icl-counter-num {
	font-size: clamp(30px, 5vw, 44px);
	font-weight: 800;
	line-height: 1.05;
	color: #3bd18f;
	font-variant-numeric: tabular-nums;
}

.icl-counter-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

/* ---------- Scroll reveal ---------- */

/* .icl-reveal is added by JS only, so content is never hidden if JS fails. */
.icl-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	will-change: opacity, transform;
}

.icl-reveal.icl-in {
	opacity: 1;
	transform: translateY(0);
}

/* ---------- Hero band (homepage) ---------- */

.icl-hero {
	margin: 0 0 34px;
	padding: clamp(38px, 7vw, 72px) clamp(18px, 5vw, 56px);
	border-radius: 20px;
	text-align: center;
	color: #ffffff;
	background:
		radial-gradient(640px 300px at 85% -60px, rgba(59, 209, 143, 0.22), transparent 60%),
		linear-gradient(135deg, #0a1433 0%, #101d49 60%, #0a1433 100%);
	border: 1px solid rgba(59, 209, 143, 0.3);
	box-shadow: 0 18px 44px rgba(10, 20, 51, 0.3);
}

.icl-hero h1 {
	margin: 0 auto 14px;
	max-width: 820px;
	font-size: clamp(28px, 5vw, 46px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #ffffff;
}

.icl-hero-sub {
	margin: 0 auto 26px;
	max-width: 640px;
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
}

.icl-hero-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.icl-btn {
	display: inline-block;
	padding: 13px 26px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.icl-btn:hover,
.icl-btn:focus {
	transform: translateY(-2px);
	text-decoration: none;
}

.icl-btn--primary {
	color: #ffffff;
	background: linear-gradient(135deg, #3bd18f 0%, #0c8a5a 100%);
	box-shadow: 0 8px 22px rgba(12, 138, 90, 0.4);
}

.icl-btn--primary:hover,
.icl-btn--primary:focus {
	color: #ffffff;
	box-shadow: 0 12px 28px rgba(12, 138, 90, 0.5);
}

.icl-btn--outline {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.55);
	background: transparent;
}

.icl-btn--outline:hover,
.icl-btn--outline:focus {
	color: #ffffff;
	border-color: #3bd18f;
	background: rgba(59, 209, 143, 0.12);
}

/* ---------- Sections & card grids ---------- */

.icl-section {
	margin: 38px 0;
}

.icl-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 18px;
}

.icl-section-title {
	margin: 30px 0 18px;
	font-size: clamp(21px, 3vw, 27px);
	font-weight: 800;
	line-height: 1.25;
	color: #101d49;
}

.icl-section-head .icl-section-title {
	margin: 0;
}

.icl-section-title a {
	color: inherit;
	text-decoration: none;
}

.icl-section-title a:hover,
.icl-section-title a:focus {
	color: #0c8a5a;
	text-decoration: none;
}

.icl-section-title::after {
	content: "";
	display: block;
	width: 52px;
	height: 3px;
	margin-top: 8px;
	border-radius: 2px;
	background: linear-gradient(90deg, #3bd18f, #0c8a5a);
}

.icl-view-all {
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 700;
	color: #0c8a5a;
	text-decoration: none;
	white-space: nowrap;
}

.icl-view-all:hover,
.icl-view-all:focus {
	color: #101d49;
	text-decoration: none;
}

.icl-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media (max-width: 980px) {
	.icl-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 620px) {
	.icl-card-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Article cards ---------- */

.icl-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(10, 20, 51, 0.1);
	border-radius: 16px;
	box-shadow: 0 4px 18px rgba(10, 20, 51, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.icl-card:hover {
	transform: translateY(-4px);
	border-color: rgba(59, 209, 143, 0.6);
	box-shadow: 0 14px 30px rgba(10, 20, 51, 0.12);
}

.icl-card-media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #101d49;
}

.icl-card-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.icl-card-body {
	display: flex;
	flex-direction: column;
	gap: 9px;
	flex: 1 1 auto;
	padding: 16px 18px 18px;
}

.icl-card-cat {
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #0c8a5a;
	background: rgba(59, 209, 143, 0.14);
	text-decoration: none;
}

.icl-card-cat:hover,
.icl-card-cat:focus {
	color: #ffffff;
	background: #0c8a5a;
	text-decoration: none;
}

.icl-card-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.icl-card-title a {
	color: #101d49;
	text-decoration: none;
}

.icl-card-title a:hover,
.icl-card-title a:focus {
	color: #0c8a5a;
	text-decoration: none;
}

.icl-card-excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(10, 20, 51, 0.72);
}

.icl-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 4px;
	font-size: 12.5px;
	color: rgba(10, 20, 51, 0.55);
}

.icl-card-author {
	font-weight: 600;
	color: rgba(10, 20, 51, 0.75);
}

.icl-card-more {
	font-size: 14px;
	font-weight: 700;
	color: #0c8a5a;
	text-decoration: none;
}

.icl-card-more:hover,
.icl-card-more:focus {
	color: #101d49;
	text-decoration: none;
}

/* ---------- Featured layout ---------- */

.icl-featured {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.icl-featured .icl-card--large {
	grid-column: span 2;
}

.icl-featured .icl-card--large .icl-card-media {
	aspect-ratio: 21 / 9;
}

.icl-featured .icl-card--large .icl-card-title {
	font-size: clamp(21px, 3vw, 28px);
}

.icl-featured .icl-card--large .icl-card-excerpt {
	font-size: 15px;
}

@media (max-width: 620px) {
	.icl-featured {
		grid-template-columns: 1fr;
	}

	.icl-featured .icl-card--large {
		grid-column: span 1;
	}

	.icl-featured .icl-card--large .icl-card-media {
		aspect-ratio: 16 / 9;
	}
}

/* ---------- Scam & Safety accent (orange, safety sections only) ---------- */

.icl-safety .icl-section-title::after,
.icl-cat-section--scam-safety .icl-section-title::after {
	background: linear-gradient(90deg, #f59e0b, #d97706);
}

.icl-safety .icl-card-cat,
.icl-cat-section--scam-safety .icl-card-cat {
	color: #b45309;
	background: rgba(245, 158, 11, 0.16);
}

.icl-safety .icl-card-cat:hover,
.icl-safety .icl-card-cat:focus,
.icl-cat-section--scam-safety .icl-card-cat:hover,
.icl-cat-section--scam-safety .icl-card-cat:focus {
	color: #ffffff;
	background: #f59e0b;
}

.icl-safety .icl-card:hover,
.icl-cat-section--scam-safety .icl-card:hover {
	border-color: rgba(245, 158, 11, 0.6);
}

.icl-safety .icl-card-title a:hover,
.icl-safety .icl-card-title a:focus,
.icl-cat-section--scam-safety .icl-card-title a:hover,
.icl-cat-section--scam-safety .icl-card-title a:focus,
.icl-safety .icl-card-more,
.icl-cat-section--scam-safety .icl-card-more,
.icl-safety .icl-view-all,
.icl-cat-section--scam-safety .icl-view-all {
	color: #b45309;
}

/* ---------- Tools directory ---------- */

.icl-dir-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0 0 22px;
}

.icl-filter-btn {
	padding: 9px 18px;
	border-radius: 999px;
	border: 1.5px solid rgba(10, 20, 51, 0.25);
	background: #ffffff;
	color: #101d49;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.icl-filter-btn:hover,
.icl-filter-btn:focus {
	border-color: #0c8a5a;
	color: #0c8a5a;
}

.icl-filter-btn.is-active {
	color: #ffffff;
	border-color: transparent;
	background: linear-gradient(135deg, #3bd18f 0%, #0c8a5a 100%);
	box-shadow: 0 6px 16px rgba(12, 138, 90, 0.35);
}

.icl-dir-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

@media (max-width: 980px) {
	.icl-dir-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 620px) {
	.icl-dir-grid {
		grid-template-columns: 1fr;
	}
}

.icl-dir-card {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: 20px;
	background: #ffffff;
	border: 1px solid rgba(10, 20, 51, 0.1);
	border-radius: 16px;
	box-shadow: 0 4px 18px rgba(10, 20, 51, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.icl-dir-card:hover {
	transform: translateY(-4px);
	border-color: rgba(59, 209, 143, 0.6);
	box-shadow: 0 14px 30px rgba(10, 20, 51, 0.12);
}

.icl-dir-card[hidden] {
	display: none;
}

.icl-dir-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	font-size: 23px;
	line-height: 1;
	color: #ffffff;
	background: linear-gradient(135deg, #3bd18f 0%, #0c8a5a 100%);
	box-shadow: 0 4px 12px rgba(12, 138, 90, 0.35);
}

.icl-dir-name {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	color: #101d49;
}

.icl-dir-desc {
	margin: 0;
	flex: 1 1 auto;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(10, 20, 51, 0.72);
}

.icl-dir-link {
	align-self: flex-start;
	font-size: 14px;
	font-weight: 700;
	color: #0c8a5a;
	text-decoration: none;
}

.icl-dir-link:hover,
.icl-dir-link:focus {
	color: #101d49;
	text-decoration: none;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.icl-marquee-track {
		animation: none;
	}

	.icl-tool-card {
		transition: none;
	}

	.icl-tool-card:hover,
	.icl-tool-card:focus {
		transform: none;
	}

	.icl-btn,
	.icl-card,
	.icl-dir-card,
	.icl-filter-btn {
		transition: none;
	}

	.icl-btn:hover,
	.icl-btn:focus,
	.icl-card:hover,
	.icl-dir-card:hover {
		transform: none;
	}

	.icl-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Header CTA: "Explore Tools" menu item rendered as a button (v1.1.1) */
.menu-item.icl-menu-btn > a {
	background: linear-gradient(135deg, #0c8a5a, #3bd18f);
	color: #fff !important;
	border-radius: 999px;
	padding: 8px 18px !important;
	margin-left: 10px;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 4px 14px rgba(12, 138, 90, .35);
	transition: transform .18s ease, box-shadow .18s ease;
}
.menu-item.icl-menu-btn > a:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(12, 138, 90, .5);
	color: #fff !important;
}

/* --- Partner content row (v1.2.0) --- */
.icl-partner { margin: 26px auto 6px; max-width: 1140px; padding: 0 10px; }
.icl-partner-heading { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; color: #0f1c2e; text-transform: lowercase; }
.icl-partner-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.icl-partner-card { display: block; text-decoration: none; }
.icl-partner-media { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; background: #12263a; }
.icl-partner-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.icl-partner-card:hover .icl-partner-media img { transform: scale(1.05); }
.icl-partner-badge { position: absolute; left: 8px; bottom: 8px; background: #5b3df5; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .08em; padding: 3px 7px; border-radius: 4px; }
.icl-partner-title { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: #14273c; }
.icl-partner-card:hover .icl-partner-title { color: #0b7285; }
.icl-partner-tag { display: block; margin-top: 5px; font-size: 11px; font-weight: 700; color: #e8890c; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 900px) {
  .icl-partner-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .icl-partner-card { flex: 0 0 62%; scroll-snap-align: start; }
}

/* Latest posts with thumbnails (sidebar) */
.icl-lt { display: flex; flex-direction: column; gap: 12px; }
.icl-lt-item { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.icl-lt-thumb { flex: 0 0 84px; width: 84px; height: 64px; border-radius: 8px; overflow: hidden; display: block; }
.icl-lt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.icl-lt-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.icl-lt-title { font-weight: 600; font-size: 14px; line-height: 1.35; }
.icl-lt-date { font-size: 12px; opacity: .65; }
