:root {
    --wg-community-blue: #048ce2;
    --wg-community-blue-dark: #0876bd;
    --wg-community-ink: #162033;
    --wg-community-muted: #687386;
    --wg-community-line: #e5eaf1;
    --wg-community-soft: #f4f8fc;
    --wg-community-white: #ffffff;
}

/* Vista previa del hilo dentro del timeline */
.wg-community-feed-thread {
    margin: 0 15px 12px;
    padding: 13px 5px 4px;
    border-top: 1px solid #edf0f4;
}

.wg-community-feed-reply {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 11px;
}

.wg-community-feed-reply--nested {
    margin-left: 38px;
}

.wg-community-feed-reply--nested::before {
    position: absolute;
    top: -8px;
    left: -22px;
    width: 15px;
    height: 24px;
    border-bottom: 1px solid #dce3eb;
    border-left: 1px solid #dce3eb;
    border-radius: 0 0 0 8px;
    content: "";
}

.wg-community-feed-reply__avatar {
    display: block;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
}

.wg-community-feed-reply__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid #e2e8ef;
    border-radius: 50%;
    object-fit: cover;
}

.wg-community-feed-reply__content {
    min-width: 0;
    flex: 1;
}

.wg-community-feed-reply__bubble {
    padding: 9px 11px;
    border: 1px solid #e7ebf0;
    border-radius: 6px;
    background: #f7f9fc;
}

.wg-community-feed-reply__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 3px;
}

.wg-community-feed-reply__head a {
    overflow: hidden;
    color: #263247;
    font-size: 12px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wg-community-feed-reply__head a:hover {
    color: var(--wg-community-blue);
}

.wg-community-feed-reply__head time {
    flex: 0 0 auto;
    color: #929baa;
    font-size: 9px;
}

.wg-community-feed-reply__context {
    display: block;
    margin-bottom: 3px;
    color: var(--wg-community-blue-dark);
    font-size: 9px;
    font-weight: 650;
}

.wg-community-feed-reply__bubble p {
    margin: 0;
    color: #465267;
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
    font-weight: 350;
}

.wg-community-feed-reply__actions {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 23px;
    padding: 3px 7px 0;
    margin-top: 2px;
    margin-left: -6px;
}

.wg-community-feed-reply__actions form {
    margin: 0;
}

.wg-community-feed-reply__actions button,
.wg-community-feed-reply__actions a {
    padding: 0;
    border: 0;
    background: transparent;
    color: #7b8698;
    font-size: 10px;
    font-weight: 700;
}

.wg-community-feed-reply__actions button:hover,
.wg-community-feed-reply__actions button.is-active,
.wg-community-feed-reply__actions a:hover {
    color: var(--wg-community-blue);
}

.wg-community-feed-thread__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 1px 0 1px 43px;
    color: var(--wg-community-blue);
    font-size: 11px;
    font-weight: 750;
}

.wg-community-feed-thread__all:hover {
    color: var(--wg-community-blue-dark);
}

.wg-community-feed-thread__all span {
    transition: transform .2s ease;
}

.wg-community-feed-thread__all:hover span {
    transform: translateX(3px);
}

@media (max-width: 575px) {
    .wg-community-feed-thread {
        margin-right: 10px;
        margin-left: 10px;
    }

    .wg-community-feed-reply--nested {
        margin-left: 20px;
    }

    .wg-community-feed-reply--nested::before {
        left: -13px;
        width: 8px;
    }

    .wg-community-feed-reply__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }

    .wg-community-feed-thread__all {
        margin-left: 43px;
    }
}

.wg-community {
    min-height: 70vh;
    background: #f6f8fb;
    color: var(--wg-community-ink);
    font-family: "Inter", sans-serif;
    padding-bottom: 70px;
}

.wg-community-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #eef8ff 0%, #ffffff 58%, #f4f8fc 100%);
    border-top: 1px solid #edf1f6;
    border-bottom: 1px solid var(--wg-community-line);
}

.wg-community-hero .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 235px;
    padding-top: 38px;
    padding-bottom: 38px;
}

