/*
 * Theme Name:  Cadi Blog
 * Theme URI:   https://nividata.com/
 * Description: Cadi Blog Child Theme
 * Author:      Nividata Consultancy
 * Author URI:  https://nividata.com/
 * Template:    swyft
 * Version:     1.0.0
*/

:root,
[data-scheme="light"] {
	--cs-layout-background: #f8f8f8;
	--cs-heading-1-font-size: 3.5rem;
	--cs-heading-2-font-size: 2rem;
	--cs-heading-3-font-size: 1.625rem;
	--cs-heading-4-font-size: 1.625rem;
	--cs-heading-5-font-size: 1.5rem;
	--cs-heading-6-font-size: 1.375rem;
	--cs-header-initial-height: 140px;
}

.cs-header__inner-desktop .cs-header__logo img {
	width: auto;
	height: 36px;
}

.cs-entry__post-meta .cs-meta-author-avatar {
	display: none;
}

.widget_categories ul li:not(:first-child),
.widget_pages ul li:not(:first-child),
.widget_archive ul li:not(:first-child),
.widget_meta ul li:not(:first-child) {
	border-top: 0;
}
.widget_recent_entries li:not(:last-child) {
	border-bottom: 0;
}
.widget_block .wp-block-heading {
	font-size: 20px;
}
.wp-block-group.is-style-cs-about {
	background: url("https://cadime.ai/home/typing-sec-bg.png") 50% / cover
		no-repeat;
	position: relative;
	background-position: 20%;
}
body.cadi-blog-child .wp-block-group.is-style-cs-about::before {
	content: "";
	display: none;
	position: absolute;
	width: calc(100% - 16px);
	height: calc(100% - 16px);
	background: #fff;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 18px;
	opacity: 0.8;
}
.wp-block-group.is-style-cs-about > div {
	position: relative;
	z-index: 1;
}
.wp-block-group.is-style-cs-about p {
	font-size: 18px;
	font-weight: 500;
	color: #000;
	font-weight: 400;
}
.wp-block-group.is-style-cs-about img {
	width: 90px;
	margin-bottom: 18px;
}
.wp-block-group.is-style-cs-about .wp-block-buttons {
	margin-top: 20px;
}
button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled),
body .wp-block-button .wp-block-button__link,
body .wp-block-search .wp-block-search__button {
	font-weight: 500;
	padding: 9px 18px;
	height: auto;
}
body
	.wp-block-search:not(.wp-block-search__button-inside)
	.wp-block-search__button {
	min-height: max-content;
}
body .cs-posts-area__pagination .cs-load-more:hover {
	background: #262626 !important;
	color: #fff !important;
	border-color: #262626 !important;
}
.wp-block-search .wp-block-search__input {
	padding: 11px 17px;
	min-height: max-content;
}
.is-style-cs-tiles > li > a {
	border-radius: 8px;
}
.is-style-cs-tiles > li > a:hover {
	background: #000;
	color: #fff;
}
.cs-hero-type-1 .cs-entry__subtitle {
	display: none;
}
.cs-entry__post-meta .cs-meta-category .post-categories a {
	border-radius: 8px;
}
.cs-entry__post-meta .cs-meta-category .post-categories a:hover {
	background: #000;
	border-color: #000;
	color: #fff;
}
.cs-entry__tags {
	display: none;
}
.single .cs-entry__comments .cs-entry__comments-inner {
	padding: 3rem;
}
.archive .cs-page__header {
	max-width: 1100px;
}
body #page {
	background: url("https://cadime.ai/home/hero-bg.png") top / cover no-repeat;
	background-size: 100%;
}
.cs-site-content,
.cs-entry__header-standard {
	margin-top: 0;
}
html[lang] {
	margin-top: 0 !important;
}
/* Responsive begin */
@media (max-width: 991px) {
	:root,
	[data-scheme="light"] {
		--cs-header-initial-height: 95px;
	}
	.cs-hero-type-1:not(:last-child) {
		margin-bottom: 0;
	}
	.cs-hero-type-1__button-next,
	.cs-hero-type-1__button-prev {
		width: 2rem;
		height: 2rem;
	}
}

@media (min-width: 1660px) {
	body.single .entry-content {
		max-width: 100%;
	}
}

@media (min-width: 992px) {
	.cs-hero-type-1 .cs-entry__post-meta:last-child:not(:first-child) {
		margin-top: 17px;
	}
}

@media (min-width: 1200px) {
	.cs-container {
		max-width: 1440px;
	}
}
