/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme/
Description: Child theme for Betheme
Author: Muffin group
Author URI: https://muffingroup.com/
Template: betheme
Version: 1.0.0
Text Domain: betheme-child
*/

/* ==========================================================================
   Tale Floating Webcam Button (Native replacement for float-menu-pro)
   ========================================================================== */

.tale-floating-webcam {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10100;
}

.tale-floating-webcam a {
	display: flex;
	align-items: center;
	background: rgba(17, 219, 64, 0.75);
	height: 48px;
	text-decoration: none !important;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	transition: background 0.25s ease, box-shadow 0.25s ease;
}

.tale-floating-webcam a:hover,
.tale-floating-webcam a:focus {
	background: rgba(14, 186, 54, 0.9);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.tale-floating-webcam .tale-fw-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	color: rgba(255, 255, 255, 0.85);
	flex-shrink: 0;
	transition: color 0.25s ease;
}

.tale-floating-webcam a:hover .tale-fw-icon,
.tale-floating-webcam a:focus .tale-fw-icon {
	color: #ffffff;
}

.tale-floating-webcam .tale-fw-icon svg {
	display: block;
	width: 24px;
	height: 24px;
}

.tale-floating-webcam .tale-fw-label {
	max-width: 0;
	opacity: 0;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.95);
	font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 48px;
	padding: 0;
	overflow: hidden;
	transition: max-width 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease, padding 0.35s ease;
}

.tale-floating-webcam a:hover .tale-fw-label,
.tale-floating-webcam a:focus .tale-fw-label {
	max-width: 120px;
	opacity: 1;
	padding-right: 18px;
	padding-left: 2px;
}

@media only screen and (max-width: 768px) {
	.tale-floating-webcam {
		top: 45%;
	}
	.tale-floating-webcam a {
		height: 42px;
	}
	.tale-floating-webcam .tale-fw-icon {
		width: 42px;
		height: 42px;
	}
	.tale-floating-webcam .tale-fw-icon svg {
		width: 20px;
		height: 20px;
	}
	.tale-floating-webcam .tale-fw-label {
		font-size: 14px;
		line-height: 42px;
	}
}

/* ==========================================================================
   Tale Archive & Category Hero Section
   ========================================================================== */

.tale-archive-hero {
	position: relative;
	width: 100%;
	min-height: 520px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.tale-archive-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.70) 0%, rgba(15, 23, 42, 0.22) 45%, rgba(15, 23, 42, 0.72) 100%);
	pointer-events: none;
	z-index: 1;
}

.tale-archive-hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	padding: 240px 30px 70px;
	margin: 0 auto;
	text-align: center;
	box-sizing: border-box;
}

.tale-archive-hero-title {
	font-family: 'Roboto Slab', serif;
	font-size: 52px;
	font-weight: 800;
	color: #ffffff !important;
	margin: 0 0 14px;
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
	letter-spacing: -0.5px;
	line-height: 1.15;
}

.tale-archive-hero-subtitle {
	font-size: 19px;
	color: #f8fafc;
	max-width: 680px;
	margin: 0 auto;
	line-height: 1.5;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
	font-weight: 400;
}

/* Ensure comfortable padding below the hero section */
body.archive #Content,
body.blog #Content {
	padding-top: 50px !important;
	padding-bottom: 70px !important;
}

@media only screen and (max-width: 860px) {
	.tale-archive-hero {
		min-height: 380px;
	}
	.tale-archive-hero-inner {
		padding: 140px 24px 50px;
	}
	.tale-archive-hero-title {
		font-size: 36px;
	}
	.tale-archive-hero-subtitle {
		font-size: 16px;
	}
	body.archive #Content,
	body.blog #Content {
		padding-top: 35px !important;
		padding-bottom: 50px !important;
	}
}

@media only screen and (max-width: 520px) {
	.tale-archive-hero {
		min-height: 320px;
	}
	.tale-archive-hero-inner {
		padding: 110px 20px 40px;
	}
	.tale-archive-hero-title {
		font-size: 28px;
	}
	.tale-archive-hero-subtitle {
		font-size: 14px;
	}
}

/* ==========================================================================
   Footer Partners (PARTNERI) Logos
   ========================================================================== */

.footer-partners-group,
.wp-container-core-group-layout-1,
div[class*="wp-container-core-group"]:has(img.wp-image-9553),
.footer-area .wp-block-column:has(.widgettitle) .wp-block-group:has(.wp-image-9553) {
	display: flex !important;
	align-items: center !important;
	gap: 2rem !important;
}

.footer-partners-group figure,
.wp-container-core-group-layout-1 figure,
div[class*="wp-container-core-group"]:has(img.wp-image-9553) figure,
.footer-area .wp-block-column:has(.widgettitle) .wp-block-group:has(.wp-image-9553) figure {
	margin: 0 !important;
	width: 160px !important;
	height: 160px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.footer-partners-group img,
.wp-container-core-group-layout-1 img,
div[class*="wp-container-core-group"]:has(img.wp-image-9553) img,
.footer-area .wp-block-column:has(.widgettitle) .wp-block-group:has(.wp-image-9553) img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	max-width: 160px;
	max-height: 160px;
}

#block-9 .wp-block-social-links {
	gap: 0 !important;
}

