﻿#about {
    background: var(--surface);
}

#aboutTabs {
    gap: .75rem;
}

#aboutTabs .nav-link {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    transition: all .25s ease;
}

#aboutTabs .nav-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

#aboutTabs .nav-link.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

#aboutTabContent {
    margin-top: 2rem;
}

/* #aboutTabContent .tab-pane {
    animation: fadeInTab .5s ease;
} */

#aboutTabContent h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .75rem;
}

#aboutTabContent p {
    text-align: justify;
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#aboutTabContent .mb-3 {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--white);
    transition: all .25s ease;
}

#aboutTabContent .about-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    cursor: pointer;
    border-color: var(--accent);
}

/* @keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

/* ── About Items ── */
.about-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1f36;
    margin-bottom: 6px;
}

/* ── Read More Toggle ── */
.about-toggle-btn {
    background: none;
    border: none;
    padding: 4px 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #c8a951;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 0;
    transition: color 0.2s ease;
}

.about-toggle-btn:hover {
    color: #a8882e;
}

.about-toggle-icon {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

.about-toggle-icon.rotated {
    transform: rotate(180deg);
}

.about-full {
    animation: fadeIn 0.25s ease;
}

/* ── Rich content (Quill HTML) inside about ── */
.about-text {
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-muted);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-text p {
    margin-bottom: 0.75rem;
}

.about-preview p {
    margin-bottom: 0;
}

.about-preview {
    max-height: 4.5em;
    overflow: hidden;
    position: relative;
}

.about-preview::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.5em;
    background: linear-gradient(transparent, var(--white, #fff));
    pointer-events: none;
}

.about-text h1,
.about-text h2,
.about-text h3 {
    font-weight: 700;
    color: var(--text, #1a1f36);
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}
.about-text h1 { font-size: 1.25rem; }
.about-text h2 { font-size: 1.1rem; }
.about-text h3 { font-size: 0.95rem; }

.about-text ul,
.about-text ol {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.about-text blockquote {
    border-left: 3px solid var(--accent, #c8a951);
    padding-left: 1rem;
    margin: 0.75rem 0;
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.about-text a {
    color: var(--accent, #003087);
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
