/* Microsite Layout */
.kt550-microsite .site-container {
    padding-top: 0;
}

.kt550-microsite.page-template-default .page-content h1.no-subh {
    margin-bottom: 0;
}

/* Header */
.kt550-header {
    background: #fff;
    padding: 20px 0 30px 0;
}

.kt550-header .wrap {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.kt550-title {
    color: #a7231f;
    text-align: left;
    font-family: "Cascadia Code", sans-serif;
    font-weight: 900;
    font-size: 2.75rem;
}

h1.page-title-empty {
    display: none;
}

.kt550-desc {
    color: #000;
    text-align: left;
    font-family: "Cascadia Code", sans-serif;
    font-weight: 300;
}

.kt550-branding {
    font-family: 'Noto Serif', serif;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 5px 30px 5px;
}

.kt550-branding a {
    text-decoration: none;
    color: #333;
}

.kt550-logo {
    max-height: 80px;
    width: auto;
    display: block;
}

/* Content */
.kt550-microsite .site-inner {
    margin: 0 0 30px 0;
    padding: 0;
}

.kt550-microsite .page-content {
    max-width: none !important;
    margin-left: 0 !important;
}

.page-template-default .page-content h1.no-subh {
    margin-left: 0 !important;
}

/* Footer */
.kt550-microsite .footer {
    display: none;
}

.kt550-footer {
    background: #f9f9f9;
    padding: 15px 0;
    border-top: 2px solid #fff;
}

.kt550-footer .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.kt550-partners-logos {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 20px;
}

.kt550-partners-logos img {
    height: 60px;
    width: auto !important;
    vertical-align: middle;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.kt550-partners-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.kt550-copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* Partners section */
.kt550-partners {
    background: #f9f9f9;
    padding: 50px 0;
    border-top: 2px solid #fff;
}

.kt550-partners .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.kt550-partners-title {
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 50px;
    color: #888;
}

/* BTNs */
.kt550-btn,
.kt550-microsite [type="submit"] {
    background-color: #a7231f;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 25px;
    text-transform: uppercase;
    width: auto;
    text-decoration: none;
    line-height: 1;
}

.kt550-btn:hover,
.kt550-microsite [type="submit"]:hover {
    background-color: #8b0000;
    text-decoration: none !important;
}

.kt550-btn--inverse {
    background-color: #fff;
    border: 1px solid #a7231f;
    color: #a7231f;
}

.kt550-btn--inverse:hover {
    background-color: #a7231f;
    color: #fff;
}

/* Form */
.kt550-microsite form>p {
    margin: 0;
}

.kt550-microsite form:not(.kt550-filters) label {
    margin-top: 1rem;
    display: inline-block;
    width: 100%;
    cursor: pointer;
}

.kt550-microsite form .kt550-types-wrap label {
    margin-top: 0;
    width: auto;
    cursor: pointer;
}

.kt550-types-wrap {
    display: flex;
    flex-direction: row;
    column-gap: 1.5rem;
    flex-wrap: wrap;
}

/* Grid Layout Override for Desktop to 3 columns */
@media (min-width: 1024px) {
    .kt550-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .kt550-card {
        margin-bottom: 0;
        /* Reset margin if grid handles gap */
        display: flex;
        flex-direction: column;
        height: 100%;
    }
}

.kt550-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.kt550-excerpt {
    flex-grow: 1;
}

.kt550-read-more {
    margin-top: 20px;
    align-self: flex-start;
}

/* Meta Icons */
.kt550-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    line-height: 1.4;
    color: #a7231f;
}

.kt550-meta-item svg {
    flex-shrink: 0;
    margin-right: 8px !important;
}

/* Respo */
@media only screen and (max-width: 1023px) {
    .kt550-title {
        font-size: 1.75rem;
    }

    .kt550-desc {
        font-size: 1rem;
    }

    .kt550-branding {
        padding: 0;
    }
}