@font-face {
    font-family: 'figtree-regular';
    src: url('/fonts/Figtree-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'figtree-bold';
    src: url('/fonts/Figtree-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'figtree-black';
    src: url('/fonts/Figtree-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

:root {
    --inst-red-1: #e0001a;
    --inst-red-2: #cc0017;
    --inst-red-3: #990011;
    --inst-bg: #f7f7f7;
    --inst-bg-card: #fcfcfc;
    --inst-gray-1: #f2f2f2;
    --inst-gray-2: #e4e4e4;
    --inst-gray-3: #737373;
    --inst-black: #1c1c1c;
    --inst-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    --inst-content-max: 1440px;
    --inst-inner-max: 1312px;
    --inst-gutter: 64px;
}

* {
    box-sizing: border-box;
}

.inst-body {
    margin: 0;
    font-family: 'figtree-regular', Arial, sans-serif;
    background: var(--inst-bg);
    color: var(--inst-black);
    min-width: 768px;
}

.inst-page {
    width: 100%;
    min-width: 768px;
    margin: 0 auto;
    background: var(--inst-bg);
}

.inst-header {
    background: #fff;
    border-bottom: 1px solid var(--inst-gray-2);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.inst-header__content {
    height: 73px;
    padding: 0 var(--inst-gutter);
    max-width: var(--inst-content-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

.inst-header__brand img {
    width: 43px;
    height: 43px;
}

.inst-nav {
    display: flex;
    gap: 48px;
}

.inst-nav a {
    text-decoration: none;
    color: var(--inst-red-2);
    font-size: 16px;
}

.inst-nav a.inst-nav__active {
    color: var(--inst-red-3);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.inst-header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.inst-search-btn {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 0;
    background: var(--inst-red-2);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.inst-menu-btn {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    color: var(--inst-red-2);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.inst-menu-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    pointer-events: none;
}

.inst-search-btn svg {
    pointer-events: none;
}

.inst-mobile-nav {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--inst-gray-2);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    z-index: 11;
    padding: 16px 20px 20px;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 73px);
    overflow-y: auto;
}

.inst-mobile-nav.is-open {
    display: flex;
}

.inst-mobile-nav a {
    text-decoration: none;
    color: var(--inst-red-2);
    font: 700 18px/1.4 'figtree-bold', Arial, sans-serif;
    padding: 12px 4px;
    border-bottom: 1px solid var(--inst-gray-2);
}

.inst-mobile-nav a:last-of-type {
    border-bottom: 0;
}

.inst-mobile-nav__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.inst-mobile-nav__cta .inst-btn {
    height: 40px;
    width: 100%;
    font-size: 16px;
}

.inst-btn {
    height: 30px;
    border-radius: 8px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-family: 'figtree-bold', Arial, sans-serif;
    text-decoration: none;
}

.inst-btn--primary {
    background: var(--inst-red-2);
    color: #fff;
}

.inst-btn--secondary {
    border: 1px solid var(--inst-black);
    color: var(--inst-black);
    background: transparent;
}

.inst-main {
    padding: 0 0 48px;
}

.inst-hero {
    aspect-ratio: 1440 / 480;
    min-height: 340px;
    max-height: 560px;
    background: #990007 url('/images/capa.jpg') center/cover no-repeat;
    position: relative;
    width: 100%;
}

.inst-hero__overlay {
    position: relative;
    height: 100%;
    max-width: var(--inst-content-max);
    margin: 0 auto;
}

.inst-hero__cta {
    position: absolute;
    right: 10.625%;
    bottom: 20.2%;
    background: var(--inst-gray-1);
    border: 0;
    border-radius: 8px;
    color: var(--inst-black);
    font-family: 'figtree-bold', Arial, sans-serif;
    font-size: 16px;
    height: 40px;
    padding: 0 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.inst-section {
    padding: 32px var(--inst-gutter) 0;
    max-width: var(--inst-content-max);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.inst-card {
    background: var(--inst-bg-card);
    border-radius: 16px;
    box-shadow: var(--inst-shadow);
}

.inst-features {
    padding-top: 56px;
}

.inst-features__wrap {
    position: relative;
}

.inst-features__grid {
    background: var(--inst-bg-card);
    padding: 52px 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 49px;
}

.inst-feature {
    min-height: 220px;
}

.inst-feature + .inst-feature {
    border-left: 1px solid rgba(204, 0, 23, 0.4);
    padding-left: 49px;
}

.inst-feature img {
    width: 45px;
    height: 45px;
    margin: 0 0 52px;
}

.inst-feature h3 {
    margin: 0 0 24px;
    color: #18181b;
    font: 700 18px/22px 'figtree-bold', Arial, sans-serif;
}

.inst-feature p {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
}

.inst-feature strong {
    font-family: 'figtree-bold', Arial, sans-serif;
    font-weight: 700;
}

.inst-banner-image {
    width: 100%;
    display: block;
    border-radius: 16px;
    box-shadow: var(--inst-shadow);
}

.inst-team-banner {
    margin: 0;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1310 / 604;
    background: #fff;
}

.inst-team-banner__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
    opacity: 0.74;
}

.inst-team-banner__pattern,
.inst-team-banner__logo {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.inst-team-banner__pattern--tl {
    top: 22px;
    left: 21px;
    width: 123px;
}

.inst-team-banner__pattern--tr {
    top: 22px;
    right: 21px;
    width: 63px;
}

.inst-team-banner__pattern--br {
    right: 21px;
    bottom: 21px;
    width: 64px;
}

.inst-team-banner__logo {
    left: 21px;
    bottom: 21px;
    width: 154px;
    height: auto;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
}

.inst-community {
    background: #fff;
    padding: 21px 32px;
    display: grid;
    grid-template-columns: minmax(0, 580px) minmax(0, 580px);
    gap: 94px;
    align-items: start;
    justify-content: center;
    min-height: 514px;
    overflow: hidden;
    position: relative;
}

.inst-community__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--inst-black);
    padding: 0;
}

.inst-community__col:first-child {
    text-align: center;
}

.inst-community::before {
    content: "";
    position: absolute;
    top: 21px;
    bottom: 21px;
    left: 50%;
    width: 1px;
    background: var(--inst-red-2);
    transform: translateX(-50%);
    z-index: 1;
}

.inst-community__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}

.inst-community__head h2 {
    margin: 0;
    font: 700 32px/45px 'figtree-bold', Arial, sans-serif;
    color: var(--inst-black);
}

.inst-community__subtitle {
    margin: 0;
    font-family: 'figtree-regular', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.2;
    color: var(--inst-black);
}

.inst-community__col:first-child p {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

.inst-community strong {
    font-family: 'figtree-bold', Arial, sans-serif;
    font-weight: 700;
}

.inst-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inst-benefits li {
    position: relative;
    padding-left: 32px;
    font-size: 20px;
    line-height: 1.2;
    color: var(--inst-black);
}

.inst-benefits li::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid var(--inst-red-2);
    background: #fff;
}

.inst-cta-band {
    position: relative;
    margin-top: 46px;
    overflow: hidden;
    background: #575757;
}

.inst-cta-band__image {
    width: 100%;
    max-width: var(--inst-content-max);
    margin: 0 auto;
    display: block;
}

.inst-cta-band__button {
    position: absolute;
    top: 53%;
    left: 58%;
    transform: translateY(-50%);
    height: 58px;
    padding: 0 30px;
    border-radius: 8px;
    background: var(--inst-red-2);
    color: #fff;
    font: 700 24px/1 'figtree-bold', Arial, sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inst-faq-section {
    padding-top: 48px;
}

.inst-faq {
    background: var(--inst-bg);
    padding: 80px 200px 54px;
}

.inst-faq h2 {
    margin: 0 0 52px;
    text-align: center;
    color: var(--inst-red-2);
    font: 900 36px/44px 'figtree-black', Arial, sans-serif;
}

.inst-faq-item {
    border-top: 1px solid #eaecef;
}

.inst-faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 22px 0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font: 700 18px/28px 'figtree-bold', Arial, sans-serif;
    color: var(--inst-black);
    cursor: pointer;
}

.inst-faq-icon {
    color: var(--inst-red-2);
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 1;
}

.inst-faq-icon::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--inst-red-2);
    border-bottom: 2px solid var(--inst-red-2);
    transform: rotate(45deg);
}

.inst-faq-item.is-open .inst-faq-icon::before {
    transform: rotate(225deg);
}

.inst-faq-answer {
    display: none;
    padding: 0 0 20px;
    color: var(--inst-gray-3);
    font-size: 16px;
    line-height: 24px;
}

.inst-faq-item.is-open .inst-faq-answer {
    display: block;
}

.inst-footer {
    background: #fff;
    padding: 34px var(--inst-gutter) 24px;
}

.inst-footer__grid {
    max-width: var(--inst-inner-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 224px 150px 190px 366px;
    justify-content: space-between;
    align-items: start;
    min-height: 277px;
    gap: 48px;
}

.inst-footer h3 {
    margin: 0 0 16px;
    color: var(--inst-red-2);
    font: 700 24px/1.2 'figtree-bold', Arial, sans-serif;
}

.inst-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.inst-footer li {
    margin-bottom: 16px;
}

.inst-footer a {
    color: var(--inst-black);
    text-decoration: none;
    font-size: 16px;
    line-height: 20px;
}

.inst-footer__about > img {
    width: 120px;
    margin: 0 0 32px 52px;
}

.inst-footer__about p {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 17px;
}

.inst-footer strong {
    font-family: 'figtree-bold', Arial, sans-serif;
    font-weight: 700;
}

.inst-footer__about h3,
.inst-footer__newsletter h3 {
    font: 700 18px/22px 'figtree-bold', Arial, sans-serif;
}

.inst-footer__nav a {
    color: var(--inst-red-3);
}

.inst-footer__newsletter {
    text-align: center;
}

.inst-footer__newsletter p {
    margin: 0 auto;
    max-width: 366px;
    font-size: 14px;
    line-height: 22px;
}

.inst-footer__newsletter strong {
    color: var(--inst-red-2);
    font-size: 12px;
}

.inst-socials {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: 217px;
    margin-top: 6px;
}

.inst-socials a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--inst-red-2);
    color: #fff;
    display: grid;
    place-items: center;
}

.inst-socials img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.inst-newsletter {
    display: flex;
    align-items: end;
    gap: 16px;
    margin-top: 10px;
}

.inst-newsletter input {
    flex: 1;
    border: 0;
    border-radius: 8px;
    background: var(--inst-gray-1);
    height: 44px;
    padding: 0 8px;
    font-size: 14px;
    color: var(--inst-gray-3);
}

.inst-newsletter button {
    border: 0;
    border-radius: 8px;
    background: var(--inst-red-2);
    color: #fff;
    height: 40px;
    font: 700 16px/20px 'figtree-bold', Arial, sans-serif;
    padding: 0 16px;
    cursor: pointer;
}

.inst-footer__bottom {
    max-width: var(--inst-inner-max);
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid var(--inst-gray-2);
    text-align: center;
    font-size: 12px;
    line-height: 19px;
    font-weight: 300;
}

@media (max-width: 1200px) {
    :root {
        --inst-gutter: 32px;
    }

    .inst-faq {
        padding: 60px 80px 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --inst-gutter: 20px;
    }
}

@media (max-width: 900px) {
    .inst-nav {
        display: none;
    }

    .inst-menu-btn {
        display: inline-flex;
    }

    .inst-header__content {
        gap: 12px;
    }

    .inst-header__actions .inst-btn--secondary,
    .inst-header__actions .inst-btn--primary {
        display: none;
    }

    .inst-features__grid {
        grid-template-columns: 1fr;
    }

    .inst-feature {
        gap: 20px;
    }

    .inst-feature + .inst-feature {
        border-left: 0;
        border-top: 1px solid rgba(204, 0, 23, 0.4);
        padding-left: 0;
        padding-top: 24px;
    }

    .inst-community {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        gap: 24px;
    }

    .inst-community__col {
        padding: 0;
    }

    .inst-community__col:first-child {
        border-right: 0;
        border-bottom: 1px solid var(--inst-gray-2);
        padding-bottom: 24px;
    }

    .inst-community__head h2 {
        font-size: 26px;
        line-height: 1.2;
    }

    .inst-faq {
        padding: 32px 24px;
    }

    .inst-footer__grid {
        grid-template-columns: 1fr;
    }

    .inst-cta-band__button {
        left: 50%;
        transform: translate(-50%, -50%);
        height: 44px;
        font-size: 18px;
    }

    .inst-hero__cta {
        right: 50%;
        transform: translateX(50%);
        bottom: 16px;
    }

    .inst-about-hero__diamond--tl {
        width: 58px;
        height: 72px;
        top: 16px;
    }

    .inst-about-hero__diamond--tr {
        width: 44px;
        height: 30px;
        top: 28px;
    }

    .inst-about-hero__diamond--bl {
        width: 44px;
        height: 86px;
    }

    .inst-about-hero__diamond--br {
        width: 44px;
        height: 58px;
    }

    .inst-related__title {
        font-size: 24px;
        line-height: 1.2;
        white-space: normal;
    }

    .inst-func-feature__icon {
        width: 32px;
        height: 32px;
    }
}


.inst-inner-cover {
    height: 160px;
    background: linear-gradient(rgba(28, 28, 28, 0.36), rgba(28, 28, 28, 0.36)), url('/images/capa.jpg') center/cover no-repeat;
    position: relative;
}

.inst-inner-cover--blog {
    height: 143px;
    background: var(--inst-red-2);
    display: grid;
    place-items: center;
}

.inst-inner-cover h1 {
    margin: 0;
    color: var(--inst-red-1);
    font: 700 48px/1.1 'figtree-bold', Arial, sans-serif;
}

.inst-inner-cover--blog h1 {
    color: #fff;
}

.inst-content-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--inst-shadow);
    padding: 32px;
}

.inst-sticky-bar {
    position: sticky;
    top: 73px;
    z-index: 9;
    height: 67px;
    background: #c00116;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.inst-sticky-bar.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
}

.inst-sticky-bar__bg {
    position: absolute;
    inset: -6px;
    background: url('/images/about-cover.jpg') center/cover no-repeat;
    filter: blur(3.5px);
    opacity: 0.35;
    mix-blend-mode: screen;
    pointer-events: none;
}

.inst-sticky-bar__inner {
    position: relative;
    z-index: 1;
    max-width: var(--inst-content-max);
    margin: 0 auto;
    height: 100%;
    padding: 0 var(--inst-gutter);
    display: flex;
    align-items: center;
}

.inst-sticky-bar__title {
    margin: 0;
    color: #fcfcfc;
    font: 700 clamp(22px, 2.2vw, 32px)/1.4 'figtree-bold', Arial, sans-serif;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .inst-sticky-bar {
        height: 56px;
    }
    .inst-sticky-bar__inner {
        padding: 0 24px;
    }
}

.inst-about-block {
    position: relative;
    padding-bottom: 40px;
}

.inst-about-block__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(320px, 29.7vw, 427px);
    background: #2a2a2a url('/images/about-cover.jpg') center/cover no-repeat;
    overflow: hidden;
    z-index: 0;
}

