/*
 * Khaled MeGa Original
 *
 *  1. Fonts and tokens          9. Single post
 *  2. Base                     10. Post content
 *  3. Layout                   11. Content from the previous theme
 *  4. Header and menus         12. Post footer, navigation, related
 *  5. Drawer and search        13. Comments and forms
 *  6. Section titles           14. Footer
 *  7. Cards                    15. Ads, 404, utilities
 *  8. Home, archives           16. Motion and print
 *
 * Light by default; dark when <html data-scheme="dark"> (the visitor's choice or their
 * device), or by the device alone when scripts are off.
 */


/* ---------------------------------------------------------------------------
 * 1. Fonts and tokens
 * ------------------------------------------------------------------------ */

/* Tajawal by Boutros Fonts, SIL Open Font License 1.1 (assets/fonts/README.txt) */
@font-face{font-family:'Tajawal';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/tajawal-400.woff2') format('woff2'),url('../fonts/tajawal-400.woff') format('woff')}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/tajawal-500.woff2') format('woff2'),url('../fonts/tajawal-500.woff') format('woff')}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/tajawal-700.woff2') format('woff2'),url('../fonts/tajawal-700.woff') format('woff')}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/tajawal-800.woff2') format('woff2'),url('../fonts/tajawal-800.woff') format('woff')}

:root{
	--kmo-font: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
	--kmo-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

	--kmo-accent: #FF6B2B;
	--kmo-accent-hover: #FF8442;
	--kmo-accent-deep: #E4520F;
	--kmo-on-accent: #111114;

	--kmo-bg: #F6F6F8;
	--kmo-surface: #FFFFFF;
	--kmo-surface-2: #F1F1F4;
	--kmo-line: #E6E6EC;
	--kmo-text: #15151A;
	--kmo-muted: #5D5D6A;
	--kmo-link: #C2410C;
	--kmo-shadow: 0 1px 2px rgba(17,17,20,.04), 0 10px 28px -16px rgba(17,17,20,.16);
	--kmo-shadow-hover: 0 2px 4px rgba(17,17,20,.05), 0 22px 44px -18px rgba(17,17,20,.28);
	--kmo-backdrop: rgba(255,255,255,.82);

	--kmo-radius: 18px;
	--kmo-radius-sm: 12px;
	--kmo-pill: 999px;
	--kmo-ease: cubic-bezier(.2,.7,.2,1);

	--kmo-container: 1240px;
	--kmo-gutter: 16px;
	--kmo-header-h: 64px;
	--kmo-admin-bar: 0px;

	color-scheme: light;
}

:root[data-scheme="dark"]{
	--kmo-bg: #0B0B0E;
	--kmo-surface: #141418;
	--kmo-surface-2: #1B1B21;
	--kmo-line: #2A2A33;
	--kmo-text: #F3F3F6;
	--kmo-muted: #A3A3B0;
	--kmo-link: #FF8A50;
	--kmo-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 12px 30px -18px rgba(0,0,0,.9);
	--kmo-shadow-hover: 0 1px 0 rgba(255,255,255,.05) inset, 0 24px 48px -20px rgba(0,0,0,.95);
	--kmo-backdrop: rgba(20,20,24,.82);
	color-scheme: dark;
}

/* Scripts off: follow the device */
@media (prefers-color-scheme: dark){
	:root:not([data-scheme]){
		--kmo-bg: #0B0B0E;
		--kmo-surface: #141418;
		--kmo-surface-2: #1B1B21;
		--kmo-line: #2A2A33;
		--kmo-text: #F3F3F6;
		--kmo-muted: #A3A3B0;
		--kmo-link: #FF8A50;
		--kmo-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 12px 30px -18px rgba(0,0,0,.9);
		--kmo-shadow-hover: 0 1px 0 rgba(255,255,255,.05) inset, 0 24px 48px -20px rgba(0,0,0,.95);
		--kmo-backdrop: rgba(20,20,24,.82);
		color-scheme: dark;
	}
}

@media (min-width: 768px){
	:root{
		--kmo-gutter: 24px;
		--kmo-header-h: 72px;
	}
}

.admin-bar{ --kmo-admin-bar: 32px; }
@media (max-width: 782px){ .admin-bar{ --kmo-admin-bar: 46px; } }
@media (max-width: 600px){ .admin-bar{ --kmo-admin-bar: 0px; } }


/* ---------------------------------------------------------------------------
 * 2. Base
 * ------------------------------------------------------------------------ */

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

html{
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	background: var(--kmo-bg);
	scroll-padding-top: calc(var(--kmo-header-h) + var(--kmo-admin-bar) + 16px);
}

body{
	margin: 0;
	background: var(--kmo-bg);
	color: var(--kmo-text);
	font-family: var(--kmo-font);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

.kmo-locked,
.kmo-locked body{
	overflow: hidden;
}

h1, h2, h3, h4, h5, h6{
	margin: 0 0 .6em;
	font-family: var(--kmo-font);
	font-weight: 800;
	line-height: 1.45;
	color: var(--kmo-text);
}

p{
	margin: 0 0 1em;
}

a{
	color: inherit;
	text-decoration: none;
	transition: color .2s var(--kmo-ease), background-color .2s var(--kmo-ease), border-color .2s var(--kmo-ease), box-shadow .25s var(--kmo-ease), transform .25s var(--kmo-ease);
}

a:hover{
	color: var(--kmo-link);
}

img,
svg,
video,
iframe{
	max-width: 100%;
}

img{
	height: auto;
	vertical-align: middle;
	border-style: none;
}

button,
input,
select,
textarea{
	font: inherit;
	color: inherit;
}

button{
	cursor: pointer;
}

::selection{
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
}

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

.kmo-icon{
	width: 1.25em;
	height: 1.25em;
	flex: 0 0 auto;
	vertical-align: middle;
}

.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;
	word-wrap: normal !important;
}

.kmo-skip{
	position: fixed;
	top: 10px;
	inset-inline-start: 10px;
	z-index: 10000;
	padding: 10px 18px;
	border-radius: var(--kmo-pill);
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
	font-weight: 800;
	transform: translateY(-200%);
}

.kmo-skip:focus{
	transform: none;
	color: var(--kmo-on-accent);
}

/* Smooth colour change when the visitor flips the scheme */
.kmo-scheme-switching body,
.kmo-scheme-switching .kmo-header,
.kmo-scheme-switching .kmo-card,
.kmo-scheme-switching .kmo-row,
.kmo-scheme-switching .kmo-article{
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}


/* ---------------------------------------------------------------------------
 * 3. Layout
 * ------------------------------------------------------------------------ */

