/* Tinapa homepage — place, trade, Calabar. Teal #088586, gold #FCB316. */

.main__slider.sc-slider-section {
    overflow: hidden;
    isolation: isolate;
}

.main__slider.sc-slider-section .swiper-wrapper {
    height: auto !important;
}

.main__slider.sc-slider-section .swiper-slide {
    overflow: hidden;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
}

.main__slider.sc-slider-section .swiper-slide:not(.swiper-slide-active) {
    opacity: 0 !important;
    pointer-events: none;
    z-index: 0;
}

.main__slider.sc-slider-section .swiper-slide.swiper-slide-active {
    position: relative !important;
    opacity: 1 !important;
    z-index: 1;
}

.main__slider.sc-slider-section .sc-image-layer {
    mix-blend-mode: normal;
}

.tinapa-news {
    display: flex;
    align-items: center;
    min-height: 52px;
    background: #fcb316;
    color: #041a1a;
    overflow: hidden;
}

.tinapa-news__label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    padding: 0 18px;
    color: #041a1a;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-right: 1px solid rgba(4, 26, 26, 0.22);
}

.tinapa-news__viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 28px), transparent);
}

.tinapa-news__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tinapa-news-scroll 48s linear infinite;
}

.tinapa-news:hover .tinapa-news__track,
.tinapa-news:focus-within .tinapa-news__track {
    animation-play-state: paused;
}

.tinapa-news__item {
    display: inline-flex;
    align-items: center;
    padding: 14px 8px 14px 0;
    margin-right: 8px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #041a1a;
}

.tinapa-news__item::before {
    content: "";
    width: 5px;
    height: 5px;
    margin: 0 16px;
    border-radius: 50%;
    background: #065f60;
    flex-shrink: 0;
}

@keyframes tinapa-news-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.tinapa-banner {
    background: #86082f;
    padding: 28px 0;
    color: #fff;
}

.tinapa-banner .container {
    max-width: 1140px;
}

.tinapa-banner__layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
}

.tinapa-banner__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.tinapa-banner__kicker {
    display: inline-block;
    margin: 0 0 10px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #fcb316;
    color: #041a1a !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tinapa-banner .title {
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.25;
}

.tinapa-banner__lede {
    max-width: 36rem;
    margin: 0;
    color: #eef4f4 !important;
    font-size: 15px !important;
    line-height: 1.5;
}

.tinapa-banner__action {
    flex: 0 0 auto;
}

.tinapa-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 8px;
    background: #fcb316;
    color: #041a1a !important;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
}

.tinapa-banner__cta:hover,
.tinapa-banner__cta:focus-visible {
    background: #ffd056;
    color: #041a1a !important;
}

.tinapa-letter {
    background: #f4faf9;
    padding: 72px 0 80px;
}

.tinapa-letter__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
    gap: 32px 40px;
    align-items: start;
    min-width: 0;
    width: 100%;
}

.tinapa-letter__copy {
    min-width: 0;
}

.tinapa-letter__kicker {
    margin: 0 0 10px;
    color: #088586 !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tinapa-letter .title {
    margin-bottom: 22px;
    color: #041a1a;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.tinapa-letter .welcome__message p {
    max-width: none;
    margin-bottom: 14px;
    color: #2c3d3d !important;
    font-size: clamp(16px, 1.6vw, 20px) !important;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.tinapa-letter__sign {
    margin-top: 28px;
    padding-top: 20px;
    max-width: none;
    border-top: 1px solid #c5dcdc;
}

.tinapa-letter__closing,
.tinapa-letter__name,
.tinapa-letter__role {
    margin: 0;
    max-width: none;
}

.tinapa-letter__closing {
    margin-bottom: 12px;
    color: #2c3d3d !important;
    font-size: 16px !important;
}

.tinapa-letter__name {
    color: #041a1a !important;
    font-size: 17px !important;
    font-weight: 700;
}

.tinapa-letter__role {
    margin-top: 2px;
    color: #4a5c5c !important;
    font-size: 14px !important;
    font-style: italic;
}

.tinapa-letter__portrait {
    margin: 0;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
}

.tinapa-letter__portrait img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 1px solid #d7e4e4;
    background: #fff;
    border-radius: 16px;
}