.wg-community-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.wg-community-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--wg-community-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.wg-community-hero h1 {
    max-width: 680px;
    margin: 0 0 6px;
    color: #121b2c;
    font-size: clamp(31px, 4vw, 47px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.wg-community-hero p {
    max-width: 660px;
    margin: 0;
    color: #5e697c;
    font-size: 16px;
    font-weight: 450;
    line-height: 1.65;
}

.wg-community-hero__mark {
    position: relative;
    width: 170px;
    height: 130px;
    margin-right: 35px;
}

.wg-community-hero__mark::before,
.wg-community-hero__mark::after,
.wg-community-hero__mark span {
    position: absolute;
    display: block;
    content: "";
    border: 2px solid rgba(4, 140, 226, .18);
}

.wg-community-hero__mark::before {
    top: 4px;
    left: 10px;
    width: 112px;
    height: 78px;
    border-radius: 18px 18px 18px 5px;
    background: rgba(255, 255, 255, .75);
}

.wg-community-hero__mark::after {
    right: 0;
    bottom: 3px;
    width: 110px;
    height: 74px;
    border-color: rgba(4, 140, 226, .42);
    border-radius: 18px 18px 5px 18px;
    background: rgba(4, 140, 226, .08);
}

.wg-community-hero__mark span {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    background: var(--wg-community-blue);
    box-shadow: 17px 0 0 rgba(4, 140, 226, .52), 34px 0 0 rgba(4, 140, 226, .25);
}

.wg-community-hero__mark span:first-child {
    top: 37px;
    left: 34px;
}

.wg-community-hero__mark span:nth-child(2) {
    right: 69px;
    bottom: 35px;
}

.wg-community-hero__mark span:last-child {
    display: none;
}

.wg-community-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(270px, 340px);
    gap: 28px;
    align-items: start;
    justify-content: center;
    padding-top: 32px;
}

.wg-community-main {
    min-width: 0;
}

.wg-community-composer,
.wg-community-guest-card,
.wg-community-card,
.wg-community-conversation,
.wg-community-side-card,
.wg-community-search,
.wg-community-edit-card {
    border: 1px solid var(--wg-community-line);
    border-radius: 8px;
    background: var(--wg-community-white);
    box-shadow: 0 7px 24px rgba(31, 48, 74, .045);
}

.wg-community-composer {
    margin-bottom: 18px;
    padding: 20px;
}

.wg-community-composer__top {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}

.wg-community-avatar {
    display: block;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #edf2f7;
    box-shadow: 2px 2px 5px #dde4edd6;
}

.wg-community-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wg-community-avatar--composer {
    flex-basis: 47px;
    width: 47px;
    height: 47px;
}

.wg-community-composer textarea {
    width: 100%;
    min-height: 86px;
    padding: 10px 4px;
    resize: none;
    border: 0;
    outline: 0;
    color: var(--wg-community-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 350;
    line-height: 1.55;
}

.wg-community-composer textarea::placeholder {
    color: #929cad;
}

.wg-community-composer__details {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin: 14px 0;
    padding: 14px 0;
    border-top: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
}

.wg-community-composer__topic {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wg-community-composer__topic label,
.wg-community-attachment-panel label,
.wg-community-edit-card label {
    margin: 0;
    color: #455166;
    font-size: 12px;
    font-weight: 700;
}

.wg-community-composer__topic select {
    min-width: 225px;
    height: 38px;
    padding: 0 32px 0 11px;
    border: 1px solid #dce3ec;
    border-radius: 5px;
    background: #fff;
    color: #263247;
    font-size: 13px;
    outline: 0;
}

.wg-community-counter {
    flex: 0 0 auto;
    color: #98a1b0;
    font-size: 11px;
    font-weight: 600;
}

.wg-community-attachment-panel {
    display: none;
    margin: 14px 0;
    padding: 14px;
    border: 1px solid #e1e7ef;
    border-radius: 6px;
    background: #f8fafc;
}

.wg-community-attachment-panel.is-open {
    display: block;
}

.wg-community-attachment-panel > label {
    display: block;
    margin-bottom: 8px;
}

.wg-community-attachment-panel input[type="url"] {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dce3ec;
    border-radius: 5px;
    background: #fff;
    color: #263247;
    outline: none;
}

.wg-community-file {
    display: flex !important;
    align-items: center;
    min-height: 64px;
    margin: 0 !important;
    padding: 12px 14px;
    cursor: pointer;
    border: 1px dashed #b9c9d9;
    border-radius: 6px;
    background: #fff;
}

.wg-community-file:hover {
    border-color: var(--wg-community-blue);
    background: #fafdff;
}

.wg-community-file input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.wg-community-file span {
    display: flex;
    flex-direction: column;
}

.wg-community-file strong {
    color: var(--wg-community-blue);
    font-size: 13px;
}

.wg-community-file small {
    margin-top: 3px;
    color: #7e899a;
    font-size: 11px;
    font-weight: 500;
}

.wg-community-preview {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
    margin-top: 10px;
}

.wg-community-preview:empty {
    display: none;
}

.wg-community-preview__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 5px;
    background: #e8edf3;
}

.wg-community-preview__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wg-community-composer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.wg-community-tools {
    display: flex;
    gap: 5px;
}

.wg-community-tools button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #5d6879;
    font-size: 12px;
    font-weight: 650;
}

.wg-community-tools button:hover,
.wg-community-tools button.is-active {
    background: #eef8ff;
    color: var(--wg-community-blue);
}

.wg-community-tools svg,
.wg-community-action svg,
.wg-community-back svg,
.wg-community-search svg,
.wg-community-guest-card__icon svg,
.wg-community-plan-card__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wg-community-publish {
    min-width: 105px;
    font-size: 13px;
    font-weight: 700;
}

.wg-community-guest-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    padding: 18px 20px;
}

