.default-padding {
    padding: 60px 0;
}

.content-blocks > * {
    margin-bottom: 60px;
}

.content-blocks > *:last-child {
    margin-bottom: 0;
}

.text-formatted {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.text-formatted h2 {
    font-size: 28px;
    line-height: 1.3;
    color: #333;
    margin: 0 0 20px;
    font-weight: 600;
}

.text-formatted p {
    margin-bottom: 20px;
}

.text-formatted p:last-child {
    margin-bottom: 0;
}

.ty-intro {
    padding: 60px 0;
}

.ty-intro .intro-text {
    margin-bottom: 40px;
}

.ty-intro .intro-media {
    position: relative;
    margin-top: 40px;
    border-radius: 4px;
    overflow: hidden;
}

.ty-intro .intro-media img {
    width: 100%;
    height: auto;
    display: block;
}

.ty-intro .media-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    border-top-left-radius: 4px;
}

.ty-intro .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.ty-intro .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ty-1-col {
    padding: 60px 0;
}

.ty-2-col {
    padding: 60px 0;
}

.ty-3-col {
    padding: 60px 0;
}

.ty-spacer {
    height: var(--desktop-spacing, 0);
}

.ty-quicklinks {
    padding: 60px 0;
}

.quicklinks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.quicklink-item {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #0041C2;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quicklink-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ty-image-and-text {
    padding: 60px 0;
}

.ty-image-and-text .image-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.ty-image-and-text .image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.ty-image-and-text .image-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    border-top-left-radius: 4px;
}

.ty-image-and-text .text-wrapper {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.ty-image-and-text .text-wrapper h2 {
    font-size: 28px;
    line-height: 1.3;
    color: #333;
    margin: 0 0 20px;
    font-weight: 600;
}

.ty-image-and-text .text-wrapper p:last-child {
    margin-bottom: 0;
}

.ty-2-colquote {
    width: 100%;
}

.ty-2-colquote .block-title {
    margin-bottom: 2rem;
    font-size: 2rem;
    line-height: 1.2;
}

.ty-2-colquote .quote-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.ty-2-colquote.quote-right .quote-content-wrapper {
    grid-template-columns: 1fr 1fr;
}

.ty-2-colquote.quote-left .quote-content-wrapper {
    grid-template-columns: 1fr 1fr;
}

.ty-2-colquote .quote {
    font-size: 1.5rem;
    line-height: 1.4;
    font-style: italic;
    color: #666;
    margin: 0;
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 4px;
    position: relative;
}

.ty-2-colquote .quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -1rem;
    left: 1rem;
    color: #999;
}

.ty-img-txt {
    width: 100%;
}

.ty-img-txt .img-txt-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.ty-img-txt.image-right .img-txt-wrapper {
    grid-template-columns: 1fr 1fr;
}

.ty-img-txt.image-left .img-txt-wrapper {
    grid-template-columns: 1fr 1fr;
}

.ty-img-txt .image-wrapper {
    position: relative;
}

.ty-img-txt .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.ty-img-txt .image-caption {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
}

.ty-2-colprof {
    width: 100%;
}

.ty-2-colprof .profile-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.ty-2-colprof .profile-wrapper {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 4px;
}

.ty-2-colprof .profile-image {
    margin-bottom: 1.5rem;
}

.ty-2-colprof .profile-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.ty-2-colprof .profile-title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0 0 0.5rem;
}

.ty-2-colprof .profile-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 1rem;
}