.inst-about-block__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(242, 242, 242, 0.75);
    backdrop-filter: blur(3px) saturate(0.6);
    -webkit-backdrop-filter: blur(3px) saturate(0.6);
    z-index: 1;
}

.inst-about-block__body {
    position: relative;
    z-index: 1;
    max-width: 1008px;
    margin: 0 auto;
    padding: clamp(90px, 14.7vw, 212px) 24px 0;
}

.inst-about-block__title {
    margin: 0 0 32px;
    color: var(--inst-red-2);
    font: 700 clamp(36px, 4vw, 56px) / 1.07 'figtree-bold', Arial, sans-serif;
    text-align: left;
}

.inst-about-block__title--red {
    color: var(--inst-red-2);
}

.inst-about-block__bg--soft::before {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(2.2px) saturate(0.5);
    -webkit-backdrop-filter: blur(2.2px) saturate(0.5);
}

.inst-about-hero__diamond {
    position: absolute;
    z-index: 2;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

.inst-about-hero__diamond--tl {
    width: 82px;
    height: 102px;
    background-image: url('/images/diamonds-tl.svg?v=3');
    top: 23px;
    left: clamp(20px, 4.5%, 65px);
}

.inst-about-hero__diamond--tr {
    width: 62px;
    height: 42px;
    background-image: url('/images/diamonds-tr.svg?v=2');
    top: 45px;
    right: clamp(20px, 3%, 44px);
}

.inst-about-hero__diamond--bl {
    width: 63px;
    height: 124px;
    background-image: url('/images/diamonds-ml.svg?v=3');
    bottom: clamp(10px, 2.3%, 20px);
    left: clamp(20px, 4.6%, 66px);
    top: auto;
}

.inst-about-hero__diamond--br {
    width: 62px;
    height: 82px;
    background-image: url('/images/diamonds-mr.svg?v=2');
    top: clamp(228px, 76%, 325px);
    right: clamp(20px, 4.2%, 61px);
}

.inst-about-card {
    padding: 32px;
}

.inst-func-card {
    padding: 32px clamp(16px, 2.5vw, 40px) 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
}

.inst-func-card__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 860px;
}

