.rl-6ff-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #0b0c10;
    color: #c5c6c7;
    padding: 30px;
    border-radius: 12px;
}

/* Search Bar */
.rl-6ff-search-wrapper {
    position: relative;
    margin-bottom: 30px;
}
.rl-6ff-search-input {
    width: 100%;
    height: 60px;
    background-color: #1f2833;
    border: 1px solid #45f3ff;
    border-radius: 30px;
    padding: 0 25px 0 55px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}
.rl-6ff-search-input:focus {
    box-shadow: 0 0 15px rgba(69, 243, 255, 0.3);
}
.rl-6ff-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}
.rl-6ff-search-icon svg {
    fill: #45f3ff;
}

/* Horizontal Filter Tabs */
.rl-6ff-tabs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.rl-6ff-tab-btn {
    background-color: #1f2833;
    color: #c5c6c7;
    border: 1px solid #c5c6c7;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.rl-6ff-tab-btn:hover,
.rl-6ff-tab-btn.active {
    background-color: #45f3ff;
    color: #0b0c10;
    border-color: #45f3ff;
}
.rl-6ff-count {
    background-color: rgba(255, 255, 255, 0.15);
    color: inherit;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}
.rl-6ff-tab-btn.active .rl-6ff-count {
    background-color: rgba(0, 0, 0, 0.15);
}

/* Resource Items List */
.rl-6ff-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.rl-6ff-item {
    background-color: #12141c;
    border-bottom: 1px solid #1f2833;
    padding: 24px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rl-6ff-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.rl-6ff-item-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}
.rl-6ff-item-content {
    flex: 1;
    min-width: 280px;
}
.rl-6ff-item-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.rl-6ff-featured-badge {
    font-size: 11px;
    text-transform: uppercase;
    background-color: #45f3ff;
    color: #0b0c10;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    font-weight: bold;
}
.rl-6ff-item-meta {
    font-size: 13px;
    color: #8b949e;
    margin-bottom: 12px;
}
.rl-6ff-meta-sep {
    margin: 0 6px;
    color: #30363d;
}
.rl-6ff-item-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #c5c6c7;
    margin: 0;
}

/* Structured Profile Styling */
.rl-6ff-structured-profile {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.rl-6ff-profile-header {
    margin-bottom: 20px;
}
.rl-6ff-profile-date {
    font-size: 13px;
    color: #c39b62; /* Golden/Bronze */
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
}
.rl-6ff-profile-name {
    font-size: 26px;
    color: #e5c185; /* Soft bright gold/serif feel */
    margin: 0 0 6px 0;
    font-family: Georgia, serif;
    font-weight: 500;
}
.rl-6ff-profile-country {
    font-size: 13px;
    font-style: italic;
    color: #8b949e;
}

.rl-6ff-profile-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rl-6ff-section-label {
    font-size: 12px;
    color: #c39b62; /* Golden/Bronze label */
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    font-weight: 700;
}
.rl-6ff-bio-text,
.rl-6ff-contrib-text {
    font-size: 15px;
    line-height: 1.6;
    color: #c5c6c7;
}
.rl-6ff-bio-text p,
.rl-6ff-contrib-text p {
    margin: 0 0 10px 0;
}
.rl-6ff-bio-text p:last-child,
.rl-6ff-contrib-text p:last-child {
    margin-bottom: 0;
}

.rl-6ff-contrib-section {
    position: relative;
    padding: 16px 20px;
    background-color: rgba(195, 155, 98, 0.04);
    border-left: 3px solid #c39b62;
    border-radius: 0 8px 8px 0;
}
.rl-6ff-contrib-section.has-quote {
    padding-left: 50px;
}
.rl-6ff-quote-icon {
    position: absolute;
    left: 12px;
    top: 12px;
    color: rgba(195, 155, 98, 0.15);
    pointer-events: none;
}

/* Buttons */
.rl-6ff-item-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.rl-6ff-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.rl-6ff-btn-download {
    background-color: #1f2833;
    color: #45f3ff;
    border: 1px solid #45f3ff;
}
.rl-6ff-btn-download:hover {
    background-color: #45f3ff;
    color: #0b0c10;
}
.rl-6ff-btn-download svg {
    fill: currentColor;
}
.rl-6ff-btn-link {
    background-color: transparent;
    color: #8b949e;
    border: 1px solid #30363d;
}
.rl-6ff-btn-link:hover {
    color: #ffffff;
    border-color: #8b949e;
}
.rl-6ff-btn-link svg {
    fill: currentColor;
}

@media (max-width: 768px) {
    .rl-6ff-item-inner {
        flex-direction: column;
    }
    .rl-6ff-item-actions {
        width: 100%;
        margin-top: 15px;
    }
}