.ty-2-colprof .profile-text {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ty-2-colprof .profile-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.ty-2-colprof .profile-link:hover {
    background: #000;
}

.ty-team {
    width: 100%;
}

.ty-team .team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.ty-team .team-member {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
}

.ty-team .member-image {
    margin-bottom: 1rem;
}

.ty-team .member-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.ty-team .member-name {
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 0 0 0.5rem;
}

.ty-team .member-position {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.ty-team .member-email {
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
}

.ty-team .member-email:hover {
    text-decoration: underline;
}

.ty-timeline {
    width: 100%;
}

.ty-timeline .timeline-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.ty-timeline .timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.ty-timeline .timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #e0e0e0;
}

.ty-timeline .timeline-point {
    position: relative;
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.ty-timeline .timeline-point:first-child {
    margin-top: 0;
}

.ty-timeline .timeline-point:last-child {
    margin-bottom: 0;
}

.ty-timeline .point-date {
    width: 40%;
    padding-right: 2rem;
    text-align: right;
    font-weight: 500;
    color: #666;
}

.ty-timeline .point-marker {
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #666;
    border-radius: 50%;
    margin: 0 1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.ty-timeline .timeline-point.active .point-marker {
    background-color: #666;
}

.ty-timeline .point-content {
    width: 40%;
    padding-left: 2rem;
}

.ty-timeline .point-title {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

.ty-timeline .point-description {
    color: #666;
}

.ty-relations {
    width: 100%;
}

.ty-relations .relations-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.ty-relations .relations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ty-relations .relation-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ty-relations .relation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ty-relations .relation-image {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.ty-relations .relation-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ty-relations .relation-content {
    padding: 1.5rem;
}

.ty-relations .relation-type {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.ty-relations .relation-title {
    font-size: 1.25rem;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.ty-relations .relation-title a {
    color: #333;
    text-decoration: none;
}

.ty-relations .relation-title a:hover {
    color: #000;
}

.ty-relations .relation-excerpt {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.ty-case {
    width: 100%;
}

.ty-case .case-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.ty-case .case-slider {
    position: relative;
    padding: 0 40px;
}

.ty-case .case-slide {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
}

.ty-case .slide-image {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.ty-case .slide-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ty-case .slide-content {
    padding: 1.5rem;
}

.ty-case .slide-label {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.ty-case .slide-title {
    font-size: 1.25rem;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.ty-case .slide-text {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.ty-case .slide-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.ty-case .slide-link:hover {
    background: #000;
}

.ty-case .swiper-button-prev,
.ty-case .swiper-button-next {
    color: #333;
}

.ty-case .swiper-pagination-bullet {
    background: #333;
    opacity: 0.3;
}

.ty-case .swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 991px) {
    .default-padding,
    .ty-intro,
    .ty-1-col,
    .ty-2-col,
    .ty-3-col,
    .ty-quicklinks,
    .ty-image-and-text {
        padding: 40px 0;
    }

    .content-blocks > * {
        margin-bottom: 40px;
    }

    .ty-intro {
        padding: 40px 0;
    }

    .ty-intro .intro-text {
        margin-bottom: 30px;
    }

    .ty-intro .intro-media {
        margin-top: 30px;
    }

    .text-formatted h2,
    .ty-image-and-text .text-wrapper h2 {
        font-size: 24px;
    }

    .ty-spacer {
        margin: 20px 0;
    }

    .ty-2-colquote .quote-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ty-2-colquote.quote-right .quote-content-wrapper,
    .ty-2-colquote.quote-left .quote-content-wrapper {
        grid-template-columns: 1fr;
    }

    .ty-2-colquote .quote {
        font-size: 1.25rem;
        padding: 1.5rem;
    }

    .ty-img-txt .img-txt-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ty-img-txt.image-right .img-txt-wrapper,
    .ty-img-txt.image-left .img-txt-wrapper {
        grid-template-columns: 1fr;
    }

    .ty-2-colprof .profile-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ty-2-colprof .profile-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    .default-padding,
    .ty-intro,
    .ty-1-col,
    .ty-2-col,
    .ty-3-col,
    .ty-quicklinks,
    .ty-image-and-text {
        padding: 30px 0;
    }

    .content-blocks > * {
        margin-bottom: 30px;
    }

    .ty-image-and-text .image-wrapper {
        margin-bottom: 20px;
    }

    .ty-intro {
        padding: 30px 0;
    }

    .ty-intro .intro-text {
        margin-bottom: 20px;
    }

    .ty-intro .intro-media {
        margin-top: 20px;
    }

    .ty-spacer {
        height: var(--mobile-spacing, var(--desktop-spacing, 0));
    }

    .ty-team .team-members-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ty-timeline .timeline-wrapper::before {
        left: 20px;
    }

    .ty-timeline .timeline-point {
        flex-direction: column;
        margin: 2rem 0;
        padding-left: 40px;
    }

    .ty-timeline .point-date {
        width: 100%;
        padding-right: 0;
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .ty-timeline .point-marker {
        position: absolute;
        left: 10px;
        top: 0;
    }

    .ty-timeline .point-content {
        width: 100%;
        padding-left: 0;
    }

    .ty-relations .relations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ty-case .case-slider {
        padding: 0 30px;
    }
}

/* Publications styles */
.publication-meta {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.publication-meta > div {
    margin-bottom: 0.5rem;
}

.publication-meta > div:last-child {
    margin-bottom: 0;
}

.publication-meta .label {
    font-weight: 500;
    margin-right: 0.5rem;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.publication-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.publication-image {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.publication-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.publication-content {
    padding: 1.5rem;
}

.publication-title {
    font-size: 1.25rem;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.publication-title a {
    color: #333;
    text-decoration: none;
}

.publication-title a:hover {
    color: #000;
}

.publication-excerpt {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Urban Voices styles */
.author-info {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    flex-grow: 1;
}

.author-name {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.author-title {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.author-organization {
    color: #666;
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.voice-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.voice-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.voice-image {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.voice-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-content {
    padding: 1.5rem;
}

.voice-title {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.voice-title a {
    color: #333;
    text-decoration: none;
}

.voice-title a:hover {
    color: #000;
}

.voice-author {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.voice-excerpt {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .author-info {
        flex-direction: column;
        text-align: center;
    }

    .author-image {
        margin: 0 0 1rem;
    }

    .publications-grid,
    .voices-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ty-block-img-text styles */
.ty-block-img-text {
    padding: 60px 0;
}

.ty-block-img-text .text-wrapper {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* Make selector more specific to override inline styles */
body .ty-block-img-text .text-wrapper h3,
body .ty-block-img-text .text-wrapper .h3 {
    font-size: 20px;
    line-height: 24px;
    color: #333;
    margin: 0 0 20px;
    font-weight: 600;
    font-family: var(--title-font-family);
}

@media (min-width: 992px) {
    body .ty-block-img-text .text-wrapper h3,
    body .ty-block-img-text .text-wrapper .h3 {
        font-size: 40px;
        line-height: 48px;
    }
}

.ty-block-img-text .text-wrapper p {
    margin-bottom: 20px;
}

.ty-block-img-text .text-wrapper p:last-child {
    margin-bottom: 0;
}

.ty-block-img-text .image-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.ty-block-img-text .image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.ty-block-img-text .image-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    border-top-left-radius: 4px;
}

@media (max-width: 991px) {
    .ty-block-img-text {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    .ty-block-img-text {
        padding: 30px 0;
    }

    .ty-block-img-text .image-wrapper {
        margin-bottom: 20px;
    }
} 