.inst-func .inst-func-card__intro h2 {
    margin: 0;
    color: #18181b;
    font: 700 clamp(26px, 2.5vw, 36px) / 1.15 'figtree-bold', Arial, sans-serif;
    text-align: center;
}

.inst-func .inst-func-card__intro p {
    margin: 0;
    color: #52525b;
    font: 400 clamp(14px, 1.1vw, 16px) / 1.55 'figtree-regular', Arial, sans-serif;
    text-align: center;
}

.inst-func-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.inst-func-feature {
    position: relative;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.inst-func-feature:not(:nth-child(3n+1))::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: var(--inst-gray-2);
}

.inst-func-feature:nth-child(n+4)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--inst-gray-2);
}

.inst-func-feature__icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inst-func-feature__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(10%) sepia(95%) saturate(7449%) hue-rotate(349deg) brightness(85%) contrast(106%);
}

.inst-func .inst-func-feature h3 {
    margin: 0;
    color: #18181b;
    font: 700 18px/22px 'figtree-bold', Arial, sans-serif;
    text-align: center;
}

.inst-func .inst-func-feature p {
    margin: 0;
    color: #52525b;
    font: 400 14px/22px 'figtree-regular', Arial, sans-serif;
    text-align: center;
}

@media (max-width: 900px) {
    .inst-func-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .inst-func-feature:not(:nth-child(3n+1))::before,
    .inst-func-feature:nth-child(n+4)::after {
        display: none;
    }
    .inst-func-feature:not(:nth-child(2n+1))::before {
        content: "";
        position: absolute;
        left: 0;
        top: 20px;
        bottom: 20px;
        width: 1px;
        background: var(--inst-gray-2);
    }
    .inst-func-feature:nth-child(n+3)::after {
        content: "";
        position: absolute;
        top: 0;
        left: 20px;
        right: 20px;
        height: 1px;
        background: var(--inst-gray-2);
    }
}