.wg-community-guest-card__icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eaf7ff;
    color: var(--wg-community-blue);
}

.wg-community-guest-card__icon svg {
    width: 23px;
    height: 23px;
}

.wg-community-guest-card div:nth-child(2) {
    flex: 1;
}

.wg-community-guest-card strong {
    display: block;
    margin-bottom: 3px;
    color: #1a2537;
    font-size: 14px;
}

.wg-community-guest-card p {
    margin: 0;
    color: var(--wg-community-muted);
    font-size: 12px;
}

.wg-community-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    margin-bottom: 17px;
    padding: 5px;
    border: 1px solid var(--wg-community-line);
    border-radius: 7px;
    background: #fff;
    scrollbar-width: none;
}

.wg-community-tabs::-webkit-scrollbar {
    display: none;
}

.wg-community-tabs a {
    flex: 1 0 auto;
    padding: 10px 13px;
    border-radius: 5px;
    color: #667185;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.wg-community-tabs a:hover,
.wg-community-tabs a.is-active {
    background: #eef8ff;
    color: var(--wg-community-blue);
}

.wg-community-featured-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 2px 9px;
    color: #727d8e;
    font-size: 11px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.wg-community-featured-label span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f3a723;
    box-shadow: 0 0 0 4px rgba(243, 167, 35, .13);
}

.wg-community-feed {
    display: grid;
    gap: 17px;
}

.wg-community-card {
    overflow: hidden;
    margin-bottom: 17px;
}

.wg-community-feed .wg-community-card {
    margin-bottom: 0;
}

.wg-community-card--promoted {
    border-color: #b9dcf4;
    box-shadow: 0 8px 28px rgba(4, 140, 226, .075);
}

.wg-community-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px 10px;
}

.wg-community-author {
    display: flex;
    min-width: 0;
    gap: 11px;
    align-items: center;
    color: inherit;
}

.wg-community-author:hover strong {
    color: var(--wg-community-blue);
}

.wg-community-author__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.wg-community-author__copy strong {
    overflow: hidden;
    color: #1c2739;
    font-size: 14px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wg-community-author__copy small {
    margin-top: 2px;
    color: #8791a1;
    font-size: 11px;
    font-weight: 500;
}

.wg-community-card__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.wg-community-topic,
.wg-community-promoted {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.wg-community-topic {
    background: #f1f4f8;
    color: #5d687b;
}

.wg-community-promoted {
    gap: 4px;
    background: #fff5df;
    color: #a96a00;
}

.wg-community-promoted svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wg-community-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 31px;
    height: 27px;
    border: 0;
    border-radius: 5px;
    background: transparent;
}

.wg-community-more:hover {
    background: #f1f4f8;
}

.wg-community-more span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #7f8998;
}

.wg-community-dropdown {
    min-width: 205px;
    padding: 6px;
    border: 1px solid #e0e5ec;
    border-radius: 6px;
    box-shadow: 0 14px 35px rgba(25, 39, 62, .13);
}

.wg-community-dropdown .dropdown-item {
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 4px;
    font-size: 12px;
    text-align: left;
}

.wg-community-card__body {
    padding: 8px 20px 18px;
    color: #2c3749;
    font-size: 14px;
    font-weight: 350;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.wg-community-media {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    background: #e9edf2;
}

.wg-community-media img {
    display: block;
    width: 100%;
    height: min(580px, 66vw);
    min-height: 330px;
    object-fit: cover;
}

.wg-community-media--single img {
    max-height: 610px;
}

.wg-community-media .carousel-control-prev,
.wg-community-media .carousel-control-next {
    top: 50%;
    bottom: auto;
    width: 38px;
    height: 38px;
    margin: 0 12px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(15, 24, 38, .5);
    opacity: .82;
}

.wg-community-media .carousel-indicators {
    bottom: 7px;
    margin-bottom: 0;
}

.wg-community-media .carousel-indicators li {
    width: 6px;
    height: 6px;
    border: 0;
    border-radius: 50%;
}

.wg-community-media__count {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 7px;
    border-radius: 5px;
    background: rgba(17, 27, 42, .68);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.wg-community-video {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
    background: #111;
}

.wg-community-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.wg-community-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 20px;
    color: #8a94a3;
    font-size: 10px;
}

.wg-community-stats a {
    color: inherit;
}

.wg-community-stats strong {
    color: #647083;
    font-weight: 750;
}

.wg-community-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 15px;
    padding: 6px 0;
    border-top: 1px solid #edf0f4;
}

