/*
Theme Name: Posterity Child
Description: Child theme for Posterity. You can now safely customize it and not risk losing your customizations.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: posterity
Version: 1.0
*/

.elementor a:hover {
	text-decoration: none !important;
	color: #DD9933 !important;
}
.header-horizontal .top-menu > li > a {
	padding-left: 0px !important;
}

.posts-list .title-bar.outside .overlay-color {
	padding: 2rem !important;
}
/* ========================================================= */
/* SOCIAL CHAT BLOCK — CENTERED FLEX FIX                     */
/* ========================================================= */

.social_chat .contact-messengers {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* PHONE BLOCK */
.social_chat .contact-phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 600;
	color: #000;
	text-decoration: none;
	margin-bottom: 20px;
}

/* PHONE ICON */
.social_chat .contact-phone .icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* REMOVE ELEMENTOR <br> DAMAGE */
.social_chat br {
	display: none;
}

/* MESSENGERS WRAPPER */
.social_chat .messengers {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* MESSENGER BUTTONS */
.social_chat .msg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 15px;
	text-decoration: none;
	border: 1px solid #ddd;
	color: #000;
	transition: all 0.2s ease;
	white-space: nowrap;
}

/* HOVER */
.social_chat .msg:hover {
	background: #000;
	color: #fff;
	border-color: #000;
}

/* ========================================================= */
/* END SOCIAL CHAT BLOCK                                     */
/* ========================================================= */
/* FIX SUBMENU TEXT COLOR */
.top-menu .sub-menu li a {
    color: #000;
}

/* HOVER STATE */
.top-menu .sub-menu li a:hover {
    color: #f5a623; /* або твій акцентний */
}

/* ПІДМЕНЮ ГОЛОВНОЇ НАВІГАЦІЇ ПО НАВЕДЕННЮ (не тільки по кліку на стрілку) */
@media (hover: hover) and (pointer: fine) {
	.top-menu > li.menu-item-has-children:hover > .sub-menu {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
	}
}
/* Менше вертикальних відступів у випадаючому підменю */
.top-menu .sub-menu {
	padding: 8px 0 !important;
}
/* check-list  */
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
		font-size: 18px;
		line-height: 2;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #f5a623;
    font-weight: 700;
}

/* time-line  */
.ws-timeline{position:relative;max-width:1000px;margin:0 auto}
.ws-timeline:before{content:"";position:absolute;left:30px;top:0;bottom:0;width:2px;background:#DD9933}
.ws-timeline-item{position:relative;padding-left:90px;margin-bottom:50px}
.ws-timeline-item:last-child{margin-bottom:0}
.ws-timeline-number{position:absolute;left:0;top:0;width:60px;height:60px;border-radius:50%;background:#DD9933;color:#fff;font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center;z-index:2}
.ws-timeline-content{background:#fff;border:1px solid #e5e5e5;border-radius:12px;padding:25px;box-shadow:0 5px 20px rgba(0,0,0,.05)}
.ws-timeline-content h3{margin:0 0 15px}
.ws-timeline-content p{margin:0;line-height:1.7}
@media(max-width:767px){.ws-timeline-item{padding-left:75px}.ws-timeline-number{width:50px;height:50px;font-size:16px}.ws-timeline:before{left:25px}}

/* ========================================================= */
/* FOOTER CONTACTS WIDGET                                     */
/* ========================================================= */
.ws-footer-contacts,
.ws-footer-contacts a {
	color: #ffffff;
	text-decoration: none;
	font-size: 14px;
}
.ws-footer-contacts a:hover {
	color: #DD9933;
}
.ws-footer-contacts p {
	margin: 0 0 10px;
}
/* Elementor forms: success and error messages */
.elementor-form .elementor-message {
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 15px;
	line-height: 1.4;
}
.elementor-form .elementor-message.elementor-message-success {
	color: #1e7e34;
	background: #e8f5e9;
	border: 1px solid #b7dfbf;
}
.elementor-form .elementor-message.elementor-message-danger {
	color: #b3261e;
	background: #fdecea;
	border: 1px solid #f5c2bf;
}

/* Text logo: brand gold, larger */
a.logo.text-logo,
.header-horizontal a.logo.text-logo {
	color: #DD9933;
	font-size: 24px;
	letter-spacing: 0.3px;
}
a.logo.text-logo:hover {
	color: #ffffff;
}
@media (max-width: 767px) {
	a.logo.text-logo,
	.header-horizontal a.logo.text-logo {
		font-size: 20px;
	}
}
