@charset "utf-8";

/* ========================== 강사 프로필 페이지 ========================== */
.teacher_profile_wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* 프로필 히어로 섹션 */
.profile_hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.profile_container {
    display: flex;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.profile_image_box {
    position: relative;
    flex-shrink: 0;
}

.profile_image {
    width: 380px;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}

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

.profile_badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #111;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile_intro {
    flex: 1;
}

.teacher_name {
    font-size: 48px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
    line-height: 1.2;
}

.teacher_name .title {
    display: inline-block;
    margin-left: 15px;
    font-size: 22px;
    font-weight: 500;
    color: #666;
    padding: 8px 20px;
    background: #f8f9fa;
    border-radius: 30px;
}

.teacher_quote {
    position: relative;
    font-size: 22px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 50px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 5px solid #111;
    white-space: pre-line;
    font-style: italic;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.teacher_quote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 60px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.1);
    font-family: Georgia, serif;
}

.profile_summary {
    display: flex;
    gap: 40px;
}

.summary_item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.summary_item i {
    color: #111;
    width: 24px;
    height: 24px;
}

.summary_item div {
    display: flex;
    flex-direction: column;
}

.summary_item strong {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    line-height: 1;
    font-family: var(--e-font);
}

.summary_item span {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
}

/* 공통 섹션 스타일 */
.info_section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info_section + .info_section {
    border-top: 1px solid #eee;
}

.section_header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.section_header i {
    color: #111;
    width: 32px;
    height: 32px;
}

.section_header h3 {
    font-size: 36px;
    font-weight: 700;
    color: #111;
}

/* 타임라인 스타일 */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, #111 0%, #ddd 100%);
}

.timeline_item {
    position: relative;
    margin-bottom: 50px;
}

.timeline_item:last-child {
    margin-bottom: 0;
}

.timeline_dot {
    position: absolute;
    left: -46px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #111;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px #111;
}

.timeline_content {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s;
}

.timeline_content:hover {
    background: #f0f2f5;
    transform: translateX(5px);
}

.timeline_content .year {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #111;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-family: var(--e-font);
}

.timeline_content h4 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
}

.timeline_content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 자격증 그리드 */
.cert_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cert_card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
}

.cert_card:hover {
    border-color: #111;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cert_icon {
    margin-bottom: 20px;
}

.cert_icon i {
    color: #111;
    width: 48px;
    height: 48px;
}

.cert_card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.cert_card p {
    font-size: 15px;
    color: #888;
}

/* 활동 리스트 */
.activity_list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.activity_item {
    display: flex;
    gap: 30px;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    transition: all 0.3s;
}

.activity_item:hover {
    background: #f0f2f5;
    transform: translateX(5px);
}

.activity_icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #111;
    border-radius: 15px;
}

.activity_icon i {
    color: #fff;
    width: 32px;
    height: 32px;
}

.activity_content {
    flex: 1;
}

.activity_content h4 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

.activity_content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity_content ul li {
    font-size: 16px;
    color: #555;
    line-height: 2;
    padding-left: 20px;
    position: relative;
}

.activity_content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #111;
    font-weight: 700;
}

/* 저자 소개 메시지 섹션 */
.author_intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 80px 40px !important;
}

.author_message {
    max-width: 100%;
}

.message_box {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    
}

.message_box p {
    font-size: 17px;
    line-height: 2;
    color: #444;
    margin-bottom: 25px;
    text-align: justify;
    word-break: keep-all;
}

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

.message_box p.highlight {
    font-size: 19px;
    font-weight: 600;
    color: #111;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 10px;
    margin-top: 35px;
    text-align: center;
}

/* 반응형 [s] */
@media (max-width: 1380px) {
    .profile_container {
        gap: 60px;
        padding: 0 30px;
    }

    .profile_image {
        width: 340px;
        height: 430px;
    }

    .teacher_name {
        font-size: 42px;
    }

    .teacher_quote {
        font-size: 20px;
    }

    .section_header h3 {
        font-size: 32px;
    }

    .info_section {
        padding: 90px 30px;
    }
}

