/* ---------------------------------------------------------------------------
   Gallery Crescer – builder element styles
   --------------------------------------------------------------------------- */

.gc-gallery-crescer .gc-card {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 2px 10px rgba(24, 39, 75, 0.08);
}
.gc-gallery-crescer .gc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(24, 39, 75, 0.12);
}
.gc-gallery-crescer .gc-thumb-wrap {
    position: relative;
    background: #eceff3;
    aspect-ratio: 16 / 9;
}
.gc-gallery-crescer .gc-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gc-gallery-crescer .gc-count {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(255, 255, 255, 0.85);
    color: #2a3d52;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1;
    padding: 6px 8px;
}
.gc-gallery-crescer .gc-body {
    padding: 12px;
}
.gc-gallery-crescer .gc-title {
    margin: 0;
    font-size: 16px;
    color: #1e3a8a;
    line-height: 1.3;
}
.gc-gallery-crescer .gc-description {
    margin: 8px 0 0;
    font-size: 14px;
    color: #53657a;
    line-height: 1.5;
}
.gc-gallery-crescer .gc-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.gc-gallery-crescer .gc-open-lightbox.is-loading {
    pointer-events: none;
    opacity: .7;
}
.gc-gallery-crescer .gc-debug-box {
    margin-top: 10px;
    padding: 8px;
    border: 1px dashed #f59e0b;
    border-radius: 6px;
    background: #fffbeb;
    font-size: 12px;
    color: #7c2d12;
    word-break: break-all;
}
.gc-gallery-crescer .gc-debug-box strong {
    color: #92400e;
}

/* GRID DINÂMICO DE CORES */
.grid-dinamic-color .el-content{
    text-align: left;
}

.grid-dinamic-color .el-item .uk-card-body{
    padding-top: 0;
}

.grid-dinamic-color .el-item .el-title,
.grid-dinamic-color .el-item .el-content{
    color: #fff;
}

/* CORES DINÂMICAS */
.grid-dinamic-color .uk-grid > *:nth-child(1) .el-item{ --cor: #2e5bff; }
.grid-dinamic-color .uk-grid > *:nth-child(2) .el-item{ --cor: #C92828; }
.grid-dinamic-color .uk-grid > *:nth-child(3) .el-item{ --cor: #19772E; }
.grid-dinamic-color .uk-grid > *:nth-child(4) .el-item{ --cor: #203587; }

.grid-dinamic-color2 .uk-grid > *:nth-child(1) .el-item{ --cor:#602C83; }
.grid-dinamic-color2 .uk-grid > *:nth-child(2) .el-item{ --cor:#E99616; }

.grid-dinamic-color2 .el-item{
   background: var(--cor);
   transition: transform .3s ease, box-shadow .3s ease;
}
.grid-dinamic-color .el-item{
    background: var(--cor);
    transition: transform .3s ease, box-shadow .3s ease;
}

/* MEDIA */
.grid-dinamic-color .el-item .uk-card-media-top, 
.grid-dinamic-color2 .el-item .uk-card-media-left{
    position: relative;
}


/* ONDA */
.grid-dinamic-color .el-item .uk-card-media-top:after, 
.grid-dinamic-color2 .el-item .uk-card-media-left:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    clip-path: path("M0,40 C74,55 121,0 328,30 C560,60 666,20 861,40 L848,0 L-2,0 Z");    
}
.grid-dinamic-color .el-item .uk-card-media-top:after{ 
  height: 60px;
  transform: rotate(180deg);
   background: var(--cor);
}
.grid-dinamic-color2 .el-item .uk-card-media-left:after{ 
    height: 100%;
    transform: rotate(90deg);
    left: -60px;
    background: var(--cor);
    top: 0;
    bottom: 0;
    width: 360px;
}

/* LINKS */
.grid-dinamic-color2 .el-item .el-link{
  background-color: #ffff !important;
}
.grid-dinamic-color .el-item .el-link,
.grid-dinamic-color2 .el-item .el-link{
    color: var(--cor) !important;
    border-color: var(--cor) !important;
    transition: all .3s ease;
}

.grid-dinamic-color .el-item:hover .el-link,
.grid-dinamic-color2 .el-item:hover .el-link{
    color: #fff !important;
    background: var(--cor) !important;
    border-color: var(--cor) !important;
    filter: brightness(1.2);
}

/* HOVER CARD */
.grid-dinamic-color .el-item:hover,
.grid-dinamic-color2 .el-item:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
/* END GRID DINÂMICO DE CORES */


.uk-navbar-nav > li > a {
    padding: 0 16px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    min-height: 35px !important;
    height: auto !important;
}
@media (min-width: 960px) {
    :not(.uk-sticky-below)>.uk-navbar-container:not(.uk-navbar) {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

.uk-navbar{
    position: initial !important;
}


.tm-toolbar-default{
    position: relative;
    z-index: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: linear-gradient(90deg,#ffffff calc(100vw - 50vw),#c92828 calc(100vw - 50vw)) !important
}
.tm-toolbar-default .uk-container{
    background-color: #c92828;
    padding-left: 0 !important;
    position: relative;
    left: 126px;
    min-height: 50px;
}

.tm-header .uk-navbar-left .uk-logo{
    display: block;
    max-width: 220px;
    width: 100%;
    position: absolute;
    top: -51px;
    background-color: #fff;
    z-index: 2;
    padding-top: 10px;
} 
 
 .tm-header .uk-navbar-container:not(.uk-navbar-sticky) .uk-navbar-left .uk-logo::before{
    content: "";
    display: block;
    width: 60px;
    height: 51px;
    background-color: #c92828;
    position: absolute;
    right: -1px;
    top: 0;
    clip-path: polygon( 100% 0%, 14.6% 0%, 0.3% 1.8%, 21.6% 9.4%, 26.2% 13.2%, 31.6% 18.9%, 34.4% 22.6%, 37.6% 28.3%, 39.1% 32.1%, 41% 37.7%, 42% 41.5%, 43.2% 47.2%, 43.8% 50.9%, 44.3% 56.6%, 44.5% 60.4%, 45.3% 66%, 46.3% 69.8%, 48.5% 75.5%, 50.6% 79.2%, 54.9% 84.9%, 60.7% 89.7%, 63.2% 93.3%, 80% 100%, 100% 100% );
    
} 

@media (min-width: 960px) {
    .uk-sticky-fixed>.uk-navbar-container:not(.uk-navbar){
                padding-top: 20px;
        padding-bottom: 20px;
    }
    .uk-sticky-fixed>.uk-navbar-container:not(.uk-navbar) .uk-logo{
        top: 0;
        background: transparent;
    }
   

}