/* Shared media cards: intrinsic image/text widths must not expand grid tracks. */
.mediaBaseGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-width: 0;
}
.mediaBaseGrid > .channelCard {
    min-width: 0;
    box-sizing: border-box;
    gap: 14px;
    overflow-wrap: anywhere;
}
.channelCard .channelHead { align-items: flex-start; min-width: 0; }
.channelCard .channelMeta { min-width: 0; }
.channelCard .channelLogo { flex: 0 0 60px; }
.channelCard .channelLogo img { width: 80%; height: 80%; object-fit: contain; }
.channelCard .channelName { line-height: 1.3; }
.channelCard .channelType { margin-top: 4px; line-height: 1.5; }
.channelCard .channelAudience { margin: 0 0 4px; line-height: 1.5; }
.channelCard .channelAudience span { display: block; max-width: 100%; }
.channelCard .btn { margin-top: auto; min-width: 0; white-space: normal; text-align: center; justify-content: center; }
.mediaBaseTabs { flex-wrap: wrap; }
.cityModalList a { display:block; min-width:0; padding:16px 14px; border:0; border-radius:14px; background:#f7f4ff; color:#282535; text-align:left; font:inherit; font-weight:600; text-decoration:none; overflow-wrap:anywhere; transition:background .2s,color .2s; }
.cityModalList a:hover,.cityModalList a.isActive { background:#5443c0; color:#fff; }
.cityModalList a.isHidden { display:none; }
.cityModalGeneral { margin-top:18px; padding-top:18px; border-top:1px solid #e7e0ef; }
.cityModalGeneral a { display:block; padding:14px; border:1px solid #ff6b5b; border-radius:12px; color:#c84535; text-decoration:none; font-weight:600; text-align:center; line-height:1.5; }
.cityModalGeneral a:hover { background:#fff0eb; }
.cityModalGeneral p { margin:10px 0 0; color:#777083; font-size:13px; line-height:1.6; }
@media (max-width: 1200px) {
    .mediaBaseGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .mediaBaseGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .mediaBaseGrid { grid-template-columns: minmax(0, 1fr); }
}

/* Footer navigation, contacts and legal information share the page container. */
.projectInfoHero, .projectInfoTiles, .projectInfoTile, .projectInfoPlatforms { min-width: 0; box-sizing: border-box; }
.projectInfoHero, .projectInfoTile, .projectInfoTags, .projectInfoText { overflow-wrap: anywhere; }
.projectInfoText h2 { font-size: 22px; line-height: 1.4; margin: 26px 0 12px; }
.projectInfoText h3 { font-size: 20px; line-height: 1.4; }
.projectInfoText h2:first-child { margin-top: 0; }
main:has(.projectInfo) .breadCrumbs { flex-wrap: wrap; gap: 8px 0; overflow: visible; min-width: 0; }
main:has(.projectInfo) .breadCrumbs > * { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.projectInfoTiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) {
    .projectInfoText h2 { font-size: 20px; line-height: 1.4; }
    .projectInfoText h3 { font-size: 18px; line-height: 1.4; }
    .projectInfoHero { padding: 20px; }
    .projectInfoHero b { font-size: clamp(18px, 4.8vw, 22px); }
    .projectInfoTile b { font-size: 18px; line-height: 1.4; }
}
@media (max-width: 480px) {
    .projectInfoTiles { grid-template-columns: minmax(0, 1fr); }
}
.footer { border-top: 1px solid #e7e0ef; }
.footerTopContainer { display: block; }
.footerTopContainer > .container { margin-inline: auto; }
.footerTop {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 32px;
    align-items: start;
    text-align: left;
    padding: 40px 0;
}
.footerTop > * { min-width: 0; overflow-wrap: anywhere; }
.footerLogo { flex-direction: column; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.footerLogo img { width: 72px; height: auto; }
.footerLogo span { text-align: left; }
.footerBrand p { margin: 14px 0 0; line-height: 1.6; }
.footerSocials { justify-content: flex-start; }
.footerSocials:not(:has(a)) { display: none; }
.footerCol h3 { margin: 0; line-height: 1.5; }
.footerCol ul { display: grid; gap: 10px; margin-top: 18px; align-items: start; justify-content: normal; }
.footerCol li + li { margin-top: 0; }
.footerCol a { line-height: 1.5; }
.footerTop > .footerCol:not(.footerContacts):nth-child(2) ul { grid-template-columns: minmax(0, 1fr); }
.footerContacts { text-align: left; }
.footerContacts .footerContactValue { font-size: 17px !important; line-height: 1.5; margin-top: 18px; }
.footerContactHint { line-height: 1.5; margin-bottom: 0; }
.footerBottomInner { flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 18px 0; line-height: 1.6; }
.footerBottomInner > * { min-width: 0; overflow-wrap: anywhere; }
.footerLegalBand { background: #ff6b5b; color: #fff; }
.footer .legalFooterContainer { margin-inline: auto; padding: 18px 0 22px; color: inherit; border-top: 1px solid #ffffff45; }
.footer .siteLegalIdentity { line-height: 1.6; color: inherit; margin-bottom: 12px; }
.footer .legalFooterLinks { padding: 0; gap: 10px 24px; line-height: 1.6; }
.footer .legalFooterLinks > * { text-align: left; }
@media (max-width: 1100px) {
    .footerTop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
}
@media (max-width: 600px) {
    .footer { margin-top: 40px; }
    .footerTop { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 0; }
    .footerBrand p { max-width: 360px; }
    .footerBottomInner { align-items: flex-start; text-align: left; gap: 10px; }
    .footer .legalFooterLinks { flex-direction: column; align-items: flex-start; }
}