.wg-community-actions form {
    margin: 0;
}

.wg-community-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 42px;
    padding: 7px 8px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #667185;
    font-size: 12px;
    font-weight: 700;
}

.wg-community-action svg {
    width: 19px;
    height: 19px;
}

.wg-community-action:hover {
    background: #f4f8fb;
    color: var(--wg-community-blue);
}

.wg-community-action.is-active {
    background: #edf8ff;
    color: var(--wg-community-blue);
}

.wg-community-action.is-loading {
    pointer-events: none;
    opacity: .55;
}

.wg-community-promotion-note {
    padding: 8px 18px;
    border-top: 1px solid #f4e4bd;
    background: #fffbf1;
    color: #926a15;
    font-size: 10px;
    font-weight: 650;
    text-align: center;
}

.wg-community-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 15px;
}

.wg-community-search {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 5px 0 14px;
}

.wg-community-search svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: #8c97a7;
}

.wg-community-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 9px;
    border: 0;
    outline: 0;
    color: #273247;
    font-size: 12px;
}

.wg-community-search button {
    height: 36px;
    padding: 0 11px;
    border: 0;
    border-radius: 5px;
    background: #eef8ff;
    color: var(--wg-community-blue);
    font-size: 11px;
    font-weight: 750;
}

.wg-community-side-card {
    padding: 19px;
}

.wg-community-side-card__head span,
.wg-community-plan-card > span {
    display: block;
    margin-bottom: 4px;
    color: var(--wg-community-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wg-community-side-card h2 {
    margin: 0;
    color: #1b2638;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.35;
}

.wg-community-side-card p {
    margin: 11px 0 0;
    color: #707b8d;
    font-size: 12px;
    font-weight: 350;
    line-height: 1.65;
    text-align: justify;
}

.wg-community-topic-list {
    margin-top: 12px;
}

.wg-community-topic-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 1px 0;
    padding: 8px 9px;
    border-radius: 5px;
    color: #5b6678;
    font-size: 11px;
    font-weight: 400;
}

.wg-community-topic-list a:hover,
.wg-community-topic-list a.is-active {
    background: #eef8ff;
    color: var(--wg-community-blue);
}

.wg-community-topic-list small {
    min-width: 23px;
    padding: 2px 5px;
    border-radius: 4px;
    background: #f0f3f7;
    color: #8a94a3;
    font-size: 9px;
    text-align: center;
}

.wg-community-plan-card {
    position: relative;
    overflow: hidden;
    border-color: #b8dcf4;
    background: linear-gradient(150deg, #f2faff 0%, #ffffff 68%);
}

.wg-community-plan-card__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 13px;
    border-radius: 50%;
    background: var(--wg-community-blue);
    color: #fff;
    box-shadow: 0 8px 18px rgba(4, 140, 226, .2);
}

.wg-community-plan-card__icon svg {
    width: 19px;
    height: 19px;
}

.wg-community-plan-card a,
.wg-community-plan-card button,
.wg-community-side-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--wg-community-blue);
    font-size: 11px;
    font-weight: 750;
}

.wg-community-rules {
    border-left: 3px solid #cdd7e2;
}

.wg-community-empty {
    padding: 55px 25px;
    border: 1px dashed #ccd5df;
    border-radius: 8px;
    background: #fff;
    color: #778294;
    text-align: center;
}

.wg-community-empty svg {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    fill: none;
    stroke: #9eabba;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wg-community-empty h2 {
    margin: 0 0 6px;
    color: #2a3548;
    font-size: 17px;
    font-weight: 750;
}

.wg-community-empty p {
    margin: 0;
    font-size: 12px;
}

.wg-community-pagination {
    margin-top: 22px;
}

.wg-community--detail {
    padding-top: 22px;
}

.wg-community-detail-header,
.wg-community-edit-wrap {
    max-width: 1160px;
}

.wg-community-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 17px;
    color: #667286;
    font-size: 12px;
    font-weight: 700;
}

.wg-community-back:hover {
    color: var(--wg-community-blue);
}

.wg-community-back svg {
    width: 17px;
    height: 17px;
}

.wg-community--detail .wg-community-layout {
    padding-top: 0;
}

.wg-community-conversation {
    overflow: hidden;
    margin-top: 18px;
}

.wg-community-conversation__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #e9edf2;
}

.wg-community-conversation__head .wg-community-eyebrow {
    margin-bottom: 3px;
}

