/* Team profile pages */
.tm,.tm-band,.tm-more{padding:90px 15px}
.tm-band{background:#f4f4f8}
.tm-wrap{max-width:1140px;margin:0 auto}
.tm-grid{display:grid;grid-template-columns:4fr 8fr;gap:50px;align-items:start}
.tm-profile{background:#fff;border:1px solid #e7e7ee;border-radius:12px;overflow:hidden;box-shadow:0 18px 40px rgba(13,16,87,.07);position:sticky;top:120px}
.tm-photo{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;background:#eef0fb}
.tm-profile-body{padding:26px 28px 30px}
.tm-name{font:600 26px/1.25 "Outfit",sans-serif;color:#141414;margin:0}
.tm-role{font:600 14px "Inter",sans-serif;color:#DD131A;text-transform:uppercase;letter-spacing:.4px;margin:6px 0 18px}
.tm-contact{list-style:none;margin:0 0 22px;padding:0;display:flex;flex-direction:column;gap:10px}
.tm-contact li{display:flex;gap:12px;align-items:center;font:400 15px "Inter",sans-serif}
.tm-contact i{width:34px;height:34px;border-radius:50%;background:#eef0fb;color:#0D1057;display:flex;align-items:center;justify-content:center;font-size:14px;flex:0 0 34px}
.tm-contact a{color:#2b2b2b;text-decoration:none;word-break:break-all}
.tm-contact a:hover{color:#DD131A}
.tm-actions{display:flex;gap:10px}
.tm-btn{flex:1;display:flex;align-items:center;justify-content:center;height:48px;border-radius:8px;background:#DD131A;color:#fff!important;font:600 15px "Inter",sans-serif;text-decoration:none;transition:background .2s}
.tm-btn:hover{background:#b80f15}
.tm-icon{width:48px;height:48px;border-radius:8px;background:#0D1057;color:#fff!important;display:flex;align-items:center;justify-content:center;font-size:18px;transition:background .2s}
.tm-icon:hover{background:#0077b5}
.tm-hello{font:600 40px/1.2 "Outfit",sans-serif;color:#141414;margin:12px 0 18px}
.tm-bio{font:400 16px/1.8 "Inter",sans-serif;color:#555;margin:0 0 16px}
.tm-hls{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:30px 0 34px}
.tm-hl{background:#0D1057;border-radius:12px;padding:20px 20px 22px}
.tm-hl b{display:block;font:600 22px/1.25 "Outfit",sans-serif;color:#fff;margin-bottom:6px}
.tm-hl span{font:400 14px/1.55 "Inter",sans-serif;color:#c9cbe6}
.tm-sub{font:600 20px "Outfit",sans-serif;color:#141414;margin:0 0 14px}
.tm-chips{list-style:none;margin:0 0 28px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tm-chips li{font:500 14px "Inter",sans-serif;color:#0D1057;background:#eef0fb;border-radius:999px;padding:8px 14px}
.tm-chips-alt li{background:#fff1f1;color:#a30f14}
.tm-contact-grid{display:grid;grid-template-columns:5fr 7fr;gap:50px;align-items:center}
.tm-line{display:flex;gap:14px;align-items:center;text-decoration:none;margin-top:16px}
.tm-line i{width:48px;height:48px;border-radius:50%;background:#DD131A;color:#fff;display:flex;align-items:center;justify-content:center;font-size:17px;flex:0 0 48px}
.tm-line em{display:block;font:500 13px "Inter",sans-serif;font-style:normal;color:#888;text-transform:uppercase;letter-spacing:.5px}
.tm-line span{font:600 16px "Inter",sans-serif;color:#141414}
.tm-line:hover span{color:#DD131A}
.tm-more-head{text-align:center;margin-bottom:40px}
.tm-cards{display:grid;grid-template-columns:repeat(2,minmax(0,360px));gap:24px;justify-content:center}
.tm-card{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e7e7ee;border-radius:12px;padding:14px 20px 14px 14px;text-decoration:none;transition:border-color .2s,box-shadow .2s}
.tm-card:hover{border-color:#0D1057;box-shadow:0 12px 30px rgba(13,16,87,.08)}
.tm-card img{width:72px;height:72px;border-radius:10px;object-fit:cover}
.tm-card span{flex:1}
.tm-card b{display:block;font:600 18px "Outfit",sans-serif;color:#141414}
.tm-card em{font:600 13px "Inter",sans-serif;font-style:normal;color:#DD131A;text-transform:uppercase}
.tm-card i{color:#0D1057}
/* message form card (same style as the Contact page) */
.tm-band .cmc-form{background:#fff;border:1px solid #e7e7ee;border-radius:12px;padding:40px 36px;box-shadow:0 18px 40px rgba(13,16,87,.07)}
.tm-band .cmc-form h3{font:600 24px/1.3 "Outfit",sans-serif;color:#141414;margin:0 0 6px}
.tm-band .cmc-form>p{font:400 15px/1.7 "Inter",sans-serif;color:#6b6b6b;margin:0 0 22px}
.tm-band .cmc-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.tm-band .cmc-field{display:flex;flex-direction:column}
.tm-band .cmc-field.full{grid-column:1/-1}
.tm-band .cmc-field label{font:500 14px "Inter",sans-serif;color:#2b2b2b;margin-bottom:8px}
.tm-band .cmc-field label b{color:#DD131A;font-weight:500}
.tm-band .wpcf7-form-control-wrap{display:block}
.tm-band input.wpcf7-form-control:not([type=submit]),.tm-band textarea.wpcf7-form-control{width:100%;height:52px;border:1px solid #dcdce6;border-radius:8px;background:#f8f8fb;padding:0 16px;font:400 15px "Inter",sans-serif;color:#141414;box-sizing:border-box;transition:border-color .2s,background .2s,box-shadow .2s}
.tm-band textarea.wpcf7-form-control{height:130px;padding:14px 16px;resize:vertical}
.tm-band input.wpcf7-form-control:focus,.tm-band textarea.wpcf7-form-control:focus{outline:0;border-color:#0D1057;background:#fff;box-shadow:0 0 0 3px rgba(13,16,87,.1)}
.tm-band .wpcf7-not-valid{border-color:#DD131A!important}
.tm-band .wpcf7-not-valid-tip{font:400 13px "Inter",sans-serif;color:#DD131A;margin-top:6px;display:block}
.tm-band .cmc-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;flex-wrap:wrap}
.tm-band .cmc-foot small{font:400 13px/1.6 "Inter",sans-serif;color:#777;max-width:280px}
.tm-band .cmc-foot small a{color:#0D1057;text-decoration:underline}
.tm-band .wpcf7-submit{height:52px;padding:0 34px!important;border:0;border-radius:8px;background:#DD131A;color:#fff;font:600 16px "Inter",sans-serif;cursor:pointer;transition:background .2s}
.tm-band .wpcf7-submit:hover{background:#b80f15}
.tm-band .wpcf7-response-output{margin:18px 0 0!important;border-radius:8px;font:400 14px "Inter",sans-serif;padding:12px 16px!important}
@media (max-width:1024px){
  .tm-grid,.tm-contact-grid{grid-template-columns:1fr}
  .tm-profile{position:static;max-width:520px}
  .tm-hello{font-size:34px}
}
@media (max-width:767px){
  .tm,.tm-band,.tm-more{padding:60px 15px}
  .tm-hello{font-size:28px}
  .tm-hls{grid-template-columns:1fr}
  .tm-band .cmc-form{padding:28px 20px}
  .tm-band .cmc-fields{grid-template-columns:1fr}
  .tm-band .wpcf7-submit{width:100%}
  .tm-cards{grid-template-columns:1fr}
}
