:root {
    --primary-gradient: linear-gradient(90deg, #f9a05a 0%, #ba86bf 100%);
    --white: #ffffff;

}

.cs-hero-section {
    background: radial-gradient(148.1% 139% at 5.68% -42.88%, rgba(255, 220, 192, 0.4) 0%, rgba(255, 233, 216, 0.623083) 36.01%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(290.95deg, rgba(254, 241, 229, 0.2) -9.16%, rgba(255, 255, 255, 0) 64.1%);
    padding-top: 100px;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.cs-hero-container {
    padding: 0 50px;
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.cs-hero-breadcrumb {
    font-size: 14px;
    color: #999;
    margin-bottom: 40px;
}

.cs-breadcrumb-active {
    color: #f9a05a;
}

.cs-hero-logo {
    margin-bottom: 30px;
}

.cs-logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #1a1a1a;
}

.cs-hero-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    max-width: 600px;
    margin-bottom: 60px;
    margin-right: 30px;
}

.cs-highlight {
    color: #f9a05a;
}

.cs-hero-author {
    margin-top: 40px;
}

.cs-author-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

.cs-author-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cs-author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.cs-author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.cs-hero-content {
    flex: 1;
    min-width: 0;
}

.cs-author-role {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

.cs-hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 300px;
}


.cs-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.cs-visual-bg-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: #f9a05a;
    border-radius: 30px;
    z-index: 1;
}

.cs-main-visual-img {
    position: relative;
    width: 100%;
    border-radius: 30px;
    z-index: 2;
    height: auto;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cs-main-frame {
    border: 1px solid #FED1AC;
    margin: 0 50px;
    overflow: hidden;
    background-color: #fff;
}

.cs-detail-section {
    border-top: 1px solid #FED1AC;
}

.cs-detail-layout {
    display: flex;
}

.cs-detail-sidebar {
    width: 300px;
    background-color: #fffaf5;
    padding: 60px 40px;
    border-right: 1px solid #FED1AC;
}

.cs-sidebar-text strong {
    display: block;
    font-size: 0.9rem;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.cs-sidebar-text p,
.cs-sidebar-text a {
    font-size: 0.85rem;
    color: #535252;
    text-decoration: none;
    line-height: 1.4;
    margin: 0;
}

.cs-detail-main {
    flex: 1;
    padding: 60px;
}

.cs-content-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cs-content-block p,
.cs-content-block li {
    color: #535252;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 15px;
}

.cs-visit-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 20px 0;
}

.cs-grid-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cs-grid-block.cs-reverse .cs-block-text {
    order: 2;
}

.cs-grid-block.cs-reverse .cs-block-image {
    order: 1;
}

.cs-block-image img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid #FED1AC;
    display: block;
}

.cs-project-sidebar {
    background-color: #fffaf5;
    border-right: 1px solid #FED1AC;
    padding: 60px 40px;
}

.cs-tab-nav {
    display: none;
}

.cs-sidebar-icon-desktop {
    color: #f9a05a;
    font-size: 1.2rem;
    margin-right: 15px;
}

.cs-sidebar-item {
    display: flex;
    margin-bottom: 35px;
}

.custom-border {
    border-left: 1px solid #FED1AC;
    border-right: 1px solid #FED1AC;
    width: 100%;
    display: flex;
    padding: 50px;
}

.cs-logo-img {
    width: 147px;
    height: auto;
}

@media (max-width: 1024px) {
    .custom-border {
        flex-direction: column;
        padding: 30px 15px;
    }

    .cs-main-frame {
        margin: 0 15px;
    }

    .cs-detail-layout {
        flex-direction: column;
    }

    .cs-detail-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #FED1AC;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 30px;
    }

    /* .cs-hero-container {
        gap: 30px;
    } */
    .cs-hero-container {
        padding: 0 15px;
        gap: 0;
    }

    .cs-hero-visual {
        width: 100%;
        display: block;
        flex: none;
    }

    .cs-visual-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }

    .cs-main-visual-img {
        width: 100%;
        height: auto;
    }

    .cs-main-frame {
        margin: 0 15px;
    }

    .cs-detail-layout {
        flex-direction: column;
    }

    .cs-hero-title {
        font-size: 2.5rem;
    }

    .cs-details-flex-layout {
        flex-direction: column;
    }

    .cs-project-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #FED1AC;
        padding: 5px;
    }

    .cs-tab-nav {
        display: flex;
        border-radius: 12px;
        overflow-x: auto;
        margin-bottom: 20px;
        background: #fffaf5;
        scrollbar-width: none;
        border: 1px solid #FED1AC;
    }

    .cs-tab-nav::-webkit-scrollbar {
        display: none;
    }

    .cs-tab-btn {
        flex: 1;
        background: none;
        border: none;
        padding: 12px 8px;
        font-size: 10px;
        font-weight: 600;
        color: #1a1a1a;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        white-space: nowrap;
        border-right: 1px solid #f9a05a33;
    }

    .cs-tab-btn.active {
        background: #ffffff;
    }

    .cs-tab-btn:last-child {
        border-right: none;
    }

    .cs-tab-content {
        display: none;
        padding: 10px;
        animation: fadeIn 0.3s ease;
    }

    .cs-tab-content.active {
        display: flex;
    }

    .cs-sidebar-icon-desktop {
        display: none;
    }

    .mob-hide {
        display: none;
    }

    .cs-hero-content {
        width: 100%;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .cs-detail-main {
        padding: 30px;
    }

    .cs-grid-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cs-grid-block.cs-reverse {
        display: flex;
        flex-direction: column;
    }

    .cs-block-image {
        order: 1;
    }

    .cs-block-text {
        order: 2;
    }

    .cs-detail-sidebar {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cs-sidebar-item {
        margin-bottom: 15px;
    }

    .cs-hero-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
    }

    .cs-hero-content {
        order: 1;
    }

    .cs-hero-visual {
        order: 2;
        width: 100%;
        margin-top: 20px;
    }

    .cs-hero-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .cs-visual-bg-shape {
        top: -15px;
        left: -10px;
    }

    .cs-hero-breadcrumb {
        margin-bottom: 25px;
    }

    .cs-author-img {
        width: 50px;
        height: 50px;
    }

}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}