/**
 * Internet Skill — main stylesheet.
 * Colour values come from CSS variables printed by the Customizer.
 */

/* ------------------------------------------------------------------ */
/* Base tokens                                                         */
/* ------------------------------------------------------------------ */
:root {
	--is-primary: #12d6ff;
	--is-primary-rgb: 18, 214, 255;
	--is-secondary: #ff2fb0;
	--is-secondary-rgb: 255, 47, 176;
	--is-header-bg: #0a0f2c;
	--is-nav-bg: #05070f;
	--is-body-bg: #f4f6fb;
	--is-card-bg: #ffffff;
	--is-text: #12172b;
	--is-link: #1552d8;
	--is-footer-bg: #05070f;
	--is-radius: 8px;
	--is-container: 1200px;
	--is-font-heading: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
	--is-font-body: "Inter", "Segoe UI", system-ui, sans-serif;
	--is-font-size: 17px;

	--is-surface: var(--is-card-bg);
	--is-muted: rgba(18, 23, 43, 0.62);
	--is-line: rgba(18, 23, 43, 0.1);
	--is-shadow: 0 12px 34px rgba(10, 15, 44, 0.09);
	--is-shadow-lg: 0 22px 60px rgba(10, 15, 44, 0.16);
	--is-glow: 0 0 0 1px rgba(var(--is-primary-rgb), 0.35), 0 18px 44px rgba(var(--is-primary-rgb), 0.22);
	--is-gradient: linear-gradient(115deg, var(--is-primary), var(--is-secondary));
}

html[data-scheme="dark"] {
	--is-body-bg: #070a16;
	--is-card-bg: #101529;
	--is-text: #eef2ff;
	--is-link: #7cc4ff;
	--is-muted: rgba(238, 242, 255, 0.66);
	--is-line: rgba(238, 242, 255, 0.12);
	--is-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
	--is-shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
}

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

body {
	margin: 0;
	background: var(--is-body-bg);
	color: var(--is-text);
	font-family: var(--is-font-body);
	font-size: var(--is-font-size);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--is-font-heading);
	line-height: 1.22;
	margin: 0 0 0.5em;
	letter-spacing: -0.015em;
}

a {
	color: var(--is-link);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

:focus-visible {
	outline: 3px solid var(--is-primary);
	outline-offset: 2px;
	border-radius: 6px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 9999;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	background: var(--is-card-bg);
	border-radius: 10px;
	box-shadow: var(--is-shadow);
}

.is-container {
	width: min(100% - 32px, var(--is-container));
	margin-inline: auto;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.is-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--is-gradient);
	color: #040a1c;
	font-family: var(--is-font-heading);
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	box-shadow: 0 10px 26px rgba(var(--is-primary-rgb), 0.3);
}

.is-btn:hover {
	transform: translateY(-2px);
	text-decoration: none;
	box-shadow: 0 16px 34px rgba(var(--is-secondary-rgb), 0.32);
}

.is-btn--ghost {
	background: transparent;
	color: var(--is-text);
	border: 2px solid var(--is-line);
	box-shadow: none;
}

.is-btn--ghost:hover {
	border-color: var(--is-primary);
	box-shadow: 0 12px 28px rgba(var(--is-primary-rgb), 0.2);
}

/* ------------------------------------------------------------------ */
/* Top bar                                                             */
/* ------------------------------------------------------------------ */
.is-topbar {
	background: var(--is-header-bg);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.82rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.is-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 42px;
	flex-wrap: wrap;
}

