/* Tablet styles for screens between 691px and 960px */
@media screen and (min-width: 691px) and (max-width: 960px) {
    /* Contacts page tablet styles */
    .contacts-page {
        padding: 80px 20px 50px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .contacts-page .cb {
        padding: 0 20px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contacts-page .s-head {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contacts-page .s-head h1 {
        font-size: 2.2rem;
        margin-bottom: 18px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .contacts-page .s-head p {
        font-size: 1rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: 35px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Contact card tablet styles */
    .contact-card {
        padding: 25px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .contact-item {
        padding: 16px;
        margin-bottom: 20px;
        gap: 16px;
        min-height: 65px;
    }
    
    .contact-icon {
        width: 42px;
        height: 42px;
    }
    
    .contact-icon svg {
        width: 21px;
        height: 21px;
    }
    
    .contact-label {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }
    
    .contact-value:hover {
        color: rgba(255, 255, 255, 0.8);
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        word-break: break-all;
    }
    
    /* Social section tablet styles */
    .social-section {
        padding: 25px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .social-section h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .social-links {
        gap: 14px;
        width: 100%;
    }
    
    .social-link {
        padding: 11px 16px;
        font-size: 0.95rem;
        min-width: auto;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .social-link svg {
        width: 19px;
        height: 19px;
    }
}
