/*
Theme Name: Medley
Theme URI: https://wowthemes.net/themes/medley-wordpress/
Author: WowThemes
Author URI: https://wowthemes.net/
Description: A premium blogging Medium styled theme with Easy Digital Downloads store support.
Version: 1.0.28
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: medley

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

The default CSS files are enqueued inside the functions.php file. You can add anything you want to customize here.
*/

/* ========================================================================== */
/* Hero Intro (Latest Post)                                                   */
/* ========================================================================== */

/* Layout */
.intro-latest-post {
	height: 100%;
}

.intro-latest-post__link {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.intro-latest-post__media {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 500px;
	overflow: hidden;
}

.intro-latest-post__media img {
	width: 100%;
	height: 650px;
	object-fit: cover;
	display: block;
}

.intro-latest-post__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 32px 32px 36px;
	background: linear-gradient(180deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.05) 45%,
		rgba(0, 0, 0, 0.35) 70%,
		rgba(0, 0, 0, 0.9) 100%);
	color: #fff;
}

@media (min-width: 992px) {
	.intro-latest-post__media {
		min-height: 650px;
	}
}

@media (max-width: 767.98px) {
	.intro-latest-post__media {
		height: 320px;
		margin-top: 32px;
	}

	.intro-latest-post__overlay {
		padding: 24px;
	}

	.intro-latest-post__title {
		font-size: 1.1rem;
	}
}

/* Category & Title Links */
.intro-latest-post__category {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
	display: inline-block;
	opacity: 0.5;
	text-decoration: none;
}

.intro-latest-post__category:hover,
.intro-latest-post__category:focus-visible {
	opacity: 0.75;
	text-decoration: underline;
	color: inherit;
}

.intro-latest-post__title {
	font-size: 1.35rem;
	line-height: 1.3;
	margin: 0;
	color: #fff;
}

.intro-latest-post__title-link {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95));
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0% 2px;
	transition: background-size 0.3s ease;
}

.intro-latest-post__title-link:hover,
.intro-latest-post__title-link:focus-visible {
	color: inherit;
	background-size: 100% 2px;
}

/* Category Cloud */
.intro-category-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.intro-category-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 15px;
	border: 1.5px solid rgba(0, 0, 0, 0.45);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(0, 0, 0, 0.65);
	background: transparent;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
}

.intro-category-chip:hover,
.intro-category-chip:focus-visible {
	color: #000;
	border-color: #000;
	background: rgba(255, 255, 255, 0.1);
}

/* ========================================================================== */
/* Post Typography & Content Tweaks                                          */
/* ========================================================================== */

.wows-post-title a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0% 2px;
	transition: background-size 0.3s ease;
}

.wows-post-title a:hover {
	background-size: 100% 2px;
}

.wrap-logo-header a:hover {
	color: inherit;
}

.has-drop-cap:not(:focus):first-letter {
	font-size: 3.4em !important;
	line-height: 1;
	font-family: Georgia, serif;
}

.card-style2.wows-post .card-text {
	line-height: 1.4;
}

.single-post .wows-post-title {
	line-height: 1.15;
}

.wows-post .card-text.bigger-excerpt {
	font-size: 1.05rem;
}

.wows-post .card-text.biggest-excerpt {
	font-size: 1.15rem;
}

.wows-post .wows-post-meta-categories a {
	opacity: 0.8;
}

.single-post .wows-post-meta-categories a,
.wows-post-meta-tags a {
	border: 1px solid rgba(0, 0, 0, 0.25);
	padding: 6px 15px;
	border-radius: 30px;
	margin-right: 5px;
	line-height: 1;
}

/* ========================================================================== */
/* Applause Button Overrides                                                 */
/* ========================================================================== */

.intro-latest-post .pt-claps-applause,
.card-style1 .pt-claps-applause,
.card-style2 .pt-claps-applause,
.card-style3 .pt-claps-applause,
.card-style4 .pt-claps-applause {
	height: 45px;
	width: 45px;
	margin: 16px 0;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.12);
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.85);
	transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
	position: relative;
}

.intro-latest-post .pt-claps-applause,
.intro-latest-post .pt-claps-applause:hover {
	background: transparent;
	border: 1px solid #fff;
}

.intro-latest-post .pt-claps-applause:hover,
.card-style1 .pt-claps-applause:hover,
.card-style2 .pt-claps-applause:hover,
.card-style3 .pt-claps-applause:hover,
.card-style4 .pt-claps-applause:hover {
	border-color: rgba(0, 0, 0, 0.45);
	transform: translateY(-2px);
}

.intro-latest-post .pt-claps-applause .claps-button:before,
.card-style1 .pt-claps-applause .claps-button:before,
.card-style2 .pt-claps-applause .claps-button:before,
.card-style3 .pt-claps-applause .claps-button:before,
.card-style4 .pt-claps-applause .claps-button:before {
	content: none !important;
	display: none !important;
}

