/*
Theme Name: Talantit
Description: Тема проекта «Талантит».
Author: Talantit
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: talantit
Update URI: false
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * Link styles
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 */
:where(pre) {
	overflow-x: auto;
}

/* Кнопка с лазурной окантовкой в стиле иконки */
.btn-sky-outline {
	background-color: rgba(14, 165, 233, 0.1) !important;
	border: 1px solid rgba(14, 165, 233, 0.4) !important;
	color: #ffffff !important;
	box-shadow: 0 0 15px rgba(14, 165, 233, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-sky-outline:hover {
	background-color: rgba(14, 165, 233, 0.22) !important;
	border-color: rgba(56, 189, 248, 0.85) !important;
	color: #ffffff !important;
	box-shadow: 0 0 25px rgba(14, 165, 233, 0.35), 0 6px 18px rgba(0, 0, 0, 0.4) !important;
}
.btn-sky-outline:active {
	background-color: rgba(14, 165, 233, 0.3) !important;
	border-color: #38bdf8 !important;
}
.btn-sky-outline svg,
.btn-sky-outline i {
	color: #38bdf8 !important;
}

/* Выравнивание отступа бейджа над заголовками */
.section-badge-pill,
.space-y-5 > div.inline-flex.rounded-full:first-child,
.space-y-5 > div.inline-flex.rounded-full {
	margin-bottom: 0 !important;
	margin-block-end: 0 !important;
}

/* Плитка с заголовком первого блока Hero: отступ ровно 35px и выравнивание по уровню переключателя слайдов */
.hero-title-tile {
	padding: 35px !important;
	height: auto !important;
}

@media (min-width: 1024px) {
	.hero-title-tile {
		align-self: flex-end !important;
		margin-bottom: 24px !important;
	}
}
