
/* Urbanity Section - Mobile First */
.urbanity-section {
    width: 100%;
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

.urbanity-container {
    width: 100%;
}

/* Header */
.urbanity-header {
    max-width: 800px;
    padding-bottom: 50px;
    margin: 0 auto;
    text-align: center;
}

.urbanity-title {
    font-family: var(--font-accent);
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    color: #000;
    margin-bottom: 15px;
}
.urbanity-header p{
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0px;
    margin-bottom: 20px;
    color: #333;
}
.title-line {
    width: 80px;
    height: 2px;
    background: #000;
    margin: 0 auto;
}

/* Q&A Section */
.urbanity-qa {
    max-width: 100%;
    margin: 0 auto;
}
.qa-grid{
    max-width: 804px;
    margin: 0 auto;
    padding: 20px;
    height: auto;
}
.qa-item {
    padding: 10px 0;
}

.qa-question {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: #1D1D1D;
    margin-bottom: 15px;
}
/* MAIN IMAGE with Model - Logo appears ONLY here */
.urbanity-main-image {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.urbanity-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Logo Overlay - ONLY on main image */
.urbanity-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Logo Box (URBANITY) */
.logo-box {
    display: inline-block;
    padding: 5px;
    margin-bottom: 5px;
    background:#0000004D;
}

.logo-text {
    background: #FFFFFF99;
    text-align: center;
    border-radius: 5px;
    display: block;
    font-family: var(--font-heading);
    font-weight: 600; 
    font-size: 8px;
    letter-spacing: 2px;
    line-height: 20px;
    color: #000;
}

/* "by Name" Text - Enhanced visibility */
.logo-by {
    font-family: var(--font-heading);
    font-weight: 400;  /* Changed from 300 to 400 */
    font-size: 10px;
    text-align: center;
    color: #FFFFFF;
    padding: 1px 8px;
    letter-spacing: 7%;
}

/* Q&A Image */
.qa-image {
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
}

.qa-image img {
    display: block;
    width: 100%;
    object-fit: cover;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: transform 0.4s ease;
}

.qa-image:hover img {
    transform: scale(1.02);
}

.qa-answer {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: #000;
}
.qa-image-caption {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    color: #5A7184;
    margin-top: 8px;
    text-align: center;
    line-height: 20px;
}
.speakers-section{
    width: 100%;
    margin: 50px 0;
    padding: 20px 0 50px;
    border-bottom: 2px solid var(--border-color);
;
}
.speakers-posts-header{
    padding: 30px 0;
}
.speakers-posts-header h2{
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 36px;
    line-height: 48px;
    color: #183B56;
}
.speakers-posts-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
/* Card */
.speaker-card {
    cursor: pointer;
    transition: all 0.3s ease;
}
.speaker-card:nth-child(2) {
    margin-top: 40px;
}

.speaker-card:nth-child(3) {
    margin-top: 0px;
}
.speaker-card:hover {
    transform: translateY(-5px);
}

.speaker-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.speaker-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.date {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    display: block;
    margin-bottom: 6px;
}
.title {
    font-size: 24px;
    font-weight: 600;
    color: #183B56;
    line-height: 1.4;
}

.speaker-card:hover .title {
    color: #1e73be;
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .urbanity-section {
        margin: 80px auto;
        padding: 0 40px;
    }
    .urbanity-title {        
        font-size: 40px;
        line-height: 25px;
    }
    /* Main image with larger logo */
    .urbanity-main-image {
        margin-bottom: 50px;
    }

    .urbanity-logo {
        top: 25px;
        left: 25px;
    }

    .logo-box {
        padding: 10px;
    }

    .logo-text {
        font-size: 20px;
        text-align: center;
        line-height: 40px;
    }

    .logo-by {
        padding: 5px 10px;  
        font-size: 20px;
    }
    .title-line {
        width: 100px;
    }

    .qa-item {
        padding: 15px 0;
    }

    .qa-question {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .qa-image {
        margin: 25px 0;
    }
    .qa-image img {
        display: block;
        width: 40%;
        height: auto;
        margin: 0 auto;
        display: block;
        transition: transform 0.4s ease;
    }

    .qa-answer {
        font-size: 14px;
        line-height: 23px;
    }
    .speakers-posts-grid{
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .urbanity-section {
        margin: 2rem auto;
        padding: 0 60px;
    }

    .urbanity-title {
        font-family: var(--font-accent);
        font-weight: 400;
        font-style: normal;
        font-size: 50px;
        line-height: 100%;
        margin-bottom: 20px;
    }

    .title-line {
        width: 120px;
        height: 3px;
    }
    /* Main image with larger logo */
    .urbanity-main-image {
        margin-bottom: 30px;
    }

    .urbanity-logo {
        top: 30px;
        left: 30px;
    }

    .logo-box {
       padding: 10px; 
    }

    .logo-text {
        font-weight: 600; 
        font-size: 20px;
        text-align: center;
        line-height: 40px;
    }

    .logo-by {
        padding: 5px 12px;  
    }

    .qa-item {
        padding: 10px 0;
    }

    .qa-question {
        font-size: 20px;
        margin: 10px 0;
    }

    .qa-image {
        margin: 30px 0;
    }

    .qa-image img {
        display: block;
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
        transition: transform 0.4s ease;
    }

    .qa-answer {
        font-size: 16px;
        line-height: 23px;
    }
    .speakers-posts-grid{
        grid-template-columns: repeat(4, 1fr);
    }
}

