/* Base styles for segment page */
body {
    background-color: #f8f9fa;
}

/* Tag and filter styling */
.tag-filter.active {
    background-color: #83A2C3;
    color: white;
}

.coach-filter.active {
    background-color: #FF5E78;
    color: white;
}

/* Spotlight Carousel */
.spotlight-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    grid-gap: 24px;
}

.spotlight-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    transform: rotate(-1deg);
    border: 3px solid var(--accent-color, #83A2C3);
    margin-bottom: 20px;
}

.spotlight-card:hover {
    transform: translateY(-8px) rotate(0);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.spotlight-content {
    padding: 20px;
}

/* Editor's Pick tag */
.editor-tag {
    background-color: #FFD54F;
    color: #333;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
}

/* Main segment grid */
.segment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 24px;
}

.segment-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    transform: rotate(1deg);
    margin-bottom: 20px;
}

.segment-card:nth-child(even) {
    transform: rotate(-1deg);
}

.segment-card:hover {
    transform: translateY(-6px) rotate(0);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.segment-content {
    padding: 20px;
}

/* Coach info styling */
.coach-info {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.coach-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    border: 3px solid transparent;
    padding: 2px;
}

.coach-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid white;
}

.coach-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color, #333);
    margin: 0;
    font-family: 'Quicksand', sans-serif;
}

.segment-title {
    font-size: 14px;
    color: #666;
    margin: 2px 0 0 0;
    font-style: italic;
    font-family: 'Quicksand', sans-serif;
}

/* Spotlight header layout */
.spotlight-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

/* Blurb styling */
.segment-blurb {
    margin-bottom: 16px;
    line-height: 1.6;
    color: #444;
    font-size: 15px;
}

/* Quote styling */
.segment-quote {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-left: 4px solid var(--accent-color, #83A2C3);
    background-color: rgba(131, 162, 195, 0.05);
    border-radius: 0 8px 8px 0;
}

.segment-quote p {
    margin: 0;
    color: #444;
    font-size: 1.1em;
    line-height: 1.4;
}

/* Button and action styling */
.segment-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.listen-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color, #83A2C3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.listen-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.follow-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.follow-btn:hover {
    border-color: var(--accent-color, #83A2C3);
    color: var(--accent-color, #83A2C3);
    background-color: rgba(131, 162, 195, 0.05);
}

/* Tag styling */
.segment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.segment-tag {
    background-color: #f0f0f0;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .spotlight-carousel {
        grid-template-columns: 1fr;
    }
    
    .segment-grid {
        grid-template-columns: 1fr;
    }
}