/* ===================================
   Project Showcase - Project Info Box
   =================================== */

.ps-info-box {
    margin-top: 0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

/* Header */
.ps-info-header {
    background: #2d2d2d;
    color: #fff;
    padding: 14px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.ps-info-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fcc02c;
}

.ps-info-project-name {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.95;
}

/* Body */
.ps-info-body {
    background: linear-gradient(135deg, #fcc02c 0%, #f5a623 100%);
    display: flex;
    padding: 12px 4px;
    gap: 0;
    flex-wrap: nowrap;
    overflow: hidden;
}

.ps-info-item {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.ps-info-item:last-child {
    border-right: none;
}

.ps-info-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d2d2d;
}

.ps-info-icon svg {
    width: 24px;
    height: 24px;
}

.ps-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ps-info-text strong {
    font-size: 10px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ps-info-text span {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Article Content */
.ps-article-content {
    margin-top: 30px;
    line-height: 1.8;
    font-size: 16px;
    color: #fff;
}

.ps-article-content h1,
.ps-article-content h2,
.ps-article-content h3,
.ps-article-content h4 {
    color: #fff;
    margin-top: 28px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.ps-article-content h2 {
    font-size: 24px;
    border-bottom: 2px solid #fcc02c;
    padding-bottom: 8px;
}

.ps-article-content h3 {
    font-size: 20px;
}

.ps-article-content p {
    margin-bottom: 16px;
}

.ps-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 16px 0;
}

.ps-article-content a {
    color: #fcc02c;
    text-decoration: underline;
}

.ps-article-content a:hover {
    color: #b3720d;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .ps-info-body {
        flex-wrap: wrap;
        gap: 0;
    }

    .ps-info-item {
        flex: 0 0 50%;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 10px 12px;
    }

    .ps-info-item:nth-child(odd) {
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }

    .ps-info-item:last-child,
    .ps-info-item:nth-last-child(1):nth-child(odd) {
        border-right: none;
    }

    .ps-info-header {
        padding: 12px 16px;
    }

    .ps-info-project-name {
        font-size: 14px;
    }

    .ps-article-content {
        font-size: 15px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .ps-info-item {
        flex: 0 0 100%;
        border-right: none !important;
    }

    .ps-info-icon {
        width: 32px;
        height: 32px;
    }

    .ps-info-icon svg {
        width: 26px;
        height: 26px;
    }
}