@media (max-width: 1024px) {
    .profile_container {
        flex-direction: column;
        gap: 50px;
        padding: 0 20px;
    }

    .profile_image_box {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .profile_image {
        width: 300px;
        height: 380px;
    }

    .profile_badge {
        bottom: -15px;
        right: 50%;
        transform: translateX(50%);
    }

    .profile_intro {
        text-align: center;
    }

    .teacher_name {
        font-size: 36px;
    }

    .teacher_name .title {
        display: block;
        margin: 15px auto 0;
        width: fit-content;
    }

    .teacher_quote {
        font-size: 18px;
        margin-bottom: 40px;
        padding: 25px 25px;
    }

    .teacher_quote::before {
        font-size: 50px;
    }

    .profile_summary {
        justify-content: center;
        gap: 30px;
    }

    .section_header h3 {
        font-size: 28px;
    }

    .info_section {
        padding: 80px 20px;
    }

    .cert_grid {
        gap: 20px;
    }

    .activity_item {
        padding: 30px;
    }

    .author_intro {
        padding: 60px 20px !important;
    }

    .message_box {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .profile_hero {
        padding: 70px 0;
    }

    .profile_image {
        width: 260px;
        height: 330px;
    }

    .profile_badge {
        padding: 12px 25px;
        font-size: 14px;
    }

    .teacher_name {
        font-size: 32px;
    }

    .teacher_name .title {
        font-size: 18px;
        padding: 6px 18px;
    }

    .teacher_quote {
        font-size: 17px;
        margin-bottom: 35px;
    }

    .profile_summary {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .summary_item strong {
        font-size: 28px;
    }

    .section_header {
        margin-bottom: 50px;
    }

    .section_header h3 {
        font-size: 26px;
    }

    .info_section {
        padding: 70px 20px;
    }

    .timeline {
        padding-left: 35px;
    }

    .timeline_dot {
        left: -41px;
    }

    .timeline_content {
        padding: 25px;
    }

    .timeline_content h4 {
        font-size: 20px;
    }

    .cert_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cert_card {
        padding: 35px 25px;
    }

    .activity_item {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }

    .activity_icon {
        margin: 0 auto;
    }

    .activity_content {
        text-align: center;
    }

    .activity_content h4 {
        font-size: 22px;
    }

    .activity_content ul li {
        text-align: left;
    }

    .message_box {
        padding: 35px 25px;
    }

    .message_box p {
        font-size: 16px;
        line-height: 1.9;
    }

    .message_box p.highlight {
        font-size: 17px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .profile_hero {
        padding: 60px 0;
    }

    .profile_container {
        padding: 0 15px;
    }

    .profile_image {
        width: 220px;
        height: 280px;
    }

    .profile_badge {
        padding: 10px 20px;
        font-size: 13px;
        bottom: -12px;
    }

    .teacher_name {
        font-size: 28px;
    }

    .teacher_name .title {
        font-size: 16px;
        padding: 5px 15px;
        margin-top: 12px;
    }

    .teacher_quote {
        font-size: 16px;
        margin-bottom: 30px;
        padding-top: 15px;
    }

    .summary_item strong {
        font-size: 26px;
    }

    .summary_item span {
        font-size: 13px;
    }

    .section_header {
        gap: 12px;
        margin-bottom: 40px;
    }

    .section_header i {
        width: 28px;
        height: 28px;
    }

    .section_header h3 {
        font-size: 24px;
    }

    .info_section {
        padding: 60px 15px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline_dot {
        left: -36px;
        width: 12px;
        height: 12px;
    }

    .timeline_content {
        padding: 20px;
    }

    .timeline_content .year {
        font-size: 13px;
        padding: 5px 14px;
    }

    .timeline_content h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .timeline_content p {
        font-size: 15px;
    }

    .cert_card {
        padding: 30px 20px;
    }

    .cert_icon i {
        width: 42px;
        height: 42px;
    }

    .cert_card h4 {
        font-size: 18px;
    }

    .cert_card p {
        font-size: 14px;
    }

    .activity_item {
        padding: 20px;
        gap: 18px;
    }

    .activity_icon {
        width: 60px;
        height: 60px;
    }

    .activity_icon i {
        width: 28px;
        height: 28px;
    }

    .activity_content h4 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .activity_content ul li {
        font-size: 15px;
        line-height: 1.8;
    }

    .message_box {
        padding: 25px 20px;
    }

    .message_box p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    .message_box p.highlight {
        font-size: 16px;
        padding: 18px;
        margin-top: 25px;
    }
}

@media (max-width: 380px) {
    .profile_hero {
        padding: 50px 0;
    }

    .profile_image {
        width: 200px;
        height: 250px;
        border-radius: 15px;
    }

    .profile_badge {
        padding: 8px 18px;
        font-size: 12px;
    }

    .teacher_name {
        font-size: 25px;
    }

    .teacher_name .title {
        font-size: 15px;
    }

    .teacher_quote {
        font-size: 15px;
    }

    .summary_item strong {
        font-size: 24px;
    }

    .section_header h3 {
        font-size: 22px;
    }

    .info_section {
        padding: 50px 15px;
    }

    .timeline_content h4 {
        font-size: 17px;
    }

    .timeline_content p {
        font-size: 14px;
    }

    .cert_card h4 {
        font-size: 17px;
    }

    .activity_content h4 {
        font-size: 19px;
    }

    .activity_content ul li {
        font-size: 14px;
    }
}

/* 저서 섹션 */
.book_section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 80px 40px !important;
}

.book_container {
    max-width: 100%;
}

.book_item {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.book_item:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.book_image {
    flex-shrink: 0;
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #f0f0f0;
}

.book_image img {
    width: 100%;
    height: auto;
    display: block;
}

.book_info {
    flex: 1;
}

.book_title {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    line-height: 1.3;
}

.book_subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
    font-weight: 500;
}

.book_description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    word-break: keep-all;
}

.book_features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.book_features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #444;
}

.book_features li i {
    color: #111;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.book_actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.book_buy_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #111;
    border: 2px solid #111;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.book_buy_btn:hover {
    background: transparent;
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.book_buy_btn i {
    width: 16px;
    height: 16px;
}

.book_buy_btn.yes24 {
    background: #ff6b00;
    border-color: #ff6b00;
}

.book_buy_btn.yes24:hover {
    background: transparent;
    color: #ff6b00;
}

.book_buy_btn.aladin {
    background: #1976d2;
    border-color: #1976d2;
}

.book_buy_btn.aladin:hover {
    background: transparent;
    color: #1976d2;
}

.book_buy_btn.kyobo {
    background: #004B87;
    border-color: #004B87;
}

.book_buy_btn.kyobo:hover {
    background: transparent;
    color: #004B87;
}

/* 저서 섹션 반응형 */
@media (max-width: 1024px) {
    .book_section {
        padding: 60px 20px !important;
    }

    .book_item {
        flex-direction: column;
        gap: 40px;
        padding: 40px 30px;
    }

    .book_image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .book_info {
        text-align: center;
    }

    .book_features {
        grid-template-columns: 1fr;
    }

    .book_features li {
        justify-content: center;
    }

    .book_actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .book_title {
        font-size: 28px;
    }

    .book_subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .book_description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .book_item {
        padding: 35px 25px;
        gap: 35px;
    }

    .book_image {
        max-width: 300px;
    }

    .book_features {
        gap: 12px;
    }

    .book_features li {
        font-size: 14px;
    }

    .book_actions {
        flex-direction: column;
        width: 100%;
    }

    .book_buy_btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .book_section {
        padding: 50px 15px !important;
    }

    .book_item {
        padding: 25px 20px;
        gap: 30px;
    }

    .book_image {
        max-width: 250px;
    }

    .book_title {
        font-size: 24px;
    }

    .book_subtitle {
        font-size: 15px;
    }

    .book_description {
        font-size: 14px;
        line-height: 1.7;
    }

    .book_features li {
        font-size: 13px;
    }

    .book_buy_btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .book_item {
        padding: 20px 15px;
    }

    .book_image {
        max-width: 220px;
    }

    .book_title {
        font-size: 22px;
    }

    .book_subtitle {
        font-size: 14px;
    }
}
/* 반응형 [e] */