/* Shared AISTAC identity; all overrides stay inside the company portal. */
.portal-company-family{--event-purple:#6a19ad;--event-lavender:#f5f1fc;--event-border:#e7dff1;background:#fff}
.portal-company-family>header{position:sticky;top:0;z-index:100;padding:14px 4% 14px 18px;background:#fff url("assets/cintillo-responsabilidad-social.png") center/100% 100% no-repeat;border-bottom:1px solid #dfd5ef;box-shadow:0 2px 8px #192e5910}
.portal-company-family>header .brand{background:rgba(255,255,255,.94);border-radius:7px;padding:8px 12px}
.portal-company-family>header nav{background:rgba(255,255,255,.96);border-radius:7px;padding:0 16px;gap:24px;box-shadow:0 1px 8px #192e5905}
.portal-company-family>header .mobile-menu{background:#fff;border-color:var(--event-border)}
.portal-company-family #app{min-height:calc(100dvh - 300px);border-bottom:2px solid transparent;border-image:linear-gradient(90deg,var(--event-purple),#5938bf,var(--green),#e9dff6) 1}
.portal-company-family .page-head{margin:24px 0 20px;padding:18px 22px!important;border-left:4px solid var(--event-purple);border-radius:5px;background:linear-gradient(100deg,#f1eafb,#faf8fd 72%,#fff)}
.portal-company-family .page-head h1{color:var(--navy);margin-bottom:7px}
.portal-company-family .page-head p{margin:0}
.portal-company-family .catalog-filters{padding:16px;border:1px solid var(--event-border);border-radius:9px;background:#faf8fd}
.portal-company-family .catalog-filters .search,.portal-company-family .ods-dropdown>summary{background:white;border-color:#c7bcd6}
.portal-company-family .secondary-filters{background:#faf8fd;border-color:var(--event-border);border-radius:7px}
.portal-company-family .catalog-toolbar{padding:12px 0;border-bottom:1px solid var(--event-border)}
.portal-company-family .matrix-scroll,.portal-company-family .panel,.portal-company-family .project{border-color:var(--event-border);box-shadow:0 3px 12px #192e5905;border-radius:8px}
.portal-company-family .project-matrix thead th,.portal-company-family .project-matrix thead .select-column,.portal-company-family .project-matrix thead .sticky-project{background:#f1eafb}
.portal-company-family .project-matrix tbody tr:hover td{background:#f7f3fb}
.portal-company-family .assoc-card{border-color:var(--event-border);border-top:3px solid var(--green);border-radius:9px;background:#fff;box-shadow:0 3px 12px #192e5905;transition:box-shadow .15s,border-color .15s}
.portal-company-family .assoc-card:hover{border-color:#b69bcf;box-shadow:0 5px 18px #6a19ad13}
.portal-company-family .assoc-card:focus-visible{outline:3px solid var(--event-purple);outline-offset:3px}
.portal-company-family .btn.outline{border-color:#c7bcd6}
.portal-company-family .btn.outline:hover{background:#f5f1fc}
.portal-company-family .methodology{background:#faf8fd;border-color:var(--event-border)}
.portal-company-family dialog{border-top-color:var(--event-purple);box-shadow:0 25px 80px #192e5925}
.portal-company-family .association-purpose{border-color:var(--event-border)}
.portal-company-family .association-facts th{background:#f5f1fc}
.portal-company-family>footer{position:relative;display:flex;align-items:center;gap:28px;flex-wrap:wrap;background:#f6f3fb;border-top:1px solid var(--event-border);padding-top:26px;padding-bottom:26px}
.portal-company-family>footer[hidden]{display:none}
.portal-company-family>footer>div{position:relative;z-index:1}
.portal-company-family>footer small{font-size:12px;line-height:1.5;color:var(--muted)}
.portal-company-family .footer-community{width:210px;height:105px;object-fit:contain;margin-left:auto;pointer-events:none}
@media(max-width:960px){.portal-company-family>header{padding-right:20px}.portal-company-family>header nav{justify-content:flex-start;flex-wrap:wrap}.portal-company-family .catalog-filters{padding:12px}.portal-company-family .footer-community{width:150px;height:85px}}
@media(max-width:650px){.portal-company-family>header{padding:10px;background-size:auto 100%;gap:12px}.portal-company-family>header .brand{padding:6px;gap:10px;max-width:calc(100% - 72px)}.portal-company-family>header .brand img{width:clamp(130px,33vw,180px)}.portal-company-family>header .brand>span{padding-left:10px;font-size:11px}.portal-company-family>header .brand b{font-size:15px}.portal-company-family>header nav{padding:0 10px;gap:14px}.portal-company-family .page-head{padding:14px!important;margin-top:18px}.portal-company-family .page-head h1{font-size:25px}.portal-company-family>footer{align-items:flex-start;gap:12px}.portal-company-family .footer-community{width:135px;height:75px;margin:0;align-self:flex-end}}
@media(prefers-reduced-motion:reduce){.portal-company-family .assoc-card{transition:none}}

/* Compact company catalog: five readable cards on desktop. */
.portal-company-family>header{padding-top:7px;padding-bottom:7px;gap:18px}
.catalog-header-title{font-size:16px;font-weight:600;line-height:1.3;max-width:340px;background:#ffffffeb;padding:6px 10px;border-radius:4px}
.portal-company-family .strategic-explore{padding-top:10px}
.portal-company-family .catalog-filters{padding:8px 10px;margin-bottom:5px;gap:8px}
.portal-company-family .catalog-filters .field{font-size:12px}
.portal-company-family .catalog-secondary{margin-bottom:5px;font-size:13px}
.portal-company-family .catalog-toolbar{padding-bottom:6px;margin-bottom:6px;gap:8px}
.portal-company-family .catalog-toolbar .btn{min-height:32px;padding:4px 10px;font-size:13px}
.portal-company-family .catalog-toolbar .segmented button{padding:4px 10px}
.portal-company-family .strategic-explore .project-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.portal-company-family .strategic-explore .compact-project{padding:10px}
.portal-company-family .strategic-explore .compact-project .project-top{padding-right:0;gap:7px;margin-bottom:8px}
.portal-company-family .strategic-explore .compact-project .logo,.portal-company-family .strategic-explore .compact-project .profile-square{width:32px;height:32px}
.portal-company-family .strategic-explore .compact-project h3{display:block;-webkit-line-clamp:unset;overflow:visible;min-height:0;font-size:14px;line-height:1.35;margin-bottom:8px;overflow-wrap:break-word}
.portal-company-family .strategic-explore .compact-project .association-name{font-size:12px}
.portal-company-family .strategic-explore .compact-project .project-top small{font-size:11px}
.portal-company-family .strategic-explore .compact-project .support-card-summary{font-size:12px;line-height:1.4;margin-bottom:10px}
.portal-company-family .strategic-explore .project-metrics{padding:7px;gap:6px}
.portal-company-family .strategic-explore .project-metrics>div+div{padding-left:6px}
.portal-company-family .strategic-explore .project-metrics strong{font-size:14px;line-height:1.35}
.portal-company-family .strategic-explore .project-metrics small{font-size:11px}
.portal-company-family .strategic-explore .compact-project .modality{font-size:11px}
.portal-company-family .strategic-explore .compact-project .modality b{display:block;color:var(--green);font-size:12px}
.portal-company-family .strategic-explore .compact-project .ods-badge,.portal-company-family .strategic-explore .compact-project .ods-badge img,.portal-company-family .strategic-explore .compact-project .ods-badge .ods-art{width:24px;height:24px;min-width:24px;padding:0}
.portal-company-family .strategic-explore .compact-project .card-bottom{gap:5px;margin-top:7px;padding-top:7px}
.portal-company-family .strategic-explore .compact-project .card-bottom button{font-size:12px}
@media(max-width:1199px){.portal-company-family .strategic-explore .project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-header-title{font-size:14px;max-width:240px}}
@media(max-width:960px){.catalog-header-title{display:none}.portal-company-family .strategic-explore .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.portal-company-family .strategic-explore .project-grid{grid-template-columns:1fr}.portal-company-family .strategic-explore .compact-project h3{font-size:16px}}
