/**
 * Portal shell: plugin-owned chrome (header/footer) and hub blocks.
 */

html {
    background: #f4f7fb;
}

html.xtq-ser-hub-portal-embed {
    background: #0a0f1a;
}

body.xtq-ser-hub-portal-shell {
    align-items: stretch !important;
    background: #f4f7fb;
    color: #1a2b3d;
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
}

body.xtq-ser-hub-portal-shell.xtq-ser-hub-portal-embed {
    background:
        radial-gradient(circle at top, rgba(99, 102, 241, 0.16), rgba(99, 102, 241, 0) 38%),
        linear-gradient(180deg, #0a0f1a 0%, #0f172a 100%);
}

body.xtq-ser-hub-portal-shell.xtq-ser-hub-portal-embed #xtq-ser-portal-main {
    background: transparent;
}

.xtq-ser-portal-skip-link {
    background: #0f3d75;
    clip: rect(1px, 1px, 1px, 1px);
    color: #fff;
    height: 1px;
    left: 0;
    overflow: hidden;
    padding: 0.5rem 1rem;
    position: absolute;
    text-decoration: none;
    top: 0;
    width: 1px;
    z-index: 100000;
}

.xtq-ser-portal-skip-link:focus {
    clip: auto;
    height: auto;
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
    width: auto;
}

.xtq-ser-portal-chrome__header {
    background: #ffffff;
    border-bottom: 1px solid #dde6ee;
    box-shadow: 0 6px 24px rgba(24, 39, 75, 0.06);
    position: sticky;
    top: 0;
    transition: transform 0.24s ease, box-shadow 0.2s ease;
    will-change: transform;
    z-index: 50;
}

.xtq-ser-portal-chrome__inner {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 80rem;
    padding: 0.72rem 1rem;
}

.xtq-ser-portal-chrome__brand-link {
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    line-height: 1.2;
    text-decoration: none;
}

.xtq-ser-portal-chrome__brand-logo {
    display: block;
    height: auto;
    max-width: 52px;
    width: 52px;
}

.xtq-ser-portal-chrome__brand-text {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
}

.xtq-ser-portal-chrome__brand-link:hover,
.xtq-ser-portal-chrome__brand-link:focus {
    color: #0f3d75;
}

.xtq-ser-portal-chrome__brand-name {
    font-size: 1.05rem;
    font-weight: 700;
}

.xtq-ser-portal-chrome__brand-tag {
    color: #5c6f82;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.xtq-ser-portal-chrome__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.7rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xtq-ser-portal-chrome__nav-link {
    border-radius: 999px;
    color: #3d4f63;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.3rem 0.55rem;
    text-decoration: none;
}

.xtq-ser-portal-chrome__nav-link:hover,
.xtq-ser-portal-chrome__nav-link:focus {
    background: #eef4fb;
    color: #0f3d75;
}

.xtq-ser-portal-chrome__nav-link.is-active {
    background: #e8f1fb;
    color: #0f3d75;
}

.xtq-ser-portal-chrome__actions {
    margin-left: auto;
}

.xtq-ser-portal-chrome__actions .xtq-ser-hub-button {
    margin-top: 0;
    padding: 0.72rem 0.95rem;
    white-space: nowrap;
}

