/* HAMES company information pages */
.hames-about-page .main {
	background: #f6f8fb;
}

.hames-about-page .page-header {
	position: relative;
	margin-bottom: 0;
	border-bottom: 0;
	background-position: center;
	background-size: cover;
}

.hames-about-page .page-header:before {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(90deg, rgba(21, 49, 91, .32), rgba(0, 129, 190, .08));
	content: "";
}

.hames-about-page .page-header .container {
	position: relative;
	z-index: 1;
}

.hames-about-page .page-header h1 {
	font-size: 30px;
	letter-spacing: -.04em;
}

.hames-about-page .page-header .breadcrumb {
	font-size: 12px;
	letter-spacing: .02em;
}

.hames-about-page .main > .container.py-4 {
	padding-top: 54px !important;
	padding-bottom: 70px !important;
}

.hames-about-page .main > .container.py-4 > .row {
	margin: 0;
}

.hames-about-page section.section {
	padding: 0;
	background: transparent;
}

.hames-about-page section.section > .container {
	position: relative;
	padding: 44px;
	overflow: hidden;
	border: 1px solid #e3eaf2;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(27, 54, 83, .08);
}

.hames-about-page section.section > .container:before {
	position: absolute;
	top: 0;
	left: 44px;
	width: 72px;
	height: 4px;
	border-radius: 0 0 4px 4px;
	background: #1681bf;
	content: "";
}

.hames-about-page section.section .row {
	align-items: stretch;
}

.hames-about-page section.section h4 {
	margin-top: 0 !important;
	color: #173552;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -.025em;
}

.hames-about-page section.section p,
.hames-about-page section.section li {
	color: #5e6c7c;
	line-height: 1.8;
}

.hames-about-page section.section a {
	color: #176eaa;
	transition: color .2s ease;
}

.hames-about-page section.section a:hover {
	color: #0c4f80;
}

.hames-about-page section.section img {
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(27, 54, 83, .14);
}

/* Company overview */
.about-company-page section.section .col-lg-6:first-child {
	padding: 10px 34px 8px 6px;
}

.about-company-page section.section .col-lg-6:first-child p {
	margin-bottom: 18px;
	font-size: 16px;
}

.about-company-page .owl-carousel {
	overflow: hidden;
	border-radius: 10px;
}

.about-company-page .owl-carousel img {
	box-shadow: none !important;
}

/* Business and partners */
.about-business-page section.section .row,
.about-partner-page section.section .row {
	margin-right: -10px;
	margin-left: -10px;
}

.about-business-page section.section .row > [class*="col-"],
.about-partner-page section.section .row > [class*="col-"] {
	padding: 10px;
}

.about-business-page section.section .row > [class*="col-"] > h4,
.about-business-page section.section .row > [class*="col-"] > ul,
.about-partner-page section.section .row > [class*="col-"]:first-child {
	margin-bottom: 0;
}

.about-business-page section.section .row > [class*="col-"] {
	border-radius: 10px;
	background: #f8fafc;
	background-clip: content-box;
}

.about-business-page section.section h4 {
	margin: 0 26px !important;
	padding: 28px 0 16px;
	border-bottom: 1px solid #dfe7ef;
}

.about-business-page section.section ul {
	margin: 0 26px 28px;
}

.hames-about-page .list.list-borders li {
	padding: 12px 4px;
	border-color: #e6ebf1;
}

.hames-about-page .list.list-borders li i {
	color: #1681bf;
}

.about-partner-page blockquote {
	margin: 22px 0 0;
	padding: 18px 22px;
	border-left-width: 3px;
	border-radius: 0 8px 8px 0;
	background: #f4f8fc;
}

/* Contact cards */
.about-contact-page .hames-contact-list {
	display: grid;
	gap: 12px;
}

.about-contact-page .hames-contact-card {
	padding: 18px 20px;
	border: 1px solid #dfe7ef;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 5px 16px rgba(27, 54, 83, .05);
}

.about-contact-page .hames-contact-card-title {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 10px;
}

.about-contact-page .hames-contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #eef5fb;
	color: #176ca4;
	font-size: 14px;
}

.about-contact-page .hames-contact-card h4 {
	margin: 0 !important;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 18px;
	line-height: 1.35;
	color: #18344f;
}

.about-contact-page .hames-contact-card .list {
	margin: 0 0 0 45px;
	padding: 0;
}

.about-contact-page section.section .list li {
	padding: 5px 0 5px 28px;
	word-break: break-word;
}

.about-contact-page section.section .list li i {
	top: 9px;
	color: #1681bf;
}

/* Location */
.about-map-page .hames-location-info {
	display: grid;
	gap: 12px;
}

.about-map-page .hames-location-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-height: 0;
	padding: 18px;
	border: 1px solid #dfe7ef;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 5px 16px rgba(27, 54, 83, .05);
}

.about-map-page .hames-location-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #eef5fb;
	color: #176ca4;
	font-size: 15px;
}

.about-map-page .hames-location-card > div {
	min-width: 0;
}

.about-map-page .hames-location-card h4 {
	margin: 1px 0 8px !important;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 18px;
	line-height: 1.35;
	color: #18344f;
}

.about-map-page .hames-location-card p {
	margin: 0;
	color: #586b7e;
	line-height: 1.65;
	word-break: keep-all;
}

.about-map-page .hames-address-list {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 6px 8px;
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
}

.about-map-page .hames-address-list dt {
	margin: 0;
	color: #176ca4;
	font-weight: 700;
}

.about-map-page .hames-address-list dd {
	margin: 0;
	color: #586b7e;
	word-break: keep-all;
}

.about-map-page .hames-location-map {
        position: relative;
        min-height: 390px;
        overflow: hidden;
        border: 1px solid #dce5ee;
        border-radius: 10px;
        background: #edf3f7;
        box-shadow: 0 10px 26px rgba(27, 54, 83, .1);
}

.about-map-page .hames-location-map iframe {
        display: block;
        width: 100%;
        height: 390px;
        border: 0;
}

.about-map-page .hames-location-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 16px;
}

.about-map-page .hames-location-actions .btn {
        margin: 0;
}

.about-map-page .hames-location-actions i {
        margin-right: 7px;
}

@media (max-width: 991px) {
	.hames-about-page .main > .container.py-4 {
		padding-top: 34px !important;
		padding-bottom: 48px !important;
	}

	.hames-about-page section.section > .container {
		padding: 30px 24px;
	}

	.hames-about-page section.section > .container:before {
		left: 24px;
	}

	.about-company-page section.section .col-lg-6:first-child {
		padding: 6px 15px 28px;
	}

        .about-map-page section.section .col-lg-4,
	.about-contact-page section.section .col-md-6:first-child,
	.about-partner-page section.section .col-md-6:first-child {
		margin-bottom: 28px !important;
                padding-right: 15px !important;
        }

        .about-map-page .hames-location-map,
        .about-map-page .hames-location-map iframe {
                min-height: 340px;
                height: 340px;
        }
}

@media (max-width: 575px) {
	.hames-about-page .page-header h1 {
		font-size: 25px;
	}

	.hames-about-page section.section > .container {
		padding: 26px 18px;
		border-radius: 10px;
	}

        .about-business-page section.section h4,
	.about-business-page section.section ul {
		margin-right: 18px !important;
                margin-left: 18px !important;
        }

        .about-map-page .hames-location-map,
        .about-map-page .hames-location-map iframe {
                min-height: 300px;
                height: 300px;
        }

        .about-map-page .hames-location-actions .btn {
                width: 100%;
        }
}
