.act-cpt-loop {
    width: 100%;
    padding: 2rem 0;
}

/* Layout Grid */
.act-cpt-loop.layout-grid .cpt-container {
    display: grid;
    gap: 2rem;
}

.act-cpt-loop.layout-grid .cpt-container.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.act-cpt-loop.layout-grid .cpt-container.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.act-cpt-loop.layout-grid .cpt-container.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Layout List */
.act-cpt-loop.layout-list .cpt-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.act-cpt-loop.layout-list .cpt-card {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.act-cpt-loop.layout-list .cpt-thumbnail {
    flex: 0 0 300px;
    max-width: 300px;
}

.act-cpt-loop.layout-list .cpt-content {
    flex: 1;
}

/* Card */
.cpt-item {
    position: relative;
}

.cpt-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cpt-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Thumbnail */
.cpt-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f5f5f5;
}

.cpt-thumbnail a {
    display: block;
    height: 100%;
}

.cpt-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cpt-card:hover .cpt-thumbnail img {
    transform: scale(1.05);
}

/* Content */
.cpt-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Title */
.cpt-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.cpt-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cpt-title a:hover {
    color: var(--wp--preset--color--cor-1, #007bff);
}

/* Excerpt */
.cpt-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
    flex: 1;
}

.cpt-excerpt p {
    margin: 0;
}

/* Footer */
.cpt-footer {
    margin-top: auto;
}

/* Button */
.cpt-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--wp--preset--color--cor-1, #007bff);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    text-align: center;
}

