/* ===================
   V3 Main Visual
   =================== */
#v3-main-visual {
    overflow: hidden;
    background-color: var(--v3-bg);
    padding-top: 40px;
}

#v3-main-visual .v3-inner {
    display: flex;
    gap: 32px;
}

/* Left: Swiper — height matches right column */
#v3-main-visual .v3-inner {
    align-items: stretch;
}

#v3-main-visual .v3-visual__left {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 0;
    max-height: 500px;
}

#v3-main-visual .v3-main-swiper {
    width: 100%;
    height: 100%;
    border-radius: var(--v3-radius);
    overflow: hidden;
}

#v3-main-visual .v3-main-swiper .swiper-slide {
    position: relative;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s, visibility 1s;
}

#v3-main-visual .v3-main-swiper .swiper-slide-active {
    opacity: 1;
    visibility: visible;
}

#v3-main-visual .v3-main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#v3-main-visual .v3-slide__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px 70px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

#v3-main-visual .v3-slide__overlay h2 {
    font-family: var(--v3-font);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
    color: #fff;
}

#v3-main-visual .v3-slide__overlay p {
    font-family: var(--v3-font-body);
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
}

/* Swiper Controls */
.v3-swiper-control {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: rgba(0,0,0,0.6);
    border-radius: 0 var(--v3-radius) 0 var(--v3-radius);
    color: #fff;
}

.v3-swiper-control button {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
}

.v3-swiper-pagination {
    font-family: var(--v3-font);
    font-size: 14px;
    color: #fff;
}

.v3-swiper-play {
    display: none;
}

/* Right: Cards */
#v3-main-visual .v3-visual__right {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 380px;
    flex-shrink: 0;
}

/* Welcome Card */
.v3-welcome-card {
    padding: 36px 32px;
    background-color: var(--v3-bg-warm);
    border-radius: var(--v3-radius);
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='60' cy='60' r='50' fill='rgba(255,144,1,0.08)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: top -20px right -30px;
}

.v3-welcome-card__text h2 {
    font-family: var(--v3-font);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--v3-text);
    margin-bottom: 12px;
    word-break: keep-all;
}

.v3-welcome-card__text p {
    font-family: var(--v3-font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--v3-text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    word-break: keep-all;
}

/* Quick Grid */
.v3-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex: 1;
}

.v3-quick-grid__group {
    position: relative;
    background-color: var(--v3-bg-section);
    border-radius: var(--v3-radius);
    padding: 40px 16px 16px;
}

.v3-quick-grid__title {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: var(--v3-primary);
    border-radius: var(--v3-radius-pill);
    white-space: nowrap;
}

.v3-quick-grid__title h3 {
    font-family: var(--v3-font);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.v3-quick-grid__group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.v3-quick-grid__group ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    background-color: #fff;
    border-radius: 10px;
    font-family: var(--v3-font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--v3-text-muted);
    text-decoration: none;
    transition: color 0.2s, font-weight 0.2s;
    word-break: keep-all;
}

.v3-quick-grid__group ul li a i {
    font-size: 11px;
    transition: color 0.2s;
}

.v3-quick-grid__group ul li a:hover {
    color: var(--v3-primary);
    font-weight: 600;
}

.v3-quick-grid__group ul li a:hover i {
    color: var(--v3-primary);
}

/* ===================
   Notice Bar
   =================== */
#v3-notice-bar {
    padding: 20px 0;
    border-bottom: 1px solid var(--v3-border);
}

#v3-notice-bar .notice-wrapper {
    gap: 20px;
}

#v3-notice-bar .notice-icon {
    background: var(--v3-primary);
    font-family: var(--v3-font);
}

/* ===================
   Service Icons
   =================== */
#v3-services {
    padding: 140px 0 160px;
    overflow: hidden;
}

#v3-services .v3-section-title {
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
}

