
*, *::after, *::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 300;
}

html {
    min-height: 100%;
    background: #060717;
}

body {
    position: relative;
    margin: 0;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--color-tag-body-text);
    line-height: 1.6;
}

a {
    color: var(--color-tag-a);
    text-decoration: none;
}

strong {
    font-weight: 500;
}

h1 {
    font-weight: 500;
    font-size: 2em;
}

h3 {
    font-weight: 400;
}

article h2 {
    margin: 15px 0;
}

article h3 {
    margin: 15px 0;
}

article h4 {
    margin: 15px 0;
}

article iframe {
    margin: 15px 0;
}

/* Global */


main#content {
    position: relative;
    top: 78px; /* because of the header */
    min-height: calc(100vh - 400px);
    background: var(--color-tag-main-bg);
}

main#content .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 0;
}

main#content h1 {
    margin-bottom: 20px;
}

main#content h2 {

}

main#content h3 {
    margin-bottom: 15px;
}

main#content p {
    margin: 15px 0;
}

main#content ol, main#content ul {
    padding-left: 30px;
}

@media (max-width: 1150px) {
    main#content .container > section {
        padding: 0 5%;
    }
}

/* Buttons */

.lm-cta {
    display: block;
    width: fit-content;
    height: fit-content;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: var(--color-button-bg-cta);
    font-weight: 400;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.lm-cta:hover {
    background-color: #fff;
    color: #000;
}
.lm-cta.small {
    padding: 5px 10px;
    font-size: 0.8em;
}

.lm-btn-link {
    display: flex;
    width: auto;
    margin: 20px 0;
    height: 40px;
    align-items: center;
    justify-content: center;
}
.lm-btn-link a:hover {
    background: #d9e0f3;
    padding: 10px 20px;
    border-radius: 7px;
}

.lm-button {
    display: block;
    width: fit-content;
    height: fit-content;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    outline: 1px solid #cbcbcb;
    background: #fff;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.lm-button:hover {
    background-color: #f4f4f4;
    color: #000;
}
.lm-button.small {
    padding: 5px 10px;
    font-size: 0.8em;
}

/* Forms */

.lm-input, .lm-select {
    position: relative;
    display: inline-block;
}

.lm-input input {
    min-width: 200px;
    padding: 9px 16px;
    border-radius: 3px;
    border: 1px solid #d4d4d4;
}

.lm-select select {
    min-width: 200px;
    padding: 9px 40px 9px 16px;
    border-radius: 3px;
    border: 1px solid #d4d4d4;
    appearance: none;          /* Standard */
    -webkit-appearance: none;  /* Chrome, Safari, Opera */
    -moz-appearance: none;     /* Firefox */
}

.lm-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;  /* adjust to move the arrow horizontally */
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333; /* arrow color */
    pointer-events: none;
    z-index: 12;
}


/* Common */

.lm-breadcrumbs {
    padding: 0 20px;
}

.content-status {
    position: absolute;
    top: 10px;
    right: 30px;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 1em;
    line-height: 1em;
}
.content-status.small {
    padding: 5px 6px 3px;
    border-radius: 3px;
    font-size: .7em;
    line-height: .7em;
}
.content-status.publish {
    background: #c6ebd6;
    border: 1px solid #89e089;
    color: #24b524;
}
.content-status.draft {
    background: #ffeed3;
    border: 1px solid #f6c53f;
    color: #f4a545;
}

/* Hero Section */

.lm-hero__container {
    position: relative;
    display: flex;
    align-items: center;
    height: 500px;
    text-align: center;
    padding: 40px 20px;
    background-repeat: no-repeat;
    background-position: 0 30%;
    background-size: cover;
}
.lm-hero__color-filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #39006166;
    z-index: 1;
}
.lm-hero__content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 50px;
    border-radius: 15px;
    background: #0000009e;
    z-index: 2;
}
.lm-hero__content h1 {
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
}
.lm-hero__content p {
    font-size: 1.2em;
    color: #fff;
    max-width: 800px;
    margin: 0;
}
.lm-hero__content p strong {
    font-weight: 500;
    color: var(--color-tag-strong)
}

.lm-hero__cta {
    display: block;
    width: fit-content;
    margin: 25px auto 10px;
    padding: 10px 20px;
    border-radius: 9px;
}

/* Filter Section */

