/*
Theme Name: Videozoom Child
Theme URI: https://www.wpzoom.com/themes/videozoom
Description: Child theme for Videozoom
Author: Your Name
Author URI: Your Website
Template: videozoom
Version: 1.0
*/

/* Your custom styles will go here */

/* Contact Cards Styles */
.social-cards-container {
    background: rgba(0, 0, 0, 0.85);
    padding: 40px;
    margin: 0 -40px;
    width: calc(100% + 80px);
    box-sizing: border-box;
    position: relative;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin: 0 auto;
    max-width: 1170px;
    position: relative;
}

.social-card {
    background: rgba(42, 42, 42, 0.9);
    border-radius: 3px;
    padding: 35px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    min-width: 0;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.08);
    background: #292929;
}

.social-icon {
    width: 64px;
    height: 64px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
}

.social-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #fff;
}

.social-info {
    min-width: 0;
    flex: 1;
}

.social-info h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}

.social-info span {
    color: #2d87cc;
    font-size: 17px;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.social-card:hover .social-info span {
    color: #fff;
}

/* Icon Colors */
.email-card .social-icon { background: #ea4335; }
.flickr-card .social-icon { background: #0063dc; }
.x-card .social-icon { background: #000000; }
.bluesky-card .social-icon { background: #0085ff; }
.fetlife-card .social-icon { background: #ff0084; }
.imglr-card .social-icon { background: #00b8d4; }

/* Responsive Styles */
@media screen and (max-width: 1100px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .social-cards-container {
        margin: 0 -20px;
        width: calc(100% + 40px);
        padding: 30px 20px;
    }

    .social-grid {
        gap: 25px;
    }

    .social-card {
        padding: 25px;
    }

    .social-icon {
        width: 56px;
        height: 56px;
        margin-right: 20px;
    }

    .social-icon .dashicons {
        font-size: 28px;
        width: 28px;
        height: 28px;
    }

    .social-info h3 {
        font-size: 18px;
        margin: 0 0 6px 0;
    }

    .social-info span {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .social-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .social-card {
        padding: 20px;
    }

    .social-icon {
        width: 48px;
        height: 48px;
        margin-right: 15px;
    }

    .social-icon .dashicons {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    
    .social-info h3 {
        font-size: 17px;
        margin: 0 0 4px 0;
    }

    .social-info span {
        font-size: 15px;
    }
}

/* Small mobile phones */
@media screen and (max-width: 360px) {
    .social-grid {
        padding: 0 12px;
        margin: 20px auto;
    }

    .social-card {
        padding: 15px;
    }

    .social-icon {
        width: 42px;
        height: 42px;
        margin-right: 12px;
    }

    .social-icon .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .social-info h3 {
        font-size: 16px;
    }

    .social-info span {
        font-size: 14px;
    }
}

/* Mobile Featured Images Fix - Full width images with text below */
@media screen and (max-width: 640px) {
    /* Override the theme's horizontal layout with higher specificity */
    .recent-posts li,
    .full-width .recent-posts li {
        width: 100% !important;
        margin: 0 0 30px 0 !important;
        display: block !important;
        clear: both !important;
    }
    
    /* Reset nth-child margins */
    .recent-posts li:nth-child(3n+3),
    .recent-posts li:nth-child(4n+4),
    .full-width .recent-posts li:nth-child(3n+3),
    .full-width .recent-posts li:nth-child(4n+4) {
        margin-right: 0 !important;
    }
    
    /* Make thumbnails full width */
    .recent-posts .post-thumb,
    .full-width .recent-posts .post-thumb {
        float: none !important;
        width: 100% !important;
        margin: 0 0 15px 0 !important;
        display: block !important;
    }
    
    /* Full width images with proper aspect ratio */
    .recent-posts .post-thumb img,
    .full-width .recent-posts .post-thumb img {
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
        max-height: 300px;
        object-fit: cover;
        border-radius: 3px;
        -webkit-border-radius: 3px;
    }
    
    /* Content below the image */
    .recent-posts .post-content,
    .full-width .recent-posts .post-content {
        background: none !important;
        padding: 0 !important;
        overflow: visible !important;
        width: 100% !important;
        float: none !important;
    }
    
    /* Override hover states */
    .recent-posts li:hover .post-content,
    .full-width .recent-posts li:hover .post-content {
        background: none !important;
    }
    
    /* Style the titles */
    .recent-posts h2,
    .full-width .recent-posts h2 {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin: 0 0 10px 0 !important;
        color: #fff;
    }
    
    .recent-posts h2 a,
    .full-width .recent-posts h2 a {
        color: #fff !important;
        text-decoration: none;
    }
    
    .recent-posts h2 a:hover,
    .full-width .recent-posts h2 a:hover {
        color: #2d87cc !important;
    }
    
    /* Hide excerpts on mobile to keep it clean */
    .recent-posts .post-content p,
    .full-width .recent-posts .post-content p {
        display: none !important;
    }
    
    /* Style meta information */
    .recent-posts .post-meta,
    .full-width .recent-posts .post-meta {
        font-size: 14px;
        color: #999;
        margin: 5px 0;
    }
} 