/* WPE Post Info Block Plugin Styles - Save as assets/css/post-info-block.css */

.wpe-post-info-block {
    position: absolute;
    left: calc(50% + 440px);
    top: 60px;
    background: rgba(255, 255, 255, 0.7);
    z-index: 2;
    padding: 0px 0px 20px 20px;
    border-radius: 0px;
    border-left: 1px solid #ededed;
	  max-width:220px;
}

/* Author Information */
.wpe-post-info-block .author-info {
    margin-bottom: 20px;
}

.wpe-post-info-block .author-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.wpe-post-info-block .post-date {
    font-size: 13px;
    color: #666666;
    margin: 0;
    font-weight: 400;
}

/* Section Titles */
.wpe-post-info-block .section-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

/* Keywords and Topics Sections */
.wpe-post-info-block .keywords-section,
.wpe-post-info-block .topics-section {
    margin-bottom: 24px;
}

.wpe-post-info-block .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wpe-post-info-block .keyword-tag,
.wpe-post-info-block .topic-tag {
    background: #f5f5f5;
    color: #333333;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.wpe-post-info-block .keyword-tag::before,
.wpe-post-info-block .topic-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.wpe-post-info-block .keyword-tag:hover,
.wpe-post-info-block .topic-tag:hover {
    background: #007cba;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
    text-decoration: none;
}

.wpe-post-info-block .keyword-tag:hover::before,
.wpe-post-info-block .topic-tag:hover::before {
    left: 100%;
}

.wpe-post-info-block .keyword-tag:active,
.wpe-post-info-block .topic-tag:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 124, 186, 0.2);
}

/* Focus states for accessibility */
.wpe-post-info-block .keyword-tag:focus,
.wpe-post-info-block .topic-tag:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
    background: #007cba;
    color: #ffffff;
    text-decoration: none;
}

/* Divider */
.wpe-post-info-block .divider {
    height: 1px;
    background: linear-gradient(90deg, #e0e0e0 0%, rgba(224, 224, 224, 0) 100%);
    margin: 10px 0;
}

/* Post Actions */
.wpe-post-info-block .post-actions {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.wpe-post-info-block .action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #555555;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.wpe-post-info-block .action-item:hover {
    color: #333333;
    background: rgba(0, 0, 0, 0.02);
    padding-left: 12px;
    padding-right: 12px;
}

.wpe-post-info-block .action-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.wpe-post-info-block .action-text {
    font-size: 16px;
    font-weight: 500;
    user-select: none;
}

/* Bookmark States */
.wpe-post-info-block .bookmark-action.bookmarked .bookmark-icon {
    fill: currentColor;
    color: #007cba;
}

.wpe-post-info-block .bookmark-action.bookmarked .action-text {
    color: #007cba;
}

/* Share Modal */
.wpe-post-info-block .share-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.wpe-post-info-block .share-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpe-post-info-block .share-modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    animation: wpeModalSlideIn 0.3s ease-out;
}

@keyframes wpeModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wpe-post-info-block .share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.wpe-post-info-block .share-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.wpe-post-info-block .close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #999999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.wpe-post-info-block .close-modal:hover {
    background: #f5f5f5;
    color: #666666;
}

.wpe-post-info-block .share-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpe-post-info-block .share-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #333333;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.wpe-post-info-block .share-option:hover {
    background: #f8f9fa;
    color: #007cba;
    text-decoration: none;
}

/* Notification Styles */
.wpe-post-info-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 1001;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: wpeSlideInRight 0.3s ease-out;
    max-width: 300px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}


.author-layout-text_only{
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    gap: 5px;
}
.author-layout-text_only a{
    text-decoration:none;
    line-height:1em;
}

.author-section{
    margin-bottom:10px;   
}
.post-date-section{ margin-bottom:20px; }

@keyframes wpeSlideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes wpeSlideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpe-post-info-block {
        padding: 24px 20px;
        margin: 16px 0;
    }
    
    .wpe-post-info-block .author-name {
        font-size: 28px;
    }
    
    .wpe-post-info-block .tags-container {
        gap: 8px;
    }
    
    .wpe-post-info-block .keyword-tag,
    .wpe-post-info-block .topic-tag {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .wpe-post-info-block .action-item {
        padding: 10px 0;
    }
    
    .wpe-post-info-block .share-modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .wpe-post-info-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .wpe-post-info-block {
        padding: 20px 16px;
    }
    
    .wpe-post-info-block .author-name {
        font-size: 24px;
    }
    
    .wpe-post-info-block .section-title {
        font-size: 18px;
    }
    
    .wpe-post-info-block .keyword-tag,
    .wpe-post-info-block .topic-tag {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* RTL Support */
[dir="rtl"] .wpe-post-info-block .action-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .wpe-post-info-block .share-modal-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .wpe-post-info-block .tags-container {
    direction: rtl;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .wpe-post-info-block {
        border: 2px solid #000;
        box-shadow: none;
    }
    
    .wpe-post-info-block .keyword-tag,
    .wpe-post-info-block .topic-tag {
        border: 2px solid #000;
    }
    
    .wpe-post-info-block .keyword-tag:hover,
    .wpe-post-info-block .topic-tag:hover {
        background: #000;
        color: #fff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .wpe-post-info-block .keyword-tag,
    .wpe-post-info-block .topic-tag,
    .wpe-post-info-block .action-item,
    .wpe-post-info-block .share-option,
    .wpe-post-info-block .close-modal {
        transition: none;
    }
    
    .wpe-post-info-block .keyword-tag::before,
    .wpe-post-info-block .topic-tag::before {
        display: none;
    }
    
    .wpe-post-info-block .share-modal-content {
        animation: none;
    }
    
    .wpe-post-info-notification {
        animation: none;
    }
}