RMO-Front/src/pages/Company.css

148 lines
2.3 KiB
CSS

.hero-section {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: var(--white);
padding: 100px 0 60px;
text-align: center;
}
.hero-section .section-title {
color: var(--white);
}
.hero-section .section-subtitle {
color: rgba(255, 255, 255, 0.9);
}
.company-intro {
margin-bottom: 40px;
}
.company-intro h2 {
font-size: 28px;
margin-bottom: 20px;
color: var(--primary-color);
}
.company-intro h3 {
font-size: 22px;
margin: 30px 0 15px;
color: var(--text-color);
}
.company-intro p {
font-size: 16px;
line-height: 1.8;
color: var(--text-color);
margin-bottom: 20px;
}
.advantage-list {
list-style: none;
padding: 0;
}
.advantage-list li {
padding: 12px 0;
font-size: 16px;
color: var(--text-color);
}
.advantage-list a {
color: var(--primary-color);
text-decoration: none;
}
.advantage-list a:hover {
text-decoration: underline;
}
.activity-section {
background: var(--bg-color);
}
.activity-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
}
.activity-card {
position: relative;
}
.activity-date {
position: absolute;
top: -15px;
right: 20px;
background: var(--primary-color);
color: var(--white);
padding: 8px 15px;
border-radius: 20px;
font-size: 14px;
font-weight: 600;
}
.activity-card h3 {
font-size: 20px;
margin-bottom: 15px;
color: var(--text-color);
}
.activity-card p {
font-size: 14px;
color: var(--text-light);
line-height: 1.6;
}
.resource-section {
background: var(--white);
}
.resource-tabs {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.resource-category {
background: var(--bg-color);
padding: 30px;
border-radius: 8px;
}
.resource-category h3 {
font-size: 20px;
margin-bottom: 20px;
color: var(--primary-color);
}
.resource-list {
list-style: none;
padding: 0;
}
.resource-list li {
padding: 10px 0;
font-size: 15px;
color: var(--text-color);
border-bottom: 1px solid var(--border-color);
cursor: pointer;
transition: color 0.3s ease;
}
.resource-list li:hover {
color: var(--primary-color);
}
.resource-list li:last-child {
border-bottom: none;
}
@media (max-width: 768px) {
.activity-grid,
.resource-tabs {
grid-template-columns: 1fr;
}
}