/* Company Resource Section styles */

.crs-wrapper {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.crs-column {
    flex: 1 1 30%;
    min-width: 300px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(20, 20, 43, 0.04);
}

.crs-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.crs-column-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.crs-view-all {
    font-size: 13px;
    font-weight: 600;
    color: #7C5CFC;
    text-decoration: none;
    white-space: nowrap;
}
.crs-view-all:hover { text-decoration: underline; }

/* --- List items (White Papers / Case Studies) --- */
.crs-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f2f2f6;
}
.crs-item:last-child { border-bottom: none; }

.crs-item-thumb img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.crs-item-body {
    flex: 1;
    min-width: 0;
}

.crs-item-body h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
    line-height: 1.3;
}

.crs-item-body p {
    font-size: 13px;
    color: #7a7a8c;
    margin: 0;
    line-height: 1.4;
}

.crs-pdf-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #e0562f;
    text-decoration: none;
    white-space: nowrap;
    text-align: left;
}
.crs-pdf-tag small { color: #a0a0ae; font-weight: 500; }
.crs-pdf-icon { font-size: 18px; }

.crs-readmore {
    font-size: 13px;
    font-weight: 600;
    color: #7C5CFC;
    text-decoration: none;
    white-space: nowrap;
    align-self: center;
}
.crs-readmore:hover { text-decoration: underline; }

/* --- Resource Library tile grid --- */
.crs-tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.crs-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    background: #fafafe;
    border: 1px solid #f0f0f5;
    border-radius: 12px;
    padding: 18px 8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.crs-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20,20,43,0.08);
}

.crs-tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px !important;
}

.crs-tile-label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .crs-wrapper { flex-direction: column; }
    .crs-column { flex: 1 1 100%; }
}
@media (max-width: 480px) {
    .crs-tile-grid { grid-template-columns: repeat(2, 1fr); }
}
