/*
Theme Name: Toronto Unfold — CityBuzz
Template: smart-mag
Version: 1.0.0
Description: Toronto Unfold branding and editorial details on the purchased SmartMag CityBuzz design.
*/
.main-head .logo-image {width:238px;max-height:70px;object-fit:contain}
.mobile-head .logo-image {width:184px;max-height:58px;object-fit:contain}
.main-head .navigation {--nav-items-space:16px}
@media(min-width:1100px){.main-head .navigation a{white-space:nowrap}}
.menu-item > a{white-space:nowrap}
.post-content a:not(.wp-block-button__link):not(.tu-video-poster){text-underline-offset:3px}
.post-content table{table-layout:fixed;width:100%;overflow-wrap:anywhere;font-size:.9em}
.post-content th:first-child{width:25%}
.post-content th,.post-content td{padding:14px;vertical-align:top}
.tu-video{margin:30px 0}
.tu-video-frame{position:relative;aspect-ratio:16/9;background:#09243c;overflow:hidden;border-radius:5px}
.tu-video-frame iframe,.tu-video-poster{position:absolute;inset:0;width:100%;height:100%;border:0}
.tu-video-poster{display:block;padding:0;background:none;cursor:pointer}
.tu-video-poster img{width:100%;height:100%;object-fit:cover;margin:0!important}
.tu-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#0753a7;color:white;border-radius:50%;width:70px;height:70px;display:grid;place-items:center;font-size:28px;box-shadow:0 3px 20px #0005}
.tu-video-release{position:absolute;left:20px;bottom:20px;background:#102431;color:white;padding:9px 14px}
.tu-video-portrait .tu-video-frame{aspect-ratio:9/16;max-width:390px;margin:auto}
.tu-video figcaption,.wp-caption-text{font-size:12px;line-height:1.6;color:#60707c;margin-top:8px}
.tu-walk-details{margin:32px 0;padding:22px 24px;border-left:4px solid #00d9ea;background:#f3f8fc;font-size:15px;line-height:1.7}
.tu-walk-details p{margin:0 0 10px}.tu-walk-details p:last-child{margin:0}
.tu-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin:30px 0}
.tu-story-grid img{width:100%;aspect-ratio:16/10;object-fit:cover}
.tu-story-grid h2{font-size:21px;line-height:1.35;margin:14px 0 8px;font-weight:800}
.tu-story-grid p{font-size:14px;line-height:1.6;margin:0}
.tu-story-grid a{color:inherit;text-decoration:none}
.tu-event-label{display:inline-block;background:#eaf7fc;color:#0753a7;border-radius:3px;font-size:12px;font-weight:700;padding:5px 9px;margin-bottom:18px}
.tu-watch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 28px;margin:28px 0}
.tu-watch-card{min-width:0}
.post-content .tu-watch-card h2{font-size:21px;line-height:1.4;margin:0 0 14px}
.tu-watch-card .tu-video{margin:0 0 12px}
.post-content .tu-watch-card p{font-size:14px;margin:0}
@media(max-width:767px){.tu-watch-grid{grid-template-columns:1fr}}
.post-content .tu-university-table{font-size:14px}
.post-content .tu-university-table th:first-child{width:46%;text-align:left}
.post-content .tu-university-table td,.post-content .tu-university-table thead th:not(:first-child){width:27%;text-align:center}
.post-content .tu-university-table th,.post-content .tu-university-table td{padding:11px 8px}
.tu-table-caption{font-size:13px!important;line-height:1.6;color:#60707c}
.tu-ranking-weights{padding:23px;background:#f3f8fc;border-radius:6px;margin:25px 0}
.tu-weight-bar{display:flex;height:32px;border-radius:5px;overflow:hidden}
.tu-weight-bar span{display:block;height:100%}
.post-content .tu-weight-key{display:grid;grid-template-columns:1fr 1fr;list-style:none;padding:0;margin:16px 0 10px;gap:10px 20px;font-size:14px}
.post-content .tu-weight-key li{display:flex;align-items:center;gap:7px;margin:0}
.tu-weight-key i{display:inline-block;width:11px;height:11px;flex-shrink:0;border-radius:2px}
@media(max-width:600px){.post-content .tu-weight-key{grid-template-columns:1fr}.tu-ranking-weights{padding:18px}}
@media(max-width:767px){.tu-story-grid{grid-template-columns:1fr}.post-content th,.post-content td{padding:9px}.post-content table{font-size:14px}.tu-walk-details{padding:18px}.main-head .logo-image{width:184px}}

/* Keep linked article headings visible beneath the sticky navigation. */
.single .post-content h2[id], .single .post-content h3[id]{scroll-margin-top:110px}

/* Contact form and footer navigation - November4,2026. */
.footer-logo a{display:inline-block}.footer-logo a:focus-visible{outline:3px solid #00d9ea;outline-offset:6px}
.tu-footer-contact{margin:18px 0 22px}.tu-footer-contact a{display:inline-block;border:1px solid #00d9ea;border-radius:5px;color:#fff;padding:10px 20px;font-weight:600}.tu-footer-contact a:hover,.tu-footer-contact a:focus-visible{background:#00d9ea;color:#08223d}
.tu-contact-form{margin:30px 0 38px;padding:28px;background:#f5f8fb;border:1px solid #dce6ee;border-top:4px solid #00d9ea;border-radius:8px;scroll-margin-top:100px}.tu-contact-form h2{margin-top:0}.tu-contact-form .wpforms-container{margin-bottom:0}.tu-contact-form .wpforms-form input,.tu-contact-form .wpforms-form select,.tu-contact-form .wpforms-form textarea{max-width:100%!important;border-radius:4px!important}.tu-contact-form .wpforms-submit{background:#0753a7!important;color:#fff!important;border:0!important;border-radius:5px!important;min-height:46px;padding:12px 24px!important}.tu-contact-form .wpforms-submit:hover{background:#08223d!important}.tu-contact-form .wpforms-submit:focus-visible{outline:3px solid #00d9ea;outline-offset:3px}
@media(max-width:767px){.tu-contact-form{padding:20px 16px}.tu-contact-form .wpforms-field-row{max-width:100%!important}.tu-contact-form .wpforms-field-medium{width:100%!important}}
