/* ---- Attorney inline CTA (LP Attorney Inline) ----
   Compact author-box variant of the Attorney Spotlight block, for dropping
   inline into regular content (e.g. blog posts) rather than a full landing
   page section. The button reuses the site's real button markup/classes
   (lp-btn button) instead of inventing a new style, so it always matches
   button, a.button and input[type='submit'] everywhere. The .lp-btn rule
   below is a harmless duplicate of the one in landing-pages.css, kept here
   only so the button still gets its correct (smaller) sizing on pages that
   don't load that stylesheet, like regular blog posts. */
.lp-atty-inline {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    max-width: 760px;
    margin: 32px auto;
    padding: 30px 36px;
    border: 1px solid #E3E6D9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(43, 48, 29, 0.06), 0 12px 32px -8px rgba(43, 48, 29, 0.18);
}

/* This block is typically the only child of its wrapping column, so the
   site-wide `*:first-child { margin-top: 0; padding-top: 0 }` /
   `*:last-child { margin-bottom: 0; padding-bottom: 0 }` reset (used
   intentionally elsewhere) zeroes out its vertical margin AND padding.
   Re-declaring both here with a doubled selector raises specificity just
   enough to win over that reset, without touching or overriding it for
   anyone else. */
.lp-atty-inline.lp-atty-inline {
    margin-top: 32px;
    margin-bottom: 32px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.lp-atty-inline-img {
    flex: none;
}

.lp-atty-inline-img img {
    display: block;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #9DAA66;
}

.lp-atty-inline-content {
    flex: 1 1 320px;
}

.lp-atty-inline-content p {
    font-size: 1.1em;
    color: #2B2D2F;
    margin: 0 0 18px;
    line-height: 1.5;
}

.lp-atty-inline-content .lp-btn {
    font-size: 1.03em !important;
    transition: background 0.15s;
}

.lp-atty-inline-content .lp-btn:hover {
    background: #A2B944;
    color: #2B301D;
}

@media (max-width: 782px) {
    .lp-atty-inline {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
    .lp-atty-inline.lp-atty-inline {
        padding-top: 28px;
        padding-bottom: 28px;
    }
    .lp-atty-inline-content {
    flex: 1 1 100%;
}
    .lp-atty-inline-content p {
        margin-bottom: 16px;
    }
}
