/* ============================================================
   ENTRY ABOUT SECTION
   File: entry-about.css
============================================================ */

/* ------------------------------
   ABOUT SECTION WRAPPER
------------------------------ */
.ce-section--about {
    margin-top: 1rem;

    /* MATCH METADATA BAR STYLE */
    border: 3px solid var(--entry-color);
    border-radius: 8px;
    padding: 0.75rem 2rem;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);

    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   ABOUT HEADER (TITLE + WEBSITE BUTTON)
============================================================ */
.ce-section--about .ce-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 20px;
    padding-top: 10px;
}

/* ------------------------------
   TITLE BAR (CENTERED)
------------------------------ */
.ce-section--about .ce-section__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    font-size: 22px;
    font-weight: 600;
    color: var(--entry-color);

    flex-grow: 1;
}

/* ------------------------------
   TITLE LINES (LEFT + RIGHT)
------------------------------ */
.ce-section--about .ce-section__line-left,
.ce-section--about .ce-section__line-right {
    height: 2px;
    background: var(--entry-color);
}

.ce-section--about .ce-section__line-left {
    width: 40px;
    flex-shrink: 0;
}

.ce-section--about .ce-section__line-right {
    flex-grow: 1;
}

/* ------------------------------
   TITLE TEXT
------------------------------ */
.ce-section--about .ce-section__title-text {
    font-size: 22px;
    font-weight: 600;
    flex-shrink: 0;
    color: var(--entry-color);
}

/* ============================================================
   WEBSITE BUTTON (BLUE → WHITE ON HOVER)
============================================================ */
.ce-about-website-btn {
    margin-top: -10px;
    background: var(--entry-color);
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 16px;
    display: inline-block;
    white-space: nowrap;
    border: 2px solid var(--entry-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ce-about-website-btn:hover {
    background: #ffffff;
    color: var(--entry-color) !important;
    border-color: var(--entry-color);
    text-decoration: none !important;
}

/* ============================================================
   BODY CONTENT
============================================================ */
.ce-section--about .ce-section__content {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

/* Paragraph spacing */
.ce-section--about .ce-section__content p {
    margin-bottom: 1.4em;
}

/* Bold + italic */
.ce-section--about .ce-section__content strong {
    font-weight: 600;
}

.ce-section--about .ce-section__content em {
    font-style: italic;
}

/* Lists */
.ce-section--about .ce-section__content ul,
.ce-section--about .ce-section__content ol {
    margin: 1em 0 1em 2em;
}

/* Links */
.ce-section--about .ce-section__content a {
    color: var(--entry-color);
    text-decoration: underline;
}

/* ============================================================
   READ MORE / READ LESS TOGGLE
============================================================ */

/* Hidden content */
.ce-about-more {
    display: none;
    margin-top: 1rem;
}

/* Toggle button */
.ce-about-toggle {
    margin-top: 1rem;
    background: var(--entry-color);
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 16px;
    display: inline-block;
    white-space: nowrap;
    border: 2px solid var(--entry-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ce-about-toggle:hover {
    background: #ffffff;
    color: var(--entry-color) !important;
    border-color: var(--entry-color);
    text-decoration: none !important;
}

/* ============================================================
   MOBILE (PORTRAIT)
============================================================ */
@media (max-width: 600px) and (orientation: portrait) {

    .ce-section--about .ce-section__header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .ce-about-website-btn {
        width: 100%;
        text-align: center;
    }

    .ce-section--about .ce-section__title {
        font-size: 22px;
    }

    .ce-section--about .ce-section__content {
        font-size: 16px;
    }
}
