/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Import George Design System CSS */
@import url('/wp-content/themes/hello-theme-child-master/css/gds-main.min.css');
@import url('/wp-content/themes/hello-theme-child-master/css/gds-components.min.css');

/* EÖNYP redesign — inline links inside Elementor paragraphs (the editor strips inline styles). */
.e-paragraph-base a {
	color: inherit;
	text-decoration: underline;
}
.eo-body a {
	color: #2870ED;
	font-weight: 600;
}
/* Links keep their underline on hover (as the Figma Link component's Hover state) and darken slightly.
   White links (on dark/blue backgrounds) stay white: js/eo-links.js marks them with .eo-link-white. */
.e-paragraph-base a:not(.eo-link-white):hover,
.e-heading-base a:not(.eo-link-white):hover {
	color: #064EA1;
}
/* Flexbox containers rendered as links (buttons, cards) must not inherit the theme's link underline. */
a.e-con,
a.e-con:hover {
	text-decoration: none;
}
/* Toggles (accordion) built from the Figma "Toggle" component. */
button.eo-toggle-head,
button.eo-toggle-head:hover,
button.eo-toggle-head:focus {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font: inherit;
	text-align: start;
	color: inherit;
	white-space: normal;
}
button.eo-toggle-head:focus-visible {
	outline: 2px solid #2870ED;
	outline-offset: 2px;
}
.eo-toggle .eo-toggle-body {
	display: none !important;
}
.eo-toggle.is-open .eo-toggle-body {
	display: flex !important;
}
.eo-toggle-icon {
	transition: transform 0.2s ease;
}
.eo-toggle.is-open .eo-toggle-icon {
	transform: rotate(45deg);
}
/* Long URLs and words must wrap on small screens. */
.e-paragraph-base,
.e-heading-base {
	overflow-wrap: break-word;
}
/* Wide tables scroll sideways on small screens (Elementor does not store overflow-x). */
.eo-scroll-x {
	overflow-x: auto !important;
}
/* Icons: the inline <svg> inside the e-svg wrapper sits on the text baseline; make it fill its box. */
.e-svg-base > svg {
	display: block;
	width: 100%;
	height: 100%;
}
/* Inline links styled in the design as blue underlined text. */
.eo-links-blue a,
.eo-links-blue a u,
.e-paragraph-base.eo-links-blue a:not([href]) {
	color: #2870ED;
}
/* Inline weights from the design: <strong> = Semi Bold, <b> = Bold. */
.e-paragraph-base strong,
.e-heading-base strong {
	font-weight: 600;
}
.e-paragraph-base b,
.e-heading-base b {
	font-weight: 700;
}
/* Continuous underlines like Figma (browsers skip the underline under descenders such as "(" and ")"). */
.e-paragraph-base,
.e-paragraph-base *,
.e-heading-base,
.e-heading-base *,
.eo-btn {
	text-decoration-skip-ink: none;
}
/* Elementor wraps linked paragraph/heading text in its own link element: let it follow the text's underline. */
.elementor .e-paragraph-base .e-paragraph-link-base,
.elementor .e-heading-base .e-heading-link-base,
.elementor .e-paragraph-base > .e-paragraph-link-base {
	text-decoration: inherit;
}
/* Footer links stay white on hover (the content-link hover colour must not apply there). */
.elementor-location-footer .e-paragraph-base a:hover,
.elementor-location-footer .e-heading-base a:hover {
	color: inherit;
}

/* Header hamburger menu. js/eo-menu.js adds the button. Under 1200px the five menu items no longer fit beside the
   logo and the phone number, so the <nav> is hidden (Elementor itself only hides it under 1025px) and opens as a
   dropdown panel under the blue header box, in the header's own colours. */
button.eo-burger {
	display: none;
}
@media (max-width: 1199px) {
	/* the blue header box is the dropdown's positioning context; the phone number keeps to the right, beside the button */
	header.e-flexbox-base > .e-flexbox-base {
		position: relative;
	}
	header.e-flexbox-base > .e-flexbox-base > .e-flexbox-base {
		position: static;
	}
	header.e-flexbox-base > .e-flexbox-base > .e-paragraph-base {
		margin-inline-start: auto;
	}
	header.e-flexbox-base nav {
		position: absolute;
	}
	header.e-flexbox-base nav.e-flexbox-base {
		top: calc(100% + 8px);
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch !important;
		padding: 8px 24px !important;
		border-radius: 8px;
		background-color: var(--eo-header-bg);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
		box-shadow: 0 4px 14px 2px rgba(11, 32, 66, 0.14);
	}
	header.e-flexbox-base nav.e-flexbox-base {
		display: none !important;
	}
	header.eo-menu-open nav.e-flexbox-base {
		display: flex !important;
	}
	header.e-flexbox-base nav .eo-nav-item {
		padding: 0 !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}
	header.e-flexbox-base nav .eo-nav-item:last-child {
		border-bottom: 0;
	}
	header.e-flexbox-base nav .eo-nav-item a {
		display: block;
		padding: 12px 0;
	}
	header.e-flexbox-base nav.e-flexbox-base,
	header.e-flexbox-base nav .eo-nav-item a {
		font-size: 16px;
		line-height: 24px;
	}
	button.eo-burger,
	button.eo-burger:hover,
	button.eo-burger:focus {
		display: inline-flex;
		flex: 0 0 auto;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 5px;
		width: 40px;
		height: 40px;
		margin-inline-start: 16px;
		padding: 0;
		border: 0;
		border-radius: 8px;
		background: transparent;
		box-shadow: none;
		cursor: pointer;
	}
	button.eo-burger:focus-visible {
		outline: 2px solid #FFFFFF;
		outline-offset: 2px;
	}
	button.eo-burger span {
		display: block;
		width: 24px;
		height: 2px;
		border-radius: 2px;
		background-color: #FFFFFF;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}
	header.eo-menu-open button.eo-burger span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	header.eo-menu-open button.eo-burger span:nth-child(2) {
		opacity: 0;
	}
	header.eo-menu-open button.eo-burger span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}
}
@media (max-width: 767px) {
	header.e-flexbox-base nav.e-flexbox-base {
		padding: 4px 16px !important;
	}
}

/* Main menu links stay white on hover/focus (the general paragraph-link hover above darkens links). */
header.e-flexbox-base nav .eo-nav-item a:hover,
header.e-flexbox-base nav .eo-nav-item a:focus {
	color: #FFFFFF;
}