.wg-community-conversation__head h2 {
    margin: 0;
    color: #1b2638;
    font-size: 18px;
    font-weight: 760;
}

.wg-community-conversation__head > a {
    color: var(--wg-community-blue);
    font-size: 11px;
    font-weight: 750;
}

.wg-community-reply-form {
    margin: 0;
    padding: 18px 20px;
    border-bottom: 1px solid #e9edf2;
    background: #fbfcfe;
}

.wg-community-reply-form__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wg-community-reply-form__row > div {
    flex: 1;
    min-width: 0;
}

.wg-community-reply-form textarea {
    width: 100%;
    min-height: 82px;
    padding: 11px 12px;
    resize: vertical;
    border: 1px solid #dfe5ed;
    border-radius: 6px;
    outline: 0;
    color: #2c3749;
    font-size: 13px;
    line-height: 1.55;
}

.wg-community-reply-form textarea:focus {
    border-color: #8bc8ed;
    box-shadow: 0 0 0 3px rgba(4, 140, 226, .08);
}

.wg-community-reply-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 9px;
}

.wg-community-reply-form__footer small {
    color: #929cab;
    font-size: 10px;
}

.wg-community-reply-form__context {
    margin: 0 0 9px 56px;
    padding: 7px 10px;
    border-left: 2px solid var(--wg-community-blue);
    background: #eef8ff;
    color: #637084;
    font-size: 10px;
}

.wg-community-reply-form__context button {
    float: right;
    border: 0;
    background: transparent;
    color: var(--wg-community-blue);
    font-size: 10px;
    font-weight: 700;
}

.wg-community-reply-login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 17px 20px;
    border-bottom: 1px solid #e9edf2;
    background: #fbfcfe;
    color: #647085;
    font-size: 12px;
}

.wg-community-replies {
    padding: 8px 20px 20px;
}

.wg-community-reply {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-top: 15px;
}

.wg-community-reply[id] {
    scroll-margin-top: 120px;
}

.wg-community-reply--nested {
    margin-left: 48px;
}

.wg-community-reply__avatar {
    flex: 0 0 37px;
    width: 37px;
    height: 37px;
    overflow: hidden;
    border-radius: 50%;
    background: #edf2f7;
}

.wg-community-reply__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wg-community-reply__content {
    flex: 1;
    min-width: 0;
}

.wg-community-reply__bubble {
    padding: 10px 13px;
    border-radius: 6px;
    background: #f3f6f9b0;
}

.wg-community-reply__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.wg-community-reply__head strong {
    color: #263247;
    font-size: 12px;
    font-weight: 750;
}

.wg-community-reply__head small {
    color: #929baa;
    font-size: 9px;
}

.wg-community-reply__bubble p {
    margin: 5px 0 0;
    color: #465166;
    font-size: 12px;
    font-weight: 350;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.wg-community-reply__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 5px 0;
    margin-top: 2px;
    margin-left: -6px;
}

.wg-community-reply__actions form {
    margin: 0;
}

.wg-community-reply__actions button,
.wg-community-reply__actions > a {
    padding: 3px 5px;
    border: 0;
    background: transparent;
    color: #818c9d;
    font-size: 9px;
    font-weight: 700;
}

.wg-community-reply__actions button:hover,
.wg-community-reply__actions button.is-active,
.wg-community-reply__actions > a:hover {
    color: var(--wg-community-blue);
}

.wg-community-useful-button {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    min-height: 2px;
    padding: 5px 4px !important;
    border-radius: 5px !important;
    color: #57708b !important;
    line-height: 1;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.wg-community-useful-button svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    margin-top: -1px;
}

.wg-community-useful-icon__ring,
.wg-community-useful-icon__check {
    stroke: #57708b;
    transition: stroke .18s ease;
}

.wg-community-useful-button.is-active {
    border-color: #8fd1f1 !important;
    background: #edf8ff !important;
    color: #048ce2 !important;
}

.wg-community-useful-button.is-active .wg-community-useful-icon__ring {
    stroke: #57708b;
}

.wg-community-useful-button.is-active .wg-community-useful-icon__check,
.wg-community-action.is-active .wg-community-useful-icon__check {
    stroke: #048ce2;
}

.wg-community-useful-button span {
    font-weight: 750;
}

.wg-community-useful-button strong {
    min-width: 14px;
    padding-left: 4px;
    border-left: 1px solid currentColor;
    font-size: 9px;
    font-weight: 750;
    text-align: center;
}

.wg-community-useful-button:hover,
.wg-community-useful-button:focus-visible {
    border-color: #87cbed !important;
    background: #eaf7ff !important;
    color: #048ce2 !important;
    outline: 0;
    text-decoration: none;
    transform: translateY(-1px);
}