.intro-latest-post .pt-claps-applause .claps-button,
.card-style1 .pt-claps-applause .claps-button,
.card-style2 .pt-claps-applause .claps-button,
.card-style3 .pt-claps-applause .claps-button,
.card-style4 .pt-claps-applause .claps-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #27ae60;
	text-decoration: none;
	background: transparent;
	border: 0;
	position: relative;
	margin-top: 0;
}

.intro-latest-post .pt-claps-applause .claps-button,
.intro-latest-post .pt-claps-applause.has_rated .claps-button {
	color: #fff;
}

.card-style1 .pt-claps-applause.has_rated .claps-button,
.card-style2 .pt-claps-applause.has_rated .claps-button,
.card-style3 .pt-claps-applause.has_rated .claps-button,
.card-style4 .pt-claps-applause.has_rated .claps-button {
	color: #1c9963;
}

.intro-latest-post .pt-claps-applause .claps-icon-svg,
.card-style1 .pt-claps-applause .claps-icon-svg,
.card-style2 .pt-claps-applause .claps-icon-svg,
.card-style3 .pt-claps-applause .claps-icon-svg,
.card-style4 .pt-claps-applause .claps-icon-svg {
	width: 35px;
	height: 35px;
	margin-right: 0;
	display: block;
}

.intro-latest-post .pt-claps-applause.has_rated .claps-icon-svg,
.card-style1 .pt-claps-applause.has_rated .claps-icon-svg,
.card-style2 .pt-claps-applause.has_rated .claps-icon-svg,
.card-style3 .pt-claps-applause.has_rated .claps-icon-svg,
.card-style4 .pt-claps-applause.has_rated .claps-icon-svg {
	color: #1c9963;
}

.intro-latest-post .pt-claps-applause.has_rated .claps-icon-svg {
	color: #fff;
}

.intro-latest-post .pt-claps-applause.has_rated .claps-icon-svg--filled,
.card-style1 .pt-claps-applause.has_rated .claps-icon-svg--filled,
.card-style2 .pt-claps-applause.has_rated .claps-icon-svg--filled,
.card-style3 .pt-claps-applause.has_rated .claps-icon-svg--filled,
.card-style4 .pt-claps-applause.has_rated .claps-icon-svg--filled {
	color: #afafaf;
}

.intro-latest-post .pt-claps-applause.has_rated .claps-icon-svg--filled {
	color: #fff;
}

.intro-latest-post .pt-claps-applause .claps-count,
.card-style1 .pt-claps-applause .claps-count,
.card-style2 .pt-claps-applause .claps-count,
.card-style3 .pt-claps-applause .claps-count,
.card-style4 .pt-claps-applause .claps-count {
	position: absolute;
	right: -26px;
	top: 7px;
	transform: translateX(-50%);
	font-size: 0.75rem;
	opacity: 0.8;
}

.intro-latest-post .pt-claps-applause .claps-count {
	color: #fff !important;
}

.intro-latest-post .pt-claps-applause .lovedit,
.card-style1 .pt-claps-applause .lovedit,
.card-style2 .pt-claps-applause .lovedit,
.card-style3 .pt-claps-applause .lovedit,
.card-style4 .pt-claps-applause .lovedit {
	left: 50%;
	transform: translateX(-50%);
}

.intro-latest-post .pt-claps-applause .screen-reader-text,
.card-style1 .pt-claps-applause .screen-reader-text,
.card-style2 .pt-claps-applause .screen-reader-text,
.card-style3 .pt-claps-applause .screen-reader-text,
.card-style4 .pt-claps-applause .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* ========================================================================== */
/* Header Navigation & Social Icons                                          */
/* ========================================================================== */

.header-secondary-nav__list {
	list-style: none;
	display: flex;
	gap: 18px;
}

.header-secondary-nav__list > li {
	margin: 0;
	position: relative;
}

.header-secondary-nav__list > li::after {
	content: '';
	position: absolute;
	right: -9px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 18px;
	background-color: rgba(0, 0, 0, 0.25);
}

.header-secondary-nav__list > li:last-child::after {
	display: none;
}

.header-secondary-nav__list a {
	font-size: 0.95rem;
	font-weight: 500;
	color: rgba(0, 0, 0, 0.85);
	opacity: 0.6;
	text-decoration: none;
	transition: color 0.2s ease;
}

.header-secondary-nav__list a:hover,
.header-secondary-nav__list a:focus-visible {
	color: #000;
}

.wows-header .header-social {
	gap: 20px;
}

.wows-header .header-social .fab {
	margin-right: 0;
}

/* ========================================================================== */
/* Miscellaneous Adjustments                                                 */
/* ========================================================================== */

.archive.category .wows-post-meta-categories {
	display: none;
}