/* business.css – Modern, responsive layout for business profiles */

.single-business .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    background: #f9fafc;
    border-radius: 20px;
}

article.business {
    background: #fff;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-bottom: 2rem;
}

.entry-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 2rem 2rem;
    margin: 0;
    border-bottom: 4px solid #f9b81b;
    border-radius: 0; /* ensures no rounding */
}

.entry-title {
    margin: 0;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.entry-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
}

.business-description {
    flex: 0 0 100%;
    background: transparent;  /* changed from #fef9e6 */
    border-left: 6px solid #f9b81b;
    margin-bottom: 0.5rem;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.business-left,
.business-right {
    flex: 1;
    min-width: 0;
}

.business-info,
.social-media-links,
.business-gallery,
.services-list,
.random-posts-by-service,
.glsr,
[class*="shortcode-site-reviews"] {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.business-info:hover,
.social-media-links:hover,
.business-gallery:hover,
.services-list:hover,
.random-posts-by-service:hover,
.glsr:hover,
[class*="shortcode-site-reviews"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #f9b81b;
    display: block;
    color: #1e3c72;
}

.business-info p {
    margin: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.business-info p strong {
    min-width: 100px;
    font-weight: 600;
    color: #1e3c72;
}

.business-info a {
    color: #2a5298;
    text-decoration: none;
    border-bottom: none;
}

.business-info a:hover {
    color: #f9b81b;
}

.show-email-btn {
    background: #f0f2f5;
    border: 1px solid #d0d5dd;
    border-radius: 30px;
    padding: 4px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 10px;
    color: #1e3c72;
}
.show-email-btn:hover {
    background: #e6e9ef;
    border-color: #f9b81b;
}

/* Social media – centered */
.social-media-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.social-media-links li {
    margin: 0;
}
.social-media-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f3f5;
    padding: 0.4rem 0.8rem;
    border-radius: 40px;
    text-decoration: none;
    color: #1e3c72;
    font-weight: 500;
    transition: all 0.2s;
}
.social-media-links a:hover {
    background: #f9b81b;
    color: #fff;
    transform: translateY(-1px);
}
.social-media-links a i {
    font-size: 1.2rem;
}

/* Products / Services – heading above, grid with scroll */
.services-list {
    display: block;
}
.services-list h2 {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    clear: both;
}
.services-list ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
}
.services-list li {
    background: linear-gradient(135deg, #f9fafc 0%, #ffffff 100%);
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #1e3c72;
    text-align: center;
    transition: all 0.2s;
}
.services-list li:hover {
    background: #f9b81b;
    color: #fff;
    border-color: #f9b81b;
    transform: translateY(-2px);
}

/* ========== GALLERY – FULL IMAGE, RESPONSIVE, NO CROP ========== */
/* ========== GALLERY – CLEAN, NO BOX, NO BORDERS ========== */
.business-gallery {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.business-gallery .custom-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-start;
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.business-gallery .custom-gallery-item {
    flex: 0 1 auto;
    max-width: 100%;
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
}
.business-gallery .custom-gallery-item img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    display: block;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

/* Reviews & similar businesses */
.glsr,
[class*="shortcode-site-reviews"] {
    margin-bottom: 2rem;
}
.random-posts-by-service {
    margin-bottom: 2rem;
}

/* Responsive columns for services */
@media (max-width: 992px) {
    .services-list ul {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .entry-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .entry-header {
        padding: 1.5rem;
    }
    .entry-title {
        font-size: 1.8rem;
    }
    .business-left,
    .business-right {
        flex: auto;
    }
    .business-info p strong {
        min-width: 80px;
    }
    .business-info p {
        flex-direction: column;
        gap: 0.25rem;
    }
    .show-email-btn {
        margin-left: 0;
        margin-top: 5px;
    }
    .social-media-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    .services-list ul {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .business-gallery .custom-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .services-list ul {
        grid-template-columns: 1fr;
    }
}