/* ==========================================================================
   Her Peptides — Research Centre (blog.html)
   Depends on assets/css/style.css for the shared tokens and shell styles.
   ========================================================================== */

.site-header {
    background: #fff;
}

.blog-page {
    background: #fff;
}

.blog-page .section {
    padding: 54px 0 0;
    scroll-margin-top: 110px;
}

/* inline glyphs the icon font does not ship */
.ic-drop,
.ic-flask {
    flex: none;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--pink);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* shared pill button, outline variant */
.btn-outline-pink {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--pink-soft);
    border-radius: 10px;
    color: var(--pink-dark);
    background: #fff;
    padding: 11px 24px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 400;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.btn-pink {
    border-radius: 10px;
}

.btn-outline-pink:hover,
.btn-outline-pink:focus {
    color: #fff;
    background: var(--pink);
    border-color: var(--pink);
}

.btn-outline-pink i {
    font-size: 17px;
}

/* small uppercase section header with a link on the far right */
.rc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.rc-head h2 {
    margin: 0;
    color: var(--pink);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

/* ================================== hero ================================== */

.rc-hero {
    position: relative;
    overflow: hidden;
    padding: 16px 0 52px;
    border-radius: 0 0 22px 22px;
    background: linear-gradient(to bottom, #fff, #fff6f9);
}

.rc-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -90px;
    width: 320px;
    height: 320px;
    border-radius: 50% 50% 50% 0;
    background: rgba(255, 255, 255, .5);
}

.rc-hero .container {
    position: relative;
    z-index: 2;
}

.rc-hero-copy .eyebrow {
    font-size: 11px;
    margin-bottom: 14px;
}

.rc-hero-copy h1 {
    margin: 0;
    font-size: 52px;
    line-height: 1.12;
}

.rc-hero-copy h1 span {
    color: var(--pink);
}

.rc-hero-copy p {
    max-width: 460px;
    margin: 18px 0 0;
    color: #6f6669;
    font-size: 15px;
    font-weight: 400;
}

.rc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

/* hero collage */
.rc-hero-art {
    position: relative;
    min-height: 522px;
    padding: 8px 0 14px;
}

.rc-hero-photo {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(200, 68, 126, .14);
}

.rc-float {
    position: absolute;
    z-index: 3;
    border-radius: 16px;
    background: #fff;
    padding: 16px 18px;
    box-shadow: 0 14px 34px rgba(35, 32, 31, .12);
}

.rc-float-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
}

.rc-float-head img {
    flex: none;
    width: 17px;
}

.rc-float--study {
    top: 22px;
    right: 42px;
    width: 208px;
}

.rc-float--study p {
    margin: 10px 0 0;
    color: #6f6669;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.55;
}

.rc-float--study a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--pink);
    font-size: 12.5px;
}

.rc-float--study a:hover {
    color: var(--pink-dark);
}

.rc-float--trust {
    left: -32px;
    bottom: -5px;
    width: 196px;
    padding-bottom: 54px;
    background: linear-gradient(90deg, #ef8bb6c9, #e26a9fb5);
    color: #fff;
    box-shadow: 0 16px 36px rgba(200, 68, 126, .3);
}

.rc-float--trust .rc-float-head {
    color: #fff;
}

.rc-trust-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.rc-trust-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 0;
    font-size: 12.5px;
    font-weight: 400;
}

.rc-trust-list i {
    flex: none;
    font-size: 15px;
    opacity: .95;
}

.rc-trust-lotus {
    position: absolute;
    left: 50%;
    bottom: 12px;
    width: 46px;
    transform: translateX(-50%);
    opacity: .45;
}

.rc-float--stat {
    right: 70px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 234px;
    justify-content: space-between;
}

.rc-float--stat strong {
    display: block;
    font-family: var(--serif);
    font-size: 50px;
    font-weight: 500;
    line-height: 1;
}