.inst-about-card > :first-child {
    margin-top: 0;
}

.inst-about-card > :last-child {
    margin-bottom: 0;
}

.inst-two-col {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
}

.inst-func h2,
.inst-contact h2 {
    margin: 0 0 10px;
    color: var(--inst-red-2);
    font: 700 48px/1.1 'figtree-bold', Arial, sans-serif;
}

.inst-about-card h3,
.inst-func h3 {
    margin: 16px 0 0;
    color: var(--inst-black);
    font: 700 20px/24px 'figtree-bold', Arial, sans-serif;
}

.inst-about-card p,
.inst-func p {
    margin: 16px 0 0;
    color: var(--inst-black);
    font: 400 14px/20px 'figtree-regular', Arial, sans-serif;
}

.inst-about-card ul {
    margin: 16px 0 0;
    padding: 0 0 0 21px;
    list-style: disc;
}

.inst-about-card li {
    margin-bottom: 10px;
    color: var(--inst-black);
    font: 400 14px/20px 'figtree-regular', Arial, sans-serif;
}

.inst-about-card li:last-child {
    margin-bottom: 0;
}

.inst-divider {
    border: 0;
    border-top: 1px solid var(--inst-gray-2);
    margin: 32px 0 16px;
}

.inst-related {
    margin-top: 40px;
}

