.office-gallery{padding:70px 0;background:#f7f3ee}.office-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.office-photo{display:block;border-radius:14px;overflow:hidden;background:#eee}.office-photo img{display:block;width:100%;height:300px;object-fit:cover;transition:transform .3s}.office-photo:hover img{transform:scale(1.03)}.office-lightbox{border:0;padding:45px 16px 16px;background:#171717;max-width:94vw;max-height:94vh}.office-lightbox::backdrop{background:#000c}.office-lightbox img{max-width:88vw;max-height:80vh;object-fit:contain}.office-lightbox button{position:absolute;right:12px;top:6px;background:transparent;border:0;color:white;font-size:28px;cursor:pointer}.team-contact-item-content{min-width:0;overflow-wrap:anywhere}.director-pending{display:none}@media(max-width:767px){.office-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.office-photo img{height:190px}}@media(max-width:480px){.office-grid{grid-template-columns:1fr}.office-photo img{height:260px}}
.director-reference-photo{position:relative;overflow:hidden;aspect-ratio:514/531;border-radius:16px;margin-bottom:24px}.director-reference-photo img{position:absolute;width:304%;max-width:none;left:-194%;top:-5.8%}.director-contacts{background:#fff;border-radius:14px;padding:24px}.office-gallery-page .main-footer{background:#030a16;color:#fff;padding-top:70px}.office-gallery-page .main-footer h2,.office-gallery-page .main-footer h3,.office-gallery-page .main-footer p,.office-gallery-page .main-footer a{color:#fff}.office-gallery-page .main-footer .container{max-width:1320px;margin:auto}@media(max-width:767px){.director-reference-photo{max-width:420px;margin:24px auto}}

.director-contact-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid #dedbd7;border-radius:18px;background:#faf9f7;gap:0}.director-contact-cards .team-contact-item{display:flex;align-items:center;gap:20px;padding:28px;border-bottom:1px solid #e4e1dd;min-width:0}.director-contact-cards .team-contact-item:nth-child(odd){border-right:1px solid #e4e1dd}.director-contact-cards .team-contact-item:nth-last-child(-n+2){border-bottom:0}.director-contact-cards .icon-box{flex:0 0 48px;width:48px;height:48px}.director-contact-cards a{color:inherit}.director-contact-cards a:hover{color:#ed740c}.director-contact-cards h3{margin-bottom:8px}.director-contact-cards p{margin:0}.director-desk-profile .deg{font-size:18px;color:#e76d00}.director-desk-profile .name{color:#111}@media(max-width:600px){.director-contact-cards{grid-template-columns:1fr}.director-contact-cards .team-contact-item:nth-child(odd){border-right:0}.director-contact-cards .team-contact-item:nth-last-child(2){border-bottom:1px solid #e4e1dd}.director-contact-cards .team-contact-item{padding:22px}}

/* Contact cards: match the existing team layout. */
.team-contact-list.director-contact-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;border:1px solid #e0ddd9;border-radius:20px;gap:0}.director-contact-cards .team-contact-item{width:100%;display:flex;flex-wrap:nowrap;align-items:center;gap:15px;padding:30px;box-sizing:border-box;border-radius:0!important;background:#faf9f7}.director-contact-cards .team-contact-item .icon-box{flex:0 0 50px;width:50px;height:50px;margin:0}.director-contact-cards .team-contact-item-content{flex:1;width:auto;min-width:0}.director-contact-cards .team-contact-item-content h3{font-size:20px;line-height:1.3;margin:0 0 5px}.director-contact-cards .team-contact-item-content p{line-height:1.6;margin:0}.director-contact-cards .team-contact-item:nth-child(even){border-right:0}.director-contact-cards .team-contact-item:nth-child(odd){border-right:1px solid #e0ddd9}@media(max-width:600px){.team-contact-list.director-contact-cards{grid-template-columns:1fr}.director-contact-cards .team-contact-item{padding:22px;border-right:0!important;border-bottom:1px solid #e0ddd9!important}.director-contact-cards .team-contact-item:last-child{border-bottom:0!important}}
