/* Messages Page Specific Styles */

/* Hero Section */
.messages-hero {
    min-height: 450px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    min-height: 450px;
}

.hero-image-section {
    position: relative;
    background-size: cover;
    background-position: 50% 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 20px;
    background-color: #242424;
}

.hero-title {
    color: #fff;
    font-size: 70px;
    font-weight: 900;
    margin: 0;
    margin-bottom: 20px;
    text-align: center;
}

.hero-logo {
    width: 141px;
    max-width: 100%;
    height: auto;
}

.hero-text-section {
    background-color: #508fae;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 76px;
}

.hero-text-section h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 15px;
}

/* Podcast Embed Section */
.podcast-section {
    background-color: #fff;
    padding: 40px 20px;
}

.podcast-embed {
    max-width: 1200px;
    margin: 0 auto;
}

/* Recent Messages Section */
.recent-messages {
    background-color: #f7f7f7;
    padding: 60px 20px;
}

.recent-messages h2 {
    font-size: 36px;
    font-weight: 900;
    color: #242424;
    text-align: center;
    margin-bottom: 40px;
}

.messages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.message-card {
    background-color: #fff;
    border: 2px solid #f2efda;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.message-thumbnail {
    position: relative;
    background-color: rgba(0, 0, 0, 0.1);
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.play-button {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: #f2efda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.play-button svg {
    width: 16px;
    height: 16px;
    margin-left: 2px;
    color: #333;
}

.message-info {
    padding: 30px 20px 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.message-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #242424;
    margin-bottom: 8px;
    line-height: 1.3;
}

.message-date {
    font-size: 12px;
    color: #606060;
    text-transform: capitalize;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-white {
    background-color: #fff;
    color: #242424;
}

.btn-white:hover {
    background-color: #f0f0f0;
}

/* Footer */
.site-footer {
    background-color: #242424;
    color: #fff;
    padding: 56px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 900;
    color: #c0c0c0;
    margin-bottom: 20px;
}

.footer-section p {
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #fff;
}

.footer-bottom {
    background-color: #131313;
    padding: 30px 0;
    text-align: center;
}

.footer-logo {
    width: 139px;
    max-width: 100%;
    height: auto;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: #535353;
}

.social-links a:hover svg {
    fill: #508fae;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-text-section {
        padding: 50px 30px;
    }
    
    .hero-text-section p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .messages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero-title {
        font-size: 56px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-logo {
        width: 100px;
    }
    
    .hero-text-section {
        padding: 40px 20px;
    }
    
    .hero-text-section p {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .messages-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .recent-messages h2 {
        font-size: 28px;
    }
    
    .message-info h3 {
        font-size: 16px;
    }
}