/* 
 * Styles for Summary Post Plugin 
 */

.summary-post-container {
    margin: 40px 0 30px;
    font-family: inherit;
    clear: both;
}

.summary-post-box {
    position: relative;
    border: 2px solid #ff812e; /* Overridden by inline style */
    border-radius: 12px;
    padding: 30px 25px 20px 25px;
    background-color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
}

.summary-post-badge {
    position: absolute;
    top: -20px;
    left: 24px;
    background-color: #ff812e; /* Overridden by inline style */
    color: #ffffff;
    border-radius: 30px;
    padding: 8px 24px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.summary-badge-icon {
    font-size: 20px;
    line-height: 1;
}

.summary-badge-text {
    line-height: 1.2;
}

.summary-post-content {
    font-size: 16px;
    line-height: 1.7;
    color: #2c3338;
}

/* Enhancing typography for the content inside */
.summary-post-content p {
    margin-bottom: 0.8em;
}

.summary-post-content p:last-child {
    margin-bottom: 0;
}

.summary-post-content ul, 
.summary-post-content ol {
    margin: 12px 0 12px 20px !important;
    padding: 0 !important;
    list-style-position: outside !important;
}

.summary-post-content ul li, 
.summary-post-content ol li {
    margin-bottom: 6px !important;
    padding-left: 4px !important;
    line-height: 1.6;
}

.summary-post-content a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.summary-post-content a:hover {
    color: #ff812e; /* Fallback hover color */
}

@media screen and (max-width: 600px) {
    .summary-post-box {
        padding: 25px 15px 15px 15px;
    }
    
    .summary-post-badge {
        left: 15px;
        font-size: 14px;
        padding: 6px 16px;
    }
}