.is-topbar__right {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.is-scheme-toggle,
.is-search-toggle {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	cursor: pointer;
	font-size: 1rem;
	transition: background 0.2s ease, transform 0.2s ease;
}

.is-scheme-toggle:hover,
.is-search-toggle:hover {
	background: rgba(var(--is-primary-rgb), 0.28);
	transform: translateY(-1px);
}

.is-scheme-toggle__icon {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: linear-gradient(90deg, #fff 50%, transparent 50%);
	border: 2px solid #fff;
}

.is-search-panel {
	background: var(--is-header-bg);
	padding: 14px 0 18px;
}

/* ------------------------------------------------------------------ */
/* Header banner (brand — kept untouched)                              */
/* ------------------------------------------------------------------ */
.is-header {
	background: var(--is-header-bg);
	padding: 18px 0;
}

.is-banner {
	display: block;
	border-radius: 0;
	overflow: hidden;
}

.is-banner__img {
	width: 100%;
	height: auto;
	display: block;
}

.is-banner--text {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 150px;
	padding: 28px 16px;
	text-align: center;
	background: radial-gradient(circle at 20% 20%, rgba(var(--is-primary-rgb), 0.28), transparent 55%),
		radial-gradient(circle at 80% 30%, rgba(var(--is-secondary-rgb), 0.3), transparent 55%),
		var(--is-header-bg);
}

.is-banner__titles {
	display: flex;
	flex-direction: column;
}

.is-banner__title {
	font-family: var(--is-font-heading);
	font-size: clamp(2.1rem, 6vw, 4.25rem);
	font-weight: 800;
	letter-spacing: 0.02em;
	background: var(--is-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-decoration: none;
}

.is-banner__tagline {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9rem;
}

.is-header-widget {
	margin-top: 14px;
}

/* ------------------------------------------------------------------ */
/* Navigation                                                          */
/* ------------------------------------------------------------------ */
.is-nav {
	background: var(--is-nav-bg);
	position: relative;
	z-index: 60;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.is-nav--sticky {
	position: sticky;
	top: 0;
}

.is-nav__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 54px;
}

.is-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.is-menu li {
	position: relative;
}

.is-menu a {
	display: block;
	padding: 10px 16px;
	color: rgba(255, 255, 255, 0.88);
	font-family: var(--is-font-heading);
	font-weight: 600;
	font-size: 0.92rem;
	border-radius: 6px;
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease;
}

.is-menu a:hover,
.is-menu .current-menu-item > a,
.is-menu .current_page_item > a {
	color: #04101f;
	background: var(--is-gradient);
	text-decoration: none;
}

.is-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px;
	background: var(--is-card-bg);
	border-radius: 14px;
	box-shadow: var(--is-shadow-lg);
	min-width: 210px;
}

.is-menu__expand {
	display: none;
}

@media (min-width: 861px) {
	.is-nav__menu {
		flex: 1;
		min-width: 0;
	}

	.is-menu {
		flex-wrap: nowrap;
		justify-content: center;
	}

	.is-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity 0.18s ease, transform 0.18s ease;
		z-index: 30;
	}

	.is-menu li:hover > .sub-menu,
	.is-menu li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.is-menu .sub-menu a {
		color: var(--is-text);
		border-radius: 10px;
	}
}

.is-nav__burger {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.06);
	cursor: pointer;
	position: relative;
}

.is-nav__burger-lines,
.is-nav__burger-lines::before,
.is-nav__burger-lines::after {
	position: absolute;
	left: 11px;
	width: 20px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	content: "";
	transition: transform 0.2s ease;
}

.is-nav__burger-lines {
	top: 20px;
}

.is-nav__burger-lines::before {
	top: -6px;
	left: 0;
}

.is-nav__burger-lines::after {
	top: 6px;
	left: 0;
}

.is-nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(4, 8, 20, 0.6);
	z-index: 50;
}

.is-nav-overlay[hidden] {
	display: none !important;
}

.is-menu ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}


