/* Storybook-specific styles (kept here for easy tweaking later) */
body {
    background: #fdf6e3;
}

.storybook-wrapper {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 223, 186, 0.7), transparent 60%),
        radial-gradient(circle at 90% 80%, rgba(186, 225, 255, 0.6), transparent 60%);
    padding-bottom: 60px;
}

.storybook-hero {
    padding: 80px 0 40px;
    text-align: center;
    font-family: "Georgia", "Times New Roman", serif;
    color: #4b3a2a;
}

.storybook-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.storybook-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0.5rem auto 1.5rem;
    color: #6b5743;
}

.storybook-page {
    max-width: 1000px;
    margin: 0 auto;
    background: #fffaf1;
    border-radius: 18px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.storybook-page::before,
.storybook-page::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.02) 0%,
        rgba(0, 0, 0, 0) 60%
    );
    opacity: 0.7;
}

.storybook-page::before {
    left: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.04);
}

.storybook-page::after {
    right: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.04);
}

.storybook-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.storybook-section-title {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #4b3a2a;
}

.storybook-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #5c4a37;
    margin-bottom: 1rem;
}

.storybook-highlight {
    padding: 12px 18px;
    border-left: 4px solid #f4a261;
    background: rgba(244, 162, 97, 0.08);
    border-radius: 0 10px 10px 0;
    margin: 1.5rem 0;
}

.storybook-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.storybook-list li {
    margin-bottom: 0.6rem;
    padding-left: 1.6rem;
    position: relative;
    color: #5c4a37;
}

.storybook-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #f4a261;
}

.storybook-form {
    background: #fffdf8;
    border-radius: 14px;
    border: 1px solid rgba(75, 58, 42, 0.1);
    padding: 20px 20px 22px;
}

.storybook-form h3 {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #4b3a2a;
}

.storybook-form p {
    font-size: 0.95rem;
    color: #6b5743;
    margin-bottom: 1rem;
}

.storybook-form .form-group label {
    font-size: 0.98rem;
}

.storybook-tagline {
    text-align: center;
    margin-top: 1.5rem;
    font-style: italic;
    color: #7a6043;
    font-size: 1rem;
}

.storybook-nav-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.storybook-nav-note a {
    color: #2c5f8d;
    text-decoration: none;
    font-weight: 600;
}

.storybook-nav-note a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .storybook-inner {
        grid-template-columns: 1fr;
    }

    .storybook-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .storybook-page {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .storybook-hero {
        padding-top: 70px;
    }

    .storybook-title {
        font-size: 1.9rem;
    }
}