.rc-float--stat span {
    display: block;
    margin-top: 6px;
    color: #6f6669;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.rc-spark {
    flex: none;
    width: 58px;
    height: 58px;
    fill: none;
    border-radius: 100%;
}

/* ============================== browse by topic ============================= */

.rc-topics-sec {
    margin-top: -30px;
    position: relative;
    z-index: 4;
    background: linear-gradient(to top, #fff, #fff6f9);
}

.rc-topics {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 14px 34px rgba(200, 68, 126, .07);
}

.rc-topics .rc-head {
    margin-bottom: 12px;
    padding: 0 20px;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.topic-grid li + li {
    border-left: 1px solid #f7e7ee;
}

.topic-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 14px 8px 6px;
    text-align: center;
}

.topic-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--pink-tint);
    transition: background .2s ease, transform .2s ease;
}

.topic-icon i {
    color: var(--pink);
    font-size: 25px;
}

.topic-icon .ic-drop {
    width: 26px;
    height: 26px;
}

.topic-item:hover .topic-icon {
    background: var(--pink-soft);
    transform: translateY(-2px);
}

.topic-label {
    font-size: 13px;
    line-height: 1.35;
}

.topic-item:hover .topic-label {
    color: var(--pink-dark);
}

/* ============================= featured resource ============================ */

.rc-featured {
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    overflow: hidden;
    border-radius: 20px;
    background: #f8edf1;
}

.rc-featured-copy {
    position: relative;
    overflow: hidden;
    padding: 40px 44px;
    align-self: center;
}

.rc-featured-copy .eyebrow {
    font-size: 11px;
    color: var(--pink-dark);
}

.rc-featured-copy h2 {
    max-width: 560px;
    margin: 16px 0 0;
    font-size: 32px;
    line-height: 1.2;
}

.rc-featured-copy p {
    max-width: 400px;
    margin: 14px 0 0;
    color: #6f6669;
    font-size: 13.5px;
    font-weight: 400;
}

.rc-featured-copy .btn-pink {
    margin-top: 24px;
}

.rc-featured-lotus {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 190px;
    opacity: .45;
    pointer-events: none;
}

.rc-featured-media {
    position: relative;
    min-height: 300px;
}

.rc-featured-media > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rc-featured-stats {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    width: 190px;
    border-radius: 14px;
    background: #fff;
    margin: 0;
    padding: 20px 18px;
    list-style: none;
    box-shadow: 0 12px 30px rgba(35, 32, 31, .12);
}

.rc-featured-stats li {
    display: flex;
    align-items: center;
    gap: 13px;
}

.rc-stat-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--pink-tint);
}

.rc-stat-icon i {
    color: var(--pink);
    font-size: 20px;
}

.rc-featured-stats strong {
    display: block;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.rc-featured-stats span {
    display: block;
    margin-top: 5px;
    color: #6f6669;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.35;
}

/* ============================= latest resources ============================ */

.rc-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rc-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.rc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(200, 68, 126, .12);
}

.rc-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
}

.rc-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rc-card-badge {
    position: absolute;
    left: 14px;
    bottom: -19px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 16px rgba(35, 32, 31, .12);
}

.rc-card-badge i {
    color: var(--pink);
    font-size: 18px;
}

.rc-card-badge .ic-drop {
    width: 19px;
    height: 19px;
}

.rc-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 30px 16px 18px;
}

.rc-cat {
    color: #eb87b1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.rc-card h3 {
    margin: 8px 0 0;
    font-size: 17px;
    line-height: 1.32;
}

.rc-card p {
    margin: 10px 0 0;
    color: #7d7477;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.6;
}

.rc-more {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--pink);
    font-size: 12.5px;
}

.rc-more i {
    transition: transform .2s ease;
}

.rc-card:hover .rc-more {
    color: var(--pink-dark);
}

.rc-card:hover .rc-more i {
    transform: translateX(3px);
}

/* ============================== learning paths ============================= */