@media (hover: hover) and (pointer: fine) {
    .tinapa-letter__portrait img {
        transition: transform 0.3s ease-in-out;
    }

    .tinapa-letter__portrait img:hover {
        transform: scale(1.05);
    }
}

.tinapa-gallery .sc-heading-area .title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.tinapa-advantage {
    position: relative;
    padding: 0;
    background-image: url("../images/bg/advantage__bg.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: scroll;
    color: #fff;
}

.tinapa-advantage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 26, 26, 0.92) 0%, rgba(4, 26, 26, 0.78) 55%, rgba(4, 26, 26, 0.55) 100%);
}

.tinapa-advantage .container {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 80px;
}

.tinapa-advantage .title {
    color: #fff;
    text-transform: none;
    text-align: left;
    margin-bottom: 14px;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-style: normal;
}

.tinapa-advantage .left__section {
    max-width: none;
    padding-right: 24px;
}

.tinapa-advantage .left__section .tinapa-advantage__lede {
    max-width: 36rem;
    margin-bottom: 8px;
    color: #eef4f4 !important;
    font-size: 17px !important;
    font-weight: 400;
    line-height: 1.65;
}

.tinapa-advantage__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 32px;
    margin: 28px 0 24px;
    padding: 0;
    list-style: none;
}

.tinapa-advantage__list li {
    position: relative;
    padding-left: 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.tinapa-advantage__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 2px;
    background: #fcb316;
}

.tinapa-advantage__more {
    color: #fcb316;
    font-weight: 600;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tinapa-advantage__more:hover,
.tinapa-advantage__more:focus-visible {
    color: #fff;
}

.tinapa-join {
    background: #fcb316;
    color: #041a1a;
    padding: 32px 28px;
    border-radius: 4px;
}

.tinapa-join .title {
    color: #041a1a;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 8px;
}

.tinapa-join p {
    font-style: normal;
    margin-bottom: 20px;
    color: #041a1a !important;
    font-size: 15px !important;
    line-height: 1.5;
}

.tinapa-join ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tinapa-join ul li + li {
    margin-top: 10px;
}

.tinapa-join ul li a {
    display: block;
    background: #041a1a;
    color: #fff !important;
    text-decoration: none !important;
    font-style: normal;
    font-weight: 600;
    font-size: 14px !important;
    line-height: 1.35;
    padding: 14px 16px;
    border-radius: 4px;
}

.tinapa-join ul li a:hover,
.tinapa-join ul li a:focus-visible {
    background: #088586;
    color: #fff !important;
}

@media (max-width: 991px) {
    .tinapa-banner__layout {
        flex-direction: column;
        align-items: flex-start;
    }

    .tinapa-banner__action {
        width: 100%;
    }

    .tinapa-banner__cta {
        display: flex;
        width: 100%;
        text-align: center;
    }

    .tinapa-letter__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        min-width: 0;
    }

    .tinapa-letter__portrait {
        order: -1;
        justify-self: center;
        width: min(100%, 420px);
    }

    .tinapa-letter .title {
        font-size: clamp(1.45rem, 5vw, 2rem);
    }

    .tinapa-advantage__list {
        grid-template-columns: 1fr;
    }

    .tinapa-join {
        margin-top: 32px;
    }
}

@media (max-width: 575px) {
    .tinapa-news__label {
        padding: 0 12px;
        font-size: 10px;
    }

    .tinapa-banner {
        padding: 22px 0;
    }

    .tinapa-letter,
    .tinapa-advantage .container {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .tinapa-letter {
        padding-left: 0;
        padding-right: 0;
    }

    .tinapa-letter .welcome__message p {
        font-size: 16px !important;
        line-height: 1.65;
        text-align: justify;
    }

    .tinapa-letter__portrait {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tinapa-news__viewport {
        overflow-x: auto;
        mask-image: none;
    }

    .tinapa-news__track {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