.kmo-container{
	width: 100%;
	max-width: calc(var(--kmo-container) + var(--kmo-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--kmo-gutter);
}

.kmo-main{
	padding-block: 20px 56px;
	min-height: 50vh;
}

.kmo-layout{
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

@media (min-width: 1024px){

	.kmo-has-sidebar .kmo-layout{
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 36px;
	}

	.kmo-has-sidebar .kmo-layout__side{
		position: sticky;
		top: calc(var(--kmo-header-h) + var(--kmo-admin-bar) + 20px);
	}
}

/* A post without a sidebar keeps a comfortable reading width */
body:not(.kmo-has-sidebar) .kmo-single .kmo-layout__main,
.kmo-page .kmo-article,
.kmo-page .kmo-comments{
	width: 100%;
	max-width: 880px;
	margin-inline: auto;
}

.kmo-grid{
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

@media (min-width: 560px){
	.kmo-grid--2,
	.kmo-grid--3,
	.kmo-grid--4{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px){
	.kmo-grid--3{
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.kmo-grid--4{
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.kmo-section{
	margin-top: 44px;
}

.kmo-section:first-child{
	margin-top: 8px;
}


/* ---------------------------------------------------------------------------
 * 4. Header and menus
 * ------------------------------------------------------------------------ */

.kmo-header{
	position: relative;
	z-index: 100;
	background: var(--kmo-surface);
	border-bottom: 1px solid var(--kmo-line);
}

.kmo-sticky-header .kmo-header{
	position: sticky;
	top: var(--kmo-admin-bar);
	background: var(--kmo-backdrop);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
}

.kmo-header.is-scrolled{
	box-shadow: 0 10px 30px -22px rgba(0,0,0,.55);
}

.kmo-header__inner{
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: var(--kmo-header-h);
	padding-block: 6px;
}

/* Logo */
.kmo-logo{
	margin: 0;
	font-size: inherit;
	line-height: 1;
	flex: 0 1 auto;
	min-width: 0;
}

.kmo-logo a{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
	color: var(--kmo-text);
}

.kmo-logo__img{
	display: block;
	width: auto;
	max-height: 44px;
	max-width: min(190px, 48vw);
	object-fit: contain;
}

@media (min-width: 768px){
	.kmo-logo__img{
		max-height: 50px;
		max-width: 230px;
	}
}

.kmo-logo__img--dark{
	display: none;
}

[data-scheme="dark"] .kmo-header .kmo-logo__img--light,
[data-scheme="dark"] .kmo-drawer .kmo-logo__img--light{
	display: none;
}

[data-scheme="dark"] .kmo-header .kmo-logo__img--dark,
[data-scheme="dark"] .kmo-drawer .kmo-logo__img--dark{
	display: block;
}

/* The footer is dark in both schemes: it takes the dark logo when there is one */
.kmo-footer .kmo-logo__img--light{
	display: none;
}

.kmo-footer .kmo-logo__img--dark{
	display: block;
}

.kmo-logo__mark{
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
	box-shadow: 0 10px 22px -12px var(--kmo-accent);
}

.kmo-logo__mark .kmo-icon{
	width: 22px;
	height: 22px;
}

.kmo-logo__text{
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0;
	white-space: nowrap;
}

@media (min-width: 768px){
	.kmo-logo__text{
		font-size: 20px;
	}
}

/* Icon buttons */
.kmo-icon-btn{
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 12px;
	background: transparent;
	color: var(--kmo-text);
	transition: background-color .2s var(--kmo-ease), color .2s var(--kmo-ease), transform .2s var(--kmo-ease);
}

.kmo-icon-btn:hover,
.kmo-icon-btn[aria-expanded="true"]{
	background: var(--kmo-surface-2);
	color: var(--kmo-accent-deep);
}

[data-scheme="dark"] .kmo-icon-btn:hover,
[data-scheme="dark"] .kmo-icon-btn[aria-expanded="true"]{
	color: var(--kmo-accent);
}

.kmo-header__tools{
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 2px;
	margin-inline-start: auto;
}

/* Light/dark toggle: moon in light, sun in dark */
.kmo-scheme-toggle .kmo-icon{
	grid-area: 1 / 1;
	transition: transform .4s var(--kmo-ease), opacity .25s ease;
}

.kmo-scheme-toggle__sun,
[data-scheme="dark"] .kmo-scheme-toggle__moon{
	opacity: 0;
	transform: rotate(-60deg) scale(.6);
}

[data-scheme="dark"] .kmo-scheme-toggle__sun{
	opacity: 1;
	transform: none;
}

/* Main menu (desktop) */
.kmo-nav{
	display: none;
}

.kmo-header__menu-btn{
	margin-inline-start: -8px;
}

/* The full menu from laptop width up; below that, the drawer */
@media (min-width: 1180px){

	.kmo-header__menu-btn{
		display: none;
	}

	.kmo-nav{
		display: block;
		margin-inline-start: 14px;
		min-width: 0;
	}
}

.kmo-menu,
.kmo-menu ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

.kmo-menu{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 2px;
}

.kmo-menu li{
	position: relative;
}

.kmo-menu > li > a{
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 40px;
	padding-inline: 11px;
	border-radius: var(--kmo-pill);
	color: var(--kmo-text);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.kmo-menu > li:hover > a,
.kmo-menu > li:focus-within > a,
.kmo-menu > li.is-open > a{
	background: var(--kmo-surface-2);
	color: var(--kmo-text);
}

.kmo-menu > .current-menu-item > a,
.kmo-menu > .current-menu-ancestor > a,
.kmo-menu > .current-menu-parent > a,
.kmo-menu > .current-post-ancestor > a{
	background: var(--kmo-accent) !important;
	color: var(--kmo-on-accent) !important;
}

/* Dropdown arrow */
.kmo-menu .menu-item-has-children > a::after{
	content: '';
	width: 7px;
	height: 7px;
	margin-inline-start: 4px;
	border: solid currentColor;
	border-width: 0 0 2px 2px;
	transform: translateY(-2px) rotate(-45deg);
	opacity: .6;
}

.kmo-menu .sub-menu .menu-item-has-children > a::after{
	transform: rotate(45deg);
	margin-inline-start: auto;
}

/* Dropdowns */
.kmo-menu .sub-menu{
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	z-index: 20;
	min-width: 230px;
	padding: 8px;
	margin-top: 10px;
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius-sm);
	box-shadow: var(--kmo-shadow-hover);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s var(--kmo-ease), transform .2s var(--kmo-ease), visibility 0s linear .2s;
}

/* Bridge the gap between the item and its dropdown */
.kmo-menu .sub-menu::before{
	content: '';
	position: absolute;
	inset: -12px 0 auto 0;
	height: 12px;
}

.kmo-menu .sub-menu .sub-menu{
	top: -9px;
	inset-inline-start: 100%;
	margin-top: 0;
	margin-inline-start: 8px;
}

.kmo-menu .sub-menu .sub-menu::before{
	inset: 0 auto 0 100%;
	width: 12px;
	height: auto;
}

.kmo-menu li:hover > .sub-menu,
.kmo-menu li:focus-within > .sub-menu,
.kmo-menu li.is-open > .sub-menu{
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.kmo-menu .sub-menu a{
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	border-radius: 9px;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--kmo-text);
}

.kmo-menu .sub-menu a:hover,
.kmo-menu .sub-menu .current-menu-item > a{
	background: var(--kmo-surface-2);
	color: var(--kmo-link);
}

/* Header social icons (large screens only) */
.kmo-social--header{
	display: none;
}

@media (min-width: 1280px){
	.kmo-social--header{
		display: flex;
		margin-inline-end: 6px;
	}
}


/* ---------------------------------------------------------------------------
 * 5. Drawer and search
 * ------------------------------------------------------------------------ */

.kmo-search-panel{
	border-top: 1px solid var(--kmo-line);
	padding-block: 14px;
	background: var(--kmo-surface);
}

.kmo-search-panel .kmo-search-form{
	max-width: 720px;
	margin-inline: auto;
}

.kmo-search-form{
	position: relative;
	display: flex;
	align-items: center;
}

.kmo-search-form__input{
	width: 100%;
	height: 48px;
	padding-inline: 18px 54px;
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-pill);
	background: var(--kmo-surface-2);
	color: var(--kmo-text);
	font-size: 15.5px;
	-webkit-appearance: none;
	appearance: none;
}

.kmo-search-form__input::placeholder{
	color: var(--kmo-muted);
}

.kmo-search-form__input:focus{
	outline: 0;
	border-color: var(--kmo-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--kmo-accent) 18%, transparent);
	background: var(--kmo-surface);
}

.kmo-search-form__btn{
	position: absolute;
	inset-inline-end: 5px;
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
}

.kmo-search-form__btn:hover{
	background: var(--kmo-accent-hover);
}

.kmo-search-form__btn .kmo-icon{
	width: 18px;
	height: 18px;
}

/* Drawer */
.kmo-drawer{
	position: fixed;
	inset: 0;
	top: var(--kmo-admin-bar);
	z-index: 1000;
}

.kmo-drawer[hidden]{
	display: none;
}

.kmo-drawer__backdrop{
	position: absolute;
	inset: 0;
	background: rgba(8,8,10,.5);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .25s ease;
}

.kmo-drawer__panel{
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: min(86vw, 360px);
	padding: 16px 16px 24px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--kmo-surface);
	box-shadow: 0 0 60px rgba(0,0,0,.35);
	transform: translateX(100%);
	transition: transform .26s var(--kmo-ease);
}

[dir="ltr"] .kmo-drawer__panel{
	transform: translateX(-100%);
}

.kmo-drawer.is-open .kmo-drawer__backdrop{
	opacity: 1;
}

.kmo-drawer.is-open .kmo-drawer__panel{
	transform: none;
}

.kmo-drawer__head{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.kmo-drawer-menu,
.kmo-drawer-menu ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

.kmo-drawer-menu a{
	display: block;
	padding: 11px 14px;
	border-radius: 12px;
	font-size: 16.5px;
	font-weight: 700;
	color: var(--kmo-text);
}

.kmo-drawer-menu a:hover,
.kmo-drawer-menu .current-menu-item > a{
	background: var(--kmo-surface-2);
	color: var(--kmo-link);
}

.kmo-drawer-menu .current-menu-item > a{
	box-shadow: inset -3px 0 0 var(--kmo-accent);
}

.kmo-drawer-menu .sub-menu{
	margin-inline-start: 14px;
	padding-inline-start: 8px;
	border-inline-start: 1px solid var(--kmo-line);
}

.kmo-drawer-menu .sub-menu a{
	font-size: 15px;
	font-weight: 500;
	padding-block: 8px;
}

.kmo-social--drawer{
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--kmo-line);
}


/* ---------------------------------------------------------------------------
 * 6. Section titles: a heading on an editing timeline
 * ------------------------------------------------------------------------ */

.kmo-section-head{
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px;
}

.kmo-section-title{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	flex: 0 1 auto;
	min-width: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.4;
}

.kmo-section-title a{
	color: var(--kmo-text);
}

.kmo-section-title a:hover{
	color: var(--kmo-c, var(--kmo-link));
	color: color-mix(in oklab, var(--kmo-c, var(--kmo-accent)) 72%, var(--kmo-text));
}

/* The section colour as a tile with the play mark */
.kmo-section-title__tile{
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 10px;
	background: var(--kmo-c, var(--kmo-accent));
	color: var(--kmo-c-on, var(--kmo-on-accent));
	box-shadow: 0 8px 18px -10px var(--kmo-c, var(--kmo-accent));
}

.kmo-section-title__tile .kmo-icon{
	width: 18px;
	height: 18px;
}

/* The timeline: a ruler with a playhead at its start */
.kmo-timeline{
	flex: 1 1 auto;
	min-width: 32px;
	height: 12px;
	background:
		radial-gradient(circle, var(--kmo-c, var(--kmo-accent)) 0 4px, transparent 4.5px) right center / 12px 12px no-repeat,
		repeating-linear-gradient(to left, var(--kmo-line) 0 1px, transparent 1px 9px) right bottom / 100% 6px no-repeat,
		linear-gradient(var(--kmo-line), var(--kmo-line)) right center / 100% 1px no-repeat;
}

[dir="ltr"] .kmo-timeline{
	background:
		radial-gradient(circle, var(--kmo-c, var(--kmo-accent)) 0 4px, transparent 4.5px) left center / 12px 12px no-repeat,
		repeating-linear-gradient(to right, var(--kmo-line) 0 1px, transparent 1px 9px) left bottom / 100% 6px no-repeat,
		linear-gradient(var(--kmo-line), var(--kmo-line)) left center / 100% 1px no-repeat;
}

.kmo-section-more{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	padding: 6px 14px;
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-pill);
	background: var(--kmo-surface);
	color: var(--kmo-muted);
	font-size: 13.5px;
	font-weight: 700;
	white-space: nowrap;
}

.kmo-section-more .kmo-icon{
	width: 16px;
	height: 16px;
}

.kmo-section-more:hover{
	border-color: var(--kmo-c, var(--kmo-accent));
	background: var(--kmo-c, var(--kmo-accent));
	color: var(--kmo-c-on, var(--kmo-on-accent));
}

@media (max-width: 559px){
	.kmo-section-title{
		font-size: 18px;
	}

	.kmo-section-more{
		padding: 6px 10px;
	}
}


/* ---------------------------------------------------------------------------
 * 7. Cards
 * ------------------------------------------------------------------------ */

/* Category pill: the category's colour, or the section's, or the accent */
.kmo-pill{
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 2px 11px;
	border-radius: var(--kmo-pill);
	background: var(--kmo-c, var(--kmo-accent));
	color: var(--kmo-c-on, var(--kmo-on-accent));
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.9;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.kmo-pill:hover{
	color: var(--kmo-c-on, var(--kmo-on-accent));
	filter: brightness(1.08);
}

.kmo-pills{
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

/* Meta line */
.kmo-meta{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	color: var(--kmo-muted);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
}

.kmo-meta__item{
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: inherit;
}

.kmo-meta .kmo-icon{
	width: 15px;
	height: 15px;
	opacity: .8;
}

/* Images: one shape everywhere, and a branded placeholder for posts without one */
.kmo-card__media,
.kmo-row__media,
.kmo-mini__media,
.kmo-hero__media,
.kmo-post-nav__thumb{
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--kmo-surface-2);
	isolation: isolate;
}

.kmo-card__media img,
.kmo-row__media img,
.kmo-mini__media img,
.kmo-hero__media img,
.kmo-post-nav__thumb img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--kmo-ease);
}

.kmo-thumb-placeholder{
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--kmo-c, var(--kmo-accent)) 30%, transparent), transparent 60%),
		var(--kmo-surface-2);
	color: var(--kmo-c, var(--kmo-accent));
}

