/*
Theme Name: Unicamp Child
Theme URI: https://unicamp.thememove.com/
Author: ThemeMove
Author URI: https://thememove.com/
Version: 1.0.3
Template: unicamp
Text Domain: unicamp-child
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

/* Tutor LMS custom fields — sidebar card */
.tlcf-sidebar-content {
	margin-bottom: 16px;
}

.tlcf-sidebar-content .tlcf-row {
	display: flex;
	gap: 12px;
}

.tlcf-sidebar-content .tlcf-row:not(:first-child) {
	margin-top: 8px;
}

.tlcf-sidebar-content .tlcf-label {
	font-weight: 700;
	color: #222;
	min-width: 70px;
}

.tlcf-sidebar-content .tlcf-value {
	color: #888;
}

.tlcf-sidebar-content .tlcf-row--price .tlcf-value,
.tlcf-sidebar-content .tlcf-price {
	color: #d0342c;
	font-weight: 700;
}

.tlcf-sidebar-content .tlcf-row--info {
	margin-top: 24px !important;
}

.tlcf-sidebar-content .tlcf-row--info .tlcf-label {
	display: none;
}

.tutor-price-preview-box > *:not(.tlcf-sidebar-content) {
	display: none;
}

.tutor-single-course-sidebar:not(:has(.tlcf-sidebar-content)) {
	display: none !important;
}

/* Single course (layout 01): below lg, show the sidebar (price preview box)
   right under the course title/lead info instead of after the main content. */
.single-courses.single-course-01
	.tutor-full-width-course-body
	> .container
	> .row
	> .col-lg-4 {
	@media (max-width: 991px) {
		order: -1;
	}
}

.course-loop-wrapper .course-loop-badges {
	display: none;
}

.wpcf7-response-output:empty {
	display: none;
}

.course-loop-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;

	@media screen and (max-width: 768px) {
		font-size: 18px;
	}
}

.course-loop-date {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: #888;
}

.course-loop-date-label {
	font-weight: 500;
	color: #222;
}

.course-loop-date-value {
	display: inline-block;
	white-space: nowrap;
}

.course-loop-price .price {
	font-size: 14px;
	font-weight: 500;
}

.single-courses.single-course-01 .tutor-single-course-lead-info {
	@media (min-width: 992px) {
		min-height: 220px;
	}
}

.page-title-bar-fixed .page-title-bar-inner {
	@media screen and (max-width: 992px) {
		position: relative;
	}
}

.tlcf-benefits-preview-box {
	margin-top: 6px;
}

.tlcf-row.tlcf-row--benefits {
	display: block;
}

.tlcf-row--benefits .tlcf-label {
	margin-bottom: 4px;
}

.tlcf-row--benefits p {
	line-height: 1.65;
}

.tutor-single-course-lead-info .tutor-course-badges-wrap {
	display: none !important;
}

.hidden-fields-container {
	border: none !important;
}

.tutor-question-and-answer-wrap {
	display: none !important;
}

.tutor-single-course-segment.tutor-attachments-wrap {
	display: none !important;
}

.tutor-course-details-content .tutor-segment-title {
	display: none;
}

.has-cat-banner.tax-course-category .page-title-bar-01 .page-title-bar-bg,
.has-cat-banner.tax-course-location .page-title-bar-01 .page-title-bar-bg {
	background-image: var(--uc-cat-banner) !important;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.has-cat-banner.single-courses.single-course-01 .tutor-course-top-info {
	background-image:
		linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
		var(--uc-cat-banner) !important;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.has-cat-banner.tax-course-category .insight_core_breadcrumb li:last-child,
.has-cat-banner.tax-course-location .insight_core_breadcrumb li:last-child,
.has-cat-banner.single-courses.single-course-01
	.insight_core_breadcrumb
	li:last-child,
.has-cat-banner.single-courses.single-course-01 .tutor-course-header-h1,
.has-cat-banner.tax-course-category .page-title-bar-01 .heading,
.has-cat-banner.tax-course-location .page-title-bar-01 .heading {
	color: #fff !important;
}

.has-cat-banner.single-courses.single-course-01
	.tutor-course-header-categories
	a:hover,
.has-cat-banner.single-courses.single-course-01
	.tutor-course-header-categories
	a:focus {
	color: #fff !important;
}

.has-cat-banner.single-courses .page-title-bar-04 .page-title-bar-inner {
	@media (max-width: 1199px) {
		padding-top: 16px;
		padding-bottom: 16px;
	}
}

.has-cat-banner.single-courses.single-course-01
	.insight_core_breadcrumb
	li:last-child {
	@media (max-width: 992px) {
		color: #000 !important;
	}
}

.page-title-bar-01 .page-title-bar-inner {
	@media screen and (max-width: 1200px) {
		padding-top: 24px !important;
	}
}

.unicamp-mailchimp-form input[type='email']::-webkit-input-placeholder {
	color: #9b9b9b !important;
}

body.search .unicamp-blog.unicamp-grid-wrapper .post-item .post-thumbnail {
	height: 100px;
}

.unicamp-blog.unicamp-grid-wrapper .post-item .post-thumbnail {
	height: 150px;
	overflow: hidden;
}

.unicamp-blog.unicamp-grid-wrapper .post-item .post-thumbnail > a {
	display: block;
	height: 100%;
}

.unicamp-blog.unicamp-grid-wrapper .post-item .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.unicamp-blog.unicamp-grid-wrapper .post-item .post-thumbnail--placeholder {
	background-color: #e5e5e5;
}

/* .unicamp-blog.unicamp-grid-wrapper .post-categories--empty {
	min-height: 26px;
} */

.wp-singular .page-content a[href]:not([class]) {
	color: #cb4040;
}

.wp-singular .page-content a[href]:not([class]):hover {
	color: #ae152d;
}