.wg-community-useful-button.is-active {
    border-color: #048ce224 !important;
    background: #048ce217 !important;
    color: #818c9d !important;
}

.wg-community-reply-edit-form {
    margin: 4px 0 0;
}

.wg-community-reply-edit-form textarea {
    display: block;
    width: 100%;
    min-height: 82px;
    padding: 9px 10px;
    resize: vertical;
    border: 1px solid #cbd9e6;
    border-radius: 5px;
    background: #fff;
    color: #364154;
    font-size: 12px;
    line-height: 1.55;
}

.wg-community-reply-edit-form textarea:focus {
    border-color: #79c2ea;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(4, 140, 226, .09);
}

.wg-community-reply-edit-form__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 8px;
}

.wg-community-reply-edit-form__footer a,
.wg-community-reply-edit-form__footer button {
    border: 0;
    background: transparent;
    color: #718095;
    font-size: 10px;
    font-weight: 700;
}

.wg-community-reply-edit-form__footer button {
    padding: 6px 9px;
    border-radius: 4px;
    background: #048ce2;
    color: #fff;
}

.wg-community-no-replies {
    display: flex;
    flex-direction: column;
    padding: 35px 15px 18px;
    color: #8a94a4;
    font-size: 11px;
    text-align: center;
}

.wg-community-no-replies strong {
    margin-bottom: 3px;
    color: #465166;
    font-size: 13px;
}

.wg-community-modal {
    overflow: hidden;
    border: 0;
    border-radius: 8px;
}

.wg-community-modal .modal-header {
    align-items: flex-start;
    border-bottom-color: #e8edf2;
}

.wg-community-modal .modal-title {
    color: #202b3d;
    font-weight: 750;
}

.wg-community--edit {
    padding-top: 28px;
}

.wg-community-edit-wrap {
    max-width: 850px;
}

.wg-community-edit-card {
    padding: 26px;
}

.wg-community-edit-card > header {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8edf2;
}

.wg-community-edit-card h1 {
    margin: 0 0 5px;
    color: #182336;
    font-size: 25px;
    font-weight: 780;
}

.wg-community-edit-card header p {
    margin: 0;
    color: #778294;
    font-size: 12px;
}

.wg-community-edit-card .form-control {
    border-color: #dfe5ed;
    border-radius: 5px;
}

.wg-community-edit-card textarea {
    line-height: 1.6;
}

.wg-community-edit-card footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e8edf2;
}

.wg-community-edit-images {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
}

.wg-community-edit-images label {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid #dfe5ed;
    border-radius: 6px;
    background: #fff;
}

.wg-community-edit-images img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.wg-community-edit-images span {
    display: block;
    padding: 7px;
    color: #677286;
    font-size: 9px;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .wg-community-layout {
        grid-template-columns: minmax(0, 720px);
    }

    .wg-community-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wg-community-search {
        grid-column: 1 / -1;
    }

    .wg-community-topic-list {
        columns: 2;
    }

    .wg-community-topic-list a {
        break-inside: avoid;
    }

    .wg-community-hero__mark {
        margin-right: 0;
        transform: scale(.82);
    }
}

