/* ======================================================================
   HamyarGPS Article Byline v4 — compact and shadow-free
   Place directly below the article H1 and before the introduction
   ====================================================================== */
.hgps-byline-container {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin-right: 0 !important;
    margin-left: 0 !important;
    container: hgps-byline / inline-size;
}

#hgps-article-byline {
    --hbl-primary: #4f36b4;
    --hbl-primary-soft: #f2efff;
    --hbl-orange: #e96824;
    --hbl-orange-soft: #fff2ea;
    --hbl-green: #168a52;
    --hbl-green-soft: #eaf8f0;
    --hbl-text: #27324a;
    --hbl-muted: #748097;
    --hbl-border: #e3e7ef;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.65fr);
    gap: 7px;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 7px 0 11px !important;
    padding: 6px;
    overflow: visible;
    color: var(--hbl-text);
    background: linear-gradient(135deg, #ffffff, #fafbfe);
    border: 1px solid var(--hbl-border);
    border-radius: 11px;
    direction: rtl;
    font-family: inherit;
    line-height: 1.7;
}

#hgps-article-byline,
#hgps-article-byline * {
    box-sizing: border-box;
}

#hgps-article-byline::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--hbl-orange), var(--hbl-primary), var(--hbl-green));
}

#hgps-article-byline .hbl-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: visible;
    padding: 7px 9px;
    background: #ffffff;
    border: 1px solid #e9ebf1;
    border-radius: 8px;
}

#hgps-article-byline .hbl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 9px;
}

#hgps-article-byline .hbl-icon svg,
#hgps-article-byline .hbl-verified svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

#hgps-article-byline .hbl-item--author .hbl-icon {
    color: var(--hbl-primary);
    background: var(--hbl-primary-soft);
}

#hgps-article-byline .hbl-item--date .hbl-icon {
    color: var(--hbl-orange);
    background: var(--hbl-orange-soft);
}

#hgps-article-byline .hbl-content {
    min-width: 0;
    overflow: visible;
}

#hgps-article-byline .hbl-label {
    display: block;
    margin-bottom: 1px;
    color: var(--hbl-muted);
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.5;
}

#hgps-article-byline .hbl-label-mobile {
    display: none;
}

#hgps-article-byline .hbl-value {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: visible;
    color: var(--hbl-text);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.7;
}

#hgps-article-byline .hbl-author-link {
    display: inline;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    color: var(--hbl-primary) !important;
    font-weight: 850;
    text-decoration: none !important;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

#hgps-article-byline .hbl-author-link:hover {
    color: #382285 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

#hgps-article-byline .hbl-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #ffffff;
    background: var(--hbl-green);
    border-radius: 50%;
}

#hgps-article-byline .hbl-verified svg {
    width: 11px;
    height: 11px;
    stroke-width: 2.4;
}

#hgps-article-byline time {
    color: var(--hbl-text);
    font-variant-numeric: tabular-nums;
}

#hgps-article-byline .hbl-review-state {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: auto;
    padding: 3px 7px;
    color: var(--hbl-green);
    background: var(--hbl-green-soft);
    border: 1px solid #ceeedd;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 750;
    white-space: nowrap;
}

#hgps-article-byline .hbl-review-state::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    background: var(--hbl-green);
    border-radius: 50%;
}

#hgps-article-byline a:focus-visible {
    outline: 3px solid #ff9b5c;
    outline-offset: 3px;
    border-radius: 4px;
}

@container hgps-byline (max-width: 650px) {
    #hgps-article-byline {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
        gap: 7px;
        padding: 5px;
    }

    #hgps-article-byline .hbl-item {
        min-height: 0;
        gap: 7px;
        padding: 6px;
    }

    #hgps-article-byline .hbl-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
        border-radius: 7px;
    }

    #hgps-article-byline .hbl-icon svg {
        width: 14px;
        height: 14px;
    }

    #hgps-article-byline .hbl-label {
        font-size: 0.58rem;
        white-space: nowrap;
    }

    #hgps-article-byline .hbl-value {
        gap: 4px;
        font-size: 0.68rem;
        line-height: 1.65;
    }

    #hgps-article-byline .hbl-author-link {
        display: inline;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: break-word;
    }

    #hgps-article-byline .hbl-review-state {
        display: none;
    }

    #hgps-article-byline time {
        white-space: nowrap;
    }
}

