/*
 * Custom header styles - matches example.html design
 * KHAI Education header layout and colors
 */

/* Header container - border and background */
header.wp-block-template-part,
.wp-block-template-part.has-header {
	border-bottom: 1px solid #e5e3de;
	background: #faf9f6;
}

/* Tagline / "International Education Consulting" - 16px */
header .wp-block-site-title + p {
	font-size: 16px !important;
	margin-top: 5px;
}

header .wp-block-site-title {
	font-size: 34px;
    font-weight: 900;
}

header .wp-block-site-title:hover > a{
	text-decoration: none !important;
}

header .wp-block-navigation__responsive-dialog .wp-block-navigation  .wp-block-pages-list__item__link{
	font-weight: 600;
}

footer .footer-links > ul  {
	padding-left: 0;
}


footer .footer-links > ul > li {
	list-style: none;
}

footer .footer-links > ul > li > a {
	text-decoration: none;
}

.custom-home-btn .wp-block-button__link:hover {
	background-color: #1f385e !important;
	color: #fff;
}

.wpcf7 form label {
	font-size: 16px;
}


.wpcf7 form .wpcf7-not-valid-tip {
	font-size: 16px;
}

.wpcf7 form input,
.wpcf7 form textarea {

    border: 1px solid #000;
    background: #fff;
    padding: 10px 8px;
    font-size: 18px;
	margin-bottom: 5px;
	max-width: 400px;
}

.wpcf7 form input[type="submit"] {
    border: 1px solid #004071;
    background: #004071;
	color: #fff;
    padding: 1rem 2rem;
    font-size: 18px;
	margin-bottom: 5px;
	font-weight: 300;
	cursor: pointer;
}

.wpcf7 form input[type="submit"]:hover {
    border: 1px solid #1f385e !important;
    background: #1f385e !important;
}




@media screen and (min-width: 1340px) {

	.srvices-wrapper {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	header > .wp-container-core-group-is-layout-23441af8  {
		padding-left: 50px;
		padding-right: 50px;
	}

	header > .wp-container-core-group-is-layout-23441af8 > .wp-block-group {
		max-width: 1340px;
		width: 100%;
	}

	header.wp-container-core-group-is-layout-df81c40a {
		justify-content: space-between;
	}

	header.wp-container-core-group-is-layout-df81c40a > .wp-block-group:first-child {
		padding-left: 0;
		padding-right: 0;
	}
}

@media screen and (max-width: 500px) {
	header.wp-container-core-group-is-layout-df81c40a {
		padding-right: 30px;
	}

	header.wp-container-core-group-is-layout-df81c40a > .wp-block-group:first-child {
		order: 1;
	}

	header.wp-container-core-group-is-layout-df81c40a > .wp-block-group:last-child {
		order: 2;
	}

	
	header.wp-container-core-group-is-layout-df81c40a > .wp-block-group:nth-child(2) {
		order: 3;
	}

	header.wp-container-core-group-is-layout-df81c40a h1.wp-block-site-title{
		font-size: 24px;
	}

	header.wp-container-core-group-is-layout-df81c40a h1.wp-block-site-title + p{
		font-size: 14px !important;
	}

	.lang-item {
		display: flex;
		align-items: center;
	}

	
	.wpcf7 form input,
	.wpcf7 form textarea {
		font-size: 16px;
		max-width: 100%;
	}

}

* { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.wp-site-blocks {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.wp-site-blocks main {
  flex: 1 0 auto;
  margin-top: 10px !important;
}

.srvices-wrapper {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
	padding-top: 1.5rem;
}
@media (min-width: 768px) {
	.srvices-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}
.services-item {
	border: 1px solid #e5e3de;
	border-radius: 6px;
	padding: 1.5rem;
	transition: box-shadow 0.2s ease;
	min-height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	margin-top: 0;
	text-align: center;
}

.services-item p{
	text-align: center;
}

.services-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}