.pcg-wrapper {
    width: 100%;
}

.pcg-container .row {
    margin-left: -15px;
    margin-right: -15px;
}

.pcg-col {
    padding: 15px;
    box-sizing: border-box;
}

/* --- Categorie / sottocategorie --- */
.pcg-category-link {
    display: block;
    text-decoration: none;
}

.pcg-category-image {
    height: var(--pcg-img-height, 260px);
    overflow: hidden;
}

.pcg-category-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.pcg-category-name {
    margin-top: 12px;
    text-align: center;
    color: var(--pcg-category-color, #E30613);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 18px;
}

/* --- Progetti (ultima sottocategoria) --- */
.pcg-project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pcg-project-image {
    height: var(--pcg-img-height, 260px);
    overflow: hidden;
}

.pcg-project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.pcg-project-title {
    margin: 12px 0 8px;
    font-size: 18px;
}

.pcg-project-title a {
    color: var(--pcg-title-color, #E30613);
    text-decoration: none;
    font-weight: 700;
}

.pcg-project-excerpt {
    color: var(--pcg-excerpt-color, #555555);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
    flex-grow: 1;
}

.pcg-btn-readmore {
    display: inline-block;
    background-color: var(--pcg-btn-bg, #E30613);
    color: var(--pcg-btn-text, #ffffff) !important;
    text-decoration: none;
    padding: 10px 22px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    align-self: flex-start;
    border-radius: 2px;
    transition: opacity 0.2s ease;
}

.pcg-btn-readmore:hover {
    opacity: 0.85;
    color: var(--pcg-btn-text, #ffffff) !important;
}

.pcg-empty {
    text-align: center;
    padding: 40px 0;
    color: #888;
}

/* --- Breadcrumb --- */
.pcg-breadcrumb {
    display: block;
    margin: 0 0 20px;
    font-size: var(--pcg-breadcrumb-font-size, 0.95rem);
    color: var(--pcg-breadcrumb-color, #777777);
}

.pcg-breadcrumb-link {
    color: var(--pcg-breadcrumb-color, #777777);
    text-decoration: none;
}

.pcg-breadcrumb-link:hover {
    text-decoration: underline;
}

.pcg-breadcrumb-sep {
    margin: 0 8px;
    color: var(--pcg-breadcrumb-color, #777777);
    opacity: 0.6;
}

.pcg-breadcrumb-current {
    color: var(--pcg-breadcrumb-color, #777777);
    font-weight: 600;
}

/* --- Breadcrumb portfolio singolo (sostituisce CRM Portfolio Breadcrumb) --- */
.pcg-singular-breadcrumb {
    margin: 0 0 20px;
    font-family: inherit;
    font-weight: normal;
}

.pcg-singular-breadcrumb,
.pcg-singular-breadcrumb * {
    font-family: inherit !important;
}

.pcg-singular-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pcg-singular-breadcrumb li {
    display: inline;
}

.pcg-singular-breadcrumb a {
    text-decoration: none;
}

.pcg-singular-breadcrumb a:hover {
    text-decoration: underline;
}

.pcg-sbc-sep {
    margin: 0 8px;
}