.inst-related__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.inst-related__title {
    margin: 0;
    color: var(--inst-red-2);
    font: 700 32px/45px 'figtree-bold', Arial, sans-serif;
    white-space: nowrap;
}

.inst-related__line {
    flex: 1;
    height: 1px;
    background: var(--inst-gray-2);
}

.inst-related__carousel {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.inst-related__nav {
    flex: 0 0 38px;
    width: 38px;
    align-self: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    padding: 8px;
    color: var(--inst-black);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
}

.inst-related__nav:hover {
    background: var(--inst-gray-2);
}

.inst-related__grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    min-width: 0;
}

.inst-post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--inst-shadow);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.inst-post-card__media {
    width: 100%;
    aspect-ratio: 361 / 203;
    border-radius: 4px;
    overflow: hidden;
    background: var(--inst-gray-2);
}

.inst-post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inst-post-card__title {
    margin: 0;
    color: var(--inst-red-2);
    font: 700 24px/27px 'figtree-bold', Arial, sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 54px;
}

.inst-post-card__excerpt {
    margin: 0;
    color: var(--inst-black);
    font: 400 14px/20px 'figtree-regular', Arial, sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
}

.inst-post-card__meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font: 400 14px/20px 'figtree-regular', Arial, sans-serif;
    color: var(--inst-gray-3);
}

