/*
Theme Name: PenNews Restore - Paragliding Hoi An
Theme URI: http://paraglidinghoian.test/
Author: Phuc dung tu ban luu Wayback Machine
Description: Theme dung lai giao dien site paraglidinghoian.com (ban goc dung PenNews + WPBakery). Toan bo HTML/CSS o day duoc viet lai thuan, khong phu thuoc theme/plugin ban quyen.
Version: 1.1.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pennews-restore
Tags: vietnamese, landing-page, travel
*/

/* ==========================================================================
   1. Bien & nen tang
   ========================================================================== */
:root {
	--pgh-primary: #00acc1;
	--pgh-primary-dark: #008fa1;
	--pgh-accent: #d3347b;
	--pgh-sky-1: #a5ebec;
	--pgh-sky-2: #9bcfe3;
	--pgh-blue: #1e73be;
	--pgh-text: #313131;
	--pgh-muted: #5a5a5a;
	--pgh-line: #dedede;
	--pgh-bg-soft: #f3f4f5;
	--pgh-font-head: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
	--pgh-font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	--pgh-font-alt: 'Mukta Vaani', 'Roboto', sans-serif;
	--pgh-container: 1170px;
	--pgh-container-wide: 1400px;
	--pgh-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: #fff;
	color: var(--pgh-text);
	font-family: var(--pgh-font-body);
	font-size: 15px;
	line-height: 1.8;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }

a { color: var(--pgh-primary); text-decoration: none; transition: color .25s ease, background-color .25s ease, border-color .25s ease; }
a:hover { color: var(--pgh-accent); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pgh-font-head);
	color: #1c1c1c;
	line-height: 1.25;
	margin: 0 0 18px;
	font-weight: 700;
}

h1 { font-size: 38px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

p { margin: 0 0 18px; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 6px; }

blockquote {
	margin: 24px 0;
	padding: 18px 24px;
	border-left: 4px solid var(--pgh-primary);
	background: var(--pgh-bg-soft);
	font-family: 'Lora', Georgia, serif;
	font-style: italic;
}

hr { border: 0; border-top: 1px solid var(--pgh-line); margin: 30px 0; }

table { border-collapse: collapse; width: 100%; margin-bottom: 20px; }
th, td { border: 1px solid var(--pgh-line); padding: 10px 12px; text-align: left; }
th { background: var(--pgh-bg-soft); font-family: var(--pgh-font-head); }

figure { margin: 0 0 20px; }
figcaption { font-size: 13px; color: var(--pgh-muted); text-align: center; padding-top: 8px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.alignleft { float: left; margin: 5px 24px 18px 0; }
.alignright { float: right; margin: 5px 0 18px 24px; }
.aligncenter { display: block; margin: 0 auto 18px; }

/* ==========================================================================
   2. Bo cuc & container
   ========================================================================== */
#page { overflow: hidden; }

.penci-container {
	width: 100%;
	max-width: var(--pgh-container);
	margin: 0 auto;
	padding: 0 15px;
}

.penci-container-fluid {
	width: 100%;
	max-width: var(--pgh-container-wide);
	margin: 0 auto;
	padding: 0 20px;
}

.site-content { min-height: 40vh; }

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header-wrapper { position: relative; z-index: 999; }

.site-header {
	background: #fff;
	box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
	transition: background-color .3s ease, box-shadow .3s ease;
}

.header-content__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 90px;
}

.site-branding { flex: 0 0 auto; }
.site-branding h2 { margin: 0; line-height: 1; font-size: 24px; }
.site-branding img { max-height: 56px; width: auto; }
.site-branding .site-title a { color: #111; font-family: var(--pgh-font-head); letter-spacing: .5px; }

.main-navigation { flex: 1 1 auto; display: flex; justify-content: center; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.main-navigation li { position: relative; margin: 0; }

.main-navigation > ul > li > a {
	display: block;
	padding: 34px 13px;
	font-family: var(--pgh-font-head);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: #1c1c1c;
	position: relative;
}

.main-navigation > ul > li > a::after {
	content: '';
	position: absolute;
	left: 13px; right: 13px; bottom: 26px;
	height: 2px;
	background: var(--pgh-primary);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .3s ease;
}

.main-navigation > ul > li:hover > a::after,
.main-navigation > ul > li.current-menu-item > a::after,
.main-navigation > ul > li.current-menu-parent > a::after,
.main-navigation > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); }

.main-navigation > ul > li:hover > a,
.main-navigation > ul > li.current-menu-item > a { color: var(--pgh-primary); }

.main-navigation > ul > li.menu-item-has-children > a { padding-right: 24px; }
.main-navigation li.menu-item-has-children > a::before {
	content: '';
	position: absolute;
	right: 8px; top: 50%;
	margin-top: -2px;
	width: 0; height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: .7;
}

.main-navigation .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 250px;
	background: #fff;
	box-shadow: var(--pgh-shadow);
	border-top: 2px solid var(--pgh-primary);
	display: block;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s;
	padding: 6px 0;
	z-index: 20;
}

