/**
 * Entrepreneur Magazine — Roboto + typographie plus sobre.
 * Ne pas modifier les icônes (Font Awesome / akfi).
 */

body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.ak-post-title,
.ak-post-summary,
.ak-post-content,
.ak-post-meta,
.ak-module-title,
.ak-module-summary,
.ak-module-meta,
.ak-block-title,
.ak-block-tabs a,
.ak-breadcrumb li,
.ak-header-main-menu > .ak-menu > li > a,
.ak-top-menu > li > a,
.ak-footer-copyright,
.ak-footer-menu > li > a,
.ak-post-wrap .wp-block-quote p,
.ak-post-wrap .wp-block-pullquote blockquote p,
.ak-post-wrap .wp-block-quote cite,
.ak-post-wrap .wp-block-pullquote blockquote cite {
	font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
}

body {
	font-weight: 400;
	letter-spacing: 0.01em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	color: #1c1c1c;
}

::selection {
	background: rgb(30, 115, 190);
	color: #fff;
	text-shadow: none;
}

::-moz-selection {
	background: rgb(30, 115, 190);
	color: #fff;
	text-shadow: none;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-weight: 500 !important;
	letter-spacing: -0.015em;
	color: #141414;
}

.ak-post-wrap .ak-post-title,
body.page .ak-post-title,
.ak-post-title {
	font-size: 36px !important;
	font-weight: 500 !important;
	line-height: 1.22 !important;
	letter-spacing: -0.02em !important;
	color: #121212;
}

.ak-post-summary {
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
	letter-spacing: 0 !important;
	color: #444;
}

.ak-post-content {
	font-size: 17px !important;
	line-height: 1.75 !important;
}

.ak-post-content p,
.ak-post-content .wp-block-paragraph {
	text-align: justify;
	text-justify: inter-word;
	-webkit-hyphens: auto;
	hyphens: auto;
	overflow-wrap: break-word;
}

.ak-post-content h1,
.ak-post-content h2,
.ak-post-content h3,
.ak-post-content h4,
.ak-post-content h5,
.ak-post-content h6,
.ak-post-content ul,
.ak-post-content ol,
.ak-post-content li,
.ak-post-content blockquote,
.ak-post-content pre,
.ak-post-content table,
.ak-post-content .wp-block-quote,
.ak-post-content .wp-block-pullquote,
.ak-post-content blockquote p,
.ak-post-content .wp-block-quote p,
.ak-post-content .wp-block-pullquote p {
	text-align: start;
	-webkit-hyphens: none;
	hyphens: none;
}

.ak-post-content img,
.ak-post-content video,
.ak-post-content iframe {
	max-width: 100%;
	height: auto;
}

.ak-post-content figure,
.ak-post-content .wp-block-image,
.ak-post-content .wp-caption,
.ak-post-content .gallery,
.ak-post-content .wp-block-gallery,
.ak-post-content .wp-block-media-text,
.ak-post-content .wp-block-embed,
.ak-post-content .wp-block-video,
.ak-post-content .wp-block-audio,
.ak-post-content .wp-block-cover {
	text-align: initial;
}

.ak-post-content p:has(> img:only-child),
.ak-post-content p:has(> a:only-child > img) {
	text-align: inherit;
}

.ak-post-content .aligncenter,
.ak-post-content figure.aligncenter,
.ak-post-content .wp-block-image.aligncenter,
.ak-post-content img.aligncenter {
	text-align: center;
	float: none;
}

.ak-post-content .alignleft,
.ak-post-content figure.alignleft,
.ak-post-content .wp-block-image.alignleft,
.ak-post-content img.alignleft {
	float: left;
	text-align: left;
}

.ak-post-content .alignright,
.ak-post-content figure.alignright,
.ak-post-content .wp-block-image.alignright,
.ak-post-content img.alignright {
	float: right;
	text-align: right;
}

.ak-post-content figcaption,
.ak-post-content .wp-caption-text,
.ak-post-content .gallery-caption {
	text-align: center;
	-webkit-hyphens: none;
	hyphens: none;
}

.ak-post-content .alignleft figcaption,
.ak-post-content .alignleft .wp-caption-text {
	text-align: left;
}

.ak-post-content .alignright figcaption,
.ak-post-content .alignright .wp-caption-text {
	text-align: right;
}

.ak-post-wrap .wp-block-quote p,
.ak-post-wrap .wp-block-pullquote blockquote p {
	font-size: 22px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
}

.ak-module .ak-module-title,
.ak-module.ak-module-1-medium .ak-module-title,
.ak-module.ak-module-2 .ak-module-title {
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.32 !important;
	letter-spacing: -0.015em;
}

