/* 
   --- ISOS DECORATOR LIBRARY ---
   Advanced visual flourishes and branded elements.
   Depends on: theme.css, site_vars.css
*/

/* 1. BLOCKQUOTE SIGNATURE */
.isos-quote-signature {
    position: relative;
    padding: 2rem 3rem;
    background-color: var(--quote-bg-faded, rgba(0, 0, 0, 0.05));
    border-radius: var(--isos-radius-lg, 1.5rem);
    border-left: 4px solid var(--isos-primary);
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
}

.isos-quote-signature::before {
    content: "\f10d";
    /* FontAwesome Quote Left */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: var(--quote-top, -1rem);
    left: var(--quote-left, 2rem);
    font-size: 2.5rem;
    color: var(--quote-icon-color, var(--isos-primary));
    background-color: var(--isos-bg, #fff);
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.isos-quote-signature p {
    font-family: var(--isos-font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--isos-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.isos-quote-signature cite {
    align-self: flex-end;
    font-style: normal;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--isos-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 2. BRANDED LISTS */
.isos-list-branded {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

/* Unordered List (Bullets) */
.isos-list-branded ul {
    padding-left: 0;
}

.isos-list-branded li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.isos-list-branded li::before {
    content: "";
    /* Circle Bullet */
    position: absolute;
    left: 0;
    top: 0.6em;
    /* Adjust visually */
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--isos-primary);
    border-radius: 50%;
}

/* Ordered List (Numbers) */
.isos-list-branded.isos-list-ordered {
    counter-reset: branded-counter;
}

.isos-list-branded.isos-list-ordered li {
    counter-increment: branded-counter;
}

.isos-list-branded.isos-list-ordered li::before {
    content: counter(branded-counter);
    width: 1.75rem;
    height: 1.75rem;
    top: 0;
    background-color: var(--isos-primary);
    color: var(--isos-light-bg, #fff);
    /* Logic requirement */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

/* 3. TYPOGRAPHY DECORATORS */

/* Header Underline */
.isos-header-underline {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.isos-header-underline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    /* Short brand line */
    height: 4px;
    background-color: var(--isos-primary);
    border-radius: 2px;
}

/* Centered Variant */
.text-center .isos-header-underline::after {
    left: 50%;
    transform: translateX(-50%);
}

/* HR Diamond */
.isos-hr-diamond {
    border: 0;
    height: 1px;
    background: var(--isos-border);
    margin: 4rem 0;
    position: relative;
    overflow: visible;
}

.isos-hr-diamond::before {
    content: "";
    /* Diamond */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    background-color: var(--isos-primary);
    transform: translate(-50%, -50%) rotate(45deg);
    border: 3px solid var(--isos-bg, #fff);
    /* White border to separate from line */
}