/* Frontend site styles for com_municipalportal */
[class^="com-municipalportal"] {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Unified service cards */
.mcp-service-card {
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mcp-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.12) !important;
}
.mcp-service-card__img {
    height: 180px;
    object-fit: cover;
}
.mcp-service-card__placeholder {
    height: 180px;
}

/* Citizen / employee portal navigation bar */
.mcp-citizen-nav .nav-item {
    list-style: none;
}
.mcp-citizen-nav__link.active {
    pointer-events: none;
}

/* Official document card in employee sidebar — avoid overflow into adjacent column */
.mcp-official-doc-card .min-w-0 {
    min-width: 0;
}
.mcp-official-doc-file__name {
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.35;
}
.mcp-official-doc-card .btn {
    white-space: normal;
}
