/* CCTALK – Mẫu bài dự án nội thất */
.cc-project-single #wrapper,
.cc-project-single #main { background: #18120b; }

.ccp { --gold: #fdd869; --gold-2: #c8912e; --brown: #6a4113; --line: #3a2a16; --text: #e9e2d4; --bg: #18120b; --bg-2: #211910;
	color: var(--text); font-family: Inter, sans-serif; }
.ccp h1, .ccp h2, .ccp h3, .ccp h4, .ccp p, .ccp a, .ccp li, .ccp dt, .ccp dd, .ccp label, .ccp input, .ccp textarea, .ccp .button { font-family: Inter, sans-serif; }
.ccp a { color: var(--gold); }
.ccp a:hover { color: #fff; }

/* Hero */
.ccp-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; background: #0d0905 center/cover no-repeat; }
.ccp-hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.45) 45%, rgba(24,18,11,.97) 100%); }
.ccp-hero--plain { min-height: 300px; background: radial-gradient(circle at 30% 20%, #3a2a16, #0d0905 70%); }
.ccp-hero__inner { position: relative; width: 100%; padding-top: 90px; padding-bottom: 36px; }
.ccp-breadcrumb { font-size: 13px; color: #cfc6b4; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.ccp-breadcrumb a { color: #cfc6b4; }
.ccp-breadcrumb a:hover { color: var(--gold); }
.ccp-badge { display: inline-block; background: linear-gradient(180deg, #b27a3a, #7c4f1c); color: #fff3d6 !important; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; padding: 5px 16px; border-radius: 30px; margin-bottom: 14px; }
.ccp-title { color: #fff; font-size: 40px; line-height: 1.2; font-weight: 700; margin: 0 0 16px; max-width: 900px; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.ccp-hero__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: #e9e2d4; }
.ccp-hero__meta li { margin: 0; display: flex; align-items: center; gap: 7px; }
.ccp-hero__meta i { color: var(--gold); }

/* Thông tin dự án */
.ccp-facts { padding: 0 0 10px; }
.ccp-facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border: 1px solid var(--brown); border-radius: 4px; background: var(--bg-2); }
.ccp-fact { padding: 16px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ccp-fact:nth-child(4n) { border-right: 0; }
.ccp-fact dt { display: block; float: none; width: auto; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .6px; color: #a8997d; margin: 0 0 4px; }
.ccp-fact dd { display: block; float: none; font-size: 15px; font-weight: 600; text-transform: none; color: var(--gold); margin: 0; }

/* Nội dung */
.ccp-body { padding: 36px 0 20px; }
.ccp-lead { font-size: 18px; line-height: 1.7; color: #fff; border-left: 3px solid var(--gold); padding-left: 16px; margin-bottom: 24px; }
.ccp-content { font-size: 16px; line-height: 1.8; color: var(--text); }
.ccp-content p, .ccp-content li { color: var(--text); }
.ccp-content h2, .ccp-content h3, .ccp-content h4 { color: var(--gold); font-weight: 700; margin: 1.6em 0 .6em; line-height: 1.35; }
.ccp-content h2 { font-size: 24px; }
.ccp-content h3 { font-size: 20px; }
.ccp-content img { border: 2px solid var(--brown); border-radius: 2px; }
.ccp-content figcaption, .ccp-content .wp-caption-text { color: #a8997d; font-size: 13px; text-align: center; font-style: italic; }
.ccp-content blockquote { border-left: 3px solid var(--gold); background: var(--bg-2); color: #fff; padding: 16px 20px; }
.ccp-content table td, .ccp-content table th { border-color: var(--line); color: var(--text); }
.ccp-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: #a8997d; }
.ccp-share .social-icons { margin: 0; }
.ccp-share .social-icons .button { border-color: var(--brown) !important; color: var(--gold) !important; background: transparent !important; }
.ccp-share .social-icons .button:hover { background: var(--brown) !important; }

/* Sidebar */
.ccp-sticky { position: sticky; top: 90px; }
.ccp-box { border: 1px solid var(--brown); border-radius: 4px; background: var(--bg-2); padding: 22px; margin-bottom: 22px; }
.ccp-box h3 { color: var(--gold); font-size: 17px; font-weight: 700; text-transform: uppercase; margin: 0 0 10px; }
.ccp-cta p { font-size: 14px; line-height: 1.6; color: var(--text); margin-bottom: 16px; }
.ccp-cta__phone { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff !important; }
.ccp-cta__phone i { width: 46px; height: 46px; flex: none; border: 2px solid var(--gold); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--gold); font-size: 18px; }
.ccp-cta__phone small { display: block; font-size: 12px; color: #a8997d; }
.ccp-cta__phone b { font-size: 22px; line-height: 1.2; }
.ccp-btn { position: relative; isolation: isolate; display: block; text-align: center; padding: 11px 20px; color: #fff !important; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.ccp-btn:before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #8a5a24, #5a3610); clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%); transition: filter .2s; }
.ccp-btn:hover { color: var(--gold) !important; }
.ccp-btn:hover:before { filter: brightness(1.15); }
.ccp-cats ul { list-style: none; margin: 0; padding: 0; }
.ccp-cats li { margin: 0; border-bottom: 1px solid var(--line); }
.ccp-cats li:last-child { border-bottom: 0; }
.ccp-cats a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 14px; color: var(--text) !important; }
.ccp-cats a span { font-size: 12px; color: #a8997d; }
.ccp-cats a:hover, .ccp-cats .is-active a { color: var(--gold) !important; }

/* Tiêu đề section */
.ccp-section { padding: 40px 0 20px; }
.ccp-h { font-size: 28px; font-weight: 700; text-transform: uppercase; text-align: center; line-height: 1.3; margin: 0 auto 26px; background: linear-gradient(180deg, #fff3c4 0%, #fdd869 30%, #c8912e 60%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.ccp-h:after { content: ""; display: block; width: 300px; max-width: 80%; height: 18px; margin: 8px auto 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='18' viewBox='0 0 300 18'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23d9a441' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23d9a441'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='1' x2='0'%3E%3Cstop offset='0' stop-color='%23d9a441' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23d9a441'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='8.3' width='128' height='1.4' fill='url(%23a)'/%3E%3Crect x='172' y='8.3' width='128' height='1.4' fill='url(%23b)'/%3E%3Cpath d='M131 9c5-7 11-7 14-2M169 9c-5-7-11-7-14-2M131 9c5 7 11 7 14 2M169 9c-5 7-11 7-14 2' stroke='%23e2b554' stroke-width='1.2' fill='none'/%3E%3Cpath d='M150 3l5 6-5 6-5-6z' fill='%23fdd869'/%3E%3C/svg%3E") center/contain no-repeat; }
.ccp-center { text-align: center; max-width: 720px; margin: 0 auto 24px; color: var(--text); }

/* Bộ ảnh */
.ccp-gallery__item { display: block; position: relative; overflow: hidden; border: 2px solid var(--brown); aspect-ratio: 4 / 3; transition: border-color .3s; }
.ccp-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ccp-gallery__item:hover { border-color: var(--gold); }
.ccp-gallery__item:hover img { transform: scale(1.06); }
.ccp-gallery__item:after { content: "+"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 42px; font-weight: 300; color: #fff; background: rgba(24,18,11,.45); opacity: 0; transition: opacity .3s; }
.ccp-gallery__item:hover:after { opacity: 1; }
@media (min-width: 850px) {
	.ccp-gallery.row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0 15px; }
	.ccp-gallery.row > .col { max-width: none; flex-basis: auto; padding: 0; }
	.ccp-gallery .ccp-gallery__first { grid-column: span 2; grid-row: span 2; }
	.ccp-gallery .ccp-gallery__first .ccp-gallery__item { aspect-ratio: auto; height: 100%; }
}

/* Form báo giá (dùng chung markup form tư vấn trang chủ) */
.ccp-formbox { max-width: 900px; margin: 0 auto; border: 1px solid var(--brown); border-radius: 4px; padding: 28px 32px; }
.ccp-formbox .wpcf7 p { margin: 0; }
.ccp-formbox br { display: none; }
.ccp-formbox .tv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 44px; text-align: left; }
.ccp-formbox .tv-row { margin-bottom: 14px; }
.ccp-formbox .tv-row > p { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: start; gap: 12px; }
.ccp-formbox .tv-row label { color: var(--text); font-size: 14px; padding-top: 8px; margin: 0; font-weight: 400; }
.ccp-formbox .wpcf7-form-control-wrap { display: block; }
.ccp-formbox input:not([type=file]):not([type=submit]), .ccp-formbox textarea { margin: 0; border-radius: 5px; height: 36px; font-size: 14px; background: #fff; color: #333; }
.ccp-formbox textarea { height: 110px; min-height: 0; }
.ccp-formbox input[type=file] { width: 100%; color: var(--text); font-size: 13px; margin: 0; padding: 6px 0; border: 0; background: none; box-shadow: none; }
.ccp-formbox .tv-submit { text-align: right; }
.ccp-formbox .wpcf7-submit { background: var(--brown) !important; color: #fdb329 !important; border-radius: 5px; margin: 0; font-weight: 400; text-transform: none; }
.ccp-formbox .wpcf7-response-output { color: var(--text); border-color: var(--brown) !important; }

/* Dự án liên quan */
.ccp-card { display: block; margin-bottom: 10px; }
.ccp-card__img { display: block; overflow: hidden; border: 2px solid var(--brown); aspect-ratio: 100 / 68; transition: border-color .3s; }
.ccp-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ccp-card:hover .ccp-card__img { border-color: var(--gold); }
.ccp-card:hover img { transform: scale(1.06); }
.ccp-card__title { display: block; padding: 10px 4px 0; text-align: center; font-size: 14px; line-height: 1.45; color: var(--gold); }

/* Điều hướng trước / sau */
.ccp-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 10px; padding-bottom: 50px; }
.ccp-nav a { display: block; height: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 14px 18px; transition: border-color .3s; }
.ccp-nav a:hover { border-color: var(--gold); }
.ccp-nav small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: #a8997d; margin-bottom: 4px; }
.ccp-nav span { color: var(--gold); font-weight: 600; font-size: 14px; line-height: 1.4; }
.ccp-nav__next { text-align: right; }

@media (max-width: 849px) {
	.ccp-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ccp-fact:nth-child(4n) { border-right: 1px solid var(--line); }
	.ccp-fact:nth-child(2n) { border-right: 0; }
	.ccp-sticky { position: static; }
	.ccp-formbox .tv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 549px) {
	.ccp-hero { min-height: 380px; }
	.ccp-title { font-size: 26px; }
	.ccp-h { font-size: 21px; }
	.ccp-fact { padding: 12px 14px; }
	.ccp-fact dd { font-size: 14px; }
	.ccp-formbox { padding: 20px 16px; }
	.ccp-formbox .tv-row > p { grid-template-columns: 1fr; gap: 4px; }
	.ccp-nav { grid-template-columns: 1fr; }
	.ccp-nav__next { text-align: left; }
}
