/* =========================================================================
   PROPERTY GOLD — Blog listing + shared article cards
   ========================================================================= */
.page-blog, .page-article { --bl-gold: #F1C64A; --bl-line: rgba(255, 255, 255, .08); }
.page-blog .accent, .page-article .accent { font-style: italic; }

/* ---------- HERO ---------- */
.bl-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(88px, 7vw, 100px) 0 clamp(32px, 3.6vw, 48px); background: radial-gradient(80% 70% at 85% 10%, rgba(212, 175, 55, .1), transparent 60%), linear-gradient(180deg, #070A08, #0A0D0B 80%, #0C110D); }
.bl-hero .breadcrumb { margin: 0; padding: 0; }
.bl-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bl-lines { position: absolute; inset: -20% -10%; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(212, 175, 55, .045) 46px 47px); mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000, transparent 75%); animation: blLines 22s linear infinite; }
@keyframes blLines { to { transform: translateX(94px); } }
.bl-orb { position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(241, 198, 74, .18), transparent 65%); filter: blur(10px); animation: blBreathe 9s ease-in-out infinite; }
@keyframes blBreathe { 50% { transform: scale(1.1); opacity: .75; } }

.bl-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.bl-hero-copy > * { opacity: 0; transform: translateY(20px); animation: blUp .9s var(--ease-lux) forwards; }
.bl-hero-copy > :nth-child(1) { animation-delay: .05s; }
.bl-hero-copy > :nth-child(2) { animation-delay: .15s; }
.bl-hero-copy > :nth-child(3) { opacity: 1; transform: none; animation: none; }
.bl-hero-copy > :nth-child(4) { animation-delay: .7s; }
.bl-hero-copy > :nth-child(5) { animation-delay: .85s; }
@keyframes blUp { to { opacity: 1; transform: none; } }
.bl-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 18px; padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(212, 175, 55, .3); background: rgba(212, 175, 55, .07); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #EDE3C2; }
.bl-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--bl-gold); animation: blPulse 2s infinite; }
@keyframes blPulse { 0% { box-shadow: 0 0 0 0 rgba(241, 198, 74, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(241, 198, 74, 0); } }
.bl-title { font-size: clamp(42px, 5.8vw, 88px); line-height: .98; letter-spacing: -.035em; font-weight: 400; margin: 0 0 20px; }
.bl-line { display: block; overflow: hidden; padding-bottom: .08em; }
.bl-line > span { display: inline-block; transform: translateY(108%); animation: blRise 1.1s var(--ease-lux) .25s forwards; }
.bl-line:nth-child(2) > span { animation-delay: .4s; }
.bl-title em { font-style: italic; font-weight: 300; background: linear-gradient(100deg, #FFE9A8 0%, #D4AF37 40%, #FFF3C8 55%, #C99A2E 75%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: blShine 6s linear infinite; }
@keyframes blRise { to { transform: none; } }
@keyframes blShine { from { background-position: 0% 0; } to { background-position: 220% 0; } }
.bl-lede { max-width: 540px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.75; color: #C9CFC7; margin: 0 0 24px; }

.bl-search { position: relative; max-width: 520px; }
.bl-search svg { position: absolute; left: 18px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); fill: none; stroke: var(--bl-gold); stroke-width: 2; pointer-events: none; }
.bl-search input { width: 100%; font: inherit; font-size: 15px; color: #fff; padding: 16px 48px 16px 50px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); backdrop-filter: blur(10px); transition: border-color .3s, box-shadow .3s, background .3s; }
.bl-search input::placeholder { color: #8A938A; }
.bl-search input:focus { outline: none; border-color: var(--bl-gold); background: rgba(212, 175, 55, .06); box-shadow: 0 0 0 4px rgba(241, 198, 74, .12); }
.bl-search kbd { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--text-dim); border: 1px solid rgba(255, 255, 255, .15); border-radius: 6px; padding: 2px 7px; }

/* Featured */
.bl-feature { position: relative; display: block; border-radius: 28px; overflow: hidden; min-height: 460px; text-decoration: none; color: #fff; isolation: isolate; box-shadow: 0 40px 80px rgba(0, 0, 0, .55); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-lux), box-shadow .5s; opacity: 0; animation: blUp 1.1s .35s var(--ease-lux) forwards; }
.bl-feature::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--blang, 0deg), transparent 0 70%, rgba(241, 198, 74, .9) 82%, transparent 92%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: blBorder 6s linear infinite; z-index: 3; pointer-events: none; }
@property --blang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes blBorder { to { --blang: 360deg; } }
.bl-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.4s var(--ease-lux); }
.bl-feature:hover img { transform: scale(1.12); }
.bl-feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 7, 6, .35) 0%, rgba(5, 7, 6, .15) 30%, rgba(8, 11, 9, .92) 72%); }
.bl-feature-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.6vw, 34px); }
.bl-feature-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #0A0D0B; background: var(--grad-gold); padding: 6px 12px; border-radius: 99px; margin-bottom: 14px; }
.bl-feature h2 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.02em; font-weight: 400; margin: 0 0 10px; }
.bl-feature p { margin: 0 0 16px; color: #C9CFC7; font-size: 15px; line-height: 1.65; max-width: 560px; }
.bl-feature-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: #BFC6BE; }
.bl-feature-meta span { display: inline-flex; align-items: center; gap: 6px; }
.bl-feature-go { position: absolute; right: clamp(20px, 2.4vw, 30px); top: clamp(20px, 2.4vw, 30px); width: 52px; height: 52px; border-radius: 50%; display: grid; place-content: center; background: rgba(10, 13, 11, .6); border: 1px solid rgba(241, 198, 74, .5); backdrop-filter: blur(10px); transition: transform .4s var(--ease-lux), background .3s; }
.bl-feature-go svg { width: 20px; height: 20px; fill: none; stroke: var(--bl-gold); stroke-width: 2; transform: rotate(-45deg); transition: transform .4s var(--ease-lux); }
.bl-feature:hover .bl-feature-go { background: var(--grad-gold); transform: scale(1.08); }
.bl-feature:hover .bl-feature-go svg { stroke: #0A0D0B; transform: rotate(0); }
.bl-feature:focus-visible { outline: 2px solid var(--bl-gold); outline-offset: 4px; }

/* ---------- LIBRARY ---------- */
.bl-library { padding: clamp(40px, 4.4vw, 64px) 0 clamp(48px, 5vw, 80px); background: linear-gradient(180deg, #0C110D, #0A0D0B); }
.bl-lib-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.bl-lib-head h2 { font-size: clamp(28px, 3vw, 42px); margin: 10px 0 0; line-height: 1.1; }
.bl-count { margin: 0; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--bl-gold); padding: 8px 14px; border: 1px solid rgba(212, 175, 55, .3); border-radius: 99px; background: rgba(212, 175, 55, .06); }
.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.bl-chip { position: relative; font: inherit; font-size: 13.5px; color: #C9CFC7; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--bl-line); background: rgba(255, 255, 255, .03); cursor: pointer; overflow: hidden; transition: color .3s, border-color .3s, background .3s, transform .3s; }
.bl-chip:hover { color: #fff; border-color: rgba(212, 175, 55, .4); transform: translateY(-2px); }
.bl-chip.is-on { color: #0A0D0B; font-weight: 600; background: var(--grad-gold); border-color: transparent; box-shadow: 0 8px 22px rgba(212, 175, 55, .3); }
.bl-chip:focus-visible { outline: 2px solid var(--bl-gold); outline-offset: 2px; }
.bl-chip b { font-weight: 500; opacity: .6; margin-left: 4px; font-size: 12px; }

.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bl-card { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; background: linear-gradient(180deg, #111712, #0D120E); border: 1px solid var(--bl-line); box-shadow: 0 24px 50px rgba(0, 0, 0, .3); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .45s var(--ease-lux), border-color .4s, box-shadow .5s, opacity .4s; }
.bl-card:hover { --ty: -6px; border-color: rgba(212, 175, 55, .38); box-shadow: 0 36px 70px rgba(0, 0, 0, .5); }
.bl-card:focus-visible { outline: 2px solid var(--bl-gold); outline-offset: 3px; }
.bl-card.is-gone { display: none; }
.bl-card.pre { opacity: 0; --ty: 34px; }
.bl-card.pre.in { opacity: 1; --ty: 0px; transition: opacity .8s, transform .9s var(--ease-lux); }
.bl-card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0A0D0B; }
.bl-card-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.1s var(--ease-lux), filter .6s; filter: saturate(.92); }
.bl-card:hover .bl-card-img img { transform: scale(1.1); filter: saturate(1.1); }
.bl-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 236, 170, .28) 50%, transparent 65%); transform: translateX(-120%); transition: transform 1s var(--ease-lux); }
.bl-card:hover .bl-card-img::after { transform: translateX(120%); }
.bl-card-cat { position: absolute; left: 14px; top: 14px; z-index: 2; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 6px 11px; border-radius: 99px; background: rgba(10, 13, 11, .68); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); }
.bl-card-new { position: absolute; right: 14px; top: 14px; z-index: 2; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #0A0D0B; padding: 5px 10px; border-radius: 99px; background: var(--grad-gold); }
.bl-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.bl-card-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-dim); margin-bottom: 10px; font-family: 'IBM Plex Mono', monospace; letter-spacing: .04em; }
.bl-card h3 { font-size: 20px; line-height: 1.3; margin: 0 0 10px; letter-spacing: -.01em; transition: color .3s; }
.bl-card:hover h3 { color: var(--bl-gold); }
.bl-card p { margin: 0 0 18px; font-size: 14px; line-height: 1.65; color: var(--text-dim); }
.bl-card-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bl-gold); transition: gap .3s; }
.bl-card-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.bl-card:hover .bl-card-go { gap: 12px; }
.bl-card mark { background: rgba(241, 198, 74, .28); color: #fff; border-radius: 3px; padding: 0 2px; }

.bl-empty { text-align: center; padding: 50px 20px; border: 1px dashed rgba(212, 175, 55, .3); border-radius: 22px; background: rgba(212, 175, 55, .03); }
.bl-empty h3 { font-size: 22px; margin: 0 0 8px; }
.bl-empty p { color: var(--text-dim); margin: 0 auto 18px; max-width: 440px; }

/* ---------- CTA ---------- */
.bl-cta-wrap { padding: 0 0 clamp(48px, 5vw, 80px); background: #0A0D0B; }
.bl-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(30px, 4vw, 52px); border-radius: 26px; background: var(--grad-gold); background-size: 200% 200%; animation: blGrad 10s ease infinite; box-shadow: 0 30px 70px rgba(212, 175, 55, .22); }
.bl-cta::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); animation: blGlint 5s ease-in-out infinite; pointer-events: none; }
@keyframes blGrad { 50% { background-position: 100% 50%; } }
@keyframes blGlint { 0%, 60% { left: -40%; } 100% { left: 120%; } }
.bl-cta h2 { color: #0A0D0B; font-size: clamp(24px, 3vw, 34px); margin: 0 0 8px; }
.bl-cta p { color: rgba(10, 13, 11, .75); margin: 0; font-size: 15.5px; max-width: 520px; }
.bl-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.bl-btn-dark { background: #0A0D0B; color: var(--bl-gold) !important; border: 1px solid #0A0D0B; }
.bl-btn-dark:hover { background: #151B16; }
.bl-btn-line { background: transparent; color: #0A0D0B !important; border: 1px solid rgba(10, 13, 11, .45); }
.bl-btn-line:hover { border-color: #0A0D0B; background: rgba(10, 13, 11, .06); }

@media (max-width: 1100px) { .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
    .bl-hero-inner { grid-template-columns: 1fr; }
    .bl-feature { min-height: 400px; }
}
@media (max-width: 640px) {
    .bl-grid { grid-template-columns: 1fr; }
    .bl-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
    .bl-chips::-webkit-scrollbar { display: none; }
    .bl-chip { flex: none; }
    .bl-search kbd { display: none; }
    .bl-cta-btns, .bl-cta-btns .btn { width: 100%; justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .bl-hero-copy > *, .bl-line > span, .bl-feature { animation: none !important; opacity: 1 !important; transform: none !important; }
    .bl-lines, .bl-orb, .bl-title em, .bl-feature::before, .bl-cta, .bl-cta::after, .bl-kicker i { animation: none !important; }
    .bl-card.pre { opacity: 1; --ty: 0px; }
}
