/* ================= SCOPED: SPICE JOURNAL ================= */
.sp-journal {
    position: relative;
    padding: clamp(50px, 6vw, 85px) 0 50px;
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
}

.sp-journal .main-container {
    position: relative;
}


.sp-journal__head {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.sp-journal__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.2;
    color: #141517;
    white-space: nowrap;
}

.sp-journal__title svg {
    flex-shrink: 0;
    width: clamp(32px, 3vw, 40px);
    height: auto;
}


.sp-journal__rule {
    position: relative;
    width: 100%;
    max-width: 692px;
    height: 14px;
    margin-top: 4px;
}

.sp-journal__rule::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, rgba(20, 21, 23, 0), rgba(20, 21, 23, 0.45) 50%, rgba(20, 21, 23, 0));
}

.sp-journal__rule i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #e85d04;
    transform: translate(-50%, -50%) rotate(45deg);
}

.sp-journal__sub {
    font-size: clamp(14.5px, 1.2vw, 19px);
    font-weight: 400;
    color: #374151;
    line-height: 1.5;
    margin-top: 4px;
    max-width: 700px;
}


.sp-journal__carousel {
    position: relative;
    margin-top: clamp(24px, 3.5vw, 42px);
    width: 100%;
    padding: 10px 0 35px 0;
}

.sp-journal__swiper {
    position: relative;
    width: 100%;
    padding: 14px 6px 36px 6px !important;
    margin: -14px -6px -36px -6px !important;
    overflow: hidden !important;
    z-index: 1;
}

.sp-journal__swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    height: auto !important;
    box-sizing: border-box;
}

.sp-journal__swiper .swiper-slide {
    flex-shrink: 0 !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}


.sp-journal__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e85d04;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 16px rgba(232, 93, 4, 0.35);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.sp-journal__arrow:hover {
    transform: translateY(-50%) scale(1.1);
    background: #cf4f00;
}

.sp-journal__arrow svg {
    width: 22px;
    height: 22px;
}

.sp-journal__arrow--prev {
    left: -20px;
}

.sp-journal__arrow--next {
    right: -20px;
}


.sp-journal__card {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    border-radius: 36px;
    padding: 14px 14px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #ebe5df;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.sp-journal__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.11);
}


.sp-journal__img-wrap {
    width: 100%;
    height: 250px;
    border-radius: 26px;
    overflow: hidden;
    background: #f7f5f2;
    flex-shrink: 0;
}

.sp-journal__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.sp-journal__card:hover .sp-journal__img {
    transform: scale(1.05);
}


.sp-journal__body {
    display: flex;
    flex-direction: column;
    padding: 14px 6px 0;
    gap: 10px;
    flex: 1;
}


.sp-journal__card-title {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    
    font-size: clamp(18px, 1.45vw, 22px);
    font-weight: 700;
    line-height: 1.3;
    color: #141517;
    white-space: normal; 
    word-break: break-word;
}

.sp-journal__card-title svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 3px;
}

.sp-journal__card-title .accent {
    color: #e85d04;
}


.sp-journal__card-desc {
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.45;
    color: #555e6d;
    margin-top: -2px;
}


.sp-journal__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px; 
    margin: 8px 0 14px;
    padding: 6px 0;
}

.sp-journal__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 1;
    min-width: 0;
}


.sp-journal__meta-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff3ea;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-journal__meta-icon svg {
    width: 14px;
    height: 14px;
    color: #e85d04;
}


.sp-journal__meta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.sp-journal__meta-text b {
    font-size: 10.5px; 
    font-weight: 700;
    color: #141517;
    white-space: nowrap;
}

.sp-journal__meta-text span {
    font-size: 9.5px; 
    font-weight: 400;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.sp-journal__meta-divider {
    width: 1px;
    height: 22px;
    background: #e9e4de;
    flex-shrink: 0;
    margin: 0 4px; 
}


.sp-journal__read-btn {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 210px;
    height: 46px;
    border-radius: 9999px;
    background: #e85d04;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(232, 93, 4, 0.28);
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    margin-top: 2px;
}

.sp-journal__card:hover .sp-journal__read-btn {
    background: #d04f00;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(232, 93, 4, 0.4);
}

.sp-journal__read-btn svg {
    transition: transform 0.25s ease;
}

.sp-journal__card:hover .sp-journal__read-btn svg {
    transform: translateX(4px);
}


.sp-journal__viewall {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 240px;
    height: 56px;
    margin: clamp(24px, 3.5vw, 40px) auto 0;
    background: transparent;
    border: 1px solid #141312;
    border-radius: 24px;
    font-family: 'Saira Semi Condensed', 'Saira', sans-serif;
    font-size: 21px;
    font-weight: 500;
    color: #141312;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sp-journal__viewall:hover {
    background: #141312;
    color: #ffffff;
    transform: translateY(-2px);
}

.sp-journal__viewall svg path {
    transition: stroke 0.25s ease;
}

.sp-journal__viewall:hover svg path {
    stroke: #ffffff;
}


@media (max-width: 1024px) {
    .sp-journal__arrow--prev {
        left: 0;
    }
    .sp-journal__arrow--next {
        right: 0;
    }
}

@media (max-width: 768px) {
    .sp-journal__arrow {
        width: 40px;
        height: 40px;
    }

    .sp-journal__card {
        max-width: 340px;
        padding: 12px 12px 20px;
        border-radius: 30px;
    }

    .sp-journal__img-wrap {
        height: 220px;
        border-radius: 20px;
    }

    .sp-journal__card-title {
        font-size: 20px;
    }

    .sp-journal__meta-text b {
        font-size: 10px;
    }

    .sp-journal__meta-text span {
        font-size: 9px;
    }
}