.vision-images-float {
    width: 700px;
    max-height: 400px;
    margin-top: 30px;
    margin-left: 100px;
    overflow: hidden;
}

.vision-images-float img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: block;
}

#history   { scroll-margin-top: 80px; }
#org-chart { scroll-margin-top: 150px; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.content-section {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card {
    padding: 40px;
}

.pt {
    margin-bottom: 30px;
}

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

.vision-header,
.mission-header {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
    position: relative;
    padding-bottom: 10px;
}

.vision-header::after,
.mission-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #1ea311, #0f7905);
    border-radius: 2px;
}

.vision-text,
.mission-text {
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.7;
    color: #1e293b;
    font-style: italic;
    text-align: justify;
}

.history {
    padding: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.history h2 {
    margin-bottom: 25px;
}

.history-article {
    position: relative;
}

.history-campus-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1d610c;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 4px solid #1d610c;
    padding-bottom: 8px;
    display: inline-block;
}

.history-images-float {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.float-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 3px solid #fff;
    outline: 1px solid #d1d5db;
    display: block;
}

.history-text-wrap {
    text-align: justify;
    overflow: hidden;
    column-count: 2;
    column-gap: 2rem;
    column-rule: 1px solid #e5e7eb;
}

.history-text-wrap p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 16px;
    text-indent: 0;
}

.history-text-wrap p:first-of-type::first-letter {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 0.9;
    float: left;
    margin: 5px 8px 0 0;
    color: #1d610c;
}

.history-text-wrap p:last-of-type {
    margin-bottom: 0;
}

.org-chart-section {
    padding: 40px;
}

.org-chart-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #1e293b;
}

.org {
    text-align: center;
}

.org img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.news-sidebar {
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
    background: transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
    flex-shrink: 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.25rem;
}

.news-list::-webkit-scrollbar       { width: 4px; }
.news-list::-webkit-scrollbar-track { background: transparent; }
.news-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
.news-list::-webkit-scrollbar-thumb:hover { background: #ccc; }

.news-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.news-card-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.news-card-content {
    padding: 0.75rem;
}

.news-card-type {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #216c2a;
    margin-bottom: 0.35rem;
}

.news-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-date {
    font-size: 0.7rem;
    color: #999;
}

.no-news {
    text-align: center;
    padding: 30px;
    color: #64748b;
    font-style: italic;
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes loading {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.news-item.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite;
}

@media screen and (max-width: 1200px) {
    .container    { padding: 15px; }
    .main-content { gap: 30px; }
    .card, .history, .org-chart-section { padding: 30px; }
    .news-sidebar { padding: 25px; }
}

@media screen and (max-width: 968px) {
    .main-content { display: flex; flex-direction: column; gap: 30px; }
    .content-section { order: 1; }
    .news-sidebar { order: 2; position: static; margin-top: 30px; padding: 25px; height: auto; }
    .news-list { max-height: 600px; overflow-y: auto; }
    .vision-header, .mission-header { font-size: 1.8rem; }
    .card, .history, .org-chart-section { padding: 25px; }
    .news-sidebar h2 { font-size: 1.4rem; }
}

@media screen and (max-width: 768px) {
    .container { padding: 10px; }
    .card, .history, .org-chart-section { padding: 20px; }
    .news-sidebar { padding: 20px; height: auto; }
    .news-list { max-height: 500px; }
    .vision-header, .mission-header { font-size: 1.6rem; }
    .vision-text, .mission-text, .history p { font-size: 1rem; }
    .history-text-wrap { column-count: 1; column-gap: 1.5rem; column-rule: none; }
    .history-images-float { float: none; width: 100%; margin: 0 0 20px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .history-text-wrap p:first-of-type::first-letter { font-size: 3rem; }
    .news-item { padding: 15px; }
    .news-title { font-size: 0.9rem; }
}

@media screen and (max-width: 480px) {
    .card, .history, .org-chart-section, .news-sidebar { padding: 15px; }
    .news-list { max-height: 400px; }
    .vision-header, .mission-header { font-size: 1.4rem; }
    .org-chart-section h2 { font-size: 1.6rem; }
    .news-sidebar h2 { font-size: 1.3rem; }
    .news-item img { height: 140px; }
}