.inst-post-card__avatar {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--inst-gray-2) center/cover no-repeat;
    flex-shrink: 0;
}

.inst-post-card__author {
    font-family: 'figtree-bold', Arial, sans-serif;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inst-post-card__dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--inst-gray-3);
    flex-shrink: 0;
}

.inst-post-card__date {
    white-space: nowrap;
}

.inst-related-title {
    margin: 28px 0 16px;
    color: var(--inst-red-1);
    font: 700 40px/1.1 'figtree-bold', Arial, sans-serif;
}

.inst-related-grid,
.inst-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.inst-related-card,
.inst-blog-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--inst-shadow);
    overflow: hidden;
}

.inst-related-card img,
.inst-blog-card img {
    width: 100%;
    display: block;
}

.inst-related-card__body,
.inst-blog-card__body {
    padding: 12px;
}

.inst-related-card h4,
.inst-blog-card h4 {
    margin: 0 0 8px;
    color: var(--inst-red-2);
    font: 700 18px/1.2 'figtree-bold', Arial, sans-serif;
}

.inst-related-card p,
.inst-blog-card p {
    margin: 0;
    color: var(--inst-gray-3);
    font-size: 12px;
    line-height: 1.4;
}

.inst-blog-card__meta {
    margin-top: 8px;
    font-size: 12px;
    color: var(--inst-gray-3);
}

.inst-functional-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--inst-gray-2);
    border-left: 1px solid var(--inst-gray-2);
}

.inst-functional-item {
    padding: 24px 18px;
    border-right: 1px solid var(--inst-gray-2);
    border-bottom: 1px solid var(--inst-gray-2);
    text-align: center;
}

.inst-functional-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 12px;
}

.inst-functional-item h4 {
    margin: 0 0 8px;
    font: 700 18px/22px 'figtree-bold', Arial, sans-serif;
}

.inst-functional-item p {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
}

.inst-blog-hero {
    background: linear-gradient(180deg, rgba(153, 0, 17, 0) 0%, #990011 100%), url('/images/capa.jpg') center/cover no-repeat;
    border-radius: 4px;
    min-height: 390px;
    display: flex;
    align-items: flex-end;
    padding: 40px 34px;
}

.inst-blog-hero h2 {
    margin: 0 0 10px;
    color: #fff;
    font: 700 48px/54px 'figtree-bold', Arial, sans-serif;
}

.inst-blog-hero p {
    margin: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.2;
    max-width: 780px;
}

.inst-blog-section-title {
    margin: 30px 0 16px;
    color: var(--inst-red-1);
    font: 700 40px/1.1 'figtree-bold', Arial, sans-serif;
}

.inst-blog-more {
    margin: 20px auto 0;
    display: block;
    border: 1px solid var(--inst-gray-3);
    background: #fff;
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
}

.inst-contact .inst-content-card h3 {
    margin: 0 0 8px;
    color: var(--inst-red-2);
    font: 700 24px/1.2 'figtree-bold', Arial, sans-serif;
    text-align: center;
}

.inst-contact .inst-content-card p {
    margin: 0 0 12px;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
}

.inst-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inst-form label {
    font-size: 14px;
}

.inst-form input,
.inst-form select,
.inst-form textarea {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: var(--inst-gray-1);
    padding: 12px;
    font-size: 14px;
}

.inst-form textarea {
    min-height: 120px;
    resize: vertical;
}

.inst-form-feedback {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 20px;
}

.inst-form-feedback.is-success {
    color: #0f7a36;
}

.inst-form-feedback.is-error {
    color: #9e0012;
}

.inst-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.inst-btn-form {
    height: 30px;
    border-radius: 8px;
    border: 0;
    padding: 0 14px;
    cursor: pointer;
}

.inst-btn-form--ghost {
    background: var(--inst-gray-1);
}

.inst-btn-form--primary {
    background: var(--inst-red-2);
    color: #fff;
}

.inst-contact-photo {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--inst-shadow);
    display: block;
}

