@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Nunito+Sans:wght@400;500;600;700&display=swap');

.page-mystory-wrap {
    max-width: 800px;
    margin: 45px auto 45px auto;
    animation: fadeUp .4s ease both;
}

.thecatalyst-mystory {
    font-family: "Nunito Sans", Arial, sans-serif;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
    padding: 30px 0 0;
}

.thecatalyst-mystory a {
    color: var(--navy-light);
    text-decoration: none;
    outline: none;
}

.thecatalyst-mystory a:hover {
    color: var(--pink);
}

.mystory-header {
    align-items: flex-start;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 335px;
    min-height: 330px;
    position: relative;
}

.mystory-header-content {
    padding: 30px 0 0 48px;
    position: relative;
    z-index: 2;
}

.mystory-header-content h1 {
    color: var(--navy-dark);
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: clamp(70px, 10vw, 90px);
    font-weight: 600;
    line-height: 0.9;
    margin: 0;
}

.mystory-title-line {
    background: var(--navy-light);
    display: block;
    height: 2px;
    margin: 30px 0 24px;
    width: 70px;
}

.mystory-header-content p {
    color: var(--black);
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
}

.mystory-header-photo {
    align-items: flex-end;
    display: flex;
    height: 365px;
    justify-content: center;
    justify-self: end;
    margin-right: 34px;
    overflow: hidden;
    position: relative;
    width: 295px;
    z-index: 3;
}

.mystory-header-photo:before {
    content: "";
    background-color: #f5f4f5;
    border: solid 4px var(--bg);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.09);
    min-height: 270px;
    min-width: 270px;
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -55%);
}

.mystory-header-photo img {
    display: block;
    height: 375px;
    object-fit: contain;
    object-position: center bottom;
    width: 250px;
}

.mystory-container {
    background-image: url(../images/bg-logo.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto;
    border-radius: 20px;
    box-shadow: 0 0px 15px rgba(11, 15, 55, 0.15);
    margin: -50px 15px 15px;
    padding: 45px 35px 35px 35px;
    position: relative;
    z-index: 1;
}

.mystory-intro {
    border-bottom: 1px solid var(--border);
    margin-bottom: 25px;
    padding-bottom: 25px;
}

.mystory-intro h2 {
    color: var(--navy-dark);
    font-family: "Nunito Sans", Arial, sans-serif;
    /*font-size: clamp(46px, 7vw, 60px);*/
    font-size: clamp(40px, 6vw, 45px);
    font-weight: 600;
    line-height: 1;
    margin: 0 0 12px;
}

.mystory-intro p {
    color: var(--navy-light);
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.mystory-content {
    display: grid;
    gap: 30px;
    grid-template-columns: 78px minmax(0, 1fr);
}

.mystory-timeline {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    position: relative;
}

.mystory-timeline::before {
    background: #d2c9ff;
    bottom: 65px;
    content: "";
    left: 50%;
    position: absolute;
    top: 42px;
    transform: translateX(-50%);
    width: 2px;
}

.mystory-timeline-icon {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(15, 10, 80, 0.12);
    display: block;
    height: 65px;
    margin: 0 0 65px;
    position: relative;
    width: 65px;
    z-index: 2;
}

.mystory-timeline-icon img {
    display: block;
    height: 100%;
    width: 100%;
}

.mystory-timeline-dot {
    background: var(--navy-light);
    border-radius: 50%;
    display: block;
    height: 13px;
    margin: 0px 0 65px;
    position: relative;
    width: 13px;
    z-index: 2;
}

.mystory-timeline-dot-pink {
    background: #ff0aa6;
}

.mystory-copy {
    max-width: 820px;
}

.mystory-copy-paragraph {
    margin-bottom: 25px;
}

.mystory-copy p {
    color: var(--black);
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.9;
    margin: 0 0 10px;
}

.mystory-signoff {    
    margin: 15px 0 8px 112px;
}

.mystory-thanks p {
    color: var(--black);
    font-size: 16px;
    line-height: 1.45;
    margin: 0;
}

.mystory-author {
    align-items: start;
    display: flex;
    gap: 22px;
}

.mystory-author-details {
    border-left: solid 1px var(--border);
    padding-left: 20px;
}

.mystory-thanks {
    padding: 0 0 0 110px;
}

.mystory-author img {
    border-radius: 50%;
    display: block;
    object-fit: cover;
}

.mystory-author-details h3 {
    color: var(--navy-dark);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 4px;
}

.mystory-author-details p {
    color: var(--navy-dark);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.mystory-author-details p .list {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
}

.mystory-author-details svg.calendar-icon {
    fill: var(--navy-light);
    height: auto;
    width: 15px;
}
.mystory-author-details svg.linkedin-icon {
    fill: var(--navy-light);
    height: auto;
    width: 13px;
}
.mystory-author-details svg.email-icon {
    fill: var(--navy-light);
    height: auto;
    width: 14px;
}

.mystory-footer {
    align-items: center;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 20px;
}

.mystory-social {
    display: flex;
    gap: 10px;
}

.mystory-social a {
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--navy-light);
    display: inline-flex;
    height: 40px;
    justify-content: center;
    line-height: 1;
    width: 40px;
}

.mystory-social a svg {
    fill: var(--navy-light);
    height: auto;
    width: 15px;
}

.mystory-subscribe {
    align-items: center;
    background: linear-gradient(90deg, #5225ff 0%, #ef049e 100%);
    border-radius: 999px;
    color: var(--bg) !important;
    display: inline-flex;
    font-size: 16px;
    justify-content: center;
    min-width: 290px;
    padding: 10px 20px;
}

.mystory-subscribe:hover {
    color: var(--bg) !important;
    filter: brightness(0.95);
}

@media (max-width: 900px) {
    .thecatalyst-mystory {
        padding: 32px 14px 0;
    }

    .watch-journey {
        display: block;
    }

    .mystory-header {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .mystory-header-content {
        padding: 16px 0 0;
    }

    .mystory-header-photo {
        height: 330px;
        margin: 18px auto 0;
        width: 330px;
    }

    .mystory-header-photo:before {
        top: 47%;
        transform: translate(-50%, -53%);
    }

    .mystory-container {
        margin-top: -22px;
        padding: 34px 22px 24px;
    }

    .mystory-content {
        grid-template-columns: 1fr;
    }

    .mystory-timeline {
        display: none;
    }

    .mystory-copy {
        padding-top: 0;
    }

    .mystory-signoff {
        grid-template-columns: 1fr;
        margin-left: 0;
    }

    .mystory-footer {
        align-items: center;
        flex-direction: column;
    }

    .mystory-subscribe {
        font-size: 14px;
        min-width: 0;
        width: 100%;
    }

    .mystory-thanks {
        padding-left: 0px;
    }
}

@media (max-width: 560px) {
    .mystory-header-content h1 {
        font-size: 62px;
    }

    .mystory-header-content p,
    .mystory-intro p {
        font-size: 15px;
    }

    .watch-journey {
        display: block;
    }

    .mystory-intro h2 {
        font-size: 44px;
    }

    .mystory-copy p {
        font-size: 17px;
        line-height: 1.75;
    }

    .mystory-author {
        align-items: flex-start;
        flex-direction: column;
    }

    .mystory-thanks {
        padding-left: 0px;
    }

    .mystory-author-details {
        border-left: 0px;
        padding-left: 0px;
    }

    .mystory-author img {
        height: 82px;
        width: 82px;
    }

    .mystory-author-divider {
        display: none;
    }

    .mystory-author-details p .list .connect-title {
        display: none;
    }
}