/*
Theme Name: Network Consulting
Version: 1.0.0
Template: astra
*/

/* Astra Header/Footer */

#ast-desktop-header, #ast-mobile-header {
	position: fixed;
	top: 0;
	left: 0;
	padding: 0;
	width: 100%;
	-webkit-transition: all ease-out .5s;
	-moz-transition: all ease-out .5s;
	-o-transition: all ease-out .5s;
	transition: all ease-out .5s;
}

#ast-desktop-header.active, #ast-mobile-header.active {
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 5px 3px 20px 0 rgba(0, 0, 0, .1);
	padding: 0;
}

#ast-desktop-header.active img.custom-logo, #ast-mobile-header.active img.custom-logo {
	width: 140px!important;
	-webkit-transition: all ease-out .5s;
	-moz-transition: all ease-out .5s;
	-o-transition: all ease-out .5s;
	transition: all ease-out .5s;
}

/* End Astra Header/Footer */

/* Mega Menu */

.menu-item--mega-trigger > a::after {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	margin-left: 7px;
	margin-bottom: 1px;
	vertical-align: middle;
	transition: transform 0.25s ease;
}
 
.menu-item--mega-trigger:hover > a::after,
.menu-item--mega-active > a::after {
	transform: rotate(45deg);
	border-color: #ffca63;
}

/* End Mega Menu */

/* Content */

#content {
	margin-top: 120px;
}

@media screen and (max-width: 997px) {
	.blog #content, .single-post #content {
		margin-top: 160px;
	}
}

h1.entry-title {
	font-size: 56px;
}

@media (max-width: 1084px) {
	h1.entry-title {
		font-size: 34px;
	}
}

@media (max-width: 544px) {
	h1.entry-title {
		font-size: 30px;
	}
}

/* End Content */

/* Sticky Left / Right */

.sticky-parent {
	align-items: flex-start;
}

.sticky-left,
.sticky-right {
	position: -webkit-sticky !important;
	position: sticky !important;
	top: 190px !important;
	align-self: flex-start !important;
}

.sticky-left img,
.sticky-right img {
	z-index: 10;
	width: 100%;
}

@media screen and (max-width: 767px) {
	.sticky-left,
	.sticky-right {
		position: static !important;
		top: auto !important;
		align-self: auto !important;
	}
}

/* End Sticky Left / Right */

/* Proposition Tabs Section */

.prop-tabs-wrapper {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	background-color: #f0f2f5;
	padding: 40px;
	border-radius: 8px;
}

/* Left column: tab buttons */
.prop-tabs-left {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 0 0 42%;
	max-width: 42%;
}

.prop-tab-btn {
	display: block;
	width: 100%;
	background: transparent;
	border: none;
	text-align: left;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: #1a1f3c;
	padding: 14px 20px;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
	line-height: 1.4;
}

.prop-tab-btn:hover {
	background-color: #d6eaf8;
	color: #1a1f3c;
}

.prop-tab-btn.prop-tab-active {
	color: #ffffff;
}

/* Right column: content panel */
.prop-tabs-right {
    flex: 1;
    display: grid;
}

.prop-tab-panel {
    grid-row: 1;
    grid-column: 1;
    border-radius: 12px;
    padding: 36px 32px;
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
}

.prop-tab-panel.prop-tab-panel-active {
    visibility: visible;
    opacity: 1;
}

.prop-panel-heading {
	font-size: 22px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 16px;
	line-height: 1.3;
}

.prop-panel-text {
	font-size: 15px;
	color: #ffffff;
	line-height: 1.7;
	margin: 0;
}

@media (max-width: 768px) {
	.prop-tabs-wrapper {
		flex-direction: column;
		padding: 24px 20px;
	}

	.prop-tabs-left {
		flex: none;
		max-width: 100%;
		width: 100%;
	}
}

/* End Proposition Tabs Section */

/* CAS Page Notice Popup */

.cas-notice-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
}

.cas-notice-modal.is-open {
	display: block;
}

.cas-notice-overlay {
	position: absolute;
	inset: 0;
	background: rgba(30, 45, 49, 0.55);
	animation: cas-fade-in 0.2s ease;
}

.cas-notice-dialog {
	position: relative;
	z-index: 1;
	max-width: 460px;
	width: calc(100% - 40px);
	margin: 12vh auto 0;
	background: #fff;
	border-radius: 12px;
	border-top: 4px solid #43727C;
	padding: 32px 28px 28px;
	box-shadow: 0 20px 50px rgba(30, 45, 49, 0.25);
	animation: cas-modal-in 0.22s ease;
}

.cas-notice-close {
	position: absolute;
	top: 12px;
	right: 14px;
	border: none;
	background: none;
	font-size: 24px;
	line-height: 1;
	color: #6b7c80;
	cursor: pointer;
	padding: 4px;
}

.cas-notice-close:hover {
	color: #315863;
}

.cas-notice-title {
	font-size: 19px;
	font-weight: 700;
	color: #315863;
	margin: 0 0 12px;
	padding-right: 20px;
}

.cas-notice-text {
	font-size: 14.5px;
	line-height: 1.55;
	color: #333;
	margin: 0 0 24px;
}

.cas-notice-btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 12px 18px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14.5px;
	text-decoration: none;
	background: #315863;
	color: #fff !important;
	border: none;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.cas-notice-btn:hover {
	background: #ffca63;
	color: #315863 !important;
}

@keyframes cas-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes cas-modal-in {
	from { opacity: 0; transform: translateY(-12px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
	.cas-notice-dialog {
		margin-top: 15vh;
		padding: 26px 20px 22px;
	}
}

/* End CAS Page Notice Popup */