@media (max-width: 767.98px) {
    .wg-community {
        padding-bottom: 45px;
    }

    .wg-community-hero .container {
        min-height: 190px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .wg-community-hero__mark {
        display: none;
    }

    .wg-community-hero h1 {
        font-size: 32px;
        margin-bottom: 1px;
    }

    .wg-community-hero p {
        font-size: 12px;
    }

    .wg-community-layout {
        gap: 18px;
        padding-top: 20px;
    }

    .wg-community-sidebar {
        grid-template-columns: 1fr;
    }

    .wg-community-composer,
    .wg-community-guest-card,
    .wg-community-side-card,
    .wg-community-edit-card {
        border-radius: 6px;
    }

    .wg-community-card {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .wg-community-main {
        margin-right: -15px;
        margin-left: -15px;
    }

    .wg-community-main > .alert,
    .wg-community-main > .wg-community-composer,
    .wg-community-main > .wg-community-guest-card,
    .wg-community-main > .wg-community-tabs,
    .wg-community-main > .wg-community-featured-label,
    .wg-community-main > .wg-community-conversation {
        margin-right: 15px;
        margin-left: 15px;
    }

    .wg-community-composer__details {
        align-items: flex-start;
    }

    .wg-community-composer__topic {
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
    }

    .wg-community-composer__topic select {
        width: 100%;
        min-width: 0;
    }

    .wg-community-preview,
    .wg-community-edit-images {
        grid-template-columns: repeat(3, 1fr);
    }

    .wg-community-card__header {
        padding: 15px 14px 9px;
    }

    .wg-community-card__body {
        padding: 7px 14px 15px;
    }

    .wg-community-card__meta {
        gap: 4px;
    }

    .wg-community-topic {
        display: none;
    }

    .wg-community-media img {
        height: 74vw;
        min-height: 280px;
    }

    .wg-community-stats {
        padding-right: 14px;
        padding-left: 14px;
    }

    .wg-community-actions {
        margin-right: 8px;
        margin-left: 8px;
    }

    .wg-community-action {
        gap: 4px;
        padding-right: 3px;
        padding-left: 3px;
    }

    .wg-community-action span {
        font-size: 9px;
    }

    .wg-community-conversation__head,
    .wg-community-reply-form {
        padding-right: 14px;
        padding-left: 14px;
    }

    .wg-community-replies {
        padding-right: 14px;
        padding-left: 14px;
    }
}

@media (max-width: 479.98px) {
    .wg-community-hero h1 {
        font-size: 32px;
        margin-bottom: 1px;
    }

    .wg-community-composer {
        padding: 15px;
    }

    .wg-community-avatar--composer {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .wg-community-composer__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .wg-community-tools {
        justify-content: space-between;
    }

    .wg-community-tools button {
        flex: 1;
        justify-content: center;
    }

    .wg-community-publish {
        width: 100%;
    }

    .wg-community-guest-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .wg-community-guest-card .btn {
        width: 100%;
    }

    .wg-community-promoted {
        padding-right: 6px;
        padding-left: 6px;
    }

    .wg-community-promoted svg {
        display: none;
    }

    .wg-community-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .wg-community-action {
        flex-direction: column;
        min-height: 48px;
    }

    .wg-community-reply--nested {
        margin-left: 30px;
    }

    .wg-community-reply-form__row > .wg-community-avatar {
        display: none;
    }

    .wg-community-reply-form__context {
        margin-left: 0;
    }

    .wg-community-reply-login {
        align-items: stretch;
        flex-direction: column;
    }
}

    .comm-icon {
        margin-right: .1rem !important;
        margin-top: -3px !important;
    }
    
    
    .wg-community-hero h1 .wg-community-highlight {
        color: #0190ff;
        font-weight: 800;
    }
    
    #responder {
    scroll-margin-top: 120px;
    }
    
    svg.comm-icon {
    display: inline-block;
    transform-origin: center;
    animation: comm-icon-pulse 3s ease-in-out infinite;
    will-change: transform;
    }

@keyframes comm-icon-pulse {
    0%,
    65%,
    100% {transform: scale(1);
    }

    78% {transform: scale(1.18);
    }

    88% {transform: scale(0.97);
    }

    94% {transform: scale(1.06);
    }
}

/* Comunidad 2.0: enlaces, encuestas, contenido compartido y respuestas con foto. */
.wg-community-attachment-panel input[type="text"],
.wg-community-attachment-panel select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #dce3ec;
    border-radius: 5px;
    background: #fff;
    color: #263247;
    font-size: 13px;
    outline: none;
}

.wg-community-attachment-panel > small {
    display: block;
    margin-top: 8px;
    color: #7e899a;
    font-size: 11px;
}

.wg-community-poll-builder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 9px 0 12px;
}

.wg-community-add-poll-option {
    margin: 0 0 12px;
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: #018fe5;
    font-size: 11px;
    font-weight: 750;
}

.wg-community-add-poll-option:hover {
    color: #0078c4;
}

.wg-community-add-poll-option:disabled {
    cursor: default;
    color: #98a1b0;
}

.wg-community-tools {
    flex-wrap: wrap;
}

.wg-community-safe-link {
    position: relative;
    display: inline-block;
    max-width: 100%;
    color: #018fe5;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(1, 143, 229, .3);
    text-underline-offset: 2px;
}

.wg-community-safe-link:hover {
    color: #0078c4;
    text-decoration-color: currentColor;
}

.wg-community-safe-link::after {
    position: absolute;
    z-index: 40;
    bottom: calc(100% + 8px);
    left: 0;
    display: none;
    width: max-content;
    max-width: min(440px, 82vw);
    padding: 7px 9px;
    overflow-wrap: anywhere;
    border-radius: 5px;
    background: #182538;
    box-shadow: 0 8px 24px rgba(19, 33, 52, .22);
    color: #fff;
    content: attr(data-community-full-url);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
}

.wg-community-safe-link:hover::after,
.wg-community-safe-link:focus-visible::after,
.wg-community-safe-link.is-peeking::after {
    display: block;
}

.wg-community-link-preview,
.wg-community-live-preview {
    display: flex;
    min-height: 96px;
    margin: 0 20px 16px;
    overflow: hidden;
    border: 1px solid #e0e7ef;
    border-radius: 7px;
    background: #f8fafc;
    color: #273348;
}

