/* Main container */
.gbc-beauty-radar-container {
    max-width: 1200px;
    margin-bottom: 50px !important;
    padding: 0 15px;
    position: relative;
}

/* Loader styles */
.gbc-beauty-radar-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
}

.gbc-loader-spinner {
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 50px;
    height: 50px;
    animation: gbc-spin 1s linear infinite;
}

@keyframes gbc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Post styles */
.gbc-beauty-radar-post {
    display: flex;
    margin-bottom: 30px;
    align-items: stretch;
    position: relative;
}

.gbc-post-image-wrapper {
    flex: 0 0 40%;
    max-width: 40%;
    padding-right: 30px;
    overflow: hidden;
    position: relative;
}

.gbc-post-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gbc-post-image-wrapper:hover .gbc-post-thumbnail {
    transform: scale(1.05);
}

.gbc-post-content-wrapper {
    flex: 0 0 60%;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px;
}

/* Post meta - horizontal line */
.gbc-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 10px;
	line-height: 20px;
	color: #000;
    margin-bottom: 15px;
    text-transform: uppercase !important;
}

.gbc-post-meta span:not(:last-child):after {
    content: "•";
    margin-left: 10px;
    color: #666;
}

.gbc-post-title {
    margin: 0 0 15px 0 !important;
    /* font-size: 26px;
    line-height: 1.15em;
    word-break: break-word;
    display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-height: calc(3 * 1.2em) !important; */
}

/* Author and share wrapper */
.gbc-post-author-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.eltdf-post-info-author-link {
  text-transform: uppercase !important;
  font-size: 10px !important;
  color: #000000 !important;
}

/* .gbc-post-author {
    font-size: 14px;
    color: #666;
} */

.gbc-post-share {
    position: relative;
    display: flex;
    align-items: center;
}

.gbc-share-toggle {
    cursor: pointer;
    padding: 5px;
    color: #000000;
}

.gbc-share-options {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    right: 0;
    bottom: 100%;
    background: white;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gbc-post-share:hover .gbc-share-options,
.gbc-post-share.active .gbc-share-options {
    opacity: 1;
    visibility: visible;
}

.gbc-share-option a {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gbc-share-facebook:hover a {
    color: #3b5998;
}

.gbc-share-twitter:hover a {
    color: #1da1f2;
}

.gbc-share-divider {
    color: #ddd;
}

/* Post separator line */
.gbc-post-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border: none;
    border-top: 1px solid #eee;
    margin: 0;
}

/* Pagination styles */
.gbc-beauty-radar-pagination {
    margin-top: 40px;
    text-align: center;
}

.gbc-beauty-radar-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.gbc-beauty-radar-pagination .page-numbers.current {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.gbc-beauty-radar-pagination .page-numbers:hover:not(.current) {
    background-color: #f5f5f5;
}

/* Mobile styles */
@media (max-width: 768px) {
    .gbc-beauty-radar-post {
        flex-direction: column;
    }

    .gbc-post-image-wrapper,
    .gbc-post-content-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .gbc-post-image-wrapper {
        margin-bottom: 20px;
    }

    .gbc-post-thumbnail {
        height: auto;
        max-height: 250px;
    }

    .gbc-post-author-wrapper {
        margin-top: 15px;
        position: relative;
    }

    /* Mobile Share Button Fix */
    .gbc-post-share {
        position: static;
    }

    .gbc-share-toggle {
        display: none; /* Hide the share icon on mobile */
    }

    .gbc-share-options {
        position: static;
        display: flex !important; /* Force show on mobile */
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 10px;
        box-shadow: none;
        border: none;
        padding: 5px 0;
        background: transparent;
    }

    .gbc-share-divider {
        display: inline-block; /* Show divider on mobile */
    }
}