.main-navigation li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.main-navigation .sub-menu li { display: block; }
.main-navigation .sub-menu a {
	display: block;
	padding: 9px 20px;
	font-family: var(--pgh-font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .4px;
	text-transform: uppercase;
	color: #333;
	border-bottom: 1px solid #f1f1f1;
}
.main-navigation .sub-menu li:last-child a { border-bottom: 0; }
.main-navigation .sub-menu a:hover { color: var(--pgh-primary); background: #fafafa; padding-left: 25px; }
.main-navigation .sub-menu li.menu-item-has-children > a::before {
	right: 14px;
	margin-top: -4px;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 5px solid currentColor;
	border-right: 0;
}

.header-social-search { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.header-social-search a { color: #666; font-size: 15px; }
.header-social-search a:hover { color: var(--pgh-primary); }

.penci-mobile-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.penci-mobile-toggle span { display: block; width: 22px; height: 2px; background: #333; }

/* Header trong suot tren trang chu */
.penci-header-transparent .site-header-wrapper {
	position: absolute;
	top: 0; left: 0; right: 0;
}
.penci-header-transparent .site-header { background: transparent; box-shadow: none; }
.penci-header-transparent .site-header .main-navigation > ul > li > a,
.penci-header-transparent .site-header .site-branding .site-title a,
.penci-header-transparent .penci-mobile-toggle span,
.penci-header-transparent .header-social-search a { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.penci-header-transparent .penci-mobile-toggle span { background: #fff; }

.site-header.is-stuck {
	position: fixed;
	top: 0; left: 0; right: 0;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 2px 14px rgba(0, 0, 0, .12);
	animation: pghSlideDown .35s ease;
	z-index: 1000;
}
.penci-header-transparent .site-header.is-stuck .main-navigation > ul > li > a,
.penci-header-transparent .site-header.is-stuck .site-branding .site-title a,
.penci-header-transparent .site-header.is-stuck .header-social-search a { color: #1c1c1c; text-shadow: none; }
.penci-header-transparent .site-header.is-stuck .penci-mobile-toggle span { background: #333; }
.site-header.is-stuck .main-navigation > ul > li > a { padding-top: 24px; padding-bottom: 24px; }
.site-header.is-stuck .main-navigation > ul > li > a::after { bottom: 16px; }

@keyframes pghSlideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.penci-mobile-nav {
	display: none;
	background: #fff;
	border-top: 1px solid var(--pgh-line);
	padding: 10px 20px 20px;
	position: relative;
	z-index: 998;
}
.penci-mobile-nav.is-open { display: block; }
.penci-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.penci-mobile-nav .sub-menu { padding-left: 16px; }
.penci-mobile-nav li { margin: 0; }
.penci-mobile-nav a {
	display: block;
	padding: 11px 0;
	border-bottom: 1px solid #f0f0f0;
	font-family: var(--pgh-font-head);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: #222;
}

/* ==========================================================================
   4. Luoi WPBakery (vc_row / vc_column)
   ========================================================================== */
.wpb-content-wrapper { width: 100%; }

.vc_row {
	position: relative;
	margin-left: -15px;
	margin-right: -15px;
}
.vc_row::after { content: ''; display: table; clear: both; }

.penci-pb-row { margin-left: 0; margin-right: 0; }

.vc_column_container,
.wpb_column {
	position: relative;
	float: left;
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
	min-height: 1px;
}
.vc_column_container > .vc_column-inner { padding-left: 0; padding-right: 0; float: none; width: 100%; }
.wpb_wrapper::after { content: ''; display: table; clear: both; }

.vc_col-sm-1  { width: 8.3333%; }
.vc_col-sm-2  { width: 16.6666%; }
.vc_col-sm-3  { width: 25%; }
.vc_col-sm-4  { width: 33.3333%; }
.vc_col-sm-5  { width: 41.6666%; }
.vc_col-sm-6  { width: 50%; }
.vc_col-sm-7  { width: 58.3333%; }
.vc_col-sm-8  { width: 66.6666%; }
.vc_col-sm-9  { width: 75%; }
.vc_col-sm-10 { width: 83.3333%; }
.vc_col-sm-11 { width: 91.6666%; }
.vc_col-sm-12 { width: 100%; }

.vc_row-flex { display: flex; flex-wrap: wrap; }
.vc_row-flex > .wpb_column { display: flex; flex-direction: column; float: none; }
.vc_row-flex > .wpb_column > .vc_column-inner { flex: 1 1 auto; display: flex; flex-direction: column; }
.vc_row-flex > .wpb_column > .vc_column-inner > .wpb_wrapper { flex: 1 1 auto; }
.vc_row-o-content-middle > .wpb_column > .vc_column-inner > .wpb_wrapper { display: flex; flex-direction: column; justify-content: center; }
.vc_row-o-content-bottom > .wpb_column > .vc_column-inner > .wpb_wrapper { display: flex; flex-direction: column; justify-content: flex-end; }

.vc_column-gap-10 > .wpb_column { padding-left: 5px; padding-right: 5px; }
.vc_column-gap-20 > .wpb_column { padding-left: 10px; padding-right: 10px; }
.vc_column-gap-30 > .wpb_column { padding-left: 15px; padding-right: 15px; }

.vc_row-has-fill,
.vc_row-has-fill > .vc_column_container > .vc_column-inner { background-size: cover; background-position: center; }

.vc_empty_space { position: relative; width: 100%; clear: both; }
.vc_empty_space_inner { display: block; }

.wpb_content_element, .wpb_text_column { margin-bottom: 22px; }
.wpb_text_column :last-child, .wpb_content_element :last-child { margin-bottom: 0; }

.wpb_single_image { margin-bottom: 22px; }
.wpb_single_image img { display: block; }
.wpb_single_image.vc_align_center { text-align: center; }
.wpb_single_image.vc_align_center img { margin: 0 auto; }

.penci-vc_row-wapper { width: 100%; }
.penci-vc_row-center { margin-left: auto; margin-right: auto; }
.penci-vc_row-width-1400 { max-width: 1400px; }
.penci-vc_row-custom { max-width: 1170px; }

/* Hang co nen video YouTube */
.vc_video-bg-container { position: relative; overflow: hidden; background: #10333d; }
.vc_video-bg-container > .wpb_column,
.vc_video-bg-container > .vc_column_container { position: relative; z-index: 2; }

.pgh-video-bg {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}
.pgh-video-bg iframe {
	position: absolute;
	top: 50%; left: 50%;
	width: 100vw; height: 56.25vw;
	min-height: 100%; min-width: 177.77vh;
	transform: translate(-50%, -50%);
	border: 0;
}
.pgh-video-bg::after {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .18) 45%, rgba(0, 0, 0, .55) 100%);
}
.pgh-hero-fallback {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(160deg, #7fd7e6 0%, #37a9c4 45%, #1e73be 100%);
	z-index: 0;
}

/* ==========================================================================
   5. Thanh phan PenNews
   ========================================================================== */

/* 5.1 Tieu de trang tri */
.penci-fancy-heading { margin-bottom: 26px; }
.penci-fancy-heading-inner { width: 100%; }
.penci-heading-text-center { text-align: center; }
.penci-heading-text-left { text-align: left; }
.penci-heading-text-right { text-align: right; }

.penci-heading-title {
	font-family: var(--pgh-font-head);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .3px;
	margin: 0 0 16px;
	color: #16323b;
}

.penci-heading-content { font-size: 15px; line-height: 1.85; color: #3d3d3d; }
.penci-heading-content p:last-child { margin-bottom: 0; }
.penci-heading-content strong { color: #16323b; }

/* 5.2 Icon box */
.penci-icon-box { margin-bottom: 30px; }
.penci-ibox-inner { position: relative; }

.penci-ibox-icon { margin-bottom: 14px; }
.penci-ibox-icon img { max-width: 74px; height: auto; }
.penci-ibox-icon-fa { display: inline-block; }

.penci-ibox-float-left .penci-ibox-inner { padding-left: 92px; }
.penci-ibox-float-left .penci-ibox-icon {
	position: absolute;
	left: 0; top: 2px;
	width: 74px;
	margin-bottom: 0;
}

.penci-ibox-title {
	font-family: var(--pgh-font-head);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .3px;
	margin: 0 0 10px;
	color: #16323b;
	text-transform: uppercase;
}
.penci-ibox-size-lg .penci-ibox-title { font-size: 20px; }
.penci-ibox-size-sm .penci-ibox-title { font-size: 15px; }

.penci-ibox-content { font-size: 14px; line-height: 1.8; color: var(--pgh-muted); margin: 0; }

/* 5.3 Nut */
a.custom-button,
a.pencisc-button,
.pgh-btn {
	display: inline-block;
	background: transparent;
	color: var(--pgh-accent);
	border: 2px solid var(--pgh-accent);
	line-height: 36px;
	padding: 0 22px;
	font-family: var(--pgh-font-head);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	border-radius: 2px;
	cursor: pointer;
}
a.custom-button:hover,
a.pencisc-button:hover,
.pgh-btn:hover { background: var(--pgh-accent); color: #fff; border-color: var(--pgh-accent); }

a.pencisc-button.pencisc-small { line-height: 28px; font-size: 12px; padding: 0 16px; }
a.pencisc-button.pencisc-large { line-height: 46px; font-size: 16px; padding: 0 30px; }

.pgh-btn--primary { color: #fff; background: var(--pgh-primary); border-color: var(--pgh-primary); }
.pgh-btn--primary:hover { background: var(--pgh-primary-dark); border-color: var(--pgh-primary-dark); color: #fff; }

/* 5.4 Khoi bai viet trong trang chu */
.penci-block-vc { margin-bottom: 30px; }

.penci-block-heading,
.penci-block__title {
	font-family: var(--pgh-font-head);
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .6px;
	margin: 0 0 22px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--pgh-primary);
}

.penci-post-item {
	background: #fff;
	margin-bottom: 30px;
}

.penci-image-holder {
	position: relative;
	overflow: hidden;
	background: var(--pgh-bg-soft);
	margin-bottom: 14px;
}
.penci-image-holder img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform .6s ease;
}
.penci-post-item:hover .penci-image-holder img { transform: scale(1.06); }

.penci-post-cat { position: absolute; left: 10px; top: 10px; z-index: 3; }
.penci-cat-name {
	display: inline-block;
	background: var(--pgh-primary);
	color: #fff;
	font-family: var(--pgh-font-head);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	padding: 4px 10px;
	margin-right: 4px;
}
.penci-cat-name:hover { background: var(--pgh-accent); color: #fff; }

.penci-post-item .penci-entry-title {
	font-family: var(--pgh-font-head);
	font-size: 19px;
	line-height: 1.35;
	margin: 0 0 8px;
}
.penci-post-item .penci-entry-title a { color: #16323b; }
.penci-post-item .penci-entry-title a:hover { color: var(--pgh-primary); }

.penci-posted-on {
	font-family: var(--pgh-font-alt);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #999;
	margin-bottom: 10px;
}
.penci-posted-on a { color: #999; }
.penci-posted-on .sep { margin: 0 6px; }

.penci-post-excerpt { font-size: 14px; color: var(--pgh-muted); margin-bottom: 12px; }
.penci-post-excerpt p { margin-bottom: 0; }

.penci-more-link {
	font-family: var(--pgh-font-head);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .8px;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}

.penci-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.penci-post-grid .penci-post-item { margin-bottom: 0; }

/* 5.5 Mang xa hoi */
.penci-social-media-shortcode { display: flex; flex-wrap: wrap; gap: 10px; }
.social-media-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.footer__social-media { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__social-media .social-media-item {
	width: 38px; height: 38px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	color: #fff;
}
.footer__social-media .social-media-item:hover { background: var(--pgh-primary); border-color: var(--pgh-primary); color: #fff; }

/* ==========================================================================
   6. Trang bai viet / luu tru
   ========================================================================== */
.penci-single-hero {
	background: linear-gradient(135deg, #f5fbfc 0%, #eaf6f8 100%);
	padding: 46px 0 40px;
	margin-bottom: 40px;
	border-bottom: 1px solid #e3eff1;
}
.penci-single-hero .penci-post-cat { position: static; margin-bottom: 14px; }
.penci-single-hero .entry-title { font-size: 40px; margin-bottom: 14px; max-width: 900px; }

.penci-breadcrumb {
	font-family: var(--pgh-font-alt);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: #8a8a8a;
	margin-bottom: 16px;
}
.penci-breadcrumb a { color: #8a8a8a; }
.penci-breadcrumb a:hover { color: var(--pgh-primary); }
.penci-breadcrumb .cat-sep { margin: 0 8px; }
.penci-breadcrumb .current { color: var(--pgh-primary); }

.penci-archive-head {
	background: linear-gradient(135deg, #f5fbfc 0%, #eaf6f8 100%);
	padding: 44px 0 36px;
	margin-bottom: 44px;
	border-bottom: 1px solid #e3eff1;
}
.penci-page-title { font-size: 34px; margin: 0; }
.penci-archive-desc { margin-top: 12px; max-width: 820px; color: var(--pgh-muted); }

.penci-single-wrap,
.penci-archive-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 44px;
	padding-bottom: 60px;
	align-items: start;
}
.penci-single-wrap > main,
.penci-archive-wrap > main { min-width: 0; }

.penci-single-thumb { margin-bottom: 28px; }
.penci-single-thumb img { width: 100%; }

.penci-entry-content { font-size: 16px; line-height: 1.9; }
.penci-entry-content h1 { font-size: 32px; margin-top: 36px; }
.penci-entry-content h2 { font-size: 27px; margin-top: 34px; }
.penci-entry-content h3 { font-size: 22px; margin-top: 30px; }
.penci-entry-content h4 { font-size: 19px; margin-top: 26px; }
.penci-entry-content img { height: auto; }
.penci-entry-content figure img { width: 100%; }
.penci-entry-content ul, .penci-entry-content ol { margin-bottom: 20px; }
.penci-entry-content a { text-decoration: underline; text-underline-offset: 2px; }

.penci-post-share {
	margin: 40px 0 10px;
	padding-top: 22px;
	border-top: 1px solid var(--pgh-line);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.penci-social-share-text {
	font-family: var(--pgh-font-head);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .8px;
	margin-right: 6px;
}
.penci-post-share .penci-social-item {
	width: 36px; height: 36px;
	display: inline-flex;
	align-items: center; justify-content: center;
	background: var(--pgh-bg-soft);
	color: #555;
	border-radius: 2px;
}
.penci-post-share .penci-social-item:hover { background: var(--pgh-primary); color: #fff; }

.penci-related-posts { margin-top: 56px; }
.penci-related-posts .penci-post-grid { gap: 24px; }

.penci-post-grid--archive { grid-template-columns: repeat(2, 1fr); }

.penci-pagination { margin: 20px 0 10px; }
.penci-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.penci-pagination .page-numbers {
	display: inline-flex;
	align-items: center; justify-content: center;
	min-width: 38px; height: 38px;
	padding: 0 10px;
	border: 1px solid var(--pgh-line);
	font-family: var(--pgh-font-head);
	font-weight: 700;
	color: #333;
}
.penci-pagination .page-numbers.current,
.penci-pagination .page-numbers:hover { background: var(--pgh-primary); border-color: var(--pgh-primary); color: #fff; }

.penci-no-posts {
	padding: 40px;
	background: var(--pgh-bg-soft);
	text-align: center;
}

.penci-page-head { padding: 40px 0 10px; }
.penci-404 { padding: 90px 15px; text-align: center; }
.penci-404 .penci-page-title { font-size: 90px; color: var(--pgh-primary); }

/* Sidebar */
.penci-sidebar-content .widget {
	margin-bottom: 34px;
	padding-bottom: 4px;
}
.penci-sidebar-content .widget h3 {
	font-family: var(--pgh-font-head);
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: .8px;
	padding-bottom: 10px;
	margin-bottom: 16px;
	border-bottom: 2px solid var(--pgh-primary);
}
.penci-sidebar-content ul { list-style: none; padding: 0; margin: 0; }
.penci-sidebar-content li {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
}
.penci-sidebar-content a { color: #444; }
.penci-sidebar-content a:hover { color: var(--pgh-primary); }

.penci-search-form { display: flex; }
.penci-search-form .search-field {
	flex: 1 1 auto;
	border: 1px solid var(--pgh-line);
	padding: 10px 14px;
	font-size: 14px;
	font-family: var(--pgh-font-body);
}
.penci-search-form .search-submit {
	border: 0;
	background: var(--pgh-primary);
	color: #fff;
	padding: 0 16px;
	cursor: pointer;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.site-footer { background: #16323b; color: #c8d6da; margin-top: 60px; }

.footer__bottom { padding: 54px 0 42px; }
.footer__bottom_container { text-align: center; }

.footer__logo { margin-bottom: 22px; }
.footer__logo img { max-height: 62px; width: auto; }

.penci-footer-text-wrap {
	max-width: 860px;
	margin: 0 auto 24px;
	font-size: 14px;
	line-height: 1.9;
	color: #a9bfc6;
}
/* Dòng liên hệ ở chân trang: hotline + email */
.footer-contact-wrap {
	margin-top: 14px;
	color: #c8d6da;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 10px;
}
.footer-contact-wrap a { color: var(--pgh-sky-1); }
.footer-contact-wrap a:hover { color: #fff; }
.footer-contact__sep { opacity: .45; }

.footer-phone {
	font-family: var(--pgh-font-head);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .6px;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.footer-contact__sep { display: none; }
	.footer-contact-wrap { flex-direction: column; gap: 6px; }
}

.footer__social-media { justify-content: center; }

.footer__copyright_menu {
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding: 22px 0;
}
/*
 * Dòng bản quyền + menu chân trang.
 * Hai khối này cộng lại rộng hơn khung 1400px nên luôn bị xuống dòng; nếu để
 * space-between thì mỗi dòng dạt về trái, lệch hẳn với phần trên vốn căn giữa.
 * Vì vậy xếp dọc và căn giữa cho đồng bộ cả chân trang.
 */
.footer__copyright_menu .footer__sidebars-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	text-align: center;
}
.site-info { font-size: 13px; color: #8ea3aa; }
.sub-footer-menu ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 0; padding: 0; }
.sub-footer-menu li { margin: 0; }
.sub-footer-menu a {
	font-family: var(--pgh-font-head);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: #a9bfc6;
}
.sub-footer-menu a:hover { color: var(--pgh-sky-1); }
.sub-footer-menu .sub-menu { display: none; }

.penci-go-top {
	position: fixed;
	right: 24px; bottom: 24px;
	width: 44px; height: 44px;
	display: none;
	align-items: center; justify-content: center;
	background: var(--pgh-primary);
	color: #fff;
	border-radius: 3px;
	z-index: 900;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.penci-go-top.is-visible { display: flex; }
.penci-go-top:hover { background: var(--pgh-accent); color: #fff; }

/* ==========================================================================
   8. Khoi Gutenberg
   ========================================================================== */
.wp-block-image { margin: 0 0 24px; }
.wp-block-image img { display: block; }
.wp-block-heading { font-family: var(--pgh-font-head); }
.wp-block-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.wp-block-button__link {
	display: inline-block;
	background: var(--pgh-primary);
	color: #fff;
	padding: 11px 24px;
	font-family: var(--pgh-font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	border-radius: 3px;
	text-decoration: none;
}
.wp-block-button__link:hover { background: var(--pgh-accent); color: #fff; }
.wp-block-table table { width: 100%; }
.wp-block-separator { border-top: 1px solid var(--pgh-line); }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.wp-block-embed__wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.wp-block-embed__wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Anh chua co ban goc: giu khung, khong vo bo cuc */
img[src*="placeholder"] { background: var(--pgh-bg-soft); }

/* ==========================================================================
   9. Responsive
   ========================================================================== */
@media (max-width: 1199px) {
	.penci-heading-title { font-size: 26px; }
	.penci-single-hero .entry-title { font-size: 32px; }
}

@media (max-width: 1024px) {
	.penci-single-wrap,
	.penci-archive-wrap { grid-template-columns: 1fr; gap: 40px; }
	.penci-post-grid { grid-template-columns: repeat(2, 1fr); }
	.main-navigation > ul > li > a { padding: 30px 9px; font-size: 13px; }
}

@media (max-width: 900px) {
	.main-navigation { display: none; }
	.penci-mobile-toggle { display: flex; }
	.header-content__container { min-height: 70px; }

	.vc_col-sm-1, .vc_col-sm-2, .vc_col-sm-3, .vc_col-sm-4,
	.vc_col-sm-5, .vc_col-sm-6, .vc_col-sm-7, .vc_col-sm-8,
	.vc_col-sm-9, .vc_col-sm-10, .vc_col-sm-11 { width: 100%; }

	.vc_row-flex { display: block; }
	.vc_row-flex > .wpb_column { display: block; }

	.vc_custom_1753954046330 { padding: 60px 24px !important; }

	.penci-heading-title { font-size: 23px; }
	.penci-single-hero .entry-title { font-size: 27px; }
	.penci-page-title { font-size: 27px; }
	.penci-entry-content { font-size: 15px; }

}

@media (max-width: 767px) {
	body { font-size: 14px; }
	.penci-post-grid,
	.penci-post-grid--archive { grid-template-columns: 1fr; gap: 26px; }
	.penci-ibox-float-left .penci-ibox-inner { padding-left: 0; }
	.penci-ibox-float-left .penci-ibox-icon { position: static; margin-bottom: 12px; }
	.vc_empty_space { max-height: 60px; }
	.penci-single-hero, .penci-archive-head { padding: 32px 0 26px; margin-bottom: 30px; }
	h1 { font-size: 28px; }
	h2 { font-size: 24px; }
	h3 { font-size: 20px; }
}

/* In an */
@media print {
	.site-header-wrapper, .site-footer, .penci-go-top, .penci-post-share { display: none !important; }
}


/* Hub theo thiết bị (hình nền máy tính / điện thoại).
   Thẻ dùng chung class .pgh-hinh-topics với danh sách chủ đề con, ở đây chỉ
   cần thêm câu dẫn phía trên. */
.pgh-hub-thiet-bi{margin-top:22px}
.pgh-hub-dan{margin:0 0 4px;font-size:14px;line-height:1.6;color:#4a5b60}
.pgh-hub-thiet-bi .pgh-hinh-topics{margin-top:10px}