.xtq-ser-portal-chrome__actions--bridge {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

@media (max-width: 1180px) {
    .xtq-ser-portal-chrome__inner {
        gap: 0.85rem 1rem;
    }

    .xtq-ser-portal-chrome__brand-logo {
        max-width: 46px;
        width: 46px;
    }

    .xtq-ser-portal-chrome__brand-name {
        font-size: 0.98rem;
    }

    .xtq-ser-portal-chrome__brand-tag {
        font-size: 0.66rem;
    }

    .xtq-ser-portal-chrome__nav-list {
        gap: 0.25rem 0.45rem;
    }

    .xtq-ser-portal-chrome__nav-link {
        font-size: 0.84rem;
        padding: 0.26rem 0.5rem;
    }

    .xtq-ser-portal-chrome__actions .xtq-ser-hub-button {
        font-size: 0.86rem;
        padding: 0.64rem 0.88rem;
    }
}

.xtq-ser-portal-chrome__cta--ghost.xtq-ser-hub-button--ghost-header {
    background: transparent;
    border: 2px solid #c5d2e0;
    color: #0f3d75 !important;
}

.xtq-ser-portal-chrome__cta--ghost.xtq-ser-hub-button--ghost-header:hover,
.xtq-ser-portal-chrome__cta--ghost.xtq-ser-hub-button--ghost-header:focus {
    background: #f5f8fc;
    border-color: #1a73e8;
}

.xtq-ser-portal__masthead__actions--bridge .xtq-ser-hub-button--ghost-hero {
    background: transparent;
    border: 2px solid #1a73e8;
    color: #1a73e8 !important;
}

.xtq-ser-portal__masthead__actions--bridge .xtq-ser-hub-button--ghost-hero:hover,
.xtq-ser-portal__masthead__actions--bridge .xtq-ser-hub-button--ghost-hero:focus {
    background: #f0f6ff;
}

@media (max-width: 640px) {
    .xtq-ser-portal-chrome__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.7rem 0.9rem 0.85rem;
    }

    .xtq-ser-portal-chrome__brand-name {
        font-size: 0.92rem;
    }

    .xtq-ser-portal-chrome__brand-tag {
        font-size: 0.64rem;
    }

    .xtq-ser-portal-chrome__brand-logo {
        max-width: 44px;
        width: 44px;
    }

    .xtq-ser-portal-chrome__nav-list {
        gap: 0.25rem 0.45rem;
        justify-content: flex-start;
    }

    .xtq-ser-portal-chrome__nav-link {
        font-size: 0.82rem;
        padding: 0.3rem 0.55rem;
    }

    .xtq-ser-portal-chrome__nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .xtq-ser-portal-chrome__actions {
        margin-left: 0;
    }

    .xtq-ser-portal-chrome__actions .xtq-ser-hub-button {
        border-width: 1.5px;
        font-size: 0.88rem;
        padding: 0.68rem 0.9rem;
        text-align: center;
    }

    .xtq-ser-portal-chrome__actions--bridge {
        display: grid;
        gap: 0.45rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .xtq-ser-portal-chrome__actions--bridge .xtq-ser-hub-button {
        align-items: center;
        display: inline-flex;
        justify-content: center;
        min-width: 0;
        min-height: 3rem;
        width: 100%;
    }

    .xtq-ser-portal-chrome__actions--has-register .xtq-ser-portal-chrome__cta--ghost {
        grid-column: 1 / -1;
    }

    .xtq-ser-portal-chrome__actions--logged-in {
        align-items: stretch;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xtq-ser-portal-chrome__actions--logged-in .xtq-ser-hub-button {
        font-size: 0.84rem;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .xtq-ser-portal-chrome__actions--logged-in .xtq-ser-portal-chrome__cta--ghost {
        grid-column: auto;
    }
}

@media (max-width: 820px) {
    .xtq-ser-portal-chrome__inner {
        align-items: stretch;
    }

    .xtq-ser-portal-chrome__brand {
        min-width: 0;
    }

    .xtq-ser-portal-chrome__brand-link {
        width: 100%;
    }

    .xtq-ser-portal-chrome__brand-text {
        min-width: 0;
    }

    .xtq-ser-portal-chrome__brand-name {
        overflow-wrap: anywhere;
    }

    .xtq-ser-portal-chrome__nav {
        min-width: 0;
        scrollbar-width: none;
    }

    .xtq-ser-portal-chrome__nav::-webkit-scrollbar {
        display: none;
    }

    .xtq-ser-portal-chrome__nav-list {
        flex-wrap: nowrap;
        min-width: 100%;
        padding-bottom: 0.1rem;
        width: max-content;
    }

    .xtq-ser-portal-chrome__nav-link {
        display: inline-flex;
        white-space: nowrap;
    }

    .xtq-ser-portal-chrome__actions,
    .xtq-ser-portal-chrome__actions--bridge {
        min-width: 0;
        width: 100%;
    }

    .xtq-ser-portal-chrome__actions .xtq-ser-hub-button {
        min-width: 0;
    }

    .xtq-ser-portal-chrome__header.is-mobile-collapsible.is-hidden {
        box-shadow: none;
        transform: translateY(calc(-100% - 0.5rem));
    }
}

.xtq-ser-portal-chrome__footer {
    background: #ffffff;
    border-top: 1px solid #dde6ee;
    margin-top: auto;
}

.xtq-ser-portal-chrome__footer-inner {
    align-items: start;
    box-sizing: border-box;
    display: grid;
    gap: 1.25rem;
    margin: 0 auto;
    max-width: 72rem;
    padding: 2rem 1.25rem 2.25rem;
}

@media (min-width: 720px) {
    .xtq-ser-portal-chrome__footer-inner {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(0, 0.8fr);
    }
}

body.xtq-ser-hub-portal-shell .xtq-ser-portal-chrome__footer-title {
    color: #1a2b3d;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.xtq-ser-portal-chrome__footer-logo {
    display: block;
    height: auto;
    margin: 0 0 0.55rem;
    max-width: 64px;
    width: 64px;
}

.xtq-ser-portal-chrome__footer-lead {
    color: #5c6f82;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    max-width: 36rem;
}

.xtq-ser-portal-chrome__footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xtq-ser-portal-chrome__footer-nav a {
    color: #0f3d75;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.xtq-ser-portal-chrome__footer-nav a:hover,
.xtq-ser-portal-chrome__footer-nav a:focus {
    text-decoration: underline;
}

.xtq-ser-portal-chrome__footer-social-title {
    color: #0f3d75;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.55rem;
}

.xtq-ser-portal-chrome__footer-social-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xtq-ser-portal-chrome__footer-social-list a {
    color: #0f3d75;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.xtq-ser-portal-chrome__footer-social-list a span {
    color: #5c6f82;
    font-weight: 500;
}

.xtq-ser-portal-chrome__footer-social-list a:hover,
.xtq-ser-portal-chrome__footer-social-list a:focus {
    text-decoration: underline;
}

.xtq-ser-portal-chrome__footer-copy {
    color: #7a8a9a;
    font-size: 0.8rem;
    grid-column: 1 / -1;
    margin: 0;
}

body.xtq-ser-hub-portal-shell #xtq-ser-portal-main {
    align-self: stretch !important;
    flex: 1 0 auto;
    width: 100% !important;
}

body.xtq-ser-hub-portal--tutor-native {
    background: #f4f7fb;
}

body.xtq-ser-hub-portal--tutor-native .site-header,
body.xtq-ser-hub-portal--tutor-native .site-footer,
body.xtq-ser-hub-portal--tutor-native #masthead,
body.xtq-ser-hub-portal--tutor-native #colophon,
body.xtq-ser-hub-portal--tutor-native .main-header-bar-wrap,
body.xtq-ser-hub-portal--tutor-native .ast-above-header-wrap,
body.xtq-ser-hub-portal--tutor-native .ast-below-header-wrap,
body.xtq-ser-hub-portal--tutor-native .elementor-location-header,
body.xtq-ser-hub-portal--tutor-native .elementor-location-footer {
    display: none !important;
}

body.xtq-ser-hub-portal--tutor-native .xtq-ser-portal-chrome__footer {
    margin-top: 2rem;
}

body.xtq-ser-hub-tutor-dashboard {
    background: #f4f7fb;
}

.xtq-ser-portal {
    align-self: stretch !important;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 72rem;
    padding: 1.5rem 1.25rem 3.5rem;
    width: 100% !important;
}

.xtq-ser-portal__inner {
    margin: 0 auto;
    max-width: 48rem;
}

.xtq-ser-portal__inner--wide {
    max-width: 56rem;
}

.xtq-ser-portal__inner--narrow {
    max-width: 40rem;
}

.xtq-ser-portal__tutor-shell {
    max-width: 72rem;
}

.xtq-ser-portal--tutor-dashboard {
    max-width: 88rem;
}

.xtq-ser-portal--tutor-dashboard .xtq-ser-portal__tutor-shell {
    max-width: 82rem;
}

.xtq-ser-portal__article--tutor,
.xtq-ser-portal__tutor-content,
.xtq-ser-portal__tutor-content > * {
    box-sizing: border-box;
    max-width: none;
    min-width: 0;
    width: 100%;
}

.xtq-ser-portal__tutor-content > :first-child {
    margin-top: 0;
}

.xtq-ser-portal--tutor-learning .xtq-ser-portal__tutor-content {
    background: #ffffff;
    border: 1px solid #dde6ee;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(24, 39, 75, 0.06);
    padding: 1.25rem;
}

.xtq-ser-portal__card--course .xtq-ser-portal__card__media {
    border-radius: 16px;
    display: block;
    margin-bottom: 1rem;
    overflow: hidden;
}

.xtq-ser-portal__card--course .xtq-ser-portal__card__media img {
    display: block;
    height: auto;
    width: 100%;
}

.xtq-ser-portal__content {
    margin-top: 1rem;
}

.xtq-ser-portal__backlink-wrap {
    margin: 0 0 0.75rem;
}

.xtq-ser-portal__backlink {
    color: #5c6f82;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
}

.xtq-ser-portal__backlink:hover,
.xtq-ser-portal__backlink:focus {
    color: #0f3d75;
    text-decoration: underline;
}

.xtq-ser-portal__pagination {
    margin-top: 2rem;
}

.xtq-ser-portal__page-links {
    margin-top: 1.5rem;
}

.xtq-ser-portal__title {
    font-size: clamp(1.85rem, 4.5vw, 2.5rem);
    line-height: 1.15;
    margin: 0 0 0.65rem;
}

.xtq-ser-portal__lead {
    color: #3d4f63;
    font-size: 1.08rem;
    line-height: 1.55;
    margin: 0;
    max-width: 38rem;
}

.xtq-ser-portal__header {
    margin-bottom: 1.75rem;
}

.xtq-ser-portal__header__main {
    display: grid;
    gap: 1rem;
    align-content: start;
    min-width: 0;
}

.xtq-ser-portal__header__media {
    min-width: 0;
}

.xtq-ser-portal__header__image {
    border: 1px solid #dbe6f1;
    border-radius: 20px;
    box-shadow: 0 18px 36px rgba(24, 39, 75, 0.12);
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.xtq-ser-portal__header h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.2;
    margin: 0 0 0.5rem;
}

.xtq-ser-portal__intro {
    color: #5c6f82;
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
}

.xtq-ser-portal__dek {
    color: #3d4f63;
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0 0 0.85rem;
    max-width: 42rem;
}

.xtq-ser-portal__shell {
    background: linear-gradient(160deg, #f7fafd 0%, #eef4fb 100%);
    border: 1px solid #dde6ee;
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(24, 39, 75, 0.07);
    margin-bottom: 2rem;
    padding: 1.5rem 1.35rem;
}

.xtq-ser-portal__shell--hero {
    align-items: stretch;
    display: grid;
    gap: 1.6rem;
    grid-template-columns: 1fr;
    padding: 1.8rem 1.55rem;
}

@media (min-width: 900px) {
    .xtq-ser-portal__shell--hero {
        align-items: start;
        gap: 2rem;
        grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    }
}

.xtq-ser-portal__shell--hero-home {
    display: block;
    margin-bottom: 1rem;
}

.xtq-ser-portal__masthead__layout {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 960px) {
    .xtq-ser-portal__masthead__layout {
        align-items: start;
        gap: 1.5rem;
        grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
    }
}

.xtq-ser-portal__masthead__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.15rem;
}

.xtq-ser-portal__masthead__actions .xtq-ser-hub-button {
    margin-top: 0;
}

.xtq-ser-portal__masthead__copy {
    display: grid;
    align-content: start;
    gap: 0.9rem;
    min-width: 0;
    max-width: 46rem;
}

@media (min-width: 960px) {
    .xtq-ser-portal__masthead__copy {
        max-width: none;
        padding-right: 0.2rem;
    }
}

.xtq-ser-portal__masthead__panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 249, 255, 0.96) 100%);
    border: 1px solid #dbe7f3;
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    display: grid;
    gap: 0.9rem;
    align-content: start;
    margin-top: 0;
    padding: 1.05rem 1.05rem 1.1rem;
}

