.news {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	row-gap: 40px;
	column-gap: 20px;
	margin-top: 20px;
	padding: 2px 0px;
	padding-top: 40px;
	border-top: 1px solid var(--dark);
}
.news-card {
	padding-bottom: 40px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: relative;
}
.news-card__line {
	position: absolute;
	display: block;
	width: calc(100% + 20px);
	height: 0.5px;
	background-color: var(--dark);
	bottom: 0px;
	right: 0px;
}
.news-card__line--top {
	bottom: unset;
	top: 0px;
}
.news-card__img {
	width: 100%;
	aspect-ratio: 600 / 355;
	position: relative;
	overflow: hidden;
}
.news-card__img img {
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.news-card__img .news-card__date {
	position: absolute;
	top: 20px;
	right: 20px;
}

.news-card__title {
	color: var(--dark-grey);
	font-family: var(--oswald-font);
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: 130%;
	transition: color 0.4s;
}
.news-card__text {
	color: var(--dark-grey);
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 130%; /* 23.4px */
}
.news-card:hover .news-card__title {
	color: var(--main-red);
}

/* borders */
.news > :nth-child(3n - 2) .news-card__line {
	width: 100%;
}
/* borders */
.news-btn {
	margin-top: 40px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

/* news single page */

.single-post__heading,
.single-post__inner {
	display: grid;
	gap: 20px;
	grid-template-columns: 0.6fr 0.4fr;
}
.single-post__heading {
	margin-top: 25px;
	margin-bottom: 20px;
	align-items: end;
}

.single-post__recommend-title {
	color: var(--dark);
	font-family: var(--oswald-font);
	font-size: 32px;
	font-style: normal;
	font-weight: 600;
	line-height: 130%;
	text-transform: uppercase;
}
.single-post__recommend-title span {
	font: inherit;
}
.single-post__sidebar .single-post__recommend-title {
	display: none;
}
.single-post__img {
	position: relative;
	aspect-ratio: 1065 / 567;
	overflow: hidden;
	width: 100%;
	margin-bottom: 30px;
}
.single-post__img img {
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.single-post__date {
	position: absolute;
	top: 20px;
	right: 20px;
	display: block;
	width: fit-content;
	padding: 8px 29px;
	background-color: var(--semi-grey);
	color: var(--dark-grey);
	z-index: 1;
	border-radius: 46px;
}
.single-post__reading-time {
	display: flex;
	align-items: center;
	gap: 10px;
}
.single-post__reading-time svg {
	width: 32px;
	height: 32px;
	aspect-ratio: 1/1;
	flex-shrink: 0;
}
.single-post__reading-time span {
	color: var(--main-red);
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	text-transform: uppercase;
}
.single-post__reading-time .time {
	font-weight: 400;
	text-transform: lowercase;
}
.content-table {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	padding: 40px;
	border-radius: 10px;
	overflow: hidden;
	background-color: var(--semi-grey);
}
.content-table__top {
	display: flex;
	align-items: center;
	gap: 20px;
	justify-content: space-between;
	cursor: pointer;
}
.content-table__top span {
	color: var(--dark);
	font-family: var(--oswald-font);
	font-size: 32px;
	font-style: normal;
	font-weight: 600;
	line-height: 1;
}
.content-table__nav {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.content-table__link {
	color: var(--dark);
	font-family: var(--oswald-font);
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: 130%;
	transition: color 0.3s;
}
.content-table__link:hover {
	color: var(--main-red);
}
.single-post__content {
	margin-top: 40px;
}

.single-post__content h2 {
	color: var(--dark);
	font-family: var(--oswald-font);
	font-size: 32px;
	font-style: normal;
	font-weight: 600;
	line-height: 130%; /* 41.6px */
	margin-bottom: 20px;
	margin-top: 20px;
}
.single-post__content h2#heading0 {
	margin-top: 0;
}
.single-post__content p {
	color: var(--dark);
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%; /* 25.2px */
}
.content-table__list {
	display: grid;
	grid-template-rows: 1fr;
	overflow: hidden;
	transition: grid-template-rows 0.3s;
}
.content-table__list > div {
	min-height: 0;
}
.content-table__list > div > span {
	min-height: 0;
	display: block;
	height: 30px;
	width: 100%;
}
.content-table__svg {
	transition: transform 0.3s;
}
.content-table.hidden .content-table__svg {
	transform: rotate(180deg);
}
.content-table.hidden .content-table__list {
	grid-template-rows: 0fr;
}

.single-post__sidebar-news {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.single-post__sidebar-news .news-card {
	padding-bottom: 0;
}

/* aside product */
.aside-product {
	margin-top: 80px;
	margin-bottom: 15px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.aside-product__title {
	color: var(--dark);
	font-family: var(--oswald-font);
	font-size: 32px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	text-transform: uppercase;
}
.aside-product__card {
	padding: 30px;
	border-radius: 10px;
	background: var(--main-white);
	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
	display: flex;
	gap: 60px;
	position: relative;
}
.aside-product__card .product-tab-card--wishlist {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: flex-end;
	color: var(--dark);
}
.aside-product__card .product-tab-card__img {
	width: 250px;
	aspect-ratio: 250 / 278;
	flex-shrink: 0;
	/* display: grid;
	place-content: center; */
}

.aside-product__card .product-tab-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.aside-product__card .product-tab-card__main {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: auto;
	flex: 1;
}
.aside-product__card .product-tab-card__title {
	color: var(--dark);
	font-family: var(--oswald-font);
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	max-width: 330px;
}
.aside-product__card .product-tab-card__price {
	display: flex;
	align-items: center;
	gap: 60px;
}
.aside-product__card .product-tab-card__price > span {
	color: var(--light-grey-text);
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
.aside-product__card .product-tab-card__price strong {
	color: var(--dark);
	font-family: var(--oswald-font);
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}
.aside-product__card .main-btn {
	width: 90%;
	margin-top: 20px;
	max-width: 300px;
}
/* aside product */

/* news single page */

/* latest news */
.latest-news__news {
	margin-top: 20px;
	padding-top: 40px;
	border-top: 1px solid var(--dark);
	border-bottom: 1px solid var(--dark);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.latest-news__inner .news-btn {
	margin-bottom: 0;
}
/* latest news */

/* media */
@media screen and (max-width: 1650px) {
	.news {
		padding-top: 30px;
		row-gap: 30px;
	}
	.news-btn {
		margin-top: 30px;
	}
	.news-card {
		padding-bottom: 30px;
	}
	.news-card__img .news-card__date {
		top: 10px;
		right: 10px;
	}
	.news-card__title {
		font-size: 18px;
	}
	.news-card__text {
		font-size: 16px;
	}
	.news-card__date-content span {
		font-size: 16px;
		padding: 10px 25px;
	}
	.single-post__recommend-title {
		font-size: 22px;
	}
	.single-post__heading {
		margin-top: 20px;
		margin-bottom: 15px;
	}
	.aside-product__card {
		padding: 20px;
		gap: 20px;
	}
	.single-post__heading,
	.single-post__inner {
		grid-template-columns: 2fr 1fr;
	}
	.aside-product__card .product-tab-card__img {
		width: 30%;
	}
	.aside-product__card .product-tab-card__title {
		font-size: 18px;
	}
	.aside-product__card .product-tab-card__price {
		gap: 20px;
	}
	.aside-product__card .product-tab-card__price strong {
		font-size: 18px;
	}
	.aside-product__card .main-btn {
		margin-top: 0;
	}
	.single-post__reading-time span {
		font-size: 20px;
	}
	.single-post__reading-time .time {
		font-size: 16px;
	}
	.latest-news__news {
		padding-top: 30px;
	}
	.single-post__sidebar-news {
		gap: 30px;
	}
	.aside-product__card .product-tab-card__img {
		width: 153px;
		height: 179px;
		aspect-ratio: unset;
	}
	.aside-product {
		margin-top: 40px;
	}
	.aside-product__title {
		font-size: 28px;
	}
	.aside-product__card .product-tab-card__price span {
		font-size: 16px;
	}
	.content-table__top span {
		font-size: 28px;
	}
	.content-table__link {
		font-size: 22px;
	}
}

@media screen and (max-width: 1440px) {
	.content-table {
		padding: 30px;
	}
	.aside-product__card {
		padding: 10px;
	}
	.single-post__recommend-title {
		font-size: 18px;
	}
	.aside-product__title {
		font-size: 18px;
	}
	.content-table__top span {
		font-size: 24px;
	}
	.content-table__list > div > span {
		height: 20px;
	}
	.single-post__reading-time span {
		font-size: 18px;
	}
	.single-post__reading-time svg {
		width: 24px;
		height: auto;
	}
	.single-post__content h2 {
		font-size: 28px;
	}
}
@media screen and (max-width: 1280px) {
	.news {
		grid-template-columns: 1fr 1fr;
	}

	.news .news-card__line {
		width: calc(100% + 20px) !important;
	}

	.news > :nth-child(2n - 1) .news-card__line {
		width: 100% !important;
	}
	.latest-news__news {
		grid-template-columns: 1fr 1fr;
	}
	.single-post__content {
		margin-top: 30px;
	}
}
@media screen and (max-width: 1044px) {
	.news-card__date-content span {
		font-size: 14px;
		padding: 7px 14px;
	}
	.news-card__title {
		font-size: 16px;
	}
	.news-card__text {
		font-size: 14px;
	}
	.content-table {
		padding: 20px;
	}
	.aside-product__card {
		flex-direction: column;
	}
	.aside-product__card .product-tab-card--wishlist {
		position: absolute;
		z-index: 1;
		top: 20px;
		right: 20px;
		width: 25px;
		height: 25px;
	}
	.aside-product__card .product-tab-card__img {
		margin: 0px auto;
	}
}
@media screen and (max-width: 960px) {
	.single-post__heading {
		display: flex;
	}
	.single-post__inner {
		display: flex;
		flex-direction: column;
		gap: 70px;
	}
	.single-post__recommend-title {
		display: none;
	}
	.single-post__sidebar .single-post__recommend-title {
		display: block;
		margin-bottom: 20px;
	}
	.aside-product__card {
		max-width: 600px;
		width: fit-content;
		flex-direction: row;
	}
	.aside-product__card .product-tab-card--wishlist {
		position: relative;
		top: unset;
		right: unset;
	}
	.single-post__content h2 {
		font-size: 24px;
	}
}
@media screen and (max-width: 750px) {
	.latest-news__news {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-top: 10px;
		border-bottom: unset;
	}
	.latest-news__news .news-card {
		padding-bottom: 20px;
		border-bottom: 1px solid var(--dark);
	}
	.news {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.news {
		padding-top: 20px;
	}
	.news-btn {
		margin-top: 20px;
	}
	.news-card {
		padding-bottom: 20px;
	}
	.news .news-card__line {
		width: 100% !important;
	}
	.news-btn {
		grid-template-columns: 1fr 2fr 1fr;
	}
	.single-post__content h2 {
		font-size: 20px;
	}
	.content-table__nav {
		gap: 15px;
	}
	.single-post__content {
		margin-top: 20px;
	}
}
@media screen and (max-width: 550px) {
	.single-post__date {
		top: 10px;
		right: 10px;
		font-size: 14px;
		padding: 7px 14px;
	}
	.news-btn {
		grid-template-columns: 0fr 1fr 0fr;
	}
	.aside-product__card {
		max-width: 100%;
	}
	.single-post__content p {
		font-size: 14px;
		color: var(--dark);
	}
	.single-post__content h2 {
		font-size: 16px;
		margin-bottom: 10px;
		margin-top: 10px;
	}
	.single-post__content h2#heading0 {
		margin-top: 0;
	}
	.single-post__reading-time svg {
		width: 18px;
	}
	.single-post__reading-time span {
		font-size: 14px;
	}
	.single-post__reading-time .time {
		font-size: 14px;
	}
	.single-post__img {
		aspect-ratio: 335 / 218;
		margin-bottom: 10px;
	}
	.content-table {
		margin-top: 10px;
	}
	.content-table__svg {
		width: 21px;
		height: 21px;
	}
	.content-table__top span {
		font-size: 16px;
	}
	.content-table__link {
		font-size: 14px;
	}
	.aside-product__card .product-tab-card__title {
		font-size: 14px;
	}
	.aside-product__card .product-tab-card__price {
		justify-content: space-between;
	}
	.aside-product__card {
		gap: 40px;
	}
	.aside-product__card .product-tab-card__price strong,
	.aside-product__card .product-tab-card__price span {
		font-size: 14px;
	}
	.aside-product__card .main-btn {
		max-width: 100%;
		width: 100%;
		height: 30px;
	}
	.aside-product__card .product-tab-card--wishlist {
		width: 36px;
		height: 36px;
		order: -1;
	}
	.aside-product__card {
		gap: 20px;
	}
	.aside-product__card .product-tab-card__img {
		width: 50%;
		grid-row: span 2;
	}
	.aside-product__card .product-tab-card__main {
		justify-content: space-between;
		grid-row: span 2;
	}
	.aside-product__card .product-tab-card__img img {
		object-fit: contain;
	}
	.aside-product__card {
		max-width: 100%;
		width: 100%;
		overflow: hidden;
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.aside-product__card .product-tab-card__title {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}
	.aside-product__card .product-tab-card__img {
		width: 100%;
		height: auto;
	}
	.aside-product__card .product-tab-card__img img {
		object-fit: contain;
	}
}
@media screen and (max-width: 350px) {
	.aside-product__card .product-tab-card__price {
		gap: 10px;
	}
	.aside-product__card .product-tab-card__price strong {
		white-space: nowrap;
		overflow: hidden;
		display: inline-block;
		width: auto;
	}
	.aside-product__card {
		gap: 10px;
	}
}

@media screen and (max-width: 300px) {
	.aside-product__card {
		grid-template-columns: 1fr;
	}
}

/* media */
