/* Base styles for all DRP components */
.drp-container {
    display: block;
    clear: both;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
}

.drp-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.drp-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.drp-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #f0f0f0;
}

.drp-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.drp-card:hover .drp-card-image img {
    transform: scale(1.05);
}

.drp-card-content {
    padding: 16px;
}

.drp-card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 8px;
}

.drp-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #1a1a1a;
}

.drp-card-title a {
    color: inherit;
    text-decoration: none;
}

.drp-card-title a:hover {
    color: #0073aa;
}

.drp-card-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.drp-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.drp-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: drp-spin 1s linear infinite;
}

@keyframes drp-spin {
    to { transform: rotate(360deg); }
}

.drp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drp-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
}

.drp-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Selector styles */
.drp-selector {
    margin-top: 40px;
}

.drp-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.drp-selector-tabs {
    display: flex;
    gap: 8px;
}

.drp-tab {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drp-tab:hover {
    border-color: #0073aa;
    color: #0073aa;
}

.drp-tab.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}
