/* ==========================================================================
   Hỏi Công Nghệ — main stylesheet
   ========================================================================== */
:root {
	--hcn-ink: #0B1020;
	--hcn-ink-2: #1A2140;
	--hcn-text: #2A3245;
	--hcn-muted: #5B6475;
	--hcn-line: #E6E9F2;
	--hcn-soft: #F5F7FB;
	--hcn-primary: #4F46E5;
	--hcn-primary-2: #06B6D4;
	--hcn-hot: #F97316;
	--hcn-grad: linear-gradient(135deg, #4F46E5 0%, #7C3AED 45%, #06B6D4 100%);
	--hcn-radius: 18px;
	--hcn-radius-sm: 12px;
	--hcn-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -8px rgba(16, 24, 40, .10);
	--hcn-shadow-lg: 0 24px 60px -20px rgba(31, 41, 90, .35);
	--hcn-ease: cubic-bezier(.2, .7, .2, 1);
}

body { color: var(--hcn-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: rgba(79, 70, 229, .18); }

/* Bỏ khoảng cách mặc định giữa các khối cấp cao để tự kiểm soát */
.wp-site-blocks > * + * { margin-block-start: 0; }
.hcn-home > *, .hcn-home .hcn-section > *, .hcn-split > *, .hcn-split__main > *, .hcn-split__side > *,
.hcn-card > *, .hcn-card__body > *, .hcn-card__overlay > *, .hcn-box > *, .hcn-featured > * { margin-block: 0; }

.hcn-container { width: min(1240px, 100% - 40px); margin-inline: auto !important; }

/* ---------- Buttons ---------- */
.hcn-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .85em 1.5em; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1;
	text-decoration: none !important; white-space: nowrap;
	transition: transform .2s var(--hcn-ease), box-shadow .2s var(--hcn-ease), background .2s;
}
.hcn-btn:hover { transform: translateY(-2px); }
.hcn-btn--primary { background: var(--hcn-grad); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .6); }
.hcn-btn--primary:hover { box-shadow: 0 14px 28px -10px rgba(79, 70, 229, .7); }
.hcn-btn--light { background: #fff; color: var(--hcn-ink) !important; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.hcn-btn--sm { padding: .7em 1.2em; font-size: 14px; }
.hcn-btn--block { display: flex; width: 100%; margin-top: 18px !important; }

/* ---------- Logo ---------- */
.hcn-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--hcn-ink); flex-shrink: 0; }
.hcn-logo__mark {
	position: relative; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
	background: var(--hcn-grad); color: #fff; font-weight: 800; font-size: 19px;
	box-shadow: 0 6px 16px -6px rgba(79, 70, 229, .7);
}
.hcn-logo__mark i {
	position: absolute; right: -5px; top: -5px; width: 17px; height: 17px; border-radius: 50%;
	background: var(--hcn-hot); border: 2px solid #fff; font-style: normal; font-size: 10px; line-height: 13px; text-align: center;
}
.hcn-logo__text { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.hcn-logo__text b { font-weight: 800; margin-left: 4px; }
.hcn-logo--light { color: #fff; }
.hcn-logo--light .hcn-logo__mark i { border-color: var(--hcn-ink); }

/* ---------- Header ---------- */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
.hcn-header {
	background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid rgba(230, 233, 242, .8);
}
.hcn-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.hcn-header__inner > * { margin: 0 !important; }
.hcn-nav { font-size: 15px; font-weight: 500; flex: 1; }
.hcn-nav .wp-block-navigation__container { gap: 4px !important; }
.hcn-nav .wp-block-navigation-item__content {
	padding: 8px 14px !important; border-radius: 999px; color: var(--hcn-text); text-decoration: none; transition: background .2s, color .2s;
}
.hcn-nav .wp-block-navigation-item__content:hover { background: var(--hcn-soft); color: var(--hcn-primary); }
.hcn-header__actions { display: flex; align-items: center; gap: 10px; }
.hcn-iconbtn {
	width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
	color: var(--hcn-text); border: 1px solid var(--hcn-line); background: #fff; transition: all .2s;
}
.hcn-iconbtn:hover { color: var(--hcn-primary); border-color: rgba(79, 70, 229, .4); }

/* ---------- Hero ---------- */
.hcn-hero { position: relative; overflow: hidden; background: var(--hcn-ink); color: #fff; padding: 88px 0 150px; isolation: isolate; }
.hcn-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hcn-hero__bg .b1, .hcn-hero__bg .b2 { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hcn-hero__bg .b1 { width: 560px; height: 560px; background: #4F46E5; top: -180px; left: -120px; animation: hcn-drift 14s ease-in-out infinite alternate; }
.hcn-hero__bg .b2 { width: 520px; height: 520px; background: #06B6D4; bottom: -260px; right: -80px; opacity: .4; animation: hcn-drift 18s ease-in-out infinite alternate-reverse; }
.hcn-hero__bg .grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
@keyframes hcn-drift { to { transform: translate(60px, 40px) scale(1.1); } }

.hcn-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hcn-pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #C7CCE0;
}
.hcn-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: hcn-pulse 2s infinite; }
@keyframes hcn-pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }

.hcn-hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin: 22px 0 18px; color: #fff; }
.hcn-grad { background: linear-gradient(90deg, #A5B4FC, #67E8F9 60%, #FDBA74); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hcn-hero__lead { font-size: 18.5px; color: #AEB5CC; max-width: 560px; margin: 0 0 32px; }

.hcn-hero__search {
	display: flex; align-items: center; gap: 10px; max-width: 580px; padding: 8px 8px 8px 20px; border-radius: 999px;
	background: #fff; color: var(--hcn-muted); box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .5), 0 0 0 6px rgba(255, 255, 255, .06);
}
.hcn-hero__search svg { flex-shrink: 0; }
.hcn-hero__search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; color: var(--hcn-ink); background: transparent; padding: 10px 4px; }
.hcn-hero__search button {
	border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 15px; color: #fff; background: var(--hcn-grad);
	padding: 14px 26px; border-radius: 999px; transition: filter .2s;
}
.hcn-hero__search button:hover { filter: brightness(1.1); }

.hcn-trending { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; color: #8C93AB; }
.hcn-trending a {
	color: #DCE0F0; text-decoration: none; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1); transition: all .2s;
}
.hcn-trending a:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* Hero visual */
.hcn-hero__visual { position: relative; height: 420px; }
.hcn-qcard {
	position: absolute; background: #fff; color: var(--hcn-text); border-radius: 20px; padding: 22px; box-shadow: var(--hcn-shadow-lg);
	font-size: 15px; line-height: 1.55;
}
.hcn-qcard--q { top: 10px; left: 0; right: 40px; transform: rotate(-2deg); animation: hcn-float 7s ease-in-out infinite; }
.hcn-qcard--a { top: 215px; left: 60px; right: 0; transform: rotate(1.5deg); animation: hcn-float 7s ease-in-out infinite -3.5s; border: 1px solid #D1FAE5; }
.hcn-qcard p { margin: 0; }
@keyframes hcn-float { 50% { translate: 0 -10px; } }
.hcn-qcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hcn-qcard__head b { display: block; color: var(--hcn-ink); font-size: 14.5px; }
.hcn-qcard__head small { color: var(--hcn-muted); font-size: 12.5px; }
.hcn-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: var(--c); flex-shrink: 0; }
.hcn-tag { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--hcn-primary); background: #EEF2FF; padding: 4px 10px; border-radius: 999px; }
.hcn-qcard__title { font-weight: 700; color: var(--hcn-ink); font-size: 17px; line-height: 1.4; }
.hcn-qcard__foot { display: flex; gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hcn-line); font-size: 13px; color: var(--hcn-muted); }
.hcn-qcard__foot .up { margin-left: auto; color: #16A34A; font-weight: 700; }
.hcn-best { display: inline-block; font-size: 12px; font-weight: 700; color: #047857; background: #D1FAE5; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.hcn-float {
	position: absolute; z-index: 3; padding: 9px 15px; border-radius: 14px; font-size: 14px; font-weight: 600; color: #fff;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	animation: hcn-float 6s ease-in-out infinite;
}
.hcn-float--1 { top: -18px; right: 0; animation-delay: -1s; }
.hcn-float--2 { top: 330px; left: -20px; animation-delay: -2.5s; }
.hcn-float--3 { bottom: -26px; right: 60px; animation-delay: -4s; }

/* ---------- Category tiles ---------- */
.hcn-cats { position: relative; z-index: 2; margin-top: -84px !important; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.hcn-cat {
	display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--hcn-radius); background: #fff; text-decoration: none !important;
	border: 1px solid var(--hcn-line); box-shadow: var(--hcn-shadow); transition: transform .25s var(--hcn-ease), box-shadow .25s var(--hcn-ease), border-color .25s;
}
.hcn-cat:hover { transform: translateY(-5px); box-shadow: var(--hcn-shadow-lg); border-color: transparent; }
.hcn-cat__icon {
	width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 12px; color: #fff;
	background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 8px 18px -8px var(--c1); transition: transform .3s var(--hcn-ease);
}
.hcn-cat:hover .hcn-cat__icon { transform: rotate(-8deg) scale(1.06); }
.hcn-cat__icon svg { width: 23px; height: 23px; }
.hcn-cat b { color: var(--hcn-ink); font-size: 16px; }
.hcn-cat small { color: var(--hcn-muted); font-size: 13px; }

/* ---------- Sections ---------- */
.hcn-section { padding-top: 72px; }
.hcn-section__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.hcn-section__head h2 { display: flex; align-items: center; gap: 12px; font-size: 28px; margin: 0; color: var(--hcn-ink); letter-spacing: -.025em; }
.hcn-bar { width: 6px; height: 26px; border-radius: 6px; background: var(--hcn-grad); }
.hcn-more { font-weight: 600; font-size: 15px; text-decoration: none !important; }
.hcn-more:hover { color: var(--hcn-primary-2); }

/* ---------- Cards (chung) ---------- */
.hcn-card {
	position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--hcn-radius); overflow: hidden;
	border: 1px solid var(--hcn-line); transition: transform .3s var(--hcn-ease), box-shadow .3s var(--hcn-ease), border-color .3s;
}
.hcn-card:hover { transform: translateY(-4px); box-shadow: var(--hcn-shadow-lg); border-color: transparent; }
.hcn-card .wp-block-post-featured-image { overflow: hidden; margin: 0; }
.hcn-card .wp-block-post-featured-image img { transition: transform .6s var(--hcn-ease); }
.hcn-card:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.hcn-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.hcn-card .wp-block-post-title { font-size: 19px; line-height: 1.38; letter-spacing: -.015em; }
.hcn-card .wp-block-post-title a { color: var(--hcn-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s; }
.hcn-card:hover .wp-block-post-title a { background-size: 100% 1.5px; }
.hcn-card .wp-block-post-excerpt { color: var(--hcn-muted); font-size: 15px; line-height: 1.6; }
.hcn-card .wp-block-post-excerpt__excerpt { margin: 0; }
.hcn-card .wp-block-post-excerpt__more-text { display: none; }

.hcn-chip { font-size: 12.5px; font-weight: 600; }
.hcn-chip a {
	display: inline-block; text-decoration: none !important; color: var(--hcn-primary); background: #EEF2FF; padding: 4px 11px; border-radius: 999px;
}
.hcn-chip .wp-block-post-terms__separator { display: none; }
.hcn-meta { color: #8A92A6; font-size: 13.5px; margin-top: auto !important; display: flex; align-items: center; gap: 6px; }
.hcn-meta::before {
	content: ""; width: 14px; height: 14px; opacity: .8; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hcn-home .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.hcn-home .wp-block-post-template > li { margin: 0 !important; }
.hcn-btn, .hcn-box, .hcn-cat, .hcn-card { box-sizing: border-box; }

/* ---------- Nổi bật ---------- */
.hcn-featured { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.hcn-featured__main, .hcn-featured__side { margin: 0 !important; }
.hcn-featured__main .wp-block-post-template, .hcn-featured__main li { height: 100%; }

.hcn-card--hero { min-height: 100%; border: 0; }
.hcn-card--hero .wp-block-post-featured-image { position: absolute !important; inset: 0; height: 100%; }
.hcn-card--hero .wp-block-post-featured-image a, .hcn-card--hero .wp-block-post-featured-image img { height: 100% !important; width: 100%; object-fit: cover; }
.hcn-card--hero .wp-block-post-featured-image::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11, 16, 32, 0) 30%, rgba(11, 16, 32, .55) 60%, rgba(11, 16, 32, .92) 100%);
}
.hcn-card__overlay { position: relative; margin-top: auto !important; display: flex; flex-direction: column; gap: 12px; padding: 34px; padding-top: 220px; color: #fff; pointer-events: none; }
.hcn-card__overlay a { pointer-events: auto; }
.hcn-card--hero .wp-block-post-title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.22; letter-spacing: -.025em; }
.hcn-card--hero .wp-block-post-title a { color: #fff; }
.hcn-card--hero .wp-block-post-excerpt { color: rgba(255, 255, 255, .8); font-size: 16px; max-width: 620px; }
.hcn-card--hero .hcn-meta { color: rgba(255, 255, 255, .7); }
.hcn-card--hero .hcn-chip a { background: var(--hcn-hot); color: #fff; }

.hcn-featured__side .wp-block-post-template { display: grid; gap: 14px; height: 100%; grid-template-rows: repeat(4, 1fr); }
.hcn-card--row { flex-direction: row; align-items: stretch; }
.hcn-card--row .wp-block-post-featured-image { width: 38%; flex-shrink: 0; }
.hcn-card--row .wp-block-post-featured-image a, .hcn-card--row .wp-block-post-featured-image img { height: 100% !important; object-fit: cover; }
.hcn-card--row .hcn-card__body { padding: 14px 18px; gap: 6px; justify-content: center; }
.hcn-card--row .wp-block-post-title { font-size: 16px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hcn-card--row .hcn-chip { font-size: 11.5px; }
.hcn-card--row .hcn-meta { margin-top: 0 !important; font-size: 12.5px; }

/* ---------- Bài viết mới + sidebar ---------- */
.hcn-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.hcn-grid .wp-block-post-template { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.hcn-split__side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; padding-top: 62px; }

.hcn-box { background: #fff; border: 1px solid var(--hcn-line); border-radius: var(--hcn-radius); padding: 24px; }
.hcn-box h3 { font-size: 18px; margin: 0; color: var(--hcn-ink); }
.hcn-box__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hcn-box__head a { font-size: 14px; font-weight: 600; text-decoration: none; }

.hcn-qa__list .wp-block-post-template { counter-reset: q; }
.hcn-qa__list li { counter-increment: q; position: relative; padding: 14px 0 14px 48px; border-bottom: 1px dashed var(--hcn-line); }
.hcn-qa__list li:last-child { border-bottom: 0; }
.hcn-qa__list li::before {
	content: counter(q, decimal-leading-zero); position: absolute; left: 0; top: 14px; width: 34px; height: 34px; border-radius: 10px;
	display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--hcn-primary); background: #EEF2FF;
}
.hcn-qa__list li:first-child::before { background: var(--hcn-grad); color: #fff; }
.hcn-qa__list .wp-block-post-title { font-size: 15.5px; line-height: 1.45; margin: 0 0 4px; font-weight: 600; }
.hcn-qa__list .wp-block-post-title a { color: var(--hcn-ink); text-decoration: none; }
.hcn-qa__list .wp-block-post-title a:hover { color: var(--hcn-primary); }
.hcn-qa__list .hcn-meta { font-size: 12.5px; margin: 0 !important; }

.hcn-box--dark { background: var(--hcn-ink); border: 0; color: #AEB5CC; position: relative; overflow: hidden; isolation: isolate; }
.hcn-box--dark::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: #4F46E5; filter: blur(70px); opacity: .5; top: -120px; right: -80px; z-index: -1; }
.hcn-box--dark h3 { color: #fff; }
.hcn-box--dark p { font-size: 14.5px; margin: 8px 0 16px; }

/* Form đăng ký */
.hcn-subscribe { position: relative; display: flex; gap: 8px; padding: 6px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; }
.hcn-subscribe input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 14.5px; padding: 8px 12px; }
.hcn-subscribe input::placeholder { color: #8C93AB; }
.hcn-subscribe button { border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 14px; color: #fff; background: var(--hcn-grad); padding: 10px 18px; border-radius: 999px; }
.hcn-subscribe__ok { display: none; position: absolute; inset: 0; border-radius: inherit; background: #10B981; color: #fff; font-weight: 600; font-size: 14.5px; place-items: center; }
.hcn-subscribe.is-done .hcn-subscribe__ok { display: grid; }

/* ---------- CTA ---------- */
.hcn-cta { padding-block: 80px 96px; }
.hcn-cta__inner {
	position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding: 52px 56px; border-radius: 28px; background: var(--hcn-grad); color: #fff; box-shadow: 0 30px 60px -25px rgba(79, 70, 229, .6);
}
.hcn-cta__inner::before, .hcn-cta__inner::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); z-index: -1; }
.hcn-cta__inner::before { width: 420px; height: 420px; right: -120px; top: -200px; }
.hcn-cta__inner::after { width: 260px; height: 260px; right: 40px; bottom: -170px; }
.hcn-cta h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; color: #fff; letter-spacing: -.03em; }
.hcn-cta p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 560px; }
.hcn-cta .hcn-btn { padding: 1.05em 1.8em; font-size: 16px; }

/* ---------- Footer ---------- */
.hcn-footer { background: var(--hcn-ink); color: #9AA2BA; padding-top: 72px; font-size: 15px; }
.hcn-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px; }
.hcn-footer__brand p { margin: 18px 0 22px; max-width: 340px; line-height: 1.7; }
.hcn-footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin: 6px 0 18px; letter-spacing: 0; }
.hcn-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.hcn-footer a { color: #9AA2BA; text-decoration: none; transition: color .2s; }
.hcn-footer a:hover { color: #fff; }
.hcn-footer__news p { margin: 0 0 16px; }
.hcn-social { display: flex; gap: 10px; }
.hcn-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: all .2s; }
.hcn-social a:hover { background: var(--hcn-primary); border-color: var(--hcn-primary); transform: translateY(-2px); }
.hcn-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.hcn-cats { grid-template-columns: repeat(3, 1fr); }
	.hcn-split { grid-template-columns: 1fr; }
	.hcn-split__side { position: static; padding-top: 0; display: grid; grid-template-columns: 1fr 1fr; }
	.hcn-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.hcn-hero { padding: 64px 0 130px; }
	.hcn-hero__inner { grid-template-columns: 1fr; }
	.hcn-hero__visual { display: none; }
	.hcn-featured { grid-template-columns: 1fr; }
	.hcn-card__overlay { padding: 26px; padding-top: 200px; }
	.hcn-header__actions .hcn-btn { display: none; }
}
@media (max-width: 782px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; }
	.hcn-header__inner { height: 64px; }
	.hcn-nav { flex: 0; order: 3; }
	.hcn-header__actions { margin-left: auto !important; }
	.hcn-section { padding-top: 56px; }
	.hcn-section__head h2 { font-size: 23px; }
	.hcn-split__side { grid-template-columns: 1fr; }
	.hcn-cta__inner { flex-direction: column; align-items: flex-start; padding: 38px 28px; }
}
@media (max-width: 600px) {
	.hcn-container { width: calc(100% - 28px); }
	.hcn-hero h1 { font-size: 36px; }
	.hcn-hero__lead { font-size: 16.5px; }
	.hcn-hero__search { padding-left: 14px; }
	.hcn-hero__search svg { display: none; }
	.hcn-hero__search button { padding: 13px 18px; }
	.hcn-cats {
		display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
		box-sizing: border-box; width: 100%; padding: 4px 14px 14px; scroll-padding-inline: 14px; margin-top: -96px !important;
	}
	.hcn-cats::-webkit-scrollbar { display: none; }
	.hcn-cat { flex: 0 0 152px; padding: 14px; scroll-snap-align: start; }
	.hcn-cat__icon { width: 40px; height: 40px; margin-bottom: 8px; }
	.hcn-cat b { font-size: 15px; }
	.hcn-cat small { font-size: 12px; }
	.hcn-grid .wp-block-post-template { grid-template-columns: 1fr; }
	.hcn-card--row .wp-block-post-featured-image { width: 34%; }
	.hcn-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
