/* =========================================================================
   07 — CONTENT TYPOGRAPHY  (homepage SEO sections, pages, single posts)
   Shared rich-text styling for .entry-content / page bodies.
   ========================================================================= */

.entry-content,
.page-content,
.is-content {
	line-height: 1.75;
	color: var(--s67-text);
}
.entry-content p,
.page-content p { color: var(--s67-text-muted); }

/* Headings inside content get a gold accent bar */
.entry-content h2,
.entry-content h3,
.page-content h2,
.page-content h3 {
	position: relative;
	padding-left: 14px;
	margin-top: 1.6em;
	margin-bottom: 0.6em;
}
.entry-content h2::before,
.entry-content h3::before,
.page-content h2::before,
.page-content h3::before {
	content: "";
	position: absolute;
	left: 0; top: 0.12em; bottom: 0.12em;
	width: 4px;
	border-radius: 2px;
	background: var(--s67-grad-gold);
	box-shadow: 0 0 10px var(--s67-gold-glow);
}

/* Content links */
.entry-content a:not(.button),
.page-content a:not(.button) {
	color: var(--s67-gold-300);
	text-decoration: none;
	box-shadow: inset 0 -1px 0 rgba(244, 196, 48, 0.35);
	transition: box-shadow var(--s67-dur-fast) var(--s67-ease), color var(--s67-dur-fast) var(--s67-ease);
}
.entry-content a:not(.button):hover,
.page-content a:not(.button):hover {
	color: var(--s67-gold-100);
	box-shadow: inset 0 -2px 0 var(--s67-gold-300);
}

/* Lists */
.entry-content ul li::marker { color: var(--s67-gold-300); }
.entry-content ol li::marker { color: var(--s67-gold-300); font-weight: 700; }

/* Blockquote */
.entry-content blockquote,
.page-content blockquote {
	background: var(--s67-bg-elev-1);
	border-left: 3px solid var(--s67-gold-300);
	border-radius: var(--s67-radius-sm);
	padding: var(--s67-space-4) var(--s67-space-5);
	color: var(--s67-text);
	box-shadow: var(--s67-shadow-sm);
}

/* Images */
.entry-content img,
.page-content img { border-radius: var(--s67-radius-sm); }

/* Tables */
.entry-content table,
.page-content table {
	border-collapse: collapse;
	border: 1px solid var(--s67-border);
	border-radius: var(--s67-radius-sm);
	overflow: hidden;
	width: 100%;
}
.entry-content table th {
	background: var(--s67-bg-elev-2);
	color: var(--s67-text);
	font-weight: 700;
	border-color: var(--s67-border) !important;
}
.entry-content table td {
	border-color: var(--s67-border) !important;
	color: var(--s67-text-muted);
}
.entry-content table tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }

/* Dark content panels (UX Builder col-inner.dark) */
.col-inner.dark {
	background: var(--s67-bg-elev-1);
	border: 1px solid var(--s67-border);
	border-radius: var(--s67-radius-md);
	box-shadow: var(--s67-shadow-sm);
}

/* Hide the blog excerpt the site already chose to hide (kept consistent) */
.box .from_the_blog_excerpt { display: none; }

/* =========================================================================
   Collapsible homepage content box ("Xem thêm" / "Thu gọn")
   Added by assets/js/readmore.js on the homepage.
   ========================================================================= */
.s67-collapsible {
	position: relative;
	max-height: var(--s67-collapsed-h, 380px);
	overflow: hidden;
	transition: max-height var(--s67-dur-slow) var(--s67-ease);
}
.s67-collapsible::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 130px;
	background: linear-gradient(180deg, rgba(10, 10, 13, 0) 0%, var(--s67-bg) 92%);
	pointer-events: none;
	transition: opacity var(--s67-dur-base) var(--s67-ease);
}
.s67-collapsible.is-open {
	max-height: 9000px;
}
.s67-collapsible.is-open::after { opacity: 0; }

.s67-readmore-btn {
	display: block;
	margin: var(--s67-space-5) auto var(--s67-space-8);
	padding: 11px 30px;
	border-radius: var(--s67-radius-pill);
	border: 1px solid var(--s67-border-gold);
	background-image: var(--s67-grad-gold-soft);
	color: var(--s67-gold-100);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: transform var(--s67-dur-fast) var(--s67-ease), box-shadow var(--s67-dur-base) var(--s67-ease), color var(--s67-dur-fast) var(--s67-ease), background-image var(--s67-dur-base) var(--s67-ease);
}
.s67-readmore-btn:hover {
	background-image: var(--s67-grad-gold);
	color: var(--s67-text-on-gold);
	transform: translateY(-1px);
	box-shadow: var(--s67-shadow-gold-glow);
}

/* =========================================================================
   Inline section headings — e.g. "Sư Kê Việt Nam", "Xem Đá Gà Phát Lại".
   On this site they are <p><span style="color:#ffcc00; font-size:1xx%"><strong>
   rather than real <h2>. Make them stand out: gold-foil text + underline accent.
   ========================================================================= */