.path-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.path-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    padding: 20px 18px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.path-card:hover {
    transform: translateY(-3px);
    border-color: var(--pink-soft);
    box-shadow: 0 16px 32px rgba(200, 68, 126, .1);
}

.path-card.is-active {
    background: var(--pink-tint);
    border-color: var(--pink-soft);
}

.path-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(224, 92, 150, .09);
}

.path-icon i {
    color: var(--pink);
    font-size: 28px;
}

.path-icon .ic-drop,
.path-icon .ic-flask {
    width: 30px;
    height: 30px;
}

.path-card h3 {
    margin: 0;
    font-size: 16.5px;
}

.path-card p {
    margin: 8px 0 0;
    color: #7d7477;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.6;
}

.path-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--pink);
    font-size: 12.5px;
}

.path-card:hover .path-link {
    color: var(--pink-dark);
}

/* =========================== quick links / about =========================== */

.rc-panel {
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    padding: 24px 26px;
}

.rc-panel h2 {
    margin: 0 0 6px;
    color: var(--pink);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.rc-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rc-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #f7e7ee;
    font-size: 13.5px;
    font-weight: 400;
}

.rc-links li:last-child a {
    border-bottom: 0;
    padding-bottom: 0;
}

.rc-links i {
    flex: none;
    color: #d6b6c5;
    font-size: 15px;
    transition: transform .2s ease, color .2s ease;
}

.rc-links a:hover {
    color: var(--pink-dark);
}

.rc-links a:hover i {
    color: var(--pink);
    transform: translateX(3px);
}

.rc-quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 6px 10px;
    text-align: center;
}

.rc-quote img {
    width: 190px;
    max-width: 70%;
}

.rc-quote h2 {
    margin: 14px 0 0;
    color: var(--pink-dark);
    font-size: 25px;
}

.rc-quote p {
    max-width: 320px;
    margin: 10px 0 0;
    color: #6f6669;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.65;
}

.rc-check {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.rc-check li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 8px 0;
    font-size: 13.5px;
    font-weight: 400;
}

.rc-check i {
    flex: none;
    margin-top: 1px;
    color: var(--pink);
    font-size: 17px;
}

.rc-panel .btn-pink {
    margin-top: 20px;
}

/* ================================ newsletter =============================== */

.rc-news {
    overflow: hidden;
    border-radius: 20px;
    background: #fef5f8;
    padding: 32px 40px;
    margin-bottom: 16px;
}

.rc-news h2 {
    margin: 0;
    font-size: 30px;
}

.rc-news > .row > div > p {
    margin: 10px 0 0;
    color: #6f6669;
    font-size: 13.5px;
    font-weight: 400;
}

.rc-news .newsletter-form {
    margin-top: 16px;
    max-width: 100%;
    margin-left: auto;
}

.rc-news .newsletter-row {
    border-color: #fff;
    box-shadow: 0 8px 20px rgba(200, 68, 126, .1);
    border-radius: 12px;
}

.rc-news .newsletter-form .btn-pink {
    padding: 10px 24px;
}

.rc-news .newsletter-form .btn-pink img {
    width: 16px;
    filter: brightness(0) invert(1);
}

.rc-perks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.rc-perks li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: #5f5659;
    font-size: 13px;
    font-weight: 400;
}

.rc-perks i {
    flex: none;
    color: var(--pink);
    font-size: 21px;
}

.rc-perks img {
    flex: none;
    width: 21px;
}

.rc-perks .ic-flask {
    width: 21px;
    height: 21px;
}

/* ============================== closing strip ============================== */

.rc-assurance {
    margin-top: 56px;
    border-top: 1px solid var(--border);
    padding: 26px 0;
    display: none;
}

.rc-assurance ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rc-assurance li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rc-assurance i {
    flex: none;
    color: var(--pink);
    font-size: 25px;
}

.rc-assurance strong {
    display: block;
    font-size: 13.5px;
}

