/*
Theme Name: You Insurance Agency
Theme URI: https://youinsuranceagency.com
Author: AgentEQ AI
Author URI: https://agenteqai.com
Description: A modern, dark, conversion-focused WordPress theme for You Insurance Agency (Garner, NC). Lemonade-style multi-step quote wizard for Auto, Home, Life, Umbrella, Events, Landlord, Flood, and Commercial, with address intake, TCPA consent, lead routing to email + webhook (Zapier/Make) + AgencyZoom + SMS, carrier partners, Google-tied client reviews, why-us, FAQ, a "Get in touch" contact form, and a blog wired for social auto-posting.
Version: 1.7.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: youinsurance
Tags: business, insurance, dark, one-column, two-columns, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

:root {
  --yi-bg:            #0b0f19;
  --yi-bg-alt:        #111726;
  --yi-surface:       #161d2e;
  --yi-surface-2:     #1d2740;
  --yi-border:        #26304a;
  --yi-text:          #e8ecf5;
  --yi-text-muted:    #97a1b8;
  --yi-accent:        #6c5ce7;
  --yi-accent-2:      #00d1b2;
  --yi-accent-grad:   linear-gradient(135deg, #6c5ce7 0%, #00d1b2 100%);
  --yi-danger:        #ff6b6b;
  --yi-radius:        16px;
  --yi-radius-sm:     10px;
  --yi-shadow:        0 20px 45px -20px rgba(0,0,0,.7);
  --yi-shadow-sm:     0 8px 24px -12px rgba(0,0,0,.6);
  --yi-maxw:          1180px;
  --yi-font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  margin: 0; font-family: var(--yi-font); background: var(--yi-bg); color: var(--yi-text);
  line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--yi-accent-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--yi-text); }
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: #fff; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; color: var(--yi-text); }
.yi-container { width: 100%; max-width: var(--yi-maxw); margin: 0 auto; padding: 0 20px; }
.yi-muted { color: var(--yi-text-muted); }
.yi-center { text-align: center; }
.yi-gradient-text { background: var(--yi-accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.yi-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; line-height: 1; text-align: center; }
.yi-btn-primary { background: var(--yi-accent-grad); color: #fff; box-shadow: var(--yi-shadow-sm); }
.yi-btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 30px -12px rgba(108,92,231,.7); }
.yi-btn-ghost { background: transparent; color: var(--yi-text); border-color: var(--yi-border); }
.yi-btn-ghost:hover { border-color: var(--yi-accent); color: #fff; }
.yi-btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.yi-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.yi-header { position: sticky; top: 0; z-index: 50; background: rgba(11,15,25,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--yi-border); }
.yi-header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1rem; }
.yi-header-inner > * { min-width: 0; }
.yi-brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; font-size: 1.2rem; color: #fff; min-width: 0; max-width: 70%; }
.yi-brand:hover { color: #fff; }
.yi-brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--yi-accent-grad); display: grid; place-items: center; font-size: 1.1rem; color: #fff; box-shadow: var(--yi-shadow-sm); flex: none; }
.yi-brand img, .custom-logo, .custom-logo-link img { max-height: 46px; width: auto; height: auto; display: block; }
.yi-brand .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.yi-nav { display: flex; align-items: center; gap: .35rem; }
.yi-nav ul { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.yi-nav a { color: var(--yi-text-muted); padding: .5rem .9rem; border-radius: 8px; font-weight: 500; }
.yi-nav a:hover, .yi-nav .current-menu-item > a { color: #fff; background: var(--yi-surface); }
.yi-header-actions { display: flex; align-items: center; gap: .75rem; }
.yi-menu-toggle { display: none; background: none; border: 1px solid var(--yi-border); color: #fff; border-radius: 8px; padding: .5rem .6rem; cursor: pointer; }
@media (max-width: 900px) {
  .yi-nav { position: fixed; inset: 74px 0 auto 0; background: var(--yi-bg-alt); border-bottom: 1px solid var(--yi-border); flex-direction: column; padding: 1rem 20px; display: none; }
  .yi-nav.is-open { display: flex; }
  .yi-nav ul { flex-direction: column; width: 100%; gap: 0; }
  .yi-nav a { display: block; padding: .85rem .5rem; border-bottom: 1px solid var(--yi-border); border-radius: 0; }
  .yi-menu-toggle { display: inline-flex; }
  .yi-header-actions .yi-btn { display: none; }
}

.yi-phone-link { color: var(--yi-text); font-weight: 700; padding: .5rem .8rem; border-radius: 8px; white-space: nowrap; }
.yi-phone-link:hover { color: #fff; background: var(--yi-surface); }
@media (max-width: 640px) { .yi-phone-link { display: none; } .yi-brand { max-width: 62%; } .yi-brand img, .custom-logo, .custom-logo-link img { max-height: 40px; } }

.yi-hero { position: relative; overflow: hidden; padding: 5.5rem 0 4rem; }
.yi-hero::before { content: ""; position: absolute; top: -30%; right: -10%; width: 640px; height: 640px; background: radial-gradient(circle, rgba(108,92,231,.35), transparent 60%); filter: blur(20px); z-index: 0; }
.yi-hero::after { content: ""; position: absolute; bottom: -40%; left: -10%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(0,209,178,.22), transparent 60%); filter: blur(20px); z-index: 0; }
.yi-hero .yi-container { position: relative; z-index: 1; }
.yi-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.yi-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; background: var(--yi-surface); border: 1px solid var(--yi-border); color: var(--yi-accent-2); font-size: .82rem; font-weight: 600; margin-bottom: 1.2rem; }
.yi-hero p.lead { font-size: 1.15rem; color: var(--yi-text-muted); max-width: 34ch; }
.yi-hero-cta { display: flex; gap: .9rem; margin-top: 1.6rem; flex-wrap: wrap; }
.yi-trust { display: flex; gap: 1.5rem; margin-top: 2.2rem; flex-wrap: wrap; }
.yi-trust div { font-size: .9rem; color: var(--yi-text-muted); }
.yi-trust strong { display: block; font-size: 1.5rem; color: #fff; }
@media (max-width: 860px) { .yi-hero-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

.yi-section { padding: 4.5rem 0; max-width: 100%; }
.yi-section-head { max-width: 640px; margin: 0 auto 2.6rem; text-align: center; }
.yi-section-head p { color: var(--yi-text-muted); }
.yi-eyebrow-label { display: block; text-align: center; color: var(--yi-accent-2); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6rem; }
.yi-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.yi-product-card { background: var(--yi-surface); border: 1px solid var(--yi-border); border-radius: var(--yi-radius); padding: 1.4rem; cursor: pointer; transition: transform .18s ease, border-color .2s ease, background .2s ease; text-align: left; color: var(--yi-text); position: relative; overflow: hidden; }
.yi-product-card:hover { transform: translateY(-4px); border-color: var(--yi-accent); background: var(--yi-surface-2); color: var(--yi-text); }
.yi-product-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(108,92,231,.15); color: var(--yi-accent-2); margin-bottom: .9rem; font-size: 1.4rem; }
.yi-product-card h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.yi-product-card span.desc { color: var(--yi-text-muted); font-size: .9rem; }
.yi-product-card .yi-arrow { position: absolute; top: 1.4rem; right: 1.4rem; color: var(--yi-text-muted); transition: color .2s, transform .2s; }
.yi-product-card:hover .yi-arrow { color: var(--yi-accent-2); transform: translateX(3px); }
@media (max-width: 900px) { .yi-products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .yi-products { grid-template-columns: 1fr; } }

.yi-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.yi-feature { background: var(--yi-bg-alt); border: 1px solid var(--yi-border); border-radius: var(--yi-radius); padding: 1.6rem; }
.yi-feature .num { font-size: .85rem; font-weight: 700; color: var(--yi-accent-2); }
.yi-feature h3 { margin: .4rem 0 .4rem; }
.yi-feature p { color: var(--yi-text-muted); margin: 0; }
@media (max-width: 800px) { .yi-features { grid-template-columns: 1fr; } }

.yi-quote-wrap { max-width: 620px; margin: 0 auto; }
.yi-quote-card { background: var(--yi-surface); border: 1px solid var(--yi-border); border-radius: 22px; box-shadow: var(--yi-shadow); overflow: hidden; }
.yi-quote-top { padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--yi-border); display: flex; align-items: center; gap: .8rem; background: var(--yi-bg-alt); }
.yi-quote-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--yi-accent-grad); display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.yi-quote-top .who { font-weight: 700; color: #fff; font-size: .98rem; }
.yi-quote-top .status { font-size: .8rem; color: var(--yi-accent-2); display: flex; align-items: center; gap: .35rem; }
.yi-quote-top .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yi-accent-2); box-shadow: 0 0 0 3px rgba(0,209,178,.2); }
.yi-progress { height: 4px; background: var(--yi-border); }
.yi-progress-bar { height: 100%; width: 0; background: var(--yi-accent-grad); transition: width .35s ease; }
.yi-quote-body { padding: 1.8rem 1.5rem 1.5rem; min-height: 300px; }
.yi-bubble { background: var(--yi-bg-alt); border: 1px solid var(--yi-border); border-radius: 16px 16px 16px 4px; padding: 1rem 1.15rem; margin-bottom: 1.3rem; max-width: 90%; animation: yi-fade .3s ease; }
.yi-bubble strong { color: #fff; }
@keyframes yi-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.yi-step { animation: yi-fade .3s ease; }
.yi-field { margin-bottom: 1rem; }
.yi-field label { display: block; font-weight: 600; margin-bottom: .5rem; font-size: .95rem; }
.yi-input, .yi-select, .yi-textarea { width: 100%; padding: .9rem 1rem; border-radius: var(--yi-radius-sm); background: var(--yi-bg); border: 1px solid var(--yi-border); color: var(--yi-text); font-size: 1rem; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.yi-input:focus, .yi-select:focus, .yi-textarea:focus { outline: none; border-color: var(--yi-accent); box-shadow: 0 0 0 3px rgba(108,92,231,.25); }
.yi-textarea { resize: vertical; min-height: 96px; }
.yi-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.yi-choice { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border-radius: var(--yi-radius-sm); background: var(--yi-surface-2); border: 1px solid var(--yi-border); cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: 500; color: var(--yi-text); text-align: left; transition: all .15s ease; }
.yi-choice:hover { border-color: var(--yi-accent); background: #24304e; color: #fff; }
.yi-choice.is-selected { border-color: var(--yi-accent); background: rgba(108,92,231,.22); color: #fff; }
.yi-choice input { flex: none; accent-color: var(--yi-accent); }
@media (max-width: 480px) { .yi-choices { grid-template-columns: 1fr; } }
.yi-quote-actions { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.4rem; }
.yi-quote-actions .yi-btn { flex: 1; }
.yi-error { color: var(--yi-danger); font-size: .88rem; margin-top: .4rem; min-height: 1.1em; }
.yi-quote-success { text-align: center; padding: 1rem 0; }
.yi-quote-success .check { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.2rem; display: grid; place-items: center; background: rgba(0,209,178,.15); color: var(--yi-accent-2); font-size: 2rem; }
.yi-spinner { width: 22px; height: 22px; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: yi-spin .7s linear infinite; }
@keyframes yi-spin { to { transform: rotate(360deg); } }
.yi-type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.yi-type-grid .yi-choice { justify-content: flex-start; }
@media (max-width: 480px) { .yi-type-grid { grid-template-columns: 1fr; } }

/* Section labels in the coverage picker (Personal / Business) */
.yi-type-group-label {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--yi-accent-2);
	margin: 1.2rem 0 .55rem;
	padding-bottom: .4rem;
	border-bottom: 1px solid var(--yi-border);
}
.yi-type-group-label:first-of-type { margin-top: .4rem; }