@container hgps-byline (max-width: 390px) {
    #hgps-article-byline {
        grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
        gap: 5px;
        padding: 4px;
    }

    #hgps-article-byline .hbl-item {
        gap: 5px;
        min-height: 0;
        padding: 5px;
    }

    #hgps-article-byline .hbl-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
        border-radius: 6px;
    }

    #hgps-article-byline .hbl-icon svg {
        width: 12px;
        height: 12px;
    }

    #hgps-article-byline .hbl-label {
        font-size: 0.53rem;
    }

    #hgps-article-byline .hbl-value {
        font-size: 0.61rem;
    }

    #hgps-article-byline .hbl-verified {
        display: none;
    }

    #hgps-article-byline .hbl-label-desktop {
        display: none;
    }

    #hgps-article-byline .hbl-label-mobile {
        display: inline;
    }
}

@supports not (container-type: inline-size) {
    @media (max-width: 650px) {
        #hgps-article-byline {
            grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
            gap: 7px;
        }

        #hgps-article-byline .hbl-item {
            gap: 7px;
            padding: 6px;
        }

        #hgps-article-byline .hbl-icon {
            width: 25px;
            height: 25px;
            flex-basis: 25px;
        }

        #hgps-article-byline .hbl-label {
            font-size: 0.58rem;
            white-space: nowrap;
        }

        #hgps-article-byline .hbl-value {
            font-size: 0.68rem;
        }

        #hgps-article-byline .hbl-author-link {
            display: inline;
            overflow: visible;
            white-space: normal;
            overflow-wrap: break-word;
        }

        #hgps-article-byline .hbl-review-state {
            display: none;
        }

        #hgps-article-byline time {
            white-space: nowrap;
        }
    }
}

@media (max-width: 600px) {
    #hgps-article-byline {
        margin: 6px 0 9px !important;
        padding: 5px;
        border-radius: 10px;
    }

    #hgps-article-byline .hbl-item {
        min-height: 0;
        padding: 6px;
    }

    #hgps-article-byline .hbl-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
        border-radius: 7px;
    }

    #hgps-article-byline .hbl-icon svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 390px) {
    #hgps-article-byline .hbl-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
        border-radius: 6px;
    }

    #hgps-article-byline .hbl-icon svg {
        width: 12px;
        height: 12px;
    }

    #hgps-article-byline .hbl-verified {
        display: none;
    }

    #hgps-article-byline .hbl-label-desktop {
        display: none;
    }

    #hgps-article-byline .hbl-label-mobile {
        display: inline;
    }
}

@media (prefers-reduced-motion: reduce) {
    #hgps-article-byline .hbl-author-link {
        scroll-behavior: auto;
    }
}

/* ======================================================================
   HamyarGPS Author Profile v2.1
   Fully scoped • Responsive • Accessible • No JavaScript dependency
   ====================================================================== */
#hgps-author-profile {
    --hab-navy: #162544;
    --hab-navy-2: #243d73;
    --hab-purple: #5b3fc2;
    --hab-orange: #ff7a32;
    --hab-green: #27ae60;
    --hab-blue: #2878d8;
    --hab-rose: #d94c74;
    --hab-text: #253047;
    --hab-muted: #68748b;
    --hab-border: #e4e8f0;
    --hab-surface: #ffffff;
    --hab-soft: #f7f9fc;
    position: relative;
    width: 100%;
    margin: 28px 0;
    overflow: hidden;
    color: var(--hab-text);
    background: var(--hab-surface);
    border: 1px solid var(--hab-border);
    border-radius: 20px;
    box-shadow: 0 14px 42px rgba(22, 37, 68, 0.12);
    direction: rtl;
    font-family: inherit;
    line-height: 1.9;
    container: hgps-author-box / inline-size;
}

#hgps-author-profile,
#hgps-author-profile * {
    box-sizing: border-box;
}

#hgps-author-profile .hab-accent-line {
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--hab-orange) 0 24%,
        var(--hab-purple) 24% 52%,
        var(--hab-blue) 52% 76%,
        var(--hab-green) 76% 100%
    );
}

