/*
 * TURKONFED Content Highlights Section
 * Publications, Newsletters, Media Showcase
 * Unified dark-navy (#1a1a2e) accent
 */

/* ============================================
   CONTENT HIGHLIGHTS SECTION
   ============================================ */

.content-highlights {
    position: relative;
    padding: clamp(4rem, 8vw, 8rem) 0;
    background: #ffffff;
    overflow: hidden;
}

.content-highlights-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 3rem);
}

/* Section Header */
.content-highlights-header {
    text-align: center;
    margin-bottom: 4rem;
}

.content-highlights-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1a1a2e;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.content-highlights-label svg {
    width: 14px;
    height: 14px;
}

.content-highlights-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.content-highlights-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(26, 26, 46, 0.7);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   THREE COLUMN GRID
   ============================================ */

.content-highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .content-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .content-highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   CONTENT CARD (Shared Styles)
   ============================================ */

.content-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.content-card-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-card-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #1a1a2e;
    color: #ffffff;
}

.content-card-icon svg {
    width: 20px;
    height: 20px;
}

.content-card-type {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.content-card-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(26, 26, 46, 0.5);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s ease;
}

.content-card-link:hover {
    color: #1a1a2e;
}

.content-card-link svg {
    width: 14px;
    height: 14px;
}

.content-card-body {
    flex: 1;
    padding: 1.25rem 1.5rem;
}

/* ============================================
   PUBLICATION ITEMS
   ============================================ */

.publication-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.2s ease;
}

.publication-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.publication-item:first-child {
    padding-top: 0;
}

.publication-item:hover {
    transform: translateX(4px);
}

.publication-item:hover .publication-title {
    color: #1a1a2e;
}

.publication-cover {
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.publication-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.publication-info {
    flex: 1;
    min-width: 0;
}

.publication-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: #1a1a2e;
    background: rgba(26, 26, 46, 0.06);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.content-highlights .publication-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
    margin-bottom: 0.375rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.publication-meta {
    font-size: 0.75rem;
    color: rgba(26, 26, 46, 0.5);
}

/* ============================================
   NEWSLETTER ITEMS
   ============================================ */

.newsletter-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.newsletter-item:last-child {
    margin-bottom: 0;
}

.newsletter-item:hover {
    background: rgba(26, 26, 46, 0.06);
    transform: translateX(4px);
}

.newsletter-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 46, 0.06);
    border-radius: 10px;
    color: #1a1a2e;
    flex-shrink: 0;
}

.newsletter-icon svg {
    width: 22px;
    height: 22px;
}

.newsletter-info {
    flex: 1;
    min-width: 0;
}

.content-highlights .newsletter-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.newsletter-meta {
    font-size: 0.75rem;
    color: rgba(26, 26, 46, 0.5);
}

.newsletter-arrow {
    width: 20px;
    height: 20px;
    color: rgba(26, 26, 46, 0.3);
    transition: all 0.2s ease;
}

.newsletter-item:hover .newsletter-arrow {
    color: #1a1a2e;
    transform: translateX(4px);
}

/* ============================================
   MEDIA ITEMS
   ============================================ */

.media-featured {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 16/9;
}

.media-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 40%, transparent 70%);
}

.media-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: #1a1a2e;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.media-play-btn svg {
    width: 24px;
    height: 24px;
    margin-left: 2px;
}

.content-card:hover .media-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: #ffffff;
}

.media-featured-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: #ffffff;
}

.content-highlights .media-featured-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.media-featured-meta {
    font-size: 0.75rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.media-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.media-thumbnail {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-thumbnail:hover img {
    transform: scale(1.1);
}

.media-thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.media-thumbnail:hover .media-thumbnail-overlay {
    opacity: 1;
}

.media-thumbnail-overlay svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

/* ============================================
   CARD FOOTER
   ============================================ */

.content-card-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.content-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    background: #1a1a2e;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.content-card-cta:hover {
    background: #2a2a3e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 26, 46, 0.25);
}

.content-card-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.content-card-cta:hover svg {
    transform: translateX(4px);
}

/* ============================================
   QUICK LINKS (Press card bottom links)
   ============================================ */

.ch-quick-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ch-quick-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 0.75rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s ease;
}

.ch-quick-link:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.ch-quick-link svg {
    width: 14px;
    height: 14px;
    color: #6b7280;
    flex-shrink: 0;
}

.ch-quick-count {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1a1a2e;
    background: rgba(26, 26, 46, 0.08);
    padding: 0.125rem 0.375rem;
    border-radius: 100px;
}

/* CTA count badge */
.ch-cta-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Gallery thumbnail count */
.media-thumb-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .content-highlights {
        padding: clamp(3rem, 6vw, 5rem) 0;
    }

    .content-highlights-header {
        margin-bottom: 2.5rem;
    }

    .content-card-header {
        padding: 1.25rem 1.25rem 1rem;
    }

    .content-card-body {
        padding: 1rem 1.25rem;
    }

    .content-card-footer {
        padding: 1rem 1.25rem 1.25rem;
    }

    .publication-cover {
        width: 50px;
        height: 65px;
    }

    .ch-quick-links {
        flex-direction: column;
    }

    .ch-quick-link span:not(.ch-quick-count) {
        font-size: 0.7rem;
    }
}
