/* Ana Terra Tattoo · Caderno Vivo 1.23.0
 * Correção solicitada para Meu Dia: o cumprimento ocupa uma faixa própria,
 * sem fotografia ao lado; a foto fica centralizada na altura do cartão de
 * clima e maré. Mesmo componente para aplicativo e demonstração.
 * Não modifica os demais módulos nem o site institucional. */
.att-cv-day-home-v123 .att-cv-day-greeting{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:33px 8px 0;
  margin:0 0 7px;
}
.att-cv-day-home-v123 .att-cv-day-greeting .att-cv-day-kicker{
  margin:0 0 16px!important;
}
.att-cv-day-home-v123 .att-cv-day-greeting h1{
  font:400 clamp(53px,5.4vw,88px)/1.03 Georgia,'Times New Roman',serif!important;
  letter-spacing:-.055em!important;
  color:#3c221b!important;
  margin:0 0 8px!important;
}
.att-cv-day-home-v123 .att-cv-day-greeting .att-cv-day-subtitle{
  font:italic 400 clamp(21px,2.45vw,36px)/1.22 Georgia,'Times New Roman',serif!important;
  color:#a95131!important;
  margin:0!important;
}
.att-cv-day-home-v123 .att-cv-day-greeting .att-cv-day-rule{
  margin:21px 0 3px;
}
/* O cartão e a fotografia formam a mesma faixa, alinhados pelo centro. */
.att-cv-day-home-v123 .att-cv-day-feature-row{
  display:grid;
  grid-template-columns:minmax(0,55.5%) minmax(0,44.5%);
  align-items:center;
  gap:0;
  min-height:0;
  overflow:visible;
  padding:0;
  margin:0;
}
.att-cv-day-home-v123 .att-cv-day-feature-row .att-cv-weather-card{
  width:100%;
  max-width:none;
  margin:0;
  align-self:center;
  z-index:1;
}
.att-cv-day-home-v123 .att-cv-day-feature-row .att-cv-day-portrait{
  display:block;
  position:relative;
  width:min(100%,493px);
  height:auto;
  min-width:0;
  max-height:none;
  margin:0 auto;
  justify-self:center;
  align-self:center;
  overflow:visible;
}
.att-cv-day-home-v123 .att-cv-day-feature-row .att-cv-organic-photo{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  filter:none;
}
.att-cv-day-home-v123 .att-cv-day-start{
  padding-top:16px;
}
@media(min-width:1500px){
  .att-cv-day-home-v123 .att-cv-day-feature-row .att-cv-day-portrait{width:min(100%,515px);}
}
@media(max-width:1240px){
  .att-cv-day-home-v123 .att-cv-day-feature-row{grid-template-columns:minmax(0,56%) minmax(0,44%);}
  .att-cv-day-home-v123 .att-cv-day-feature-row .att-cv-day-portrait{width:min(100%,435px);}
  .att-cv-day-home-v123 .att-cv-day-greeting h1{font-size:clamp(52px,5.1vw,72px)!important;}
  .att-cv-day-home-v123 .att-cv-day-greeting .att-cv-day-subtitle{font-size:clamp(21px,2.3vw,31px)!important;}
}
@media(max-width:980px) and (min-width:761px){
  .att-cv-day-home-v123 .att-cv-day-greeting{padding:24px 5px 0;}
  .att-cv-day-home-v123 .att-cv-day-feature-row{grid-template-columns:minmax(0,58%) minmax(0,42%);}
  .att-cv-day-home-v123 .att-cv-day-feature-row .att-cv-day-portrait{width:100%;}
}
@media(max-width:760px){
  .att-cv-day-home-v123 .att-cv-day-greeting{
    display:flex;
    padding:18px 1px 0;
    margin-bottom:5px;
  }
  .att-cv-day-home-v123 .att-cv-day-greeting .att-cv-day-kicker{margin:0 0 12px!important;order:initial;}
  .att-cv-day-home-v123 .att-cv-day-greeting h1{
    order:initial;
    font-size:clamp(43px,11vw,60px)!important;
    margin:0 0 5px!important;
  }
  .att-cv-day-home-v123 .att-cv-day-greeting .att-cv-day-subtitle{
    order:initial;
    font-size:clamp(20px,5.4vw,27px)!important;
  }
  .att-cv-day-home-v123 .att-cv-day-greeting .att-cv-day-rule{order:initial;margin:15px 0 0;}
  .att-cv-day-home-v123 .att-cv-day-feature-row{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    min-height:0;
    overflow:visible;
  }
  .att-cv-day-home-v123 .att-cv-day-feature-row .att-cv-day-portrait{
    order:0;
    align-self:center;
    width:min(100%,405px);
    height:auto;
    max-height:none;
    margin:-3px auto -6px;
  }
  .att-cv-day-home-v123 .att-cv-day-feature-row .att-cv-weather-card{
    order:1;
    width:100%;
    margin:0 0 12px;
  }
  .att-cv-day-home-v123 .att-cv-day-start{padding-top:12px;}
}
@media(max-width:420px){
  .att-cv-day-home-v123 .att-cv-day-feature-row .att-cv-day-portrait{width:min(100%,365px);margin:-4px auto -2px;}
}
/* O brilho de papel da composição anterior ultrapassava 30px no celular e
   podia produzir rolagem lateral. Mantenha-o dentro da largura do app. */
@media(max-width:760px){
  .att-cv-day-home-v123::before{inset:0 0 -20px;}
}