/* ==========================================================================
   WORDPRESS BLOCK BUTTONS -> match the theme's gradient pill automatically.
   Any "Button" block a page author drops in now looks like .yi-btn-primary,
   and any "outline" style button looks like .yi-btn-ghost. No per-button work.
   ========================================================================== */
.wp-block-button__link,
.wp-block-button .wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .9rem 1.6rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	border: 1px solid transparent;
	background: var(--yi-accent-grad);
	color: #fff;
	box-shadow: var(--yi-shadow-sm);
	text-decoration: none;
	transition: transform .15s ease, box-shadow .2s ease;
}
.wp-block-button__link:hover,
.wp-block-button .wp-element-button:hover {
	transform: translateY(-2px);
	color: #fff;
	box-shadow: 0 14px 30px -12px rgba(108,92,231,.7);
}
/* Outline button style -> ghost look */
.wp-block-button.is-style-outline .wp-block-button__link,
.is-style-outline .wp-element-button {
	background: transparent;
	color: var(--yi-text);
	border-color: var(--yi-border);
	box-shadow: none;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.is-style-outline .wp-element-button:hover {
	border-color: var(--yi-accent);
	color: #fff;
	transform: translateY(-2px);
}

/* Links inside page content pick up the brand teal (not default blue) */
.yi-content a,
.yi-split-main a { color: var(--yi-accent-2); }
.yi-content a:hover,
.yi-split-main a:hover { color: #fff; }

/* Images added in the page editor get the same rounded corners as hero art */
.yi-content img,
.yi-split-main .wp-block-image img { border-radius: var(--yi-radius); }

/* "Business & Commercial" gateway card on the homepage coverage grid */
.yi-product-card-alt {
	background: linear-gradient(135deg, rgba(108,92,231,.16) 0%, rgba(0,209,178,.12) 100%);
	border-color: var(--yi-accent);
}
.yi-product-card-alt:hover { border-color: var(--yi-accent-2); }

/* ==========================================================================
   PRODUCT PAGE — content left, sticky quote wizard right
   Used by template-product.php
   ========================================================================== */
.yi-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 3.5rem;
	align-items: start;
}

.yi-split-main { min-width: 0; }

.yi-split-title {
	font-size: clamp(2rem, 4vw, 2.9rem);
	line-height: 1.12;
	margin: 0 0 1.4rem;
}

/* the .yi-content wrapper is normally centred and capped at 760px;
   inside the split it must fill its column instead.
   Compound selector = higher specificity than the later `.yi-content` rule. */
.yi-content.yi-content-flush {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

.yi-split-aside { min-width: 0; }

.yi-split-sticky {
	position: sticky;
	top: 96px; /* clears the fixed header */
}

.yi-aside-head { margin-bottom: 1rem; }
.yi-aside-head h2 {
	font-size: 1.25rem;
	margin: 0 0 .35rem;
	line-height: 1.3;
}
.yi-aside-head p { margin: 0; font-size: .9rem; }
.yi-aside-head a { color: var(--yi-accent-2); font-weight: 600; }

/* Tablet — narrow the sidebar before stacking */
@media (max-width: 1100px) {
	.yi-split { grid-template-columns: minmax(0, 1fr) 360px; gap: 2.5rem; }
}

/* Mobile — stack, and move the wizard ABOVE the article so the
   call to action is not buried under a long page of copy */
@media (max-width: 900px) {
	.yi-split {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.yi-split-aside  { order: 1; }
	.yi-split-main   { order: 2; }
	.yi-split-sticky { position: static; }
}

.yi-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.yi-badge { background: var(--yi-surface); border: 1px solid var(--yi-border); border-radius: var(--yi-radius); padding: 1.3rem; text-align: center; }
.yi-badge .ico { font-size: 1.8rem; display: block; margin-bottom: .5rem; }
.yi-badge strong { display: block; color: #fff; }
.yi-badge span { color: var(--yi-text-muted); font-size: .88rem; }
@media (max-width: 780px) { .yi-badges { grid-template-columns: repeat(2, 1fr); } }

.yi-carriers { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; max-width: 900px; margin: 0 auto; }
.yi-carrier { background: var(--yi-surface); border: 1px solid var(--yi-border); border-radius: 999px; padding: .7rem 1.4rem; color: var(--yi-text); font-weight: 600; font-size: .95rem; transition: border-color .2s, color .2s; }
.yi-carrier:hover { border-color: var(--yi-accent-2); color: #fff; }

.yi-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.yi-review { background: var(--yi-surface); border: 1px solid var(--yi-border); border-radius: var(--yi-radius); padding: 1.6rem; }
.yi-review .stars { color: #ffcf5c; letter-spacing: 2px; margin-bottom: .6rem; }
.yi-review p { color: var(--yi-text); }
.yi-review .who { font-size: .9rem; margin-top: .8rem; }
.yi-review .who strong { color: #fff; }
.yi-reviews-cta { text-align: center; margin-top: 2rem; }
.yi-google-badge { display: inline-flex; align-items: center; gap: .5rem; color: var(--yi-text-muted); font-size: .9rem; margin-bottom: 1rem; }
.yi-google-badge b { color: #fff; }
@media (max-width: 820px) { .yi-testimonials { grid-template-columns: 1fr; } }

.yi-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.yi-why-card { background: var(--yi-surface); border: 1px solid var(--yi-border); border-radius: var(--yi-radius); padding: 1.6rem; }
.yi-why-card .ico { font-size: 1.9rem; display: block; margin-bottom: .7rem; }
.yi-why-card h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.yi-why-card p { color: var(--yi-text-muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .yi-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .yi-why-grid { grid-template-columns: 1fr; } }

.yi-faq { background: var(--yi-surface); border: 1px solid var(--yi-border); border-radius: var(--yi-radius-sm); margin-bottom: .8rem; overflow: hidden; }
.yi-faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.yi-faq summary::-webkit-details-marker { display: none; }
.yi-faq summary::after { content: "+"; color: var(--yi-accent-2); font-size: 1.4rem; font-weight: 400; flex: none; }
.yi-faq[open] summary::after { content: "−"; }
.yi-faq p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--yi-text-muted); }

.yi-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: start; }
.yi-contact-info { display: grid; gap: 1.2rem; }
.yi-contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.yi-contact-item .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(0,209,178,.14); color: var(--yi-accent-2); font-size: 1.3rem; }
.yi-contact-item strong { display: block; color: #fff; margin-bottom: .1rem; }
.yi-contact-item a, .yi-contact-item span { color: var(--yi-text-muted); }
.yi-contact-item a:hover { color: #fff; }
.yi-contact-form { background: var(--yi-surface); border: 1px solid var(--yi-border); border-radius: var(--yi-radius); padding: 1.8rem; }
.yi-contact-form h3 { margin-bottom: 1rem; }
.yi-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.yi-contact-form .yi-field { margin-bottom: .9rem; }
.yi-contact-note { color: var(--yi-text-muted); font-size: .85rem; margin-top: .8rem; }
@media (max-width: 820px) { .yi-contact-grid { grid-template-columns: 1fr; gap: 1.6rem; } .yi-form-row { grid-template-columns: 1fr; } }

.yi-cta-banner { background: var(--yi-accent-grad); border-radius: 24px; padding: 3rem 2rem; text-align: center; position: relative; overflow: hidden; }
.yi-cta-banner h2 { color: #fff; }
.yi-cta-banner p { color: rgba(255,255,255,.9); max-width: 46ch; margin: 0 auto 1.6rem; }
.yi-cta-row { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.yi-cta-banner .yi-btn-primary { background: #0b0f19; }
.yi-cta-banner .yi-btn-primary:hover { background: #000; }
.yi-cta-banner .yi-btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.yi-cta-banner .yi-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }

.yi-page { padding: 3.5rem 0; }
.yi-content { max-width: 760px; margin: 0 auto; }
.yi-content img { border-radius: var(--yi-radius); margin: 1.5rem 0; }
.yi-content h2, .yi-content h3 { margin-top: 1.8rem; }
.yi-content ul, .yi-content ol { color: var(--yi-text); padding-left: 1.3rem; }
.yi-content blockquote { border-left: 3px solid var(--yi-accent); margin: 1.5rem 0; padding: .5rem 1.2rem; color: var(--yi-text-muted); background: var(--yi-bg-alt); border-radius: 0 var(--yi-radius-sm) var(--yi-radius-sm) 0; }
.yi-content code { background: var(--yi-surface); padding: .15rem .4rem; border-radius: 6px; font-size: .9em; }
.yi-post-meta { color: var(--yi-text-muted); font-size: .9rem; margin-bottom: 1.5rem; }
.yi-post-card { background: var(--yi-surface); border: 1px solid var(--yi-border); border-radius: var(--yi-radius); overflow: hidden; transition: transform .18s, border-color .2s; }
.yi-post-card:hover { transform: translateY(-4px); border-color: var(--yi-accent); }
.yi-post-card .body { padding: 1.4rem; }
.yi-post-card h3 { margin-bottom: .4rem; }
.yi-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .yi-post-grid { grid-template-columns: 1fr; } }
.yi-archive-title { margin: 0 0 2rem; }

.yi-footer { background: var(--yi-bg-alt); border-top: 1px solid var(--yi-border); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.yi-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.yi-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.yi-footer ul { list-style: none; margin: 0; padding: 0; }
.yi-footer li { margin-bottom: .55rem; }
.yi-footer a { color: var(--yi-text-muted); }
.yi-footer a:hover { color: #fff; }
.yi-footer .disclaimer { color: var(--yi-text-muted); font-size: .88rem; max-width: 40ch; }
.yi-footer .contact-line { color: var(--yi-text-muted); font-size: .9rem; margin: .3rem 0; }
.yi-footer .contact-line a { color: var(--yi-text); }
.yi-socials { display: flex; gap: .6rem; margin-top: 1rem; }
.yi-socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--yi-surface); border: 1px solid var(--yi-border); color: var(--yi-text-muted); font-weight: 700; }
.yi-socials a:hover { border-color: var(--yi-accent-2); color: #fff; }
.yi-footer-bottom { border-top: 1px solid var(--yi-border); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--yi-text-muted); font-size: .85rem; }
.yi-footer-bottom .license { width: 100%; opacity: .8; }
@media (max-width: 800px) { .yi-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .yi-footer-grid { grid-template-columns: 1fr; } }

.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignright { float: right; margin-left: 1.5rem; }
.alignleft { float: left; margin-right: 1.5rem; }
.wp-caption-text { color: var(--yi-text-muted); font-size: .85rem; text-align: center; }
.yi-pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.yi-pagination .page-numbers { padding: .5rem .9rem; border: 1px solid var(--yi-border); border-radius: 8px; color: var(--yi-text-muted); }
.yi-pagination .current { background: var(--yi-accent); color: #fff; border-color: var(--yi-accent); }