.lm-filters__container {
    background-color: var(--color-section-bg-light);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 50px;
    color: var(--color-section-text-dark);
}
.lm-filters__title {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 20px;
}
.lm-filters__form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.lm-filters__group {
    display: flex;
    flex-direction: column;
}
.lm-filters__label {
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.9rem;
}
.lm-filters__select {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.lm-filters__search {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.lm-filters__buttons {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.lm-filters__reset {
    padding: 10px 20px;
    background-color: #f5f5f5;
    color: #333;
    font-weight: 400;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.lm-filters__reset:hover {
    background-color: #e9e9e9;
}

/* Cards */

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.event-card, .knowledge-card, .blog-card {
    position: relative;
    border: 1px solid #eee;
    border-radius: 15px;
    background: var(--color-card-bg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover, .knowledge-card:hover, .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.event-card a, .knowledge-card a, .blog-card a {
    display: block;
    height: 100%;
}
.card-content {
    padding: 15px;
    text-align: left;
}
.card-title {
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 10px;
}
.card-location {
    display: flex;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 6px;
    font-size: .8em;
    color: #000;
}
.card-date {
    height: 50px;
    background: var(--color-label-bg);
    line-height: 50px;
    font-weight: 500;
    font-size: 1.3em;
    text-align: center;
    color: var(--color-label-text);
}
.card-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
}
.card-excerpt {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
}

.lm-blog-card {
    border: 1px solid #eee;
    border-radius: 15px;
    background: var(--color-card-bg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lm-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.lm-blog-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lm-blog-card__header {
    position: relative;
    height: 180px;
    background-image: url(https://www.q2lifespan.com/wp-content/uploads/2025/02/Y7d265_7i08-scaled.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.lm-blog-card__read-time {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    background: #0000005c;
    font-size: .8em;
    color: #fff;
    z-index: 2;
}

.lm-blog-card__header-overlay {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 8px 15px;
    background-image: linear-gradient(180deg, transparent 0%, transparent 60%, #414141a6 100%);
}

.lm-blog-card__content {
    padding: 15px;
    text-align: left;
}

.lm-blog-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #777;
}

.lm-blog-card__date {

}

.lm-blog-card__category {
    display: block;
    background: #eee;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: .8em;
}

.lm-blog-card__title {
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 10px;
}

.lm-blog-card__excerpt {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
}

.lm-blog-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding: 15px;
}
.lm-blog-card__author {
    color: #555;
    font-size: .8em;
}

/* Sidebar */

.lm-sidebar-widget {
    margin-bottom: 16px;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.lm-sidebar-widget__content {
    padding: 20px;
}

.lm-sidebar-widget__title {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 1.2em;
}

.lm-sidebar__socials a {
    display: flex;
    align-items: center;
    margin: 0.5rem;
    font-size: 1.0rem;
    text-decoration: none;
}

.lm-sidebar__socials a .icon {
    margin-right: 10px;
}


/* Events */

.lm-event-list-item {
    position: relative;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lm-event-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.lm-event-list-item__container {
    display: flex;
}
.lm-event-list-item h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}
.lm-event-list-item p {
    font-size: 1em;
    color: #555;
}
.lm-event-list-item__date {
    width: 70px;
    text-align: center;
    margin: 5px;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
}
.lm-event-list-item__date-day {
    font-size: 2.5em;
    color: #000;
}
.lm-event-list-item__date-month {
    font-size: 1em;
    color: var(--color-label-text);
    background: var(--color-label-bg);
}
.lm-event-list-item__info {
    padding: 11px 20px;
}
.lm-event-list-item__info-organizer {
    color: #000;
}
.lm-event-list-item__info-time {
    color: #000;
}

/* Influencers */

.lm-influencers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.lm-influencer-list-item {
    width: 340px;
    height: 340px;
    border: 1px solid #eee;
    border-radius: 21px;
    background: #fff;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lm-influencer-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.lm-influencer-list-item__link {
    display: block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.lm-influencer-list-item__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 15px;
    background-image: linear-gradient(180deg, #00000000, #00000000 30%, #000000b0 95%);
}
.lm-influencer-list-item__name {
    font-size: 1.4em;
    margin-bottom: 5px;
}
.lm-influencer-list-item__types {
    font-size: 0.9em;
    color: #fff;
}

/* Resources */

.lm-resource-list-item {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lm-resource-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.lm-tag {
    background: #eee;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: .8em;
    color: #555;
}
.lm-resource-list-item__title {
    margin-bottom: 7px;
    font-size: 1.2em;
}
.lm-resource-list-item__types {
    margin-bottom: 10px;
}
.lm-resource-list-item__read-time {
    margin-left: 10px;
    font-size: .8em;
    color: #555;
}
.lm-resource-list-item__excerpt {
    margin-bottom: 10px;
    color: #555;
}
.lm-resource-list-item__date {
    color: #bebebe;
    font-size: .8em;
    font-weight: 500;
}

/* BAD OVERRIDES */

.menu-item.page-item-146 {
    margin-top: 3px;
}