@media (max-width: 860px) {
	.is-nav__burger {
		display: block;
	}

	.is-nav__menu {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(84vw, 320px);
		background: var(--is-nav-bg);
		padding: 74px 16px 24px;
		transform: translateX(-105%);
		transition: transform 0.28s ease;
		overflow-y: auto;
		z-index: 80;
	}

	.is-nav__menu.is-open {
		transform: translateX(0);
	}

	.is-menu {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 2px;
		align-items: stretch;
	}

	.is-menu li {
		width: 100%;
	}

	.is-menu a {
		border-radius: 12px;
		display: block;
		width: 100%;
		padding: 12px 14px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.is-menu .children,
	.is-menu .children a {
		margin-left: 0;
		padding-left: 14px;
	}


	.is-menu .sub-menu {
		display: none;
		background: rgba(255, 255, 255, 0.05);
		box-shadow: none;
		margin-left: 12px;
	}

	.is-menu .sub-menu a {
		color: rgba(255, 255, 255, 0.85);
	}

	.is-menu li.is-open > .sub-menu {
		display: block;
	}

	.is-menu__expand {
		display: block;
		position: absolute;
		top: 4px;
		right: 4px;
		width: 34px;
		height: 34px;
		border: 0;
		border-radius: 10px;
		background: rgba(255, 255, 255, 0.08);
		color: #fff;
		cursor: pointer;
	}
}

/* ------------------------------------------------------------------ */
/* Story circles                                                       */
/* ------------------------------------------------------------------ */
.is-stories {
	padding: 18px 0 6px;
}

.is-stories__track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding-bottom: 8px;
	scrollbar-width: none;
	scroll-snap-type: x proximity;
}

.is-stories__track::-webkit-scrollbar {
	display: none;
}

.is-story {
	flex: 0 0 auto;
	width: 86px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	text-align: center;
	scroll-snap-align: start;
	color: inherit;
	font-family: inherit;
	text-decoration: none;
}

.is-story:hover,
.is-story:focus-visible {
	text-decoration: none;
}

.is-story__ring {
	display: block;
	width: 82px;
	height: 82px;
	border-radius: 50%;
	padding: 3px;
	background: conic-gradient(from 210deg, var(--is-primary), var(--is-secondary), #ffb020, var(--is-primary));
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.is-story:hover .is-story__ring {
	transform: translateY(-3px) scale(1.04);
	box-shadow: 0 12px 26px rgba(var(--is-secondary-rgb), 0.32);
}

.is-story__img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	overflow: hidden;
	background: var(--is-card-bg);
	border: 3px solid var(--is-body-bg);
}

.is-story__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.is-story__label {
	display: block;
	margin-top: 8px;
	font-size: 0.73rem;
	line-height: 1.3;
	color: var(--is-muted);
	font-weight: 600;
}

/* Story viewer */
.is-story-viewer {
	position: fixed;
	inset: 0;
	background: rgba(3, 5, 14, 0.94);
	z-index: 200;
	display: grid;
	place-items: center;
	padding: 12px;
}

.is-story-viewer[hidden] {
	display: none !important;
}

body.is-story-open {
	overflow: hidden;
}

.is-story-viewer__inner {
	position: relative;
	width: min(430px, 100%);
	height: min(88vh, 780px);
	border-radius: 22px;
	overflow: hidden;
	background: #05070f;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.is-story-viewer__bars {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	display: flex;
	gap: 4px;
	z-index: 4;
}

.is-story-viewer__bar {
	flex: 1;
	height: 3px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.28);
	overflow: hidden;
}

.is-story-viewer__bar i {
	display: block;
	height: 100%;
	width: 0;
	background: #fff;
}

.is-story-viewer__close {
	position: absolute;
	top: 26px;
	right: 12px;
	z-index: 5;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.is-story-viewer__media {
	margin: 0;
	height: 100%;
}

.is-story-viewer__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.is-story-viewer__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	padding: 24px 20px 26px;
	background: linear-gradient(to top, rgba(3, 5, 14, 0.96), transparent);
	color: #fff;
}

.is-story-viewer__title {
	font-size: 1.15rem;
	margin-bottom: 6px;
	color: #fff;
}

.is-story-viewer__excerpt {
	margin: 0 0 14px;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.82);
}

