.my-blog {
	--blog-blue: #0792e2;
	--blog-ink: #000;
	--blog-line: rgba(11, 18, 32, 0.1);
	background: #fff;
	color: var(--blog-ink);
	font-family: "Montserrat", Arial, sans-serif;
	overflow: hidden;
}

body.blog,
body.blog :where(div, section, article, header, footer, nav, p, a, span, li, h1, h2, h3, h4, h5, h6, small, strong, em, time) {
	font-family: "Montserrat", Arial, sans-serif !important;
}

.my-blog *,
.my-blog *::before,
.my-blog *::after {
	box-sizing: border-box;
}

.my-blog-section {
	padding: 220px 0 170px;
	background: #fff;
}

.my-blog-container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
}

.my-blog-head {
	max-width: 860px;
	margin: 0 auto 56px;
	text-align: center;
}

.my-blog-head h1 {
	margin: 0;
	color: #000;
	font-size: 56px;
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: 0;
}

.my-blog-head p {
	margin: 18px auto 0;
	color: #000;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.7;
}

.my-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

.my-blog-card {
	display: flex;
	overflow: hidden;
	flex-direction: column;
	min-width: 0;
	min-height: 100%;
	border: 1px solid var(--blog-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	opacity: 1;
	transform: translateY(0) scale(1);
	transition: opacity 0.24s ease, transform 0.24s ease, border-color 0.22s ease;
}

@media (hover: hover) {
	.my-blog-card:hover {
		border-color: rgba(7, 146, 226, 0.65);
		transform: translateY(-4px);
	}
}

.my-blog-card:focus-within {
	border-color: rgba(7, 146, 226, 0.72);
}

.my-blog-card__link {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	color: inherit;
	text-decoration: none;
}

.my-blog-card__link:focus {
	outline: none;
}

.my-blog-card__media {
	position: relative;
	display: grid;
	overflow: hidden;
	place-items: center;
	aspect-ratio: 4 / 3;
	padding: 0;
	background: #f6f8fa;
	transition: background 0.22s ease;
}

.my-blog-card__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center;
	transform: scale(1.08);
}

.my-blog-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 30px;
}

.my-blog-card h2 {
	margin: 0 0 10px;
	color: #000;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	letter-spacing: 0;
}

.my-blog-card h2 {
	color: #000;
}

.my-blog-card p {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 25px;
	color: #000;
	font-size: 16px;
	line-height: 1.6;
	text-align: center;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.my-blog-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 0.8rem 1.6rem;
	border-radius: 999px;
	color: #fff !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	letter-spacing: 0;
	background-image: linear-gradient(90deg, #25aae1, #4481eb, #04befe, #3f86ed);
	background-size: 300% 100%;
	box-shadow: 0 2px 15px 0 rgba(65, 132, 234, 0.72);
	transition: all 0.4s ease-in-out;
	white-space: nowrap;
}

.my-blog-button:hover,
.my-blog-button:focus,
.my-blog-card__link:hover .my-blog-button,
.my-blog-card__link:focus-visible .my-blog-button {
	color: #fff !important;
	background-position: 100% 0;
	box-shadow: 0 1px 8px 0 rgba(65, 132, 234, 0.85);
	transform: scale(1.05);
}

.my-blog-empty {
	margin: 0;
	color: #000;
	font-size: 18px;
	text-align: center;
}

@media (max-width: 1250px) {
	.my-blog-container {
		width: calc(100% - 80px);
		max-width: none;
	}
}

@media (max-width: 900px) {
	.my-blog-container {
		width: calc(100% - 80px);
		max-width: none;
	}

	.my-blog-section {
		padding: 180px 0 140px;
	}

	.my-blog-head h1 {
		font-size: 42px;
	}

	.my-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.my-blog-container {
		width: calc(100% - 60px);
	}

	.my-blog-head {
		margin-bottom: 42px;
	}

	.my-blog-head p {
		font-size: 18px;
	}

	.my-blog-grid {
		display: block;
		grid-template-columns: 1fr;
		gap: 0;
	}

	.my-blog-card:not(:last-child) {
		margin-bottom: 40px;
	}
}

@media (max-width: 480px) {
	.my-blog-container {
		width: calc(100% - 60px);
	}

	.my-blog-section {
		padding: 150px 0 110px;
	}

	.my-blog-head h1 {
		font-size: 36px;
	}
}
