.paragraph--type--inner-multi-column-content-v2::before {
	background: url(../../images/ribbon.png) no-repeat;
	content: " ";
	display: block;
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;
}

.column-item-content {
	background: #f4f4f4;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.column-item-content::before {
	content: " ";
	display: block;
	padding-bottom: 120%;
}

.column-item-content .image {
	height: 100% !important;
	left: 0;
	top: 0;
	transition: all 0.5s ease;
	width: 100%;
}

.column-item-content .image::after {
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 60%);
	bottom: 0;
	content: " ";
	display: block;
	height: 50%;
	left: 0;
	position: absolute;
	width: 100%;
}

.column-item-content .title {
	bottom: 45px;
	left: 0;
	text-align: center;
	transition: all 0.8s ease;
	width: 100%;
}

.column-item-content .content {
	background: linear-gradient(180deg, var(--petronas-green), var(--petronas-purple));
	bottom: 0;
	transform: translateY(100%);
	left: 0;
	padding: 40px 25px 10px;
	text-align: center;
	transition: all 0.8s ease;
	width: 100%;
}

.column-item-content:hover .image {
	height: 75%;
}

.column-item-content:hover .content {
	transform: translateY(0);
}

@media only screen and (min-width: 768px) {
	.paragraph--type--inner-multi-column-content-v2::before {
		background-position: left -140px bottom;
		background-size: 2500px auto;
		bottom: 0;
		transform: rotate(180deg);
	}
}

@media only screen and (max-width: 767px) {
	.paragraph--type--inner-multi-column-content-v2 {
		margin-top: -80px;
		padding-top: 120px;
	}

	.paragraph--type--inner-multi-column-content-v2::before {
		background-size: calc(100vw + 280px) auto;
		height: 300px;
		transform: scaleX(-1) scaleY(-1) rotate(20deg);
		top: -25px;
		left: -30px;
		width: calc(100% + 200px);
		background-position: left 40px bottom;
	}

	.paragraph--type--inner-multi-column-content-v2 .content {
		z-index: 2;
	}

	.column-item-content .image {
		height: 75%;
	}

	.column-item-content .content {
		padding: 25px;
		transform: translateY(0);
	}
}

/*New Changes as of December 23rd 2025 for myMesra*/

/*Section Background CSS Changes*/
.paragraph--type--inner-multi-column-content-v2::before {
	display: none;
}

@media only screen and (min-width: 768px) {
	.paragraph--type--inner-multi-column-content-v2::before {
		display: none;
	}
}

/*Section Title and Description (need to add myMesraRevamped class to HTML)*/
/*---------------------------------------------
                Dynamic Diesel
---------------------------------------------*/
.myMesraRevampedBlue h1 {
	font-weight: 900;
	/*text-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);*/
	color: #20419a;
}

.myMesraRevampedBlue p {
	color: #20419a;
	font-weight: 500;
	line-height: 1.2;
	margin-top: 0;
}

/*---------------------------------------------
                Dynamic Diesel
---------------------------------------------*/

/*------------------------------
    Dynamic Diesel (cards)
--------------------------------*/

.homepage-card {
	border-radius: 20px !important;
}

.homepage-card-blue {
	border-radius: 20px !important;
}

/*Card Title Text styling*/
.column-item-content .title {
	font-weight: 900;
	font-size: 40px !important;
}

/*------------------------------
    Dynamic Diesel (mini-cards)
--------------------------------*/

/* On Hover Mini Card styling */
.column-item-content .content {
	background: #20419a;
	padding: 36px 56px;
}
/*Mini Card Title Styling*/
.myMesraRevampedMiniCardTitle,
.myMesraRevampedMiniCardTitle h5 {
	font-weight: 900;
	font-size: 40px !important;
}

.myMesraRevampedMiniCardTitle p {
	font-weight: 300;
	margin-top: 0;
	font-size: 24px;
	line-height: normal;
}

/*------------------------------
        Responsiveness
--------------------------------*/

@media (max-width: 1024px) {
	.myMesraRevampedMiniCardTitle h5 {
		font-size: 32px !important;
	}
}

@media (max-width: 425px) {
	/*Card Text styling*/
	.column-item-content .title,
	.myMesraRevampedMiniCardTitle {
		font-weight: 900;
		font-size: 32px;
	}
	.column-item-content .content {
		padding: 24px 36px;
	}
}

/*---------------------------------------------
        Homepage We are Ready (Section)
	Changes for myMesra (30 December 2025)
---------------------------------------------*/
.myMesraRevampedLightGreen .position-relative {
	gap: 56px !important;
}

/*The title for the Green & Blue Background*/
.myMesraRevampedLightGreen .myMesraRevampedBlue h1 {
	color: #ffffff;
}
.myMesraRevampedLightGreen .myMesraRevampedBlue p {
	color: #ffffff;
}
.myMesraRevampedBlue h1 {
	font-size: 64px;
}
.myMesraRevampedBlue p {
	font-size: 24px;
}

@media (max-width: 768px) {
	.myMesraRevampedBlue h1 {
		font-size: 40px;
	}

	.myMesraRevampedBlue p {
		font-size: 18px;
		font-weight: 300;
	}
}

