/* start region outro container  */
.outro-homepage-container {
	max-width: 970px;
	margin: auto;
	padding: 56px 16px;

	display:grid;
	grid-template-areas: 	"title"
								"btn"
								"pic";
		grid-template-columns: 1fr;
}

.outro-homepage-container .outro-main-title.underline-bg {
	background-image: url('https://media.insurverse.co.th/landingpage/2025/04/Group-1000004911.webp');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 66% 18px;
    display: inline-block;
    padding-right: 16px;
    padding-bottom: 8px;
    margin: 0;
}

.outro-main-title {
	font-size: 32px;
	line-height: 48px;
	font-weight: 600;
	color: #000;
	margin: 0;

}
    #main > section > div > div.outro-text-box > h2 > span.underline-bg {
	font-size: 40px;
    font-weight: 600;
    line-height: 60px;
    }
   #main > section > div > div.outro-text-box > h2 > span.sub-text {
	font-size: 40px;
    font-weight: 600;
    line-height: 60px;
    }

    .outro-title {
	display: flex;
	flex-direction: column;

    }


.outro-text-box {
	grid-area: title;
}

.outro-image-box {
	padding-top: 40px;
	display:flex;
	grid-area: pic;
}

.outro-image-box img {
	object-fit: contain;
	width: 100%;
}

.outro-find-best-insurance-box {
	padding-top: 24px;
	display:flex;
	grid-area: btn;
}

.outro-find-best-insurance-box a {
	font-size: 16px !important;
	line-height: 24px !important;
	text-decoration: none;
}

.outro-find-best-insurance-box a:focus {
	outline: 2px solid #1DE6C1 !important;
	border-radius: 10px;
}

.outro-find-best-insurance-box a:hover {
	text-decoration: none;
}

.outro-text-box .outro-sub-title {
	font-size: 32px;
	line-height: 48px;
	font-weight: 600;
	margin: 8px 0;
}

.outro-text-box .outro-slogan {
	font-size: 20px;
	line-height: 36px;
	font-weight: 400;
}

.outro-text-box .outro-image {
	width: 100%;
	max-width: 700px;
}




@media only screen and (max-width: 600px) {
    
    #main > section > div > div.outro-text-box > h2 > span.underline-bg  {
	display: flex;
	flex-direction: column;
	font-size: 32px ;
    font-weight: 600;
    line-height: 48px;
    }
   #main > section > div > div.outro-text-box > h2 > span.sub-text {
	display: flex;
	flex-direction: column;
	font-size: 32px;
    font-weight: 600;
    line-height: 48px;
    }
}

@media only screen and (min-width: 768px) {
	.outro-homepage-container {
		padding: 64px 16px;
		grid-template-areas: 	"title pic"
								"btn pic";
		grid-template-columns: 55fr 45fr;
	}
	


	.outro-image-box {
		padding-top: 0;
	}

	.outro-text-box .outro-sub-title {
		font-size: 40px;
		line-height: 60px;
	}

	.outro-text-box .outro-slogan {
		font-size: 24px;
		line-height: 36px;
	}

	.outro-find-best-insurance-box a {
		font-size: 20px !important;
		line-height: 30px !important;
	}
}
/* #endregion - outro container */