/* ===== Author header ===== */
#hgps-author-profile .hab-header {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: clamp(20px, 3.2vw, 30px);
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,.13), transparent 25%),
        linear-gradient(135deg, var(--hab-navy), var(--hab-navy-2) 58%, #3b327d);
}

#hgps-author-profile .hab-header::before,
#hgps-author-profile .hab-header::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

#hgps-author-profile .hab-header::before {
    width: 210px;
    height: 210px;
    top: -135px;
    left: -45px;
}

#hgps-author-profile .hab-header::after {
    width: 140px;
    height: 140px;
    right: -75px;
    bottom: -85px;
}

#hgps-author-profile .hab-avatar-wrap {
    position: relative;
    width: clamp(78px, 9vw, 94px);
    height: clamp(78px, 9vw, 94px);
    flex-shrink: 0;
}

#hgps-author-profile .hab-avatar-ring {
    width: 100%;
    height: 100%;
    padding: 4px;
    background: linear-gradient(145deg, #ffffff, #80d69e, #ffaf79);
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
    transform: rotate(2deg);
}

#hgps-author-profile .hab-avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #ffffff;
    border: 3px solid var(--hab-navy);
    border-radius: 20px;
    transform: rotate(-2deg);
}

#hgps-author-profile .hab-verified {
    position: absolute;
    left: -5px;
    bottom: -5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    color: #ffffff;
    background: var(--hab-green);
    border: 3px solid var(--hab-navy-2);
    border-radius: 50%;
    box-shadow: 0 4px 11px rgba(0, 0, 0, 0.2);
}

#hgps-author-profile .hab-verified svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
}

#hgps-author-profile .hab-author-meta {
    min-width: 0;
}

#hgps-author-profile .hab-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    font-weight: 650;
}

#hgps-author-profile .hab-eyebrow svg {
    width: 16px;
    height: 16px;
    color: #ffb47f;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

#hgps-author-profile .hab-author-name {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(1.08rem, 2.2vw, 1.42rem) !important;
    font-weight: 900;
    line-height: 1.65;
}

#hgps-author-profile .hab-author-name a {
    color: #ffffff !important;
    text-decoration: none !important;
}

#hgps-author-profile .hab-author-name a:hover {
    color: #fff2a8 !important;
}

#hgps-author-profile .hab-role {
    margin: 3px 0 0 !important;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.8;
}

#hgps-author-profile .hab-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

#hgps-author-profile .hab-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 650;
    line-height: 1.5;
}

#hgps-author-profile .hab-tag::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    background: #77dda0;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(119, 221, 160, 0.12);
}

/* ===== Main content ===== */
#hgps-author-profile .hab-content {
    padding: clamp(14px, 2.6vw, 22px);
    background: var(--hab-soft);
}

#hgps-author-profile .hab-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 15px 16px;
    background: #ffffff;
    border: 1px solid var(--hab-border);
    border-right: 4px solid var(--hab-purple);
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(22, 37, 68, 0.035);
}

#hgps-author-profile .hab-summary-icon,
#hgps-author-profile .hab-principle-icon,
#hgps-author-profile .hab-info-icon,
#hgps-author-profile .hab-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#hgps-author-profile .hab-summary-icon {
    width: 38px;
    height: 38px;
    color: var(--hab-purple);
    background: #f1edff;
    border: 1px solid #ddd5fb;
    border-radius: 10px;
}

#hgps-author-profile .hab-summary-icon svg,
#hgps-author-profile .hab-principle-icon svg,
#hgps-author-profile .hab-info-icon svg,
#hgps-author-profile .hab-link-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.85;
}

#hgps-author-profile .hab-summary p {
    margin: 0 !important;
    color: #465168;
    font-size: 0.84rem;
    line-height: 2;
    text-align: right;
}

#hgps-author-profile .hab-summary strong {
    color: var(--hab-navy);
    font-weight: 850;
}

#hgps-author-profile .hab-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

#hgps-author-profile .hab-principle {
    --hab-card-color: var(--hab-blue);
    --hab-card-bg: #eef6ff;
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--hab-border);
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(22, 37, 68, 0.035);
}