.wg-community-live-preview {
    margin: 14px 0;
}

.wg-community-live-preview[hidden] {
    display: none;
}

.wg-community-link-preview:hover {
    border-color: #b9dff7;
    color: #273348;
    box-shadow: 0 7px 22px rgba(33, 75, 112, .08);
}

.wg-community-link-preview > img,
.wg-community-live-preview > img {
    flex: 0 0 132px;
    width: 132px;
    object-fit: cover;
    background: #e8edf3;
}

.wg-community-link-preview__copy,
.wg-community-live-preview > span {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 12px 14px;
}

.wg-community-link-preview small,
.wg-community-live-preview small {
    margin-bottom: 3px;
    color: #018fe5;
    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.wg-community-link-preview strong,
.wg-community-live-preview strong {
    overflow: hidden;
    color: #263247;
    font-size: 13px;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wg-community-link-preview__copy > span,
.wg-community-live-preview > span > span {
    display: -webkit-box;
    margin-top: 4px;
    overflow: hidden;
    color: #697589;
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wg-community-shared-card {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 20px 16px;
    padding: 12px;
    border: 1px solid #dfe8f1;
    border-radius: 7px;
    background: linear-gradient(135deg, #f7fbff, #fff);
    color: #263247;
}

.wg-community-shared-card:hover {
    border-color: #91cef3;
    color: #263247;
}

.wg-community-shared-card > img,
.wg-community-shared-card__icon {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 6px;
    background: #e8f6ff;
    object-fit: cover;
}

.wg-community-shared-card__icon svg {
    width: 25px;
    fill: none;
    stroke: #018fe5;
    stroke-width: 1.7;
}

.wg-community-shared-card > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wg-community-shared-card small {
    color: #7d899a;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.wg-community-shared-card strong {
    margin: 2px 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wg-community-shared-card em {
    color: #018fe5;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}

.wg-community-poll {
    margin: 0 20px 17px;
    padding: 15px;
    border: 1px solid #e0e7ef;
    border-radius: 7px;
    background: #fbfcfe;
}

.wg-community-poll h3 {
    margin: 0 0 11px;
    color: #263247;
    font-size: 14px;
    font-weight: 760;
}

.wg-community-poll__option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin: 7px 0;
    padding: 8px 11px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #dce5ee;
    border-radius: 6px;
    background: #fff;
}

.wg-community-poll__option.is-selected {
    border-color: #69beeF;
}

.wg-community-poll__bar {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 0;
    background: linear-gradient(90deg,rgb(250, 253, 255) 0%, rgb(198, 233, 255) 100%);
    transition: width .25s ease;
}

.wg-community-poll__option input,
.wg-community-poll__text,
.wg-community-poll__option strong {
    position: relative;
    z-index: 1;
}

.wg-community-poll__text {
    flex: 1;
    color: #445167;
    font-size: 12px;
}

.wg-community-poll__option strong {
    color: #018fe5;
    font-size: 10px;
}

.wg-community-poll footer {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
    color: #8792a2;
    font-size: 9px;
}

.wg-community-poll > a {
    display: inline-block;
    margin-top: 8px;
    color: #018fe5;
    font-size: 10px;
    font-weight: 700;
}

.wg-community-poll__submit {
    display: block;
    margin: 10px 0 0 auto;
    padding: 7px 15px;
    border: 0;
    border-radius: 5px;
    background: #018fe5;
    color: #fff;
    font-size: 10px;
    font-weight: 750;
}

.wg-community-reply-image-picker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.wg-community-reply-image-picker label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    cursor: pointer;
    color: #018fe5;
    font-size: 10px;
    font-weight: 700;
}

.wg-community-reply-image-picker input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.wg-community-reply-image-picker svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

[data-community-reply-image-preview] img {
    width: 54px;
    height: 54px;
    border-radius: 5px;
    object-fit: cover;
}

.wg-community-reply-image {
    display: block;
    width: fit-content;
    margin-top: 8px;
}

.wg-community-reply-image img {
    display: block;
    width: auto;
    max-width: min(280px, 100%);
    max-height: 210px;
    border-radius: 6px;
    object-fit: cover;
}

@media (max-width: 575.98px) {
    .wg-community-poll-builder {
        grid-template-columns: 1fr;
    }

    .wg-community-tools button {
        flex: 0 0 calc(50% - 3px);
    }

    .wg-community-link-preview,
    .wg-community-shared-card,
    .wg-community-poll {
        margin-right: 14px;
        margin-left: 14px;
    }

    .wg-community-link-preview > img,
    .wg-community-live-preview > img {
        flex-basis: 92px;
        width: 92px;
    }
}
