/* header */
.main-header {
    padding-top: 180px;
    padding-bottom: 32px;
    background: url(../../../images/common/header-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 56px;
}

.main-header .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 8px;
    text-align: center;
}

.main-header .header-1 {
    font-weight: 700;
    color: var(--dark);
}

.main-header .breadcrumbs {
    display: flex;
    justify-content: center;
    column-gap: 10px;
}
/* header - end */

/* list template */
.main-section { margin-bottom: 56px; }

.template-row { row-gap: 32px; }

.template-row .template-item .card {
    box-shadow: none;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.template-row .template-item .card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 10%);
}

.template-row .template-item .card img {
    height: 100%;
}

.template-row .template-item .card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    background-color: rgb(8, 44, 78, 90%);
    visibility: hidden;
    opacity: 0;
}

.template-row .template-item .card:hover .card-overlay {
    visibility: visible;
    opacity: 1;
}

.template-row .template-item .card .card-overlay .overlay-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.template-row .template-item .card .card-overlay .overlay-content .custom-primary {
    background-color: var(--primary);
}

.template-row .template-item .template-name .header-3 {
    color: var(--secondary);
    text-align: center;
    font-weight: 700;
}
/* list template - end */

@media (max-width: 767.98px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* list-template */
    .template-item .card .card-overlay .custom-primary {
        font-size: 12px !important;
    }

    .template-item .template-name .header-3 {
        font-size: 14px !important;
    }
    /* list-template - end */
}