#hgps-author-profile .hab-principle::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--hab-card-color);
}

#hgps-author-profile .hab-principle--method {
    --hab-card-color: var(--hab-blue);
    --hab-card-bg: #eef6ff;
}

#hgps-author-profile .hab-principle--trust {
    --hab-card-color: var(--hab-green);
    --hab-card-bg: #edf9f2;
}

#hgps-author-profile .hab-principle--goal {
    --hab-card-color: var(--hab-orange);
    --hab-card-bg: #fff4ec;
}

#hgps-author-profile .hab-principle-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
}

#hgps-author-profile .hab-principle-icon {
    width: 34px;
    height: 34px;
    color: var(--hab-card-color);
    background: var(--hab-card-bg);
    border-radius: 9px;
}

#hgps-author-profile .hab-principle-title {
    margin: 0 !important;
    color: var(--hab-navy) !important;
    font-size: 0.82rem !important;
    font-weight: 850;
    line-height: 1.65;
}

#hgps-author-profile .hab-principle p {
    margin: 0 !important;
    color: #59657b;
    font-size: 0.74rem;
    line-height: 1.95;
    text-align: right;
}

/* ===== Official links ===== */
#hgps-author-profile .hab-footer {
    padding: clamp(15px, 2.5vw, 21px);
    background: #ffffff;
    border-top: 1px solid var(--hab-border);
}

#hgps-author-profile .hab-info-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

#hgps-author-profile .hab-info-icon {
    width: 35px;
    height: 35px;
    color: var(--hab-purple);
    background: #f1edff;
    border-radius: 9px;
}

#hgps-author-profile .hab-info-title {
    margin: 0 !important;
    color: var(--hab-navy) !important;
    font-size: 0.86rem !important;
    font-weight: 900;
    line-height: 1.65;
}

#hgps-author-profile .hab-info-subtitle {
    display: block;
    margin-top: 1px;
    color: var(--hab-muted);
    font-size: 0.67rem;
    font-weight: 500;
    line-height: 1.6;
}

#hgps-author-profile .hab-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

#hgps-author-profile .hab-link {
    --hab-link-color: var(--hab-purple);
    --hab-link-bg: #f1edff;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 54px;
    padding: 9px 10px;
    color: #435068 !important;
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 10px;
    text-decoration: none !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#hgps-author-profile .hab-link:hover {
    color: var(--hab-link-color) !important;
    border-color: color-mix(in srgb, var(--hab-link-color) 38%, #ffffff);
    box-shadow: 0 6px 16px rgba(22, 37, 68, 0.08);
    transform: translateY(-2px);
}

#hgps-author-profile .hab-link-icon {
    width: 31px;
    height: 31px;
    color: var(--hab-link-color);
    background: var(--hab-link-bg);
    border-radius: 8px;
}

#hgps-author-profile .hab-link-icon svg {
    width: 17px;
    height: 17px;
}

#hgps-author-profile .hab-link-text {
    min-width: 0;
    overflow: hidden;
    font-size: 0.69rem;
    font-weight: 750;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#hgps-author-profile .hab-link--about {
    --hab-link-color: #5b3fc2;
    --hab-link-bg: #f1edff;
}

#hgps-author-profile .hab-link--privacy {
    --hab-link-color: #1f8c57;
    --hab-link-bg: #eaf8f0;
}

#hgps-author-profile .hab-link--rules {
    --hab-link-color: #2878d8;
    --hab-link-bg: #edf5ff;
}

#hgps-author-profile .hab-link--contact {
    --hab-link-color: #d05a20;
    --hab-link-bg: #fff2ea;
}

#hgps-author-profile .hab-link--consultation {
    --hab-link-color: #b53e69;
    --hab-link-bg: #fff0f5;
}

#hgps-author-profile .hab-link--support {
    --hab-link-color: #167f9e;
    --hab-link-bg: #eaf8fc;
}

#hgps-author-profile .hab-link--email {
    --hab-link-color: #6d5a16;
    --hab-link-bg: #fff8df;
}

#hgps-author-profile .hab-link--enamad {
    --hab-link-color: #9a6813;
    --hab-link-bg: #fff6dc;
}