.is-story-viewer__cta {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 999px;
	background: var(--is-gradient);
	color: #04101f;
	font-weight: 700;
	font-size: 0.88rem;
}

.is-story-viewer__nav {
	position: absolute;
	top: 60px;
	bottom: 130px;
	width: 34%;
	border: 0;
	background: transparent;
	cursor: pointer;
	z-index: 2;
}

.is-story-viewer__nav--prev {
	left: 0;
}

.is-story-viewer__nav--next {
	right: 0;
	width: 46%;
}

/* ------------------------------------------------------------------ */
/* Layout                                                              */
/* ------------------------------------------------------------------ */
.is-main {
	display: block;
	padding-bottom: 40px;
}

.is-layout {
	display: grid;
	gap: 28px;
	padding: 22px 0 40px;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 981px) {
	body.is-sidebar-right .is-layout {
		grid-template-columns: minmax(0, 1fr) 330px;
	}

	body.is-sidebar-left .is-layout {
		grid-template-columns: 330px minmax(0, 1fr);
	}
}

.is-content {
	min-width: 0;
}

.is-sidebar {
	min-width: 0;
}

@media (min-width: 981px) {
	.is-sidebar--sticky {
		position: sticky;
		top: 78px;
		align-self: start;
	}
}

.is-section {
	margin-bottom: 40px;
}

.is-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.is-section__title {
	position: relative;
	font-size: clamp(1.25rem, 3.4vw, 1.75rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding-bottom: 12px;
	margin-bottom: 20px;
	width: 100%;
}

.is-section__head .is-section__title {
	width: auto;
	margin-bottom: 20px;
}

.is-section__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 78px;
	height: 4px;
	border-radius: 4px;
	background: var(--is-gradient);
}

.is-section__more {
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--is-link);
}

/* ------------------------------------------------------------------ */
/* Cards                                                               */
/* ------------------------------------------------------------------ */
.is-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}

@media (max-width: 600px) {
	.is-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.is-grid--swipe {
		grid-auto-flow: column;
		grid-auto-columns: 78%;
		grid-template-columns: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 8px;
		scrollbar-width: none;
	}

	.is-grid--swipe::-webkit-scrollbar {
		display: none;
	}

	.is-grid--swipe > * {
		scroll-snap-align: start;
	}
}

.is-grid--carousel {
	grid-auto-flow: column;
	grid-auto-columns: minmax(260px, 1fr);
	grid-template-columns: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 10px;
}

.is-grid--carousel > * {
	scroll-snap-align: start;
}

.is-card {
	background: var(--is-card-bg);
	border-radius: var(--is-radius);
	overflow: hidden;
	box-shadow: var(--is-shadow);
	display: flex;
	flex-direction: column;
	border: 1px solid var(--is-line);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.is-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--is-shadow-lg), 0 0 0 1px rgba(var(--is-primary-rgb), 0.24);
}

.is-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(120deg, rgba(var(--is-primary-rgb), 0.16), rgba(var(--is-secondary-rgb), 0.16));
}

.is-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.is-card:hover .is-card__img {
	transform: scale(1.06);
}

.is-card__img--empty {
	display: block;
	width: 100%;
	height: 100%;
}

