.tp-services { padding-block: clamp(42px,6vw,80px); }
.tp-services .tp-services-label { display: table; margin-inline: auto; padding: .26rem .9rem; border-radius: 999px; background: #e9f056; color: #515822; font-size: .73rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.tp-services h2 { margin: 20px auto clamp(28px,4vw,48px); max-width: 880px; text-align: center; font: 400 clamp(2.2rem,4.6vw,3.7rem)/1.08 Georgia,'Times New Roman',serif; letter-spacing: -.04em; color: #181818; }
.tp-services .tp-services-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(20px,3vw,40px); align-items: start; }
.tp-services-grid > .tp-service { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; margin-block: 0; border: 0; border-radius: 0; background: transparent !important; color: #181818; overflow: visible; }
.tp-service::before { content: none !important; }
.tp-service .tp-service-copy { position: relative; margin: 0; padding: 0 6px; color: #181818; text-shadow: none; text-align: center; }
.tp-service-copy h3 { display: flex; align-items: center; justify-content: center; min-height: 2.5em; margin: 0 0 14px; color: #181818; font: 400 clamp(1.5rem,2.6vw,2rem)/1.14 Georgia,'Times New Roman',serif; letter-spacing: -.035em; }
.tp-service-copy p { margin: 0; color: #55514c; font: 400 .9rem/1.65 system-ui,-apple-system,sans-serif; }
/* One native Image block per service, on a quiet folder silhouette. */
.tp-service .tp-service-folder { position: relative; isolation: isolate; width: 100%; box-sizing: border-box; padding: 22px 12px 12px; margin: 0 0 24px; }
.tp-service-folder::before { content: ''; position: absolute; z-index: -1; inset: 13px 0 0; border: 1px solid #d5c9b2; border-radius: 0 12px 12px 12px; background: #e6dcc8; box-shadow: 0 4px 10px #4235260a; pointer-events: none; }
.tp-service-folder::after { content: ''; position: absolute; z-index: -2; top: 0; left: 0; width: 35%; height: 26px; border: 1px solid #d5c9b2; border-bottom: 0; border-radius: 9px 9px 0 0; background: #e6dcc8; pointer-events: none; }
.tp-service-folder > .wp-block-image { display: block; position: relative; inset: auto; box-sizing: border-box; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; margin: 0 !important; padding: 0; border: 0; border-radius: 6px; overflow: hidden; transform: none; box-shadow: none; background: #f8f6f1; }
.tp-service-folder > .wp-block-image img { display: block; width: 100% !important; height: 100% !important; max-width: none; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.tp-service-folder > .wp-block-image > a { display: block; width: 100%; height: 100%; }
.tp-service > .wp-block-image { position: relative; width: 100%; margin: 0 0 24px; }
.tp-service > .wp-block-image img { width: 100%; height: auto; border-radius: 8px; }
@media (max-width:900px) and (min-width:721px) {
 .tp-services .tp-services-grid { gap: 16px; }
 .tp-service-copy h3 { font-size: 1.45rem; min-height: 3.5em; }
 .tp-service-copy p { font-size: .82rem; }
}
@media (max-width:720px) {
 .tp-services .tp-services-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
 .tp-services-grid > .tp-service { width: min(100%,390px); margin-inline: auto; }
 .tp-service .tp-service-folder { margin-bottom: 20px; }
 .tp-service-copy h3 { min-height: 0; font-size: 1.9rem; max-width: 17ch; margin-inline: auto; }
 .tp-service-copy p { max-width: 38ch; margin-inline: auto; }
}
