/* Vivacity Homepage — Latest Events. Isolated from existing Blog archive/cards. */
.vhevt{--vhevt-ink:var(--viv-ink);--vhevt-teal:var(--viv-primary);--vhevt-gold:var(--viv-accent);position:relative;isolation:isolate;overflow:hidden;padding:clamp(74px,7.5vw,110px) 0;background:linear-gradient(140deg,#fff 4%,var(--viv-primary-soft) 59%,#fff 100%);color:var(--vhevt-ink)}
.vhevt *{box-sizing:border-box}
.vhevt:before{content:"";pointer-events:none;position:absolute;z-index:-1;width:340px;height:340px;border:1px solid color-mix(in srgb,var(--viv-primary) 10%,transparent);border-radius:46% 54% 55% 45%;top:-170px;right:-110px;box-shadow:0 0 0 64px color-mix(in srgb,var(--viv-primary) 3.5%,transparent),0 0 0 130px color-mix(in srgb,var(--viv-primary) 1.5%,transparent)}
.vhevt:after{content:"";pointer-events:none;position:absolute;z-index:-1;left:-150px;bottom:-200px;width:410px;height:410px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--viv-accent) 10%,transparent),transparent 68%)}
.vhevt__shell{width:min(1370px,calc(100% - 64px));margin-inline:auto}
.vhevt__intro{display:flex;justify-content:space-between;align-items:center;gap:50px;margin-bottom:36px;padding:0 2px}
.vhevt__heading{max-width:840px;min-width:0}
.vhevt__eyebrow{display:inline-flex;align-items:center;gap:11px;margin-bottom:17px;color:var(--viv-primary);font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.vhevt__eyebrow>span{width:30px;height:2px;background:var(--vhevt-gold)}
.vhevt__intro h2{margin:0;color:var(--vhevt-ink);font-size:39px;line-height:1.22;font-weight:700;letter-spacing:-.025em}
.vhevt__intro p{max-width:710px;margin:12px 0 0;color:var(--viv-slate);font-size:16px;line-height:1.75}
.vhevt__intro-symbol{display:grid;place-items:center;flex:0 0 108px;width:108px;height:108px;border:1px solid var(--viv-primary-soft-2);border-radius:30px;background:linear-gradient(145deg,var(--viv-primary-soft),var(--viv-primary-soft-2));color:var(--viv-primary);transform:rotate(-5deg);box-shadow:inset 0 1px 0 #fff,0 10px 24px color-mix(in srgb,var(--viv-primary) 4%,transparent)}
.vhevt__intro-symbol svg{width:69px;height:69px;transform:rotate(5deg)}
.vhevt__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.vhevt__card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--viv-primary-soft-2);border-radius:21px;background:#fff;box-shadow:0 6px 24px color-mix(in srgb,var(--viv-primary-deep) 3.5%,transparent);transition:border-color .35s ease,transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s ease}
.vhevt__card:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--viv-primary) 48%,var(--viv-white));box-shadow:0 18px 33px color-mix(in srgb,var(--viv-primary-deep) 7%,transparent)}
.vhevt__media{position:relative;display:block;flex:0 0 auto;width:100%;aspect-ratio:16/10;background:linear-gradient(135deg,var(--viv-primary-soft-2),var(--viv-primary));overflow:hidden}
.vhevt__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.75,.24,1)}
.vhevt__card:hover .vhevt__media img{transform:scale(1.055)}
.vhevt__media--empty{display:grid;place-items:center;background:linear-gradient(130deg,var(--viv-primary-soft-2),color-mix(in srgb,var(--viv-primary) 48%,var(--viv-white)) 55%,var(--viv-primary));color:var(--viv-primary-soft-2)}
.vhevt__media--empty:before{content:"";position:absolute;inset:12% 14%;border:1px solid rgba(255,255,255,.3);border-radius:50%;box-shadow:0 0 0 28px rgba(255,255,255,.065)}
.vhevt__image-placeholder{position:relative;z-index:1;display:grid;place-items:center;width:110px;height:110px;border:1px solid rgba(255,255,255,.47);background:rgba(255,255,255,.1);border-radius:28px}
.vhevt__image-placeholder svg{width:66px;height:66px}
.vhevt__media-corner{position:absolute;z-index:1;right:17px;bottom:17px;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.94);color:var(--viv-primary);font-size:22px;font-weight:600;transform:translateY(6px);opacity:0;transition:transform .3s ease,opacity .3s ease}
.vhevt__card:hover .vhevt__media-corner{transform:none;opacity:1}
.vhevt__content{display:flex;flex:1;flex-direction:column;min-width:0;padding:24px 25px 25px}
.vhevt__meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:13px;font-size:12px;line-height:1.5;color:var(--viv-slate)}
.vhevt__category{max-width:100%;padding:4px 9px;border-radius:6px;background:var(--viv-primary-soft-2);color:var(--viv-primary);font-size:10px;letter-spacing:.085em;font-weight:800;text-transform:uppercase;overflow-wrap:anywhere}
.vhevt__content h3{margin:0;color:var(--viv-primary-deep);font-size:21px;line-height:1.35;letter-spacing:-.02em;font-weight:700;overflow-wrap:anywhere}
.vhevt__content h3 a{color:inherit;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vhevt__content h3 a:hover{color:var(--viv-primary)}
.vhevt__content p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:12px 0 23px;color:var(--viv-slate);font-size:15px;line-height:1.7}
.vhevt__read{display:inline-flex;justify-content:space-between;align-items:center;gap:20px;align-self:stretch;margin-top:auto;padding:15px 0 0;border-top:1px solid var(--viv-primary-soft-2);color:var(--viv-primary);text-decoration:none;font-size:13px;font-weight:800;transition:color .25s ease}
.vhevt__read svg{width:21px;height:21px;flex:none;transition:transform .3s ease,color .3s ease}
.vhevt__card:hover .vhevt__read{color:var(--viv-primary)}
.vhevt__card:hover .vhevt__read svg{transform:translateX(5px);color:var(--viv-accent)}
.vhevt__footer{display:flex;justify-content:center;margin-top:39px}
.vhevt__all{display:inline-flex;align-items:center;justify-content:center;gap:25px;min-height:54px;padding:14px 24px;border:1px solid var(--viv-primary-deep);border-radius:13px;background:var(--viv-primary-deep);color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:800;transition:background .28s ease,transform .28s ease,border-color .28s ease}
.vhevt__all svg{width:21px;height:21px;transition:transform .28s ease}
.vhevt__all:hover{background:var(--viv-primary);border-color:var(--viv-primary);transform:translateY(-2px)}
.vhevt__all:hover svg{transform:translateX(5px)}
.vhevt__all:focus-visible,.vhevt__read:focus-visible,.vhevt__content h3 a:focus-visible{outline:3px solid var(--viv-accent);outline-offset:4px}
.vhevt__empty{padding:24px;border-radius:13px;border:1px dashed color-mix(in srgb,var(--viv-primary) 48%,var(--viv-white));background:#fff;color:var(--viv-primary)}
@media(max-width:1080px){.vhevt__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.vhevt__shell{width:calc(100% - 40px)}.vhevt__intro{gap:22px}.vhevt__intro-symbol{flex-basis:82px;width:82px;height:82px;border-radius:22px}.vhevt__intro-symbol svg{width:54px;height:54px}}
@media(max-width:620px){.vhevt{padding:64px 0 75px}.vhevt__shell{width:calc(100% - 32px)}.vhevt__intro{margin-bottom:28px}.vhevt__intro h2{font-size:clamp(30px,8vw,39px)}.vhevt__intro p{font-size:14px}.vhevt__intro-symbol{display:none}.vhevt__grid{grid-template-columns:1fr;gap:18px}.vhevt__content h3{font-size:20px}.vhevt__footer{margin-top:29px}.vhevt__all{width:100%}}
@media(prefers-reduced-motion:reduce){.vhevt__card,.vhevt__media img,.vhevt__media-corner,.vhevt__read,.vhevt__read svg,.vhevt__all,.vhevt__all svg{transition:none!important}.vhevt__card:hover,.vhevt__all:hover,.vhevt__card:hover .vhevt__media img{transform:none}}

/* Multi-category sections: only the category header is new; existing post card structure stays unchanged. */
.vhevt__category-sections{display:grid;gap:50px}
.vhevt__category-section{min-width:0}
.vhevt__category-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 22px;padding:0 2px}
.vhevt__category-title{display:flex;align-items:center;gap:13px;min-width:0;margin:0;color:var(--viv-primary-deep);font-size:25px;line-height:1.25;font-weight:700;letter-spacing:-.018em}
.vhevt__category-title>span{display:block;flex:0 0 7px;width:7px;height:31px;border-radius:99px;background:var(--viv-primary)}
.vhevt__category-view{display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;color:var(--viv-primary)!important;text-decoration:none!important;font-size:13px;font-weight:800;transition:color .25s ease,transform .25s ease}
.vhevt__category-view svg{width:18px;height:18px;transition:transform .25s ease}
.vhevt__category-view:hover{color:var(--viv-primary-deep)!important}
.vhevt__category-view:hover svg{transform:translateX(4px)}
.vhevt__category-view:focus-visible{outline:3px solid var(--viv-accent);outline-offset:4px;border-radius:4px}
@media(max-width:620px){.vhevt__category-sections{gap:38px}.vhevt__category-head{gap:14px;margin-bottom:17px}.vhevt__category-title{font-size:20px;line-height:1.3}.vhevt__category-title>span{width:6px;height:27px}.vhevt__category-view{font-size:12px;gap:6px}.vhevt__category-view svg{width:16px;height:16px}}

/* Responsive post-count controls from Vivacity Options. Desktop remains untouched. */
@media (min-width:621px) and (max-width:1080px){
  .vhevt__grid>.vhevt__card.vhevt__card--hide-tablet{display:none}
}
@media (max-width:620px){
  .vhevt__grid>.vhevt__card.vhevt__card--hide-mobile{display:none}
}