.kmo-thumb-placeholder .kmo-icon{
	width: 34%;
	max-width: 56px;
	height: auto;
	opacity: .75;
}

/* Card */
.kmo-card{
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius);
	box-shadow: var(--kmo-shadow);
	overflow: hidden;
	transition: box-shadow .3s var(--kmo-ease), transform .3s var(--kmo-ease), border-color .3s var(--kmo-ease);
}

.kmo-card:hover{
	box-shadow: var(--kmo-shadow-hover);
	transform: translateY(-3px);
}

.kmo-card__media{
	aspect-ratio: 16 / 9;
}

.kmo-card:hover .kmo-card__media img,
.kmo-row:hover .kmo-row__media img,
.kmo-mini:hover .kmo-mini__media img,
.kmo-hero:hover .kmo-hero__media img{
	transform: scale(1.04);
}

.kmo-card__body{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	flex: 1 1 auto;
	padding: 14px 16px 16px;
}

.kmo-card__title,
.kmo-row__title,
.kmo-mini__title{
	margin: 0;
	font-weight: 800;
	line-height: 1.55;
	color: var(--kmo-text);
}

.kmo-card__title{
	font-size: 16.5px;
}

.kmo-card__title a,
.kmo-row__title a,
.kmo-mini__title a,
.kmo-hero__title a{
	color: inherit;
	background: linear-gradient(currentColor, currentColor) right bottom / 0 1px no-repeat;
	transition: background-size .35s var(--kmo-ease), color .2s var(--kmo-ease);
}

.kmo-card:hover .kmo-card__title a,
.kmo-row:hover .kmo-row__title a,
.kmo-mini:hover .kmo-mini__title a,
.kmo-hero:hover .kmo-hero__title a{
	color: var(--kmo-c, var(--kmo-link));
	color: color-mix(in oklab, var(--kmo-c, var(--kmo-accent)) 70%, var(--kmo-text));
	background-size: 100% 1px;
}

.kmo-card__excerpt,
.kmo-row__excerpt{
	margin: 0;
	color: var(--kmo-muted);
	font-size: 14.5px;
	line-height: 1.85;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.kmo-card .kmo-meta{
	margin-top: auto;
}

/* Lead post of a feature section */
.kmo-card--feature .kmo-card__media{
	aspect-ratio: 16 / 9;
}

.kmo-card--feature .kmo-card__body{
	padding: 18px 22px 22px;
	gap: 10px;
}

.kmo-card--feature .kmo-card__title{
	font-size: clamp(19px, 2vw, 24px);
	line-height: 1.5;
}

.kmo-card--feature .kmo-card__excerpt{
	font-size: 15.5px;
	-webkit-line-clamp: 3;
}

/* Row: image beside the text */
.kmo-row{
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 12px;
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius);
	box-shadow: var(--kmo-shadow);
	transition: box-shadow .3s var(--kmo-ease);
}

.kmo-row:hover{
	box-shadow: var(--kmo-shadow-hover);
}

.kmo-row__media{
	aspect-ratio: 16 / 10;
	border-radius: var(--kmo-radius-sm);
	align-self: start;
}

.kmo-row__body{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
}

.kmo-row__title{
	font-size: 15.5px;
}

.kmo-row__excerpt{
	display: none;
}

.kmo-row .kmo-pill{
	font-size: 11.5px;
	padding: 1px 9px;
}

@media (min-width: 640px){

	.kmo-row{
		grid-template-columns: 280px minmax(0, 1fr);
		gap: 22px;
		padding: 14px;
	}

	.kmo-row__media{
		aspect-ratio: 16 / 9;
		align-self: center;
	}

	.kmo-row__title{
		font-size: 19px;
	}

	.kmo-row__excerpt{
		display: -webkit-box;
	}

	.kmo-row .kmo-pill{
		font-size: 12.5px;
		padding: 2px 11px;
	}
}

.kmo-rows{
	display: grid;
	gap: 16px;
}

/* Mini: small image and title */
.kmo-mini{
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	min-width: 0;
}

.kmo-mini__media{
	aspect-ratio: 16 / 10;
	border-radius: var(--kmo-radius-sm);
}

.kmo-mini__body{
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.kmo-mini__title{
	font-size: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.kmo-mini .kmo-meta{
	font-size: 12.5px;
}


/* ---------------------------------------------------------------------------
 * 8. Home, archives
 * ------------------------------------------------------------------------ */

/* Hero */
.kmo-hero{
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	overflow: hidden;
	background:
		radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--kmo-c, var(--kmo-accent)) 18%, transparent), transparent 60%),
		var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: calc(var(--kmo-radius) + 4px);
	box-shadow: var(--kmo-shadow);
}

.kmo-hero__media{
	aspect-ratio: 16 / 9;
}

.kmo-hero__play{
	position: absolute;
	inset-inline-end: 16px;
	bottom: 16px;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
	box-shadow: 0 12px 28px -10px rgba(0,0,0,.6);
	transition: transform .3s var(--kmo-ease);
}

.kmo-hero:hover .kmo-hero__play{
	transform: scale(1.08);
}

.kmo-hero__body{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 12px;
	padding: 20px 18px 24px;
}

.kmo-hero__eyebrow{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--kmo-muted);
	font-size: 13px;
	font-weight: 700;
}

.kmo-hero__eyebrow::before{
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #E5484D;
	box-shadow: 0 0 0 4px color-mix(in srgb, #E5484D 22%, transparent);
}

.kmo-hero__title{
	margin: 0;
	font-size: clamp(23px, 3vw, 36px);
	line-height: 1.45;
}

.kmo-hero__subtitle{
	margin: 0;
	color: var(--kmo-muted);
	font-size: 16px;
	font-weight: 500;
	unicode-bidi: plaintext;
	text-align: start;
	align-self: stretch;
}

/* English subtitles keep their own direction but line up with the Arabic title */
[dir="rtl"] .kmo-hero__subtitle,
[dir="rtl"] .kmo-article__subtitle{
	text-align: right;
}

.kmo-hero__excerpt{
	margin: 0;
	color: var(--kmo-muted);
	font-size: 15.5px;
	line-height: 1.9;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (min-width: 900px){

	.kmo-hero{
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		align-items: stretch;
	}

	/* The whole thumbnail, never cropped (they usually carry text edge to edge) */
	.kmo-hero__media{
		align-self: center;
		margin: 20px;
		margin-inline-end: 0;
		border-radius: var(--kmo-radius);
		box-shadow: 0 20px 40px -24px rgba(0,0,0,.5);
	}

	.kmo-hero__body{
		padding: 32px 36px;
		gap: 14px;
	}
}

/* Feature section: lead post and a list */
.kmo-feature{
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

.kmo-feature__list{
	display: grid;
	align-self: start;
	align-content: start;
	gap: 14px;
	padding: 16px;
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius);
	box-shadow: var(--kmo-shadow);
}

.kmo-feature__list .kmo-mini + .kmo-mini{
	padding-top: 14px;
	border-top: 1px solid var(--kmo-line);
}

@media (min-width: 900px){
	.kmo-feature{
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	}
}

/* List section: minis in two columns, on one card */
.kmo-mini-grid{
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px 28px;
	padding: 18px;
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius);
	box-shadow: var(--kmo-shadow);
}

@media (min-width: 768px){
	.kmo-mini-grid{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1200px){
	.kmo-mini-grid{
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Pattern-built home page content */
.kmo-home-content > *:first-child{
	margin-top: 8px;
}

.kmo-notice{
	padding: 14px 18px;
	border: 1px dashed var(--kmo-accent);
	border-radius: var(--kmo-radius-sm);
	color: var(--kmo-muted);
}

/* Archive heading */
.kmo-archive-head{
	position: relative;
	margin-bottom: 26px;
	padding: 24px;
	overflow: hidden;
	background:
		radial-gradient(90% 140% at 0% 0%, color-mix(in srgb, var(--kmo-c, var(--kmo-accent)) 16%, transparent), transparent 60%),
		var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius);
	box-shadow: var(--kmo-shadow);
}

.kmo-archive-head__eyebrow{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--kmo-muted);
	font-size: 14px;
	font-weight: 700;
}

.kmo-archive-head__eyebrow .kmo-section-title__tile{
	width: 28px;
	height: 28px;
	flex-basis: 28px;
	border-radius: 8px;
}

.kmo-archive-head__eyebrow .kmo-section-title__tile .kmo-icon{
	width: 15px;
	height: 15px;
}

.kmo-archive-head__title{
	margin: 10px 0 6px;
	font-size: clamp(26px, 3.2vw, 38px);
}

.kmo-archive-head__desc{
	max-width: 760px;
	color: var(--kmo-muted);
	font-size: 15.5px;
	line-height: 1.9;
}

.kmo-archive-head__desc p:last-child{
	margin-bottom: 0;
}

.kmo-archive-head__count{
	margin: 8px 0 0;
	color: var(--kmo-muted);
	font-size: 13.5px;
	font-weight: 700;
}

.kmo-archive-head .kmo-search-form{
	max-width: 560px;
	margin-top: 16px;
}

@media (min-width: 768px){
	.kmo-archive-head{
		padding: 30px 32px;
	}
}

/* Breadcrumbs */
.kmo-breadcrumbs{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 8px;
	margin: 4px 0 16px;
	color: var(--kmo-muted);
	font-size: 13px;
	font-weight: 500;
}

.kmo-breadcrumbs a{
	color: var(--kmo-muted);
}

.kmo-breadcrumbs a:hover{
	color: var(--kmo-link);
}

.kmo-breadcrumbs__sep,
.kmo-breadcrumbs .separator{
	color: var(--kmo-line);
	opacity: .9;
}

[data-scheme="dark"] .kmo-breadcrumbs__sep{
	color: var(--kmo-muted);
	opacity: .5;
}

.kmo-breadcrumbs [aria-current],
.kmo-breadcrumbs .breadcrumb_last{
	color: var(--kmo-text);
	display: inline-block;
	max-width: 46ch;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: bottom;
}

/* Pagination */
.kmo-pagination{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 32px;
}

.kmo-pagination .page-numbers{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	height: 44px;
	padding-inline: 14px;
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-pill);
	background: var(--kmo-surface);
	color: var(--kmo-text);
	font-weight: 700;
}

.kmo-pagination .page-numbers .kmo-icon{
	width: 17px;
	height: 17px;
}

.kmo-pagination a.page-numbers:hover,
.kmo-pagination .page-numbers.current{
	border-color: var(--kmo-accent);
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
}

.kmo-pagination .page-numbers.dots{
	border-color: transparent;
	background: transparent;
	min-width: 20px;
	padding: 0;
}

@media (max-width: 480px){
	.kmo-pagination .prev span,
	.kmo-pagination .next span{
		display: none;
	}

	.kmo-pagination .page-numbers{
		min-width: 40px;
		height: 40px;
		padding-inline: 10px;
	}
}

/* Empty results */
.kmo-empty{
	padding: 36px 24px;
	text-align: center;
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius);
}

