@charset "utf-8";

/* =============================================
   갤러리 최신글 스킨 (latest) - professor card 스타일
   ============================================= */

/* 섹션 전체 */
.lt-gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.lt-gallery-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 헤더 */
.lt-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    gap: 16px;
    flex-wrap: wrap;
}

.lt-gallery-header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lt-gallery-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a5f3f;
    padding: 4px 12px;
    background: rgba(26, 95, 63, 0.1);
    border-radius: 9999px;
    width: fit-content;
}

.lt-gallery-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0;
    line-height: 1.3;
}

.lt-gallery-desc {
    font-size: 1rem;
    color: #718096;
    margin: 0;
    line-height: 1.6;
}

.lt-gallery-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border: 2px solid #1a5f3f;
    border-radius: 8px;
    color: #1a5f3f;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.lt-gallery-more-btn:hover {
    background: #1a5f3f;
    color: #fff;
    text-decoration: none;
}

/* 그리드 */
.lt-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 1024px) {
    .lt-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .lt-gallery-grid {
        grid-template-columns: 1fr;
    }
    .lt-gallery-title {
        font-size: 1.5rem;
    }
    .lt-gallery-header {
        align-items: flex-start;
    }
}

/* professor-card 스타일 카드 */
.lt-professor-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8f0eb;
}

.lt-professor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13);
    text-decoration: none;
}

/* 이미지 영역 */
.lt-professor-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 70%;
    overflow: hidden;
    background: #e8f0eb;
}

.lt-professor-image img {
    display: block;
    transition: transform 0.4s ease;
}

.lt-professor-card:hover .lt-professor-image img {
    transform: scale(1.05);
}

/* 호버 오버레이 */
.lt-professor-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 95, 63, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, opacity 0.3s ease;
    color: #fff;
    opacity: 0;
}

.lt-professor-card:hover .lt-professor-overlay {
    background: rgba(26, 95, 63, 0.35);
    opacity: 1;
}

/* 텍스트 영역 */
.lt-professor-info {
    padding: 20px 22px 22px;
    border-top: 3px solid #1a5f3f;
}

.lt-professor-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lt-professor-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lt-professor-card:hover .lt-professor-name {
    color: #1a5f3f;
}

.lt-professor-position {
    font-size: 13px;
    color: #718096;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lt-professor-position::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* 빈 목록 */
.lt-gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #a0aec0;
    font-size: 15px;
}