.inst-help-box {
    margin-top: 24px;
    background: var(--inst-bg-card);
    border-radius: 8px;
    box-shadow: var(--inst-shadow);
    padding: 18px;
}

.inst-help-box h4 {
    margin: 0 0 8px;
    color: var(--inst-red-2);
    font: 700 32px/1.2 'figtree-bold', Arial, sans-serif;
}

.inst-help-box p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 22px;
}

.inst-help-email {
    background: var(--inst-gray-1);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.inst-help-email img {
    width: 24px;
    height: 24px;
}

.inst-admin-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 16px;
}

.inst-admin-head h1 {
    margin: 0;
    color: var(--inst-red-2);
    font: 700 32px/1.1 'figtree-bold', Arial, sans-serif;
}

.inst-admin-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inst-admin-controls label {
    font-size: 14px;
}

.inst-admin-controls select {
    border: 0;
    background: var(--inst-gray-1);
    border-radius: 8px;
    height: 32px;
    padding: 0 10px;
}

.inst-admin-empty {
    background: var(--inst-gray-1);
    border-radius: 8px;
    padding: 14px;
    font-size: 14px;
}

.inst-admin-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inst-admin-card {
    border: 1px solid var(--inst-gray-2);
    border-radius: 10px;
    padding: 14px;
    background: #fff;
}

.inst-admin-card__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.inst-admin-card__head h3 {
    margin: 0 0 4px;
    font: 700 18px/22px 'figtree-bold', Arial, sans-serif;
}

.inst-admin-card__head p {
    margin: 0;
    font-size: 14px;
    color: var(--inst-gray-3);
}