.xtq-ser-portal__masthead__panel-eyebrow {
    color: #0f3d75;
    margin-bottom: 0;
}

.xtq-ser-portal__masthead__panel-intro {
    color: #5c6f82;
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0;
}

.xtq-ser-portal__masthead__panel-grid {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 700px) and (max-width: 959px) {
    .xtq-ser-portal__masthead__panel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.xtq-ser-portal__masthead__panel-card {
    background: #ffffff;
    border: 1px solid #dde6ee;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(24, 39, 75, 0.05);
    color: #3d4f63;
    display: grid;
    gap: 0.28rem;
    min-height: 100%;
    padding: 0.9rem 0.95rem;
}

.xtq-ser-portal__masthead__panel-card strong {
    color: #1a2b3d;
    font-size: 1rem;
    line-height: 1.35;
}

.xtq-ser-portal__masthead__panel-card span:last-child {
    color: #5c6f82;
    font-size: 0.9rem;
    line-height: 1.5;
}

.xtq-ser-portal__masthead__panel-kicker {
    color: #0f3d75;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.xtq-ser-portal__masthead__panel-note {
    color: #5c6f82;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.xtq-ser-portal__hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.1rem;
}

.xtq-ser-portal__hero-point {
    background: #ffffff;
    border: 1px solid #dde6ee;
    border-radius: 999px;
    color: #0f3d75;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
    padding: 0.48rem 0.8rem;
}

.xtq-ser-portal__masthead__note {
    color: #5c6f82;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0.1rem 0 0;
    max-width: 40rem;
}

.xtq-ser-portal__masthead__note a {
    color: #0f3d75;
    font-weight: 700;
    margin-left: 0.35rem;
    text-decoration: none;
}

.xtq-ser-portal__masthead__note a:hover,
.xtq-ser-portal__masthead__note a:focus {
    text-decoration: underline;
}

.xtq-ser-portal__gamify-shell--masthead {
    margin: 0;
}

.xtq-ser-portal__masthead-journey-wrap {
    margin: 0 0 1.35rem;
    max-width: none;
}

.xtq-ser-portal__gamify-shell--masthead {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe7f3;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(24, 39, 75, 0.05);
    display: grid;
    gap: 0.8rem;
    padding: 1rem 1.1rem;
}

@media (min-width: 760px) {
    .xtq-ser-portal__gamify-shell--masthead {
        align-items: start;
        column-gap: 1.25rem;
        grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
        row-gap: 0.75rem;
    }

    .xtq-ser-portal__gamify-shell--masthead .xtq-ser-hub-progress {
        grid-column: 1 / -1;
    }
}

.xtq-ser-portal__gamify-shell--masthead .xtq-ser-hub-eyebrow {
    color: #0f3d75;
    margin-bottom: 0;
}

.xtq-ser-portal__gamify-shell--masthead .xtq-ser-hub-streak {
    align-self: center;
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 0;
}

.xtq-ser-portal__gamify-shell--masthead .xtq-ser-hub-progress {
    margin-top: 0;
    width: 100%;
}

.xtq-ser-portal__gamify-shell--masthead .xtq-ser-hub-progress__label {
    margin-bottom: 0.35rem;
}

.xtq-ser-portal__gamify-shell--compact,
.xtq-ser-portal__gamify-shell--archive,
.xtq-ser-portal__gamify-shell--single,
.xtq-ser-portal__gamify-shell--phrase {
    margin: 0;
}

.xtq-ser-hub-card--gamify {
    box-shadow: 0 10px 28px rgba(24, 39, 75, 0.06);
}

.xtq-ser-portal--tutor .tutor-dashboard-content,
.xtq-ser-portal--tutor .tutor-container,
.xtq-ser-portal--tutor .tutor-row,
.xtq-ser-portal--tutor .tutor-col,
.xtq-ser-portal--tutor .tutor-col-12,
.xtq-ser-portal--tutor .tutor-dashboard-left-menu,
.xtq-ser-portal--tutor .tutor-dashboard-right-column {
    box-sizing: border-box;
    max-width: none !important;
    min-width: 0;
    width: 100% !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-dashboard-profile,
.xtq-ser-portal--tutor-dashboard .tutor-dashboard-header,
.xtq-ser-portal--tutor-dashboard .tutor-dashboard-info,
.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-wrapper,
.xtq-ser-portal--tutor-dashboard .tutor-dashboard-right-column {
    max-width: none !important;
    min-width: 0;
    width: 100% !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
}

@media (min-width: 960px) {
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-profile,
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-header,
    .xtq-ser-portal--tutor-dashboard .tutor-user-profile-content,
    .xtq-ser-portal--tutor-dashboard [class*="dashboard-profile"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-left-menu,
    .xtq-ser-portal--tutor-dashboard [class*="dashboard-left-menu"] {
        align-self: start;
        width: 100% !important;
        max-width: 100% !important;
    }

    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content,
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-right-column,
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-wrapper,
    .xtq-ser-portal--tutor-dashboard [class*="dashboard-content"] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
    }
}

.xtq-ser-portal--tutor .tutor-dashboard-left-menu,
.xtq-ser-portal--tutor .tutor-dashboard-content,
.xtq-ser-portal--tutor .tutor-dashboard-right-column,
.xtq-ser-portal--tutor .tutor-card,
.xtq-ser-portal--tutor .tutor-dashboard-inline-links {
    background: #ffffff;
    border: 1px solid #dde6ee;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(24, 39, 75, 0.06);
}

.xtq-ser-portal--tutor-dashboard .tutor-container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
    align-items: stretch !important;
    padding: 0 !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-12,
.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col,
.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > [class*="tutor-col-"] {
    display: block !important;
    flex: 1 1 220px !important;
    margin: 0 !important;
    max-width: calc(33.333% - 1rem) !important;
    min-width: 220px !important;
    padding: 0 !important;
    width: auto !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content > .tutor-dashboard-content-inner {
    width: 100% !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-lg-6,
.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-xl-4,
.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-md-6,
.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-sm-6 {
    width: auto !important;
    max-width: calc(33.333% - 1rem) !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner .tutor-card {
    display: block !important;
    height: 100%;
    min-width: 0 !important;
    width: 100% !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-wrap.tutor-dashboard,
.xtq-ser-portal--tutor-dashboard .tutor-wrap-parent.tutor-dashboard,
.xtq-ser-portal--tutor-dashboard .tutor-wrap-parent.tutor-frontend-dashboard {
    display: block !important;
    max-width: none !important;
    width: 100% !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent,
.xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-header,
.xtq-ser-portal--tutor-dashboard .tutor-row {
    max-width: none !important;
    width: 100% !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent {
    align-items: flex-start !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1.5rem !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-12.tutor-col-md-4,
.xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-12.tutor-col-lg-3,
.xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-md-4,
.xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-lg-3 {
    flex: 0 0 280px !important;
    max-width: 280px !important;
    width: 280px !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-12.tutor-col-md-8,
.xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-12.tutor-col-lg-9,
.xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-md-8,
.xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-lg-9 {
    flex: 1 1 auto !important;
    max-width: none !important;
    min-width: 0 !important;
    width: auto !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content {
    min-width: 0 !important;
    width: 100% !important;
}

.xtq-ser-portal--tutor-dashboard .tutor-dashboard-content > * {
    max-width: none !important;
}

.xtq-ser-portal--tutor .tutor-dashboard-left-menu {
    padding: 0.75rem;
}

.xtq-ser-portal--tutor .tutor-dashboard-left-menu ul,
.xtq-ser-portal--tutor .tutor-dashboard-left-menu ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.xtq-ser-portal--tutor .tutor-dashboard-left-menu li + li {
    margin-top: 0.2rem;
}

.xtq-ser-portal--tutor .tutor-dashboard-left-menu a {
    align-items: center;
    border-radius: 12px;
    color: #3d4f63 !important;
    display: flex;
    font-weight: 700;
    gap: 0.65rem;
    padding: 0.8rem 0.95rem;
    text-decoration: none;
}

.xtq-ser-portal--tutor .tutor-dashboard-left-menu a:hover,
.xtq-ser-portal--tutor .tutor-dashboard-left-menu a:focus,
.xtq-ser-portal--tutor .tutor-dashboard-left-menu .active a,
.xtq-ser-portal--tutor .tutor-dashboard-left-menu .is-active a,
.xtq-ser-portal--tutor .tutor-dashboard-left-menu li.active a {
    background: #eef4fb;
    color: #0f3d75 !important;
}

.xtq-ser-portal--tutor .tutor-dashboard-content,
.xtq-ser-portal--tutor .tutor-dashboard-right-column,
.xtq-ser-portal--tutor .tutor-dashboard-inline-links {
    padding: 1.25rem;
}

.xtq-ser-portal--tutor .tutor-dashboard-content h3,
.xtq-ser-portal--tutor .tutor-dashboard-content h4,
.xtq-ser-portal--tutor .tutor-dashboard-right-column h3,
.xtq-ser-portal--tutor .tutor-dashboard-right-column h4 {
    color: #1a2b3d;
}

.xtq-ser-portal--tutor .tutor-dashboard-content a:not(.tutor-btn):not(.tutor-button),
.xtq-ser-portal--tutor .tutor-dashboard-right-column a:not(.tutor-btn):not(.tutor-button) {
    color: #0f3d75;
    font-weight: 700;
}

.xtq-ser-portal--tutor .tutor-dashboard .tutor-btn,
.xtq-ser-portal--tutor .tutor-dashboard .tutor-btn-primary,
.xtq-ser-portal--tutor .tutor-dashboard .tutor-button,
.xtq-ser-portal--tutor .tutor-dashboard .tutor-button-primary {
    background: #1a73e8 !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.xtq-ser-portal--tutor .tutor-dashboard .tutor-btn:hover,
.xtq-ser-portal--tutor .tutor-dashboard .tutor-btn:focus,
.xtq-ser-portal--tutor .tutor-dashboard .tutor-btn-primary:hover,
.xtq-ser-portal--tutor .tutor-dashboard .tutor-button:hover,
.xtq-ser-portal--tutor .tutor-dashboard .tutor-button-primary:hover {
    background: #145fc1 !important;
    transform: none !important;
}

.xtq-ser-portal--tutor .tutor-dashboard .tutor-card {
    padding: 1rem;
}

body.xtq-ser-hub-portal--tutor-native .plyr,
body.xtq-ser-hub-portal--tutor-native .plyr--video,
body.xtq-ser-hub-portal--tutor-native .video-js,
body.xtq-ser-hub-portal--tutor-native .tutor-video-player,
body.xtq-ser-hub-portal--tutor-native .tutor-course-single-video {
    border: 1px solid #dbe6f2;
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(24, 39, 75, 0.12);
    overflow: hidden;
}

body.xtq-ser-hub-portal--tutor-native .plyr__controls,
body.xtq-ser-hub-portal--tutor-native .vjs-control-bar {
    background: linear-gradient(180deg, rgba(8, 22, 45, 0.92), rgba(15, 61, 117, 0.88)) !important;
    color: #f4f8fd !important;
}

body.xtq-ser-hub-portal--tutor-native .plyr__control,
body.xtq-ser-hub-portal--tutor-native .plyr__control svg,
body.xtq-ser-hub-portal--tutor-native .vjs-control,
body.xtq-ser-hub-portal--tutor-native .vjs-icon-placeholder {
    border: 0 !important;
    box-shadow: none !important;
    color: #f4f8fd !important;
    fill: currentColor !important;
    outline: none !important;
}

body.xtq-ser-hub-portal--tutor-native .plyr__control:hover,
body.xtq-ser-hub-portal--tutor-native .plyr__control[aria-expanded="true"],
body.xtq-ser-hub-portal--tutor-native .vjs-control:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

body.xtq-ser-hub-portal--tutor-native .plyr__control:focus,
body.xtq-ser-hub-portal--tutor-native .plyr__control:focus-visible,
body.xtq-ser-hub-portal--tutor-native .plyr__control.plyr__tab-focus,
body.xtq-ser-hub-portal--tutor-native .vjs-control:focus,
body.xtq-ser-hub-portal--tutor-native .vjs-control:focus-visible {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 0 !important;
    box-shadow: 0 0 0 2px rgba(94, 200, 120, 0.45) !important;
    color: #ffffff !important;
    outline: none !important;
}

body.xtq-ser-hub-portal--tutor-native .plyr__control--overlaid,
body.xtq-ser-hub-portal--tutor-native .plyr__control[data-plyr="play"] {
    background: linear-gradient(135deg, #1a73e8, #0f3d75) !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(15, 61, 117, 0.28) !important;
    color: #ffffff !important;
}

body.xtq-ser-hub-portal--tutor-native .plyr__control--overlaid:hover,
body.xtq-ser-hub-portal--tutor-native .plyr__control[data-plyr="play"]:hover {
    background: linear-gradient(135deg, #145fc1, #0c335f) !important;
    box-shadow: 0 12px 28px rgba(15, 61, 117, 0.34) !important;
}

body.xtq-ser-hub-portal--tutor-native .plyr__menu__container,
body.xtq-ser-hub-portal--tutor-native .vjs-menu-content {
    background: #ffffff !important;
    border: 1px solid #dbe6f2 !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 32px rgba(24, 39, 75, 0.16) !important;
    color: #1a2b3d !important;
}

body.xtq-ser-hub-portal--tutor-native .plyr__menu__container:after {
    border-top-color: #ffffff !important;
}

body.xtq-ser-hub-portal--tutor-native .plyr__menu__container .plyr__control,
body.xtq-ser-hub-portal--tutor-native .vjs-menu li,
body.xtq-ser-hub-portal--tutor-native .vjs-menu-item {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    color: #1a2b3d !important;
}

body.xtq-ser-hub-portal--tutor-native .plyr__menu__container .plyr__control:hover,
body.xtq-ser-hub-portal--tutor-native .plyr__menu__container .plyr__control[aria-checked="true"],
body.xtq-ser-hub-portal--tutor-native .vjs-menu li:hover,
body.xtq-ser-hub-portal--tutor-native .vjs-selected {
    background: #eef4fb !important;
    color: #0f3d75 !important;
}

body.xtq-ser-hub-portal--tutor-native .plyr__progress__buffer,
body.xtq-ser-hub-portal--tutor-native .vjs-load-progress {
    color: rgba(255, 255, 255, 0.3) !important;
}

body.xtq-ser-hub-portal--tutor-native .plyr--full-ui input[type="range"],
body.xtq-ser-hub-portal--tutor-native .vjs-slider-bar,
body.xtq-ser-hub-portal--tutor-native .vjs-play-progress {
    color: #5ec878 !important;
}

body.xtq-ser-hub-portal--tutor-native .plyr__volume input[type="range"],
body.xtq-ser-hub-portal--tutor-native .plyr__progress input[type="range"] {
    color: #5ec878 !important;
}

body.xtq-ser-hub-portal--tutor-native .plyr__time,
body.xtq-ser-hub-portal--tutor-native .vjs-time-control {
    color: #f4f8fd !important;
    font-weight: 600 !important;
}

.xtq-ser-hub-tutor-fallback {
    display: grid;
    gap: 1.25rem;
}

.xtq-ser-hub-tutor-fallback__head {
    display: grid;
    gap: 0.35rem;
}

.xtq-ser-hub-tutor-fallback__title {
    color: #1a2b3d;
    font-size: 1.6rem;
    line-height: 1.2;
    margin: 0;
}

.xtq-ser-hub-tutor-fallback__intro {
    color: #5c6f82;
    margin: 0;
}

.xtq-ser-hub-tutor-fallback__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.xtq-ser-hub-tutor-fallback__card {
    background: #ffffff;
    border: 1px solid #dde6ee;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(24, 39, 75, 0.06);
    display: grid;
    overflow: hidden;
}

.xtq-ser-hub-tutor-fallback__media {
    aspect-ratio: 16 / 9;
    background: #eef4fb;
    display: block;
}

.xtq-ser-hub-tutor-fallback__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.xtq-ser-hub-tutor-fallback__body {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
}

.xtq-ser-hub-tutor-fallback__card-title {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.xtq-ser-hub-tutor-fallback__card-title a {
    color: #1a2b3d;
    text-decoration: none;
}

.xtq-ser-hub-tutor-fallback__card-title a:hover,
.xtq-ser-hub-tutor-fallback__card-title a:focus {
    color: #0f3d75;
}

.xtq-ser-hub-tutor-fallback__progress {
    display: grid;
    gap: 0.45rem;
}

.xtq-ser-hub-tutor-fallback__progress-label {
    color: #5c6f82;
    font-size: 0.92rem;
    font-weight: 700;
}

.xtq-ser-hub-tutor-fallback__progress-track {
    background: #e7eef6;
    border-radius: 999px;
    display: block;
    height: 8px;
    overflow: hidden;
    width: 100%;
}

.xtq-ser-hub-tutor-fallback__progress-track > span {
    background: linear-gradient(90deg, #1a73e8, #5ec878);
    border-radius: inherit;
    display: block;
    height: 100%;
}

@media (max-width: 959px) {
    .xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent {
        display: block !important;
    }

    .xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-12.tutor-col-md-4,
    .xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-12.tutor-col-lg-3,
    .xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-md-4,
    .xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-lg-3,
    .xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-12.tutor-col-md-8,
    .xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-12.tutor-col-lg-9,
    .xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-md-8,
    .xtq-ser-portal--tutor-dashboard .tutor-frontend-dashboard-maincontent > .tutor-col-lg-9 {
        max-width: none !important;
        width: 100% !important;
    }

    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner {
        gap: 1rem !important;
    }

    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-12,
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col,
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > [class*="tutor-col-"],
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-lg-6,
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-xl-4,
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-md-6,
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-sm-6 {
        max-width: calc(50% - 0.5rem) !important;
        min-width: 0 !important;
    }

    .xtq-ser-portal--tutor .tutor-dashboard-left-menu,
    .xtq-ser-portal--tutor .tutor-dashboard-content,
    .xtq-ser-portal--tutor .tutor-dashboard-right-column,
    .xtq-ser-portal--tutor .tutor-dashboard-inline-links {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-12,
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col,
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > [class*="tutor-col-"],
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-lg-6,
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-xl-4,
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-md-6,
    .xtq-ser-portal--tutor-dashboard .tutor-dashboard-content-inner > .tutor-col-sm-6 {
        max-width: 100% !important;
        width: 100% !important;
    }

    .xtq-ser-portal__hero-points {
        gap: 0.45rem;
    }

    .xtq-ser-portal__hero-point {
        font-size: 0.8rem;
        padding: 0.42rem 0.7rem;
    }
}

.xtq-ser-portal__body {
    display: grid;
    gap: 1.75rem;
}

.xtq-ser-portal__home-overview {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 760px) {
    .xtq-ser-portal__home-overview {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.xtq-ser-portal__home-overview-head {
    display: grid;
    gap: 0.45rem;
    grid-column: 1 / -1;
    max-width: 42rem;
}

.xtq-ser-portal__home-overview-title {
    color: #1a2b3d;
    font-size: clamp(1.25rem, 3vw, 1.7rem);
    line-height: 1.22;
    margin: 0;
}

.xtq-ser-portal__home-overview-intro {
    color: #5c6f82;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.xtq-ser-portal__home-overview-card {
    background: #ffffff;
    border: 1px solid #dde6ee;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(24, 39, 75, 0.06);
    color: #3d4f63;
    display: grid;
    gap: 0.55rem;
    min-height: 100%;
    padding: 1.25rem 1.2rem;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.xtq-ser-portal__home-overview-card strong {
    color: #1a2b3d;
    font-size: 1.05rem;
    line-height: 1.42;
}

.xtq-ser-portal__home-overview-card span:last-child {
    color: #5c6f82;
    font-size: 0.96rem;
    line-height: 1.55;
}

.xtq-ser-portal__home-overview-card:hover,
.xtq-ser-portal__home-overview-card:focus {
    border-color: #c8d7ea;
    box-shadow: 0 14px 28px rgba(24, 39, 75, 0.08);
    transform: translateY(-2px);
}

.xtq-ser-portal__home-overview-kicker {
    color: #0f3d75;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.xtq-ser-portal__shell--archive {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 820px) {
    .xtq-ser-portal__shell--archive {
        grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.85fr);
    }

    .xtq-ser-portal__shell--author-archive {
        grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.78fr);
    }
}

.xtq-ser-portal--author-archive .xtq-ser-portal__inner--wide {
    max-width: 72rem;
}

.xtq-ser-portal__archive-head__text {
    min-width: 0;
}

.xtq-ser-portal__archive-summary {
    background: #ffffff;
    border: 1px solid #e2eaf3;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(24, 39, 75, 0.05);
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 1fr;
    margin-bottom: 1.35rem;
    padding: 1rem 1.1rem;
}

@media (min-width: 680px) {
    .xtq-ser-portal__archive-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.xtq-ser-portal__archive-summary__label {
    color: #7a8a9a;
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.xtq-ser-portal__archive-summary__value {
    color: #0f3d75;
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.xtq-ser-portal__archive-loop-heading {
    color: #0a2f5c;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 1.1rem;
}

.xtq-ser-portal--author-archive .xtq-ser-portal__archive-loop-heading {
    margin-top: 0.25rem;
}

.xtq-ser-portal--author-archive .xtq-ser-portal__loop--cards {
    grid-template-columns: 1fr;
}

@media (min-width: 780px) {
    .xtq-ser-portal--author-archive .xtq-ser-portal__loop--cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1120px) {
    .xtq-ser-portal--author-archive .xtq-ser-portal__loop--cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.xtq-ser-portal__shell--single,
.xtq-ser-portal__shell--phrase {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 820px) {
    .xtq-ser-portal__shell--single,
    .xtq-ser-portal__shell--phrase {
        grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.9fr);
    }
}

.xtq-ser-portal__shell--404 {
    padding: 2rem 1.5rem;
    text-align: center;
}

.xtq-ser-portal__shell--404 .xtq-ser-portal__title {
    margin-left: auto;
    margin-right: auto;
    max-width: 22ch;
}

.xtq-ser-portal__shell--404 .xtq-ser-portal__intro {
    margin-left: auto;
    margin-right: auto;
    max-width: 36rem;
}

.xtq-ser-portal__shell--cta {
    background: #ffffff;
    border-style: dashed;
    margin-top: 2rem;
}

.xtq-ser-portal__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.xtq-ser-portal__cta-row .xtq-ser-hub-button {
    margin-top: 0;
}

.xtq-ser-portal__404-search {
    margin: 1.75rem auto 0;
    max-width: 28rem;
    text-align: left;
}

.xtq-ser-portal__404-search .search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.xtq-ser-portal__404-search .search-field {
    border: 1px solid #dde6ee;
    border-radius: 999px;
    flex: 1 1 200px;
    min-width: 0;
    padding: 0.65rem 1rem;
}

.xtq-ser-portal__404-links {
    margin-top: 1.75rem;
}

.xtq-ser-portal__404-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xtq-ser-portal__404-links .xtq-ser-hub-button {
    margin-top: 0;
}

.xtq-ser-portal__stack--seeded .xtq-ser-portal__section {
    margin-bottom: 0.25rem;
}

.xtq-ser-portal__section--inset {
    margin-left: 0;
    margin-right: 0;
}

.xtq-ser-portal__section-head {
    margin-bottom: 1rem;
    max-width: 40rem;
}

#manifesto-ser {
    scroll-margin-top: 5.5rem;
}

.xtq-ser-portal__manifesto-page-head {
    margin-bottom: 1.5rem;
}

.xtq-ser-portal__manifesto-page-head .xtq-ser-portal__title {
    margin-bottom: 0.5rem;
}

.xtq-ser-portal--manifesto .xtq-ser-portal__body {
    margin-top: 0;
}

.xtq-ser-portal__manifesto-copy {
    color: #3d4f63;
    display: grid;
    gap: 0.85rem;
    line-height: 1.7;
    max-width: 52rem;
}

.xtq-ser-portal__manifesto-copy p {
    margin: 0;
}

.xtq-ser-portal__section-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.2;
    margin: 0 0 0.45rem;
}

.xtq-ser-portal__section-lead {
    color: #5c6f82;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.xtq-ser-portal__grid--two {
    display: grid;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

@media (min-width: 900px) {
    .xtq-ser-portal__grid--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Coluna «Leitura»: painel branco único (título + lista), alinhado à Carta SER */
.xtq-ser-portal__section--reading {
    background: #ffffff;
    border: 1px solid #dde6ee;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(24, 39, 75, 0.08);
    box-sizing: border-box;
    padding: 1.5rem;
}

.xtq-ser-portal__section--reading .xtq-ser-portal__section-head {
    margin-bottom: 1rem;
}

/* O shortcode já traz um .xtq-ser-hub-card; aqui vira continuidade do painel, sem “caixa dentro da caixa” */
.xtq-ser-portal__section--reading .xtq-ser-hub-card--ultimos {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.xtq-ser-portal__section--reading .xtq-ser-hub-card--ultimos .xtq-ser-hub-post-cards {
    margin-top: 0.75rem;
}

.xtq-ser-portal__section--cta-shell .xtq-ser-hub-card--cta {
    margin-bottom: 0;
}

.xtq-ser-portal__reading {
    background: #ffffff;
    border: 1px solid #e3ebf4;
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(24, 39, 75, 0.05);
    padding: 1.35rem 1.1rem 1.55rem;
    scroll-margin-top: 1rem;
}

.xtq-ser-portal__reading p,
.xtq-ser-portal__reading li {
    line-height: 1.8;
    overflow-wrap: normal;
    text-align: left;
    word-break: normal;
}

.xtq-ser-portal__reading p {
    margin: 0 0 1.35rem;
}

.xtq-ser-portal__reading p:last-child {
    margin-bottom: 0;
}

.xtq-ser-portal__reading ul,
.xtq-ser-portal__reading ol {
    margin: 0 0 1.4rem;
    padding-left: 1.35rem;
}

.xtq-ser-portal__reading li + li {
    margin-top: 0.55rem;
}

.xtq-ser-portal__reading h2,
.xtq-ser-portal__reading h3,
.xtq-ser-portal__reading h4 {
    line-height: 1.3;
    margin: 2rem 0 0.85rem;
}

.xtq-ser-portal__reading blockquote {
    margin: 1.75rem 0;
}

.xtq-ser-portal__reading .has-text-align-left,
.xtq-ser-portal__reading .has-text-align-center,
.xtq-ser-portal__reading .has-text-align-right,
.xtq-ser-portal__reading .has-text-align-justify {
    text-align: inherit;
}

@media (min-width: 820px) {
    .xtq-ser-portal__reading {
        padding: 1.8rem 1.75rem 2rem;
    }

    .xtq-ser-portal__reading p,
    .xtq-ser-portal__reading li {
        text-align: justify;
        text-justify: inter-word;
    }

    .xtq-ser-portal__reading .has-text-align-left {
        text-align: left;
    }

    .xtq-ser-portal__reading .has-text-align-center {
        text-align: center;
    }

    .xtq-ser-portal__reading .has-text-align-right {
        text-align: right;
    }

    .xtq-ser-portal__reading .has-text-align-justify {
        text-align: justify;
    }
}

@media (max-width: 640px) {
    .xtq-ser-portal__reading p {
        margin-bottom: 1.1rem;
    }

    .xtq-ser-portal__reading h2,
    .xtq-ser-portal__reading h3,
    .xtq-ser-portal__reading h4 {
        margin-top: 1.65rem;
    }
}

.xtq-ser-portal__loop--cards {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    margin-top: 0.5rem;
}

@media (min-width: 720px) {
    .xtq-ser-portal__loop--cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .xtq-ser-portal__loop--cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.xtq-ser-portal__card {
    background: #ffffff;
    border: 1px solid #dde6ee;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(24, 39, 75, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    overflow: hidden;
    padding: 1.25rem 1.15rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.xtq-ser-portal__card__topline {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.xtq-ser-portal__card__eyebrow {
    color: #0f3d75;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.xtq-ser-portal__card__reading-time {
    background: #f8fbff;
    border: 1px solid #d8e5f2;
    border-radius: 999px;
    color: #0f3d75;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.22rem 0.55rem;
    white-space: nowrap;
}

.xtq-ser-portal__card:hover,
.xtq-ser-portal__card:focus-within {
    border-color: #c5d6e8;
    box-shadow: 0 14px 34px rgba(24, 39, 75, 0.09);
    transform: translateY(-3px);
}

.xtq-ser-portal__card__title {
    font-size: 1.12rem;
    line-height: 1.3;
    margin: 0;
}

.xtq-ser-portal__card__title a {
    color: #0f3d75;
    text-decoration: none;
}

.xtq-ser-portal__card__title a:hover,
.xtq-ser-portal__card__title a:focus {
    text-decoration: underline;
}

.xtq-ser-portal__card__more {
    margin-top: auto;
    padding-top: 0.35rem;
}

.xtq-ser-portal__card__more .xtq-ser-hub-button {
    margin-top: 0;
}

.xtq-ser-portal__empty {
    color: #5c6f82;
    margin: 2rem 0 0;
    text-align: center;
}

.xtq-ser-portal__meta {
    color: #5c6f82;
    font-size: 0.9rem;
    margin: 0 0 1rem;
}

.xtq-ser-portal__meta--card {
    margin-bottom: 0.35rem;
}

.xtq-ser-portal__meta-sep {
    margin: 0 0.35rem;
}

.xtq-ser-portal__author-link {
    color: #0f3d75;
    font-weight: 700;
    text-decoration: none;
}

.xtq-ser-portal__author-link:hover,
.xtq-ser-portal__author-link:focus {
    text-decoration: underline;
}

.xtq-ser-portal__excerpt {
    color: #3d4f63;
    font-size: 0.95rem;
    line-height: 1.5;
}

.xtq-ser-portal__excerpt p {
    margin: 0;
}

.xtq-ser-portal__card .xtq-ser-portal__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.xtq-ser-portal__actions {
    margin-top: 1.5rem;
}

.xtq-ser-portal__actions a {
    font-weight: 600;
    text-decoration: none;
}

.xtq-ser-portal__actions a:hover,
.xtq-ser-portal__actions a:focus {
    text-decoration: underline;
}

.xtq-ser-portal--error {
    min-height: 42vh;
}

.xtq-ser-portal--error h1 {
    font-size: 1.75rem;
    margin: 0 0 1rem;
}

.xtq-ser-portal__origem-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xtq-ser-portal__origem-badges--inline {
    margin: 0.35rem 0 0;
}

.xtq-ser-portal__origem-badges--card {
    margin: 0 0 0.25rem;
}

.xtq-ser-portal__origem-badges--archive {
    margin: 0 0 0.35rem;
}

.xtq-ser-portal__origem-badges--single,
.xtq-ser-portal__origem-badges--phrase {
    margin: 0.5rem 0 0;
}

.xtq-ser-portal__origem-badge {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbe7f2;
    border-radius: 999px;
    color: #0f3d75;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.34rem 0.72rem;
    text-decoration: none;
    text-transform: uppercase;
}

.xtq-ser-portal__origem-badge:hover,
.xtq-ser-portal__origem-badge:focus {
    background: #f4f8fd;
    border-color: #c9d9ea;
    text-decoration: none;
}

.xtq-ser-portal__origem-badge--static {
    cursor: default;
}

.xtq-ser-portal__origem-badge--100-human {
    background: #e8f7ec;
    border-color: #b8dfc2;
    color: #1f7a43;
    font-weight: 800;
}

.xtq-ser-portal__origem-badge--100-human:hover,
.xtq-ser-portal__origem-badge--100-human:focus {
    background: #ddf2e3;
    border-color: #a8d4b4;
}

.xtq-ser-portal__origem-badge--ai {
    background: #f0ebff;
    border-color: #d7ccfb;
    color: #5c3cb0;
}

.xtq-ser-portal__origem-badge--ai:hover,
.xtq-ser-portal__origem-badge--ai:focus {
    background: #e8e1ff;
    border-color: #cabcf6;
}

.xtq-ser-portal__origem-badge--human-ai-assist,
.xtq-ser-portal__origem-badge--humano-com-assistencia-de-ia {
    background: #e9f5ff;
    border-color: #c5ddf6;
    color: #165a92;
}

.xtq-ser-portal__origem-badge--human-ai-assist:hover,
.xtq-ser-portal__origem-badge--human-ai-assist:focus,
.xtq-ser-portal__origem-badge--humano-com-assistencia-de-ia:hover,
.xtq-ser-portal__origem-badge--humano-com-assistencia-de-ia:focus {
    background: #def0ff;
    border-color: #b7d3ef;
}

.xtq-ser-portal__origem-filter {
    margin: 0 0 1.5rem;
}

.xtq-ser-portal__origem-filter__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xtq-ser-portal__origem-filter__pill {
    background: #ffffff;
    border: 1px solid #dde6ee;
    border-radius: 999px;
    color: #0f3d75;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    text-decoration: none;
}

.xtq-ser-portal__origem-filter__pill:hover,
.xtq-ser-portal__origem-filter__pill:focus {
    border-color: #1a73e8;
    text-decoration: none;
}

.xtq-ser-portal__origem-filter__pill.is-active {
    background: #0f3d75;
    border-color: #0f3d75;
    color: #ffffff;
}

.xtq-ser-hub-phrase-share--portal {
    border-top: 0;
    margin-top: 0.75rem;
    padding-top: 0;
}

.xtq-ser-portal__header__main .xtq-ser-hub-phrase-share--portal .xtq-ser-hub-phrase-share__label {
    margin-bottom: 0.45rem;
}

.xtq-ser-hub-phrase-share--portal .xtq-ser-hub-phrase-share__actions {
    gap: 0.6rem;
}

body.xtq-ser-hub-portal-shell .xtq-ser-hub-phrase-share--portal .xtq-ser-hub-phrase-share__btn,
body.xtq-ser-hub-portal-shell .xtq-ser-hub-phrase-share--portal button.xtq-ser-hub-phrase-share__btn {
    -webkit-appearance: none;
    appearance: none;
    background: #ffffff !important;
    border: 1.5px solid #1a73e8 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    color: #0f3d75 !important;
    line-height: 1.2;
    margin: 0;
    min-height: 2.75rem;
    padding: 0.65rem 1.15rem;
}

body.xtq-ser-hub-portal-shell .xtq-ser-hub-phrase-share--portal .xtq-ser-hub-phrase-share__btn:hover,
body.xtq-ser-hub-portal-shell .xtq-ser-hub-phrase-share--portal .xtq-ser-hub-phrase-share__btn:focus,
body.xtq-ser-hub-portal-shell .xtq-ser-hub-phrase-share--portal button.xtq-ser-hub-phrase-share__btn:hover,
body.xtq-ser-hub-portal-shell .xtq-ser-hub-phrase-share--portal button.xtq-ser-hub-phrase-share__btn:focus {
    background: #eef5ff !important;
    border-color: #1a73e8 !important;
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.12) !important;
    color: #0a2f5c !important;
    outline: none;
    text-decoration: none;
}

body.xtq-ser-hub-portal-shell .xtq-ser-hub-phrase-share--portal .xtq-ser-hub-phrase-share__btn:active,
body.xtq-ser-hub-portal-shell .xtq-ser-hub-phrase-share--portal button.xtq-ser-hub-phrase-share__btn:active {
    background: #e1edff !important;
    border-color: #145fc1 !important;
    color: #0a2f5c !important;
    transform: none;
}

/* Single post: editorial footer (share, author, related) */
.xtq-ser-portal__reading-time {
    white-space: nowrap;
}

.xtq-ser-portal__single-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0;
}

.xtq-ser-portal__single-stat {
    background: #ffffff;
    border: 1px solid #d8e5f4;
    border-radius: 999px;
    color: #0f3d75;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
}

.xtq-ser-portal__single-kicker {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.7rem;
}

.xtq-ser-portal__single-kicker-label.xtq-ser-hub-eyebrow {
    color: #5c6f82;
    margin-bottom: 0;
}

.xtq-ser-portal__origem-badges--single {
    margin: 0;
}

.xtq-ser-portal__single-summary {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid #dbe7f3;
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    display: grid;
    gap: 0.85rem;
    max-width: 44rem;
    padding: 0.95rem 1rem;
}

.xtq-ser-portal__meta--single {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin: 0;
}

.xtq-ser-portal__shell--single {
    display: block;
    padding: 1.65rem 1.5rem;
}

.xtq-ser-portal__shell--single-has-media {
    display: grid;
    gap: 1.35rem;
}

.xtq-ser-portal__header .xtq-ser-portal__title {
    color: #162638;
    letter-spacing: -0.03em;
    margin-bottom: 0.2rem;
}

.xtq-ser-portal__single-journey-wrap {
    margin-bottom: 1rem;
}

.xtq-ser-portal__gamify-shell--single {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe7f3;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(24, 39, 75, 0.05);
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 1rem 1.1rem;
}

@media (min-width: 760px) {
    .xtq-ser-portal__gamify-shell--single {
        align-items: start;
        column-gap: 1.25rem;
        grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
        row-gap: 0.75rem;
    }

    .xtq-ser-portal__gamify-shell--single .xtq-ser-hub-progress {
        grid-column: 1 / -1;
        margin-top: 0;
    }
}

.xtq-ser-portal__gamify-shell--single .xtq-ser-hub-eyebrow {
    color: #0f3d75;
    margin-bottom: 0;
}

.xtq-ser-portal__gamify-shell--single .xtq-ser-hub-streak {
    align-self: center;
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 0;
}

.xtq-ser-portal__gamify-shell--single .xtq-ser-hub-progress {
    margin-top: 0;
    width: 100%;
}

@media (min-width: 920px) {
    .xtq-ser-portal__shell--single-has-media {
        align-items: center;
        gap: 1.75rem;
        grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    }

    .xtq-ser-portal__header__main {
        padding-right: 0.35rem;
    }

    .xtq-ser-portal__header__media {
        align-self: stretch;
    }

    .xtq-ser-portal__header__image {
        aspect-ratio: 4 / 5;
        min-height: 100%;
    }
}

@media (max-width: 640px) {
    .xtq-ser-portal__origem-badge--100-human {
        font-size: 0.68rem;
        padding: 0.34rem 0.62rem;
    }

    .xtq-ser-portal__shell--single {
        padding: 1.2rem 1rem;
    }

    .xtq-ser-portal__single-summary {
        padding: 0.85rem 0.9rem;
    }

    .xtq-ser-portal__single-kicker {
        align-items: flex-start;
    }

    .xtq-ser-portal__meta--single {
        gap: 0.15rem;
    }

    .xtq-ser-portal__header__image {
        aspect-ratio: 16 / 10;
    }

    .xtq-ser-portal__single-summary {
        gap: 0.75rem;
    }

    .xtq-ser-portal__single-stats {
        gap: 0.45rem;
    }

    .xtq-ser-portal__single-stat {
        font-size: 0.78rem;
        padding: 0.38rem 0.68rem;
    }
}

.xtq-ser-portal__post-after {
    border-top: 1px solid #e4ecf4;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
}

.xtq-ser-portal__share__label {
    color: #5c6f82;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.65rem;
    text-transform: uppercase;
}

.xtq-ser-portal__share__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xtq-ser-portal__share__link {
    border: 1px solid #dde6ee;
    border-radius: 999px;
    color: #0f3d75;
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.xtq-ser-portal__share__link:hover,
.xtq-ser-portal__share__link:focus {
    background: #f2f7fd;
    border-color: #c5d6e8;
    text-decoration: none;
}

.xtq-ser-portal__author-card {
    background: #f7fafc;
    border: 1px solid #e4ecf4;
    border-radius: 20px;
    display: grid;
    gap: 1.15rem;
    grid-template-columns: 1fr;
    padding: 1.35rem 1.25rem;
}

@media (min-width: 600px) {
    .xtq-ser-portal__author-card {
        align-items: start;
        grid-template-columns: 112px 1fr;
        padding: 1.5rem 1.5rem;
    }
}

.xtq-ser-portal__author-card__avatar {
    justify-self: center;
    line-height: 0;
}

@media (min-width: 600px) {
    .xtq-ser-portal__author-card__avatar {
        justify-self: start;
    }
}

.xtq-ser-portal__author-card__avatar .avatar,
.xtq-ser-portal__author-card__avatar-img {
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(24, 39, 75, 0.1);
    height: auto;
    max-width: 112px;
    width: 112px;
}

.xtq-ser-portal__author-card__eyebrow {
    margin-bottom: 0.35rem;
}

.xtq-ser-portal__author-card__name {
    color: #0a2f5c;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 0.65rem;
}

.xtq-ser-portal__author-card__bio {
    color: #3d4f63;
    font-size: 0.98rem;
    line-height: 1.65;
}

.xtq-ser-portal__author-card__bio p {
    margin: 0 0 0.75rem;
}

.xtq-ser-portal__author-card__bio p:last-child {
    margin-bottom: 0;
}

.xtq-ser-portal__author-card__more {
    margin: 1rem 0 0;
}

.xtq-ser-portal__author-card__archive {
    color: #1a73e8;
    font-weight: 700;
    text-decoration: none;
}

.xtq-ser-portal__author-card__archive:hover,
.xtq-ser-portal__author-card__archive:focus {
    text-decoration: underline;
}

.xtq-ser-portal__related__title {
    color: #0a2f5c;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 1rem;
}

.xtq-ser-portal__related__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.xtq-ser-portal__related__item {
    border-bottom: 1px solid #e8eef5;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.85rem 0;
}

.xtq-ser-portal__related__item:first-child {
    padding-top: 0;
}

.xtq-ser-portal__related__link {
    color: #0f3d75;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.xtq-ser-portal__related__link:hover,
.xtq-ser-portal__related__link:focus {
    color: #1a73e8;
    text-decoration: underline;
}

.xtq-ser-portal__related__date {
    color: #7a8a9a;
    font-size: 0.82rem;
}

/* Arquivo do autor: hero editorial */
.xtq-ser-portal__author-hero {
    align-items: start;
    display: grid;
    gap: 1.35rem;
    grid-template-columns: 1fr;
    width: 100%;
}

@media (min-width: 640px) {
    .xtq-ser-portal__author-hero {
        gap: 1.75rem;
        grid-template-columns: 176px minmax(0, 1fr);
    }
}

.xtq-ser-portal__author-hero__avatar {
    justify-self: center;
    line-height: 0;
}

@media (min-width: 640px) {
    .xtq-ser-portal__author-hero__avatar {
        justify-self: start;
    }
}

.xtq-ser-portal__author-hero__avatar .avatar,
.xtq-ser-portal__author-hero__avatar-img {
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(24, 39, 75, 0.12);
    height: auto;
    max-width: 176px;
    width: 176px;
}

.xtq-ser-portal__author-hero__eyebrow {
    margin-bottom: 0.4rem;
}

.xtq-ser-portal__author-hero__title {
    margin-bottom: 0.45rem;
}

.xtq-ser-portal__author-hero__stats {
    color: #5c6f82;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.xtq-ser-portal__author-hero__bio {
    color: #3d4f63;
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0 0 1.15rem;
    max-width: 40rem;
}

.xtq-ser-portal__author-hero__bio p {
    margin: 0 0 0.75rem;
}

.xtq-ser-portal__author-hero__bio p:last-child {
    margin-bottom: 0;
}

.xtq-ser-portal__author-hero__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.xtq-ser-portal__author-hero__social-link {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde6ee;
    border-radius: 999px;
    color: #0f3d75;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 600;
    gap: 0.45rem;
    line-height: 1.2;
    padding: 0.45rem 0.95rem 0.45rem 0.75rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.xtq-ser-portal__author-hero__social-link:hover,
.xtq-ser-portal__author-hero__social-link:focus {
    background: #f2f7fd;
    border-color: #c5d6e8;
    box-shadow: 0 4px 14px rgba(24, 39, 75, 0.08);
    text-decoration: none;
}

.xtq-ser-portal__author-hero__social-icon {
    display: flex;
    flex-shrink: 0;
    line-height: 0;
}

.xtq-ser-portal__author-hero__icon {
    display: block;
    height: 20px;
    width: 20px;
}

.xtq-ser-portal__author-hero__social-link--linkedin {
    color: #0a66c2;
}

.xtq-ser-portal__author-hero__social-link--instagram {
    color: #c13584;
}

.xtq-ser-portal__author-hero__social-link--facebook {
    color: #1877f2;
}

.xtq-ser-portal__author-hero__social-link--x {
    color: #0f1419;
}

.xtq-ser-portal__author-hero__social-link--youtube {
    color: #ff0033;
}

.xtq-ser-portal__author-hero__social-link--website {
    color: #0f3d75;
}
