/**
 * Unified section headings — matches "Products & services" style site-wide.
 * Use: .tcl-section-head (+ modifiers) + .tcl-section-head__title + .tcl-section-head__action
 */

.tcl-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.tcl-section-head--center {
    justify-content: center;
    text-align: center;
}

.tcl-section-head--stack {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.tcl-section-head--stack .section-badge {
    margin-bottom: 0.5rem;
}

/* Badge + main title on the left (same row rhythm as Products & services) */
.tcl-section-head__lead {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    min-width: 0;
    flex: 1 1 auto;
    text-align: left;
}

.tcl-section-head__lead .tcl-section-head__title {
    text-align: left;
}

/* Match Products & services title */
.tcl-section-head__title {
    margin: 0;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    color: #0f2f57;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

/* Override theme style.css .section-title span (black + !important) for unified heads */
.tcl-section-head__title span {
    color: inherit !important;
    font-weight: inherit !important;
    background: none !important;
    padding: 0 !important;
    text-shadow: none !important;
    -webkit-text-stroke: none !important;
}

/* On dark bands (special announcements) */
.tcl-section-head--inverse {
    align-items: center;
    padding-bottom: 0.65rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tcl-section-head--inverse .tcl-section-head__title {
    color: #fff;
}

.tcl-section-head__action {
    font-weight: 600;
    color: #0b5cad;
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

.tcl-section-head__action:hover {
    color: #084a8f;
    text-decoration: underline;
}

.tcl-section-head--inverse .tcl-section-head__action {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.9rem;
}

.tcl-section-head--inverse .tcl-section-head__action:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    text-decoration: none;
}

/* Beat older about.css + media-press-release.css when unified classes are present */
.media-press-section .tcl-section-head .tcl-section-head__title {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    color: #0f2f57;
    text-align: left;
}

.about-section.enhanced-about .tcl-section-head .tcl-section-head__title {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    color: #0f2f57;
    padding-bottom: 0;
    margin-bottom: 0;
    text-align: left;
}

.home-ourclient .tcl-section-head--center {
    margin-bottom: 1.25rem;
}

.home-ourclient .tcl-section-head--center .tcl-section-head__title {
    text-align: center;
    width: 100%;
}

/* Homepage portals: left-aligned title like Products / WHAT’S NEW */
.tcl-national-portals-home .tcl-section-head .tcl-section-head__title {
    text-align: left;
    width: auto;
}
