/* GhostBase Fotógrafo V1.9.6.7
   Mesmo padrão do portfólio do influenciador V1.9.6.6,
   preservando a imagem inteira, sem corte. */

.gb-ph1951-featured,
.gb-featured-v1945,
.gb1950-featured,
[class*="photographer"] [class*="featured"],
[class*="fotogra"] [class*="featured"]{
    padding-top:42px!important;
    padding-bottom:58px!important;
}

.gb-ph1951-featured .ey,
.gb-featured-v1945 .ey,
.gb1950-featured .ey{
    color:#ff6900!important;
    font-size:11px!important;
    font-weight:900!important;
    letter-spacing:.12em!important;
    text-transform:uppercase!important;
}

.gb-ph1951-featured h2,
.gb-featured-v1945 h2,
.gb1950-featured h2{
    margin:7px 0 22px!important;
    font-size:clamp(28px,3vw,42px)!important;
    line-height:1.05!important;
}

/* Grid */
.gb-ph1951-grid,
.gb-featured-v1945-grid,
.gb1950-grid,
[class*="featured-grid"],
[class*="portfolio-grid"]{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px!important;
    align-items:start!important;
}

/* Cards */
.gb-ph1951-card,
.gb-featured-v1945-card,
.gb1950-card,
[class*="featured-card"],
[class*="portfolio-card"]{
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
    height:100%!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
    border:1px solid #35505a!important;
    border-radius:14px!important;
    background:#0c191f!important;
    box-shadow:none!important;
}

/* FOTO INTEIRA — SEM CORTE */
.gb-ph1951-card img,
.gb-featured-v1945-card img,
.gb1950-card img,
[class*="featured-card"] img,
[class*="portfolio-card"] img{
    width:100%!important;
    height:330px!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center center!important;
    display:block!important;
    background:#091217!important;
    border:0!important;
}

/* Título/legenda abaixo da foto */
.gb-ph1951-meta,
.gb-featured-v1945-meta,
.gb1950-meta,
[class*="featured-card"] .meta,
[class*="portfolio-card"] .meta{
    position:relative!important;
    inset:auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    margin:0!important;
    padding:12px 14px 14px!important;
    background:#0c191f!important;
    min-height:58px!important;
}

.gb-ph1951-meta strong,
.gb-featured-v1945-meta strong,
.gb1950-meta strong{
    display:block!important;
    margin:0!important;
    color:#fff!important;
    font-size:17px!important;
    line-height:1.2!important;
    font-weight:900!important;
}

.gb-ph1951-meta span,
.gb-featured-v1945-meta span,
.gb1950-meta span{
    display:block!important;
    margin-top:5px!important;
    color:#b7c5cb!important;
    font-size:13px!important;
    line-height:1.4!important;
}

/* Tablet */
@media (max-width:980px){
    .gb-ph1951-grid,
    .gb-featured-v1945-grid,
    .gb1950-grid,
    [class*="featured-grid"],
    [class*="portfolio-grid"]{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }

    .gb-ph1951-card img,
    .gb-featured-v1945-card img,
    .gb1950-card img,
    [class*="featured-card"] img,
    [class*="portfolio-card"] img{
        height:300px!important;
    }
}

/* Mobile */
@media (max-width:620px){
    .gb-ph1951-grid,
    .gb-featured-v1945-grid,
    .gb1950-grid,
    [class*="featured-grid"],
    [class*="portfolio-grid"]{
        grid-template-columns:1fr!important;
        gap:12px!important;
    }

    .gb-ph1951-card img,
    .gb-featured-v1945-card img,
    .gb1950-card img,
    [class*="featured-card"] img,
    [class*="portfolio-card"] img{
        height:auto!important;
        max-height:520px!important;
        object-fit:contain!important;
    }
}