/* Mobile Campus Module Styles */
body {
    background: #f5f5f5;
}
.head-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
}
.head-bar-title {
    font-weight: bold;
    color: #333;
}
.ui-filter {
    background: #fff;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* List Item Styles */
.campus-m-item {
    background: #fff;
    margin: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.campus-m-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.campus-m-thumb {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%; /* 2:1 Aspect Ratio */
    background: #eee;
}
.campus-m-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.campus-m-info {
    padding: 15px;
}
.campus-m-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}
.campus-m-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.campus-m-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    border-top: 1px solid #f9f9f9;
    padding-top: 10px;
}
.campus-m-area {
    background: #f0f7ff;
    color: #0056b3;
    padding: 2px 6px;
    border-radius: 3px;
}
.campus-m-stats span {
    margin-left: 10px;
}
.campus-m-stats i {
    margin-right: 3px;
}

/* Detail Page Styles */
.campus-detail-header {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
}
.campus-detail-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.campus-detail-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    justify-content: space-between;
}
.campus-content {
    background: #fff;
    padding: 15px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}
.campus-content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

/* New Mobile Sections */
.course-m-list {
    background: #fff;
    padding: 0 10px;
}
.course-m-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
}
.course-m-item:last-child {
    border-bottom: none;
}
.course-m-thumb {
    width: 100px;
    height: 75px;
    margin-right: 10px;
    border-radius: 4px;
    overflow: hidden;
}
.course-m-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.course-m-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.course-m-title {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
}
.course-m-price {
    color: #ff4d4f;
    font-weight: bold;
}

.env-m-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    background: #fff;
}
.env-m-grid-item {
    position: relative;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
}
.env-m-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.env-m-grid-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 12px;
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-m-list {
    background: #fff;
    padding: 0 15px;
}
.news-m-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.news-m-list li:last-child {
    border-bottom: none;
}
.news-m-list a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
