@charset 'UTF-8';

*button:focus {
    box-shadow: none !important;
}

img {
    max-width: 100%;
}

.google-posts-section {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 60px 0;
    background-image: url(../img/map-bg2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.google-posts-section .section-header {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.google-posts-section .section-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    background-image: url(../img/map-bg.png);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 240px;
    height: 200px;
}

@media (max-width: 991px) {
    .google-posts-section .section-header {
    margin-bottom: 0;
}
    .google-posts-section .section-header::after {
        display: none;
    }
}

.google-posts-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.google-posts-section .section-badge .google-icon {
    width: 20px;
    height: 20px;
}

.google-posts-section .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #4a2c6a;
    margin-bottom: 12px;
}

.google-posts-section .section-subtitle {
    font-size: 16px;
    color: #000000;
}

/* Post Card */
.google-posts-section .swiper-button-prev,
.google-posts-section .swiper-button-next {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(102, 51, 153, 0.15);
    transition: all 0.3s ease;
}

.google-posts-section .swiper-button-prev::after,
.google-posts-section .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
    color: #7c4dab;
    transition: color 0.3s ease;
}

.google-posts-section .swiper-button-prev:hover,
.google-posts-section .swiper-button-next:hover {
    background: #7c4dab;
}

.google-posts-section .swiper-button-prev:hover::after,
.google-posts-section .swiper-button-next:hover::after {
    color: #fff;
}

.google-posts-section .swiper-button-prev {
    left: -25px;
}

.google-posts-section .swiper-button-next {
    right: -25px;
}

.google-post-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(102, 51, 153, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 51, 153, 0.08);
    position: relative;
    overflow: hidden;
    margin: 1.5rem 0;
}

.google-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4285f4, #34a853, #fbbc04, #ea4335);
}

.google-post-card:hover {
    transform: translateY(-8px);
}


/* Card Header */
.google-post-card .card-header-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f3f4;
}

.google-post-card .company-logo {
    width: 48px;
    height: 48px;
    border: 1px #e8e8e8 solid;
    border-radius: 50%;
    background: linear-gradient(135deg, #d3d3d3 0%, #bbbbbb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    background-image: url(../img/logo-icon.png);
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center center;
}

.google-post-card .company-info {
    flex: 1;
    min-width: 0;
}

.google-post-card .company-name {
    font-size: 16px;
    font-weight: 600;
    color: #4a2c6a;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.google-post-card .google-source {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #8b7a9e;
}

.google-post-card .google-source img {
    width: 14px;
    height: 14px;
}

/* Card Content */
.google-post-card .card-content {
    flex: 1;
    margin-bottom: 16px;
}

.google-post-card .post-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a5a;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* Card Footer */
.google-post-card .card-footer-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f3eff8;
    margin-top: auto;
}

.google-post-card .post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #a7a7a7;
}

.google-post-card .post-date i {
    font-size: 12px;
}

.google-post-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #7c4dab;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.google-post-card .read-more:hover {
    color: #4a2c6a;
    gap: 10px;
}

/* View All Button */
.google-posts-section .view-all-wrap {
    text-align: center;
    margin-top: 20px;
}

.google-posts-section .btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #fff;
    color: #7c4dab;
    border: 2px solid #7c4dab;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.google-posts-section .btn-view-all:hover {
    background: #7c4dab;
    color: #fff;
}

.google-posts-section .btn-view-all img {
    width: 24px;
    height: 24px;
}

/* Modal Styles */
.google-post-modal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.google-post-modal .modal-header-inner {
    background: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.google-post-modal .modal-company-logo {
    width: 56px;
    height: 56px;
    border: 1px #e8e8e8 solid;
    border-radius: 50%;
    background: linear-gradient(135deg, #d3d3d3 0%, #bbbbbb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    background-image: url(../img/logo-icon.png);
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center center;
}

.google-post-modal .modal-company-info {
    flex: 1;
}

.google-post-modal .modal-company-name {
    font-size: 18px;
    font-weight: 600;
    color: #4a2c6a;
    margin-bottom: 4px;
}

.google-post-modal .modal-google-source {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #8b7a9e;
}

.google-post-modal .modal-google-source img {
    width: 16px;
    height: 16px;
}

.google-post-modal .btn-close {
    position: absolute;
    right: 16px;
    top: 16px;
    background-color: #fff;
    border-radius: 50%;
    padding: 8px;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(102, 51, 153, 0.2);
}

.google-post-modal .modal-body {
    padding: 24px;
}

.google-post-modal .modal-post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a5a;
}

.google-post-modal .modal-post-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #80868b;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f3eff8;
}

.google-post-modal .modal-footer {
    border-top: 1px solid #f3eff8;
    padding: 16px 24px;
    justify-content: center;
}

.google-post-modal .btn-google-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #7c4dab;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.google-post-modal .btn-google-link:hover {
    background: #4a2c6a;
    color: #fff;
}

/* Responsive */
@media (max-width: 767px) {
    .google-posts-section {
        padding: 40px 0;
    }

    .google-posts-section .section-title {
        font-size: 24px;
    }

    .google-post-card {
        padding: 20px;
        margin: 1.5rem 1rem;
    }

    .google-post-card .post-text {
        -webkit-line-clamp: 3;
    }

    .google-post-modal .modal-header-inner {
        padding: 16px;
    }

    .google-post-modal .modal-body {
        padding: 20px;
    }

    .google-posts-section .swiper-button-prev,
    .google-posts-section .swiper-button-next {
        width: 35px;
        height: 35px;
    }

    .google-posts-section .swiper-button-prev::after,
    .google-posts-section .swiper-button-next::after {
        font-size: 16px;
    }

    .google-posts-section .swiper-button-prev {
        left: 0px;
    }

    .google-posts-section .swiper-button-next {
        right: 0px;
    }

}