.kmo-empty__icon{
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 10px;
	border-radius: 16px;
	background: var(--kmo-surface-2);
	color: var(--kmo-accent);
}

.kmo-empty .kmo-search-form{
	max-width: 480px;
	margin: 18px auto 0;
}

/* Sidebar widgets */
.kmo-sidebar{
	display: grid;
	gap: 20px;
}

.kmo-widget{
	padding: 20px;
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius);
	box-shadow: var(--kmo-shadow);
	font-size: 15px;
}

.kmo-widget__title{
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 17px;
}

.kmo-widget__title::before{
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: var(--kmo-accent);
	transform: rotate(45deg);
}

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

.kmo-widget li{
	padding-block: 8px;
	border-bottom: 1px solid var(--kmo-line);
}

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

.kmo-widget a:hover{
	color: var(--kmo-link);
}

/* -- Ad widget: no card around it -- */
.kmo-widget.kmo-widget--ad{
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	text-align: center;
	overflow: hidden;
}

.kmo-ad__label{
	display: block;
	margin-bottom: 6px;
	color: var(--kmo-muted);
	font-size: 11px;
	letter-spacing: .02em;
}

/* -- YouTube channel -- */
.kmo-widget--youtube{
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(255,0,51,.12), transparent 60%),
		var(--kmo-surface);
}