#content span[style*="ffcc00"][style*="font-size"] {
	display: inline-block;
	position: relative;
	margin: 8px 0 22px;
	padding: 2px 2px 14px 18px;
	/* metallic gold-foil gradient that slowly shimmers across the text */
	background-image: linear-gradient(100deg,
		#9c6e15 0%, #e8b929 20%, #f8d75a 38%, #fff3c2 50%,
		#f8d75a 62%, #e8b929 80%, #9c6e15 100%) !important;
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
	font-size: clamp(21px, 2.6vw, 30px) !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
	line-height: 1.2;
	filter: drop-shadow(0 2px 16px rgba(241, 194, 51, 0.26));
	animation: s67-text-shimmer 6s linear infinite;
}
/* Left glowing accent bar */
#content span[style*="ffcc00"][style*="font-size"]::before {
	content: "";
	position: absolute;
	left: 0; top: 4px; bottom: 16px;
	width: 4px;
	border-radius: 3px;
	background: var(--s67-grad-gold);
	box-shadow: 0 0 12px var(--s67-gold-glow);
	-webkit-text-fill-color: initial;
}
/* Underline that fades from gold to transparent */
#content span[style*="ffcc00"][style*="font-size"]::after {
	content: "";
	position: absolute;
	left: 18px; right: 0; bottom: 0;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--s67-gold-300) 0%, var(--s67-gold-500) 38%, transparent 100%);
	box-shadow: 0 0 8px var(--s67-gold-glow);
	-webkit-text-fill-color: initial;
}
@keyframes s67-text-shimmer {
	0%   { background-position: 0% center; }
	100% { background-position: 200% center; }
}

/* Give headings room from the content below — some columns use a negative
   bottom margin (e.g. margin:0 0 -30px) that pulled the next block up. */
#content .col-inner:has(> .text > p span[style*="ffcc00"][style*="font-size"]),
#content .col-inner:has(> p > span[style*="ffcc00"][style*="font-size"]) {
	margin-bottom: 0 !important;
}

/* =========================================================================
   "Sư Kê" commentator buttons (.styled-button) — dark refined chips.
   The gold .button.primary fill was too glaring in a long row, so give these
   a dark surface with a gold icon + gold hover edge instead.
   ========================================================================= */
.button.styled-button {
	background-image: none !important;
	background-color: var(--s67-bg-elev-2) !important;
	color: var(--s67-text) !important;
	border: 1px solid var(--s67-border-strong) !important;
	box-shadow: var(--s67-shadow-sm) !important;
	font-weight: 600 !important;
	text-shadow: none !important;
}
.button.styled-button::after { display: none !important; } /* remove gold shine sweep */
.button.styled-button i,
.button.styled-button .icon-user {
	color: var(--s67-gold-300) !important;
	transition: color var(--s67-dur-fast) var(--s67-ease);
}
.button.styled-button:hover {
	background-color: var(--s67-bg-elev-3) !important;
	border-color: var(--s67-border-gold) !important;
	color: var(--s67-gold-100) !important;
	box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--s67-border-gold) !important;
	transform: translateY(-1px);
}
.button.styled-button:hover i,
.button.styled-button:hover .icon-user { color: var(--s67-gold-100) !important; }

/* =========================================================================
   Content-page buttons — prominent, polished, on-brand gold
   Covers Flatsome .button variants and Gutenberg .wp-block-button.
   ========================================================================= */
.entry-content .button,
.page-content .button,
.entry-content .wp-block-button__link,
.page-content .wp-block-button__link {
	padding: 0.72em 1.7em;
	font-weight: 700;
	letter-spacing: 0.01em;
	border-radius: var(--s67-radius-pill);
}

/* Gutenberg solid button → gold foil with shine */
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.page-content .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	position: relative;
	overflow: hidden;
	background-image: var(--s67-grad-gold);
	background-color: var(--s67-gold-300);
	color: var(--s67-text-on-gold);
	border: none;
	box-shadow: var(--s67-shadow-gold-glow);
	transition: transform var(--s67-dur-fast) var(--s67-ease), box-shadow var(--s67-dur-base) var(--s67-ease);
}
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.page-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	transform: translateY(-1px);
	color: var(--s67-text-on-gold);
	box-shadow: 0 0 0 1px var(--s67-border-gold), 0 16px 40px -10px var(--s67-gold-glow);
}
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link::after,
.page-content .wp-block-button:not(.is-style-outline) .wp-block-button__link::after {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 45%; height: 100%;
	background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
	transform: translateX(-180%) skewX(-20deg);
	pointer-events: none;
}
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover::after,
.page-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover::after {
	animation: s67-shine 0.9s var(--s67-ease);
}

/* Gutenberg / Flatsome outline button → refined gold ghost */
.entry-content .wp-block-button.is-style-outline .wp-block-button__link,
.page-content .wp-block-button.is-style-outline .wp-block-button__link,
.entry-content .button.is-outline,
.page-content .button.is-outline {
	background: transparent;
	border: 1px solid var(--s67-border-strong);
	color: var(--s67-text);
}
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.page-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.entry-content .button.is-outline:hover,
.page-content .button.is-outline:hover {
	border-color: var(--s67-border-gold);
	color: var(--s67-gold-100);
	background: rgba(241, 194, 51, 0.06);
}

/* Plain Flatsome content button (no colour class) → subtle gold-tinted surface */
.entry-content .button:not(.primary):not(.success):not(.is-outline):not(.alert):not(.secondary),
.page-content .button:not(.primary):not(.success):not(.is-outline):not(.alert):not(.secondary) {
	background: var(--s67-bg-elev-2);
	color: var(--s67-text);
	border: 1px solid var(--s67-border-strong);
}
.entry-content .button:not(.primary):not(.success):not(.is-outline):not(.alert):not(.secondary):hover,
.page-content .button:not(.primary):not(.success):not(.is-outline):not(.alert):not(.secondary):hover {
	border-color: var(--s67-border-gold);
	color: var(--s67-gold-100);
}