/*------------------------------
        Card Title Styling
--------------------------------*/
.column-item-content .title,
.myMesraRevampedMiniCardTitle .text-white {
	line-height: normal;
}

.column-item-content .title {
	padding: 0 8px;
}

.homepage-card .myMesraRevampedMiniCardTitle {
	padding: 36px 28px;
	background: #ffffff;
}

.homepage-card .myMesraRevampedMiniCardTitle .text-white {
	color: #fdb924 !important;
}

.homepage-card .myMesraRevampedMiniCardTitle p {
	color: #000000;
}

/*cta-button*/
.homepage-card-cta .link-read-more.invert i {
	background-image: url(/sites/default/files/uploads/content/2025/homepage/cta-icon-green.svg);
	width: 32px;
	height: 32px;
}

.homepage-card .myMesraRevampedMiniCardTitle a {
	padding: 0;
}

.homepage-card .myMesraRevampedMiniCardTitle a > p {
	color: var(--petronas-green);
	font-size: 16px;
	font-weight: 500;
	text-align: left;
}

.homepage-card .myMesraRevampedMiniCardTitle a:hover {
	color: #007d73;
	text-decoration: underline;
	opacity: 1;
}

.homepage-card .myMesraRevampedMiniCardTitle a:hover p {
	color: #007d73;
	opacity: 1;
}

/*------------------------------
        Card Title Styling
		(blue hover card)
--------------------------------*/
.homepage-card-blue .myMesraRevampedMiniCardTitle {
	padding: 36px 28px;
}

.homepage-card-blue .myMesraRevampedMiniCardTitle a {
	padding: 0;
}

.homepage-card-blue .myMesraRevampedMiniCardTitle a > p {
	color: var(--petronas-green);
	font-size: 24px;
	font-weight: 500;
	text-align: left;
}
.myMesraRevampedLightGreen.paragraph--type--inner-multi-column-content-v2 {
	padding: 76px 0 100px 0px !important;
}
.paragraph--type--inner-multi-column-content-v2 > .content {
	gap: 19px;
	display: flex;
	flex-direction: column;
}

@media (max-width: 1500px) and (min-width: 1200px) {
	/* .myMesraRevampedLightGreen .myMesraRevampedBlue h1{
		font-size: 2.5rem;
	}
	.myMesraRevampedLightGreen .myMesraRevampedBlue p{
		font-size: 16px;
	} */

	.myMesraRevampedBlue.col-md-6 {
		width: 60%;
	}

	.homepage-card-cta .link-read-more.invert i {
		width: 24px;
		height: 24px;
	}
}

/*--------------------------------------
    Card Title Styling (4 columns)
			Date: 06/01/2026
----------------------------------------*/

.four-columns .col-md-3,
.diesel-performance .col-md-4,
.primax .col-md-4 {
	height: 480px;
}

.diesel-performance .column-item-content .title,
.diesel-performance .myMesraRevampedMiniCardTitle .text-white {
	font-size: 40px !important;
}

@media (max-width: 1280px) {
	.homepage-card .myMesraRevampedMiniCardTitle {
		padding: 36px 16px;
	}

	.four-columns .col-md-3,
	.diesel-performance .col-md-4,
	.primax .col-md-4 {
		height: 380px;
	}

	.column-item-content .title,
	.myMesraRevampedMiniCardTitle .text-white {
		font-size: 32px !important;
	}

	.myMesraRevampedMiniCardTitle p {
		font-size: 18px;
	}
}

@media (max-width: 1024px) {
	.column-item-content .title,
	.myMesraRevampedMiniCardTitle .text-white {
		font-size: 24px !important;
	}
}

@media (max-width: 767px) {
	.four-columns .col-md-3,
	.diesel-performance .col-md-4,
	.primax .col-md-4 {
		height: unset;
	}

	.four-columns h1 {
		padding-top: 100px;
	}

	.row.pt-4.pb-2.px-4.px-md-0 {
		gap: 20px;
	}
}

/*--------------------------------------
    	Who We Are -- Cards Section
		Date: 13/01/2026
----------------------------------------*/
.who-we-are-cards {
	background: linear-gradient(180deg, #20419a 0%, #763f98 100%);
}

.who-we-are-cards .myMesraRevampedBlue h1,
.who-we-are-cards .myMesraRevampedBlue p {
	color: #ffffff;
}

.who-we-are-cards .column-item-content {
	border-radius: 20px;
}

.who-we-are-cards .myMesraRevampedMiniCardTitle {
	background: #ffffff;
}

.who-we-are-cards .myMesraRevampedMiniCardTitle .text-white {
	color: #763f98 !important;
}

.who-we-are-cards .myMesraRevampedMiniCardTitle p {
	color: #000000;
}

/*--------------------------------------
    	Mesra Rewards -- Cards Section
		Date: 15/01/2026
----------------------------------------*/

.mesra-rewards .column-item-content {
	border-radius: 20px;
}

.mesra-rewards .myMesraRevampedMiniCardTitle {
	background: #ffffff;
}

.mesra-rewards .myMesraRevampedMiniCardTitle .text-white {
	color: #763f98 !important;
}

.mesra-rewards .myMesraRevampedMiniCardTitle p {
	color: #763f98 !important;
}
