.ihk-resources-directory {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.ird-header {
    margin-bottom: 32px;
}

.ird-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.ird-subtitle {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #475569;
    margin: 8px 0 0 0;
}

.ird-filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 32px;
}

.ird-tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1 1 auto;
}

.ird-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border: 1px solid #e5e5e5;
    border-radius: 100px;
    background: #ffffff;
    color: #0a0a0a;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.ird-pill-btn:hover {
    background: #38bdf8;
    color: #ffffff;
    border-color: #38bdf8;
}

.ird-pill-btn.is-active {
    background: #38bdf8;
    color: #ffffff;
    border-color: #38bdf8;
}

.ird-search-container {
    position: relative;
    flex: 0 1 320px;
}

.ird-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.ird-search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    background: #fff;
    box-sizing: border-box;
}

.ird-search-input:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.ird-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.ird-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ird-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.ird-card-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.ird-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ird-card-icon--red { background: #fee2e2; color: #ef4444; }
.ird-card-icon--blue { background: #e0f2fe; color: #0ea5e9; }
.ird-card-icon--green { background: #dcfce7; color: #22c55e; }
.ird-card-icon--purple { background: #f3e8ff; color: #a855f7; }

.ird-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ird-card-company {
    font-weight: 600;
    font-size: 14px;
    color: #334155;
}

.ird-card-fileinfo {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.ird-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #0f172a;
    line-height: 1.4;
}

.ird-card-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.ird-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.ird-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 99px;
}

.ird-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.ird-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: #f8fafc;
    color: #0284c7;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e0f2fe;
}

.ird-download-btn:hover {
    background: #0284c7;
    color: #fff;
    border-color: #0284c7;
}

.ird-load-more-container {
    text-align: center;
    margin-top: 24px;
}

.ird-load-more-btn {
    background: #f1f5f9;
    color: #334155;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.ird-load-more-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.ird-load-more-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.ird-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px;
    background: #f8fafc;
    border-radius: 12px;
    color: #64748b;
    font-size: 15px;
}