.v3-service-list {
    display: flex;
    justify-content: center;
    gap: 60px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.v3-service-list li {
    max-width: 150px;
    width: 100%;
}

.v3-service-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.v3-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--v3-border);
    border-radius: 50px;
    background-color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.v3-service-icon .v3-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    transition: transform 0.3s ease;
}

.v3-service-icon .v3-ico svg {
    width: 100%;
    height: 100%;
}

.v3-service-list li a:hover {
    transform: translateY(-20px);
}

.v3-service-list li a:hover .v3-service-icon {
    border-color: var(--v3-primary);
    background-color: var(--v3-primary-light);
    box-shadow: 0 12px 32px rgba(4, 195, 141, 0.18);
}

.v3-service-list li a:hover .v3-ico {
    transform: scale(1.08);
}

.v3-service-list h3 {
    font-family: var(--v3-font);
    font-size: 18px;
    font-weight: 400;
    color: var(--v3-text-light);
    text-align: center;
    word-break: keep-all;
    transition: color 0.2s, font-weight 0.2s;
}

.v3-service-list li a:hover h3 {
    color: var(--v3-primary);
    font-weight: 600;
}

/* ===================
   Reviews
   =================== */
#v3-reviews {
    padding: 80px 0 100px;
    background-color: var(--v3-bg-section);
}

#v3-reviews .v3-section-title {
    flex-wrap: wrap;
}

.v3-swiper-nav {
    display: flex;
    gap: 8px;
}

.v3-swiper-nav button {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--v3-radius-pill);
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--v3-text);
}

.v3-swiper-nav button:hover {
    background-color: var(--v3-primary);
    color: #fff;
}

/* Reviews override */
#v3-reviews .sy-review-card {
    border: none;
    border-radius: var(--v3-radius-sm);
    box-shadow: var(--v3-shadow);
    padding: 28px;
}

/* Notion-style avatar */
#v3-reviews .sy-review-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

#v3-reviews .sy-review-profile::before {
    content: attr(data-initial);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    font-family: var(--v3-font);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

/* Avatar color rotation */
#v3-reviews .swiper-slide:nth-child(6n+1) .sy-review-profile::before { background-color: #04C38D; }
#v3-reviews .swiper-slide:nth-child(6n+2) .sy-review-profile::before { background-color: #7C5CFC; }
#v3-reviews .swiper-slide:nth-child(6n+3) .sy-review-profile::before { background-color: #37B679; }
#v3-reviews .swiper-slide:nth-child(6n+4) .sy-review-profile::before { background-color: #3B82F6; }
#v3-reviews .swiper-slide:nth-child(6n+5) .sy-review-profile::before { background-color: #F43F5E; }
#v3-reviews .swiper-slide:nth-child(6n+6) .sy-review-profile::before { background-color: #8B5CF6; }

#v3-reviews .sy-profile-name {
    font-family: var(--v3-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--v3-text);
}

#v3-reviews .sy-profile-details {
    font-family: var(--v3-font-body);
    font-size: 13px;
    color: var(--v3-text-muted);
}

#v3-reviews .sy-review-content {
    font-family: var(--v3-font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--v3-text-body);
}

#v3-reviews .sy-reviews-container {
    padding: 0;
    max-width: 100%;
}

#v3-reviews .swiper-slide {
    height: auto;
}

#v3-reviews .sy-review-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#v3-reviews .sy-review-content {
    flex: 1;
}

/* ===================
   Notice (compact)
   =================== */
#v3-notice {
    padding: 80px 0;
}

#v3-notice .sy-notice-grid-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

#v3-notice .sy-notice-grid-wrapper .sy-notice-card {
    background-color: var(--v3-bg-section);
    border-radius: var(--v3-radius-sm);
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

#v3-notice .sy-notice-grid-wrapper .sy-notice-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--v3-shadow);
}

#v3-notice .sy-notice-grid-wrapper .sy-notice-category {
    background-color: var(--v3-primary);
    font-size: 11px;
    padding: 4px 12px;
    margin-bottom: 10px;
}