.cpt-btn:hover {
    background-color: var(--wp--preset--color--cor-1-dark, #0056b3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* =========================
   Layout Blog
========================= */

.act-cpt-loop.layout-blog .cpt-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.act-cpt-loop.layout-blog .blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.act-cpt-loop.layout-blog .cpt-container .cpt-item:nth-child(even) .cpt-card.blog-card {
    flex-direction: column-reverse;
}

.act-cpt-loop.layout-blog .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.act-cpt-loop.layout-blog .cpt-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f5f5;
}

.act-cpt-loop.layout-blog .cpt-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.act-cpt-loop.layout-blog .cpt-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.act-cpt-loop.layout-blog .blog-card:hover .cpt-thumbnail img {
    transform: scale(1.05);
}

.act-cpt-loop.layout-blog .cpt-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.act-cpt-loop.layout-blog .cpt-title {
    color: var(--wp--preset--color--cor-1, #007bff);
    margin: 0 0 1rem 0;
    line-height: 1.15;
}

.act-cpt-loop.layout-blog .cpt-title a {
    color: var(--wp--preset--color--cor-1, #007bff);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.act-cpt-loop.layout-blog .cpt-title a:hover {
    color: var(--wp--preset--color--cor-2, #007bff);
}

.act-cpt-loop.layout-blog .cpt-excerpt {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.act-cpt-loop.layout-blog .cpt-excerpt p {
    margin: 0;
}

/* =========================
   Layout Depoimentos
========================= */

.act-cpt-loop.layout-depoimentos .custom_titulo,
.act-cpt-loop.layout-depoimentos .cpt-container {
    display: flex;
    gap: 1rem;
    color: #1c1c1c;
    max-width: 1576px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    margin-left: auto;
    margin-right: auto;
}

.custom_titulo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.custom_titulo h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: var(--wp--preset--font-size--fonte-36px);
    font-weight: 300;
    width: 100%;
    max-width: 574px;
}

.cpt-btn-ver-mais {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f2f2f2;
    border-radius: 100px;
    height: 55px;
    width: 100%;
    max-width: 190px;
    padding: 6px 17px;
    margin-right: 0;
    text-decoration: none;
    background: #C89116;
    transition: all .4s;
}

.cpt-btn-ver-mais:hover {
    transform: translateY(-5px);
    background-color: var(--wp--preset--color--cor-1);
}

.custom_titulo h2 span {
    max-width: 464px;
    color: #1c1c1c;
}

.custom_titulo h2 svg {
    min-width: 66px;
}

.act-cpt-loop.layout-depoimentos .cpt-card {
    background-color: transparent;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: none;
}

.act-cpt-loop.layout-depoimentos .cpt-card .cpt-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 412/524;
    max-width: 412px;
    border-radius: 5px;
    overflow: hidden;
}

.act-cpt-loop.layout-depoimentos .cpt-card .cpt-thumbnail video {
    aspect-ratio: 412/524;
    width: 100%;
    object-fit: cover;
    max-width: 412px;
    overflow: hidden;
}

.act-cpt-loop.layout-depoimentos .cpt-card .cpt-thumbnail video:fullscreen {
    object-fit: contain;
    max-width: 100%;
    aspect-ratio: auto;
}

.act-cpt-loop.layout-depoimentos .cpt-card .cpt-thumbnail img {
    border-radius: 5px;
}


/* =========================
   Layout Instrutores
========================= */

.act-cpt-loop.layout-instrutores .cpt-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.act-cpt-loop.layout-instrutores .instrutor-card .cpt-thumbnail img {
    border-radius: 50%;
}

.act-cpt-loop.layout-instrutores .instrutor-card .cpt-thumbnail {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(270deg, #C89116 0%, #DFCEA9 100%);
    max-width: 320px;
    max-height: 320px;
    height: 100%;
    width: 100%;
    margin: auto;
}

.act-cpt-loop.layout-instrutores .instrutor-card:hover {
    transform: translateY(-5px);
}

.act-cpt-loop.layout-instrutores .instrutor-card:hover .cpt-thumbnail img {
    transform: unset;
}

.act-cpt-loop.layout-instrutores .cpt-card.instrutor-card {
    background-color: transparent;
    box-shadow: unset;
}

/* .act-cpt-loop.layout-instrutores .cpt-card.instrutor-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
} */

.act-cpt-loop.layout-instrutores .instrutor-card .cpt-content {
    text-align: center;
    padding: 1.25rem;
}

.act-cpt-loop.layout-instrutores .instrutor-card .cpt-title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
    max-width: 200px;
    margin: auto;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Responsividade - Grid */
@media screen and (max-width: 1536px) {
    .act-cpt-loop.layout-depoimentos .cpt-card .cpt-thumbnail {
        max-width: 312px;
    }
}

@media screen and (max-width: 1399px) {
    .act-cpt-loop.layout-depoimentos .cpt-container {
        max-width: 1040px;
    }

    .act-cpt-loop.layout-depoimentos .cpt-card {
        flex-direction: column;
    }

    .act-cpt-loop.layout-depoimentos .cpt-card .cpt-thumbnail {
        max-width: 100%;
    }
}

@media screen and (max-width: 991px) {
    .act-cpt-loop.layout-grid .cpt-container.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .act-cpt-loop {
        padding: 1.5rem 0;
    }

    .act-cpt-loop.layout-instrutores .cpt-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .act-cpt-loop.layout-instrutores .instrutor-card .cpt-title {
        font-size: 1.25rem;
    }

    .cpt-btn-ver-mais {
        margin-right: auto;
    }

    .act-cpt-loop.layout-blog .cpt-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {

    .act-cpt-loop.layout-grid .cpt-container.columns-3,
    .act-cpt-loop.layout-grid .cpt-container.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .act-cpt-loop.layout-grid .cpt-container {
        gap: 1.5rem;
    }

    .cpt-content {
        padding: 1.25rem;
    }

    .cpt-title {
        font-size: 1.125rem;
    }

    .act-cpt-loop.layout-depoimentos .cpt-container {
        flex-direction: column;
    }

    .act-cpt-loop.layout-depoimentos .cpt-container .cpt-item {
        max-width: 440px;
        margin: 0 auto 2rem;
    }


    .act-cpt-loop.layout-list .cpt-card {
        flex-direction: column;
    }

    .act-cpt-loop.layout-list .cpt-thumbnail {
        flex: 1;
        max-width: 100%;
    }

    .act-cpt-loop.layout-blog .cpt-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .act-cpt-loop.layout-blog .cpt-container .cpt-item:nth-child(even) .cpt-card.blog-card {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    .act-cpt-loop.layout-grid .cpt-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cpt-title {
        font-size: 1rem;
    }

    .cpt-excerpt {
        font-size: 0.875rem;
    }

    .act-cpt-loop.layout-instrutores .cpt-container {
        grid-template-columns: 1fr;
    }
}