.is-card__body {
	padding: 16px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.is-card__title {
	font-size: 1.08rem;
	margin: 0;
}

.is-card__title a {
	color: var(--is-link);
}

.is-card__excerpt {
	margin: 0;
	font-size: 0.92rem;
	color: var(--is-muted);
}

/* Badges */
.is-badge {
	align-self: flex-start;
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: #ff7a18;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.is-badge:hover {
	text-decoration: none;
	filter: brightness(1.08);
}

.is-badge--0 { background: linear-gradient(120deg, #ff7a18, #ff3d68); }
.is-badge--1 { background: linear-gradient(120deg, #14b8a6, #0ea5e9); }
.is-badge--2 { background: linear-gradient(120deg, #6366f1, #a855f7); }
.is-badge--3 { background: linear-gradient(120deg, #f59e0b, #ef4444); }
.is-badge--4 { background: linear-gradient(120deg, #22c55e, #16a34a); }
.is-badge--5 { background: linear-gradient(120deg, #0ea5e9, #ff2fb0); }

/* Meta */
.is-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.79rem;
	color: var(--is-muted);
	margin-top: auto;
}

/* List item */
.is-list {
	display: grid;
	gap: 16px;
}

.is-listitem {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	gap: 16px;
	background: var(--is-card-bg);
	border: 1px solid var(--is-line);
	border-radius: var(--is-radius);
	padding: 12px;
	box-shadow: var(--is-shadow);
	transition: transform 0.2s ease;
}

.is-listitem:hover {
	transform: translateY(-3px);
}

.is-listitem__media {
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.is-listitem__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.is-listitem__title {
	font-size: 1rem;
	margin: 0;
}

.is-listitem__excerpt {
	margin: 0;
	font-size: 0.86rem;
	color: var(--is-muted);
}

@media (max-width: 520px) {
	.is-listitem {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.is-listitem__excerpt {
		display: none;
	}
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.is-hero__card {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	background: var(--is-card-bg);
	border: 1px solid var(--is-line);
	border-radius: calc(var(--is-radius) + 6px);
	overflow: hidden;
	box-shadow: var(--is-shadow-lg);
}

.is-hero__media {
	display: block;
	overflow: hidden;
	min-height: 260px;
}

.is-hero__media .is-card__img,
.is-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.is-hero__card:hover .is-hero__media img {
	transform: scale(1.04);
}

.is-hero__body {
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
	justify-content: center;
}

.is-hero__title {
	font-size: clamp(1.4rem, 3.6vw, 2.1rem);
	margin: 0;
}

.is-hero__title a {
	color: var(--is-link);
}

.is-hero__excerpt {
	margin: 0;
	color: var(--is-muted);
}

@media (max-width: 780px) {
	.is-hero__card {
		grid-template-columns: minmax(0, 1fr);
	}

	.is-hero__body {
		padding: 20px;
	}
}

/* ------------------------------------------------------------------ */
/* Single post                                                         */
/* ------------------------------------------------------------------ */
.is-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 120;
	background: transparent;
}

.is-progress__bar {
	display: block;
	height: 100%;
	width: 0;
	background: var(--is-gradient);
}

.is-breadcrumbs {
	font-size: 0.8rem;
	color: var(--is-muted);
	margin-bottom: 16px;
}

.is-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.is-breadcrumbs li + li::before {
	content: "›";
	margin-right: 8px;
	opacity: 0.6;
}

.is-single {
	background: var(--is-card-bg);
	border: 1px solid var(--is-line);
	border-radius: calc(var(--is-radius) + 4px);
	padding: clamp(18px, 4vw, 40px);
	box-shadow: var(--is-shadow);
}

.is-single__title {
	font-size: clamp(1.6rem, 5vw, 2.5rem);
}

.is-single__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 0.86rem;
	color: var(--is-muted);
	padding-bottom: 18px;
	border-bottom: 1px solid var(--is-line);
}

.is-single__author {
	display: flex;
	align-items: center;
	gap: 8px;
}

.is-avatar {
	border-radius: 50%;
}

.is-single__media {
	margin: 22px 0;
	border-radius: var(--is-radius);
	overflow: hidden;
}

.is-single__content {
	font-size: 1.04rem;
}

.is-single__content h2,
.is-single__content h3 {
	margin-top: 1.6em;
	scroll-margin-top: 90px;
}

.is-single__content img {
	border-radius: 14px;
}

.is-single__content blockquote {
	margin: 1.6em 0;
	padding: 16px 22px;
	border-left: 4px solid var(--is-primary);
	background: rgba(var(--is-primary-rgb), 0.08);
	border-radius: 0 14px 14px 0;
}

.is-single__content table {
	width: 100%;
	border-collapse: collapse;
	display: block;
	overflow-x: auto;
}

.is-single__content th,
.is-single__content td {
	border: 1px solid var(--is-line);
	padding: 10px 12px;
}

.is-toc {
	margin: 24px 0;
	padding: 18px 22px;
	border-radius: var(--is-radius);
	border: 1px solid var(--is-line);
	background: rgba(var(--is-primary-rgb), 0.07);
}

.is-toc__title {
	font-size: 1rem;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.is-toc__list {
	margin: 0;
	padding-left: 20px;
	font-size: 0.94rem;
}

.is-toc__item--h3 {
	margin-left: 14px;
	list-style: circle;
}

.is-tags {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.is-tags a {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(var(--is-primary-rgb), 0.12);
	color: var(--is-text);
	font-size: 0.8rem;
	font-weight: 600;
}

.is-share {
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--is-line);
}

.is-share__label {
	display: block;
	font-family: var(--is-font-heading);
	font-weight: 700;
	margin-bottom: 10px;
}

.is-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.is-share__btn {
	padding: 9px 16px;
	border-radius: 999px;
	border: 0;
	font-size: 0.82rem;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
	background: #333;
}

.is-share__btn:hover {
	text-decoration: none;
	filter: brightness(1.1);
}

.is-share__btn--whatsapp { background: #25d366; color: #04240f; }
.is-share__btn--telegram { background: #2aabee; color: #04202e; }
.is-share__btn--facebook { background: #1877f2; }
.is-share__btn--x { background: #111; }
.is-share__btn--linkedin { background: #0a66c2; }
.is-share__btn--copy { background: var(--is-gradient); color: #04101f; }

.is-authorbox {
	margin-top: 28px;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 16px;
	padding: 20px;
	border-radius: var(--is-radius);
	border: 1px solid var(--is-line);
	background: rgba(var(--is-secondary-rgb), 0.06);
}

.is-authorbox__avatar {
	border-radius: 50%;
}

.is-authorbox__name {
	font-size: 1.05rem;
	margin-bottom: 4px;
}

.is-authorbox__bio {
	margin: 0 0 8px;
	font-size: 0.9rem;
	color: var(--is-muted);
}

.is-postnav {
	display: grid;
	gap: 12px;
	margin-top: 26px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.is-postnav__item a {
	display: block;
	padding: 14px 18px;
	border-radius: var(--is-radius);
	border: 1px solid var(--is-line);
	background: var(--is-card-bg);
	font-weight: 600;
	color: var(--is-text);
}

.is-postnav__item span {
	display: block;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--is-muted);
	margin-bottom: 4px;
}

.is-postnav__item--next {
	text-align: right;
}

/* ------------------------------------------------------------------ */
/* Comments                                                            */
/* ------------------------------------------------------------------ */
.is-comments {
	margin-top: 34px;
	padding: clamp(18px, 4vw, 32px);
	border-radius: calc(var(--is-radius) + 4px);
	border: 1px solid var(--is-line);
	background: var(--is-card-bg);
}

.is-comments__list,
.is-comments__list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.is-comments__list .children {
	padding-left: 22px;
	border-left: 2px solid var(--is-line);
	margin-top: 14px;
}

.is-comments__list li {
	margin-bottom: 18px;
}

.is-comments .comment-body {
	padding: 16px;
	border-radius: 14px;
	background: rgba(var(--is-primary-rgb), 0.06);
}

.is-comments input[type="text"],
.is-comments input[type="email"],
.is-comments input[type="url"],
.is-comments textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--is-line);
	background: var(--is-body-bg);
	color: var(--is-text);
	font-family: inherit;
	font-size: 0.95rem;
}

.is-comments .submit {
	display: inline-flex;
	padding: 12px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--is-gradient);
	color: #04101f;
	font-weight: 700;
	cursor: pointer;
}

/* ------------------------------------------------------------------ */
/* Widgets & sidebar                                                   */
/* ------------------------------------------------------------------ */
.widget {
	background: var(--is-card-bg);
	border: 1px solid var(--is-line);
	border-radius: var(--is-radius);
	padding: 20px;
	margin-bottom: 22px;
	box-shadow: var(--is-shadow);
}

.widget-title {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding-bottom: 10px;
	margin-bottom: 14px;
	position: relative;
}

.widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 52px;
	height: 3px;
	border-radius: 3px;
	background: var(--is-gradient);
}

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

.widget ul li {
	padding: 8px 0;
	border-bottom: 1px dashed var(--is-line);
}

.widget ul li:last-child {
	border-bottom: 0;
}

.is-widget-posts__item {
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
}

.is-widget-posts__thumb img {
	border-radius: 10px;
	width: 74px;
	height: 56px;
	object-fit: cover;
}

.is-widget-posts__title {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1.35;
	color: var(--is-text);
}

.is-widget-posts__date {
	font-size: 0.74rem;
	color: var(--is-muted);
}

.is-about__img {
	border-radius: 14px;
	margin-bottom: 12px;
}

.is-widget-strip {
	margin-bottom: 26px;
}

/* ------------------------------------------------------------------ */
/* Social                                                              */
/* ------------------------------------------------------------------ */
.is-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.is-social__link {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(var(--is-primary-rgb), 0.16);
	color: var(--is-text);
	font-size: 0.82rem;
	font-weight: 700;
	transition: transform 0.2s ease, background 0.2s ease;
}

.is-social__link:hover {
	transform: translateY(-2px);
	background: var(--is-gradient);
	color: #04101f;
	text-decoration: none;
}

.is-social--top .is-social__link {
	width: 30px;
	height: 30px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 0.74rem;
}

.is-social--footer .is-social__link {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

/* ------------------------------------------------------------------ */
/* Ads                                                                 */
/* ------------------------------------------------------------------ */
.is-ad {
	margin: 22px 0;
	text-align: center;
	min-height: 90px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px;
	border-radius: var(--is-radius);
	background: rgba(var(--is-primary-rgb), 0.05);
	border: 1px dashed var(--is-line);
	overflow: hidden;
}

.is-ad--container {
	width: min(100% - 32px, var(--is-container));
	margin-inline: auto;
}

.is-ad--grid {
	grid-column: 1 / -1;
}

.is-ad__label {
	font-size: 0.66rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--is-muted);
}

.is-ad__inner {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Search form                                                         */
/* ------------------------------------------------------------------ */
.is-searchform {
	display: flex;
	gap: 8px;
}

.is-searchform__input {
	flex: 1;
	padding: 12px 16px;
	border-radius: 999px;
	border: 1px solid var(--is-line);
	background: var(--is-card-bg);
	color: var(--is-text);
	font-family: inherit;
	font-size: 0.95rem;
}

.is-searchform__submit {
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--is-gradient);
	color: #04101f;
	font-weight: 700;
	cursor: pointer;
}

/* ------------------------------------------------------------------ */
/* Pagination                                                          */
/* ------------------------------------------------------------------ */
.is-pagination-wrap,
.navigation.pagination,
.comments-pagination {
	margin-top: 28px;
	display: flex;
	justify-content: center;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	margin: 0 4px;
	border-radius: 12px;
	background: var(--is-card-bg);
	border: 1px solid var(--is-line);
	color: var(--is-text);
	font-weight: 700;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--is-gradient);
	color: #04101f;
	text-decoration: none;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.is-loadmore {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}

/* ------------------------------------------------------------------ */
/* Archive head, 404, no results                                       */
/* ------------------------------------------------------------------ */
.is-archive-head {
	margin-bottom: 24px;
	padding: 22px;
	border-radius: var(--is-radius);
	background: linear-gradient(120deg, rgba(var(--is-primary-rgb), 0.14), rgba(var(--is-secondary-rgb), 0.14));
	border: 1px solid var(--is-line);
}

.is-archive-head__title {
	margin: 0;
	font-size: clamp(1.4rem, 4vw, 2rem);
}

.is-404,
.is-noresults {
	text-align: center;
	padding: 48px 20px;
	background: var(--is-card-bg);
	border-radius: calc(var(--is-radius) + 4px);
	border: 1px solid var(--is-line);
	margin-bottom: 34px;
}

.is-404 .is-searchform,
.is-noresults .is-searchform {
	max-width: 420px;
	margin: 18px auto;
}

.is-404__code {
	font-family: var(--is-font-heading);
	font-size: clamp(4rem, 18vw, 8rem);
	font-weight: 800;
	line-height: 1;
	margin: 0;
	background: var(--is-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.is-footer {
	background: var(--is-footer-bg);
	color: rgba(255, 255, 255, 0.78);
	padding: 46px 0 24px;
	position: relative;
}

.is-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--is-gradient);
}

.is-footer a {
	color: rgba(255, 255, 255, 0.86);
}

.is-footer .widget {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: none;
	color: rgba(255, 255, 255, 0.8);
}

.is-footer .widget-title,
.is-footer .is-widget-posts__title {
	color: #fff;
}

.is-footer__about {
	max-width: 640px;
	margin-bottom: 26px;
}

.is-footer__widgets {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.is-footer__social {
	margin-top: 22px;
}

.is-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	list-style: none;
	padding: 0;
	margin: 22px 0 0;
	font-size: 0.9rem;
}

.is-footer__bottom {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.85rem;
	text-align: center;
}

/* ------------------------------------------------------------------ */
/* Floating helpers                                                    */
/* ------------------------------------------------------------------ */
.is-mobilebar,
[data-mobile-bar],
[data-mobilebar],
nav.is-mobilebar,
body.single .is-mobilebar,
body.page .is-mobilebar,
body.archive .is-mobilebar,
body.search .is-mobilebar,
body.home .is-mobilebar {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
	height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
}

.is-to-top {
	position: fixed;
	right: 16px;
	bottom: 84px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 0;
	background: var(--is-gradient);
	color: #04101f;
	font-size: 1.2rem;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity 0.24s ease, transform 0.24s ease;
	z-index: 90;
	box-shadow: 0 12px 30px rgba(var(--is-primary-rgb), 0.35);
}

.is-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

@media (max-width: 860px) {
	.is-to-top {
		bottom: 18px;
	}
}

/* ------------------------------------------------------------------ */
/* Reveal animation                                                    */
/* ------------------------------------------------------------------ */
body.is-animated .is-reveal,
body.is-animated .is-card {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

body.is-animated .is-reveal.is-visible,
body.is-animated .is-card.is-visible {
	opacity: 1;
	transform: none;
}

html.no-js body.is-animated .is-reveal,
html.no-js body.is-animated .is-card {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}

	body.is-animated .is-reveal,
	body.is-animated .is-card {
		opacity: 1;
		transform: none;
	}
}

/* ------------------------------------------------------------------ */
/* WordPress core classes                                              */
/* ------------------------------------------------------------------ */
.alignleft {
	float: left;
	margin: 0 1.2em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.2em;
}

.aligncenter {
	margin-inline: auto;
}

.alignwide {
	width: min(100%, calc(var(--is-container) - 60px));
}

.wp-caption-text,
.wp-element-caption {
	font-size: 0.82rem;
	color: var(--is-muted);
	text-align: center;
}

.sticky .is-card__title::before {
	content: "★ ";
	color: var(--is-secondary);
}

.bypostauthor > .comment-body {
	border: 1px solid var(--is-primary);
}

.is-linkpages {
	margin-top: 20px;
	font-weight: 600;
}
