/*
Theme Name: Univesp PI Site — Clean FSE
Theme URI: https://example.invalid/univesp-pi-site
Author: Projeto Integrador
Description: Tema de blocos limpo para o site do grupo de Projeto Integrador da Univesp. Usa um novo identificador de tema para evitar templates antigos salvos pelo Editor do Site.
Version: 4.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: univesp-pi-site
*/

html{scroll-behavior:smooth}
body{margin:0}
.wp-site-blocks{padding:0}

:where(.pi-site-header){position:relative;z-index:20;border-top:6px solid #D13239;box-shadow:0 1px 0 rgba(0,0,0,.08)}
:where(.pi-site-header-inner){min-height:78px}
:where(.pi-site-header .wp-block-site-logo img){max-height:44px;width:auto}
:where(.pi-site-header .wp-block-navigation-item__content){text-decoration:none}
:where(.pi-site-header .wp-block-navigation-item__content:hover){color:#D13239}

:where(.pi-site-hero .wp-block-cover__inner-container){width:100%}
:where(.pi-site-hero-title){max-width:980px;letter-spacing:-.045em}
:where(.pi-site-hero-lead){max-width:780px}
:where(.pi-site-kicker,.pi-site-eyebrow,.pi-site-label){text-transform:uppercase;font-weight:700;letter-spacing:.11em;font-size:.78rem}

:where(.pi-site-section){overflow:hidden}
:where(.pi-site-status .wp-block-columns){margin-bottom:0}
:where(.pi-site-status .univesp-pi-auto){margin:0}

:where(.pi-site-timeline-row){border-top:1px solid rgba(0,0,0,.13);padding:32px 0}
:where(.pi-site-timeline-row:last-child){border-bottom:1px solid rgba(0,0,0,.13)}
:where(.pi-site-timeline-row .wp-block-columns){margin-bottom:0}
:where(.pi-site-timeline-row h3){margin-top:0;margin-bottom:7px}
:where(.pi-site-q){font-size:clamp(1.7rem,3vw,2.4rem);margin:0}
:where(.pi-site-date){font-size:.95rem;line-height:1.65;margin:0}
:where(.pi-site-muted){color:rgba(0,0,0,.58);font-size:.86em}
:where(.pi-site-status-text){font-size:.88rem}

:where(.pi-site-delivery-grid .wp-block-column){border-top:1px solid rgba(255,255,255,.55);padding-top:26px}
:where(.pi-site-team .wp-block-separator){width:46px;margin-left:0;border-top-width:4px!important}
:where(.pi-site-team h4){margin-bottom:7px}
:where(.pi-site-resources .wp-block-buttons){gap:12px}

:where(.wp-block-button.is-style-outline>.wp-block-button__link){background:transparent}
:where(.has-black-background-color .wp-block-button.is-style-outline>.wp-block-button__link){border-color:rgba(255,255,255,.72)}

:where(.pi-site-footer){border-bottom:6px solid #D13239}
:where(.pi-site-footer a){color:inherit}

@media (max-width: 960px){
  :where(.pi-site-header-inner){min-height:68px}
  :where(.pi-site-status-grid){gap:34px!important}
  :where(.pi-site-timeline-columns){gap:18px}
  :where(.pi-site-timeline-columns>.wp-block-column:nth-child(1)){flex-basis:9%!important}
  :where(.pi-site-timeline-columns>.wp-block-column:nth-child(2)){flex-basis:43%!important}
  :where(.pi-site-timeline-columns>.wp-block-column:nth-child(3)){flex-basis:31%!important}
  :where(.pi-site-timeline-columns>.wp-block-column:nth-child(4)){flex-basis:17%!important}
}

@media (max-width: 781px){
  :where(.pi-site-header-inner){padding-top:14px!important;padding-bottom:14px!important}
  :where(.pi-site-header .wp-block-site-logo img){max-height:38px}
  :where(.pi-site-hero){min-height:560px!important}
  :where(.pi-site-hero .wp-block-group){padding-top:70px!important;padding-bottom:70px!important}
  :where(.pi-site-status-grid){gap:34px!important}
  :where(.pi-site-status-grid>.wp-block-column){border-top:1px solid rgba(255,255,255,.18);padding-top:22px}
  :where(.pi-site-status-grid>.wp-block-column:first-child){border-top:0;padding-top:0}
  :where(.pi-site-section){padding-top:76px!important;padding-bottom:76px!important}
  :where(.pi-site-timeline-row){padding:26px 0}
  :where(.pi-site-timeline-columns){display:grid!important;grid-template-columns:64px minmax(0,1fr);gap:8px 20px!important}
  :where(.pi-site-timeline-columns>.wp-block-column){flex-basis:auto!important;margin:0!important}
  :where(.pi-site-timeline-columns>.wp-block-column:nth-child(1)){grid-column:1;grid-row:1 / span 2}
  :where(.pi-site-timeline-columns>.wp-block-column:nth-child(2)){grid-column:2;grid-row:1}
  :where(.pi-site-timeline-columns>.wp-block-column:nth-child(3)){grid-column:2;grid-row:2}
  :where(.pi-site-timeline-columns>.wp-block-column:nth-child(4)){grid-column:2;grid-row:3;margin-top:8px!important}
  :where(.pi-site-delivery-grid>.wp-block-column){padding-bottom:24px}
  :where(.pi-site-resources .wp-block-buttons){justify-content:flex-start!important}
}

@media (max-width: 520px){
  :where(.pi-site-hero){min-height:520px!important}
  :where(.pi-site-timeline-columns){grid-template-columns:50px minmax(0,1fr)}
  :where(.pi-site-q){font-size:1.55rem}
  :where(.wp-block-buttons .wp-block-button){width:100%}
  :where(.wp-block-buttons .wp-block-button__link){width:100%;box-sizing:border-box;text-align:center}
}