.kmo-yt{
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.kmo-yt__logo{
	flex: 0 0 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 16px;
	background: #FF0033;
	color: #FFFFFF;
	box-shadow: 0 12px 24px -14px #FF0033;
}

.kmo-yt__logo .kmo-icon{
	width: 28px;
	height: 28px;
}

.kmo-yt__body{
	display: grid;
	gap: 2px;
	min-width: 0;
}

.kmo-yt__name{
	font-size: 16px;
	font-weight: 800;
	line-height: 1.4;
}

.kmo-yt__text{
	color: var(--kmo-muted);
	font-size: 13.5px;
	line-height: 1.6;
}

.kmo-yt__count{
	display: block;
	color: var(--kmo-text);
	font-weight: 800;
}

.kmo-widget .kmo-yt__button{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	border-radius: var(--kmo-pill);
	background: linear-gradient(135deg, #E0002D, #FF2A55);
	color: #FFFFFF;
	font-weight: 800;
	box-shadow: 0 12px 24px -14px #FF0033;
	transition: transform .2s var(--kmo-ease), filter .2s var(--kmo-ease);
}

.kmo-widget .kmo-yt__button:hover{
	color: #FFFFFF;
	transform: translateY(-2px);
	filter: brightness(1.06);
}

/* -- Social followers -- */
.kmo-follow__total{
	margin: -4px 0 14px;
	color: var(--kmo-muted);
	font-size: 14px;
	text-align: center;
}

.kmo-follow__total b{
	color: var(--kmo-text);
	font-size: 17px;
	font-weight: 800;
}

.kmo-follow{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

/* Three or six networks sit three to a row */
.kmo-follow:has(> :nth-child(3):last-child),
.kmo-follow:has(> :nth-child(6):last-child){
	grid-template-columns: repeat(3, 1fr);
}

.kmo-widget .kmo-follow__tile{
	display: grid;
	justify-items: center;
	gap: 2px;
	padding: 12px 6px 10px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--kmo-net) 10%, var(--kmo-surface));
	color: var(--kmo-text);
	text-align: center;
	transition: background-color .2s var(--kmo-ease), color .2s var(--kmo-ease), transform .2s var(--kmo-ease);
}

.kmo-follow__tile .kmo-icon{
	width: 22px;
	height: 22px;
	margin-bottom: 4px;
	color: var(--kmo-net);
	transition: color .2s var(--kmo-ease);
}

[data-scheme="dark"] .kmo-follow__tile--tiktok,
[data-scheme="dark"] .kmo-follow__tile--x{
	--kmo-net: #3A3A44;
	background: color-mix(in srgb, #FFFFFF 7%, var(--kmo-surface));
}

[data-scheme="dark"] .kmo-follow__tile--tiktok .kmo-icon,
[data-scheme="dark"] .kmo-follow__tile--x .kmo-icon{
	color: #FFFFFF;
}

.kmo-follow__num{
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
}

.kmo-follow__label{
	color: var(--kmo-muted);
	font-size: 12px;
}

.kmo-widget .kmo-follow__tile:hover{
	background: var(--kmo-net);
	color: #FFFFFF;
	transform: translateY(-2px);
}

.kmo-follow__tile:hover .kmo-icon,
.kmo-follow__tile:hover .kmo-follow__label{
	color: #FFFFFF;
}

/* -- Post lists -- */
.kmo-widget .kmo-wlist{
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.kmo-widget .kmo-wlist__item{
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0;
	border: 0;
}

.kmo-wlist__media{
	flex: 0 0 96px;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 10px;
	background: var(--kmo-surface-2);
}

.kmo-wlist__media img,
.kmo-wlist__media .kmo-thumb-placeholder{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--kmo-ease);
}

.kmo-wlist__item:hover .kmo-wlist__media img{
	transform: scale(1.06);
}

.kmo-wlist__body{
	display: grid;
	gap: 4px;
	min-width: 0;
}

.kmo-widget .kmo-wlist__title{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: var(--kmo-text);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.55;
}

.kmo-widget .kmo-wlist__title:hover{
	color: var(--kmo-link);
}

.kmo-wlist__meta{
	color: var(--kmo-muted);
	font-size: 12.5px;
}

/* numbered */
.kmo-wlist__num{
	flex: 0 0 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 11px;
	background: color-mix(in srgb, var(--kmo-accent) 14%, transparent);
	color: var(--kmo-accent-deep);
	font-size: 16px;
	font-weight: 800;
}

[data-scheme="dark"] .kmo-wlist__num{
	color: var(--kmo-accent);
}

.kmo-wlist--numbered .kmo-wlist__item:first-child .kmo-wlist__num{
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
}

/* big first */
.kmo-widget .kmo-wlist__item--big{
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.kmo-wlist__item--big .kmo-wlist__media{
	flex: none;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
}

.kmo-widget .kmo-wlist__item--big .kmo-wlist__title{
	font-size: 16px;
	font-weight: 800;
}

/* -- Tabs -- */
.kmo-tabs__list{
	display: flex;
	gap: 4px;
	margin-bottom: 16px;
	padding: 4px;
	border-radius: var(--kmo-pill);
	background: var(--kmo-surface-2);
}

.kmo-tabs__tab{
	flex: 1;
	min-height: 38px;
	padding: 0 12px;
	border: 0;
	border-radius: var(--kmo-pill);
	background: transparent;
	color: var(--kmo-muted);
	font: inherit;
	font-size: 14.5px;
	font-weight: 800;
	cursor: pointer;
	transition: background-color .2s var(--kmo-ease), color .2s var(--kmo-ease);
}

.kmo-tabs__tab:hover{
	color: var(--kmo-text);
}

.kmo-tabs__tab[aria-selected="true"]{
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
	box-shadow: 0 8px 18px -12px var(--kmo-accent);
}

.kmo-tabs__panel[hidden]{
	display: none;
}

/* -- Category tiles -- */
.kmo-widget .kmo-cats{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.kmo-widget .kmo-cats__item{
	--kmo-cat: var(--kmo-accent);
	position: relative;
	padding: 0;
	border: 0;
	border-radius: 14px;
	overflow: hidden;
	background-color: var(--kmo-cat);
	background-size: cover;
	background-position: center;
	isolation: isolate;
}

.kmo-cats__item::before{
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(135deg, color-mix(in srgb, var(--kmo-cat) 80%, #000) , rgba(11,11,14,.55));
	transition: opacity .3s var(--kmo-ease);
}

.kmo-cats__item:not(.has-bg)::before{
	background: linear-gradient(135deg, color-mix(in srgb, var(--kmo-cat) 92%, #000), color-mix(in srgb, var(--kmo-cat) 70%, #000));
}

.kmo-widget .kmo-cats__item a{
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 8px;
	min-height: 64px;
	padding: 10px 12px;
	color: #FFFFFF;
}

.kmo-widget .kmo-cats__item a:hover{
	color: #FFFFFF;
}

.kmo-cats__item:hover::before{
	opacity: .85;
}

.kmo-cats__icon{
	width: 28px;
	height: 28px;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
}

.kmo-cats__name{
	grid-column: 2;
	font-size: 13.5px;
	font-weight: 800;
	line-height: 1.35;
	text-shadow: 0 1px 6px rgba(0,0,0,.35);
}

.kmo-cats__item:not(:has(.kmo-cats__icon)) .kmo-cats__name{
	grid-column: 1 / 3;
}

.kmo-cats__count{
	min-width: 26px;
	padding: 1px 8px;
	border-radius: var(--kmo-pill);
	background: rgba(255,255,255,.22);
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

/* -- Recent comments -- */
.kmo-widget .kmo-wcomments__item{
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding-block: 10px;
}

.kmo-wcomments__avatar{
	flex: 0 0 40px;
	border-radius: 50%;
}

.kmo-wcomments__body{
	display: grid;
	gap: 2px;
	min-width: 0;
}

.kmo-wcomments__who{
	font-size: 14px;
	font-weight: 800;
}

.kmo-widget .kmo-wcomments__text{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: var(--kmo-text);
	font-size: 13.5px;
	line-height: 1.6;
}

.kmo-wcomments__on{
	overflow: hidden;
	color: var(--kmo-muted);
	font-size: 12px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.tagcloud,
.wp-block-tag-cloud{
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.tagcloud a,
.wp-block-tag-cloud a{
	display: inline-block;
	padding: 3px 12px;
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-pill);
	color: var(--kmo-muted);
	font-size: 13px !important;
}

.tagcloud a:hover,
.wp-block-tag-cloud a:hover{
	border-color: var(--kmo-accent);
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
}


/* ---------------------------------------------------------------------------
 * 9. Single post
 * ------------------------------------------------------------------------ */

.kmo-progress{
	position: fixed;
	top: var(--kmo-admin-bar);
	inset-inline: 0;
	z-index: 200;
	height: 3px;
	pointer-events: none;
}

.kmo-progress__bar{
	display: block;
	height: 100%;
	background: linear-gradient(to left, var(--kmo-accent-deep), var(--kmo-accent), #FFB347);
	box-shadow: 0 0 12px color-mix(in srgb, var(--kmo-accent) 60%, transparent);
	transform: scaleX(0);
	transform-origin: right center;
	will-change: transform;
}

[dir="ltr"] .kmo-progress__bar{
	transform-origin: left center;
}

.kmo-article{
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: calc(var(--kmo-radius) + 4px);
	box-shadow: var(--kmo-shadow);
	overflow: hidden;
}

.kmo-article__head{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 22px 18px 6px;
}

.kmo-article__title{
	margin: 0;
	font-size: clamp(25px, 3.4vw, 40px);
	line-height: 1.42;
}

.kmo-article__subtitle{
	margin: -2px 0 0;
	color: var(--kmo-muted);
	font-size: clamp(16px, 1.7vw, 20px);
	font-weight: 500;
	line-height: 1.6;
	unicode-bidi: plaintext;
	text-align: start;
	align-self: stretch;
}

.kmo-article__meta{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	align-self: stretch;
	padding-top: 14px;
	border-top: 1px solid var(--kmo-line);
}

.kmo-article__author{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 800;
}

.kmo-article__avatar{
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.kmo-article__featured{
	margin: 16px 18px 0;
}

.kmo-article__featured img{
	display: block;
	width: 100%;
	border-radius: var(--kmo-radius);
}

.kmo-article__featured figcaption{
	margin-top: 8px;
	color: var(--kmo-muted);
	font-size: 13.5px;
	text-align: center;
}

@media (min-width: 768px){

	.kmo-article__head{
		padding: 32px 36px 6px;
		gap: 14px;
	}

	.kmo-article__featured{
		margin: 20px 36px 0;
	}
}

/* Share buttons */
.kmo-share{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.kmo-share__btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 40px;
	padding-inline: 14px;
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-pill);
	background: var(--kmo-surface-2);
	color: var(--kmo-text);
	font-size: 14px;
	font-weight: 700;
}

.kmo-share__btn .kmo-icon{
	width: 18px;
	height: 18px;
}

.kmo-share__btn--facebook .kmo-icon{ color: #1877F2; }
.kmo-share__btn--whatsapp .kmo-icon{ color: #25D366; }
.kmo-share__btn--telegram .kmo-icon{ color: #229ED9; }

.kmo-share__btn:hover{
	color: #fff;
	border-color: transparent;
}

.kmo-share__btn:hover .kmo-icon{
	color: currentColor;
}

.kmo-share__btn--facebook:hover{ background: #1877F2; }
.kmo-share__btn--whatsapp:hover{ background: #1DA851; }
.kmo-share__btn--telegram:hover{ background: #229ED9; }
.kmo-share__btn--x:hover{ background: #111114; }
.kmo-share__btn--copy:hover,
.kmo-share__btn--copy.is-done{
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
}

[data-scheme="dark"] .kmo-share__btn--x:hover{
	background: #F3F3F6;
	color: #111114;
}

/* At the top: icons only */
.kmo-share--top .kmo-share__btn{
	width: 40px;
	padding: 0;
}

.kmo-share--top .kmo-share__text{
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.kmo-share__label{
	margin-inline-end: 4px;
	font-weight: 800;
}

@media (max-width: 600px){
	.kmo-share--bottom .kmo-share__btn{
		flex: 1 1 calc(50% - 8px);
	}

	.kmo-share--bottom .kmo-share__label{
		flex: 1 1 100%;
	}
}


/* ---------------------------------------------------------------------------
 * 10. Post content
 * ------------------------------------------------------------------------ */

.kmo-content{
	padding: 22px 18px 24px;
	font-size: 17px;
	line-height: 1.95;
	color: var(--kmo-text);
	overflow-wrap: break-word;
}

@media (min-width: 768px){
	.kmo-content{
		padding: 28px 36px 30px;
		font-size: 18px;
		line-height: 2;
	}
}

.kmo-content::after{
	content: '';
	display: table;
	clear: both;
}

.kmo-content > *:first-child{
	margin-top: 0;
}

.kmo-content p{
	margin: 0 0 1.15em;
}

.kmo-content > * + h2,
.kmo-content > * + h3{
	margin-top: 1.7em;
}

.kmo-content h1,
.kmo-content h2{
	font-size: clamp(22px, 2.4vw, 27px);
	line-height: 1.5;
	padding-inline-start: 16px;
	border-inline-start: 4px solid var(--kmo-accent);
	border-radius: 2px;
	margin-bottom: .7em;
}

.kmo-content h3{
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: clamp(19px, 2vw, 22px);
	margin-bottom: .6em;
}

.kmo-content h3::before{
	content: '';
	flex: 0 0 10px;
	height: 10px;
	border-radius: 3px;
	background: var(--kmo-accent);
	transform: translateY(-2px) rotate(45deg);
}

.kmo-content h4{
	font-size: 19px;
}

.kmo-content h5,
.kmo-content h6{
	font-size: 17px;
}

/* Some posts wrap images in heading tags: no accent beside a picture */
.kmo-content h1:has(img),
.kmo-content h2:has(img),
.kmo-content h3:has(img){
	display: block;
	padding-inline-start: 0;
	border: 0;
}

.kmo-content h3:has(img)::before{
	display: none;
}

.kmo-content a:not([class]),
.kmo-content a[class=""],
.kmo-content .wp-block-file a:not(.wp-block-file__button){
	color: var(--kmo-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-color: color-mix(in srgb, var(--kmo-link) 40%, transparent);
	text-underline-offset: 5px;
}

.kmo-content a:not([class]):hover{
	text-decoration-color: currentColor;
}

.kmo-content strong,
.kmo-content b{
	font-weight: 800;
}

.kmo-content ul,
.kmo-content ol{
	margin: 0 0 1.2em;
	padding-inline-start: 1.4em;
}

.kmo-content li{
	margin-bottom: .45em;
}

.kmo-content li::marker{
	color: var(--kmo-accent);
	font-weight: 800;
}

.kmo-content hr,
.kmo-content .wp-block-separator{
	height: 0;
	margin: 2em auto;
	border: 0;
	border-top: 1px solid var(--kmo-line);
	opacity: 1;
}

/* Images */
.kmo-content img{
	border-radius: 14px;
}

.kmo-content figure{
	margin: 1.6em 0;
	max-width: 100%;
}

.kmo-content figcaption,
.kmo-content .wp-caption-text,
.kmo-content .wp-element-caption{
	margin-top: 8px;
	color: var(--kmo-muted);
	font-size: 14px;
	line-height: 1.7;
	text-align: center;
}

.kmo-content .wp-caption{
	max-width: 100%;
}

.kmo-content .aligncenter{
	display: block;
	margin-inline: auto;
	text-align: center;
}

.kmo-content .alignright{
	float: right;
	margin: .4em 0 1em 1.5em;
}

.kmo-content .alignleft{
	float: left;
	margin: .4em 1.5em 1em 0;
}

.kmo-content .alignwide,
.kmo-content .alignfull{
	max-width: 100%;
}

@media (max-width: 600px){
	.kmo-content .alignright,
	.kmo-content .alignleft{
		float: none;
		display: block;
		margin: 1em auto;
	}
}

/* Videos: rounded, 16:9, never wider than the column. Left alone when they already sit
   in a sized wrapper (block embeds, or the older padding-bottom trick with an absolutely
   positioned iframe). */
.kmo-content iframe[src*="youtube"]:not(.wp-block-embed__wrapper iframe):not([style*="absolute"]),
.kmo-content iframe[src*="youtu.be"]:not(.wp-block-embed__wrapper iframe):not([style*="absolute"]),
.kmo-content iframe[src*="vimeo"]:not(.wp-block-embed__wrapper iframe):not([style*="absolute"]),
.kmo-content iframe[src*="facebook.com/plugins/video"]:not(.wp-block-embed__wrapper iframe):not([style*="absolute"]){
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	margin: 1.4em auto;
	border: 0;
	border-radius: var(--kmo-radius);
	box-shadow: var(--kmo-shadow);
	background: #000;
}

.kmo-content .wp-block-embed{
	margin: 1.6em 0;
}

.kmo-content .wp-block-embed__wrapper iframe,
.kmo-content iframe[style*="absolute"]{
	border: 0;
	border-radius: var(--kmo-radius);
}

.kmo-content div:has(> iframe[style*="absolute"]){
	margin-block: 1.4em;
	border-radius: var(--kmo-radius);
	overflow: hidden;
}

.kmo-content video{
	width: 100%;
	height: auto;
	border-radius: var(--kmo-radius);
}

/* Quotes */
.kmo-content blockquote,
.kmo-content .wp-block-quote{
	position: relative;
	margin: 1.6em 0;
	padding: 20px 24px;
	background: var(--kmo-surface-2);
	border: 0;
	border-inline-start: 4px solid var(--kmo-accent);
	border-radius: var(--kmo-radius-sm);
	color: var(--kmo-text);
	font-size: 1em;
	font-style: normal;
	font-weight: 500;
}

.kmo-content blockquote p:last-child{
	margin-bottom: 0;
}

.kmo-content blockquote cite,
.kmo-content .wp-block-quote cite{
	display: block;
	margin-top: 8px;
	color: var(--kmo-muted);
	font-size: 14px;
	font-style: normal;
}

.kmo-content .wp-block-pullquote{
	padding: 24px;
	border-block: 3px solid var(--kmo-accent);
	text-align: center;
}

/* Keyboard shortcuts as keycaps (Ctrl + K) */
kbd{
	display: inline-block;
	padding: 1px 8px;
	margin: 0 2px;
	font-family: var(--kmo-mono);
	font-size: .82em;
	line-height: 1.6;
	color: var(--kmo-text);
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-bottom-width: 3px;
	border-radius: 7px;
	direction: ltr;
	unicode-bidi: isolate;
	white-space: nowrap;
}

code{
	padding: 2px 7px;
	font-family: var(--kmo-mono);
	font-size: .86em;
	color: var(--kmo-link);
	background: var(--kmo-surface-2);
	border: 1px solid var(--kmo-line);
	border-radius: 7px;
	direction: ltr;
	unicode-bidi: isolate;
}

pre{
	padding: 18px 20px;
	overflow-x: auto;
	background: #0E0E12;
	color: #E9E9EE;
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius-sm);
	font-family: var(--kmo-mono);
	font-size: 14.5px;
	line-height: 1.7;
	direction: ltr;
	text-align: left;
}

pre code{
	padding: 0;
	color: inherit;
	background: none;
	border: 0;
	font-size: inherit;
}

/* Tables (block editor, classic and TablePress) */
.kmo-table-scroll{
	max-width: 100%;
	margin: 1.4em 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: var(--kmo-radius-sm);
}

.kmo-table-scroll > table{
	margin: 0 !important;
}

.kmo-content table,
.kmo-content .tablepress{
	width: 100%;
	margin: 1.4em 0;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius-sm);
	overflow: hidden;
	font-size: 15.5px;
	line-height: 1.75;
	background: var(--kmo-surface);
}

.kmo-content th,
.kmo-content td,
.kmo-content .tablepress th,
.kmo-content .tablepress td{
	padding: 10px 14px;
	text-align: start;
	vertical-align: top;
	color: var(--kmo-text);
}

.kmo-content th,
.kmo-content .tablepress thead th,
.kmo-content .tablepress tfoot th{
	background: color-mix(in srgb, var(--kmo-accent) 12%, var(--kmo-surface));
	font-weight: 800;
	border: 0;
	border-bottom: 1px solid var(--kmo-line);
}

[data-scheme="dark"] .kmo-content th,
[data-scheme="dark"] .kmo-content .tablepress thead th{
	background: color-mix(in srgb, var(--kmo-accent) 16%, var(--kmo-surface));
}

.kmo-content td,
.kmo-content .tablepress td{
	border: 0;
	border-top: 1px solid var(--kmo-line);
	background: transparent;
}

.kmo-content tbody tr:first-child td{
	border-top: 0;
}

.kmo-content tbody tr:nth-child(even) td,
.kmo-content .tablepress .odd td{
	background: color-mix(in srgb, var(--kmo-surface-2) 70%, transparent);
}

.kmo-content .tablepress .row-hover tr:hover td{
	background: color-mix(in srgb, var(--kmo-accent) 8%, var(--kmo-surface));
}

.kmo-content .wp-block-table{
	overflow-x: auto;
}

.kmo-content .wp-block-table table{
	margin: 0;
}

/* Core buttons */
.wp-block-button__link,
.kmo-button,
.kmo-comments .form-submit .submit{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border: 0;
	border-radius: var(--kmo-pill);
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
	font-family: var(--kmo-font);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.5;
	text-decoration: none !important;
	box-shadow: 0 10px 24px -14px var(--kmo-accent);
	transition: background-color .2s var(--kmo-ease), transform .2s var(--kmo-ease);
}

.wp-block-button__link:hover,
.kmo-button:hover,
.kmo-comments .form-submit .submit:hover{
	background: var(--kmo-accent-hover);
	color: var(--kmo-on-accent);
	transform: translateY(-1px);
}

.kmo-button .kmo-icon{
	width: 18px;
	height: 18px;
}

.wp-block-button.is-style-outline .wp-block-button__link{
	background: transparent;
	color: var(--kmo-text);
	box-shadow: inset 0 0 0 2px var(--kmo-accent);
}

/* Galleries and columns */
.kmo-content .wp-block-gallery{
	margin: 1.6em 0;
}

.kmo-content .wp-block-columns{
	margin-block: 1.4em;
}

.kmo-content details{
	margin: 1em 0;
	padding: 12px 18px;
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius-sm);
}

.kmo-content summary{
	font-weight: 800;
	cursor: pointer;
}

.kmo-page-links{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	font-weight: 700;
}

.kmo-page-links a,
.kmo-page-links > .post-page-numbers{
	display: inline-grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	border: 1px solid var(--kmo-line);
	border-radius: 50%;
}

.kmo-page-links .current{
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
	border-color: var(--kmo-accent);
}


/* ---------------------------------------------------------------------------
 * 11. Content from the previous theme: download buttons, boxes, toggles, lists
 * ------------------------------------------------------------------------ */

/* Link and download buttons ([button] shortcode, class "shortc-button").
   Scoped to .entry-content (posts and pages) so they also win over the old shortcodes
   plugin's stylesheet if a cache still serves it. */

.entry-content a.shortc-button,
a.shortc-button{
	--kmo-btn: var(--kmo-accent);
	--kmo-btn-2: var(--kmo-accent-hover);
	--kmo-btn-text: var(--kmo-on-accent);
	position: relative;
	top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: auto;
	min-height: 48px;
	min-width: 0;
	margin: 6px 4px;
	padding: 10px 22px 10px 24px;
	border: 0;
	border-radius: var(--kmo-pill);
	background: linear-gradient(135deg, var(--kmo-btn), var(--kmo-btn-2)) !important;
	color: var(--kmo-btn-text) !important;
	opacity: 1;
	font-family: var(--kmo-font);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none !important;
	text-shadow: none;
	vertical-align: middle;
	box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 24px -14px var(--kmo-btn);
	transition: transform .2s var(--kmo-ease), box-shadow .2s var(--kmo-ease), filter .2s var(--kmo-ease);
}

/* The icon at the start of the button, in the text colour: an arrow out to another site... */
.entry-content a.shortc-button::before,
a.shortc-button::before{
	content: '';
	background: currentColor;
	-webkit-mask: var(--kmo-btn-mask) center / contain no-repeat;
	mask: var(--kmo-btn-mask) center / contain no-repeat;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border-radius: 0;
	--kmo-btn-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h5v5'/%3E%3Cpath d='M20 4l-9 9'/%3E%3Cpath d='M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E");
}

/* ...and a download arrow for file hosts and archives */
.entry-content a.shortc-button:is([href*="drive.google.com/file"], [href*="drive.google.com/uc"], [href*="mediafire.com"], [href*="mega.nz"], [href*="dropbox.com"], [href*="usersdrive.com"], [href*="1drv.ms"], [href*="wetransfer.com"], [href*="pixeldrain"], [href$=".zip"], [href$=".rar"], [href$=".7z"])::before{
	--kmo-btn-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E");
}

.entry-content a.shortc-button.big,
.entry-content a.shortc-button.larg,
.entry-content a.shortc-button.large{
	min-height: 56px;
	padding: 12px 28px 12px 30px;
	font-size: 17.5px;
}

.entry-content a.shortc-button.medium{
	min-height: 48px;
	font-size: 16px;
}

.entry-content a.shortc-button.small{
	min-height: 38px;
	padding: 6px 16px;
	gap: 7px;
	font-size: 14px;
}

.entry-content a.shortc-button.small::before{
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
}

.entry-content a.shortc-button:hover{
	top: 0;
	transform: translateY(-2px);
	filter: saturate(1.08) brightness(1.04);
	box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 18px 30px -14px var(--kmo-btn);
	color: var(--kmo-btn-text) !important;
}

.entry-content a.shortc-button:active{
	top: 0;
	transform: translateY(0);
}

.entry-content a.shortc-button:focus-visible{
	outline: 3px solid color-mix(in srgb, var(--kmo-btn) 45%, transparent);
	outline-offset: 3px;
}

/* Text inside keeps the button's text colour, whatever inline colour the old editor added */
.entry-content a.shortc-button *{
	color: inherit !important;
	font-size: inherit;
	font-weight: inherit;
}

/* Icon-font spans from the old shortcode have no font here */
.entry-content a.shortc-button [class*="fa-"],
.entry-content a.shortc-button [class*="tie-icon"]{
	display: none;
}

/* Colours: the old names, redrawn in the site's palette. Red, orange and the default
   button are the main call to action, in the brand orange. */
.entry-content a.shortc-button:is(.button, .default, .orange, .red){
	--kmo-btn: var(--kmo-accent);
	--kmo-btn-2: #FF8A3D;
	--kmo-btn-text: var(--kmo-on-accent);
}

.entry-content a.shortc-button:is(.blue, .teal){
	--kmo-btn: #1D5FD6;
	--kmo-btn-2: #3B82F6;
	--kmo-btn-text: #FFFFFF;
}

.entry-content a.shortc-button:is(.purple, .violet){
	--kmo-btn: #6D35D9;
	--kmo-btn-2: #8B5CF6;
	--kmo-btn-text: #FFFFFF;
}

.entry-content a.shortc-button:is(.green, .olive){
	--kmo-btn: #13773A;
	--kmo-btn-2: #22A35A;
	--kmo-btn-text: #FFFFFF;
}

.entry-content a.shortc-button.pink{
	--kmo-btn: #C72A6E;
	--kmo-btn-2: #E0488B;
	--kmo-btn-text: #FFFFFF;
}

.entry-content a.shortc-button:is(.gray, .grey, .brown){
	--kmo-btn: #34343C;
	--kmo-btn-2: #50505A;
	--kmo-btn-text: #FFFFFF;
}

.entry-content a.shortc-button.black{
	--kmo-btn: #111114;
	--kmo-btn-2: #2A2A30;
	--kmo-btn-text: #FFFFFF;
}

.entry-content a.shortc-button.yellow{
	--kmo-btn: #F5B70A;
	--kmo-btn-2: #FFD447;
	--kmo-btn-text: #111114;
}

.entry-content a.shortc-button.white{
	--kmo-btn: var(--kmo-surface);
	--kmo-btn-2: var(--kmo-surface);
	--kmo-btn-text: var(--kmo-text);
	box-shadow: inset 0 0 0 1.5px var(--kmo-line), 0 10px 22px -16px rgba(0,0,0,.35);
}

[data-scheme="dark"] .entry-content a.shortc-button:is(.black, .gray, .grey, .brown){
	--kmo-btn: #F3F3F6;
	--kmo-btn-2: #D9D9E0;
	--kmo-btn-text: #111114;
}

/* Phones: one full-width, easy-to-tap button per line */
@media (max-width: 600px){

	.entry-content a.shortc-button,
	.entry-content a.shortc-button.big,
	.entry-content a.shortc-button.medium,
	.entry-content a.shortc-button.larg{
		display: flex;
		width: 100%;
		min-height: 52px;
		margin: 10px 0;
		padding: 12px 18px;
		font-size: 16px;
	}
}

.kmo-sc-align--center{ text-align: center; }
.kmo-sc-align--right{ text-align: right; }
.kmo-sc-align--left{ text-align: left; }

/* Boxes */
.kmo-content .box{
	--kmo-box: var(--kmo-muted);
	position: relative;
	margin: 1.5em 0;
	padding: 16px 20px;
	background: color-mix(in srgb, var(--kmo-box) 8%, var(--kmo-surface));
	border: 1px solid color-mix(in srgb, var(--kmo-box) 30%, var(--kmo-line));
	border-inline-start-width: 4px;
	border-radius: var(--kmo-radius-sm);
}

.kmo-content .box.info{     --kmo-box: #2563EB; }
.kmo-content .box.success{  --kmo-box: #16A34A; }
.kmo-content .box.warning{  --kmo-box: #D97706; }
.kmo-content .box.error{    --kmo-box: #DC2626; }
.kmo-content .box.download{ --kmo-box: #16A34A; }
.kmo-content .box.note{     --kmo-box: var(--kmo-accent); }
.kmo-content .box.shadow{
	background: var(--kmo-surface);
	border-inline-start-width: 1px;
	box-shadow: var(--kmo-shadow);
}

.kmo-content .box.aligncenter{ margin-inline: auto; }
.kmo-content .box.alignright{ float: right; margin: 0 0 1em 1.5em; }
.kmo-content .box.alignleft{ float: left; margin: 0 1.5em 1em 0; }

.kmo-content .box-inner-block > *:last-child{
	margin-bottom: 0;
}

/* Toggles */
.kmo-content .toggle{
	margin: 1em 0;
	padding: 0;
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius-sm);
	overflow: hidden;
}

.kmo-content .toggle-head{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	padding: 12px 18px;
	font-size: 17px;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.kmo-content .toggle-head::-webkit-details-marker{
	display: none;
}

.kmo-content .toggle-head::before{
	display: none;
}

.kmo-content details.toggle .toggle-head::after{
	content: '';
	width: 9px;
	height: 9px;
	border: solid currentColor;
	border-width: 0 0 2px 2px;
	transform: rotate(-45deg);
	transition: transform .2s var(--kmo-ease);
	opacity: .6;
}

.kmo-content details.toggle[open] .toggle-head::after{
	transform: rotate(135deg);
}

.kmo-content .toggle-content{
	padding: 0 18px 14px;
}

/* Small bits */
.kmo-content .dropcap{
	float: right;
	margin: 6px 0 0 12px;
	font-size: 3.2em;
	font-weight: 800;
	line-height: .9;
	color: var(--kmo-accent);
}

.kmo-content .highlight{
	padding: 1px 6px;
	border-radius: 5px;
	background: color-mix(in srgb, #FACC15 45%, transparent);
	color: inherit;
}

.kmo-content .highlight-red{ background: color-mix(in srgb, #DC2626 30%, transparent); }
.kmo-content .highlight-blue{ background: color-mix(in srgb, #2563EB 28%, transparent); }
.kmo-content .highlight-green{ background: color-mix(in srgb, #16A34A 28%, transparent); }
.kmo-content .highlight-orange{ background: color-mix(in srgb, var(--kmo-accent) 30%, transparent); }
.kmo-content .highlight-black{ background: #111114; color: #fff; }

.kmo-content .divider-dashed{ border-top-style: dashed; }
.kmo-content .divider-dotted{ border-top-style: dotted; }
.kmo-content .divider-double{ border-top: 4px double var(--kmo-line); }

.kmo-content .post-tooltip{
	border-bottom: 1px dashed currentColor;
	cursor: help;
}

.kmo-content .tie-list-shortcode ul{
	padding-inline-start: 0;
	list-style: none;
}

.kmo-content .tie-list-shortcode li{
	position: relative;
	padding-inline-start: 30px;
}

.kmo-content .tie-list-shortcode li::before{
	content: '';
	position: absolute;
	top: .55em;
	inset-inline-start: 0;
	width: 18px;
	height: 18px;
	border-radius: 6px;
	background: var(--kmo-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat, linear-gradient(#000, #000);
	-webkit-mask-composite: xor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat exclude, linear-gradient(#000, #000);
}

.kmo-content .tie-list-shortcode.starlist li::before,
.kmo-content .tie-list-shortcode.plus li::before{
	-webkit-mask: none;
	mask: none;
	width: 10px;
	height: 10px;
	top: .8em;
	border-radius: 3px;
	transform: rotate(45deg);
}

.kmo-content .tie-list-shortcode.cons li::before,
.kmo-content .tie-list-shortcode.minus li::before{
	background: #DC2626;
}


/* ---------------------------------------------------------------------------
 * 12. Post footer, navigation, related
 * ------------------------------------------------------------------------ */

.kmo-article__foot{
	display: grid;
	gap: 18px;
	padding: 0 18px 24px;
}

@media (min-width: 768px){
	.kmo-article__foot{
		padding: 0 36px 32px;
	}
}

.kmo-tags{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-top: 18px;
	border-top: 1px solid var(--kmo-line);
}

.kmo-tags__label{
	padding: 3px 12px;
	border-radius: var(--kmo-pill);
	background: var(--kmo-text);
	color: var(--kmo-bg);
	font-size: 13px;
	font-weight: 800;
}

.kmo-tags a{
	display: inline-block;
	padding: 3px 12px;
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-pill);
	background: var(--kmo-surface);
	color: var(--kmo-muted);
	font-size: 13px;
	font-weight: 500;
}

.kmo-tags a:hover{
	border-color: var(--kmo-accent);
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
}

.kmo-share--bottom{
	padding-top: 18px;
	border-top: 1px solid var(--kmo-line);
}

/* Previous / next */
.kmo-post-nav{
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	margin-top: 24px;
}

@media (min-width: 640px){
	.kmo-post-nav{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.kmo-post-nav__link{
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 12px;
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius);
	box-shadow: var(--kmo-shadow);
	color: var(--kmo-text);
}

.kmo-post-nav__link:hover{
	color: var(--kmo-text);
	box-shadow: var(--kmo-shadow-hover);
	border-color: color-mix(in srgb, var(--kmo-accent) 45%, var(--kmo-line));
}

.kmo-post-nav__link--next{
	grid-template-columns: minmax(0, 1fr) 96px;
	text-align: end;
}

.kmo-post-nav__link--next .kmo-post-nav__thumb{
	order: 2;
}

.kmo-post-nav__thumb{
	aspect-ratio: 16 / 10;
	border-radius: 10px;
}

.kmo-post-nav__body{
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.kmo-post-nav__label{
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--kmo-muted);
	font-size: 13px;
	font-weight: 700;
}

.kmo-post-nav__link--next .kmo-post-nav__label{
	justify-content: flex-end;
}

.kmo-post-nav__label .kmo-icon{
	width: 15px;
	height: 15px;
}

.kmo-post-nav__title{
	font-size: 15px;
	font-weight: 800;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.kmo-post-nav__empty{
	display: none;
}

@media (min-width: 640px){
	.kmo-post-nav__empty{
		display: block;
	}
}

.kmo-related{
	margin-top: 40px;
}

.kmo-related .kmo-card__title{
	font-size: 15.5px;
}


/* ---------------------------------------------------------------------------
 * 13. Comments and forms
 * ------------------------------------------------------------------------ */

.kmo-comments{
	margin-top: 40px;
}

.kmo-comment-list,
.kmo-comment-list .children{
	margin: 0;
	padding: 0;
	list-style: none;
}

.kmo-comment-list .children{
	margin-inline-start: 22px;
	padding-inline-start: 14px;
	border-inline-start: 2px solid var(--kmo-line);
}

.kmo-comment-list .comment-body{
	margin-bottom: 14px;
	padding: 16px 18px;
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius-sm);
}

.kmo-comment-list .bypostauthor > .comment-body{
	border-color: color-mix(in srgb, var(--kmo-accent) 55%, var(--kmo-line));
	background: color-mix(in srgb, var(--kmo-accent) 6%, var(--kmo-surface));
}

.kmo-comment-list .comment-author{
	display: flex;
	align-items: center;
	gap: 10px;
}

.kmo-comment-list .avatar{
	border-radius: 50%;
}

.kmo-comment-list .fn,
.kmo-comment-list .fn a{
	color: var(--kmo-text);
	font-style: normal;
	font-weight: 800;
}

.kmo-comment-list .says{
	display: none;
}

.kmo-comment-list .comment-metadata{
	margin: 2px 0 8px;
	font-size: 12.5px;
}

.kmo-comment-list .comment-metadata a{
	color: var(--kmo-muted);
}

.kmo-comment-list .comment-content{
	font-size: 15.5px;
	line-height: 1.9;
}

.kmo-comment-list .comment-content p:last-child{
	margin-bottom: 0;
}

.kmo-comment-list .reply a{
	display: inline-block;
	margin-top: 8px;
	padding: 2px 12px;
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-pill);
	color: var(--kmo-muted);
	font-size: 13px;
	font-weight: 700;
}

.kmo-comment-list .reply a:hover{
	border-color: var(--kmo-accent);
	color: var(--kmo-link);
}

.kmo-comments .comment-respond{
	margin-top: 20px;
	padding: 22px;
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius);
	box-shadow: var(--kmo-shadow);
}

.kmo-comments .comment-reply-title{
	font-size: 20px;
}

.kmo-comments .comment-reply-title small{
	margin-inline-start: 10px;
	font-size: 13px;
}

.kmo-comments .comment-form{
	display: grid;
	gap: 12px;
}

.kmo-comments .comment-form p{
	margin: 0;
}

.kmo-comments .comment-form label{
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 700;
}

.kmo-comments .comment-form-cookies-consent{
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
}

.kmo-comments .comment-form-cookies-consent label{
	display: inline;
	font-weight: 500;
}

.kmo-comments .comment-notes,
.kmo-comments .logged-in-as{
	color: var(--kmo-muted);
	font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select{
	width: 100%;
	padding: 10px 14px;
	background: var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: var(--kmo-radius-sm);
	color: var(--kmo-text);
	font-size: 15px;
	transition: border-color .2s var(--kmo-ease), box-shadow .2s var(--kmo-ease);
}

input:focus,
textarea:focus,
select:focus{
	outline: 0;
	border-color: var(--kmo-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--kmo-accent) 18%, transparent);
}

textarea{
	min-height: 140px;
	resize: vertical;
}

.comments-pagination,
.comment-navigation .nav-links{
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-block: 14px;
	font-weight: 700;
}


/* ---------------------------------------------------------------------------
 * 14. Footer: dark in both schemes
 * ------------------------------------------------------------------------ */

.kmo-footer{
	position: relative;
	margin-top: 40px;
	padding-top: 44px;
	background: #0B0B0E;
	color: #A3A3B0;
	font-size: 15px;
	--kmo-text: #F3F3F6;
	--kmo-muted: #A3A3B0;
	--kmo-line: #23232B;
	--kmo-surface: #141418;
	--kmo-surface-2: #1B1B21;
	--kmo-link: #FF8A50;
	color-scheme: dark;
}

.kmo-footer::before{
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 2px;
	background: linear-gradient(to left, transparent, var(--kmo-accent) 30%, var(--kmo-accent) 70%, transparent);
}

.kmo-footer__top{
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 30px;
	padding-bottom: 32px;
}

@media (min-width: 768px){
	.kmo-footer__top{
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}

	.kmo-footer__brand{
		max-width: 380px;
	}
}

.kmo-footer .kmo-logo a{
	color: #F3F3F6;
}

.kmo-footer__about{
	margin: 14px 0 16px;
	line-height: 1.9;
}

.kmo-footer .kmo-widget{
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.kmo-footer .kmo-widget + .kmo-widget{
	margin-top: 22px;
}

.kmo-footer .kmo-widget__title{
	color: #F3F3F6;
}

.kmo-footer a{
	color: #D4D4DC;
}

.kmo-footer a:hover{
	color: var(--kmo-accent);
}

.kmo-footer__bottom{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	padding-block: 18px 22px;
	padding-inline-end: 64px; /* room for the back-to-top button */
	border-top: 1px solid #1F1F26;
	color: #8B8B98;
	font-size: 13.5px;
}

.kmo-footer__copy{
	margin: 0;
}

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

.kmo-footer-menu a{
	font-weight: 700;
}

/* Social links */
.kmo-social{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.kmo-social__link{
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--kmo-surface-2);
	color: var(--kmo-text);
}

.kmo-social__link .kmo-icon{
	width: 18px;
	height: 18px;
}

.kmo-social__link:hover{
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
	transform: translateY(-2px);
}

.kmo-footer .kmo-social__link{
	background: #16161B;
	color: #D4D4DC;
}

.kmo-footer .kmo-social__link:hover{
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
}

.kmo-social--header .kmo-social__link{
	width: 36px;
	height: 36px;
	background: transparent;
}

/* Back to top */
.kmo-to-top{
	position: fixed;
	bottom: 20px;
	inset-inline-end: 20px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 14px;
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
	box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--kmo-accent) 80%, transparent);
}

.kmo-to-top[hidden]{
	display: none;
}

.kmo-to-top:hover{
	background: var(--kmo-accent-hover);
}

@media (max-width: 767px){
	.kmo-to-top{
		bottom: 16px;
		inset-inline-end: 14px;
		width: 42px;
		height: 42px;
	}
}


/* ---------------------------------------------------------------------------
 * 15. Ads, 404, utilities
 * ------------------------------------------------------------------------ */

.kmo-ad{
	display: block;
	clear: both;
	width: 100%;
	margin: 24px auto;
	text-align: center;
	overflow: hidden;
}

.kmo-ad--header{
	margin-top: 18px;
	margin-bottom: 0;
}

.kmo-ad--footer{
	margin-bottom: 0;
}

.kmo-content .kmo-ad{
	margin: 1.6em auto;
}

.kmo-ad ins{
	max-width: 100%;
}

/* 404 */
.kmo-404__box{
	max-width: 640px;
	margin: 24px auto 0;
	padding: 36px 24px;
	text-align: center;
	background:
		radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--kmo-accent) 16%, transparent), transparent 65%),
		var(--kmo-surface);
	border: 1px solid var(--kmo-line);
	border-radius: calc(var(--kmo-radius) + 4px);
	box-shadow: var(--kmo-shadow);
}

.kmo-404__code{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin: 0 0 6px;
	font-size: clamp(72px, 14vw, 120px);
	font-weight: 800;
	line-height: 1;
	direction: ltr;
}

.kmo-404__code span{
	display: inline-grid;
	place-items: center;
	width: .82em;
	height: .82em;
	border-radius: .22em;
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
}

.kmo-404__code .kmo-icon{
	width: .5em;
	height: .5em;
}

.kmo-404__title{
	font-size: clamp(22px, 3vw, 30px);
}

.kmo-404__text{
	color: var(--kmo-muted);
}

.kmo-404__box .kmo-search-form{
	max-width: 480px;
	margin: 18px auto;
}

/* WordPress core classes */
.sticky{ position: relative; }
.gallery-caption{ font-size: 13px; }
.bypostauthor{ display: block; }

.wp-block-search__button{
	border: 0;
	border-radius: var(--kmo-pill);
	background: var(--kmo-accent);
	color: var(--kmo-on-accent);
	font-weight: 800;
}


/* ---------------------------------------------------------------------------
 * 16. Motion and print
 * ------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce){

	*,
	*::before,
	*::after{
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		scroll-behavior: auto !important;
	}

	.kmo-card:hover,
	.kmo-card:hover .kmo-card__media img,
	.kmo-row:hover .kmo-row__media img,
	.kmo-mini:hover .kmo-mini__media img,
	.kmo-hero:hover .kmo-hero__media img{
		transform: none;
	}
}

@media print{

	.kmo-header,
	.kmo-drawer,
	.kmo-progress,
	.kmo-share,
	.kmo-ad,
	.kmo-related,
	.kmo-post-nav,
	.kmo-comments,
	.kmo-footer,
	.kmo-to-top,
	.kmo-breadcrumbs{
		display: none !important;
	}

	body,
	.kmo-article{
		background: #fff;
		color: #000;
		border: 0;
		box-shadow: none;
	}
}
