.hero-news-panel {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.hero-news-panel h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-news-panel .view-all {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: normal;
}

.h-news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.h-news-item {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.h-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.h-news-date {
    display: block;
    font-size: 0.72rem;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.h-news-title a {
    font-size: 0.88rem;
    color: var(--dark);
    line-height: 1.4;
    transition: color 0.2s;
}

.h-news-title a:hover {
    color: var(--orange);
}

/* 甄選說明會專屬樣式 */
.session-container {
    max-width: 760px;
    margin: 2rem auto;
}

.session-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.session-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.6rem;
    background: #fff;
    border: 1px solid #e8ddd5;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.session-item:hover {
    border-color: #e8621a;
    background: #fffcf9;
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(232, 98, 26, 0.12);
}

.session-info {
    font-size: 1rem;
    font-weight: 600;
    color: #2c2c2c;
    letter-spacing: 0.01em;
}

.session-action {
    color: #e8621a;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    margin-left: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.session-item:hover .session-action {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .hero-school .container {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .hero-news-panel {
        width: 100% !important;
        max-width: none !important;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .card {
        padding: 1.25rem !important;
    }

    .card-icon {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .card h3 {
        font-size: 0.95rem !important;
    }

    .card p {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
    }

    /* Session List Refinement */
    .session-list {
        gap: 0 !important;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #eee;
    }

    .session-item {
        border: none !important;
        border-bottom: 1px solid #eee !important;
        border-radius: 0 !important;
        padding: 1.25rem 1rem !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .session-item:last-child {
        border-bottom: none !important;
    }

    .session-item:hover {
        background: #fdf8f4 !important;
        transform: none !important;
    }

    .session-info {
        font-size: 0.95rem !important;
    }

    .session-action {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 600px) {
    .session-item {
        padding: 1rem 1.15rem;
    }

    .session-info {
        font-size: 0.88rem;
    }

    .session-action {
        font-size: 0.82rem;
        margin-left: 0.5rem;
    }
}

/* Success Stories Slider */
.stories-slider-outer {
    position: relative;
    padding: 0 10px;
}

.stories-slider-container {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.stories-slider-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding: 1rem 0;
    margin-bottom: -1rem;
    /* Offset padding */
}

.stories-slider-track::-webkit-scrollbar {
    display: none;
}

.story-card {
    flex: 0 0 calc(33.333% - 1rem);
    scroll-snap-align: start;
    background: #fff;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.story-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(232, 98, 26, 0.08);
}

.story-card img {
    margin-bottom: 1.25rem;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: var(--radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.story-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.story-school {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.15rem;
}

.story-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
}

.story-text {
    font-size: 0.92rem;
    color: #555;
    margin-top: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--dark);
}

.slider-arrow:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    box-shadow: 0 6px 15px rgba(232, 98, 26, 0.2);
}

.arrow-prev {
    left: -22px;
}

.arrow-next {
    right: -22px;
}

@media (max-width: 1100px) {
    .story-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .slider-arrow {
        display: none;
        /* Hide arrows on touch devices usually */
    }

    .stories-slider-outer {
        padding: 0;
    }

    .story-card {
        flex: 0 0 85%;
        /* Reveal next card slightly */
    }

    .story-card:hover {
        transform: none;
    }
}
