/* Card refinement inspired by the Everyday Health Access photographic treatment.
   Preserves existing destinations, goal buttons, filtering and resource flow. */
#tools .tools-grid,#products .products-grid,#solutions .offers-grid{align-items:stretch}
#tools .tool-card,#products .product-card,#solutions .offer-card{border:1px solid rgba(12,89,78,.16);border-radius:21px;background:#fff;box-shadow:0 12px 34px rgba(6,46,40,.085);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
#tools .tool-card:hover,#products .product-card:hover,#solutions .offer-card:hover{transform:translateY(-5px);box-shadow:0 23px 48px rgba(6,46,40,.15);border-color:rgba(9,143,115,.42)}
#tools .tool-card{padding:20px;display:flex;flex-direction:column;min-height:365px}
#tools .tool-card::before{height:170px;margin:-20px -20px 18px;border-bottom:0;border-radius:20px 20px 0 0;box-shadow:inset 0 -30px 45px rgba(4,27,23,.1)}
#tools .tool-card h3{font-size:1.13rem;line-height:1.32;color:#0c3934;margin:4px 0 9px}
#tools .tool-card p{font-size:.88rem;line-height:1.65;color:#49665e;margin:0 0 16px}
#tools .tool-card .tool-link{margin-top:auto;font-weight:800;text-underline-offset:4px;color:#086e59}
#tools .tool-card .ext-tag,#tools .tool-card .network-tag{font-size:.7rem;line-height:1.5;margin-top:5px}
#tools .tool-card:nth-child(1){--health-photo:url('health-travel.jpg')}
#tools .tool-card:nth-child(2){--health-photo:url('health-heart.jpg')}
#tools .tool-card:nth-child(3){--health-photo:url('health-metabolic.jpg')}
#tools .tool-card:nth-child(4){--health-photo:url('health-heart.jpg')}
#tools .tool-card:nth-child(5){--health-photo:url('health-nutrition.jpg')}
#tools .tool-card:nth-child(6){--health-photo:url('health-coverage.jpg')}
#tools .tool-card:nth-child(7){--health-photo:url('health-sleep.jpg')}
#products .product-card{overflow:hidden}
#products .product-photo{height:195px!important}
#products .product-body{padding:21px 22px 24px}
#products .product-body h3{font-size:1.14rem;line-height:1.35;color:#0b3933}
#products .product-body ul{line-height:1.7;color:#4c6860;font-size:.85rem}
#products .product-body .btn-sm{margin-top:auto;min-height:44px;border-radius:12px;font-weight:800}
#solutions .offer-card{overflow:hidden;display:flex;flex-direction:column}
#solutions .offer-card-img{height:205px;min-height:205px;overflow:hidden}
#solutions .offer-card-img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
#solutions .offer-card:hover .offer-card-img img{transform:scale(1.045)}
#solutions .offer-card-body{padding:23px;gap:0}
#solutions .offer-card-body h3{font-size:1.13rem;line-height:1.35;color:#0b3933}
#solutions .offer-card-body p{font-size:.87rem;line-height:1.65;color:#48665d}
#solutions .offer-card-body .btn{margin-top:auto;min-height:45px;justify-content:center;text-align:center;border-radius:12px;font-weight:800}
#solutions .offer-badge-label{display:inline-block;align-self:flex-start;margin-bottom:10px;font-size:.69rem;letter-spacing:.035em}
#start .resource-goal-card{border:1px solid rgba(9,114,91,.16);box-shadow:0 12px 28px rgba(5,56,47,.09);border-radius:20px}
#start .resource-goal-card::before{height:140px;filter:saturate(1.05)}
#start .resource-goal-card strong{font-size:.96rem;line-height:1.35}
@media(max-width:720px){#tools .tool-card{min-height:0}#tools .tool-card::before{height:145px}#products .product-photo{height:165px!important}#solutions .offer-card-img{height:185px;min-height:185px}#start .resource-goal-card::before{height:112px}}
@media(prefers-reduced-motion:reduce){#tools .tool-card,#products .product-card,#solutions .offer-card,#solutions .offer-card-img img{transition:none}}