.ak-module.ak-module-6 .ak-module-title {
	font-size: 26px !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
}

.ak-module.ak-module-10 .ak-module-title {
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
}

.ak-module.ak-module-grid-big .ak-module-title {
	font-size: 22px !important;
	font-weight: 500 !important;
	line-height: 1.28 !important;
}

.ak-module.ak-module-grid-tall .ak-module-title {
	font-size: 20px !important;
	font-weight: 500 !important;
	line-height: 1.28 !important;
}

.ak-module .ak-module-summary {
	font-size: 14px;
	line-height: 1.5;
	color: #4a4a4a;
}

.ak-module .ak-module-meta,
.ak-module-meta .ak-module-author a:after {
	font-size: 12px !important;
	font-weight: 400 !important;
	letter-spacing: 0.01em;
}

.ak-block-header .ak-block-title {
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase;
	line-height: 1.3 !important;
}

.ak-header-main-menu > .ak-menu > li > a {
	font-size: 15px !important;
	font-weight: 500 !important;
	letter-spacing: 0.02em !important;
}

.ak-breadcrumb li {
	font-size: 13px !important;
	font-weight: 400 !important;
}

.ak-module:not(.ak-module-grid) .ak-module-title a {
	text-decoration-thickness: 0.06em;
	text-underline-offset: 0.18em;
	transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

@media only screen and (max-width: 992px) {
	.ak-post-wrap .ak-post-title,
	body.page .ak-post-title,
	.ak-post-title {
		font-size: 30px !important;
	}

	.ak-module.ak-module-6 .ak-module-title {
		font-size: 22px !important;
	}
}

@media only screen and (max-width: 768px) {
	.ak-post-wrap .ak-post-title,
	body.page .ak-post-title,
	.ak-post-title {
		font-size: 26px !important;
	}

	.ak-post-summary {
		font-size: 16px !important;
	}
}

/* Footer : crédit + menu catégories */
.ak-footer-wrap .ak-mid-bar .ak-row {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 4px 16px;
}

.ak-footer-wrap .ak-mid-bar .ak-row > .ak-column {
	width: auto !important;
	flex: 0 1 auto !important;
	margin: 0 !important;
}

.ak-footer-wrap .ak-mid-bar .ak-row > .ak-column > .ak-inner-row {
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
}

.ak-footer-wrap .ak-footer-copyright {
	font-size: 12px !important;
	line-height: 1.4 !important;
	text-align: left !important;
	white-space: nowrap;
}

.ak-footer-wrap .ak-footer-menu-container {
	width: auto !important;
}

.ak-footer-wrap .ak-footer-menu.ak-menu {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	width: auto !important;
	text-align: left !important;
	margin: 0;
	padding: 0;
}

.ak-footer-wrap .ak-footer-menu > li {
	float: none !important;
	display: inline-flex !important;
	align-items: center !important;
	width: auto !important;
	position: relative;
}

.ak-footer-wrap .ak-footer-menu > li > a {
	font-size: 12px !important;
	line-height: 1.4 !important;
	padding: 0 !important;
	margin: 0 10px 0 0 !important;
	white-space: nowrap;
}

.ak-footer-wrap .ak-footer-menu .sub-menu,
.ak-footer-wrap .ak-footer-menu .ak-sub-menu {
	position: absolute !important;
	left: 0;
	right: auto;
	bottom: 100%;
	top: auto;
	display: none;
	z-index: 30;
	min-width: 160px;
}

.ak-footer-wrap .ak-footer-menu > li:hover > .sub-menu,
.ak-footer-wrap .ak-footer-menu > li:hover > .ak-sub-menu {
	display: block;
}

@media only screen and (max-width: 767px) {
	.ak-footer-wrap .ak-mid-bar .ak-row {
		justify-content: center !important;
		text-align: center;
	}

	.ak-footer-wrap .ak-mid-bar .ak-row > .ak-column {
		width: 100% !important;
		flex: 1 1 100% !important;
		margin: 0 !important;
	}

	.ak-footer-wrap .ak-mid-bar .ak-row > .ak-column > .ak-inner-row {
		justify-content: center !important;
	}

	.ak-footer-wrap .ak-footer-copyright {
		text-align: center !important;
		white-space: normal;
	}

	.ak-footer-wrap .ak-footer-menu-container,
	.ak-footer-wrap .ak-footer-menu.ak-menu {
		justify-content: center !important;
		text-align: center !important;
		width: 100% !important;
	}

	.ak-footer-wrap .ak-footer-menu > li > a {
		margin: 4px 8px !important;
	}
}
