/* PHM Travel – tin tức và bài viết. Nạp sau theme.css. */

.phm-chuyen-muc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.phm-chuyen-muc .phm-nut {
	background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .32); color: #fff;
	padding: 9px 17px; font-weight: 500;
}
.phm-chuyen-muc .phm-nut:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.phm-chuyen-muc .dang-xem { background: var(--dong); border-color: var(--dong); color: var(--navy); }

.phm-tin-khung { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.phm-tin-chinh { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.phm-cot-ben { flex: 0 0 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

/* ------------------------------------------------------------ cột bên */
.phm-hop-ben {
	background: #fff; border: 1px solid var(--vien-nhat);
	border-radius: var(--bo); padding: 22px 22px 20px;
}
.phm-hop-ben > h2 {
	font-size: 20px; letter-spacing: -.01em;
	padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--vien-nhat);
}
.phm-hop-ben--toi { background: var(--teal); border-color: var(--teal); color: #fff; padding-bottom: 24px; }
.phm-hop-ben--toi > h2 { color: #fff; border-bottom: 0; padding-bottom: 0; margin-bottom: 8px; font-size: 22px; }
.phm-hop-ben--toi p { color: #D5E0E5; font-size: 14px; }
.phm-hop-ben--toi .phm-nut { width: 100%; margin-top: 10px; }
.phm-hop-ben--toi .phm-nut--vien { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); border-radius: var(--bo); }
.phm-hop-ben--toi .phm-nut--vien:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.phm-ds-ben { list-style: none; margin: 0; padding: 0; }
.phm-ds-ben li { border-top: 1px solid var(--vien-nhat); }
.phm-ds-ben li:first-child { border-top: 0; }
.phm-muc-ben {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 14px 0; text-decoration: none; color: var(--navy);
}
.phm-muc-ben-anh {
	position: relative; flex: 0 0 76px; height: 60px;
	border-radius: 8px; overflow: hidden; background: #E7E5DF;
}
.phm-muc-ben-anh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.phm-muc-ben:hover .phm-muc-ben-anh img { transform: scale(1.06); }
.phm-muc-ben-chu { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.phm-muc-ben-nhan {
	font-size: 11px; font-weight: 600; letter-spacing: .1em;
	text-transform: uppercase; color: var(--teal-sang);
}
.phm-muc-ben-ten {
	font-size: 14.5px; font-weight: 600; line-height: 1.45;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	transition: color .2s;
}
.phm-muc-ben:hover .phm-muc-ben-ten { color: var(--teal-sang); }
.phm-muc-ben-dong {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 4px 10px; font-size: 13px; color: var(--chu-phu);
}
.phm-muc-ben-dong span { display: inline-flex; align-items: center; gap: 5px; }
.phm-muc-ben-dong svg { color: #93A0A7; }
.phm-muc-ben-dong b { font-size: 15px; font-weight: 700; color: var(--do); }
.phm-hop-ben > .phm-lien-ket-mui { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--vien-nhat); display: flex; }

/* ---------------------------------------------------------- bài nổi bật */
.phm-bai-noi-bat {
	display: flex; flex-wrap: wrap;
	background: #fff; border: 1px solid var(--vien-nhat);
	border-radius: var(--bo); overflow: hidden;
}
.phm-bai-noi-bat-anh { position: relative; flex: 1 1 340px; min-width: 0; display: block; }
.phm-bai-noi-bat-anh img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.phm-bai-noi-bat-than {
	flex: 1 1 320px; min-width: 0; padding: 28px 30px 30px;
	display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.phm-bai-noi-bat-than h2 { font-size: clamp(23px, 1.1vw + 17px, 31px); }
.phm-bai-noi-bat-than h2 a { color: var(--navy); text-decoration: none; }
.phm-bai-noi-bat-than h2 a:hover { color: var(--teal); }
.phm-bai-noi-bat-than .phm-nut { margin-top: 4px; }
.phm-the-bai-nhan {
	position: absolute; left: 12px; top: 12px;
	background: rgba(16, 40, 59, .82); color: #fff;
	font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: var(--bo-nho);
}

/* --------------------------------------------------------- thẻ bài viết */
.phm-luoi-bai { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.phm-luoi-bai--ba { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.phm-the-bai {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--vien-nhat); border-radius: var(--bo); overflow: hidden;
	transition: transform .25s, box-shadow .25s;
}
.phm-the-bai:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(16, 40, 59, .12); }
.phm-the-bai-anh { position: relative; display: block; aspect-ratio: 16 / 10; background: #E7E5DF; overflow: hidden; }
.phm-the-bai-anh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.phm-the-bai:hover .phm-the-bai-anh img { transform: scale(1.05); }
.phm-the-bai-than { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.phm-the-bai-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: var(--chu-mo); }
.phm-the-bai-cat { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-sang); }
.phm-the-bai-cat + time::before { content: "·"; margin-right: 10px; }
.phm-the-bai-than h3 {
	font-size: 17px; line-height: 1.45;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.phm-the-bai-than h3 a { color: var(--navy); text-decoration: none; }
.phm-the-bai-than h3 a::after { content: ""; position: absolute; inset: 0; }
.phm-the-bai:hover h3 a { color: var(--teal-sang); }
.phm-the-bai-than .phm-lien-ket-mui { margin-top: auto; padding-top: 6px; }

.phm-phan-trang { margin-top: 26px; }
.phm-phan-trang .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.phm-phan-trang .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border: 1px solid var(--vien); border-radius: var(--bo);
	color: var(--navy); text-decoration: none; font-weight: 600;
}
.phm-phan-trang .page-numbers:hover { background: var(--nen-kem); }
.phm-phan-trang .page-numbers.current { background: var(--teal); border-color: var(--teal); color: #fff; }
.phm-phan-trang .page-numbers.dots { border: 0; min-width: 24px; }

/* ------------------------------------------------------------- bài viết */
.phm-bai-don { background: #fff; border: 1px solid var(--vien-nhat); border-radius: var(--bo); overflow: hidden; }
.phm-bai-anh { position: relative; margin: 0; aspect-ratio: 16 / 9; background: #E7E5DF; }
.phm-bai-anh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phm-bai-anh figcaption {
	position: absolute; left: 14px; bottom: 14px;
	background: rgba(16, 40, 59, .78); color: #fff;
	font-size: 12px; padding: 5px 11px; border-radius: var(--bo-nho);
}
.phm-bai-than { padding: 28px 34px 34px; }
.phm-bai-cat {
	display: inline-block; background: var(--nen-kem); color: var(--navy-nhat);
	font-size: 13px; padding: 5px 13px; border-radius: var(--bo-nho); text-decoration: none;
}
.phm-bai-than h1 { margin-top: 14px; font-size: clamp(28px, 1.8vw + 16px, 40px); }
.phm-bai-meta { margin-top: 12px; font-size: 14px; color: var(--chu-phu); }

.phm-muc-luc { background: var(--nen-kem); border-radius: var(--bo); padding: 20px 24px 22px; margin: 24px 0 8px; }
.phm-muc-luc h2 { font-size: 17px; font-family: var(--chu-than); font-weight: 600; margin-bottom: 10px; }
.phm-muc-luc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.phm-muc-luc a { color: var(--teal-sang); }

.phm-bai-noi-dung { margin-top: 24px; }
.phm-bai-noi-dung h2 { margin: 32px 0 10px; font-size: clamp(22px, .8vw + 17px, 28px); }
.phm-bai-noi-dung h3 { margin: 24px 0 8px; font-size: 19px; }
.phm-bai-noi-dung h2,
.phm-bai-noi-dung h3 { color: var(--navy); }
.phm-bai-noi-dung img { border-radius: var(--bo); margin: 20px 0; }
.phm-bai-noi-dung blockquote {
	margin: 22px 0; padding: 4px 0 4px 20px;
	border-left: 3px solid var(--dong); color: var(--navy-nhat);
}

/* ------------------------------------------- tour liên quan trong bài viết */
.phm-tour-trong-bai {
	margin-top: 34px; padding: 24px 24px 26px;
	background: var(--nen-kem); border-radius: var(--bo);
}
.phm-tour-trong-bai > h2 { font-size: 22px; letter-spacing: -.01em; margin-bottom: 16px; }
.phm-tour-trong-bai-ds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.phm-tour-ngang {
	display: flex; gap: 14px; align-items: stretch;
	background: #fff; border: 1px solid var(--vien-nhat); border-radius: var(--bo);
	padding: 10px; text-decoration: none; color: var(--navy);
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.phm-tour-ngang:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16, 40, 59, .12); border-color: #E3DDD2; color: var(--navy); }
.phm-tour-ngang-anh {
	position: relative; flex: 0 0 104px; min-height: 104px;
	border-radius: 8px; overflow: hidden; background: #E7E5DF;
}
.phm-tour-ngang-anh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.phm-tour-ngang:hover .phm-tour-ngang-anh img { transform: scale(1.06); }
.phm-tour-ngang-than { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 4px 6px 4px 0; }
.phm-tour-ngang-ten {
	font-size: 15px; font-weight: 600; line-height: 1.42;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.phm-tour-ngang-tt { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; color: var(--chu-phu); }
.phm-tour-ngang-tt span { display: inline-flex; align-items: center; gap: 5px; }
.phm-tour-ngang-tt svg { color: #93A0A7; }
.phm-tour-ngang-cuoi {
	margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
}
.phm-tour-ngang-gia { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.phm-tour-ngang-gia .phm-gia-cu { font-size: 12.5px; }
.phm-tour-ngang-gia b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--do); }
.phm-tour-ngang .phm-lien-ket-mui { font-size: 13.5px; }

.phm-bai-the {
	margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--vien-nhat);
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	font-size: 14px; color: var(--chu-phu);
}
.phm-bai-the .phm-nut { padding: 7px 14px; font-size: 14px; font-weight: 500; }

@media (max-width: 1000px) {
	.phm-cot-ben { flex: 1 1 100%; }
	.phm-luoi-bai, .phm-luoi-bai--ba { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.phm-bai-than { padding: 22px 20px 26px; }
}

@media (max-width: 680px) {
	.phm-luoi-bai, .phm-luoi-bai--ba { grid-template-columns: 1fr; }
	.phm-tour-trong-bai-ds { grid-template-columns: 1fr; }
	.phm-tour-trong-bai { padding: 20px 16px 20px; }
}
