/* Independent comparison below the original organization course grid. */
body[data-page="home"] main>#instituicoes-nova {
  padding-block:80px;
  background:#edf2f4;
  background-image:radial-gradient(ellipse at 100% 0,#5e8ca214,transparent 50%);
  border-block:1px solid #29566b0f;
  scroll-margin-top:90px;
}
#instituicoes-nova .b24-section-label { margin-bottom:42px; }
.b24-collection-intro {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  align-items:end;
  gap:48px;
  margin-bottom:42px;
}
.b24-collection-eyebrow {
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 20px;
  color:#29566b;
  font-size:11px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.b24-collection-eyebrow>span { width:7px; height:7px; border-radius:50%; background:#5e8ca2; }
body[data-page="home"] #collection-title {
  margin:0;
  color:#1b3b4a;
  font-size:clamp(40px,4.7vw,60px);
  font-weight:500;
  line-height:1.03;
  letter-spacing:-.045em;
}
#collection-title em { color:#5e8ca2; font-style:normal; }
.b24-collection-summary { max-width:400px; justify-self:end; padding-bottom:4px; }
.b24-collection-summary>p { margin:0 0 22px; color:#345464; font-size:17px; line-height:1.65; }
.b24-collection-summary>span { color:#486778; font-size:11px; font-weight:500; letter-spacing:.1em; text-transform:uppercase; }
.b24-collection-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.b24-collection-item { min-width:0; display:flex; }
.b24-collection-card {
  display:flex;
  flex:1;
  flex-direction:column;
  min-width:0;
  padding:9px;
  overflow:hidden;
  border:1px solid #29566b0c;
  border-radius:27px;
  background:#fff;
  color:#1b3b4a;
  text-decoration:none;
  box-shadow:0 3px 8px #1b3b4a04;
  transition:box-shadow .4s ease,border-color .4s ease;
}
.b24-collection-media { position:relative; isolation:isolate; aspect-ratio:1.65; overflow:hidden; border-radius:19px; background:#1b3b4a; }
.b24-collection-media::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,#1b3b4a14 35%,#102d3cbd); pointer-events:none; }
.b24-collection-media>img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .7s cubic-bezier(.22,.7,.2,1); }
.b24-collection-index {
  position:absolute;
  z-index:1;
  top:13px;
  left:13px;
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border:1px solid #fff5;
  border-radius:50%;
  background:#1b3b4a66;
  color:#fff;
  backdrop-filter:blur(8px);
  font-size:10px;
  font-weight:500;
  letter-spacing:.02em;
}
.b24-collection-media-tag { position:absolute; z-index:1; bottom:15px; left:17px; right:17px; color:#fff; font-size:10px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; }
.b24-collection-body { display:flex; flex:1; flex-direction:column; padding:24px 18px 5px; }
body[data-page="home"] .b24-collection-body h3 { margin:0 0 16px; min-height:76px; color:#1b3b4a; font-size:clamp(24px,2.35vw,29px); font-weight:600; line-height:1.14; letter-spacing:-.025em; }
.b24-collection-body h3>span { display:block; margin-bottom:9px; color:#466b7e; font-size:12px; font-weight:500; line-height:1.3; letter-spacing:.06em; }
.b24-collection-body>p { flex:1; margin:0 0 25px; color:#4a626f; font-size:15px; line-height:1.6; }
.b24-collection-action { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:62px; padding:14px 0 7px; border-top:1px solid #29566b17; color:#29566b; font-size:12px; font-weight:600; line-height:1.4; }
.b24-collection-arrow { display:grid; flex:none; place-items:center; width:35px; height:35px; border-radius:50%; background:#edf3f5; color:#29566b; transition:background-color .35s,color .35s; }
.b24-collection-arrow>svg { width:18px; height:18px; transform:rotate(-35deg); transition:transform .35s ease; }
.b24-collection-card:focus-visible { outline:3px solid #29566b; outline-offset:5px; }
.b24-collection-item--custom .b24-collection-card { background:#1b3b4a; border-color:#1b3b4a; }
body[data-page="home"] .b24-collection-item--custom h3 { color:#fff; }
.b24-collection-item--custom h3>span { color:#b4cdd9; }
.b24-collection-item--custom .b24-collection-body>p { color:#d2e0e6; }
.b24-collection-item--custom .b24-collection-action { border-color:#ffffff26; color:#fff; }
.b24-collection-item--custom .b24-collection-arrow { background:#ffffff14; color:#fff; }
.b24-collection-note { margin:18px 0 0; color:#526f7e; font-size:11px; }
@media(hover:hover) and (pointer:fine){
  .b24-collection-card:hover { border-color:transparent; box-shadow:0 0 14px 1px #5e8ca245,0 9px 24px #29566b0f; text-decoration:none; }
  .b24-collection-card:hover .b24-collection-media>img { transform:scale(1.045); }
  .b24-collection-card:hover .b24-collection-arrow { background:#29566b; color:#fff; }
  .b24-collection-card:hover .b24-collection-arrow>svg { transform:rotate(0); }
  .b24-collection-item--custom .b24-collection-card:hover .b24-collection-arrow { background:#faf8f6; color:#1b3b4a; }
}
@media(min-width:761px) and (max-width:1040px){
  .b24-collection-grid { gap:18px; }
  .b24-collection-card { padding:7px; border-radius:23px; }
  .b24-collection-media { border-radius:16px; }
  .b24-collection-body { padding:23px 14px 5px; }
  body[data-page="home"] .b24-collection-body h3 { font-size:25px; min-height:109px; }
  .b24-collection-action { font-size:11px; gap:7px; }
}
@media(max-width:760px){
  .b24-collection-intro { grid-template-columns:1fr; gap:25px; margin-bottom:32px; }
  .b24-collection-summary { max-width:520px; justify-self:start; }
  .b24-collection-summary>p { margin-bottom:17px; }
  .b24-collection-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  body[data-page="home"] .b24-collection-body h3 { font-size:26px; min-height:100px; }
  .b24-collection-body { padding-inline:15px; }
}
@media(max-width:560px){
  body[data-page="home"] main>#instituicoes-nova { padding-block:52px; }
  #instituicoes-nova .b24-section-label { margin-bottom:32px; }
  .b24-collection-eyebrow { font-size:10px; margin-bottom:17px; }
  body[data-page="home"] #collection-title { font-size:43px; }
  .b24-collection-summary>p { font-size:16px; }
  .b24-collection-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
  .b24-collection-media { aspect-ratio:1.65; }
  .b24-collection-body { padding:24px 19px 7px; }
  body[data-page="home"] .b24-collection-body h3 { min-height:0; margin-bottom:17px; font-size:29px; }
  .b24-collection-body>p { margin-bottom:24px; font-size:16px; }
  .b24-collection-action { min-height:65px; font-size:13px; }
}
@media(prefers-reduced-motion:reduce){
  #instituicoes-nova :is(.b24-collection-card,.b24-collection-media>img,.b24-collection-arrow,.b24-collection-arrow>svg) { transition:none; }
  #instituicoes-nova .b24-collection-card:hover .b24-collection-media>img { transform:none; }
}