.inst-admin-card__status {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inst-admin-card__status label {
    font-size: 12px;
    color: var(--inst-gray-3);
}

.inst-admin-card__status select {
    border: 0;
    background: var(--inst-gray-1);
    border-radius: 8px;
    height: 32px;
    padding: 0 8px;
}

.inst-admin-card__meta {
    margin: 10px 0 8px;
    font-size: 12px;
    color: var(--inst-gray-3);
}

.inst-admin-card__message {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    white-space: pre-wrap;
}

.inst-terms .inst-section {
    padding-top: 28px;
}

.inst-terms-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.inst-terms-nav-card {
    background: var(--inst-bg-card);
    border-radius: 8px;
    box-shadow: var(--inst-shadow);
    padding: 18px 16px;
    position: sticky;
    top: 92px;
}

.inst-terms-nav-card h3 {
    margin: 0 0 14px;
    color: var(--inst-red-2);
    font: 700 14px/19px 'figtree-bold', Arial, sans-serif;
}

.inst-terms-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inst-terms-nav__item {
    border: 0;
    background: transparent;
    color: var(--inst-red-3);
    font: 400 14px/20px 'figtree-regular', Arial, sans-serif;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    padding: 4px 8px;
}

.inst-terms-nav__item.is-active {
    background: var(--inst-gray-1);
    color: var(--inst-red-2);
}

.inst-terms-content-card {
    --legal-font-scale: 1;
    background: var(--inst-bg-card);
    border-radius: 8px;
    box-shadow: var(--inst-shadow);
    padding: 32px;
}

#instTermsRoot[data-legal-font-step="0"] { --legal-font-scale: 0.875; }
#instTermsRoot[data-legal-font-step="1"] { --legal-font-scale: 1; }
#instTermsRoot[data-legal-font-step="2"] { --legal-font-scale: 1.125; }
#instTermsRoot[data-legal-font-step="3"] { --legal-font-scale: 1.25; }

.inst-terms-reading-toolbar {
    margin-bottom: 16px;
}

.inst-terms-content-card .legal-font-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 10px 14px;
    background: var(--inst-gray-1);
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.inst-terms-content-card .legal-font-toolbar__label {
    font: 600 13px/1 'figtree-semibold', Arial, sans-serif;
    color: var(--inst-black);
    white-space: nowrap;
}

.inst-terms-content-card .legal-font-toolbar__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.inst-terms-content-card .legal-font-btn {
    min-width: 36px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    color: var(--inst-black);
    font: 500 13px/1 'figtree-medium', Arial, sans-serif;
    cursor: pointer;
}

.inst-terms-content-card .legal-font-btn:hover {
    background: #f8f9fa;
}

.inst-terms-content-card .legal-font-btn.is-active {
    background: var(--inst-red-2);
    border-color: var(--inst-red-2);
    color: #fff;
}

.inst-terms-content-card .legal-font-btn--step {
    min-width: auto;
    padding: 0 12px;
}

.inst-terms-content-card .legal-font-toolbar__status {
    font: 400 12px/1 'figtree-regular', Arial, sans-serif;
    color: var(--inst-gray-3);
    margin-left: auto;
}

.inst-terms-breadcrumb {
    margin-bottom: 8px;
    color: var(--inst-red-2);
    font-size: calc(14px * var(--legal-font-scale, 1));
    line-height: calc(20px * var(--legal-font-scale, 1));
    font-family: 'figtree-regular', Arial, sans-serif;
}

.inst-terms-content-card h1 {
    margin: 0 0 5px;
    color: var(--inst-red-3);
}

.inst-terms-updated {
    margin: 0 0 16px;
    color: var(--inst-gray-3);
    font-size: calc(14px * var(--legal-font-scale, 1));
    line-height: calc(20px * var(--legal-font-scale, 1));
    font-family: 'figtree-regular', Arial, sans-serif;
}

.inst-terms-versions {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.inst-terms-version {
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: var(--inst-gray-1);
    color: var(--inst-black);
    font: 600 14px/20px 'figtree-bold', Arial, sans-serif;
    padding: 0 16px;
    cursor: pointer;
}

.inst-terms-version.is-active {
    background: var(--inst-red-2);
    color: #fff;
}

.inst-terms-body {
    color: #000;
    max-width: 864px;
}

.inst-terms-body p {
    margin: 0 0 15px;
}

.inst-terms-body > :first-child {
    margin-top: 0;
}

.inst-terms-body p:last-child {
    margin-bottom: 0;
}

.inst-terms-body a {
    color: var(--inst-red-2);
}

.inst-terms-body ul {
    margin: 0 0 16px;
    padding-left: 1.25rem;
}

.inst-terms-body li {
    margin-bottom: 8px;
}


@media (max-width: 900px) {
    .inst-two-col,
    .inst-related-grid,
    .inst-blog-grid,
    .inst-functional-grid {
        grid-template-columns: 1fr;
    }

    .inst-related__grid {
        grid-template-columns: 1fr;
    }

    .inst-related__nav {
        display: none;
    }

    .inst-about-section {
        margin-top: -40px;
    }

    .inst-about-card {
        padding: 24px;
    }

    .inst-func h2,
    .inst-inner-cover h1,
    .inst-blog-section-title,
    .inst-related-title {
        font-size: 32px;
    }

    .inst-blog-hero h2 {
        font-size: 32px;
        line-height: 1.1;
    }

    .inst-blog-hero p {
        font-size: 22px;
    }

    .inst-admin-head,
    .inst-admin-card__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .inst-terms-layout {
        grid-template-columns: 1fr;
    }

    .inst-terms-nav-card {
        position: static;
    }

    .inst-terms-content-card {
        padding: 22px 16px;
    }


    .inst-terms-content-card .legal-font-toolbar__status {
        width: 100%;
        margin-left: 0;
    }
}
