/* =========================================
   HOME PAGE
   ========================================= */

/* Container base */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.home-main-content {
    padding: 0 0 2rem 0;
}

.home-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-box-border);
    padding-bottom: 0.5rem;
}

.section-title {
    font-size: 1.5rem;
    margin: 0;
    color: #0f172a;
}

.section-link {
    font-size: 0.9rem;
    color: var(--color-secondary, #0066cc);
    text-decoration: none;
    font-weight: 600;
}

.section-link:hover {
    text-decoration: underline;
}

.no-content-msg {
    color: #64748b;
    font-style: italic;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 6px;
    text-align: center;
}

/* 1. Destaque Culturando */
/* .featured-culturando-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.featured-culturando-media {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
}

.featured-culturando-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 3rem;
    border-radius: 0;
    transition: background 0.2s;
}

.featured-culturando-media:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.featured-culturando-text {
    padding: 1.5rem;
}

.section-tag {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.featured-culturando-text h2 {
    font-size: 1.8rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
}

.featured-culturando-text h2 a {
    color: #0f172a;
    text-decoration: none;
}

.section-excerpt {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.6;
} */

.btn-read-more {
    display: inline-block;
    color: var(--color-secondary, #0066cc);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.btn-read-more:hover {
    border-bottom-color: var(--color-secondary, #0066cc);
}

/* 2. Eventos da Semana */
/* .events-week-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.event-week-card {
    background: #fff;
    border: 1px solid var(--color-box-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.event-week-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.event-week-link {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.event-week-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary, #0066cc);
    color: #fff;
    padding: 1rem;
    min-width: 70px;
    text-align: center;
}

.event-week-date .day {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.event-week-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 0.2rem;
}

.event-week-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
}

.event-week-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: #0f172a;
    line-height: 1.3;
}

.event-week-location,
.event-week-time {
    font-size: 0.85rem;
    color: #64748b;
} */

/* 4. Últimos Posts */
.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.latest-post-card {
    background: #fff;
    border: 1px solid var(--color-box-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.latest-post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.latest-post-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.latest-post-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.latest-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.latest-post-card:hover .latest-post-thumb img {
    transform: scale(1.03);
}

.latest-post-content {
    padding: 1rem;
}

.latest-post-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.latest-post-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #64748b;
}

.post-cat {
    background: #f1f5f9;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 500;
}

/* Responsivo Home */
/* @media (max-width: 768px) {
    .featured-culturando-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-culturando-text {
        padding: 1.25rem;
    }
    
    .featured-culturando-text h2 {
        font-size: 1.4rem;
    }
    
    .events-week-grid,
    .latest-posts-grid {
        grid-template-columns: 1fr;
    }
} */


/* =========================================
   HOME: Grid de Destaques (3 colunas)
   ========================================= */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.highlight-card {
    background: #fff;
    border: 1px solid var(--color-box-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.highlight-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.highlight-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.highlight-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.highlight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.highlight-card:hover .highlight-thumb img {
    transform: scale(1.03);
}

.play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.highlight-content {
    padding: 1rem;
}

.highlight-label {
    display: inline-block;
    background: var(--color-secondary);
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.highlight-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.highlight-excerpt {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.5;
}

.highlight-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    text-align: center;
    background: var(--color-bg-dark);
}

/* =========================================
   HOME: Instagram Placeholder
   ========================================= */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.instagram-placeholder-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: var(--color-bg-dark);
    border-radius: 8px;
    color: var(--color-muted);
}

.instagram-placeholder-msg .small {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* =========================================
   HOME: Links Úteis
   ========================================= */
.useful-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-category h4 {
    font-size: 1.1rem;
    margin: 0 0 0.75rem 0;
    color: var(--color-dark-grey);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
}

.link-category ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.link-category li {
    margin-bottom: 0.5rem;
}

.link-category a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.link-category a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* =========================================
   RESPONSIVO
   ========================================= */
@media (max-width: 960px) {
    .highlights-grid,
    .useful-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .highlights-grid,
    .useful-links-grid,
    .latest-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-thumb {
        aspect-ratio: 16/9;
    }
    
    .instagram-placeholder-msg {
        padding: 1.5rem;
    }
}