/* Blog card component (.resource-card) — shared by the homepage insights teaser, home.php (blog index), single.php related posts, archive.php, search.php — Axtivon theme */
.case-head,.resource-head,.implementation-head{display:flex;align-items:end;justify-content:space-between;gap:30px}
.case-head .section-head,.resource-head .section-head,.implementation-head .section-head{margin-bottom:0}
.case-head > .btn,.resource-head > .btn{flex:0 0 auto;margin-bottom:4px}
.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:54px}
.resource-card{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-md);background:#fff;transition:transform .25s ease,box-shadow .25s ease}
.resource-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md)}
.resource-visual{min-height:260px;display:grid;place-items:center;padding:20px;position:relative;overflow:hidden}
.resource-visual--one{background:linear-gradient(135deg,#e8ddff,#f8f5ff)}
.resource-visual--two{background:linear-gradient(135deg,#210650,#5a31ae)}
.resource-visual--three{background:linear-gradient(135deg,#efebf8,#d8cef0)}
.resource-tag{position:absolute;left:17px;top:17px;padding:6px 9px;border-radius:999px;color:var(--primary);background:rgba(255,255,255,.86);font-size:.56rem;font-weight:850;z-index:1}
.resource-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.resource-book{width:185px;min-height:210px;padding:28px 22px;border-radius:7px 17px 17px 7px;color:#fff;background:var(--primary);box-shadow:18px 18px 35px rgba(43,11,103,.18);transform:rotate(-4deg);position:relative}
.resource-book::after{content:"";position:absolute;width:5px;left:11px;top:0;bottom:0;background:rgba(255,255,255,.16)}
.resource-book i{width:35px;height:6px;display:block;margin-bottom:32px;border-radius:99px;background:#b9a3f4}
.resource-book b{display:block;font-size:1.08rem;line-height:1.22}
.resource-book small{display:block;margin-top:35px;color:rgba(255,255,255,.65);font-size:.56rem}
.resource-copy{padding:24px}
.resource-copy > span{color:var(--primary-light);font-size:.65rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
.resource-copy h3{margin:9px 0 12px;font-size:1.3rem}
.resource-copy p{font-size:.88rem}
.resource-copy .text-link{margin-top:18px;font-size:.8rem}
.outcome-card,.journey-card,.tabs-shell,.case-card,.resource-card,.price-card{border-color:#e6e2eb}
@media (max-width:1080px){.case-grid,.resource-grid{grid-template-columns:repeat(2,1fr)}
.case-card:last-child,.resource-card:last-child{grid-column:1 / -1;max-width:calc(50% - 10px);justify-self:center}
}
@media (max-width:760px){.case-head,.resource-head,.implementation-head{align-items:flex-start;flex-direction:column}
.case-grid,.resource-grid{grid-template-columns:1fr}
.case-card:last-child,.resource-card:last-child{grid-column:auto;max-width:none}
.resource-visual{min-height:235px}
}
.search-form{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;max-width:520px}
.search-form input[type="search"]{flex:1 1 260px;padding:13px 16px;border:1px solid var(--line);border-radius:var(--radius-sm);font:inherit}
.search-form input[type="search"]:focus{outline:2px solid var(--primary-light);outline-offset:1px}
.archive-description{margin-top:14px;color:var(--ink-soft);font-size:.95rem}