#v3-notice .sy-notice-grid-wrapper .sy-notice-title {
    font-size: 15px;
    margin-bottom: 8px;
}

#v3-notice .sy-notice-grid-wrapper .sy-notice-content {
    font-size: 13px;
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
}

#v3-notice .sy-notice-grid-wrapper .sy-notice-date {
    font-size: 13px;
}

#v3-notice .sy-notice-grid-wrapper .sy-empty-notice {
    grid-column: span 4;
}

/* ===================
   Live Lecture (inc02 style - separate section)
   =================== */
#v3-live {
    padding: 100px 0;
    background-color: var(--v3-bg-section);
}

.v3-live-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.v3-live-layout__left {
    flex-shrink: 0;
    width: 320px;
    position: sticky;
    top: 120px;
}

.v3-live-layout__right {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.v3-live-header__text h2 {
    font-family: var(--v3-font);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--v3-text);
    word-break: keep-all;
    margin-bottom: 16px;
}

.v3-live-subtitle {
    font-family: var(--v3-font-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--v3-text-light);
    word-break: keep-all;
    margin-bottom: 32px;
}

.v3-live-header__control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Nav arrows */
.v3-live-nav {
    display: flex;
    gap: 6px;
}

.v3-live-nav button {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--v3-radius-pill);
    background-color: var(--v3-bg-section);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--v3-text);
}

.v3-live-nav button:hover {
    background-color: var(--v3-primary);
    color: #fff;
}

/* Slider */
.v3-live-slider {
    overflow: hidden;
}

.v3-live-swiper {
    overflow: visible;
}

/* Live Card */
.v3-live-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: var(--v3-radius-sm);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--v3-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.v3-live-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--v3-shadow-hover);
}

.v3-live-card__thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: var(--v3-bg-section);
}

.v3-live-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.v3-live-card:hover .v3-live-card__thumb img {
    transform: scale(1.05);
}

.v3-live-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--v3-bg-section), var(--v3-border));
}

.v3-live-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}

.v3-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--v3-radius-pill);
    font-family: var(--v3-font);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.v3-badge--live {
    background-color: #e53e3e;
}

.v3-badge--dday {
    background-color: var(--v3-primary);
}

.v3-badge--past {
    background-color: var(--v3-text-muted);
}

.v3-live-card__info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.v3-live-card__cate {
    font-family: var(--v3-font);
    font-size: 12px;
    font-weight: 600;
    color: var(--v3-primary);
}

.v3-live-card__title {
    font-family: var(--v3-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--v3-text);
    line-height: 1.4;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.v3-live-card__date {
    font-family: var(--v3-font-body);
    font-size: 13px;
    color: var(--v3-text-muted);
    margin-top: auto;
}

.v3-live-card--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background-color: var(--v3-bg-section);
}

.v3-live-card--empty p {
    font-family: var(--v3-font-body);
    font-size: 15px;
    color: var(--v3-text-muted);
}

/* ===================
   CTA Section
   =================== */
#v3-cta {
    padding: 0 0 100px;
}

.v3-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.v3-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 36px 32px;
    background-color: var(--v3-bg-section);
    border-radius: var(--v3-radius);
    text-decoration: none;
    transition: all 0.3s ease;
}

.v3-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--v3-shadow-hover);
}

.v3-cta-card--primary {
    background-color: var(--v3-primary);
}

.v3-cta-card--primary .v3-cta-card__text h3,
.v3-cta-card--primary .v3-cta-card__text p {
    color: #fff;
}

.v3-cta-card--primary .v3-cta-card__arrow {
    background-color: rgba(255,255,255,0.25);
    color: #fff;
}

.v3-cta-card__text h3 {
    font-family: var(--v3-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--v3-text);
    margin-bottom: 6px;
}

.v3-cta-card__text p {
    font-family: var(--v3-font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--v3-text-light);
    word-break: keep-all;
}

.v3-cta-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--v3-radius-pill);
    background-color: #fff;
    color: var(--v3-text);
    font-size: 16px;
    transition: all 0.2s;
}

