/* 프로그램 안내 페이지 */
.session-block {
    background: rgba(26, 35, 50, 0.6);
    padding: 32px;
    border-radius: 8px;
    margin-bottom: 32px;
}

.session-block:last-child {
    margin-bottom: 0;
}

.session-title-block{
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 12px;
    margin-bottom: 12px;
    
}

h4.session-title{
    font-size: 24px;
    color: var(--accent-orange);
    letter-spacing: -0.3px;
    margin: 0;
}


.program-list {
    display: flex;
    flex-direction: column;
}

/* Program v2 Layout (time | badge, title, speakers) */
.program-item {
    display: grid;
    grid-template-columns: 170px 1fr;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.program-header {
    display: contents;
}

.program-time {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-gray);
    white-space: nowrap;
}

.program-type {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
    margin-bottom: 0;
}

.program-type-keynote          { background: #1F6FFF; color: #fff; }
.program-type-break            { background: rgba(255,255,255,0.25); color: #fff; }
.program-type-closing-remarks  { background: #6B7280; color: #fff; }
.program-type-opening-remarks  { background: #6B7280; color: #fff; }

.program-content {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-auto-rows: min-content;
    row-gap: 6px;
    padding-left: 0;
}

.program-item:has(.program-type) .program-content {
    grid-row: 2;
}

.program-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.program-speaker {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* 프로그램 반응형 (768px 이하) */
@media (max-width: 768px) {
    .session-title {
        font-size: 20px;
        margin-bottom: 16px;
        padding-bottom: 8px;
    }
    
    .session-moderator {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .session-block {
        margin-bottom: 32px;
    }
    
    .program-list {
        gap: 20px;
    }
    
    .program-item {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }
    
    .program-item:has(.program-type) .program-header {
        display: flex;
        flex-direction: column;
        gap: 6px;
        grid-column: 1;
        grid-row: 1;
    }
    
    .program-item:not(:has(.program-type)) .program-header {
        display: contents;
    }
    
    .program-time { 
        font-size: 16px; 
        grid-column: 1;
        grid-row: 1;
    }
    
    .program-item:has(.program-type) .program-time {
        order: 1;
        grid-column: auto;
        grid-row: auto;
    }
    
    .program-type { 
        display: inline-block !important;
        align-self: flex-start;
        margin: 0;
    }
    
    .program-item:has(.program-type) .program-type {
        order: 2;
    }
    
    .program-item:has(.program-type) .program-content {
        grid-row: 2 !important;
        grid-column: 1 !important;
    }
    
    .program-item:not(:has(.program-type)) .program-content {
        grid-row: 2 !important;
        grid-column: 1 !important;
    }
    
    .program-content { 
        grid-column: 1; 
        grid-row: 2; 
    }
    
    .program-title { 
        font-size: 18px; 
    }
    
    .program-speaker {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    /* 프로그램 반응형 */
    .session-title {
        font-size: 18px;
        margin-bottom: 12px;
        padding-bottom: 6px;
    }
    
    .session-moderator {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .session-block {
        margin-bottom: 24px;
    }
    
    .program-list {
        gap: 16px;
    }
    
    .program-item {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }
    
    .program-item:has(.program-type) .program-header {
        display: flex;
        flex-direction: column;
        gap: 6px;
        grid-column: 1;
        grid-row: 1;
    }
    
    .program-item:not(:has(.program-type)) .program-header {
        display: contents;
    }
    
    .program-time { 
        font-size: 15px; 
        grid-column: 1;
        grid-row: 1;
    }
    
    .program-item:has(.program-type) .program-time {
        order: 1;
        grid-column: auto;
        grid-row: auto;
    }
    
    .program-type { 
        display: inline-block !important;
        align-self: flex-start;
        margin: 0;
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .program-item:has(.program-type) .program-type {
        order: 2;
    }
    
    .program-item:has(.program-type) .program-content {
        grid-row: 2 !important;
        grid-column: 1 !important;
    }
    
    .program-item:not(:has(.program-type)) .program-content {
        grid-row: 2 !important;
        grid-column: 1 !important;
    }
    
    .program-content { 
        grid-column: 1; 
        grid-row: 2; 
    }
    
    .program-title { 
        font-size: 16px; 
    }
    
    .program-speaker {
        font-size: 14px;
    }

}