/**
 * Module: article_quote
 */

/* ============================================
   QUOTE
   ============================================ */

.t1-quote {
    margin: 2rem 0;
    padding: 0;
}

.t1-quote__blockquote {
    margin: 0;
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--jade-dark);
    background: var(--jade-light);
    border-left: 4px solid var(--jade);
    border-radius: 0 8px 8px 0;
}

.t1-quote__blockquote > :first-child {
    margin-top: 0;
}

.t1-quote__blockquote > :last-child {
    margin-bottom: 0;
}

.t1-quote__attribution {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0 2rem;
}

.t1-quote--img-right .t1-quote__attribution {
    flex-direction: row-reverse;
}

.t1-quote__media {
    flex-shrink: 0;
}

.t1-quote__media img {
    display: block;
}

.t1-quote__media--circle img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.t1-quote__media--square img {
    width: 64px;
    height: 64px;
    border-radius: 4px;
    object-fit: cover;
}

.t1-quote__media--original img {
    max-width: 120px;
    height: auto;
    border-radius: 4px;
}

.t1-quote__source {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.t1-quote__name {
    font-style: normal;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}

.t1-quote__name:hover {
    color: var(--jade);
}

.t1-quote__role {
    font-size: 0.9375rem;
    color: var(--charcoal);
}

.t1-quote__date {
    font-size: 0.875rem;
    color: var(--stone);
}

.t1-quote__url {
    font-size: 0.875rem;
    color: var(--jade);
    text-decoration: none;
    word-break: break-all;
}

.t1-quote__url:hover {
    text-decoration: underline;
}

/* Bold variant */
.t1-quote--bold .t1-quote__blockquote {
    font-size: 1.5rem;
    font-style: normal;
    text-align: center;
    border-left: none;
    border-radius: 12px;
    background: var(--pearl);
    color: var(--ink);
    position: relative;
    padding-top: 3rem;
}

.t1-quote--bold .t1-quote__blockquote::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--jade);
    opacity: 0.3;
    line-height: 1;
}

.t1-quote--bold .t1-quote__attribution {
    justify-content: center;
    text-align: center;
}

/* Minimal variant */
.t1-quote--minimal .t1-quote__blockquote {
    background: white;
    border: 2px solid var(--pearl);
    border-left-width: 4px;
    border-left-color: var(--jade);
    font-style: normal;
    color: var(--ink);
}

/* Dark variant */
.t1-quote--dark .t1-quote__blockquote {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.9);
    border-left: none;
    border-radius: 12px;
}

.t1-quote--dark .t1-quote__name {
    color: #fff;
}

.t1-quote--dark .t1-quote__name:hover {
    color: var(--jade);
}

.t1-quote--dark .t1-quote__role {
    color: rgba(255, 255, 255, 0.7);
}

.t1-quote--dark .t1-quote__date {
    color: rgba(255, 255, 255, 0.5);
}

.t1-quote--dark .t1-quote__url {
    color: var(--jade);
}

/* ========================================
   LIGHT THEME OVERRIDE
   ======================================== */

.t1-quote--light .t1-quote__blockquote {
    color: var(--jade-dark);
    background: var(--jade-light);
    border-left-color: var(--jade);
}

.t1-quote--light .t1-quote__name {
    color: var(--ink);
}

.t1-quote--light .t1-quote__name:hover {
    color: var(--jade);
}

.t1-quote--light .t1-quote__role {
    color: var(--charcoal);
}

.t1-quote--light .t1-quote__date {
    color: var(--stone);
}

.t1-quote--light .t1-quote__url {
    color: var(--jade);
}

.t1-quote--light.t1-quote--bold .t1-quote__blockquote {
    background: var(--pearl);
    color: var(--ink);
}

.t1-quote--light.t1-quote--bold .t1-quote__blockquote::before {
    color: var(--jade);
}

.t1-quote--light.t1-quote--minimal .t1-quote__blockquote {
    background: white;
    border-color: var(--pearl);
    border-left-color: var(--jade);
    color: var(--ink);
}