.v3-cta-card:hover .v3-cta-card__arrow {
    background-color: var(--v3-primary);
    color: #fff;
}

.v3-cta-card--primary:hover .v3-cta-card__arrow {
    background-color: #fff;
    color: var(--v3-primary);
}

/* ===================
   Responsive
   =================== */
@media (max-width: 1200px) {
    #v3-main-visual .v3-inner {
        flex-direction: column;
    }

    #v3-main-visual .v3-visual__left {
        height: auto;
    }

    #v3-main-visual .v3-main-swiper,
    #v3-main-visual .v3-main-swiper .swiper-slide {
        height: auto;
        aspect-ratio: 2.4/1;
    }

    #v3-main-visual .v3-visual__right {
        width: 100%;
        flex-direction: row;
        gap: 20px;
    }

    .v3-welcome-card {
        flex: 1;
    }

    .v3-quick-grid {
        flex: 1;
    }
}

@media (max-width: 1024px) {
    #v3-main-visual {
        padding-top: 20px;
    }

    #v3-main-visual .v3-inner {
        gap: 20px;
    }

    #v3-main-visual .v3-slide__overlay h2 {
        font-size: 26px;
    }

    #v3-services {
        padding: 80px 0;
    }

    .v3-service-list {
        gap: 30px;
    }

    .v3-service-list li {
        max-width: 110px;
    }

    .v3-service-icon {
        border-radius: 30px;
    }

    .v3-service-icon svg {
        width: 36px;
        height: 36px;
    }

    .v3-cta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #v3-main-visual {
        padding-top: 15px;
    }

    #v3-main-visual .v3-visual__right {
        flex-direction: column;
    }

    #v3-main-visual .v3-slide__overlay {
        padding: 25px;
    }

    #v3-main-visual .v3-slide__overlay h2 {
        font-size: 22px;
    }

    #v3-main-visual .v3-slide__overlay p {
        font-size: 14px;
    }

    .v3-welcome-card {
        padding: 28px 24px;
    }

    .v3-welcome-card__text h2 {
        font-size: 20px;
    }

    .v3-quick-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #v3-services {
        padding: 60px 0;
    }

    .v3-service-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .v3-service-list li {
        max-width: none;
    }

    .v3-service-icon {
        border-radius: 20px;
    }

    .v3-service-icon svg {
        width: 32px;
        height: 32px;
    }

    .v3-service-list h3 {
        font-size: 14px;
    }

    #v3-reviews {
        padding: 60px 0;
    }

    #v3-notice {
        padding: 50px 0;
    }

    #v3-notice .sy-notice-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    #v3-notice .sy-notice-grid-wrapper .sy-empty-notice {
        grid-column: span 2;
    }

    #v3-live {
        padding: 60px 0;
    }

    .v3-live-layout {
        flex-direction: column;
        gap: 32px;
    }

    .v3-live-layout__left {
        width: 100%;
        position: static;
    }

    .v3-live-header__text h2 {
        font-size: 24px;
    }

    .v3-live-header__control {
        flex-direction: column;
        align-items: flex-start;
    }

    #v3-cta {
        padding: 0 0 60px;
    }

    .v3-cta-card {
        padding: 28px 24px;
    }

    .v3-cta-card__text h3 {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    #v3-main-visual .v3-visual__left {
        height: auto;
    }

    #v3-main-visual .v3-main-swiper,
    #v3-main-visual .v3-main-swiper .swiper-slide {
        height: auto;
        aspect-ratio: 16/9;
    }

    #v3-main-visual .v3-slide__overlay h2 {
        font-size: 20px;
    }

    .v3-service-list {
        gap: 12px;
    }

    .v3-service-list li a {
        gap: 10px;
    }

    .v3-service-list li a:hover {
        transform: none;
    }

    .v3-service-icon {
        min-height: 80px;
        aspect-ratio: unset;
    }

    .v3-service-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 390px) {
    .v3-service-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