/* ===== Focus, container queries and fallbacks ===== */
#hgps-author-profile a:focus-visible {
    outline: 3px solid #ff9a55;
    outline-offset: 3px;
}

@container hgps-author-box (max-width: 880px) {
    #hgps-author-profile .hab-principles {
        grid-template-columns: 1fr;
    }

    #hgps-author-profile .hab-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container hgps-author-box (max-width: 560px) {
    #hgps-author-profile .hab-header {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    #hgps-author-profile .hab-author-meta {
        width: 100%;
    }

    #hgps-author-profile .hab-tags {
        justify-content: center;
    }

    #hgps-author-profile .hab-summary {
        grid-template-columns: 1fr;
    }

    #hgps-author-profile .hab-summary-icon {
        margin-inline: auto;
    }

    #hgps-author-profile .hab-summary p {
        text-align: right;
    }

    #hgps-author-profile .hab-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #hgps-author-profile .hab-link {
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        min-height: 88px;
        padding: 10px 7px;
        text-align: center;
    }

    #hgps-author-profile .hab-link-text {
        overflow: visible;
        font-size: 0.66rem;
        line-height: 1.75;
        text-align: center;
        text-overflow: clip;
        white-space: normal;
    }
}

@supports not (container-type: inline-size) {
    @media (max-width: 880px) {
        #hgps-author-profile .hab-principles {
            grid-template-columns: 1fr;
        }

        #hgps-author-profile .hab-links {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 560px) {
        #hgps-author-profile .hab-header,
        #hgps-author-profile .hab-summary {
            grid-template-columns: 1fr;
        }

        #hgps-author-profile .hab-header {
            justify-items: center;
            text-align: center;
        }

        #hgps-author-profile .hab-tags {
            justify-content: center;
        }

        #hgps-author-profile .hab-links {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        #hgps-author-profile .hab-link {
            flex-direction: column;
            justify-content: center;
            min-height: 88px;
            text-align: center;
        }

        #hgps-author-profile .hab-link-text {
            overflow: visible;
            text-align: center;
            text-overflow: clip;
            white-space: normal;
        }
    }
}

@media (max-width: 600px) {
    #hgps-author-profile {
        margin: 20px 0;
        border-radius: 15px;
    }

    #hgps-author-profile .hab-header {
        padding: 21px 15px;
    }

    #hgps-author-profile .hab-content,
    #hgps-author-profile .hab-footer {
        padding: 11px;
    }

    #hgps-author-profile .hab-avatar-wrap {
        width: 80px;
        height: 80px;
    }

    #hgps-author-profile .hab-author-name {
        font-size: 1.04rem !important;
    }

    #hgps-author-profile .hab-role {
        font-size: 0.72rem;
    }

    #hgps-author-profile .hab-principle {
        padding: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #hgps-author-profile .hab-link {
        transition: none;
    }
}

/* v2.3 admin-controlled overrides */
#hgps-article-byline{background:var(--hbl-background,#fff);border-color:var(--hbl-border,#dce5f1);border-radius:var(--hbl-radius,11px);color:var(--hbl-text,#26344d)}
#hgps-article-byline .hbl-label{font-size:var(--hbl-label-size,11px);color:var(--hbl-muted,#536178)}
#hgps-article-byline .hbl-value{font-size:var(--hbl-value-size,13px)}
#hgps-author-profile{background:var(--hab-surface,#fff);border-color:var(--hab-border,#dce5f1);border-radius:var(--hab-radius,18px);color:var(--hab-text,#26344d)}
#hgps-author-profile .hab-author-name{font-size:var(--hab-name-size,22px)}
#hgps-author-profile .hab-role,#hgps-author-profile .hab-summary p,#hgps-author-profile .hab-principle p{font-size:var(--hab-body-size,13px)}
#hgps-author-profile .hab-link-text{font-size:var(--hab-link-size,12px)}
@media(max-width:640px){#hgps-article-byline .hbl-label{font-size:var(--hbl-mobile-label-size,10px)}#hgps-article-byline .hbl-value{font-size:var(--hbl-mobile-value-size,12px)}#hgps-author-profile .hab-author-name{font-size:var(--hab-name-mobile-size,19px)}}