.rc-assurance span {
    display: block;
    color: #8b8184;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

/* ================================ responsive =============================== */

@media (max-width: 1399.98px) {
    .rc-hero-copy h1 {
        font-size: 46px;
    }

    .rc-hero-art {
        min-height: 472px;
    }

    .rc-hero-photo {
        height: 450px;
    }

    .rc-float--study {
        right: 28px;
    }

    .rc-float--trust {
        left: 8px;
    }

    .rc-float--stat {
        right: 46px;
    }
}

@media (max-width: 1199.98px) {
    .rc-hero-copy h1 {
        font-size: 40px;
    }

    .rc-hero-art {
        min-height: 412px;
    }

    .rc-hero-photo {
        height: 390px;
    }

    .rc-float--study,
    .rc-float--stat {
        width: 190px;
    }

    .rc-float--study {
        right: 16px;
    }

    .rc-float--stat {
        right: 26px;
    }

    .rc-float--trust {
        left: 6px;
        width: 186px;
        padding-bottom: 44px;
    }

    .rc-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .path-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topic-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .topic-grid li + li {
        border-left: 0;
    }

    .rc-featured-copy {
        padding: 32px 30px;
    }

    .rc-featured-copy h2 {
        font-size: 27px;
    }
}

@media (max-width: 991.98px) {
    .rc-hero {
        padding-bottom: 40px;
    }

    .rc-hero-copy h1 {
        font-size: 38px;
    }

    .rc-hero-copy p {
        max-width: none;
    }

    .rc-hero-art {
        min-height: 0;
        margin-top: 26px;
    }

    .rc-hero-photo {
        height: 330px;
    }

    .rc-float--study {
        top: 14px;
        right: 20px;
    }

    .rc-float--trust {
        left: 12px;
        bottom: 14px;
    }

    .rc-float--stat {
        right: 40px;
        bottom: 22px;
    }

    .rc-featured {
        grid-template-columns: 1fr;
    }

    .rc-featured-media {
        min-height: 280px;
        order: -1;
    }

    .rc-featured-stats {
        top: auto;
        bottom: 14px;
        right: 14px;
        transform: none;
        flex-direction: row;
        width: auto;
        gap: 22px;
        padding: 14px 18px;
    }

    .rc-news {
        padding: 28px 26px;
    }

    .rc-news h2 {
        font-size: 26px;
    }

    .rc-news .newsletter-form {
        margin: 18px 0 0;
    }

    .rc-perks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rc-perks li {
        justify-content: flex-start;
    }

    .rc-assurance ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .rc-hero-copy h1 {
        font-size: 32px;
    }

    .rc-hero-actions .btn-pink,
    .rc-hero-actions .btn-outline-pink {
        justify-content: center;
        white-space: nowrap;
    }

    .rc-hero-photo {
        height: 280px;
    }

    .rc-float--study,
    .rc-float--trust,
    .rc-float--stat {
        position: static;
        width: auto;
        margin-top: 14px;
    }

    .rc-trust-lotus {
        display: none;
    }

    .rc-topics-sec {
        margin-top: 0;
    }

    .rc-topics {
        padding: 18px 16px 20px;
    }

    .topic-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .rc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rc-featured-copy {
        padding: 26px 22px;
    }

    .rc-featured-stats {
        position: static;
        transform: none;
        width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        background: rgba(255, 255, 255, .9);
    }

    .rc-featured-media {
        min-height: 0;
    }

    .rc-featured-media > img {
        height: 240px;
    }
}

@media (max-width: 575.98px) {
    .rc-hero-copy h1 {
        font-size: 28px;
    }

    .topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rc-grid,
    .path-grid,
    .rc-perks,
    .rc-assurance ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .rc-head {
        flex-wrap: wrap;
        gap: 8px;
    }

    .rc-featured-stats {
        flex-direction: column;
        gap: 14px;
    }

    .rc-quote img {
        width: 150px;
    }

    .rc-news {
        padding: 24px 18px;
    }

    .rc-hero > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) {
        margin-top: 0;
    }
    .rc-hero-art {
        display: none;

    }
}
